summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* missing set cast in Thread.remove_tagsPatrick Totzke2012-02-16
| | | | | | Threads use a set of tagstrings internally. This fixes a missing construction of a set obj for a given list. issue #323
* Merge pull request #324 from sochotnicky/testingPatrick Totzke2012-02-14
|\ | | | | Decode attachment filenames as well
| * Decode attachment filenames as wellStanislav Ochotnicky2012-02-14
|/ | | | | Attachment filenames can be quoted-printable as well just like headers. Decode them before further work
* fix sphinx build sys.pathPatrick Totzke2012-02-11
| | | | after moving the source directory of the docs one level up
* fix synopsis.rst in manpagePatrick Totzke2012-02-11
|
* use version string from local modulePatrick Totzke2012-02-11
|
* joined and cleaned up user/api docsPatrick Totzke2012-02-11
|
* remove unused reference to dbman in AccountsPatrick Totzke2012-02-09
| | | | | | This has been introduced previously to enable Account.store_mail to index newly created message files. This functionality has been moved to SendCommand and SaveCommand that use FlushCommand to write out to the index (that deals with DatabaseErrors correctly).
* rewrite thread.RemoveCommandPatrick Totzke2012-02-08
| | | | call flush and use "afterwards" callback for notification
* flush after adding mails in Draft/SendCommandPatrick Totzke2012-02-08
|
* don't flush write-queue from the accountsPatrick Totzke2012-02-08
| | | | | | | this is done using FlushCommand from the individual accounts: FlushCommand will ensure that upon a locked index, the changes will be caried out later. moreover, this deals with Exceptions, the account doesn't.
* Merge branch 'flush-rewrite-296' into testingPatrick Totzke2012-02-08
|\
| * handle all Xapian/Notmuch Errors in flushPatrick Totzke2012-02-08
| | | | | | | | | | | | This wraps the transaction code for a single write-queue item into a try/except and re-inserts the current queue entry to the write-queue upon errors.
| * DBManager.flush read sync_flags once from configPatrick Totzke2012-02-08
| | | | | | | | | | | | | | instead of doing in every add_message, add/remove_tags function call, read the notmuchrc config once for the 'synchronize_flags' setting in the flush method, right before it's used
| * DBManager.flush rewritePatrick Totzke2012-02-08
| | | | | | | | | | this adds add/remove_message functionality to the flush method and adds some inline comments and TODOs
| * DBManager.remove_message rewritePatrick Totzke2012-02-08
| | | | | | | | | | just enqueue the requested changes to the managers internal writequeue; the actual functionality will be moved to `flush`
| * DBManager.add_message rewritePatrick Totzke2012-02-08
| | | | | | | | | | | | | | | | only queue requested changes to internal write queue, let the lifting be done later in `flush`. This refactors add_message to also accept a `tags` parameter, a list of tagstrings that the message gets tagged with initially. The new interface is used in account
| * DBManager: fix callback to 2nd position in queuePatrick Totzke2012-02-08
|/ | | | | | fix layout of writequeue entries: 1: command name, add/remove/tag/set/untag 2: "afterwards" callable
* make refocussing after envelope.edit configurrablePatrick Totzke2012-02-08
| | | | turned on by default and off when called from global.ComposeCommand.
* spawn parameter for envelope.EditCommandPatrick Totzke2012-02-08
| | | | | that just passes its value on to globals.EditCommand issue #287
* 'spawn' parameter for Compose and EditCommandsPatrick Totzke2012-02-08
| | | | | that overides the global config option spawn issue #287
* parameter 'flush' for threads.TagCommandPatrick Totzke2012-02-08
| | | | | | | | | that determines wether or not the database manager should write out after the command. defaults to True This also adds optional parameters '--no-flush' for the user commands. cf issue #307
* parameter 'flush' for search.TagCommandPatrick Totzke2012-02-08
| | | | | | | | | that determines wether or not the database manager should write out after the command. defaults to True This also adds optional parameters '--no-flush' for the user commands. cf issue #307
* log commandlist in helper.call_cmd_asyncPatrick Totzke2012-02-08
| | | | makes debugging easier
* sane fall back for guess_mimetypedPatrick Totzke2012-02-08
| | | | | | | helper.guess_mimetype is expected to return a mimetype string. If libmagic fails it used to return None. This makes it fall back to 'application/octet-stream'. close #313
* Merge pull request #311 from teythoon/fix-308Patrick Totzke2012-02-07
|\ | | | | Fix 308
| * Fix the args parameter handed to spawnProcessJustus Winter2012-02-07
|/ | | | | | | | | Quoting http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorProcess.spawnProcess.html: args - the command line arguments to pass to the process; a sequence of strings. The first string should be the executable's name. Fixes #308, possible more.
* absolute path for default terminal cmdPatrick Totzke2012-02-05
|
* add buffer parameter to globals.BufferCloseCommandPatrick Totzke2012-02-05
| | | | | | | | | to specify which buffer to close nstead of the currently active one. Also, This makes bufferlist.BufferCloseCommand use globals.BufferCloseCommand with selected buffer instead of doing the job itself. fixes #306 on testing
* parameter to set ENV vars in call_cmd_asyncPatrick Totzke2012-02-04
| | | | issue #304
* Fix commandline handling of colourmodeStanislav Ochotnicky2012-02-03
| | | | | alot ignored colourmode set in configuration file due to default value of 256 being added into commandline
* raise NotImplementedError instead of returningPatrick Totzke2012-02-03
| | | | | string 'not implemented' cf 864025133045708b699970c21618a73
* adjust docstring for Account.send_mailPatrick Totzke2012-02-03
| | | | mention the returned Deferred
* force screen redraw in UI.updatePatrick Totzke2012-02-03
| | | | | this fixes an issue with notification messages not being updated correctly.
* use asyncronous call to sendmailPatrick Totzke2012-02-02
| | | | | in account.send_mail and use call/errbacks in envelope accordingly
* call_cmd_asyncPatrick Totzke2012-02-02
| | | | properly errback after process failed
* add helper call_cmd_async,Patrick Totzke2012-02-01
| | | | | that does as call_cmd before but non-blocking: it returns a deferred that calls back with the requested triple.
* revert to hardcoded version stringsPatrick Totzke2012-02-01
| | | | | | | | | | | | | before, we tried to be smart and wrote an auto-generated version string via `git describe` to alot.VERSION at setup time that got read by alot.__init__ later on. This reverts to a hardcoded version string in alot.__version__. It makes tedious calls to `git update-index --assume-unchanged VERSION` unnecessary and makes life easier for packagers. closes issue #299
* cleanup Reply and ForwardCommand'sPatrick Totzke2012-01-31
|
* refactored From-header construction for reply/fwdPatrick Totzke2012-01-31
| | | | | | | | this introduces commands.thread.recipient_to_from, that contains code to determine a suitable From-header for replies and forwards. This helper is now used in ReplyCommand and ForwardCommand. issue #297
* Merge pull request #293 from tomprince/apply_command-always-run-post-hookPatrick Totzke2012-01-29
|\ | | | | Apply command always run post hook
| * Always run post command hook.Tom Prince2012-01-28
|/ | | | | | Before, the hook was only being run if the command returned a deferred. Now, it uses defer.maybeDeferred to handle things generically.
* Remove direct use of threading.Tom Prince2012-01-28
| | | | twisted includes tools for handling threaded code nicely. Use it.
* Merge pull request #291 from 0x64746b/cleanup_theming_methodsPatrick Totzke2012-01-28
|\ | | | | Cleanup theming methods
| * Rename `_get_themeing_option()`dtk2012-01-28
| | | | | | | | | | Remove superfluous 'e' to make it into `_get_theming_option()` to increase consistency with other code.
| * Remove duplicate `has_themeing()` methoddtk2012-01-28
|/ | | | | | | | Adjust calls to address remaining `has_theming()` method. Conflicts: alot/settings.py
* make default print bindings add tags header optionPatrick Totzke2012-01-26
| | | | | this changes the default bindings so that printing via `p` and `P` will use the newly introduced `add_tags` parameter
* PipeCommand reworkPatrick Totzke2012-01-26
| | | | | | | | | | This introduces parameters 'shell' and 'add_tags' to PipeCommand. The former allows one to let the shell interpret the command, the letter adds 'Tags' header to piped messages, whose value is msg.get_tags(). Moreover, PrintCommand will also have parameter add_tags, that is just relayed.
* Merge branch 'feature-reply-from' into testingPatrick Totzke2012-01-26
|\
| * smarter From-header construction for repliesPatrick Totzke2012-01-25
| | | | | | | | | | | | | | | | | | | | This makes ReplyCommand inspect all To/Cc/Delivered-To values of the original message and uses a contained address for the replies From-header if it is listed in one of my accounts. The order of preference is that of my accounts (order in config file), the used realname part is taken from the matching account. cf issue #247