bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
12d7f667b636405ae54dcc4cb3031f4ba52aff04 |
|
08-Nov-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota: Prefix quota errors with backend name in quota_get_resource()
Remove quota backend name error_r prefixing from get_resource() vfuncs. |
1379bb74c2855aaf3415fdfe965164a44ac3c001 |
|
08-Nov-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota: Return quota_get_result from quota_backend_vfuncs.get_resource()
Add a QUOTA_UNKNOWN_RESOURCE_ERROR_STRING for returning error_r with
QUOTA_GET_RESULT_UNKNOWN_RESOURCE.
Forbid backends from returning QUOTA_GET_RESULT_UNLIMITED in
quota_get_resource() with an i_panic(). |
d32f4c43ddfe51fd757c15fe1821287ab5b3caf5 |
|
06-Nov-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota-fs: Make it possible to set the mount= parameter
Also free root->storage_mount_path before copying the given parameter in
order not to leak memory when there are duplicate mount= parameters. |
39eefc53d06cf9790c6e3180a67b68e89eb71313 |
|
27-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quota-fs: Default to quota API v2 if _LINUX_QUOTA_VERSION is undefined.
glibc v2.25 drops v1 support in sys/quota.h and doesn't define
_LINUX_QUOTA_VERSION. |
9a603e8651212925bc15ba89abdbe9ea92a0d903 |
|
19-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota-fs: Improve error_r strings |
7b3b617e946d5b32078baa821f5fc05f775e1dfe |
|
19-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota: Add error_r to update() of quota_backend_vfuncs |
a525be16a69367f43765d20c873b5f168c5b7ea3 |
|
19-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota: Add error_r to get_resource() of quota_backend_vfuncs |
d77b5c30f4e757add1028de85e7ad95fccd96f98 |
|
19-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota-fs: Remove T_BEGIN..T_END from fs_quota_get_resource()
This is to enable using t_strdup_printf() with error_r later on. |
5997118fa7aee2535edac28092261ca085a958ae |
|
19-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota: Initialize quota_backends with designated initializers |
47a5a7e8296f3b8f2fac9a0659d4de3f2723ba4a |
|
06-Oct-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use PRI* macros and %zu instead of casting |
a943ed0f901e312445fd393249b91932797bba79 |
|
03-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: use i_close_fd{,_path}() instead of open-coding them |
fde14422caabc3c4ac4a6c5e3e5cf176cedd90a6 |
|
21-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quota: Fix failing again if quota setting has invalid parameters
This was broken by the recent quota parameter parsing changes. |
15c365ef8fadf433160deb3f59442616ed0569dc |
|
10-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quota-fs: Make sure quota calculations don't overflow in old systems
Patch by M. Balridge |
73cdeeae4ccae9930973dfb6a5b4835c79bdba49 |
|
23-May-2017 |
Sergey Kitov <sergey.kitov@open-xchange.com> |
Whitespace cleanup |
efbb018262400ca272ae1d173b2db6f068516d71 |
|
23-May-2017 |
Sergey Kitov <sergey.kitov@open-xchange.com> |
fs backend parameter parsing changed to use common function |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
e2e64c109827f782e9e20b50a15c7489479bcada |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quota: Skip reading mail sizes when quota backend doesn't need it.
If quota backend is updating the quota internally, it's just going to ignore
the looked up size. The only reason for looking up the sizes is to check
with quota_try_alloc() whether user is going over quota. |
4adefdb40c7ffcac3d8f8279cdf52d9f72d39636 |
|
31-Mar-2016 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
quota: Fix NetBSD build. |
11c685e34a13bf4ee843d5740ecac23f45e7bd44 |
|
21-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quots-fs: Fixed compiling with HP/UX and Solaris |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
738bdc36e50f5acb829e8fbeed9b77afee0c6de0 |
|
09-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Fixed getting NFS rquota when the quota was disabled. |
47c4991dc627010c92674cb3af6bc9d5089720e7 |
|
08-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Recalculate relative quota rules when FS limit changes are detected. |
bcecb676b4f8ee1c8e16c47a711fee86859d84bf |
|
06-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
quota-fs: File count limits with NetBSD shouldn't be multiplied by DEV_BSIZE |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
3f7583189249a28892cd5bd69e15681c7a8a619b |
|
01-Dec-2014 |
Timo Sirainen <tss@iki.fi> |
quota: Added "hidden" option to hide the quota root from IMAP GETQUOTAROOT command. |
5f83be0c55c71e15b62cbc275f8dd4b3e80e18b6 |
|
25-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
quota: Fixed NetBSD quota
I guess it's because quota is refreshed only at quota_open() time.
Based on patch by Manuel Bouyer |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
9b61a6db87c026656f8d2ae214e4486b98a069c0 |
|
07-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
quota: Improved init() failure error logging. |
26ada766cfff6ebfb91d100936118cf8aa51e3ae |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Support NetBSD 6.0 libquota.
Patch by Emmanuel Dreyfus. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
048e40f9364fa68482bc276dd4a5d595a3d742e9 |
|
16-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
dict quota: Fixed a potential crash if quota recalculation was triggered at deinit. |
9fc97c8aa8190df87624d214bcc5d0b5362bec93 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_path() and friends can now return an error.
An upcoming "index" mailbox_list backend uses mailbox GUIDs as the directory
names. Doing a name => GUID lookup may fail, so the path lookup may fail.
This is a somewhat annoying change and perhaps it can be removed in future,
but for now it looks like it can't be avoided. |
feaa6a3d82ea61496ced1f83a726ff33047c7da2 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_path_to() wrapper for mailbox_list_get_path().
Changed the code to use as much of mailbox_get_path_to() and
mailbox_get_path() as possible. |
3fccae8252cacad8253365153de177fe80584ad4 |
|
17-Jul-2012 |
Jan Friesse <jfriesse@gmail.com> |
quota: Support for fs hard limit
Support for hard limit is implemented for NFS, but sadly not for other
filesystems. If softlimit is not set (it's 0), hardlimit should be used.
---
src/plugins/quota/quota-fs.c | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-) |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
4401e78c37f1e7392380d342274ef7f481bb6e4c |
|
10-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Don't log error if storage doesn't have a root directory. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
55a14bce15b9f44441b5f56616d73651a294d770 |
|
15-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_dir setting, used by deliver and lmtp for creating temp mail files. |
079a251730d3ede9b1243fe3c2a15c1ff2c57094 |
|
08-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs: With mail_debug=yes, log also additional mount points that are added.
Based on patch by Juergen Obermann.
--HG--
branch : HEAD |
f5f9099ac93110513bb18f366d1536d174dcfad8 |
|
05-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs/rquota: If soft limit is zero, fallback to returning hard limits.
--HG--
branch : HEAD |
f9b62248553c15ed6e3297a23390f79bdc03d416 |
|
05-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Added support for NFSv4 rquota.
Based on patch by Martin Schanzenbach, which also borrowed comment from
linuxquota.
--HG--
branch : HEAD |
548a518357ff77755e458410a217e872c6cf3455 |
|
05-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Removed rq_active check from rquota usage.
Apparently it's not set by all implementations, and other tools also ignore it.
If it actually is necessary in some systems, this could be added back and
enabled optionally.
--HG--
branch : HEAD |
4e9665287d5e321fd2574a1f2c1a99a94a0d3f79 |
|
01-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Compiler warning fix on some OSes.
--HG--
branch : HEAD |
10ae1846ac55dda424467e7230f0f77e3434fa5c |
|
11-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs, Solaris: Don't try to open quotas file with NFS mounts.
--HG--
branch : HEAD |
57eb09c8ae0abe5609ec286fb7b82c071b529ac1 |
|
28-May-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Log also mountpoint type with mail_debug=yes.
--HG--
branch : HEAD |
abc8539e7ab1f4c1e853a1369d128e0194ea1692 |
|
25-May-2010 |
Timo Sirainen <tss@iki.fi> |
quota-fs: If FS quota is enabled, create (some of) users' temp files to /tmp.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
e5acc283bf030b0b5c79ca4e52d315c516a299fa |
|
16-Oct-2009 |
Pascal Volk <user@localhost.localdomain.org> |
Log debug-level messages with i_debug().
--HG--
branch : HEAD |
f468a767041b7bb567c3dde04e9d885e98177eae |
|
15-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: If mount=path isn't specified, don't fail with multiple quota roots.
--HG--
branch : HEAD |
cb931f84e3ec8e3deda253a1c0ae0409023de096 |
|
14-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
maildir quota: Limits weren't read early enough from maildirsize file.
--HG--
branch : HEAD |
64e33505784bb6f6ab83ce062d82870868751eb5 |
|
07-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
configure: Removed --with-linux-quota parameter.
It was useful only in some broken setups and even there it can be specified
with CPPFLAGS instead.
--HG--
branch : HEAD |
ca2b138733d7047ded351e3667755b69fa6541e3 |
|
07-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Default to user quota with NFS, not group quota.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
0e11183741ffaca4be53eae27d35d02829344a61 |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Improved debug logging.
--HG--
branch : HEAD |
6dddf1d27c0f72756c790735d1dedde6591cc15d |
|
06-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Compile fix for OSes without GRPQUOTA define.
--HG--
branch : HEAD |
4c7caf83adc56d54e2ecec0a803f5ca9b6d0498d |
|
02-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Added support for NFS group quota.
Based on patch by fandorin at rol.ru.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
b1678954f83e1059b981e2def52a70054fa71399 |
|
14-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed FS quota compiling and Maildir++ quota with multiple users.
--HG--
branch : HEAD |
c7ec3797312157be2b01925c95aff9599d04ef42 |
|
13-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
quota-fs: compile fix for previous changes.
--HG--
branch : HEAD |
bae914d7dac4fffc4e3147438ea26d98cc1de7a1 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Solaris fs quota may have closed fd 0.
--HG--
branch : HEAD |
b19feb85569a6ad96e60d8246723561331213b8a |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fs quota: Don't crash if some mail storages are outside known mountpoints.
--HG--
branch : HEAD |
6029d57f528b755be84a7d0326ad1c52063d9ca7 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Use quota->debug instead of getenv()ing it every time.
--HG--
branch : HEAD |
6d6bbe8787354bbb69d0c03187adfe0f497d70b8 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
FS quota: Handle quota only for the quota roots which apply to the mailbox
when there are multiple roots. With a single quota root the check is usually
unnecessary. Based on patch by Ralf Becker.
--HG--
branch : HEAD |
efd364275cb375df44fd7cd9b9aea3df2dd467bf |
|
12-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
HP-UX fs quota: Convert blocks to bytes using filesystem's actual block size
instead of using a hardcoded DEV_BSIZE (should this be done with other OSes
too?)
--HG--
branch : HEAD |
c5e6a8596cd25e6281deff2230e63367e138fbb4 |
|
12-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
HP-UX: Fixed compiling problem in fs-quota.
--HG--
branch : HEAD |
f815778d25fde0c22f090df56341eb7ba1ff1a35 |
|
12-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
fs quota: message/inode values and limits were set wrong, except for Solaris
--HG--
branch : HEAD |
45031ba153608eb33af22ee0d242c3e5e426486d |
|
11-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
HP-UX: Fixed quota-fs compiling.
--HG--
branch : HEAD |
b8d232d88018c5cafd2f3be5a181d318137a45f2 |
|
27-May-2008 |
Timo Sirainen <tss@iki.fi> |
Avoid using shadow variables. Unfortunately -Wshadow also complains about
index variable conflicting with index(), which is used in way too many
places to change.
--HG--
branch : HEAD |
634c7207dec9bfa672f7598fd45dd031d3bb5ab3 |
|
26-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Relative (%) limits in quota rules and warnings work now if the backend
specifies or changes the limits (e.g. Maildir++ maildirsize file)
--HG--
branch : HEAD |
3851ad9fcb25635f02b46d44586742ef1081876b |
|
26-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Relative (%) limits in quota rules and warnings work now if the backend
specifies or changes the limits (e.g. Maildir++ maildirsize file)
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
d5d23d5ff8b7a06d2ead489ddcf55ee8fb5ca7b6 |
|
28-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Added noenforcing option to fs quota backend.
--HG--
branch : HEAD |
23ad3970cd22adb6c875caf95fa791548849f0d1 |
|
18-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Yet another try at getting rquota code compiling properly with BSD make.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
ceb88add1fc9f7f25e1ce75f7dae947bb63ae0a0 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Use quota roots with mount path even if we never see a storage for them.
This is useful if e.g. INBOX is in different filesystem then other mails.
--HG--
branch : HEAD |
beaa29640dc0e7b44bbf2e8e04559454b0af4417 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
inode_per_mail is now a parameter. We don't use it automatically.
--HG--
branch : HEAD |
5670571cacaeb192fdc26ca2efd79734381796c0 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Removed autocreation of quota roots. Added mount=<path> parameter to map
storages to quota roots.
--HG--
branch : HEAD |
3aaf560f83bd578d951b5026b5b0ffb58f86dccb |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added user and group parameters which allow forcing user/group quota
reporting.
--HG--
branch : HEAD |
4bbac9612c0b16bd4c7f03326a7a2cdc163014d8 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for group quotas.
--HG--
branch : HEAD |
29fe652c01b24298ee9e5825a103279106f0e263 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Code cleanups.
--HG--
branch : HEAD |
e4cbaae481f5e980dca4df1a819d8df127456e4d |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
With maildir and cydir formats return inode limit as message count limit.
--HG--
branch : HEAD |
fdbcd3027578d35cb6e12b44c06a46905024e300 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Build rquota_xdr.c with rpcgen from rquota.x.
--HG--
branch : HEAD |
21aa3c764494fc308e8fdb1a9b4f9df3f260e4f8 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Use authunix_create_default() with rquota. Patch by Steven Luo.
--HG--
branch : HEAD |
9e96947aa6185341cbdd1140cb216fab3270ccba |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
--HG--
branch : HEAD |
12dc81583d1958cb301a617e19fbd40e8d376397 |
|
12-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Allow backend-specific quota rules with backend=<string>.
Support Maildir++ quota limit strings with Maildir++ backend.
--HG--
branch : HEAD |
e59857800e22c3e1c90578763dbf7d61a5fc79f2 |
|
20-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Linux quota v1 apparently returns current quota in kilobytes, not bytes as
v2.
--HG--
branch : HEAD |
e392fcb39a06609af20a9e79017683f194de3dde |
|
22-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Bytes and kilobytes were somewhat mixed up everywhere. Also fixes a
compiling problem.
--HG--
branch : HEAD |
c62fb87a8ff403fb9ddf29e9a21a158b1198fa39 |
|
17-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Removed quota_set_error() calls.
--HG--
branch : HEAD |
5e4c116a411967f1a012ac4f79732a724b5f6cc1 |
|
11-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Check for XFS quota also from xfs/xqm.h
--HG--
branch : HEAD |
e101ed4afa1cfe5bb478491cbb5b8e7ff3de36ce |
|
10-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Put back specific checks for struct dqblk.dqb_curblocks vs curspace. The
removal broke compiling for some OSes such as OSX.
--HG--
branch : HEAD |
4c74f086031dc6ce5c65cc0f949753a03a00c686 |
|
07-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Default _LINUX_QUOTA_VERSION to 1 instead of 2, since older Linux v1
sys/quota.h didn't define it at all.
--HG--
branch : HEAD |
2e0e52f27469bf4eba8d7e88f1716f0a19824ba5 |
|
03-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Added --with-linux-quota configure option to specify which Linux quota
version to use. Don't bother looking into struct dqblk to see if curblocks
or curspace field exists, we can figure it out from the quota version. If
quotactl() returns EINVAL, it could have been because wrong quota version
was used, so give a friendly message suggesting to look at
--with-linux-quota.
--HG--
branch : HEAD |
3fe44a0df5a0bdd80c495f79cbf0e384441d6fcc |
|
30-Jul-2006 |
Timo Sirainen <tss@iki.fi> |
Changes to make trash plugin working again.
--HG--
branch : HEAD |
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52a |
|
30-Jul-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added support for multiple quota roots, rules and storages. The configuration
has changed, userdb now needs to return "quota_rule" settings instead. Much
of the code changes were done by Tianyan Liu.
--HG--
branch : HEAD |
87c7e8404e2534e90cf212043e3c2d9245884003 |
|
01-Jul-2006 |
Timo Sirainen <tss@iki.fi> |
BSD's quotactl() wants a file path, not a device path.
--HG--
branch : HEAD |
979e2379225b05df63ca3a0c55064edbc03d7afb |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Attempting to fix quota block calculations to be correct.
--HG--
branch : HEAD |
a2871d937a75288bcd7177b2680d4e5096a7f3cb |
|
16-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Added support for XFS disk quotas. Patch by Pawel Jarosz
--HG--
branch : HEAD |
f6f94063c4c3080280b87ab47ac2bb756ba002f9 |
|
11-Jun-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
If size of the mail was known before saving started, we allocated
the quota twice for it.
--HG--
branch : HEAD |
92654af7b19ff1bfc0df427e5ffcb19750fbf79a |
|
14-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
quotactl() parameters were backwards for BSDs and AIX.
--HG--
branch : HEAD |
11ead0d848f1751c8274e3422fa48fc7d9aee2e9 |
|
14-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Use mountpoint_get() instead of doing it ourself.
--HG--
branch : HEAD |
20b2409b89783eccc33bd52931c70498f85d1468 |
|
09-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Fixed calculation overflows
--HG--
branch : HEAD |
58c010e24d114004c411dba9b39f8e416e3712e6 |
|
02-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
stat() the mount point paths instead of the devices to find out where the
mount point is.
--HG--
branch : HEAD |
6800c6607013d4fdef5a4f764bae407301c6cce8 |
|
06-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Cleanups.
--HG--
branch : HEAD |
82995cc154a929f37aa486a72a6485e9f8d34a30 |
|
01-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Quota API redesign. Still not perfect, but better than before. Quota backends no longer need to be told where the mails exist. fs backend doesn't work correctly with multiple partitions (if you've multiple namespaces).
--HG--
branch : HEAD |
94a54cd65ff887eefefb213a2df5577dc658f186 |
|
25-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix
--HG--
branch : HEAD |
ac756824dc2be28eda7e9f70f1a694469f88d8bf |
|
25-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Support Solaris's ioctl(Q_QUOTACTL).
--HG--
branch : HEAD |
74de1fb2f34614b18669c29733bec091ea2bf001 |
|
24-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Added comment
--HG--
branch : HEAD |
f55354023cc21d3e2a13b28e3826f487dbe5a834 |
|
24-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Define MNTTYPE_SWAP and MNTTYPE_IGNORE ourself if they're not defined.
--HG--
branch : HEAD |
4981827cb5e32cf767b7b0e3070137e6b36f42af |
|
22-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
mailbox_save_init() supports now returning failure. Quota plugin now checks
if mail is too large in mailbox_save_init() hook. APPEND fails before giving
"+ OK" reply if mailbox_save_init() failed.
Also fixed some APPEND failure cases where the next command was eaten away.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
7243a0515dea6d73bcd69752d5eecfbdc9bd3d27 |
|
23-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Fixed to work with struct dqblk.dqb_curspace also which is apparently the
new Linux-way to do it.
--HG--
branch : HEAD |
a35cbba04d0a2823da98e693bd09a051addffdb2 |
|
14-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
quotactl() quota checking support
--HG--
branch : HEAD |