bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
874dc84086f05c7c0444e9b95995f475489a7f8a |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
LAYOUT=fs: Fix listing prefix/INBOX
Removed some confusing special case code that didn't seem to work very well.
Implemented this now properly so that prefix/INBOX is listed as \NoSelect
mailbox whenever it has children.
It's not actually possible to differentiate between INBOX and prefix/INBOX
in the storage for a inbox=yes namespace, because they both are converted
into the same storage_name=INBOX. |
141aa0e60c751346eb60054f5e53d0f49179433b |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
LAYOUT=fs: List INBOX as \NoInferiors when necessary |
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); |
d823c19df414cac96c7f50a6f78a13fd03bcb27e |
|
25-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Hide and rmdir \NoSelect leaf mailboxes with NO-NOSELECT
If the leaf is successfully rmdir()ed, rmdir() also its parents.
This doesn't work perfectly with if there are multiple levels of \NoSelect
mailboxes. For example with "a/b/c" the listing will already have returned
"a" and "a/b" before it reaches the "a/b/c" code, which will rmdir all of
them, but it's a bit too late at that point. It's too much work to fix
though, and the situation will be fixed on the next list anyway. |
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. |
6263d367e80995c03d4bfdc5ec12b81640d55efe |
|
30-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Fix LAYOUT=fs potentially not ignoring ACLs when requested
fs_get_existence_info_flag() was only being called with LAYOUT=fs and
Maildir combination. This mainly affected that combination when using
mailbox_list_index=yes and trying to list mailboxes with ACL checking
disabled. |
3c56ce9f3960329db46340ce13c6b337849bbdf5 |
|
30-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Fix ACL in parent mailbox potentially hiding its children.
fs_get_existence_info_flag() was only being called with LAYOUT=fs and
Maildir combination, so only it was broken if the parent mailbox wasn't
visible but its children were. |
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. |
211c638d81d382517d196ad47565e0d85012c927 |
|
19-Feb-2017 |
klemens <ka7@github.com> |
spelling fixes |
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)" |
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] |
6fbc1a22599860c486f914e99e0cd7ccce6a2c33 |
|
03-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: FS layout assert-crashed when trying to list with invalid UTF8 pattern |
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. |
1e9ea952b27104c3bab7832d8e0dce9af305dfe5 |
|
05-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed listing INBOX's children with LAYOUT=fs and non-mbox format. |
3568ea090b5a072e498438e74db23b98103ff2de |
|
12-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't crash if backend doesn't have subscriptions file. |
a7349255f087039a057bfcc9660ac3eee764768a |
|
15-May-2013 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Always return INBOX uppercased when listing mailboxes. |
420809e4034fa5fc9add886c83140e58bc8e7430 |
|
20-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Fixed assert-crash when mail root doesn't exist (pop3c). |
0f5bce9305025085103a5684467f3e54debab20e |
|
21-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Removed dead assignments. |
8e817ed80f9362fbc429432cd94decf1e279276f |
|
16-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
mbox: If namespace prefix is used, don't show <prefix>/inbox mailbox. |
26b996251b6b3070fcdcbebe72d58b4a308d1d14 |
|
12-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
fs layout: Don't assert-crash if namespace prefix begins with the separator. |
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. |
170db287b46e8b3e1c634b4650c6996d1d306b7f |
|
26-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed listing layout=fs when namespace prefix part included wildcards. |
20536ef019fc724901225c44edd5537ca6bb4bdd |
|
26-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool size |
4dc26d9b5616b8a3b46c9bff58e0bdc2087dbbff |
|
26-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Listing multiple mailbox patterns may have returned duplicates with fs layout. |
eca38954bcf972618f6b85932a3690acbd2b673a |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-dict: dict_init() now returns error string instead of logging it |
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). |
9a312bf5e78070e466b77813576376525781af56 |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Various fixes to listing mailboxes.
Some of these are a bit kludgy, v2.2 has a larger rewrite of the code to
implement them more nicely. |
4396b62b90228aa43a91eb164d50da6aa050a752 |
|
30-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs mailbox listing: Fix to prefix=INBOX/ handling |
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. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
7174e94025e4d156aea9a27c7eb674a7068cb3a0 |
|
30-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Moved most of the IMAP LIST code to lib-storage.
Also removed MAILBOX_LIST_ITER_SHOW_EXISTING_PARENT flag, since there wasn't
any clearly good way to handle it. Some clients got confused when they saw
that foo/ mailbox was returned with \Noselect flag. Either they thought that
the mailbox was named foo/ or that foo was \Noselect. Pretty much the only
sane way to handle this would be to not make return \Noselect and to treat
foo and foo/ as equivalent in all commands, but that might cause trouble
with ACLs and similar checks.. |
d92ef0c237f2dd863cd2c2b54ecc71aebeb93983 |
|
23-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
mbox: Fixed listing mailboxes under INBOX directory. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
af4fbe40da2abf9fb8c40a0b697ebd2124f333c2 |
|
14-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
fs layout: Kludge to show INBOX/INBOX mailbox when necessary.
This happens with one prefix="" namespace and another prefix=INBOX/
namespace when the INBOX mailbox itself has children. |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
c180e9d65f4366945900e83f70c222be5dc05e1c |
|
03-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs, mail_shared_explicit_inbox=no: Fixed listing nonexistent mailboxes in root. |
31a574fda352ef4f71dbff9c30e15e4744e132c0 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added array_append_zero() to write a zero-filled record to an array.
Replaced (void)array_append_space() calls with it. |
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 |
00a31960723536636a59554d93dc1e71b1b42bd4 |
|
08-May-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Fixes to mail_shared_explicit_inbox=no |
e7f4a8b48206a794cf63970ceb4e75ccfc2fecf8 |
|
20-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Fixed listing mailboxes with prefix=INBOX/ |
bfb5618b3c5e5879c2db525b007dcfb81370f9c8 |
|
20-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Don't assume '/' hierarchy separator when finding mailbox roots. |
32e63951215399dbf61c7eb1d92b3883928b1965 |
|
11-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: LIST may have shown mailbox as \HasNoChildren when it did.
This probably only happened with mbox. |
0a894d19d7ddd7d1128ba959336a669c48cda740 |
|
04-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Fixed iteration with mail_full_filesystem_access=yes |
f53b3d8c71d785b2eab3b390a2d03859297c7b93 |
|
30-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Don't crash in iteration if there is no root dir (pop3c). |
289688f974503370d0a95d1c733e1c1b22e5e1a9 |
|
19-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Renaming non-UTF8 mailbox names wasn't done in all situations. |
d6d67582bba727b51bdb6274a3d8b21063c4d9e6 |
|
14-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Rename mailbox names that aren't valid UTF-8 to avoid crashes later. |
42ec79d378c6d5c29d0d1ad290255f673ea88d4c |
|
28-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
fs layout: Mailbox listing returned duplicates when patterns contained a parent and its children. |
6ffebd05532a369c10759d62680cb26a9d1641a7 |
|
16-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
fs layout: Fixed crash when autocreate mailboxes were used and LIST had only invalid patterns. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
b991f3c492a5f73c7cc5a34e5dd4231330bcb07f |
|
20-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
fs layout: Fixed listing child mailboxes when children flags weren't requested. |
9706def243c9672ed7890da2f19c6cd4f05ffa88 |
|
20-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
fs layout: Don't list subscriptions file as a mailbox. |
0af68ff334152c0bc8198b17f86fe8d63277fad8 |
|
18-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
fs layout: Don't crash in mailbox listing if there are only invalid patterns. |
211cf1dfd3651c76538a272867f948b81bb2c983 |
|
16-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
FS layout: Mark memory pool growing to avoid warnings with devel-checks. |
782f95ed0b9a32042142b0bb199ba3426b7f7c17 |
|
10-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: FS layout mailbox list iteration code rewrite.
This fixes listing non-ASCII mailboxes. Also the new way no longer keeps
more than one file descriptor open. |
79a5536c13970ce2851873bd3b5ef6a4e4ca7285 |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Reverted the last INBOX children listing change after all. |
16dc6ccdae52603fb8a0410d603a823c0b7de613 |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed listing INBOX's children with layout=fs and non-mbox format. |
7ff6268cc35102675d73d44d680bed13d0709f7b |
|
02-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added pool to struct mailbox_list_iterate_context. |
fb365addee8210c28e6856e34d690dd8d1636993 |
|
11-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed unused struct stat parameter from mailbox_list.get_mailbox_flags() |
4145cbac82bfc0c8bfeceeca0ef841700117930c |
|
28-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced MAILBOX_FLAG_KEEP_RECENT flag with reverse MAILBOX_FLAG_DROP_RECENT.
Very few places actually want to drop recent flags, so this way is easier. |
cff1f182205e674285cf3ff446a0dcf7afea277d |
|
29-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added auto_boxes parameter to mailbox_exists(). |
cef9562bdce0268cbe42f185011399ce812d2c12 |
|
22-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Error handling fix for FS layout. |
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. |
047e3bbb00e68a0d43355e11a67b2e912e06de19 |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: layout=fs now uses mailbox_exists() instead of requiring storage hooks. |
9a0cde255c7b576142a398f332829b2dd000baff |
|
07-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Crashfix to layout=fs. |
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. |
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 |
93305d79c7e398230669d96b3af582bb738c1e05 |
|
17-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If subscriptions contains an invalid entry, don't crash with fs layout. |
34006fafaa5dfb700861ce756c08e01ba39e311c |
|
12-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed listing shared INBOX with FS layout |
9e3c348e665b90f1d5faa208f5b061436eaa5ff4 |
|
12-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Show "foo/" style replies only for IMAP LIST command.
Internally those replies just mess up things. |
c62211dc9ada8c473b992a8057baef9c3a2dedfb |
|
11-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Fixed checking if pattern was valid with hierarchy separator wasn't the default '/'
For example if separator was ';', which the code internally converted to '/',
it would have been possible to try to list e.g. ";*", which could have been
translated to "/*". Luckily this wasn't actually working, but it could have
caused other broken replies and possibly some problems with ACL plugin. |
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 |
692f0e338e12048699cc320a3d9169ab13584a4d |
|
17-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed getting flags for subscribed mailboxes with non-default namespace settings.
--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 |
a52e2f737616d4f8bca177e84d381c216560d54f |
|
29-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
fs layout: Fixed listing child mailboxes under INBOX.
--HG--
branch : HEAD |
8bc68cfb54b00999200e274f27f6ca85bb975099 |
|
12-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
fs mailbox list: Don't show duplicate INBOXes
--HG--
branch : HEAD |
b13e141c8d4cde7347fac4fc761b0957ce5357f8 |
|
04-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
LIST (SUBSCRIBED): Don't assert-crash if list contained a name ending with separator.
--HG--
branch : HEAD |
b1c1ba67b198a834759202531ad805dd44154d96 |
|
20-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
fs layout: Don't "File name too long" errors if giving too long path to LIST.
--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 |
0a25aae4deaf137a1bb29eb50388ab992aa7679d |
|
18-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
layout=fs: Fixed listing mailboxes under INBOX with non-mbox storages.
--HG--
branch : HEAD |
de469cfab1c54bc4f54bf0a32a7e07682814bcba |
|
30-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Fixed listing INBOX when NO_AUTO_INBOX flag was set.
--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 |
2394f57b7186a268622c90a6f347a5c0e25b2af6 |
|
26-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
fs mailbox listing was sometimes scanning subdirectories unneededly.
--HG--
branch : HEAD |
5494a6bc149da8f02fd25c0434a9d612ac33f659 |
|
12-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added :MAILBOXDIR= to mail_location to specify the root dir for mailboxes.
--HG--
branch : HEAD |
a1d8f53f21be1b5755836fe3ff9faa08e3d08843 |
|
12-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added :MAILBOXDIR= to mail_location to specify the root dir for mailboxes.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
e7157fa0ad659fa7984f3e6c59c195221c53ac64 |
|
25-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Fixes to mailbox list iteration (fixes some issues with virtual mailboxes).
--HG--
branch : HEAD |
e38cf6a6326c060cac04a49549145124e75f8de5 |
|
13-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
mbox: Fixed listing mailboxes in namespaces with prefix beginning with '~' or '/'.
--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 |
c4a5a567cead326eedc4e58a6e0b4b25485baba9 |
|
22-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
mail_full_filesystem_access=yes was broken when listing mailboxes.
--HG--
branch : HEAD |
337de97e2738bdce99bbac42913504003693b6ca |
|
08-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
dbox could have listed INBOX twice.
--HG--
branch : HEAD |
8e6983230d7e958352e64dae106bb4ae81d6da60 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fs mailbox layout: Several fixes to handling INBOX listing.
--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 |
ef8e26d6f06d9ca341e33d28d5dddc5fc0658377 |
|
24-May-2008 |
Timo Sirainen <tss@iki.fi> |
Mailbox flags could have been wrong with filesystem layout.
--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 |
9f6a63b970d8c2fb60e64ec8ae79a5072f2c7ee5 |
|
03-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Mailbox listing fix.
--HG--
branch : HEAD |
27f2211a8373058eef83e70256ad2047c0320642 |
|
03-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Mailbox listing fix.
--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 |
f1c46014be33c6e68a676c33f1dd03b1f6d7fd81 |
|
21-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Don't use a temporary struct dirent ourself. In some systems we don't know
easily how long filenames can be stored in it. Also now there's no need to
try to handle too long filenames.
--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 |
4429afe7d32bd883a23c10b9e2196dd72a63fe02 |
|
15-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
If storage backend doesn't return children flags, scan them ourself.
--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 |
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 |
042a07daa4a5614159532a2a3878e76e3f176965 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed strocpy() to i_strocpy().
--HG--
branch : HEAD |
19bddd1e461cece08ceafbe89c391868bf758f3a |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Let lib-storage handle matching namespace prefixes as well.
--HG--
branch : HEAD |
0d063ba32aab9637dba6c6e5ae617ec1f69946f0 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Avoid readdir()ing if the list of possible matches can be found from patterns.
--HG--
branch : HEAD |
d92f33f13830ba23d814342bf3ea8db721a15bb1 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for multiple mailbox list patterns.
--HG--
branch : HEAD |
dd7fb36ba0b8217275bf92bd7790b94f33af6c5e |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Don't crash when listing INBOX and not returning subscription flags.
--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 |
ff7056842f14fd3b30a2d327dfab165b9d15dd30 |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling rewrite.
--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 |
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 |