Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-22 | Add a way to remove options from the config file | mathieui | |
(still surgically, without touching comments or anything else) | |||
2014-04-21 | Split the config.write_in_file method to be more modular and cleaner | mathieui | |
Will also allow a remove_in_file or whatever to remove options instead of blanking them. | |||
2014-04-11 | Do not traceback when unable to read the config file | mathieui | |
2014-04-06 | Code cleanup | mathieui | |
fixes whitespace issues, some builtin overrides, and some enormous lines might make poezio run nanoseconds faster! | |||
2014-04-06 | Do not instantiate the Config at module load | mathieui | |
delayed execution is cleaner and less error-prone | |||
2014-04-05 | Fix a bug introduced in ca0950d | mathieui | |
2014-04-04 | Remove unused imports | mathieui | |
(thanks eijebong) | |||
2014-03-28 | Returning the value fetched with RawconfigParser.getint is actually quite useful | mathieui | |
………………………… | |||
2014-03-24 | Use RawConfigParser.get{int,bool,float} whenever possible | mathieui | |
config.get('option', 'value').lower() == 'value' is just ugly and stupid, especially for bool. One if in basetabs:556 was also missing a comparison, leading to True whenever the option was set. | |||
2014-02-01 | Date the log records (error.log or debug logs) | mathieui | |
2013-12-28 | Fix #2414 (don’t use /tmp/dummy in the logging config) | mathieui | |
2013-12-04 | Write the config to a tmp file before a final copy | Mathieu Pasquet | |
(should prevent some conditions leading to config corruption happenning when poezio cannot write anymore) | |||
2013-08-03 | Logs errors by default, in a dedicated file | mathieui | |
- log_errors option, true by default - errors go in log_dir/errors.log (so $XDG_DATA_HOME/errors.log by default) This should help a lot for debugging, and provide a way for people to easily give debug traces without useless or personal infos. | |||
2013-06-19 | Revert 9eaffe1369f2be177576402f20edcd114a1eaa9d because of 3.1 compat | mathieui | |
2013-06-18 | Trigger config_change handlers when the config has changed using a USR1 signal | Florent Le Coz | |
2013-06-16 | Fail properly when the config can’t be parsed. | mathieui | |
2013-06-09 | Fix the os.makedirs calls so that they don’t traceback for nothing | mathieui | |
2013-05-29 | Small workaround for the default config location | mathieui | |
2013-05-26 | Update setup.py to use distutils | mathieui | |
(use new default directory, install the plugins as a separate python module…) | |||
2013-05-06 | Fix #2286 | mathieui | |
Also fix the copy of the default config if -f is used | |||
2013-04-05 | Handle I/O errors better | mathieui | |
- Do not crash because of low disk space - Notify the user whenever it happens - A few functions now return a boolean instead of nothing - Config.silent_set is Config.set_and_save without toggle and returning strings. It is used whenever we don’t need set_and_save - Config.set_and_save now returns a tuple (that can be passed directly to core.information()) TODO: display the precise error to the user (instead of “unable to…”) | |||
2013-03-04 | Fix #2126 (per-server configuration sections) | mathieui | |
(also move replace_key_with_bound() to core.py, to prevent having common.py depending of config.py) | |||
2013-01-29 | make the options in the config files case sensitive. | Florent Le Coz | |
2012-12-15 | Fix a TB on python < 3.2 | mathieui | |
2012-12-15 | Add support for /set <option> toggle, which toggles the current value | Florent Le Coz | |
fix #2184 | |||
2012-09-13 | Fix TBs when the system is not in utf-8 by default | mathieui | |
(force every file opening to be with the utf-8 encoding) | |||
2012-08-06 | Add a fallback to optparse if argparse is not found | mathieui | |
2012-08-05 | Use the revision/date for the poezio version if a .git is found | mathieui | |
2012-08-05 | Move from optparse (deprecated) to argparse | mathieui | |
2012-07-26 | Small non-impacting modifications | mathieui | |
- Write the config with “option = value” instead of “option= value” - Docstring for sighup_handler - Optimize a join() in the main loop - Rename the verbose get_error_message_from_error_stanza() with get_error_message() - Remove the unused Tab.just_before_refresh() which is litterally used nowhere in poezio | |||
2012-05-09 | Allow a config to be set & created directly | mathieui | |
2012-04-18 | Adda config.getl to return a lowercase value | mathieui | |
2012-03-30 | Should fix the refresh issue | mathieui | |
2012-03-08 | Fix a bug in the configuration writer | mathieui | |
2012-02-09 | Config.write_in_file() now works as expected | mathieui | |
(can add sections, add inexistant options, and edit in place) | |||
2012-01-26 | We can now configure each conversation independently, for some options. | Florent Le Coz | |
Fixed #2039. | |||
2011-09-11 | Change license to zlib (MIT sucks :() | Florent Le Coz | |
2011-09-10 | Added a help message for the first run | mathieui | |
2011-09-06 | Change license to MIT | Florent Le Coz | |
2011-07-05 | Check that all needed config sections are there at startup, and create them ↵ | Florent Le Coz | |
if not | |||
2011-06-04 | some path.join forgotten causing the config file to be overwritten an not ↵ | mathieui | |
taken into account… | |||
2011-06-04 | fix the display of the action 'emptying the status', and some few minor changes | mathieui | |
2011-01-13 | Fix copy of default config file | Florent Le Coz | |
2011-01-01 | update copyright date | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |
2010-12-17 | Also catch errors on config save | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |
2010-12-17 | syntax | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |
2010-12-17 | fix typo and catch NoSectionError in config | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |
2010-12-17 | fixed #1892 save folded rosters and info_win_height in the config file | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |
2010-12-15 | config file can now have various section | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |
2010-12-06 | fix default config path | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 | |