bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
677cc0d62b41c7506246bf1b992a400a11896474 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_user.event and give parent event in mail_user_alloc*() |
d4002fe1f64d25a792f76fb102ef7dc519cd4e24 |
|
11-Dec-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use mail_set_critical() and mailbox_set_critical() if possible
Replace calls to mail_storage_set_critical() with mail_set_critical()
or mailbox_set_critical() in places where mailbox or mail are easily
available. |
13b2d87842be8864e0e29baa18526b9d5a107b23 |
|
18-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert missed raw storage casts to container_of |
8af1a286fb27446eeb0e7a8764cd3ed8d35ff2ac |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert raw to use container_of |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
857c471c13ca215f4be9dd4b336b742b8d434e31 |
|
25-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_storage.list_index_corrupted()
The actual implementation is in the next commit. |
fc4e528886f47bf4d2dd0276fb8705c085c3b9ae |
|
02-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Changed mail storage initialization.
Most importantly require mail_namespaces_init_finish() after
mail_storage_create(). This was needed so that
mail_namespaces_created/added hook would always have the ns->list set, which
is required for several of the hooks to work (e.g. mailbox list index) |
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> |
bace943c67e6cd14ce6c994f533d82a3caad5bf1 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
Use the new [io]_stream_create_fd_*autoclose() functions wherever possible. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
d46a1e3f999dda802dc5137e883adcd7a6629cd3 |
|
12-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added MAIL_STORAGE_CLASS_FLAG_BINARY_DATA flag for classes. |
8dc39d6dd0ee768e611b13694c339fe601ec7337 |
|
04-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: raw storage allows opening mails with absolute paths again.
Fixed dovecot-lda -p parameter. |
bdb026e2dc8a7c77585ed5ba489f0056df8074d4 |
|
23-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
"Mailbox doesn't exist" error mixed up using storage and virtual mailbox names.
This could have allowed a user to figure out existence of a mailbox without
having lookup ACL. |
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. |
c6afd726060aae56b6622c6c52aec10231c4bf1c |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mail attribute dict to struct mail_storage.
This also means that index_storage_destroy() must always be called, so
removed now unnecessary mail_storage.destroy=NULL checks. |
744543d840a229fe893843046d143186971560e2 |
|
24-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
raw storage: Don't set NAMESPACE_FLAG_INBOX_USER for the created namespace. |
62041dfb7d6ac6e9c633a557075999cdfcff7bd5 |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support to get/set/iterate mailbox attributes.
The attributes are stored in a dict specified by mail_attribute_dict
setting. The idea is to use this as storage for extensions that require
per-mailbox key=value pairs, such as METADATA. |
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 |
4d0285870de4f75d65610e700a7c223f3a52bde9 |
|
19-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
raw storage: Name autocreated namespace as "raw-storage". |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
6469cf211a57433335641725dc236ebb2b9fdd3b |
|
30-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mailbox.set_subscribed() virtual method. |
5b6854f83e7fbfd5df4742f1bfc4114099b501a8 |
|
05-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
raw storage: Don't crash with mailbox_get_metadata() |
15dd1857d40544e2c356d4f1c87c42a0579c665c |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lda/lmtp: Moved common raw mailbox allocation code to raw-storage. |
34e9dfbce01a2807df8e2050b1cd7ae2cf014cd5 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lda/lmtp: Moved raw user creation code to common raw_storage_create_from_set() |
b59960aed0923004f21f2a00bc1c945084d2f851 |
|
23-May-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Export a list of permanent flags via mailbox_status().
Removed mailbox_allow_new_keywords(), since it's now included in the status
structure. ACL plugin may limit what flags are permanent according to ACLs. |
1460ef7a18c53216ddb4a94bb62fba96076aae8e |
|
24-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved index_mailbox_context.save_*() methods to mailbox_vfuncs. |
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. |
c0d069950af1dbc6a4e5c3de3bf2e437796e3ae0 |
|
09-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Return STATUS replies from mailbox list index only when it's fully up-to-date. |
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(). |
b62140c5849297a800fee942026d9c3cb8c60206 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mailbox.save_is_attachment() to mail_save_context.part_is_attachment() |
a4f09749814b93e8ad3ec8a0dc18885b874d6f8c |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Unvirtualized mailbox_header_lookup_*() |
dbe64f3893616a4005c8946be75d2dc8f6823d72 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Unvirtualized some methods from struct mailbox.
There was never any point in overriding or hooking into them. |
499fec3443374cc89fb8c83b8027c1614097d7a3 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
Moved fts/virtual plugin communication functions away from lib-storage. |
4182d8cd818e76856a5a1e25b343fe5ddf69fd8e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Simplified mailbox_keyword*() APIs.
They are no longer struct mailbox methods, because they're always implemented
as being wrappers to lib-index APIs anyway.
Also mailbox_keywords_ref/unref() no longer take mailbox parameter. |
8a13b020f90e080570658b18c042e7e352c8b14f |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved box->private_flags_mask to mailbox_get_private_flags_mask()
This allows getting it lazily only when it's actually needed. |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
b9f564d00b7a115f465ffd6840341c7b8f9bfc8a |
|
19-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for saving mail attachments separately via filesystem API.
Currently this works only with sdbox and mdbox backends. |
7a7d2aa11e46195e2d92d6c337d7e78052a5ce67 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid including mailbox-list-private.h everywhere.
--HG--
branch : HEAD |
a09aefe16dc9b4edaaaaabbe37c72c2b7907e613 |
|
14-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
raw: Fixed opening raw mailbox with filename.
--HG--
branch : HEAD |
f0a2d04321ba456e5c5ba821c0d1ed9e8e0e2e08 |
|
06-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Set input stream names for mail file streams.
--HG--
branch : HEAD |
3b32bc12710240f86465a00fbb2bd1ef030e6c40 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Increased initial mailbox pool sizes.
--HG--
branch : HEAD |
438f12d7a776da695019114884b48188d94613ef |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Use a default non-NULL mailbox.free() so plugins don't have to check for it.
--HG--
branch : HEAD |
e03d986a74128f5ba30fcfda9f6e36578f5d8dec |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox.free() method. Use it instead of close() where necessary.
--HG--
branch : HEAD |
dca6d617a23e3f93af3b8df59acb46478179fe55 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.iter_is_mailbox() API.
--HG--
branch : HEAD |
2649b237dd4690575e75a30b2bf3b39ebd37b835 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox renaming API changed.
--HG--
branch : HEAD |
e5fd6dfd0a492e4708d4dbb7971d7fc5d7b8fd85 |
|
12-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed input parameter from mailbox_alloc(), added mailbox_open_stream()
--HG--
branch : HEAD |
fbd918f47f591f8084fd52b207ef29515ddd11b9 |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: STATUS_GUID moved to mailbox_get_guid() that can fail.
--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 |
d22301419109ed4a38351715e6760011421dadec |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: *_mailboxes don't descend from index_mailbox anymore, it's now a context.
--HG--
branch : HEAD |
ca98d6a1bbe73499da758a36bfab2963375c8d06 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved struct mail_index_* from index_mailbox to mailbox.
We're relying more and more of all mailboxes being used via lib-index, and
this change makes accessing the indexes easier.
--HG--
branch : HEAD |
ac26a4607cb12b156f6a42f1ead2881bedd43d94 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index lookup cache from lib-storage to lib-index.
Removed some code duplication as a result.
--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 |
573f0491a5733fe21fa062a455acb4790b4e0499 |
|
13-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Use separate read block sizes when reading only message header vs. full message.
--HG--
branch : HEAD |
d42eb03b3a4e79a2da22a1be2de59b95660af2be |
|
13-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Actually use MAIL_READ_BLOCK_SIZE sized blocks when reading mails.
--HG--
branch : HEAD |
eb0816090cf5a549280ad783b9aa6fec199d36ba |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index-storage: Simplified the way transactions are are created/finished.
Removed also mail_storage.class_init/deinit since they're no longer used
for anything.
--HG--
branch : HEAD |
370b60cfccff7c50586fc30f4f591499a55301a8 |
|
15-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Renamed index_storage_get_expunged_uids to index_storage_get_expunges.
--HG--
branch : HEAD |
17ad2164c747cedbf81dae1893063e71a3df0356 |
|
26-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added support for creating/updating mailboxes with given metadata (guid, uid validity, etc).
--HG--
branch : HEAD |
84ed9f8f3d0e5ed47607ef417618e49e4f865557 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added reference counting to struct mail_keywords and related APIs.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
14ab4610b6038da6c5d0814fecabc6b74bc81a6b |
|
05-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_keywords_create_from_indexes().
--HG--
branch : HEAD |
de58be41126e5d68008d2ea706d62ccdc1f29337 |
|
05-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
mailbox_header_lookup*() private API changed.
--HG--
branch : HEAD |
563273bdac80393af63b9520cbf4d24cc0efd028 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
mail storages can now be shared between namespaces.
--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 |
3e564425db51f3921ce4de11859777135fdedd15 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_storage_purge() for dbox. dbox no longer calls it automatically at logout.
--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 |
3852872e6954b7132e637294132005e86b8ebd4a |
|
29-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Finished making full text search indexes work fast with virtual mailboxes.
--HG--
branch : HEAD |
ecdce39e5ef4b62eefa9f5818f17d153fd5d710a |
|
23-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Initial support for getting full text search working nicely with virtual 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 |
e3aeeb634245e80d4f643f8d2eea11d6b72336d8 |
|
07-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox_save_init() API was split to multiple functions.
This allows adding more parameters easily in future.
--HG--
branch : HEAD |
e3796bfd2bc0fd5ba664893d346df9334a5b3af0 |
|
21-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_keyword_is_valid().
--HG--
branch : HEAD |
f95b3d29bc56f139c18c880aa574a0ca72b0cffb |
|
19-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
struct mailbox_header_lookup_ctx can now be referenced/unreferenced so it
can be shared among multiple struct mails.
--HG--
branch : HEAD |
48270badadd82279bfe50ae3d187aea8b0b2b30e |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
CONDSTORE: STORE UNCHANGEDSINCE conflicts are now checked atomically.
--HG--
branch : HEAD |
80cc932b7d4fd914ed6ccb68e988e9002118d5de |
|
02-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
deliver: Added -c parameter to provide path to delivered mail. This allows
maildir to save it using hard links.
--HG--
branch : HEAD |
408e5be344c9131fdebe771718a5bf49f88cc51c |
|
07-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_get_uid_range().
--HG--
branch : HEAD |
5afa8e2edf4f313cd56e5909f92f39c3b5b7b4d3 |
|
07-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed mailbox_get_uids() to mailbox_get_seq_range().
--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 |
923eb3dde28e4d8841c14fd6b4a69635b7070c3e |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added QRESYNC support.
--HG--
branch : HEAD |
a2f250a332dfc1e6cd4ffd196c621eb9dbf7b8a1 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Initial CONDSTORE support.
--HG--
branch : HEAD |
a2a08c191a33bfaa758f9c68cafec2521b9a4472 |
|
02-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
libstorage.a shouldn't reference symbols in libstorage_index.a. Changed
index_storage_destroy_unrefed() call to be done by storage.destroy().
--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 |
4146f38412c650f4d0e100cf22d7b32e7d24b2b6 |
|
08-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Added raw storage for opening single-mail files/streams as mailboxes.
--HG--
branch : HEAD |