bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
25b3208d3b238179e291ab67a8154e1e45a87beb |
|
19-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Fail if two namespaces try to wrongly share the same LISTINDEX
If they have different mailboxes-path, they can't be sharing the same
mailbox list index. The previous behavior caused Dovecot to silently
overwrite the list index whenever each of the namespaces were accessed,
resulting in bad performance. |
c262d219fc787b49c38d3b974ff10f1d79725ad8 |
|
10-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Remove user namespaces on hook error
If there is a hook error during namespaces added
remove the namespaces from user. This avoids attempts
to use the namespaces later on without proper initialization. |
71bfb0ac64babaa2c15457492227f0ba3adce307 |
|
15-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add struct mail_user.namespaces_created
This makes it easier to determine in mail_namespaces_added hook if the
namespaces being added are the initial ones or later ones. |
549d0260d615eb51ffcd33b5fc8f9f88368ef05c |
|
12-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Allow namespaces_created hook to return failure via user error. |
a7c9ff357cc3b84d89e11785bfbe8ef4fd4ab317 |
|
11-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Improve namespace error message - include separator char.
It wasn't always obvious what the character should have been when
namespace didn't have an explicitly configured separator. |
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)" |
25e4617fb7374331411baece15af67aeecacf922 |
|
24-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Fail if no namespaces have list=yes
The previous check allowed all namespaces to have list=children. This
crashed later on in mail_namespaces_get_root_sep(), because it couldn't
find any list=yes namespaces. |
5b82f3b2f544cf891a390083f1bcf60409be20b8 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add struct mail_namespace.user_set |
2c067d5cd0088123e59ff45bee9b059fa9c1ffb1 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Use mail_namespace_alloc() for mail_namespaces_init_location()
Based on patch by Jeff Sipek |
aafbaa45a60ec50815e0c985690a828617013a8f |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_namespace_alloc()
This makes it easier to create new namespaces.
Based on patch by Jeff Sipek |
bb1da4a6320eec11890c852e74a08868837e7be3 |
|
05-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Clarify that mail_namespace_find_inbox() never returns NULL.
If namespaces==NULL, this function isn't even supposed to be called. |
9cd4b2da8ef71d5216cc49d8b46fbabd47d472db |
|
02-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Another fix to mail storage initialization.
Allow mail_namespaces_init_location() to add the namespace directly to user,
since that's what the current callers always want. But compared to the
original code we're now calling mail_namespaces_init_finish() rather than
doing the same things ourself. |
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/' |
648a6034e304c1ffa7fa8c291e03a0bca3c20288 |
|
27-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Make static analyzer happier. |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
b4277135f30f053a32d292a945ad452bfcbaa68d |
|
24-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If no namespaces were defined, the autocreated namespace settings were a bit wrong. |
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> |
8901f9484cdc215b50facd42d626f2b55052817c |
|
13-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If storage creation fails, destroy all the already created namespaces/storages. |
6a275b8e6ef4250182afa1bad0d6eff2517707f9 |
|
13-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed crash if mail_namespaces_init_add() failed due to invalid settings.
Normally the invalid settings were caught by config process already. |
c32552ea7dd700f6083e1240b9def230a0681733 |
|
16-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix |
90804278df6586cceaf1b1b07a44713c01694048 |
|
15-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_namespaces_init_add/finish() to manually initializing namespaces. |
14b551180cb4ac7acac8b048d8d6d7278541d1f6 |
|
03-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_namespace_is_shared_user_root() and used it where useful.
Most importantly this should fix a crash in ACL plugin where type=shared
namespace was used without any kind of per-user prefix/location (i.e. it
probably should have been a type=public namespace instead). |
1a5573ebc32fae2fe576ec544e1781323c1db609 |
|
03-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Move "shared" storage name to mail-storage-private.h where it can be used. |
5b8dcdcffd7d7191d753fe86498b098abf9089eb |
|
03-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor parsing fix to namespace types: Use strcmp() instead of strncmp(). |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
fedb7a111ba2102edce8e55a1ba77cf907c6add9 |
|
09-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed crashes caused by recent "multiple storages per namespace" change. |
47ede56f4e6eebfe631a1f0febf74d7adcdbcd00 |
|
08-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for multiple storages per namespace. |
f497d846932b4318866d4d00cb686f359a22a26a |
|
14-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_index=yes was still broken. |
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. |
9b706b345064ce8e8a657f54633f009a101298ea |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
If prefix="" namespace isn't defined, autocreate it as an unusable namespace.
This avoids having to handle mail_namespace_find() errors all over the
place. Instead now the mailbox accesses will simply fail. |
12976f028ab46bd30fc87b8a26052360d516330f |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added "disabled" setting for namespaces. |
57b819d3aa978b88ef478e4f2397c32db231ebb7 |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added "disabled" setting for namespaces. |
abed24374d7e1a57bec8d8a108acfcaffd52d4f9 |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Fixed LIST (SPECIAL-USE RECURSIVEMATCH) to actually return CHILDINFOs. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
7fd51f7b0b4d990ec3cfef4e60ee685bf9fb32de |
|
14-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If alias_for references inbox=yes namespace, copy the inbox=yes to the alias ns.
So even though this still doesn't allow giving multiple inbox=yes settings
in configuration file, it's now possible for multiple namespaces to have
them. They just need to point to the exact same INBOX. |
9fc96ee0e443373f3f9f7b35decd41f33e6b8c90 |
|
31-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Improved missing namespace error messages. |
5b560a354d9ce6d38134717af6554dae269d860f |
|
04-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Require at least one namespace to be non-hidden |
d5986389c72fd079da2a1560ab0b678b82e2c9cc |
|
21-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Another try at correctly setting autocreated namespace's location strings. |
b56f7fb35a314aa8b179f97ae0a085ad321a7594 |
|
21-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: When autocreating a namespace, don't fill out location setting unless necessary.
This fixes running dsync when there are no namespaces defined. |
de83c1e095ba081ef80f630bcd933e5e28aff94b |
|
13-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added namespace { ignore_on_failure } setting.
If the namespace can't be created for any reason, it's simply silently
skipped. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
fa106fc8f21dd666f64fc11634e7a81390571f23 |
|
22-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_namespace_find_unalias() crashed when namespace wasn't found. |
288d6ef592719f2be3cad9f034e9be05f9839785 |
|
15-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_namespace_find_unalias() |
ea48f355d2020b75d63f0cdfbbabe7fa059f8059 |
|
28-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed unnecessary NULL checks. |
d9250ee7e2815bb2116134b58f7c860578148d6c |
|
08-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_namespaces_init_location() for creating a single namespace for user. |
58c8d266f745ed8764c8b89f91b55510f6efea18 |
|
23-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: When mail_location is looked up from environment, set its unexpanded string properly.
This fixes a crash when creating index directories and mail location was
autodetected. |
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. |
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 |
98b27a037e337fdd3965469884245b409e3a1e84 |
|
15-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fail if list=yes namespace prefix starts with hierarchy separator. |
42d16c8fa2630d0e0204676915d4fcf53dd8325d |
|
02-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor namespace error handling cleanup. |
c2c68f7516a6e9463b71bfb4d6e01dc1cd3b25ea |
|
02-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Give an error about duplicate namespace prefixes. |
c62f5b16742dbcd9ecc96a691a3a87a58aabb6a2 |
|
02-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If shared namespace uses %% in location, but not in prefix, fail with error. |
90257f60a2f9167a0c8adf44e855b884330268a2 |
|
20-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Log namespace location with mail_debug=yes |
3f3260616dd0132974d18edf3fdbbb4abc45b1c3 |
|
05-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list_get_hierarchy_sep(). Its usage wasn't correct.
Especially with listescape plugin loaded the function was returning the
wrong separator. list->ns->real_sep should be used instead. |
ba29b0865a1f744da55f8360afa180344be1272b |
|
31-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added assert. |
6145bd3b17b9135b77b0b42409a0cc3fa0d1b946 |
|
26-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added refcounting support for namespaces |
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 |
7532ec3104647cfde960b5b77fbdb0e7adfa9642 |
|
08-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Set mail_namespace.unexpanded_set also when no namespaces are defined.
--HG--
branch : HEAD |
0b4e1043e596bfb36d999dacbf1d4d63ee96d75f |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
When creating shared directories, preserve parent dir's permissions if it has setgid bit enabled.
This works only if location path uses %variables. The directories up to
last variable are created by preserving parent directory's modes, while
the rest of the directories are created with 0700. For example
with "/var/mail/%d/%2n/%n/Maildir", "/var/mail/domain/nn" preserves /var/mail's
permissions, while the "username/Maildir" directories have 0700 mode.
--HG--
branch : HEAD |
229504f3f8ca4bba9f606fd26cb6080f841f5aed |
|
16-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed autocreating namespaces for shared users in some situations.
--HG--
branch : HEAD |
d52c4dc86c1e89cdb004a35908328d124945cc66 |
|
26-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Namespace debug logging now logs the namespace name also.
--HG--
branch : HEAD |
03e925f4268bebb716a1dfef64ab450cb98cd36d |
|
19-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Check that namespace's alias_for points to a namespace with compatible storage.
--HG--
branch : HEAD |
820cba733ab7159ffafcc722c1a68ae0c5317189 |
|
15-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Namespace debug log message logged list value wrong.
--HG--
branch : HEAD |
cd89cbcf9ef73a0855ffcbe799b4fc2442b28cbb |
|
05-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
mdbox: Don't crash when trying to rebuild storage at deinit.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
1b5dadea382aa04ad0e59b71e3a309add1b80df7 |
|
19-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
namespace list=children: Fail if namespace prefix doesn't end with separator.
--HG--
branch : HEAD |
1382a978f06181d68151194ee4569378df16416a |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_namespace_storage_added hook.
--HG--
branch : HEAD |
5666a3d6a7ea89362b8d9e8b39b15424cd9d6388 |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Plugin hook API changed to support per-user plugins within a process.
--HG--
branch : HEAD |
2fb9ae42f9e36388ec6db24188b9108434043fd0 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed APIs to fix reading settings for multiple users.
--HG--
branch : HEAD |
e5acc283bf030b0b5c79ca4e52d315c516a299fa |
|
16-Oct-2009 |
Pascal Volk <user@localhost.localdomain.org> |
Log debug-level messages with i_debug().
--HG--
branch : HEAD |
eae6e66545ee1847d5977a6dbebc31df84563e0c |
|
15-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
namespace initialization: Allow plugins to override namespace.real_sep.
--HG--
branch : HEAD |
1c885b304f060e3ac4fe04195a2f53457d0ac99e |
|
03-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Allow namespace prefix to be opened as mailbox, if it already exists.
--HG--
branch : HEAD |
6fd2c714f55cdbec22d691e855600da53e4ab503 |
|
24-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
mail_location setting wasn't used if namespaces weren't defined.
--HG--
branch : HEAD |
f63607c5ea0211a5ed68f2df47a39d3aaba1f027 |
|
24-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Namespaces: Check alias_for namespaces after all namespaces have been parsed.
--HG--
branch : HEAD |
142476eefd60e583ffa540e70dfe408f58650b59 |
|
24-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Don't (double) free mail_user if namespace initialization fails.
--HG--
branch : HEAD |
925ba01748666a35ed2758abb4d89d48686a95b5 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
When accessing a shared namespace, don't change separators in mailbox name.
--HG--
branch : HEAD |
482ca9ca1b9cfa58df9648db77b5ced84c65a05a |
|
12-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_namespace_get_storage_name().
--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 |
1cc8e682b1a6cf90617f890ba1e8abc8e5fb2b93 |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed handling non-default namespace separators.
--HG--
branch : HEAD |
16db188cfddce117500a161302f17ae691b4500e |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
Split NAMESPACE_FLAG_INTERNAL into distinct _NOQUOTA and _NOACL flags.
--HG--
branch : HEAD |
8b8f95b9ad0c0af4bceeadfaad7aba245397697c |
|
09-May-2009 |
Timo Sirainen <tss@iki.fi> |
Allow prefix="" namespace to have list=no and make it work in a somewhat useful way.
Based on patch by Mark Washenberger.
--HG--
branch : HEAD |
8d3278a82b964217d95c340ec6f82037cdc59d19 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Currently only the standalone applications (e.g. deliver) uses this.
--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 |
8c62ca091d23c2df1bd7400501b2e412f8c76b9f |
|
10-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Give an error if inbox=yes namespace is missing.
Previously we attempted to set it automatically, but that didn't work.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
94ce7e7700cda14a8342cb08e7285507b4b531da |
|
19-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
hook_mail_namespaces_created() wasn't always called with all namespaces as parameter.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
af3f857bb3166ed99595e11a9d18e5b5cc670e1a |
|
30-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added alias_for setting for namespaces. Fixes namespace issues with fts.
--HG--
branch : HEAD |
1154f87d393b28fc762ce7504f508e40edd2c4cb |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Changed mail_user refcounting to fix deinitialization.
--HG--
branch : HEAD |
67c47dbb3fde79218320fd38a45c33f61bbf3012 |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
mail_user_*() now handles home directory lookups when necessary.
Namespace owner is now a pointer to struct mail_user rather than a string.
--HG--
branch : HEAD |
a02c3e423f365d54ad731811dcb2cfad0c0e3cbb |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added namespace owner username to struct mail_namespace.
--HG--
branch : HEAD |
4ac2d38239cea8090154e17faefd77de5a71d882 |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added list=children option for namespaces.
--HG--
branch : HEAD |
c8cf8a605e0ddea7cb36fe04551aeca5090e684b |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added mail_namespace_destroy().
--HG--
branch : HEAD |
a988c3fd9251806e38931a011aaa4006dd081cbd |
|
18-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Subscription handling fixes for subscriptions=no namespaces and shared mailboxes.
--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 |
092018b35bb1dc5bd61848a38189fe6ac8f791dd |
|
12-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Removed pool parameter from mail_namespaces_init*(). Use mail_user's pool intead.
--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 |
68a4946b12583b88fa802e52ebee45cd96056772 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added more consts, ATTR_CONSTs and ATTR_PUREs.
--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 |
20b459ca0a86cd818213ed05f3168ff505811b63 |
|
29-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Set ns->sep before creating storage so sep_str gets set correctly.
--HG--
branch : HEAD |
a3f6d0302a83270253ff9d2ebd4fea0003e9ac95 |
|
09-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
mail_storage_create() now finishes namespace initialization so namespaces
can be created more easily.
--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 |
32e1554df9abca74fef0af2ba2e4c37e90a06cd0 |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Added subscriptions setting to namespaces to specify if it should handle
subscriptions itself or if the parent namespace should handle them.
--HG--
branch : HEAD |
7e70382514c7ca4f453eeb4195956c96553bfabe |
|
09-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
hidden=yes list=yes is a valid namespace combination
--HG--
branch : HEAD |
ff195150b9c73e9545c9ef28c8d876fbdf5a91aa |
|
06-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Give an error if trying to use list=no and empty prefix.
--HG--
branch : HEAD |
1b89bc9685dd65d536da6b30e306550ef71eadd1 |
|
30-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
hook_mail_namespaces_created was called with empty namespace list if
namespaces weren't explicitly defined.
--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 |
48a4fccfb24f81ee05ebc07b5db569c1fbf499c5 |
|
08-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added hook_mail_namespaces_created.
--HG--
branch : HEAD |
2dd39e478269d6fb0bb26d12b394aa30ee965e38 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
mail_storage.create() now returns error message string. Also fixed handling
"/" and empty root paths.
--HG--
branch : HEAD |
79ad38ddee9cbd59b42a98d842dbbc0f9a9488d6 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Give better error messages if storage creation fails.
--HG--
branch : HEAD |
9020a1fd3c5d19f2a59a056334612a99962e81d3 |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Namespace with empty prefix can have list=yes also
--HG--
branch : HEAD |
957d09e495c33ad1180f82152e5e87e6b51ab04b |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Added mail_namespace_find_inbox() and mail_namespace_find_prefix_nosep()
--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 |
2b95b7a9f4f06e7640ef431d9e6efc2423cacf1a |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Store namespaces sorted by their prefix length.
--HG--
branch : HEAD |
14376e0584c178306c400750352869cf2aaf6fee |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Make sure all listable namespaces use the same separator. If there's no ref
or "" namespace, use that separator instead of INBOX's.
--HG--
branch : HEAD |
d03007e5a453abcbd9a133108ed480ab38704886 |
|
25-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Added list setting to namespaces to control whether mailboxes in the
namespace are visible with LIST command without giving the namespace prefix
(eg. does LIST "" * show the mailboxes or not)
--HG--
branch : HEAD |
95ff0ac50a3383d1c60e0453ac10c4c8b6af8e82 |
|
25-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Make sure there is exactly one inbox=yes namespace.
--HG--
branch : HEAD |
9874ad56b94788297fdac4eae7cba5d651b48222 |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added mail_namespace_update_name()
--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 |
2c00c50ba3583d028bbc4a9dfdcf85688d0a1be9 |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
HAS_INBOX flag wasn't correctly set to namespaces.
--HG--
branch : HEAD |
b88d508990cf738219be8b317121b22d3056fd66 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
bugfix
--HG--
branch : HEAD |
c58906589cafc32df4c04ffbef933baadd3f2276 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list to struct mail_namespace. Added a few functions to get
private data out of mailbox_list.
--HG--
branch : HEAD |
e8490a52a1bc71bc53034e68f464435684ad810f |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Moved namespace handling to lib-storage. Beginnings of namespace support for
non-IMAP parts of Dovecot.
--HG--
branch : HEAD |