bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
38e6026833d2561509dc83b87257cd8aa40a21d6 |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
LAYOUT=Maildir++: List INBOX as \NoInferiors when necessary |
1728ff34ee03de825ad3aeed67d19f8ae140ee2e |
|
03-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_location=..:ITERINDEX
This changes mailbox list iteration to work using INDEX directory instead of
the normal mail directory. This can be helpful when the indexes are stored
on a faster storage. |
34b724d1d7e50b1ab24267a3b6fc089b1147c1ab |
|
23-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Add and use default mailbox iterator
The idea is to allow mail plugins to see also the non-existent
autoboxes by feeding them thru the iterator.
Fixes problem where autocreated boxes are not seen by ACL
plugin. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
97e511960951550338d69cac98fb5f3ca2badb09 |
|
23-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Changed unlink_directory() API to return error string.
There are many different reasons why it could fail, which a simple errno
can't very clearly indicate. |
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/' |
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. |
48cfcd33ace8ffc438122e0d02ed3ceb59ca13ee |
|
06-May-2013 |
Timo Sirainen <tss@iki.fi> |
maildir++: Fixed mail_shared_explicit_inbox=no |
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. |
77b5fd56e5a06d624f3ab92198272287333114f4 |
|
18-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: MAILBOX_LIST_ITER_SKIP_ALIASES now skips also "alias symlinks"
An "alias symlink" is a symlink that points to the same directory. These can
safely be skipped when iterating through all mails in all mailboxes (unlike
other symlinks that may point to external storages). |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
a21537de6bebe0dafc8f28adf6b327358b0c3fda |
|
04-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
Maildir++: Return nonexistent subscribed mailbox with nonexistent flag.
e.g. LIST (SUBSCRIBED) "" * |
b28ea1d18bcdac5bab1b1a97608f2fd73fd63221 |
|
15-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
layout=maildir++: Don't list INBOX if it doesn't match the list patterns. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
7ff6268cc35102675d73d44d680bed13d0709f7b |
|
02-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added pool to struct mailbox_list_iterate_context. |
39200631bf74e0e21af36292d6440773eee09d35 |
|
09-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
maildir++: If listing finds non-mUTF7/UTF8 mailbox dir, rename it instead of assert-crashing later. |
fb365addee8210c28e6856e34d690dd8d1636993 |
|
11-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed unused struct stat parameter from mailbox_list.get_mailbox_flags() |
b3126bef7460052415eea07b300d02c8eb07c1d7 |
|
23-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed MAILBOX_LIST_ITER_NO_AUTO_INBOX to _NO_AUTO_BOXES. |
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. |
45baf5d8e8aba0ff35720d56aa9dea8576b51747 |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor code cleanup. |
b13f738e8eb3f24dc2abf2c804f954b4d864ac6f |
|
02-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Cleaned up subscription listing internally.
The subscription listing code is now mostly separated from the mailbox
listing code. |
294658a0ecde704a693fcec31c9ebe1972aa3c30 |
|
02-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed mailbox listing with Maildir++ layout |
9f46aa48a9982567a37bb08dd95af8bee5100c7e |
|
02-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Made struct mailbox_list_iterate_context usable for plugins. |
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 |
4cdfd6cc490503ed4176a6796140470916d06e01 |
|
30-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed deleting symlinked mailbox. |
89ad7c33273f0335002e93102932c6e8c28e202d |
|
02-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Maildir++ mailbox listing could have given wrong flags to parent mailboxes. |
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. |
eb64c3586d854cddd693f0b811d897399076a441 |
|
06-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Fixes to INBOX sharing.
NAMESPACE_FLAG_INBOX was split to two flags: _FLAG_INBOX_USER (this namespace
has the user's own INBOX) and _FLAG_INBOX_ANY (namespace has INBOX, either
user's own or another user's).
--HG--
branch : HEAD |
8e9e586f812146478bdab1098bbc1969b11d7b61 |
|
17-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed listing mailbox flags for subscriptions=no namespaces.
--HG--
branch : HEAD |
a7b2b1b827c121348da0549e85a9d37987034c1b |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: MAILBOX_LIST_ITER_NO_AUTO_INBOX flag didn't work correctly.
--HG--
branch : HEAD |
b6eced3d628ad0c50a3cbc9f966da0edc20108ab |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mailbox_list_mailbox(): Fixed INBOX and root dir lookups.
--HG--
branch : HEAD |
33052869dd5aeb4fcf7e8ec28a06ad57b0eb80b0 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
layout=maildir++: Minor code cleanup.
--HG--
branch : HEAD |
a720aa23fb1f835f7e1a1c139fd949fe1fc119c5 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
maildir++: Fixed listing INBOX
--HG--
branch : HEAD |
dca6d617a23e3f93af3b8df59acb46478179fe55 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.iter_is_mailbox() API.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
48ca4c43ebca6fa3eee217bd4439cba5b5376dd4 |
|
16-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Avoid using PATH_MAX.
--HG--
branch : HEAD |
2d9b086a0a55f8afa558183cc86f56d45c3f56c7 |
|
28-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_LIST_ITER_NO_AUTO_INBOX for listing INBOX only when it already exists.
--HG--
branch : HEAD |
a4f316284fa37938fe7da1d133a1657da7c1c9d9 |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Shared Maildirs: Fixes to listing INBOX.
Based on patch by Bernhard Herzog.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
9e9f0cf3cc3ce546e8a433990c92dd9be6665df6 |
|
05-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Improved "Permission denied" error handling. It'll now show also the uid/gid name.
Also moved the code to mail-error.c and used it when listing mailboxes.
--HG--
branch : HEAD |
96f2533c48ce5def0004931606a2fdf275578880 |
|
30-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Created mail_user_[try_]home_expand(). Used them for expanding mail directories.
--HG--
branch : HEAD |
de486b59018016977015ef42e6071155b60e82e1 |
|
08-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_iter_init_namespaces() for listing mailboxes from multiple namespaces.
struct mailbox_info now always contains the listed namespace.
--HG--
branch : HEAD |
7230352f1177a8ed2b924c6992e751fd2ab9bc27 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_name parameter to mailbox_list.iter_is_mailbox().
--HG--
branch : HEAD |
05a55ef683eba78d6e210b9676341a51696d01f8 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
maildir++ LIST (subscribed): If listing finds a non-subscribed mailbox under
a subscribed one, mark the subscribed one as having children.
--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 |
ef50336eefcb9ba99f73c6af37420eaf8857a39b |
|
28-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling namespace prefixes and real!=virtual separator. Added a
new MAILBOX_LIST_ITER_VIRTUAL_NAMES which specifies if mailbox listing
should be using virtual or real mailbox names.
--HG--
branch : HEAD |
a3959aa6bef2e72802fbfb46fe44f899ad61de36 |
|
27-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Mailbox listing was broken if namespace had a prefix.
--HG--
branch : HEAD |
a5335779cad1ee1e2a5c38b181eb66eb8ecb809e |
|
20-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes for listing namespaces with prefixes and real != virtual separator.
--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 |
63ca9cacc5d2d1b1cebfc430bb89637f8c138e4c |
|
16-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for binc IMAP style IMAPdir. It doesn't support escaping, but
should be good enough.
--HG--
branch : HEAD |
5bb901d075911ecd0aa91bc30651cfdb84365bd8 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Return INBOX with namespace prefix if we're not in INBOX namespace.
--HG--
branch : HEAD |
19bddd1e461cece08ceafbe89c391868bf758f3a |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Let lib-storage handle matching namespace prefixes as well.
--HG--
branch : HEAD |
aef538e8e43f1aaf3d44c18de5c74afa08b960f8 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to returning mailboxes
--HG--
branch : HEAD |
d92f33f13830ba23d814342bf3ea8db721a15bb1 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for multiple mailbox list patterns.
--HG--
branch : HEAD |
7ecebad16f1c6bccf465d21d5ace5358384df34d |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
In non-INBOX namespaces list INBOX if Maildir/cur exists.
--HG--
branch : HEAD |
75d8fc75765b9ed1507f51f9c94b245ce6d2afaf |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
crashfix
--HG--
branch : HEAD |
542ddc71e8c0951f3d7955d35c50610bb2d21b98 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Use explicit IMAP_MATCH_* comparisons for imap_match() instead of assuming
something about the values.
--HG--
branch : HEAD |
533bfba437e4120aa29dd45bca2aa87e30ee28a2 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
s/mask/pattern/ for mailbox listing.
--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 |
296dca49e4fe6046e0328c67ef1cf4b8077dec9c |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Moved several namespace booleans to a flags field. Removed unused
subscriptions boolean.
--HG--
branch : HEAD |
61e84692827b6a64912343f515c984853021483a |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_list_iter_next() returns now const pointer.
--HG--
branch : HEAD |
2423da95ee20fd4b3c260c1389cf2952d25f099c |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Removed HAS_INBOX and SHARED_NAMESPACE flags from mail storage and mailbox
list flags. They can be directly taken from struct mail_namespace.
--HG--
branch : HEAD |
be6cc9db0d1edc0cf945bf3119bcaa68e484d1de |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mailbox_tree iteration code from maildir++ to common code, and rewrote
it.
--HG--
branch : HEAD |
f97cacf16251b42f530c6a28686cc8c9aa7df3a2 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
cleanup
--HG--
branch : HEAD |
b039dabf4c53f72454e795930e7643b6e0e625f9 |
|
29-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Moved delete/rename operations to mailbox_list API. Fixed mbox/maildir to
work with either fs/maildir++ directory layout. They can be changed by
appending :LAYOUT=fs|maildir++ to mail_location.
--HG--
branch : HEAD |
5fb3bff645380804c9db2510940c41db6b8fdb01 |
|
25-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
--HG--
branch : HEAD |
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3 |
|
16-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Initial code for separation of mailbox accessing and directory layout
handling. It's not yet possible to change the default layouts though.
--HG--
branch : HEAD |