3131b3878de3245db7552234e66d437e8fde9351 |
|
18-Jan-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
acl: Contexts are now required or checked
Satisfies static analyzers |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
ad9afb64630511d5e25bc5bc11c5304986156928 |
|
30-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace o_stream_nfinish() with o_stream_finish() whenever possible |
65d4c71add523a7a061da7fb82e97cfc4f7163c3 |
|
22-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
acl: Don't read/write dovecot-acl-list with acl_globals_only=yes
It's only an optimization for the dovecot-acl files, which don't exist
with acl_globals_only=yes |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
c7f6992db44e9cd33b3b0d754833a1503ee9a53f |
|
08-Sep-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
acl-plugin: Adjust to API changes |
37c72fa0cd3f1d74d79b64afb3fb6da5ffd4fe3a |
|
06-Sep-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
acl-plugin: Make iterators more conforming
The *_next functions return true/false, deinit will
report errors and end result. |
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/' |
46b823ac3bce2c0f9f0fc73911e48d3a77b04fbe |
|
08-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Replaced unlink() calls with i_unlink*() wherever possible. |
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> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
af8b1248fed8529d26985460acdc4b1e4b7de675 |
|
04-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
Fixed file descriptor leaks in rather unimportant places.
Found by Coverity scan. |
8d9540a4536e294e69beb3d1f5b378eb06ba8bda |
|
20-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Put ACL files to control dir if storage doesn't have a mail directory. |
3bbd5fd417b3b91c509a9174f1c21d5d3665b0ad |
|
27-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Don't assert-crash on storages that have no root directory. |
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. |
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. |
94f84d1c3f786d1b92dd2a1507f83a2dad887c56 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Cleanups to mailbox mkdir() related functions. |
76b91bac787101e6b0075122ab6478dd98c8a884 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_get_root_permissions() now returns struct mailbox_permissions. |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
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. |
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 |
9e7eb7beae9828c66d944333264a79744d0313fb |
|
04-May-2012 |
Timo Sirainen <tss@iki.fi> |
acl: Memory leak fixes |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
be110f0a3888a24282f06820ec0b5068d2b8f906 |
|
02-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mkdir APIs changed. |
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() |
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 |
17cf149e5f47183bfcc1503649dfb92a14f9dcd9 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_get_root_[dir_]permissions()
They should be used instead of mailbox_list_get_[dir_]permissions() with
name=NULL parameter. |
c07e35cfc9587fc7589cbc1db0daeeb828456b2b |
|
11-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed code related to listing mailboxes with non-virtual names.
The non-virtual listing code would have already crashed with assert. |
c19f0dd4d274c15ef7b592dcc9d8c2c8c1e22abe |
|
17-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
mailbox list iter: Require MAILBOX_LIST_ITER_VIRTUAL_NAMES flag.
The backend code will be simplified later by removing two code paths for
virtual/non-virtual names.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
e20e638805c4bd54e039891a3e92760b1dfa189a |
|
08-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_foreach*() in some useful places.
--HG--
branch : HEAD |
a06f811b67a0b53f82d52af336e54cf8935bdf6d |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed previous mbox fix.
--HG--
branch : HEAD |
07c3b158517f50bb96b9f3d6e549de4195fbbc33 |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
acl+mbox: Create also temp acllist file to control directory.
--HG--
branch : HEAD |
d6407ae9e545d41fe6152bba47602f3299c26236 |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
acl+mbox: Create dovecot-acl-list to control dir.
--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 |
b6dab893cde3810ef3c3179531d487c41dbf027f |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
acl: If dovecot-acl-list writing fails, delete it so it gets rebuilt later.
--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 |
60b42c6dfdf9edcca8a96b380ef9a0adc60c2464 |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Don't try to create dovecot-acl-list file for unknown users' auto-created namespaces.
--HG--
branch : HEAD |
ae3979ff72bac46826291cff3ff85c0dd41120c6 |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed crash when rebuilding dovecot-acl-list file.
--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 |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
2e11b0de945ebadc0f3d7d1a21955f6edcfc0fd5 |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
vfile _nonowner_iter_next(): Don't return failure if we detect that acllist changes.
The code was probably added during development for some reason but it has
never been of any use.
--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 |
9aef7a5fcee899c061d35ed8f2fca6b0b5bee3d5 |
|
22-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
ACL: Handle shared namespaces.
--HG--
branch : HEAD |
b16c5adb08f16484dd3b6bccc6f42a49ead51af5 |
|
20-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
If dovecot-acl-list can't be created because of permission problems, it's
probably because the account is read-only, so don't log an error.
--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 |
b28bfb6b5dff1f5664c8e559239d2fa0d09d6a3b |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Log error if safe_mkstemp() fails
--HG--
branch : HEAD |
742b5e626817e76af69d9d7ab84c68f5a84c4138 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Compile fix
--HG--
branch : HEAD |
d02d34e138e32b4266f5a403d6c51d7803bf322f |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Simplified mailbox_list_get_permissions() a bit. Now it returns only
permissions for the root directory. Also UID isn't returned anymore.
--HG--
branch : HEAD |
d7bd88416567f07b56581a65e1cd46a42adb79c0 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Copyright cleanup: 2007-2007 -> 2007
--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 |
2526d52441ef368215ab6bf04fd0356d3b09d235 |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed i_stream_create_file() to i_stream_create_fd().
--HG--
branch : HEAD |
93fa87cf1a96c4f279ec4f5c311820313ba12c34 |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Split o_stream_create_file() to _create_fd() and _create_fd_file().
--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 |
18ffea71d9beeec3cc1d400f751926ee72807f62 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Mailbox listing API changed to support more features. Used to implement
support for half of LIST-EXTENDED.
--HG--
branch : HEAD |
61e84692827b6a64912343f515c984853021483a |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_list_iter_next() returns now const pointer.
--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 |