summaryrefslogtreecommitdiff
path: root/alot/init.py
Commit message (Collapse)AuthorAge
* properly interpret initial_command as cmdsequencePatrick Totzke2014-04-02
| | | | | | | | | | This ensures the default initial command as given by the `initial_command` config option will be interpreted as command*line* as expected, and not as single command. As a result, one can now use e.g. initial_command = search A ; search B issue: #698
* interpret mailto and other parms to initial 'compose' separatelyPatrick Totzke2014-03-21
|
* fix: make sure DBManager is initialized correctly...Patrick Totzke2013-07-07
| | | | and knows the path to notmuchs root dir
* doc: clean up error message for invalid subcommandsPatrick Totzke2013-06-02
|
* fix missing importPatrick Totzke2012-09-04
|
* cleanup: pep8 fixes for init.pyPatrick Totzke2012-09-04
|
* cleanup: move DBManager to its own filePatrick Totzke2012-08-10
|
* cleanup: move SettingsManager to its own filePatrick Totzke2012-08-10
|
* do not write default config if missingPatrick Totzke2012-08-01
| | | | | | This has been done before to provide the default bindings, which are now read directly from defautls/default.bindings during startup.
* removed unused __main__ testPatrick Totzke2012-06-14
| | | | | bin/alot directly imports init.main, init.py is not intended to be called directly from the shell.
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* Add notmuch-config switch back in.Jakob2012-04-03
| | | | | | | The order of overriding is (highest priority first): command-line switch (--notmuch-config) environment variable ($NOTMUCH_CONFIG) default (~/.notmuch-config)
* Respect NOTMUCH_CONFIG environment variable.Jakob2012-04-02
| | | | Issue #422.
* pep8 fixesPatrick Totzke2012-03-15
|
* remove referene to ~/.alot.rcPatrick Totzke2012-03-15
| | | | | this was the very first location of our config and it was kept for backwards compatability, which we break with this release anyway.
* Exception handling and forgotten importDaniel2012-03-15
|
* Copy bindings file as config if user has noneDaniel2012-03-15
|
* No default value for config file given on command-line.Daniel2012-03-15
|
* overwrite logs by defaultPatrick Totzke2012-03-02
| | | | | | | this makes logging replace existing logfiles instead of appending to it. closes #290
* remove unused importsPatrick Totzke2012-02-25
|
* move logging init before settings initPatrick Totzke2012-02-23
|
* read colourmode arg to settingsmanagerPatrick Totzke2012-02-23
|
* fix typoPatrick Totzke2012-02-20
|
* initialize SettingsManager at startupPatrick Totzke2012-02-19
|
* remove references to AccountManager in init and UIPatrick Totzke2012-02-19
|
* replace config.get_* with settings.getPatrick Totzke2012-02-18
| | | | | this changes all "small" calls to a config getter toa theyr counterparts that call SettingsManager.get
* 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).
* 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
* fix issue #283Patrick Totzke2012-01-24
| | | | | | missing property SearchOptions.optFlags was accessed in SubcommandOptions.as_argparse_opts. closes #283
* pep8 and pyflakes cleanupsPatrick Totzke2012-01-19
|
* propagate compose option 'omit_signature'Patrick Totzke2012-01-19
| | | | to decorator (inapp prompt) and to optparsing for CLI invokation
* prompt for recipient if no arg to 'alot compose'Patrick Totzke2012-01-19
| | | | closes #274
* Reset logging before configuringdtk2012-01-05
| | | | | | | | | | | | | | | | Some unknown piece of code causes the `logging` lib to create a default configuration, which includes a logging level of `logging.WARNING` and a `StreamHandler`. The existence of this default configuration prevents our call to `logging.basicConfig()` to set the configured values, which leads to `debug` and `info` messages not being logged and all messages being streamed to `stderr` (which is controlled and gets flushed by `urwid`) instead of being written to the configured log file. This commit removes the existing `StreamHandler` before calling `logging.basicConfig()` which makes the latter install the desired logging configuration. Closes #170.
* Purge logging objectdtk2012-01-05
| | | | | | | | | Consistently use module functions instead. Introduce a non-default log format that replaces the logger name with the module name. Cf issue #170. Closes #231.
* Fix basic logging functionalitydtk2012-01-05
| | | | | | | | This commit roughly restores the broken logging functionality. The first few messages are still logged to `stderr` as well as to the specified log file. Closes #170.
* pep8Patrick Totzke2012-01-03
|
* propagate search parameter to commandline argsPatrick Totzke2012-01-03
| | | | | this makes the --sort parameter available as a command line parameter
* Get the db manager instance into the accountsJustus Winter2011-12-25
|
* more verbose helpstringsPatrick Totzke2011-12-22
|
* pep8/pyflakes fixesPatrick Totzke2011-12-21
|
* use generic SubcommandOptions in initPatrick Totzke2011-12-20
| | | | and fix version strings. issue #166
* added --attach parameter to compose cmdPatrick Totzke2011-12-20
|
* pep8 fixesPatrick Totzke2011-12-19
|
* initial option parsing with subcommandsPatrick Totzke2011-12-19
| | | | | via twisted.python.usage.Options instead of argparse issue #132
* gracefully exit if config parsing failsPatrick Totzke2011-12-16
| | | | issue #152
* added --version switch to commandline argumentsPatrick Totzke2011-12-16
|
* remove unused HooksManagerPatrick Totzke2011-12-11
| | | | | hooks are now organized by AlotConfigParser issue #146
* removed GPL headers from individual source filesPatrick Totzke2011-11-16
|
* infrastructure for argparser in commandfactoryPatrick Totzke2011-10-15
|
* globals and search commands donePatrick Totzke2011-10-12
|