6.0.0-beta1
7/21/25

[#162] VFS Quota
Summary VFS Quota
Queue Horde Framework Packages
Type Enhancement
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester aj (at) mindcrash (dot) com
Created 05/10/2004 (7742 days ago)
Due
Updated 09/27/2005 (7237 days ago)
Assigned 05/25/2004 (7727 days ago)
Resolved 09/22/2005 (7242 days ago)
Milestone
Patch No

History
09/27/2005 06:39:56 AM Michael Slusarz Comment #16 Reply to this comment
quota display in gollem is an entirely separate issue than what this
ticket was originally opened for.  Moving that enhancement to a new
ticket.
See Bug #2685;
09/27/2005 06:38:08 AM Michael Slusarz Comment #15 Reply to this comment
quota display in gollem is an entirely separate issue than what this 
ticket was originally opened for.  Moving that enhancement to a new 
ticket.
09/24/2005 05:22:20 AM aj (at) mindcrash (dot) com Comment #14 Reply to this comment
Perhaps a page that says something like:



Quota Information:



Used:  xxx

Quota:  xxx

Percent:  xx%



What do you think?
09/22/2005 06:35:58 PM aj (at) mindcrash (dot) com Comment #13 Reply to this comment
Michael, I like option 2.  It will be less of a hit and give users the 
info that they want.  Perhaps it can be put on one of the top buttons? 
  What are your thoughts?



Thanks.
09/22/2005 04:41:54 PM Michael Slusarz Comment #12 Reply to this comment
I hesitate to do this because determining the current size of all 
files in a VFS backend can be a very time-consuming process (e.g. a 
ftp account with hundreds of folders).  The code as it stands right 
now only calculates the size when a write process is performed.  This 
will not happen on the majority of page loads.  If you are asking to 
recalculate the filesize on every page load with some kind of status 
bar, this will be a terrible performance issue at this time.



Other options to consider:

1.) Caching filesize - this will only work if we can be sure that the 
Horde VFS object in the current session is the only method that can be 
used to update the filesystem.  This might be doable if we add an 
'exclusivevfsupdate' parameter that indicates this is the case.  In 
the default case, however, we can't cache.

2.) Have a separate page in gollem that can be accessed that will show 
the VFS quota information - a better option.
09/22/2005 04:15:35 PM aj (at) mindcrash (dot) com Comment #11 Reply to this comment
There's one thng missing, though.  The block display in Gollem that 
reports the quota status to the user, just like IMP does.  Can this be 
added?
09/22/2005 06:36:50 AM Michael Slusarz Comment #10
State ⇒ Resolved
Reply to this comment
Implemented in HEAD.
07/24/2005 04:58:12 PM Michael Slusarz Comment #9
Assigned to Michael Slusarz
Reply to this comment
I will try to take a look at this sometime soon.



Some notes from the gollem aspect of these patches that were posted on 
the list by me a few months ago:





Looks like this is Bug #162.  Just some notes on a very quick perusal

of the gollem part of the patches submitted:



1) this should be allowed to be turned on/off per backend setting, not

generally in the configuration file

2) there is absolutely no hurry to get this into gollem since it will

require a version of Horde that doesn't even exist yet (i.e. Horde 3.1

at the earliest).
05/20/2005 04:09:52 AM aj (at) mindcrash (dot) com Comment #8 Reply to this comment
Any update on this one?
04/30/2005 01:39:16 AM aj (at) mindcrash (dot) com Comment #7 Reply to this comment
I was not the original author of these, so I will defer to him.

Are these patches good enough to commit?  This is an enhancement I 
have been looking for.



Thanks.
04/26/2005 03:54:38 AM Matt Selsky Comment #6 Reply to this comment
Can you update the getFileSize() and getFolderSize() functions in the 
sql and sql_file drivers to use bind variables?
04/24/2005 12:28:32 AM aj (at) mindcrash (dot) com Comment #5
New Attachment: vfs[1].patch Download
Reply to this comment
I cleaned up some of the wording on this patch a bit.
04/24/2005 12:20:10 AM aj (at) mindcrash (dot) com Comment #4 Reply to this comment
From what I can tell, I don't think this will display the quota in 
the top block of gollem.  I think this should be done, otherwise users 
may get confused.

Thoughts?


04/21/2005 06:07:15 AM Chuck Hagenbuch New Attachment: gollem.patch Download
 
04/21/2005 06:07:04 AM Chuck Hagenbuch New Attachment: vfs.patch Download
 
02/18/2005 09:10:25 PM Jan Schneider State ⇒ Accepted
 
05/25/2004 05:48:33 PM Chuck Hagenbuch State ⇒ Assigned
Priority ⇒ 2. Medium
Taken from Horde DevelopersHorde Developers
 
05/17/2004 04:24:15 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
Priority ⇒ 2. Medium
State ⇒ Assigned
 
05/17/2004 03:40:03 PM Jan Schneider Comment #2
Queue ⇒ Horde Framework Packages
Reply to this comment
This has to be implemented in the VFS package.
05/10/2004 06:41:40 PM aj (at) mindcrash (dot) com Comment #1
Priority ⇒ 2. Medium
State ⇒ New
Queue ⇒ Gollem
Type ⇒ Enhancement
Reply to this comment
Add the ability to set up quotas on the SQL VFS or file based VFS.

Saved Queries