bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
12c57531519d66e237e865c6ee3f7eadfe148550 |
|
05-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Remove dead code
Found with clang static analyzer. |
a384b1fccb51884e8afe0f571420961851a2149d |
|
19-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Explicitly name function pointers in mailbox lists
This allows adding more fields to struct mailbox_list_vfuncs without
compiler warnings. |
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)" |
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. |
b966acda935f9ac9123974f4b73d817b4cd146f7 |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed crash with listing shared mailboxes. |
949fa97a4ab5c62e4db73c3973e35ae3b73a2b23 |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Avoid using mail_namespace.storage directly. |
74ebeb391b7d0e34e4eadbe7855fb4356de3077d |
|
22-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed crash if shared namespace had subscriptions=yes |
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. |
917498e6f84969d2b93410c1e479735abe8e0ed7 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added optional mailbox_list.init(), which can check for failure.
"index" backend now gives a nice error message instead of crashing when
mailbox_list_index=no |
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. |
3d6fdafca17c073606b63745ca8638e035e871f4 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list.create_mailbox_dir() virtual function.
It really didn't need to be virtual. Some storages didn't care about it,
others wanted it to work basically the same. |
753f22d1cec4b82c054856c29b5c65ab7275986d |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed shared namespace autocreation after previous mailbox list changes.
mailbox_list_is_valid_existing_name() no longer goes all the way through to
shared-list backend, but mailbox_list_join_refpattern() does. |
442b4c6c0d69e04297c00beb1a06da9855cb5ebe |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox list backend-specific mailbox name/pattern validation.
The virtual name validity is independent of the backend. The physical name
is always used for paths in filesystem, so it can also be verified with
common code. Backend's mailbox_dir and storage's internal directories can
also be checked. There's nothing else left really. |
71e88fae3be360e9a93b3398e743f99a6f05d2ed |
|
10-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed rename_children parameter from mailbox_rename()
The children are now always renamed. The only reason this feature was added
in the first place was to make dsync's job easier, but this is no longer
needed. |
8854395cdd21ca521b37ce669f3acb8445792b20 |
|
13-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox-list-notify API for tracking changes in all mailboxes.
Requires mailbox_list_index=yes to work. |
9de71a9113083020dec6ed9f71c2b980941fd8ac |
|
31-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Avoid creating shared user for an empty username. |
6e151be71c7007e617099e99f0d0e22501d86dea |
|
11-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
shared mailboxes: Avoid doing "@domain" userdb lookups. |
5da1aa5197a43d83f0fb3eeb83125c7cd73d1b62 |
|
11-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
shared mailboxes: Per-user flags can now be stored in private index files.
This can be enabled by adding e.g.:
mail_location = mdbox:/var/shared/mdbox:INDEXPVT=~/mdbox/shared |
aa4682f84b45dbd9db42dc7edfcdc98add260172 |
|
17-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool size. |
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. |
34e4d771f71518a419342cf21508b64b20d2c416 |
|
16-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Fixes to listing mailboxes/subscriptions in shared namespaces. |
0b25846ba794ce19536a24d4065beaf2a0bd9464 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_delete() for a symlink now removes the symlink instead of expunging mails. |
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. |
08968b259389bceb5d8f6ebdc2cd2926cfec9669 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed accessing shared mailboxes. |
4ba962c3e78f140facdcfb1e093c4c46de75ae24 |
|
11-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.subscriptions_refresh() API to be more flexible.
The new API makes it easier implement subscriptions=no to a backend that
doesn't use the regular subscriptions file. |
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 |
306cfd77100131c08b243de10f6d40500f4c27c6 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists(). |
a91bd6256b33729531c33ff8bc66ee1ae95840f9 |
|
14-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_create_dir() |
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. |
bf7f7b84345a42e48165b367064763aa8763db59 |
|
22-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
shared storage: Fixed handling LIST reference string.
--HG--
branch : HEAD |
2649b237dd4690575e75a30b2bf3b39ebd37b835 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox renaming API changed.
--HG--
branch : HEAD |
61b0637759146621cbb7edcbd0b03a71cfd66dfe |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox deletion API changed.
Mailbox deletion should now be free of race conditions. The actual file
deletion code is now responsibility of mailbox_list backend.
--HG--
branch : HEAD |
3c493c276f599d9b9cd10764876d648003046954 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mailbox directory creation code to mailbox_list backend.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
2f30b72d49fbff0c4096125c139e4bdfef45669c |
|
31-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_delete_dir() to (try to) delete a \noselect mailbox.
--HG--
branch : HEAD |
9c66dd5c3e2ba484a5c7cdb98a139bda31fdfaa4 |
|
31-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list_get_guid().
Directory GUIDs are pretty pointless.
--HG--
branch : HEAD |
48ca4c43ebca6fa3eee217bd4439cba5b5376dd4 |
|
16-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Avoid using PATH_MAX.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
0185427dd52fddec6fc76d6e99c7659620d4366e |
|
29-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
mbox: Added support for mailbox directory GUIDs.
--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 |
91b203fd2132510a47a4b34252c0ae0efd688a19 |
|
23-May-2009 |
Timo Sirainen <tss@iki.fi> |
Implemented initial support for renaming mailboxes across namespaces.
--HG--
branch : HEAD |
356db185caa5844380274f007084dd197f93094e |
|
20-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
shared mailboxes: LIST shared/% shouldn't list "%" entry.
--HG--
branch : HEAD |
90a989e4f8bcb4fb86af32cbae577402e3f92b1a |
|
12-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Memory leak fixes.
--HG--
branch : HEAD |
b31ddaad0c05e2c63cfe45eae28094829e2a5c57 |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Shared mailboxes: Fix to previous mailbox_open() change.
--HG--
branch : HEAD |
77c462c3a415536f9c87028ee34546ee96fd1445 |
|
07-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Shared mailboxes: Find the final storage before calling mail_storage.mailbox_open(), not inside it.
This fixes some crashes with plugins.
--HG--
branch : HEAD |
f325d795b52ce2053f914072b22ebca9c4f0dc7e |
|
26-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Increased some initial memory pool sizes.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
4ac2d38239cea8090154e17faefd77de5a71d882 |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added list=children option for namespaces.
--HG--
branch : HEAD |
642e4390238aa49e4b34d306b3fac0506f2d732a |
|
17-Nov-2008 |
Andrey Panin <pazke@donpac.ru> |
Fix build error with Sun C compiler.
--HG--
branch : HEAD |
cda217260716cfd8d8ec5e56f91708c64c140538 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
shared-storage.h doesn't require index-storage.h, don't include it.
--HG--
branch : HEAD |
fc304098c220318ccbaf167567e7e693c6e23b98 |
|
09-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Some fixes to shared namespace listing code.
--HG--
branch : HEAD |
2b62f4a62b0d99e3d7b256301cc0e059f101913f |
|
22-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Shared namespace: If we don't have a directory, return NULL instead of panicing.
The callers are now expected to handle returned NULLs. In future some other
non-filesystem based storages will probably also return NULLs.
--HG--
branch : HEAD |
4654f788834c9d7920a351306b89cf5d1c21772e |
|
07-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
Added initial support for shared mailboxes. Listing isn't supported yet.
Each user gets their own hidden namespace created automatically when they're
accessed the first time.
--HG--
branch : HEAD |