109c39ab66c5aa85bf37d5bbf4ce91c6f966268b |
|
24-Jan-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: 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. |
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. |
ca0cfbcd16563416b37e3c3e9062349a9d1c9cf7 |
|
19-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
virtual: Fix crash when saving to virtual mailbox whose physical box doesn't exist
For example if using "!foo" in dovecot-virtual and "foo" doesn't exist, it crashed.
Now it gives a nice error message instead. |
7a758aabec2ca2f3701d0e0684251eed47fffbd2 |
|
20-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: Do not remove mailbox notify if the mailbox is closed
The backend mailbox close/open status is not related to
the notify API usage. The notify is removed in
virtual_mailbox_close_internal instead when we are
actually deinitializing. |
81e832796cdc6af790ed7be8a6c150889f03171c |
|
19-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
virtual: Optimize mailbox_notify_changes() when there's only a single backend mailbox |
2f691d6dd1b98f605043744846534b828a43994d |
|
18-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: Stop watching notification on backend box close
Fixes Panic: file mail-index.c: line 662 (mail_index_close_nonopened): assertion failed: (index->views == NULL) |
0d318fe07ea8846330b6fe6b6b281ef0ccfbaacd |
|
18-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: Stop notifications only if they were started
Fixes Panic: file mail-storage.c: line 1950: assertion failed: (box->opened) |
15a2661c25010c7397f224ac83fa30433cb718dd |
|
07-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: Append virtual mailbox name to open reason on box alloc |
43dfd44ec2e993e175c4b50e9804c90a50f56d66 |
|
07-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: Use mailbox_notify_list API when mailbox_list_index is enabled |
825b0e819a7c48a366ddca23ec78b87e8c30e9b4 |
|
07-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
virtual: Generate GUID for virtual folder
GUID is generated when index is first created
or the rules change. |
d5282594ec73c953ffb23096a2cddf373cc15f46 |
|
06-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
virtual: Avoid assert-crash if backend mailbox's have_guid lookup fails
The MAIL_ERROR_NOTFOUND can happen if the mailbox was already deleted.
Other errors aren't expected to happen and possibly point to a bug.
Fixes:
Panic: file mail-storage.c: line 1831: unreached |
61cf001f1944d92eb25f113ba4c08985d6e30d53 |
|
03-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add mailbox_set_reason() calls
Added to the most important places. |
963842c00ef1714db2855c8952f1b46d78cba1ca |
|
10-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Ignore unnecessary return values. |
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. |
22d6302b54300d87a877675ca8fd97a1da4e5fb8 |
|
21-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
virtual: Compiler warning fix for list_index_has_changed() API change |
aa41b2e17912d6cad3151babea6a85dd88539d28 |
|
03-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
virtual: Moved virtual_mailbox_vfuncs to lib-storage.
This allows implementing other virtual storage backends. |
613d69eb09ed2b4d20720e7023b25f55c2215fbe |
|
16-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
virtual plugin: Fixed off-by-one in virtual_max_open_mailboxes check. |
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/' |
a18335e18aac7fc219b6f18dde083359155cc524 |
|
09-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed assert-crash when opening virtual mailbox triggered backend mailbox autocreation.
Fixes assert:
Panic: file virtual-storage.c: line 335 (virtual_mailbox_opened_hook):
assertion failed: (!bbox->open_tracked) |
adbaf368e2e27777ac01811b19bfffe554f7e911 |
|
28-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Fixed assert-crash on mailbox_status() if virtual mailbox wasn't opened yet.
We no longer require that mailboxes must not be auto-opened. |
ca203035ecc37b94ba6b4ee3eb786cdafb46503a |
|
28-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Fixed crash on mailbox_status() if virtual mailbox wasn't opened yet.
mbox->backend_boxes is initialized only when mailbox is opened. |
dd37e2ff291fbebac1b94e8aad50f3bdf7531049 |
|
24-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Auto-close mailboxes by hooking into backend's mailbox_open()
This is a more reliable way of doing it. The earlier version had problems
that all the backend mailboxes could be opened when doing a search on the
virtual mailbox (for getting the GUID of the mailboxes). |
9cb0fe28ae6f59b9f075e1edfc30f417e846c4a2 |
|
24-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Fixed assert-crash when closing a virtual mailbox consisting of many real mailboxes. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
013c0431b58809e16fd0afea0429d0b7bb1ef8a1 |
|
22-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Disable caching via mailbox list indexes.
Otherwise e.g. STATUS can give stale replies. |
cc7e2c3903f8fadb7474f09665b2280463850beb |
|
17-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
virtual: Added more asserts. |
d85a1a9d9af4a36ded4d30cb277905c807de2ec5 |
|
20-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Read virtual index header when opening virtual mailbox.
This allows doing some mailbox accessing without actually syncing the
mailbox. For example MAIL_FETCH_MAILBOX_NAME can be used without crashing. |
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> |
ce930f99c6a78f2c74b00df1ad2337095978a9db |
|
25-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
virtual plugin: Fixed assert-crash when backend mailbox was auto-closed while it had pending expunges. |
074055dadbca01626437cc4724853a374acab6a8 |
|
08-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Make sure modseqs are always enabled for backend mailboxes.
mailbox_get_status() wasn't adding a missing highestmodseq otherwise to the
mailbox list index. |
d979c1179d55ad86e40f869e48ef3e4db9c817b5 |
|
06-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed assert-crashes where trying to open an already opened backend mailbox. |
212e9e43a7d49242446331fd43ba519eda936d60 |
|
03-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Never keep more than specified number of physical mailboxes open.
This should make virtual mailboxes work for users who have a a ton of
mailboxes with a ton of mails. Earlier code would likely have failed either
with "Too many open files" or crashed with "Out of memory".
You can change the max number of open mailboxes with:
plugin {
virtual_max_open_mailboxes = 64
}
The default is 64. |
15b5076a239682277b44880e33ea23b55fff7e71 |
|
03-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Recent flags dropping wasn't working as intended.
In the old code '+' meant that \Recent flags were dropped also when the
virtual mailbox was EXAMINEd. SELECTing a mailbox always dropped \Recent
flags regardless of the '+' flag.
What should have happened (and does in new code) is that the \Recent flags
are dropped only on SELECT and only if '+' flag is set. |
3bbc5038bbef1397891c3f9ef3afd44ecfeaf457 |
|
26-May-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Crashfix: Don't deinitialize search args that haven't been initialized. |
a385399497bdb50d4dfce729ffc852b75ed46a36 |
|
23-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed assert-crash in IDLE caused by earlier changes.
This change negates all the improvements of the earlier changes when IDLE is
used. This could be fixed by using mailbox-list-notify.h API. |
3e1d94509fd76c56f2eb54f98ea02ade9ac2d44a |
|
23-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Delay initializing search args until the mailbox is actually opened.
Fixes assert-crash caused by recent changes when virtual mailbox search args
contained e.g. keywords. |
18a41cbd38f83429b790414c1159c097af4a59b8 |
|
15-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
virtual: Delay opening the backend mailboxes until it's really necessary.
This should improve the performance a lot with mailbox_list_index=yes when
opening virtual mailboxes whose backend mailboxes are mostly unchanged. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
9847ec56efa15fa063eea9988eee2d4ed9ec7d58 |
|
19-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_status.have_save_guids. |
8b31f966d9688e07672ef1958dcbdb7686523c04 |
|
10-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_status.have_guids flag |
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. |
8c909e451d14075c05d90382cf8eebc4e354f569 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced *_INDEX_PREFIX macros with a common MAIL_INDEX_PREFIX. |
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. |
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. |
86bde2c1838d1ce967fa2b394bb952004a4adcb7 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_add() API changed. Added other functions to provide the less common use cases. |
9438ecaf1caee1bb33c8d7f638742875ac42c4e5 |
|
26-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed min_timeout parameter from mailbox_notify_changes()
It's now internally taken from mailbox_idle_check_interval setting. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
c529313e1cbc22244d4528e80aa3e485f8806cd3 |
|
09-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool size. |
6469cf211a57433335641725dc236ebb2b9fdd3b |
|
30-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mailbox.set_subscribed() virtual method. |
206ed2f6fa3a6fb291498627b2da626581c07a18 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_metadata() no longer always opens mailbox. |
c4bb0320ab43ea35fa6df88fc745fdad906cee44 |
|
12-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
virtual: Compile fix for recent mailbox_exists() change. |
421d30619384e72a27e2a5d13ff6525aff4d17fe |
|
31-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Redesigned mail precaching APIs.
There's no longer a one monolithic mailbox_sync(MAILBOX_SYNC_FLAG_PRECACHE)
call, but rather one mail_precache() call for each mail to be precached.
This allows the callers to show the progress and in general is cleaner. |
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(). |
8d587838c414c48a331f0b54cd7ffd97e5024abd |
|
22-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
fts: Redesigned/enhanced FTS API and how virtual plugin works with it.
The changes include:
- Only indexer process and "doveadm index" do FTS indexing now. Other
processes connect to the indexer process via UNIX socket and request
indexing a specific mailbox.
- FTS backends can now index/search any search key. Current backends
implement indexing for some specific header fields (Subject, From, To, Cc,
Bcc), but it would also be possible to add indexing for e.g. message size
or date.
- CLucene support is fixed and fully functional.
- Solr is split to "solr" and "solr_old" backends. The new "solr" backend
supports the new header fields. It also uses mailbox GUIDs as mailbox
identifiers, so that renaming a mailbox doesn't require reindexing.
The "solr_old" uses the old Solr schema and doesn't support any new features. |
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. |
2128e2bebe4af374561ea2846b9d3eca3cde233e |
|
16-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
virtual: Support +mailbox entries that clear \Recent flag from messages. |
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. |
047e3bbb00e68a0d43355e11a67b2e912e06de19 |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: layout=fs now uses mailbox_exists() instead of requiring storage hooks. |
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 |
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_last_*error() wrappers and use them. |
306cfd77100131c08b243de10f6d40500f4c27c6 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists(). |
51327f2489a4e0e615eb9f7d921473cf8512bb79 |
|
01-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata().
The idea is now that all status items are tracked all the time after mailbox
is opened and they can always be looked up without failure. The metadata
items are looked up lazily and the lookups may fail at any time.
mailbox_get_status() can be used after mailbox_alloc() to indicate that the
mailbox doesn't necessarily have to be opened, just that the status fields
get returned.
If mailbox is already known to be open, mailbox_get_open_status() can be
used. It never fails. |
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. |
4ba9a1d3facc515b3feb5238a16bcf91f76fac61 |
|
04-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Set MAIL_STORAGE_CLASS_FLAG_NOQUOTA to storage's class_flags. |
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. |
755aea84bbe2b15ed7fe991f6462a93333ff571f |
|
30-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Allow opening virtual mailboxes that refer to non-existing mailboxes.
It could be intentional that not everyone has the same set of mailboxes always. |
722957a2f5974a4b38bebc89a1886badf2697cdc |
|
29-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Don't unnecessarily stat() the virtual directory.
Its existence is checked automatically when trying to open dovecot-virtual file. |
77d8223da3da23b731257596abefa77e4485b77d |
|
04-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Added support for IDLE notifications. |
539977f9257bd8985be5a8093658da266ae9cd19 |
|
07-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Plugin API changed to run plugin functions in correct order.
Previously the hooks were run in correct order, but the functions they
overrode were run in reverse order. This caused problems when multiple
plugins were used.
--HG--
branch : HEAD |
7a7d2aa11e46195e2d92d6c337d7e78052a5ce67 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid including mailbox-list-private.h everywhere.
--HG--
branch : HEAD |
596433ccbca59ce2328dc1d029586154cd937155 |
|
08-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Added assert.
--HG--
branch : HEAD |
8305127d1074cf9a1e25dec9be2735276462079d |
|
08-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: If backend mailbox isn't found, don't use NOTFOUND error code.
--HG--
branch : HEAD |
eca30f1fe8556c46abc75c94d03f59b2e89d4162 |
|
08-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Don't crash when trying to reopen a closed mailbox.
--HG--
branch : HEAD |
cd8507179823de33d6e8242e10dbc15d136245b5 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Increased initial memory pool size.
--HG--
branch : HEAD |
132487b9a47c2eb6fc80cfa2b0aaf82c6dc3af56 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Improved user-visible error messages.
--HG--
branch : HEAD |
d859478e8b106de6cea54f26861bd4232c92f62c |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
virtual: Implement required new methods.
--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 |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--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 |
09773218272c490c3ad1572a6579703d7c35344c |
|
07-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: If opening backend mailbox fails, show the maibox name.
--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 |
18ccd19c244f49665fe03cda785efa066d2c38df |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed to work again without crashing after several API changes.
--HG--
branch : HEAD |
4cf5f0934a25f1fd58f2780108f9d6498c455a1f |
|
27-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: If another session adds a new mailbox to index, handle it without crashing.
For now we'll just disconnect the session.
--HG--
branch : HEAD |
6b399f555c9c5c722d4cd5eab8faa02b2a4731d3 |
|
27-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Minor code cleanup.
--HG--
branch : HEAD |
e345faa28311a949d01ed9088e64b231de0829de |
|
15-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Compiler warning fix.
--HG--
branch : HEAD |
80a1558bc44206376c3d55442179676d42f54584 |
|
15-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Compiling fix.
--HG--
branch : HEAD |
fde0b1793a2842da00eaa105d5e13fec465f0443 |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Use array_bsearch*().
--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 |
2f1a8d2d0008c63241143b67698cf1d523560bf9 |
|
05-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Forgot to commit in previous API change commit.
--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 |
bf47f6022ec3c9ca52d33995fb00784feed63560 |
|
02-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Error handling fix. Don't expose hidden namespace names.
--HG--
branch : HEAD |
905457e0982fc15930d90e174f271dc69f9afcf9 |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed crashes when simultaneous connections accessed the same virtual mailbox.
--HG--
branch : HEAD |
bad5928db57cd445400ef3b4d3b8f1d55191038e |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Virtual mailboxes shouldn't be counted in quota.
--HG--
branch : HEAD |
7f3b826a89bcb7a72759912e99f574b28309fe1b |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: If we can't open a mailbox that was added using a wildcard, just skip it.
--HG--
branch : HEAD |
3b1bf68d26c9f2fe4a649f40cf375d52acffc81c |
|
18-May-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed handling multiple mailboxes using the same search args.
--HG--
branch : HEAD |
c48f32afa608cb0aeef8f34bc2c61271ff394364 |
|
01-May-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Don't show mailboxes as \Noselect.
--HG--
branch : HEAD |
579ab2fb0f9154303afa4def6226c98ed8e09a58 |
|
29-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Virtual: If opening a virtual mailbox fails, don't leak memory/timeouts.
--HG--
branch : HEAD |
34f4c7610b846a945779b6be78d1ef575c7d0ca8 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix.
--HG--
branch : HEAD |
9ca946feadc28d5bd384b52f99e7073f33837398 |
|
20-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: We don't really need to do fsync for appends or expunges.
The code just came in accidentally from copy&pasting.
--HG--
branch : HEAD |
c115c742f730e312d6b6ab5064595cd0d8b4e26e |
|
27-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
virtual: Added support for saving/copying messages to virtual 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 |
8c998bc4198f203fd1bb2af1f04c367bd4c508e8 |
|
08-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed to work with recent changes.
--HG--
branch : HEAD |
b8835b8a21c617ceb82ddc5a176243faf36aa8f7 |
|
30-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
fts: Added support for handling multiple namespaces.
--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 |
f5a7396b31762a1f876517e13ce9065820139f7c |
|
23-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Optimized searching with virtual mailboxes.
Instead of going through the messages in the virtual mailbox order, go them
through one mailbox at a time and in ascending message order within that
mailbox.
--HG--
branch : HEAD |
63110c906fdb5b4e8c870e76fa3f244dac4b043d |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox_open() now takes struct mail_storage ** so it can be changed.
--HG--
branch : HEAD |
942302b0247403645394d848b3c620ead262a2a5 |
|
25-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Virtual mailboxes: Fixes to handling errors.
--HG--
branch : HEAD |
c399b462ce6b81c78eaf0fa9c7c35bca157daa1a |
|
25-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
virtual mailboxes: Potential crashfix.
--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 |
d23c747de9d33966483fbdd41f08ad7766da7c5c |
|
12-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Added struct mail_user and fixed the code to support multiple users per process.
--HG--
branch : HEAD |
c93ff0433cc3d348116f75a64f9988fedb86fd18 |
|
08-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
virtual mailboxes: Detect loops in virtual mailbox definitions.
--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 |
6c40fee25bda974c0502e32ca70ca8ebb1c88a76 |
|
21-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
A few more fixes to previous mailbox_keyword_is_valid() commit.
--HG--
branch : HEAD |
cf942dce0253075911a96cff323b5f30eb654ae0 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox.save_init() API now takes ** pointer to dest_mail, so multiple
plugins can safely specify it. ctx->dest_mail also gets updated then.
--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 |
c1526c9903d3aaae653e6f173c7084ac62b8e76b |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
virtual: Fixed to work with the previous CONDSTORE commit.
--HG--
branch : HEAD |
4ece61edd7c266a4b8f3b290a7f0a3cb3d13ca0f |
|
17-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Virtual mailboxes: Speed up initial search result building using modseqs.
--HG--
branch : HEAD |
dee43975a70bcdb9dc83d34d6a2b177d37bb7194 |
|
09-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
virtual mailboxes: Use saved search results to find out which messages were
added/removed. Also several other fixes and optimizations.
--HG--
branch : HEAD |
90f29b3af0a645a4ef71889640f6eb6daac8c310 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed using mailboxes from namespaces with a prefix or non-default
separator.
--HG--
branch : HEAD |
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5e |
|
13-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added initial support for virtual mailboxes.
--HG--
branch : HEAD |