e0dae5d76ea0a4aef849602750ce73dfae995bc8 |
|
12-Feb-2018 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Flip MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT to ..._ALLOW_ROOT |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
f1edf7f20661ef9627acbf4054acddcba4d2eb3f |
|
11-Dec-2017 |
Stephan Bosch <stephan@rename-it.nl> |
imap-urlauth: Allow connections from services other than IMAP.
The imap-urlauth service detects the new submission service and assigns the appropriate privileges.
The dovecot-token authentication mechanism provides information on which service connected to it. |
be5773cb4d6edae8a5d9f300c3c7375cdd33826e |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on [io]_stream_destroy(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- i_stream_destroy(&E);
- }
+ i_stream_destroy(&E);
@@
expression E;
@@
- if (E != NULL) {
- o_stream_destroy(&E);
- }
+ o_stream_destroy(&E); |
0d1b8b6bec79746c5d89d57dd8c1688946bd9237 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on timeout_remove(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- timeout_remove(&E);
- }
+ timeout_remove(&E); |
5f1d689131a75c39f064cbd4202373e7edf78f18 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on io_remove{,_closed}(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- io_remove(&E);
- }
+ io_remove(&E);
@@
expression E;
@@
- if (E != NULL) {
- io_remove_closed(&E);
- }
+ io_remove_closed(&E); |
9e0f35dcc277e3f55da306519738e5ca3499a2b6 |
|
07-Sep-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Remove random_init/random_deinit calls
lib already initializes it. |
eb318ea05532d2e54ed3bfc89bc15dcf1adae838 |
|
22-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Replace mail_storage_service_user_free() with _unref() |
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. |
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 |
33a80622828063f5be6f743855d5273fabe8ae58 |
|
16-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use fd_close_maybe_stdio() |
0f5dc4da3982053036be65190e44bf28a67b1ca2 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: API change - var_expand*() now returns error string.
This allows callers to fail properly if the format string is invalid. |
c5924dd8f129d6d5ba77e33d25e83a3700deafb1 |
|
06-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Removed redundant corking in ostream flush callbacks. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
e93184a9055c2530366dfe617e07199603c399dd |
|
06-Jun-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: remove autoclose parameter from [io]_stream_create_fd
Use [io]_stream_create_fd_autoclose() for autoclose. |
3858a7a5da361c35f1e6e50c8e3214dc0cf379d6 |
|
16-May-2016 |
Phil Carmody <phil@dovecot.fi> |
lib: istream - migrate to i_stream_read_more()
Scripted to find all the low-hanging-fruit (single line calls), but hand-checked:
git grep i_stream_read_data.*,\ 0\) | sed s/:.*// | \
xargs sed -i -e 's/i_stream_read_data(\(.*\), \(.*\), \(.*\), 0)/i_stream_read_more(\1, \2, \3)/'
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
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> |
9008daea438f0e389b37aabbbde62a1f02725e32 |
|
01-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
imap-urlauth: Error message typofix.
Patch by Jelmer Vernooij |
2d72e8492960794037a1ca90df34f7ab2a170a81 |
|
13-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
imap-urlauth: Fatal failure error handling wasn't done correctly.
Found by Coverity |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
d6b3cfd855c0eebed68be50d3111de1b5a6afeb0 |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Call master_service_init_finish() only after all of the initialization is done.
This way if the init crashes, the master process will throttle a buggy
service. |
2d8ff6cda406da5c53e635fe31dfadc3bdb05235 |
|
02-May-2013 |
Timo Sirainen <tss@iki.fi> |
imap-urlauth-worker: Fixed a crash (by removing unnecessary code) |
01243115311a0da7c65bdce6d6e0b9632ff97186 |
|
19-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
Compiling fix for Sun compilers.
I wish gcc/clang warned about these as well, as sometimes they indicate bugs. |
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. |
0bb5699d56b7c9f897ee8e627ae4a8ba4fe0c21b |
|
28-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
Make static analyzer happier |
70375a50991814959d061db0e2d4da35e542e437 |
|
18-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Moved random_init() from lib-imap-urlauth to imap/imap-urlauth main().
This way if the processes are chrooted they are still able to open
/dev/urandom. |
4abdade2cb09266ea3d063d5cb6893cb0583f20e |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
imap-urlauth: Store urlauth keys to the new mailbox attributes. |
ca16588e70ca254565b67b06b70f8b7910d050e8 |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
imap urlauth: Don't autofill imap_urlauth_host. Use "*" value to mean "any host". |
ca4526e3b5fbf5ea3dd477a2098522a44c9ac52c |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
i_set_failure_prefix() now takes printf-like parameters.
This avoids using t_strdup_printf() with it, which was done very commonly. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
4fa772eefd5a22a597601488be44997e788cb60d |
|
16-Sep-2012 |
Stephan Bosch <stephan@rename-it.nl> |
imap-urlauth: Fixed crashes when destroying client |
ecc3dad2120f048a5c0344f9a0af546487f4d43c |
|
16-Sep-2012 |
Stephan Bosch <stephan@rename-it.nl> |
imap-urlauth: Treat internal errors in URL fetching differently from invalid URLs. |
6541da94741ea43514cdac3dd2ebbcf839ffb783 |
|
16-Sep-2012 |
Stephan Bosch <stephan@rename-it.nl> |
imap-urlauth: Fixes to handling anonymous user |
f9511e684858bf5f6ac77ab12254b85b737beae8 |
|
15-Sep-2012 |
Stephan Bosch <stephan@rename-it.nl> |
Added support for IMAP URLAUTH and URLAUTH=BINARY extensions
Extends imap service with URLAUTH and URLAUTH=BINARY support:
- Adds new commands URLFETCH, GENURLAUTH and RESETKEY.
Creates imap-urlauth service in src/imap-urlauth.
Functionality common to both the imap and imap-urlauth services is located
in src/lib-imap-urlauth.
TODO:
- use mailbox GUIDs instead of names
- doveadm command to delete stale urlauth entries?
- add delay when attempting to access nonexistent user
- create urlauth-worker queue, similar to how indexer-worker works
(could we share code?..) |