summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tests/commands/globals: Simplify signing testsPatrick Totzke2019-05-11
|
* commands/globals: split gpg signing code into a helperDylan Baker2019-05-11
|
* tests/commands/globals: Simplify template_decode testPatrick Totzke2019-05-11
|
* commands/globals: split envelope setting codePatrick Totzke2019-05-11
|
* commands/globals split out the signature setting codeDylan Baker2019-05-11
|
* commands/globals: split the code for setting ...Patrick Totzke2019-05-11
| | | | account and From header
* commands/globals: split out the code for loading a templateDylan Baker2019-05-11
|
* commands/globals: wrap apply in an error handlerDylan Baker2019-05-11
| | | | | | | | As we split the apply method up into separate methods we need a way for those helpers to stop execution of the method. This wraps the real apply method inside of a try/except block with a custom exception. Any helper that is intended to run in the apply method simply needs to raise this exception, and apply will return.
* update newsPatrick Totzke2019-05-11
|
* expose subject and to headers to forward_prefix hookNick Hu2019-05-11
|
* fix double-line issuePatrick Totzke2019-03-04
| | | | | | | | | Tagstrings with double-width characters resulted in not enough horizontal space being allocated, which lead urwid to draw the statusline in two lines instead of one (see #742). This lets urwid calculate the necessary width itself, using its pack() method.
* adding new config options to the docsAndrés Martano2019-03-04
|
* Config to display in thread buffer status bar all tags present in a thread, ↵Andres MRM2019-03-04
| | | | or tags common to all messages in thread
* bump yearPatrick Totzke2019-02-14
|
* bump version stringPatrick Totzke2019-02-14
|
* restore lenient libmagic decodingMichael J Gruber2019-02-07
| | | | | | | | 176cffcd ("refactor alot.db.utils.remove_cte", 2018-12-04) created a few problems with 8bit quoted-printable e-mails, see #1291 #1360. This commit restores the old libmagic fallback which did not cause this problem.
* addressbook: add logging statementsMatthieu Coudron2019-02-06
| | | | to help troubleshoot problems
* Merge pull request #1358 from lucc/rename-testsLucas Hoffmann2019-01-29
|\ | | | | Rename test files
| * Rename test filesLucas Hoffmann2019-01-29
|/ | | | | | | | The two main reasons are - to run `python3 -m unittest discover` without specifying a custom `--pattern *_test.py` - to include the test files automatically when generating the MANIFEST file.
* db/message: accept attachments of type pgp-encryptedRuben Pollan2019-01-21
| | | | | | | | | | | | | | | | | In case of a '.gpg' file being attached to a non-encrypted email some email clients (like thunderbird) will mark this attachment as content type 'application/pgp-encrypted'. Alot used to discard that mime part because the same content type is being used in PGP/MIME to signal de version: https://tools.ietf.org/html/rfc3156#section-6.1 Now alot differenciates two cases: * Normal PGP/MIME encrypted messages, where we need to discard the 'application/pgp-encrypted' mime part. Detected because this part is followed by a 'application/octet-stream' mime part. * A mime part with aplication/pgp-encrypted as content type, that is displayed as attachment.
* Merge pull request #1362 from bmccary/masterLucas Hoffmann2019-01-21
|\ | | | | ~ expansion for .config/alot/config
| * ~ expansion for .config/alot/configbrady2019-01-06
|/ | | | | | | | pep8! Better variable names, new feature into docs. Make sphinx documentation.
* Add test case for new encoding problemsLucas Hoffmann2018-12-24
|
* update tagstring tests for regex behaviorWill Dietz2018-12-22
| | | | | | * Fix (invert) existing test * Add new tests based on behavior mentioned previously * test to ensure translations using re.sub work
* restore support for regex in section namesWill Dietz2018-12-22
|
* tests: Require python3 in test_env_setJordan Justen2018-12-19
| | | | | Fixes: https://github.com/pazz/alot/issues/1354 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
* Set local variable before useageLucas Hoffmann2018-12-14
| | | | Fixes #1351.
* bump version stringPatrick Totzke2018-12-10
|
* update newsPatrick Totzke2018-12-10
|
* rename get_account_by_address to account_matching_addressvrs2018-12-10
| | | | | ... since accounts' addresses can overlap and get_account_by_address promises too much. Also remove now-obsolete get_addresses.
* match addresses against accounts, not address listsvrs2018-12-10
| | | | fixes #1230, fixes an unfiled bug in clear_my_address()
* attach accounts to envelopesvrs2018-12-10
| | | | simplifies a few tests, fixes #1177
* refactor test_issue_1291Patrick Totzke2018-12-07
| | | | | | this is now test_char_vs_cte_mismatch; It checks if a mime part contains a character which is not encoded in the encoding declared in the Content-Transfer-Encoding header
* add test test_unknown_cte_valuePatrick Totzke2018-12-07
| | | | | that tests if a message with unknown content-transfer-encoding header, but otherwise correct ascii encoded payload, is warned about.
* tests: update test_malformed_cte_valuePatrick Totzke2018-12-07
| | | | | It now tests if malformed Content-Transfer-Encoding values are reported in the logs
* refactor alot.db.utils.remove_ctePatrick Totzke2018-12-07
| | | | | | | This makes remove_cte more accepting of incorrect Content-Transfer-Encoding header values: instead of looking for exact matches of valid values, it now tests if a valid value appears as substring.
* Travis: Fix notice configDaniel M. Capella2018-12-03
|
* pep8 fixesPatrick Totzke2018-12-03
|
* Add test for #1301Lucas Hoffmann2018-12-03
| | | | | | This adds a test for detecting a malformed content-transfer-encoding (trailing semi-colon). It also changes the raised exception to the more appropriate ValueError.
* Add simple test to demonstrate #1291Lucas Hoffmann2018-12-03
| | | | This does just call the final bit of code that throws the exception.
* Add two messages to the test mail corpusLucas Hoffmann2018-12-03
| | | | | The test corpus holds mails that are used to test different problems with parsing or displaying mail.
* Travis: "use notices instead of regular messages"Daniel M. Capella2018-12-02
| | | | | > It's suggested by the standard to use for automated messages > And it easily avoids cycles if every bot uses notices > i.e. only listens to privmsgs and only emits notices
* Screenshots are now in the wiki repo. Closes #1333Daniel M. Capella2018-11-28
|
* fix: ui.notify is no coroutinePatrick Totzke2018-11-21
| | | | this fixes #1336
* make bounce command use the correct sender accountMichael J Gruber2018-11-15
| | | | | | | | | | | | | | | Bounce correctly determines the address and account to send the bounce from. It uses the account to choose an address book for "to:" completion and passes the sender address as "Resent-From:" to SendCommand(). The latter uses the "From:" header, though, to determine the sending account again and (in the case of a bounce) wrongly. Make SendCommand() use "Resent-From:" if present and "From:" else. Code remark: specifying "False" as the default return value for get() ist not necessary; it is meant to make this short form clearer to read, and to safeguard for times when '' or None do not evaluate to False here.
* docs: mention pipeto in FAQPatrick Totzke2018-11-11
|
* Assert some logging messages to silence themLucas Hoffmann2018-11-11
| | | | | The logging messages appear in between the test output. By asserting them they are hidden from the output.
* Fix deprecation warnings for unittestsLucas Hoffmann2018-11-11
|
* docs: reformat faqPatrick Totzke2018-11-11
| | | | the html one is now on top
* docs: update installationPatrick Totzke2018-11-11
|