summaryrefslogtreecommitdiff
path: root/src/config.py
AgeCommit message (Collapse)Author
2013-05-26Update setup.py to use distutilsmathieui
(use new default directory, install the plugins as a separate python module…)
2013-05-06Fix #2286mathieui
Also fix the copy of the default config if -f is used
2013-04-05Handle I/O errors bettermathieui
- 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-04Fix #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-29make the options in the config files case sensitive.Florent Le Coz
2012-12-15Fix a TB on python < 3.2mathieui
2012-12-15Add support for /set <option> toggle, which toggles the current valueFlorent Le Coz
fix #2184
2012-09-13Fix TBs when the system is not in utf-8 by defaultmathieui
(force every file opening to be with the utf-8 encoding)
2012-08-06Add a fallback to optparse if argparse is not foundmathieui
2012-08-05Use the revision/date for the poezio version if a .git is foundmathieui
2012-08-05Move from optparse (deprecated) to argparsemathieui
2012-07-26Small non-impacting modificationsmathieui
- 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-09Allow a config to be set & created directlymathieui
2012-04-18Adda config.getl to return a lowercase valuemathieui
2012-03-30Should fix the refresh issuemathieui
2012-03-08Fix a bug in the configuration writermathieui
2012-02-09Config.write_in_file() now works as expectedmathieui
(can add sections, add inexistant options, and edit in place)
2012-01-26We can now configure each conversation independently, for some options.Florent Le Coz
Fixed #2039.
2011-09-11Change license to zlib (MIT sucks :()Florent Le Coz
2011-09-10Added a help message for the first runmathieui
2011-09-06Change license to MITFlorent Le Coz
2011-07-05Check that all needed config sections are there at startup, and create them ↵Florent Le Coz
if not
2011-06-04some path.join forgotten causing the config file to be overwritten an not ↵mathieui
taken into account…
2011-06-04fix the display of the action 'emptying the status', and some few minor changesmathieui
2011-01-13Fix copy of default config fileFlorent Le Coz
2011-01-01update copyright datelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-17Also catch errors on config savelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-17syntaxlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-17fix typo and catch NoSectionError in configlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-17fixed #1892 save folded rosters and info_win_height in the config filelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-15config file can now have various sectionlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-12-06fix default config pathlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-11-09fix some little issues. Rename gui to core, use logging lib instead of the ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
custom debug option. Add a -d option
2010-10-04update e-mail address and READMElouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-09-07do not require argparse anymore, chmod in the directory in the python ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
process directly, fix a little bit the Mafile
2010-09-03python 3 only. Fixes all EncodingError bugs :))))louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-08-09Writing to file doesn't remove comments. fixed #1713louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-07-22remove useless shebangs. Fixed 1669louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-07-19Don't use argparse if it's not availablelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-07-08fixed #1578louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-07-08Add many keyboard shortcuts. fixed #1507louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-07-08add a -f option, we can specify a file to open instead of the default one. ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
We then can have various different configuration and choose between them
2010-05-18pylint cleaning part1louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-05-11Display the status change and/or disconnect for recent-speakers only. fixed ↵louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
#1288
2010-02-10little cleanuplouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-01-31rfix le meme truclouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-01-31fix la copie du fichier de conf au premier demerragelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-01-31testlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-01-31cleanup, launch.sh, makefilelouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2010-01-31fixed #1110louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13