{"shas":[["dd82f213f006af54dbd83165a423e28cbefea2d5","98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de","accounts: fix broken warn statement\n\nUse two %s in the message for both string parameters.\n\nSigned-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Sebastian Spaeth"],["b3a383d1519a51d3002ca54c262870034f15dc48","98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de","accounts: handle OfflineImapError severity FOLDER\n\nThrow an OfflineImapError when SELECTing a folder is unsuccessful and\nbail out with a FOLDER serverity. In accounts.py catch all\nOfflineImapErrors and either just log the error and skip the folder or\nbubble it up if it's severe.\n\nSigned-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Sebastian Spaeth"],["89619838b0d393d138dcaecef57e488f06322519","98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de","Remove weird SigListener class\n\nThe SigListener class was used to queue folders that we need to sync and\nto receive \"resync\" and \"abort\" signals. It was undocumented and weird\nand we had to pass \"siglisteners\" through the whole program.\n\nSimply do away with it, and make 2 functions in the Account() class:\nset_abort_event and get_abort_event which can be used to set and check\nfor such signals. This way we do not need to pass siglisteners all over\nthe place. Tested Blinkenlights and TTYUI uis to make sure that SIGUSR1\nand SIGUSR2 actually still work.\n\nDocument those signals in MANUAL.rst. They were completly undocumented.\n\nThis simplifies the code and interdependencies by passing less stuff\naround. Removes an undocumented and weirdly named class.\n\nSigned-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Sebastian Spaeth"],["cff792d38120a0212e58f307cb61f215f86172ff","98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de","LocalStatusSQLite: Fix bug when deleting messages\n\nThe syntax was not right, and deleting messages from the LocalStatus\nfailed. (We passed in the full list of uids and we need to pass in one\nuid at a time (as a tuple). Deleting messages works now.\n\nSigned-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Sebastian Spaeth"],["40900dcfb613ae0781ba2957042760129d83306c","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","Merge branch 'ss/remove-siglistener-class' into next\n\nConflicts:\n\tofflineimap/accounts.py","Nicolas Sebrecht"],["e7439b5d774e62a9477f67ad3d3bc2bb3c3a5657","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","doc: introduce a new HACKING file\n\nThis aims to help newcomers to be very fast to involve into the project.\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["9a9379f8f33dab376aafb6fdc9f3b0f8b04227f8","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","add documentation about Git\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["8465c832c397a39acead54b0a234047d38f2fdd5","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","FAQ: insert entry to explain how to test OfflineIMAP\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["632f1fe61f9e7700ac46a5a077d94fe652be2a09","21b4c3897be521dbcee8ea1c7dade568f2930956@daniel.shahaf.name","FAQ: add two entries concerning 'sslcacertfile'\n\nAdd a FAQ entry about non-verifying SSL certificates by default,\nand another about how to generate a certificates file to feed to\nthe 'sslcacertfile' repository configuration item.\n\nSigned-off-by: Daniel Shahaf <d.s@daniel.shahaf.name>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Daniel Shahaf"],["bdeaebbb7db6f51fbf86a15cfdefd0fcd85efc7a","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","Merge branch 'ns/working-with-git' into next","Nicolas Sebrecht"],["146b2abb6be4fbf05308a006302b5a9d5bdee8a9","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","Merge branch 'ns/testing-offlineimap' into next","Nicolas Sebrecht"],["c70a6217095ffd37f7ff928cf5cf59adeb1c43db","98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de","Limit msg body length in debug output\n\nWe were outputting full message bodies to the debug log (often stderr),\nand then again (as they go over the imaplib2 wire, imaplib logs\neverything too). Not only is quite a privacy issue when sending in debug\nlogs but it can also freeze a console for quite some time. Plus it\nbloats debug logs A LOT.\n\nOnly output the first and last 100 bytes of each message body to the\ndebug log (we still get the full body from imaplib2 logging). This\nlimits privacy issues when handing the log to someone else, but usually\nstill contains all the interesting bits that we want to see in a log.\n\nSigned-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Sebastian Spaeth"],["b25a72f8c8b216d788225d3bf1796f5f1f6c1e7d","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","cleanup: remove uneeded imports\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["a39128516b803f31965bbfad00646bff2a53fc62","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","explicitly define symbols to import instead of 'import *'\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["8a34edc8ca7657a4f88c5a2c624154ec750610f1","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","cleanup import satements\n\n- conform to PEP8\n- explicitly define symbols instead of 'import *'\n- remove unused import\n\nReviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["d5493fe8942069520d0337975fc7dae9efda3b60","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","threadutil: explicitly import get_ident from thread\n\nThe python module thread is the low-level module we should avoid to use in favor\nof threading. We still need it to support old python because Thread.ident\ndoesn't exist before python 2.6:\n\n\thttp://docs.python.org/library/threading.html#threading.Thread.ident\n\nMake it clear we should avoid it.\n\nReviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["136237b7dc99d7470a714fdbe146bcce93d36a2a","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","refactoring: simplify the semaphorewait logic\n\nThe semaphorewait()/waitforthread() logic is usefull for IMAP starting\nconnections. We actually use it in imapserver only.\n\nThis patch removes the over-engineered factorized methods. It tend to simplify\nthe code by cleaning out a chain of two direct calls with no other processes.\n\nReviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["21875852eb2f7978d2ce24d8a93db995060caf49","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","cleanup: remove unused initextnotify() function and inited variable\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["694e5772da70a6530e23d45414cfae95fc625545","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","threadutil: remove broken os.exit()\n\nWe are missing the import of 'os' python module since commit d839be3c61888a837b\n(Sat Apr 16 20:33:35 2005 +0100) which was when John switched from SVN to Git.\n\nHappily, it help us today: we still had no feedback for this missing import,\n6 years later.  So, we can remove the os.exit() call safely.\n\nThat beeing said, we still don't know if the above sys.exit() was ever touched.\nMy guess is that it never was. Keep this (hopefully) commented statement to\nensure the thread terminate and not play too much with the Murphy's law. :-)\n\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"],["41c21f5a9f99a916b5a5c01b964e23632676d22b","347709267ddd1958560c4c317ea3fd613f10a719@laposte.net","fix: allow debugtype 'thread' from command line\n\ncommit f7e9d95 [Imply single-threaded mode with -d(ebug) command line option]\nwas broken. It pretends to imply singlethreading each time _unless_ user\nexplicitly asks for the debug 'thread' option.\n\nChange the \"force singlethreading\" check from\n\n  (force single threading if last column is true)\n\n+------------------------------------------+----------------+\n|                                          |                |\n+---------------------------------+        |                |\n|((SINGLETHREADING   THREAD_MODE) | \"AND\") | \"NOT\"          |\n+------------------+--------------+--------+----------------+\n| True             |  True        |  True  |  False (wrong) |\n+------------------+--------------+--------+----------------+\n| True             |  False       |  False |  True          |\n+------------------+--------------+--------+----------------+\n| False            |  True        |  False |  True (wrong)  |\n+------------------+--------------+--------+----------------+\n| False            |  False       |  False |  True          |\n+------------------------------------------+----------------+\n\nTo the correct one\n\n+--------------------------------------------------+-------+\n|                                                  |       |\n+-----------------------------------------+        |       |\n|((\"NOT\" SINGLETHREADING    THREAD_MODE)  | \"AND\") | \"NOT\" |\n+-------------------------+---------------+--------+-------+\n| False                   | True          | False  | True  |\n+-------------------------+---------------+--------+-------+\n| False                   | False         | False  | True  |\n+-------------------------+---------------+--------+-------+\n| True                    | True          | True   | False |\n+-------------------------+---------------+--------+-------+\n| True                    | False         | False  | True  |\n+-------------------------+---------------+----------------+\n\nSigned-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\nSigned-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>","Nicolas Sebrecht"]],"ref":"refs/heads/next","size":34,"head":"522974ec58b20517977edd51b667f2146dd6b947","push_id":33307512}