Permalink
Switch branches/tags
Commits on Mar 27, 2016
  1. Merge pull request #61 from nico202/patch-1

    Fix typo in FAQ
    committed Mar 27, 2016
Commits on Mar 17, 2016
  1. Fix typo in FAQ

    nico202 committed Mar 17, 2016
Commits on Jun 2, 2012
  1. Merge branch 'next'

    committed Jun 2, 2012
  2. Release v6.5.4

    See Changelog for details
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Jun 2, 2012
Commits on May 8, 2012
  1. Implement the "createfolders" setting for repositories

    By default OfflineImap propagates new folders in both
    directions. Sometimes this is not what you want. E.g. you might want
    new folders on your IMAP server to propagate to your local MailDir,
    but not the other way around. The 'readonly' setting on a repository
    will not help here, as it prevents any change from occuring on that
    repository. This is what the `createfolders` setting is for. By
    default it is `True`, meaning that new folders can be created on this
    repository. To prevent folders from ever being created on a
    repository, set this to `False`. If you set this to False on the
    REMOTE repository, you will not have to create the `Reverse
    nametrans`_ rules on the LOCAL repository.
    
    Also implement a test for this
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed May 8, 2012
  2. Implement .readonly property for repositories

    Set the value once on repository initialization to centralize the
    default value.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed May 8, 2012
Commits on Apr 21, 2012
  1. Do not try to release IMAP connection twice

    Reported by sharat87 in #38,
    he would often get an unhandled Exception when trying to
    releaseconnection() a connection that was not in the pool of
    connections.
    
    The reason this could happen is that when folder.IMAP.quickchanged()
    raises an Exception in select(), we would release the connection in the
    "except" handling, and than release the same connection in the "finally"
    clause, which led to the error. The right thing is to only release the
    connection once, of course.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 21, 2012
Commits on Apr 20, 2012
  1. Document that '%' needs encoding as '%%' in offlineimap.conf

    We use python's SafeConfigParser, and this is a built in "feature" used
    for interpolating variables. But it imples that '%' needs encoding as
    '%%'.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 20, 2012
Commits on Apr 19, 2012
  1. Fix SSL fingerprint was not always checked

    As reported by James Cook, we would not check the fingerprint of the SSL
    server, as we were looking for the 'ssl' module in locals() rather than
    globals(). Ooops!
    
    Rather than using globals() though, I simply remove the by-now
    superfluous check. We now rely on python2.6 and we unconditionally
    import the SSL module in any case, so it needs to be there.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 19, 2012
  2. docs: maxage/size skeleton

    Add skeleton for maxage/maxsize documentation. Also remove the old
    nametrans.rst from the old doc location.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 19, 2012
  3. Curses UI: Reset the warn method before terminate

    The warn() method tries to set the color to red. This leads to a garbled
    tty after endwin() has been called. So lets simply use the UIBase
    implementation.
    
    Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
    choeger committed with Feb 22, 2012
  4. tests: extend imapsplit test

    One more test of the internal imapsplit function.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 19, 2012
  5. imaplib2: bump upstream version 2.29 --> 2.33

    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 19, 2012
Commits on Apr 2, 2012
  1. Merge branch 'next'

    Conflicts:
    	Changelog.rst
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  2. bugfix release v6.5.3.1

    a single bugfix when no dry-run option was given in the config file.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  3. tests: Add tests for imaputil.* functions

    Add one test for each of the functions in offlineimap.imaputil, to make
    sure they keep working. These functions tests the internal innards of
    the offlineimap module rather than invoking offlineimap as a program.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  4. Don't fail if no dry-run setting has been specified

    Somehow we failed if no dry-run setting had been specified in the config
    file. This got caught thanks to extending the test suite with a stock
    configuration.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  5. Don't fail if no dry-run setting has been specified

    Somehow we failed if no dry-run setting had been specified in the config
    file. This got caught thanks to extending the test suite with a stock
    configuration.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  6. Merge branch 'next'

    Conflicts:
    	Changelog.draft.rst
    	docs/MANUAL.rst
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  7. v6.5.3 release

    see changelog
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
  8. Fix Curses interface for Python 2.6

    In 2.6 all logging classes are not the new-style ones, so they
    have no mro() method and, thus, we can't use super() for them.
    Since CursesLogHanler is singly-inherited method, there will
    be no problems in usage of the explicit superclass name.
    
    Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    konvpalto committed with Feb 19, 2012
  9. Warn about nonsensical config option 'sep' for IMAP repositories

    We autodetect the folder separator on IMAP servers and ignore any 'sep'
    setting in the repository section for IMAP servers. Detect if there is
    such a setting and warn the user about it.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Apr 2, 2012
Commits on Feb 27, 2012
  1. tests: Fix test #4

    1) Fix test #4 by deleting all local mailfolders remaining from previous
    tests, the mailfolder count will be off, otherwise.
    
    2) Make folder deletion work in python3, it weirdly enough needs to be
    quoted like this to work in python3 (I found a python bug about this
    somewhere).
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 27, 2012
Commits on Feb 24, 2012
  1. -f command line option only works on the untranslated remote names

    Previously folderfilters had to match both the local AND remote
    name which caused unwanted behavior in combination with nametrans
    rules. Make it operate on the untranslated remote names now and
    clarify in the command line option help text.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  2. documentation: Make top-level README a plain text file.

    It makes direct reading much simpler.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  3. docs: Integrate SubmittingPatches.rst into HACKING.rst

    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  4. Declutter root dir: COPYRIGHT --> COPYING

    No need to keep a COPYING (GPL v2 license) AND a file COPYRIGHT in
    the root. All files have the boilerplate anyway. Add the relevant
    part on top of the COPYING file and do away with COPYRIGHT.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  5. Delete UPGRADE.rst

    This is the upgrade instruction from before 4.0 and long obsolete.
    Delete it.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  6. docs: Fix docstrings to proper .rst syntax

    Prevents compile errors when creating the user documentation.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  7. Fix up Changelog .rst->.html compile errors

    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  8. Revamped documentation structure and some doc fixes

    `make` in the `docs` dir or `make doc` in the root dir will now
    create the 1) man page and 2) the user documentation using sphinx
    (requiring python-doctools, and sphinx).
    
    The resulting user docs are in `docs/html`. You can also
    only create the man pages with `make man` in the `docs` dir.
    
    Also fixed all .rst conversion errors as requested by Gentoo downstream.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  9. tests: Add "create email test"

    This is the first test that actually creates a (local) email and
    syncs. We check the result of the sync operation, to see if the
    server has actually been assigning a proper UID to the email and
    bail out if not.
    
    This test therefore excercises our ability to properly detect the
    new UID of an APPENDED email. Obviously we still need some
    IMAP<->IMAP tests too, but since this is the same codepath being
    used for APPENDs in that case, it could also help to detect
    instabilities there.
    
    In order to get this test in, the OLITestLib got a few new helper
    functions:
    - delete_maildir
    - create_mail
    - get_maildir_uids
    
    The test passes here. I invoke it via:
    
    python -m unittest test.tests.test_01_basic.TestBasicFunctions.test_04_createmail
    
    or run python setup.py test, to run the whole suite.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 24, 2012
  10. Revert "Clean up and improve APPENDUID handling"

    This reverts commit 4d47f7b.
    
    This is one of two candidates for introducing the instabilities that
    John Wiegley observed. We need to reintroduce with careful testing only.
    
    The original patch has been mostly reverted.
    committed Feb 24, 2012
  11. Revert "Don't CHECK imapserver after each APPEND"

    This reverts commit 47390e0.
    
    It is one of two potential candidates for the APPENDUID
    regression that John Wiegley reported. We need to examine this
    carefully before reintroducing this patch.
    
    Resolved Changelog.draft.rst conflict.
    committed Feb 24, 2012
Commits on Feb 17, 2012
  1. tests: make tests (nearly) work with python3

    Tests work now with python 3 with the exception of the deletion of remote
    testfolders which fails for some reasons.
    
    Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
    committed Feb 17, 2012