bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
f2de2be0e3453cdfa1d9eebd4d4361720ab60aff |
|
09-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
acl: Fix compiler warning with -Wstrict-bool |
af134287071b6d8a9e12c3f11a50fe9ad824d89a |
|
06-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
acl: Fix checking create (k) permission in global acl-file
Just because the global ACL file hasn't changed since it was last refreshed
for another ACL object, it doesn't mean that those ACLs don't need to be
applied to this ACL object.
This didn't usually cause problems, because the initial ACL object refresh
was always done due to local-path refresh returning "needs a refresh".
The only exception was when acl_object_init_from_parent() was called,
because it added an empty non-NULL validity for the local-path, so the
"needs a refresh" wasn't returned. This happened only when trying to
CREATE or RENAME mailbox under a parent where user didn't have create
permissions.
This affected only when using a single global acl-file, not when using
global acl directory containing per-mailbox files. |
f988345bc29ef022ae73f96b3ec841d39c46d30a |
|
06-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
acl: Cleanup - move code to a new acl_vfile_validity_has_changed() |
c69a177207ed18d0f0210347430a60957136bd6c |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on pool_unref(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- pool_unref(&E);
- }
+ pool_unref(&E); |
5714c480bb705939ef33de2ec7e8fb501809aa49 |
|
19-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
acl: Add acl_globals_only setting
The local dovecot-acl files aren't even attempted to be looked up if this is
set. This is mainly useful to avoid unnecessary stat()s to dovecot-acl files
that never exist. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
f0339f522dc9c8e2e8a29ef9a3f937c431c6bd1b |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use only explicit int -> bool conversions
These were checked with a patched clang. |
e93184a9055c2530366dfe617e07199603c399dd |
|
06-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove autoclose parameter from [io]_stream_create_fd
Use [io]_stream_create_fd_autoclose() for autoclose. |
0f3d4fbcf88e2ffd674893aed8cc1288fe17d290 |
|
18-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use [io]_stream_get_error() insted of %m |
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/' |
bf04396da8310add0275b337263da21cb5d3ce1b |
|
09-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
acl: Empty lines and comments in dovecot-acl files weren't handled correctly. |
e2e6f40d58b85041ca77338026a17d6708f324ef |
|
03-May-2015 |
Timo Sirainen <tss@iki.fi> |
acl: Log more debug info with mail_debug=yes |
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> |
f87daf83d4fc2db884e071475a21c54be9307689 |
|
11-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Recent changes caused global ACL filenames to be looked up with real mailbox names, not vnames. |
22e74047a660ee770427920d755d9cda564c2bab |
|
07-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed assert-crash when using the new global ACL file. |
4c158400b046fefefce0194603951a6587f51867 |
|
27-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl plugin: Added an alternative global ACL file that can contain mailbox patterns.
Instead of pointing the global ACL path to a directory use a file instead.
The file format is "<mailbox pattern> <normal ACL line>". Most importantly
this can be used to specify default ACLs for namespaces.
The mailbox pattern uses "*" and "?" wildcards currently. I'm not sure if I
should still change them to IMAP "*" and "%" wildcards. That would make the
behavior more complex ("%" depends on hierarchy separator), slightly slower
and quota code is already also using the */? wildcards.. |
71966291d5f91a87394ad2e321250e1d02670a84 |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Minor macro naming cleanup |
086c52e4bcdc950e47ee331e1e07c9c10982a670 |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Moved acl_rights array from vfile-specific code to generic struct acl_object. |
15f43b172d2c626aa03c921979c49821a55c7e5e |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: More code cleanups. |
cc287b822b175619a853686b738ba673e370117b |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Code cleanup by moving around the code and renaming functions. |
5a6cbb69f18901d1dd7237bbd9016ac7cc2138b6 |
|
09-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Crashfix |
949fa97a4ab5c62e4db73c3973e35ae3b73a2b23 |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Avoid using mail_namespace.storage directly. |
515d649c1802beb48433b90125518c00d0a1fbb4 |
|
06-May-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Optionally get default ACL's for private/shared namespaces from user's INBOX.
This probably should be the default always, but better not break anyone's
existing setup until v2.3.0. So for now there's a setting for this:
plugin { acl_defaults_from_inbox = yes } |
8d9540a4536e294e69beb3d1f5b378eb06ba8bda |
|
20-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Put ACL files to control dir if storage doesn't have a mail directory. |
ed96771946f02d836bd671dbecdc287282b78ff6 |
|
19-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Preserve dovecot-acl file's mtime when dsyncing. |
2d567b0304207290ba79948474bc63ae0cb05bab |
|
19-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Don't unnecessarily rewrite dovecot-acl file when re-adding the same ACL. |
eb4d4f557fa75aa2a47639e9deb75a21f44eb42a |
|
14-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Added ACL checks for attributes. Added ACL <-> mailbox attribute mapping.
The ACL checks will be useful once IMAP METADATA extension is finished. The
mapping is used by dsync to sync ACLs via generic attribute syncing. |
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. |
f5d8b6d7374afa210a391777652603c44ac935d4 |
|
14-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
Several fixes to handling "istream input line too long" conditions. |
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. |
e9df0f285429d2b896ecdb4cd873d25e5e895620 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Various cleanups to checking if mailbox name is valid. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
e2a88d59c0d47d63ce1ad5b1fd95e487124a3fd4 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added o_stream_nsend*() and related functions to make delayed error handling safer.
Once o_stream_nsend*() is called, o_stream_nfinish() must be called before
stream is destroyed to finish checking if there were any errors. If
something failed and the stream is just wanted to be closed,
o_stream_ignore_last_errors() can be called.
For streams where errors don't really make any difference (network sockets)
you can call o_stream_set_no_error_handling() immediately after creating the
stream. |
6a764a456e4d0789e9cc0b6a95b72001737e819a |
|
25-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed looking up parent mailbox name with different namespace vs. layout separators. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
1cfa65c0b9df2508b084774d349af58b5c6c1941 |
|
09-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
acl: Avoid assert-crashing when trying to access invalid mailbox names. |
47d5cc09738defd0020c797866e2a25a344aa65a |
|
15-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_get_permissions() now returns struct mailbox_permissions.
Also added new file_uid and file_gid fields to the mailbox_permissions. |
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. |
579e70631b8474d20fd3829f477c62950e5f9635 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added acl_backend_nonowner_lookups_rebuild() |
83ecd8be84b53e63c18afa3e835f490c471b7578 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added acl_backend_nonowner_lookups_rebuild() |
fe25191fe9f906a0dc831732d1ef085aadd28a13 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added doveadm plugin supporting acl get/set/rights/debug commands. |
7d8afd1e15bdf23b5fd13aa9ac9606aca2797125 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added doveadm plugin supporting acl get/set/rights commands. |
e5aa8d4c9bdda79c2db03391ec45b37bf774df14 |
|
01-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Merged returning dir mode into mailbox_list_get_[root_]permissions(). |
c0a87e5f3316a57e6f915882fa1951d0fbb74a61 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
All storage_name <-> vname conversions now go through the same two
mailbox_list methods. This has many benefits, such as:
* listescape plugin is now much simpler and bugfree
* allows changing lib-storage API to use UTF-8 mailbox names in future
* allows creation of "mailbox aliases" plugin |
9c3b041731d6bc0b6352be54959ca942d8d928d5 |
|
18-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Avoid passing NULL parameter to printf %s when mail_debug=yes |
8406c1d3e6c4fbb3df9f6eab0921c47e7f804bc9 |
|
16-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
Removed some dead code. |
27a7dee37444438522e04273ce17e6c48775b35c |
|
01-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed the logic of merging multiple ACLs. |
360e3e43d296945b60e53348b61d2aa95a0a3dd4 |
|
01-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Reverted last change. It still allows reading the default ACL from .DEFAULT file. |
038674c13a74a213d8827d3ad80cc3f6e25d8e04 |
|
01-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Avoid extra open() on a directory for default acl. |
4b9382f9277840873a99516077eaed1499b4c0d5 |
|
08-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Make sure acl-list and dict is rebuild when replacing/clearing ACLs |
188fe6051d70c861236e41ffc14f949a9994c324 |
|
05-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Crashfix for handling namespaces that don't have a paths. |
3f3260616dd0132974d18edf3fdbbb4abc45b1c3 |
|
05-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list_get_hierarchy_sep(). Its usage wasn't correct.
Especially with listescape plugin loaded the function was returning the
wrong separator. list->ns->real_sep should be used instead. |
cbb69e8b74e88a8d744bb4a60fb62ab2c8e6a4a6 |
|
04-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Give a better error message when trying to update ACLs for object without local path. |
375848bde4272b83b43865698f88c1b75f39162d |
|
23-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
acl: If ACL file exists in mail root directory, use it as namespace's default ACLs. |
5d202199f527590be29784e736600ddde4e4812b |
|
01-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Allow tabs between extended acl names.
--HG--
branch : HEAD |
9261dbf0675204898c6557591c7aa376e23a52b2 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Started using str_to_*() functions instead of libc's ones.
--HG--
branch : HEAD |
66396e5a8ee051fa901731b33814e74285ee14ff |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Updating empty ACL to empty triggered unnecessary disk write.
--HG--
branch : HEAD |
9939659b83da15098b22bc8c28f7ffee88b8462d |
|
16-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Don't crash if opening dovecot-acl fails with EACCES.
--HG--
branch : HEAD |
68a6202f65e5070aad57a4dc00b781c3debc98a2 |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
acl: Don't give admin rights to all owner mailboxes.
The SETACL IMAP command should already prevent this. If this situation is
created by modifying dovecot-acl file manually, it's probably intentional.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
87bae9b6463315a3fe7f2661e0335b5f7eb809f3 |
|
11-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Merge group rights if user belongs to more than one.
--HG--
branch : HEAD |
e5acc283bf030b0b5c79ca4e52d315c516a299fa |
|
16-Oct-2009 |
Pascal Volk <user@localhost.localdomain.org> |
Log debug-level messages with i_debug().
--HG--
branch : HEAD |
f35410e3121ced145c4d76da08be866a305b08cc |
|
14-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Use namespace prefix when looking up global ACLs.
--HG--
branch : HEAD |
be1ce4990d3e5eda1e80a032e355e41aabc29d6f |
|
26-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Support spaces in user/group identifiers.
--HG--
branch : HEAD |
fde0b1793a2842da00eaa105d5e13fec465f0443 |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_bsearch*().
--HG--
branch : HEAD |
bd2b326267f9fcaeee8455c581394eabcf377759 |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
acl: dovecot-acl file caching fixes.
--HG--
branch : HEAD |
e156adefc1260d31a145df2f5e9b3c82050d4163 |
|
28-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Whenever file's group changing fails, show the group origin in the error message.
--HG--
branch : HEAD |
65ee37fdc16508f58d99e4c13d4bd9f96c403a6e |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Handle empty rights (no rights) properly.
--HG--
branch : HEAD |
c9dea5c23355dea35c6fa423de69f6507852efe4 |
|
17-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_sort() instead of qsort() wherever possible.
--HG--
branch : HEAD |
9aee7681a4a78cc2a0395e29cf7f7d8bcfbcfa34 |
|
16-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Don't assert-crash if removing all rights.
--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 |
72f0ed440e0ad7046d5f1ae14450a197ff5365a9 |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
acl: If a global ACL file "foo" exists, don't fail when trying to access mailbox "foo/bar".
--HG--
branch : HEAD |
ccd4a548556a72a74a8183fa46cdd616dceae456 |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Dropped default ACL cache timeout from 5 minutes to 30 seconds.
--HG--
branch : HEAD |
027a7ea252854e19a969db2bdf913551184de9f1 |
|
02-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Don't use root directory's dovecot-acl file as the default acl. With Maildir it's usually INBOX's ACL.
--HG--
branch : HEAD |
b82d6d7f02734007c129fa25bc876049c8d9bdde |
|
21-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Create all mail/index files'/dirs' permissions based on the mailbox directory.
--HG--
branch : HEAD |
0b2f7be9fadfd4026a9174e51170890cde3edf48 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: GETACL: Convert "owner" to the actual username whenever possible.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
4213f20d2086ad5d3d1d82b5476fa1e9efdbb394 |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: Fixes to handling extended ACL names.
--HG--
branch : HEAD |
d4854db53e9c141db3d02821ed857bea101b1cc2 |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Changed all config file readers to not ignore the last line if it's missing LF.
--HG--
branch : HEAD |
81e6e1ef0feef60644a4c4b745d82a4c98223aff |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Initial support for LISTing users with shared mailboxes.
--HG--
branch : HEAD |
3cd0463d17cf9ecbc3d826d60b36800d09f0633c |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: When lookup ACLs are changed, make sure dovecot-acl-list is updated.
--HG--
branch : HEAD |
04870054863757edf048c81dcce3c5e7dec453cd |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
ACLs: Initial support for "post" right.
--HG--
branch : HEAD |
5f1124cbd48c2c36dd8061e5c3e028faeaf62dca |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: After updating ACLs, try to avoid re-reading the ACLs on next access.
--HG--
branch : HEAD |
7705148680904051b573a9125ecee765032a5809 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: Default owner rights override anyone/authenticated/group rights.
--HG--
branch : HEAD |
229ae4f43b0ab0ad7cf902b3d406ede2c56f1a11 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: Always give admin right to owner in private mailboxes.
--HG--
branch : HEAD |
02a54da28f376dd66d7939d8546a196a0045b486 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added IMAP ACL commands with ability to modify ACLs.
Based on patch by Bernhard Herzog and Sascha Wilde.
--HG--
branch : HEAD |
55c2029f111653b7c70ec58d7efef531efea63cc |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
ACL: Crashfix to previous change. Also fixes "-id" to work correctly with missing "id".
--HG--
branch : HEAD |
0d7b2e0750386fe1646a17d83a803d1d5eb3d3a0 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Global ACLs now override all local ACLs.
Also did some some internal in anticipation of ACL file update code.
--HG--
branch : HEAD |
9aef7a5fcee899c061d35ed8f2fca6b0b5bee3d5 |
|
22-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
ACL: Handle shared namespaces.
--HG--
branch : HEAD |
da9f6acdcb303d0fe5160b669668aedf39c8f45a |
|
07-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed handling 'k' right. Although box/child creation was prevented, box/child/child wasn't.
--HG--
branch : HEAD |
395ad9a760c494a2106fada1392c5432a1629de6 |
|
30-Apr-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed several memory leaks in ACL plugin.
--HG--
branch : HEAD |
d20ec4b84d6298523a84d344e29f9ebf95a4ef4f |
|
02-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Ignore spaces and TABs at the end of ACL lines.
--HG--
branch : HEAD |
3d817546d5a111cd235d04e7de137cfa8a2415b7 |
|
02-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Ignore spaces and TABs at the end of ACL lines.
--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 |
ec238b744181bc41796d84d8e0ef5a23bca73bf2 |
|
18-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
T_FRAME() changes caused infinite looping.
--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 |
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 |
648d24583c1574441c4fa0331a90bd4d6e7996c5 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
pool_unref() now takes ** pointer.
--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 |
2526d52441ef368215ab6bf04fd0356d3b09d235 |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed i_stream_create_file() to i_stream_create_fd().
--HG--
branch : HEAD |
fe363b433b8038a69b55169da9dca27892ad7d18 |
|
24-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed memory pool parameter from iostreams. Default pool was almost always
used, and the stream usually required destroying anyway so it didn't even
make freeing memory easier.
--HG--
branch : HEAD |
ff4bb2dfb5714eeb0408d3bb862de1646351d097 |
|
13-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
compiler warning fixes
--HG--
branch : HEAD |
8c0e314c57b91253c8b2c3491e162967bd3a2cd3 |
|
12-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Fix also ACL file stat() failing with EACCES.
--HG--
branch : HEAD |
730aee6c3bb2e4f2125bcdb02be4d01c4082a8e9 |
|
12-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
If dovecot-acl file can't be opened because of permission problems, treat it
as if no-one has access to the mailbox.
--HG--
branch : HEAD |
2f122b4db3f0d4eeb59ff9d306e54b2009d72cf9 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Create dovecot-acl-list file that lists all mailboxes where non-owner has
lookup right. Use the file when listing mailboxes in shared/public
namespace.
--HG--
branch : HEAD |
9fa54323c1382c969190ec46eb1c7ca783aec9b9 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Don't break if empty data was given
--HG--
branch : HEAD |
7dc2c953377fdf3f98e392c2eb7c9caa3dfc5d4f |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
cache_secs fixes
--HG--
branch : HEAD |
e7ca5f820d6a1a8fe549a2966ac707a60e055ef4 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
acl_backend is now tied to mailbox_list instead of mail_storage.
--HG--
branch : HEAD |
9e808b253bf5c20878fedfb44e4f2273db31da7c |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added cache_secs parameter to vfile backend.
--HG--
branch : HEAD |
e67ee7cc893e317bddd0b47bee810e8eb0ff379d |
|
23-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
If control_dir wasn't specified, we complained about ACL file existing in
it.
--HG--
branch : HEAD |
cf072c30967a714a42beac85ad8638bcc679390f |
|
19-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Moved dovecot-acl file from control dir to mail directory, except with
mboxes. If the file still exists in control dir, Dovecot kills itself
(rather than give full access to the mailbox).
--HG--
branch : HEAD |
3809b9691c46926aa54968ac8e418d04361e1efa |
|
28-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
If debug is enabled, log some debugging messages. Also cleaned up the code
bit, and made "acl = vfile" not require ":" after the "vfile".
--HG--
branch : HEAD |
5f24517ae602ca828bc7e197913f51d55d79c9bc |
|
12-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Fixed some warnings with older gccs.
--HG--
branch : HEAD |
91dca97b367c54a139c268b56a0c67f564bd9197 |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro
has no side effects so it might as well be lowercased.
--HG--
branch : HEAD |
26a8b7deb3a5b6f26f9c4d71538e1248f680e4be |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
--HG--
branch : HEAD |
8d80659e504ffb34bb0c6a633184fece35751b18 |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
--HG--
branch : HEAD |
e50c1eb31159d8ccc116d8fb487a5e231d2033a1 |
|
30-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Don't check ACL file's timestamp changes more often than once in a second.
--HG--
branch : HEAD |
ea319bf12eaa7870a271ab77376d6d83a9408380 |
|
30-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
NULL-terminate the parsed rights
--HG--
branch : HEAD |
14f172fb8fc5585ec450ae3c233c676a033e5324 |
|
02-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Letter ACLs were wrong.
--HG--
branch : HEAD |
96182e7a3a64a967c0a1d718024c2063f77d371f |
|
17-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
If storage separator is '/', it's possible that we're trying to open a
directory as an ACL file. If that happens, use dir/.DEFAULT file as the ACL
file instead.
--HG--
branch : HEAD |
a1b472db72081f8a27edf69497fd20d173789111 |
|
06-Mar-2006 |
Timo Sirainen <tss@iki.fi> |
Global ACL dir is now optional.
--HG--
branch : HEAD |
08a0b7b0d0444875001847ef2b1b7b76122620ab |
|
28-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Don't keep acl_objects permanently in memory. Moved cache validity information into cache records. Some other cleanups and fixes.
--HG--
branch : HEAD |
7fb70daba4e571eab5b64f496d20b9e37e31141b |
|
27-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added initial support for ACLs. Currently supports reading the ACLs from files. Since no proper support for shared folders exist yet, this is mostly intended to be used only for preventing users from fully accessing the mailboxes they'd otherwise have full access to. It anyway does support "master user" having different ACLs to mailboxes.
--HG--
branch : HEAD |