Download Latest Version Geoloc_0.4.20_.zip (211.1 kB)
Email in envelope

Get an email when there's a new version of ownCloud apps2

Home / ocStorage
Name Modified Size InfoDownloads / Week
Parent folder
ocStorage_2.3.5_.zip 2014-07-26 82.1 kB
README.md 2014-01-29 1.6 kB
Totals: 2 Items   83.7 kB 0

oc-apps ocStorage

This is the main repository for ocStorage. ocStorage is an ownCloud application that draws graphs about used storage. ocStorage is a fork of dl_StorageCharts (c) 2012 Xavier Beurois

Quick Overview

  • ocStorage stores the disk space used by each user of ownCloud: at most one record per user per day in the table oc_dlstcharts.
  • The reliability of the numbers displayed depends on the ownCloud API - ocStorage doesn't "explore" disk directories any longer.
  • Three graphs are available:
    1. A pie with space used / free ratio,
    2. A histogram with used space along the last seven days,
    3. Same histogram along the last twelve months.
  • User preferences are stored in the table named oc_dlstcharts_uconf. Each user can select which graph to display, the order of the graphs and the units for both histograms.
  • Of course, each user sees its own data, but "admin" users are able to display graphs grouping all users.

Install

  • Click the "Download Snapshot" link above, this will create a ".zip" file on the fly.
  • Save this file then uncompress it into the ownCloup apps folder (/var/www/owncloud/apps/storage_charts) As an admin, activate this application if needed.

Licensing

ocStorage is distributed under the terms of the GNU Affero General Public License

Todo

  • Rewrite SQL requests about histogram last seven days
  • Rewrite SQL requests about histogram last twelve months
  • Delete data more than 12 months old
  • Redesign database: less records, less computations, more JSON
Source: README.md, updated 2014-01-29