This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Paul's DBMail tree".
The branch, master has been updated
via 202a0346a91131f51155c465519a923efdc612a6 (commit)
via e53f649f7d07331edae894d0bf7eba273441e686 (commit)
via 55618ad6838ec2f3875097b335f78dcb4b577888 (commit)
via 8bf9001bbed470124947e3b4ebad078f8197ca1e (commit)
via 1437ac04b6c6cd1d66f26a32ce178dd04c3c126f (commit)
via 0adcdb54b7a0cbe262cc26d1d64a50841cc8c402 (commit)
via 3a0ca56651503e4a04430b136316ade82316cec4 (commit)
via 4e7f556b9428d8386d3329d6866a2f86bb023329 (commit)
via b6e048b9f9f47d0d45f82575261a2257d14c35eb (commit)
from 0f83a52791c3e4fe0ba8351b3e8798747d293dce (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 202a0346a91131f51155c465519a923efdc612a6
Author: Paul J Stevens <[email protected]>
Date: Thu Jul 25 15:57:32 2013 +0200
improve test
commit e53f649f7d07331edae894d0bf7eba273441e686
Author: Paul J Stevens <[email protected]>
Date: Thu Jul 25 15:56:54 2013 +0200
post-merge: disable failing test
commit 55618ad6838ec2f3875097b335f78dcb4b577888
Author: Paul J Stevens <[email protected]>
Date: Thu Jul 25 15:56:20 2013 +0200
post-merge: fix incorrect pointer usage
commit 8bf9001bbed470124947e3b4ebad078f8197ca1e
Author: Paul J Stevens <[email protected]>
Date: Thu Jul 25 15:55:53 2013 +0200
post-merge: fix uninitialized vars
commit 1437ac04b6c6cd1d66f26a32ce178dd04c3c126f
Author: Paul J Stevens <[email protected]>
Date: Thu Jul 25 15:08:28 2013 +0200
post-merge cleanup
just some PEP8 cleanups
commit 0adcdb54b7a0cbe262cc26d1d64a50841cc8c402
Author: Fábián Gergely <[email protected]>
Date: Tue Sep 25 16:32:51 2012 +0200
Imap: Folder in Cyrillic doesn't show \Haschildren flag (#987)
This was a string-processing error in dm_db.c/mailbox_match_new().
mailbox_match_new() is called at least from two places with a folder name
pattern
that contains '%' (this is for matching subfolders).
In the old version it was not excluding '%' from replacing it (in specific
cases)
with '_' ('&BBoEOARXBDI-/%' => '&BBoEOARXBDI___').
The '%' sign was replaced with '_' in the 'sensitive' part, and that is
included in the SQL just when there is a utf7-imap-encoded part in the
name.
That's why the bug was reproducible just for names including parts in
utf7-imap encoding.
This way there wasn't any match when counting subfolders of eg. Cyrillic
folders.
Also a smaller fix was applied to properly change from verbatim to
non-verbatim state.
The '-' sign - closing modified BASE64 data - is still part of that data.
Tests extended.
commit 3a0ca56651503e4a04430b136316ade82316cec4
Author: Fábián Gergely <[email protected]>
Date: Tue Jul 31 17:01:40 2012 +0200
IMAP: fix hierarchy elements masking out real folders in list response
(#978)
The \Noselect flag was appearing unexpectedly in specific cases in list
command responses.
This was reproducible for '%' wildcard search.
It was caused by the hierarchy elements found earlier and masking out real
folders.
If subfolders appear first in mailboxes_by_regex()'s response, then the
partial hierarchy name is found before the real folder.
All partial hierarchy elements receive \Noselect flag, so showing the
name from the partial match will include this.
We could change the ordering of returned folders in mailboxes_by_regex(),
but that would be only a workaround.
The real folders should have a higher priority than the hierarchy elements.
Store the found real folders and hierarchy elements into two separate trees
before writing them out.
Insert folders from the lower priority tree (the hierarchy elements) to the
higher priority one, except those that are already there.
This way they won't mask real folders out.
Iterate the higher priority tree, and output folders to the socket.
It was necessary to insert new functions for the two iterations.
Several parts of the code have been refactored.
A new MailBox state info pointer needs to be reserved and stored into these
trees.
Freeing can happen at different points.
Tests extended.
Conflicts:
src/dm_mailboxstate.c
src/imapcommands.c
Signed-off-by: Paul J Stevens <[email protected]>
commit 4e7f556b9428d8386d3329d6866a2f86bb023329
Author: Fábián Gergely <[email protected]>
Date: Tue Oct 2 14:11:14 2012 +0200
COPYUID feature (Feature #3789)
http://tools.ietf.org/html/rfc4315
-----
[Page 2-3:]
The following response codes are extensions to the response codes
defined in [IMAP] section 7.1.
COPYUID
Followed by the UIDVALIDITY of the destination mailbox, a UID set
containing the UIDs of the message(s) in the source mailbox that
were copied to the destination mailbox and containing the UIDs
assigned to the copied message(s) in the destination mailbox,
indicates that the message(s) have been copied to the destination
mailbox with the stated UID(s).
The source UID set is in the order the message(s) were copied; the
destination UID set corresponds to the source UID set and is in
the same order.
-----
ImapSession struct extended with new_ids list.
_do_copy() saves new_ids into this list.
_ic_copy_enter():
retrieves old and new uids.
Converts them to string.
Creates and fills response code buffer.
Calls SESSION_OK_WITH_RESP_CODE with the buffer's contents.
Test changes:
ActiveSupport is included.
Testcase for copy (regressions, answer format and data validity).
(ported and extended based on commit
e374300699d18240986fd25ad701bbb4f74afb73)
Conflicts:
src/imapcommands.c
Signed-off-by: Paul J Stevens <[email protected]>
commit b6e048b9f9f47d0d45f82575261a2257d14c35eb
Author: Fábián Gergely <[email protected]>
Date: Tue Oct 2 15:32:20 2012 +0200
APPENDUID feature
http://tools.ietf.org/html/rfc4315
-----
[Page 2:]
The following response codes are extensions to the response codes
defined in [IMAP] section 7.1.
APPENDUID
Followed by the UIDVALIDITY of the destination mailbox and the UID
assigned to the appended message in the destination mailbox,
indicates that the message has been appended to the destination
mailbox with that UID.
-----
The SESSION_OK macro has been refactored to SESSION_OK_COMMON.
This is to notice if upstream changes the macro (resolving conflicts is
better than duplicating code).
The refactored macro enables response codes.
SESSION_OK calls SESSION_OK_COMMON, so that it will behave the same as
previously.
SESSION_OK_WITH_RESP_CODE may be used to send OK response with response
code.
_ic_append_enter() has been changed:
Creates a GString buffer.
Copies the APPENDUID response code's contents to it with g_string_printf().
Calls SESSION_OK_WITH_RESP_CODE with the buffer's contents.
Test changes:
MyIMAP extends Net::IMAP.
Greeting test is now improved.
Testcase for append (regressions, answer format and data validity).
(ported and extended based on commit
34206bbc83e0a3b0213b698d35f81df090778b4b)
Conflicts:
test-scripts/testimap.py
Signed-off-by: Paul J Stevens <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
src/dbmail-imapsession.h | 1 +
src/dm_db.c | 29 ++++-
src/imapcommands.c | 213 +++++++++++++++++++++++++-----
test-scripts/testextensions.rb | 252 +++++++++++++++++++++++++++++++++++
test-scripts/testimap.py | 284 +++++++++++++++++++++++++++++++++++++---
test/check_dbmail_db.c | 8 +-
test/check_dbmail_deliver.c | 10 ++-
7 files changed, 731 insertions(+), 66 deletions(-)
create mode 100644 test-scripts/testextensions.rb
hooks/post-receive
--
Paul's DBMail tree
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev