[dev] [patch] added VFS quota support

Andrew Hosie ahosie at gmail.com
Tue Apr 19 07:10:05 PDT 2005


------=_Part_806_9117655.1113919805961
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hey Chuck or Jan,

Attached patches add quota support to VFS and Gollem.

Gollem patches:
-----------------------
conf.patch -> gollem\config\conf.xml
Gollem.patch -> gollem\lib\Gollem.php

VFS patches:
-----------------------
VFS.patch -> VFS.php
file.patch -> VFS\file.php
ftp.patch -> VFS\ftp.php
Object.patch -> VFS\Object.php
sql.patch -> VFS\sql.php
sql_file.patch -> VFS\sql_file.php


Gollem patches are against yesterday's head (2005-04-08).

Caveat:
* FTP VFS size checking could cause script timeout.

Todo:
* Change write() and writeData() functions to call
willExceedQuota($filesize), willExceedQuota() loops through recursive
folder size check until it is determined that the quota will be
exceeded OR reach the end of the VFS

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="conf.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: conf.patch
Type: application/octet-stream
Size: 723 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/conf.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="Gollem.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: Gollem.patch
Type: application/octet-stream
Size: 675 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/Gollem.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="VFS.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: VFS.patch
Type: application/octet-stream
Size: 3506 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/VFS.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="file.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: file.patch
Type: application/octet-stream
Size: 2078 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/file.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="ftp.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: ftp.patch
Type: application/octet-stream
Size: 2295 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/ftp.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="Object.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: Object.patch
Type: application/octet-stream
Size: 397 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/Object.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="sql.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: sql.patch
Type: application/octet-stream
Size: 3497 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/sql.obj

------=_Part_806_9117655.1113919805961
Content-Disposition: attachment; filename="sql_file.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: sql_file.patch
Type: application/octet-stream
Size: 2126 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050420/68066d69/sql_file.obj

------=_Part_806_9117655.1113919805961--


More information about the dev mailing list