bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
0dab9cb35a976c49b28a11e28d5570f5191f1a7a |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox_transaction_begin()
Remove mailbox_transaction_set_reason(). |
2c719bcb92302f45df4badb71d1d97f57235d0cc |
|
24-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap-plugins: Use client_add_capability() for adding dynamic capabilities |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
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)" |
75771bd32a86b7360d28f1254ffba99f63d763d9 |
|
08-Sep-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
imap-acl: acl plugin deinit returns 1 on non-empty |
c7f6992db44e9cd33b3b0d754833a1503ee9a53f |
|
08-Sep-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
acl-plugin: Adjust to API changes |
d9a7e950a9cd21f2b4a90ec7759fca9e8fcc7995 |
|
05-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Fixed mismatched bool vs. int/pointer handling
I don't think these fix any actual bugs. |
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/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
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. |
eb4d4f557fa75aa2a47639e9deb75a21f44eb42a |
|
14-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Added ACL checks for attributes. Added ACL <-> mailbox attribute mapping.
The ACL checks will be useful once IMAP METADATA extension is finished. The
mapping is used by dsync to sync ACLs via generic attribute syncing. |
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. |
44f93baa7b8dca7d00bf187cd3db1c15eed384d2 |
|
24-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Use imap_append_astring() instead of imap_append_string() where possible. |
686ad6d723004b807fd558f3ef9d1f88afa7e127 |
|
24-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Use imap_append_*string() instead of imap_quote_append*() where possible.
This makes it clearer what types of output should be sent. |
bd63b5b860658b01b1f46f26d406e1e4a9dc019a |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Plugin ABI version checking improvements.
Previously the plugin version was checked against the version string
returned by the currently running Dovecot master process, not necessarily
the same as the binary. Also version_ignore=yes setting skipped the version
check entirely.
Now there's a new DOVECOT_ABI_VERSION macro that can (at least in theory) be
updated only when the ABI actually changes. The version is in format
"2.2.ABIv1(2.2.15)", where the (2.2.15) would be the actual Dovecot version
number that gets ignored when comparing the strings.
Also now the plugin version is compared to the actually running binary's
ABI, not the master's version, and it can't be ignored with a setting. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
ec5fec7eab19e134a2607b7e224b3e14a1771ee0 |
|
03-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
imap-acl: MYRIGHTS command used UTF-8 instead of mUTF-7 encoding for mailbox name. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
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. |
e34d170f8f0e084bd94bfbc1a7085ece67e508df |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make sure we check all the functions' return values. Minor API changes to simplify this.
Checked using a patched clang that adds attribute(warn_unused_result) to all
functions. This commit fixes several error handling mistakes. |
c1faff067b29fb48426cb84260adba563e93189a |
|
27-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Minor code cleanup. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
eacce2276278ce6a8176a9a100807dba50bbfb36 |
|
04-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Don't log errors when trying to change ACLs for nonexistent mailboxes. |
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. |
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 |
f750d1b4979a10bdede63e47aea6ea83d2c9e243 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
imap-acl, imap-quota: Compile fix for last change. |
ac0fed903142d28ae3a1d5d00d2097fdf161b138 |
|
04-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
imap-* plugins: Use the new imap_client_created_hook_set() to set the hook.
This avoids accessing variables directly, which allows Dovecot to give better
error messages if imap-* plugins are tried to be loaded by non-imap binary. |
4530cfa7456c10cd03fe9120c75f8bcb2f623ba4 |
|
09-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Initial SETACL box owner +rights should apply on top of default rights, not empty rights.
So typically this should be a no-op when mailbox doesn't yet have explicit
rights for owner. |
1367c36972e6c98920c8f8b5e71cd03564ca8955 |
|
09-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Don't allow ACL commands for mailboxes that don't exist. |
72d6e6f03b5f8c0ce15f75994fb42ff37e8db0b6 |
|
04-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Don't allow accessing "" as mailbox. |
8552b0cad8ffe9ccb8270577ba28b8010c89af11 |
|
07-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
imap plugins now give a nicer error if tried to be loaded for non-imap binary.
--HG--
branch : HEAD |
e593e507ee5ea3869271a631874c5c4b5c7a294d |
|
16-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
plugins: Changed to use the new client_find_namespace() API.
--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 |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--HG--
branch : HEAD |
4462bd7b4c7ef3de006f060e155a90e5de7cae21 |
|
06-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
plugins: Use DOVECOT_VERSION instead of PACKAGE_VERSION.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
cd2cd224d3216a243d55c71c298a5b7684de0ac4 |
|
07-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
imap-* plugins: Advertise capability only if user actually has plugin loaded.
--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 |
23fdad6c7e2581921f511e24cd9371c9eaebcef9 |
|
09-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
plugins: Added dependencies.
The dependencies can only be checked if the dlopen() can successfully open
the module, so use (apparently) non-portable ltlibrary linking to force the
libraries we depend on to load with us.
--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 |
411f318ed3a25fa66c1b932e10df43841e2725c9 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Handle empty rights (no rights) properly.
--HG--
branch : HEAD |
04a7b696e5255aa956277a0f7cabee736c69ec96 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Command parameter reading wasn't done correctly.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--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 |
08d6658a4e2ec8104cd1307f6baa75fdb07a24f8 |
|
05-May-2009 |
Mark Washenberger <none@none> |
Renamed headers to prevent collision if they were flattened on an install.
--HG--
branch : HEAD |
03c26eb33d8a7c908ead9579dbb2272daaf77cc7 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Removed unneeded code.
Based on Coccinelle output from Diego Liziero.
--HG--
branch : HEAD |
bd4de9c8152e6ea032c1cb1df8b79635ff5ddf9e |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Don't let client remove admin ACL from its own mailboxes.
--HG--
branch : HEAD |
45c872f65e4f327ef166c6e2b71bb43e188ac562 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Don't return default rights for mailboxes in non-private namespaces.
--HG--
branch : HEAD |
0b2f7be9fadfd4026a9174e51170890cde3edf48 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: GETACL: Convert "owner" to the actual username whenever possible.
--HG--
branch : HEAD |
e5b723864630e40c9028808ef417dd3d6fbf495b |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Handle obsolete 'c' and 'd' rights.
Patch by Sascha Wilde.
--HG--
branch : HEAD |
3a9eb305fd4aad5502cb7e64625874385ab5bc19 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: When GETACL lists negative rights, the "-" wasn't inside quotes.
--HG--
branch : HEAD |
34015eb0b74735f2fac07c12697bde20a94735e6 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Fixed GETACL when listing both negative and postitive rights.
--HG--
branch : HEAD |
dd71e3d8d6284a4f80ddf010ee4316f688169b58 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Fixed handling SETACL with empty rights.
Patch by Bernhard Herzog.
--HG--
branch : HEAD |
e1dd1ec5a9d6c857697e7c72844822452bf1e1a0 |
|
07-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl plugin: Memory leak fix
--HG--
branch : HEAD |
0df9428baed48afaff90b4d4f03792d2fd756a43 |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed plugins to work with config rewrite.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
15a07b47846c47a81d69a14d649564e222d6f742 |
|
19-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl plugin: Include version string in the plugin.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
25d624dd86700c82cd28427f3d3bebe7c8f7f459 |
|
06-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Changed imap-resp-code [ACL] to [NOPERM], which it will be in the next draft.
--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 |
c3d40f3092af25cad9e807a85eaad4d92aab107b |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
IMAP: SETACL +<rights> or -<rights> was broken.
--HG--
branch : HEAD |
f1ab91e28a4dac1305b52f77bb5f32269137d051 |
|
19-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
imap-acl: If ACLs are disabled, don't give errors at logout.
--HG--
branch : HEAD |
04870054863757edf048c81dcce3c5e7dec453cd |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
ACLs: Initial support for "post" right.
--HG--
branch : HEAD |
ff3c528e094e75e3c6bc11af75ef84484d963ae9 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
IGNORE_ACLS should have been mailbox_open_flags, not mail_storage_flag.
--HG--
branch : HEAD |
e1203014de25c8c3d3975a9f4b4a04616df4bba2 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
IMAP ACLs: Let MYRIGHTS show the rights even if we don't have "r" permission.
--HG--
branch : HEAD |
6882df5fbca4a09cdaa95f54d70bb31b5920528c |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
IMAP ACLs: Unless acl_anyone=allow, disallow adding "anyone" and "authenticated" identifiers.
--HG--
branch : HEAD |
714e2da5096fb52b8845d3c79f9bb26225a606c9 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
IMAP ACLs: Use '#' prefix for global ACLs.
--HG--
branch : HEAD |
abfd65330d6edf731ce09e25a27a2d458dc2922d |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
imap-acl: Removed a duplicate [ACL] prefix from error message.
--HG--
branch : HEAD |
02a54da28f376dd66d7939d8546a196a0045b486 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added IMAP ACL commands with ability to modify ACLs.
Based on patch by Bernhard Herzog and Sascha Wilde.
--HG--
branch : HEAD |