Permalink
Switch branches/tags
Commits on Oct 29, 2017
  1. v7.1.4

    nicolas33 committed Oct 29, 2017
    Tested-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Oct 28, 2017
  1. utf8foldernames: fix missing decode argument

    nicolas33 committed Oct 26, 2017
    Github-ref: OfflineIMAP#502
    Tested-by: https://github.com/pprw
    Reviewed-by: Ilias Tsitsimpis <i.tsitsimpis@gmail.com>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. utf8foldernames: support --delete-folder with UTF-8 folder name

    nicolas33 committed Oct 28, 2017
    Github-ref: OfflineIMAP#505
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Oct 27, 2017
  1. Fix: if any tunnel (preauth_tunnel or transport_tunnel) the hostname …

    drscream committed with nicolas33 Oct 27, 2017
    …should not be required
    
    It's required to modify my change 1ce596d
    because a hostname shouldn't be needed if any tunnel is used. Both tunnels
    provide a regular IMAP interface which is used by offlineimap.
    
    Github-ref: OfflineIMAP#503
    Reported-by: Ilias Tsitsimpis <i.tsitsimpis@gmail.com>
    Signed-off-by: Thomas Merkel <tm@core.io>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Oct 8, 2017
  1. contrib/release.py: email: don't write '<>' for message-id twice

    nicolas33 committed Oct 8, 2017
    Minor code refactoring.
    
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. contrib/release.py: website: add all changes to the commit

    nicolas33 committed Oct 8, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  3. contrib/release/py: fix the 'v' character in commit message

    nicolas33 committed Oct 8, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  4. v7.1.3

    nicolas33 committed Oct 8, 2017
    Tested-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
    Tested-by: Remi Locherer <remi.locherer@relo.ch>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Oct 2, 2017
  1. upcoming.py: get header template from external file

    nicolas33 committed Oct 2, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. upcoming.py: display a message with the filename once written

    nicolas33 committed Oct 2, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  3. provide non-zero exit code & display configuration mismatch error at …

    nicolas33 committed Oct 2, 2017
    …the end of the run
    
    This behaviour is what users would expected most. The error message is about
    utf8foldernames and decodefoldernames.
    
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  4. utf8: document new feature, deprecate old one

    uliska committed with nicolas33 Oct 1, 2017
    - Document the new utf8foldernames config option
    - Deprecate the old decodefoldernames option
      Update its documentation, discussing the limitations.
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  5. utf8: Safeguard against use of old *and* new option

    uliska committed with nicolas33 Sep 28, 2017
    The new 'utf8foldernames' will not work together with the existing
    'decodefoldernames' option (which will be documented in the next
    commit). Therefore this commit will check for this condition and
    abort the synchronization of a misconfigured account before doing
    any changes.
    Other accounts are not affected.
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  6. Remove some unnecessary whitespace (in existing code)

    uliska committed with nicolas33 Oct 1, 2017
    Addresses OfflineIMAP#498 (comment)
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  7. utf8: implement utf8foldernames option

    uliska committed with nicolas33 Oct 1, 2017
    If utf8foldernames is enabled on account level all folder names read
    from the IMAP server will immediately be reencoded to UTF-8. Names
    will be treated as UTF-8 as long as the IMAP server isn't contacted again,
    for which they are reencoded to IMAP4-UTF-7.
    
    This means that any further processing such as nametrans, folderfilter
    etc. will act upon the UTF-8 names, which will have to be documented
    carefully.
    
    NOTE 1:
    GMail repositories and folders inherit from the IMAP... classes, so I don't
    know yet if these changes have ugly side-effects. But web research suggests
    that GMail IMAP folders are equally encoded in UTF-7 so that should work
    identically here and incorporate the same improvements.
    
    NOTE 2:
    I could not test the behaviour with idlefolders as I didn't get this option
    to work at all, not even with the latest stable version.
    
    NOTE 3:
    I *did* test to sync an IMAP repository against another IMAP repository.
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  8. utf8: avoid dequoting IMAP folder names twice

    uliska committed with nicolas33 Sep 26, 2017
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  9. utf8 (aside): Move code for decodefoldernames

    uliska committed with nicolas33 Sep 26, 2017
    While intending *not* to change the behaviour of the existing
    decodefoldernames option this commit transparently improves
    the coding.
    So far this worked by overriding the folder's getvisiblename() method
    which reads self.visiblename from and applies the conversion on
    *every* invocation of getvisiblename().
    This commit does the calculation once in the IMAPFolder's __init__.
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  10. utf8: Add utf-7/8 conversion functions

    uliska committed with nicolas33 Sep 26, 2017
    This commit adds two functions
    - imaputil.IMAP_utf8()
    - imaputil.utf8_IMAP()
    as an interface to the new imap4_utf_7 codec.
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  11. utf8: Add imap4_utf_7 codec

    uliska committed with nicolas33 Oct 1, 2017
    Add code to reencode IMAP folder names to regular utf-8.
    This starts an implementation that will add a new config option
    `utf8foldernames` on account level which will fix #299 and on the
    long run replace the current `decodefoldernames` option.
    
    This commit introduces code to register an `imap4_utf_7` codec
    on which two-way conversion methods will later be built.
    
    Original code by
    (https://www.blogger.com/profile/16648963337079496096),
    taken from
    http://piao-tech.blogspot.no/2010/03/get-offlineimap-working-with-non-ascii.html
    
    In the comment
    http://piao-tech.blogspot.com/2010/03/get-offlineimap-working-with-non-ascii.html?showComment=1316041409339#c669880170006851138
    indicates that this code is expected to be incorporated into offlineIMAP and therefore the author implicitly agrees to put it under this license.
    
    Signed-off-by: Urs Liska <git@ursliska.de>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  12. accounts: error out when no folder to sync

    nicolas33 committed Oct 2, 2017
    Such error can be hit when the folderfilter is wrong and excludes all the
    folders.
    
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Sep 21, 2017
  1. remotehost should not be required if transporttunnel is used

    drscream committed with nicolas33 Sep 20, 2017
    If the config option `transporttunnel` is used the option `remotehost` is not
    needed, because the tunnel provide the IMAP connection.
    
    Signed-off-by: Thomas Merkel <tm@core.io>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Sep 3, 2017
  1. man: remove mention of experimental support for python 3

    nicolas33 committed Sep 3, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. man: mention the supported directions of the syncs

    nicolas33 committed Sep 3, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Aug 14, 2017
  1. folder: Gmail: fix copyright header

    nicolas33 committed Aug 14, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. folder: Gmail: remove dead code

    nicolas33 committed Aug 14, 2017
    The support for the realdelete configuration option was removed because this
    could lead to data loss.
    
    See 51728ed to know more.
    
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Jul 25, 2017
  1. sqlite: provide better message error for insert

    nicolas33 committed Jul 25, 2017
    Github-ref: OfflineIMAP#488
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Jul 12, 2017
  1. contrib/helpers: sort testers by name

    nicolas33 committed Jul 12, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. MAINTAINERS: Rainer is not currently active

    nicolas33 committed Jul 12, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Jul 10, 2017
  1. v7.1.2

    nicolas33 committed Jul 10, 2017
    Tested-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
    Tested-by: benutzer193 <registerbn@gmail.com>
    Tested-by: Remi Locherer <remi.locherer@relo.ch>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. contrib/release.py: consider positive feedbacks from testers

    nicolas33 committed Jul 9, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Jul 9, 2017
  1. introduce the github CODEOWNERS file

    nicolas33 committed Jul 9, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
  2. increase imaplib2 requirement from v2.55 to v2.57

    nicolas33 committed Jul 9, 2017
    Suggested-by: Chris Coleman <christocoleman@yahoo.com>
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Jul 5, 2017
  1. contrib/tested-by.py: remove dead code

    nicolas33 committed Jul 5, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Commits on Jun 30, 2017
  1. imapserver: fix syntax error

    nicolas33 committed Jun 30, 2017
    Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>