[dovecot/core] 319ebf: push-notification: Fix initializing push notificat...
GitHub
noreply at github.com
Wed Nov 14 14:30:15 EET 2018
Branch: refs/heads/master-2.3
Home: https://github.com/dovecot/core
Commit: 319ebf06ad4e53d256590889abc4602daa322b61
https://github.com/dovecot/core/commit/319ebf06ad4e53d256590889abc4602daa322b61
Author: Michael M Slusarz <michael.slusarz at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-plugin.c
Log Message:
-----------
push-notification: Fix initializing push notification mailbox triggers
None of the mailbox triggers were working, since the transaction was
not being correctly initialized.
Commit: 0812e54db0784fb2e1cdcd2b636abd9c8fe3bd0d
https://github.com/dovecot/core/commit/0812e54db0784fb2e1cdcd2b636abd9c8fe3bd0d
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-event-mailboxunsubscribe.c
Log Message:
-----------
push-notification: Fix mailbox unsubscribe event
Subscribe should be FALSE here.
Commit: 9184e0eadfc58bad49201a5157deec55f41523ef
https://github.com/dovecot/core/commit/9184e0eadfc58bad49201a5157deec55f41523ef
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/db-lua.c
M src/lib-lua/dlua-script-private.h
M src/lib-lua/dlua-script.c
Log Message:
-----------
lib-lua: Add lua_pushboolean helper to push real booleans
Makes boolean handling in dovecot code slightly easier
Commit: 92fbe5111c797e8eb60b44e9fb287099a0ab9400
https://github.com/dovecot/core/commit/92fbe5111c797e8eb60b44e9fb287099a0ab9400
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M configure.ac
M src/plugins/Makefile.am
A src/plugins/mail-lua/Makefile.am
A src/plugins/mail-lua/mail-lua-plugin.c
A src/plugins/mail-lua/mail-lua-plugin.h
A src/plugins/mail-lua/mail-storage-lua.c
A src/plugins/mail-lua/mail-storage-lua.h
Log Message:
-----------
mail-lua: Add Lua support plugin for mail storage
Commit: 2e787e1e3199bbf8af282665c198718bf185d0ca
https://github.com/dovecot/core/commit/2e787e1e3199bbf8af282665c198718bf185d0ca
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/Makefile.am
A src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification: Add lua driver
Commit: db64babda784070309c6a790c674c13892466342
https://github.com/dovecot/core/commit/db64babda784070309c6a790c674c13892466342
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/db-lua.c
Log Message:
-----------
auth: db-lua - Remove unnecessary pushnil usage
lua_pushstring is NULL-safe
Commit: e620274249a25c2d144d7fa3869f030e9eb0ca8d
https://github.com/dovecot/core/commit/e620274249a25c2d144d7fa3869f030e9eb0ca8d
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-lua-plugin.c
Log Message:
-----------
mail-lua: Implement mail_lua_plugin_get_script
It was forgotten in 950c7e06dbf7f1cd696653af95b8c0053a9e86da
Commit: ffeab397759edad27439471620d0ed5e004ee9a3
https://github.com/dovecot/core/commit/ffeab397759edad27439471620d0ed5e004ee9a3
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Use Lua references for context
Commit: f208ab22e35ebe9196ef242c2869ee5d49c635e8
https://github.com/dovecot/core/commit/f208ab22e35ebe9196ef242c2869ee5d49c635e8
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-lua-plugin.c
Log Message:
-----------
mail-lua: Deinit script after others
Some other plugin might need Lua for deinit
Commit: 37f5981c01bafa0066d09f669302d7ca7a7cdb1b
https://github.com/dovecot/core/commit/37f5981c01bafa0066d09f669302d7ca7a7cdb1b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Fix symbol names
Commit: d686d75ce7835117fe7ccb944e5ea885f42b9535
https://github.com/dovecot/core/commit/d686d75ce7835117fe7ccb944e5ea885f42b9535
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Reference mail user only if initialization is successful
Will cause assert-crash otherwise if initialization fails
Commit: 0603d14775505b8d76ca2da1bfb2071256005b09
https://github.com/dovecot/core/commit/0603d14775505b8d76ca2da1bfb2071256005b09
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-lua-plugin.c
Log Message:
-----------
mail-lua: Add deinit_pre function
Commit: 74b6336fe5ae7290f659bc3dac88c9dc037c29e4
https://github.com/dovecot/core/commit/74b6336fe5ae7290f659bc3dac88c9dc037c29e4
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Move event push earlier
Simplifies code
Commit: fb04cd2a62f6353514730efcf489b80e3facc1c5
https://github.com/dovecot/core/commit/fb04cd2a62f6353514730efcf489b80e3facc1c5
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Do not push user again
User is already pushed in tx begin, and can be stored there into the context.
Commit: c698ce9c21bf93ca9d2fc6cdba6ebbaaf1f36fec
https://github.com/dovecot/core/commit/c698ce9c21bf93ca9d2fc6cdba6ebbaaf1f36fec
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: tx begin pushed mail user not username
Commit: ecc1be7bb71a0a6de4c3adcd7b0e6cfcebac6ccf
https://github.com/dovecot/core/commit/ecc1be7bb71a0a6de4c3adcd7b0e6cfcebac6ccf
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-storage-lua.c
Log Message:
-----------
mail-lua: Fix gc code to push key first then value
Otherwise it uses nil as key, which makes no sense and leads to eventual crash.
Commit: 9dc83a0380c683bcade3d72d9894b8112a8c13ba
https://github.com/dovecot/core/commit/9dc83a0380c683bcade3d72d9894b8112a8c13ba
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Properly register all events
Commit: 6591240bf907e194514ac0ecb86a97daadd14663
https://github.com/dovecot/core/commit/6591240bf907e194514ac0ecb86a97daadd14663
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Always use DLUA_LOG_LABEL
Commit: 516ce469174e89057734516d7d923a12f6347c67
https://github.com/dovecot/core/commit/516ce469174e89057734516d7d923a12f6347c67
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-txn-msg.c
Log Message:
-----------
push-notification: Make sure txn messages are unique
save_count is not reliable as it's not incremented for events like
flag changes.
Commit: e06531816521cdda430bac36b7d8ca4ce09d12a5
https://github.com/dovecot/core/commit/e06531816521cdda430bac36b7d8ca4ce09d12a5
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-event-messageappend.c
M src/plugins/push-notification/push-notification-event-messageappend.h
Log Message:
-----------
push-notification-event-messageappend: Include date information parsed from headers
Consistency with MessageNew
Commit: 4bf330c1c86e5c0f1eb81d1bcbde5ff6eba71285
https://github.com/dovecot/core/commit/4bf330c1c86e5c0f1eb81d1bcbde5ff6eba71285
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Include date from MessageAppend
Commit: 0e5c2b0eb5191c794bc6748958d2b365f795cbd9
https://github.com/dovecot/core/commit/0e5c2b0eb5191c794bc6748958d2b365f795cbd9
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-txn-msg.c
M src/plugins/push-notification/push-notification-txn-msg.h
Log Message:
-----------
push-notification: Resolve confusion about msg->seq
It's not the same seq what the mail has, but a sequence that
is used to find out UID for saved mails. So rename it to
save_idx and treat it accordingly. Note that save_idx is 0
based, and mail sequence is 1 based.
Commit: 7f9fc27eb153bd0ac6afafbb92544864d206e0de
https://github.com/dovecot/core/commit/7f9fc27eb153bd0ac6afafbb92544864d206e0de
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-master/stats-client.c
M src/lib/lib-event-private.h
M src/lib/lib-event.c
Log Message:
-----------
lib: event - Rename tv_created as tv_created_ioloop
Commit: f71759d69323a2267fd3f39fd2087b78a5302b19
https://github.com/dovecot/core/commit/f71759d69323a2267fd3f39fd2087b78a5302b19
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib/lib-event.c
Log Message:
-----------
lib: event - Duplicate source_filename
Prevents crash on event leak when plugin that caused the leak
is unloaded.
Commit: db2855a40ea8fd42febcc1f1a580ab5953c33cb2
https://github.com/dovecot/core/commit/db2855a40ea8fd42febcc1f1a580ab5953c33cb2
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib/lib-event-private.h
M src/lib/lib-event.c
M src/lib/lib-event.h
Log Message:
-----------
lib: event - Record real duration
The old code only measured difference between successive
ioloop_time updates. The new code uses gettimeofday to
get current real time, making measurements accurate.
Commit: ca75a52a394128807c0b9b580195d6c71f21a37b
https://github.com/dovecot/core/commit/ca75a52a394128807c0b9b580195d6c71f21a37b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/stats/stats-metrics.c
Log Message:
-----------
stats: Use duration field from events
Commit: ba2c6ce98a38e78cb264cef9b06c7ad89acb2e8e
https://github.com/dovecot/core/commit/ba2c6ce98a38e78cb264cef9b06c7ad89acb2e8e
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib/lib-event.c
Log Message:
-----------
lib: event - Stop exporting ioloop time
It is not needed by stats process.
Commit: eaa928afb1e442af71ff04e842a3bd9848e0542b
https://github.com/dovecot/core/commit/eaa928afb1e442af71ff04e842a3bd9848e0542b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-master/test-event-stats.c
Log Message:
-----------
lib-master: Fix test-event-stats
New stats uses gettimeofday that generated unpredictable values
for this test.
Commit: 62f9070b579c0c32530263bb21e6fc756d209e85
https://github.com/dovecot/core/commit/62f9070b579c0c32530263bb21e6fc756d209e85
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/passdb-lua.c
M src/auth/test-lua.c
M src/auth/userdb-lua.c
M src/lib-lua/dlua-script-private.h
M src/lib-lua/dlua-script.c
M src/lib-lua/dlua-script.h
M src/lib-lua/test-lua.c
M src/plugins/mail-lua/mail-lua-plugin.c
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
lib-lua: Add events to scripts
Commit: 320e018f72b1d1f4c19ad955babfa2f97aca3514
https://github.com/dovecot/core/commit/320e018f72b1d1f4c19ad955babfa2f97aca3514
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
M src/lib-lua/dlua-script.h
Log Message:
-----------
lib-lua: Add event interface
Commit: f69a59490c3d5e79a9e2423cc1d5e52e73a32fb9
https://github.com/dovecot/core/commit/f69a59490c3d5e79a9e2423cc1d5e52e73a32fb9
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/test-lua.c
Log Message:
-----------
lib-lua: Add test for event framework
Commit: 26e4335f34525e1c1621b9e998f57bfb89b356a5
https://github.com/dovecot/core/commit/26e4335f34525e1c1621b9e998f57bfb89b356a5
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
M src/lib-lua/test-lua.c
Log Message:
-----------
lib-lua: Add flag manipulation functions
Commit: a413353decf6c68e99464f196920baeaf01df72f
https://github.com/dovecot/core/commit/a413353decf6c68e99464f196920baeaf01df72f
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
Log Message:
-----------
lib-lua: Check number of arguments
Commit: cfa7b7931e69acfdfab434fa500fc122d1be76a8
https://github.com/dovecot/core/commit/cfa7b7931e69acfdfab434fa500fc122d1be76a8
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-storage-lua.c
Log Message:
-----------
mail-lua: Change mailbox#status API to varargs
It's much easier to use this way
Commit: 521e75bf56761f4a8c7e56275a933bf20846b1ac
https://github.com/dovecot/core/commit/521e75bf56761f4a8c7e56275a933bf20846b1ac
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-storage-lua.c
Log Message:
-----------
mail-lua: Make flags optional for user#mailbox
Commit: 8157ddd5653adf11fed67d69087b53f3d8e5154c
https://github.com/dovecot/core/commit/8157ddd5653adf11fed67d69087b53f3d8e5154c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-storage-lua.c
Log Message:
-----------
mail-lua: Make flags optional for mailbox#sync
Commit: 1f50a25f2cca6cc2b3b4fdb213c6918cd87a545a
https://github.com/dovecot/core/commit/1f50a25f2cca6cc2b3b4fdb213c6918cd87a545a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-script-private.h
Log Message:
-----------
lib-lua: Add DLUA_REQUIRE_ARGS(s,x) and DLUA_REQUIRE_ARGS_IN(s,x,y)
First form requires that x arguments are provided for dlua script s.
Second form requires that at least x and at most y arguments are provided
for dlua script s
Automatically returns luaL_error.
Commit: 6f6a198ccbdc43fba0b1b990bb16662bf293e9ed
https://github.com/dovecot/core/commit/6f6a198ccbdc43fba0b1b990bb16662bf293e9ed
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-storage-lua.c
Log Message:
-----------
mail-lua: Check number of arguments
Commit: 5882adaf24bfe24b880d4c27161c9811f602389b
https://github.com/dovecot/core/commit/5882adaf24bfe24b880d4c27161c9811f602389b
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
Log Message:
-----------
lib-lua: Move __gc metamethod for event to userdata
Compability for lua 5.1
Commit: 611fefa13b640ef9ade42a3eed511c97f88e3924
https://github.com/dovecot/core/commit/611fefa13b640ef9ade42a3eed511c97f88e3924
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-plugin.c
M src/plugins/push-notification/push-notification-plugin.h
Log Message:
-----------
push-notification: Add event category
Commit: 9c8e4a803d51adfcf0820c458679cc8b1568a15a
https://github.com/dovecot/core/commit/9c8e4a803d51adfcf0820c458679cc8b1568a15a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-drivers.h
M src/plugins/push-notification/push-notification-plugin.c
Log Message:
-----------
push-notification: Add event to push notification transaction
Commit: 81e373908553a791110bc234e27c429689c0f32c
https://github.com/dovecot/core/commit/81e373908553a791110bc234e27c429689c0f32c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-plugin.c
Log Message:
-----------
push-notification: Emit event on transaction end
Commit: 711543f3b6afd96ef4c30081f01e4e24ecbefb43
https://github.com/dovecot/core/commit/711543f3b6afd96ef4c30081f01e4e24ecbefb43
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Add events
Commit: 91733d7cb7d4713cc383ced7e2b06f9667a61a2a
https://github.com/dovecot/core/commit/91733d7cb7d4713cc383ced7e2b06f9667a61a2a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-ox.c
Log Message:
-----------
push-notification-driver-ox: Convert to event based logging
Also fixes the logging to be standard
Commit: 61e5157f4df42770bc981cd62ea93b82c9afafee
https://github.com/dovecot/core/commit/61e5157f4df42770bc981cd62ea93b82c9afafee
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/push-notification/push-notification-driver-lua.c
Log Message:
-----------
push-notification-driver-lua: Perform garbage collection after transaction
Ensure Lua releases resources here.
Commit: cd3fbf184d87fc817ce41184308e88b09abb603c
https://github.com/dovecot/core/commit/cd3fbf184d87fc817ce41184308e88b09abb603c
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/plugins/mail-lua/mail-storage-lua.c
Log Message:
-----------
mail-lua: Fix argument number checking for mailbox#sync
Commit: 88f1bcd00baa341289bec1fd5a3b7e8e33262589
https://github.com/dovecot/core/commit/88f1bcd00baa341289bec1fd5a3b7e8e33262589
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
Log Message:
-----------
lib-lua: Make sure events get right file:line information
Commit: 346816e2142442f5bce0eff2d3d74b54a03aabcb
https://github.com/dovecot/core/commit/346816e2142442f5bce0eff2d3d74b54a03aabcb
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
Log Message:
-----------
lib-lua: Fix sizeof usage for struct event* storage
Found by coverity
Commit: 1b2997bf8ea00014ecd757f446e19bc0ba05dbea
https://github.com/dovecot/core/commit/1b2997bf8ea00014ecd757f446e19bc0ba05dbea
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib/test-event-log.c
Log Message:
-----------
lib: Add unit test for event duration
Make sure event duration is non-zero when used without
ioloop.
Commit: f56569b091f3b2f7fa0e8f08d17143f8e6659e8d
https://github.com/dovecot/core/commit/f56569b091f3b2f7fa0e8f08d17143f8e6659e8d
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/lib-lua/dlua-dovecot.c
Log Message:
-----------
lib-lua: Use source instead of short_src
short_src is a limited value, and also an byte array
instead of a pointer so it should not be returned.
Found by coverity.
Commit: d0f05791f0f5bc4b242ac7f68514cdfeb26e249e
https://github.com/dovecot/core/commit/d0f05791f0f5bc4b242ac7f68514cdfeb26e249e
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/passdb-lua.c
Log Message:
-----------
auth: Use default scheme in Lua passdb lookup
Fixes a null pointer crash.
Commit: ccf095d7d815273d23022729570351d26f2c8f5a
https://github.com/dovecot/core/commit/ccf095d7d815273d23022729570351d26f2c8f5a
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/passdb-lua.c
Log Message:
-----------
auth: Store password with auth_set_field in Lua passdb
Makes caching work for passwords
Commit: 024f084bfabf19acb9f0262d1efb3a6adcab5316
https://github.com/dovecot/core/commit/024f084bfabf19acb9f0262d1efb3a6adcab5316
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/db-lua.c
Log Message:
-----------
auth: db-lua - Use lua_type to detect type
Using lua_isnumber to detect numbers also considers
convertible strings as numbers.
Commit: 3ddb79f4a09e9f4b34449e94b760531eab87d8b4
https://github.com/dovecot/core/commit/3ddb79f4a09e9f4b34449e94b760531eab87d8b4
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/test-lua.c
Log Message:
-----------
auth: test-lua - Fix inconsistent whitespace
Commit: 9d8d0023a7754e2aa8e28d3d95553138ef1ded30
https://github.com/dovecot/core/commit/9d8d0023a7754e2aa8e28d3d95553138ef1ded30
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/test-lua.c
Log Message:
-----------
auth: test-lua - Fix unit test to handle errors
Commit: fbb65caff50043fe25502ec5e4e323401410688e
https://github.com/dovecot/core/commit/fbb65caff50043fe25502ec5e4e323401410688e
Author: Aki Tuomi <aki.tuomi at dovecot.fi>
Date: 2018-11-14 (Wed, 14 Nov 2018)
Changed paths:
M src/auth/test-lua.c
Log Message:
-----------
auth: test-lua - Add test to ensure that values are not converted to number by mistake
Compare: https://github.com/dovecot/core/compare/652fe8eba702...fbb65caff500
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the dovecot-cvs
mailing list