summaryrefslogtreecommitdiff
path: root/poezio/config.py
AgeCommit message (Collapse)Author
2020-05-24Rename bookmark_on_join to synchronise_open_roomsEmmanuel Gil Peyrot
Also add some more documentation about it.
2020-05-12Add option to show only the unique prefix of tab namesJonas Schäfer
When the set of tabs used fluctuate, the memory of which number belongs to which chat becomes difficult to work with. Non-numbers can be used to navigate tabs with `/win`, however, it is difficult to know which letters are required to select a certain tab. This option introduces a display mode for tab names where only the unique prefix of the tab name is shown, saving space and providing with a minimal string which can be used with `/win`.
2019-10-27Fix syntax warnings (thanks python 3.8)mathieui
2019-10-27Make global objects not Optionalmathieui
This reflects reality, despite the default values of the code. We still need a better solution (singleton?).
2019-08-25Remove code for loading logsmathieui
we MAM now
2019-08-21Fix xml debug logsmathieui
don’t ask, don’t tell
2019-05-07config: ensure tabname is not a JID objectMaxime “pep” Buquet
Tabnames should be treated as opaque strings. This specific fix prevents tabname (JID) to be compared with invalid stringly-typed JIDs. JID's __eq__ method used to (after poezio/slixmpp@47968963) try and convert anything into JIDs. This has been fixed and now properly returns NotImplemented. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-17save_order, save: config option is not always a stringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-18Fixes coding style; Corrected indentation and use of static length when ↵Madhur Garg
displaying hidden value #3426
2019-03-18Hides the value of 'password' field being displayed in the InfoTab. Fixes #3426Madhur Garg
2018-12-16Add configuration for default_muc server to join if no muc available on domainMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-15Fix an error introduced in the last commitmathieui
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-08-13Enable the vertical tabs by defaultEmmanuel Gil Peyrot
It looks *modern*!
2018-08-13Switch the default use_log value to trueEmmanuel Gil Peyrot
Since this is a privacy sensitive action, a short message is now displayed on first run.
2018-08-13Revert "Set enable_avatars to false until the colors issue is fixed"mathieui
This reverts commit bde9b31184de3138e649a662843b459fe3c3782a.
2018-07-22config: Default LOG_DIR to the local Path.Emmanuel Gil Peyrot
2018-07-22Add type hints here and theremathieui
2018-07-21yapf -ripmathieui
2018-07-21config: Cast Path to str() before passing it to copy2.Emmanuel Gil Peyrot
2018-07-19config: Try to create the logs directory before setting up error logs.Emmanuel Gil Peyrot
2018-07-08config: Use pathlib.Path.open() instead of open().Emmanuel Gil Peyrot
2018-07-08config: Replace the config file with its new version, rather than copy2/remove.Emmanuel Gil Peyrot
2018-07-08Add some more str() on Paths…Emmanuel Gil Peyrot
2018-07-05Add a bunch of str() to convert pathlib.Path into str.Emmanuel Gil Peyrot
2018-07-05config: Pass a str rather than a Path to RawConfigParser, fixes Python 3.5 ↵Emmanuel Gil Peyrot
support.
2018-07-05config: Stop using os.path to split pathlib.Path objects.Emmanuel Gil Peyrot
2018-07-04config: remove check_create_log_dir().Emmanuel Gil Peyrot
2018-07-04Remove the data_dir option, and replace it with XDG_DATA_HOME.Emmanuel Gil Peyrot
2018-07-04Replace config.CACHE_DIR with xdg.CACHE_HOME.Emmanuel Gil Peyrot
2018-07-04Factorise retrieving tmp_image_dir.Emmanuel Gil Peyrot
2018-07-04Move XDG basedir functions to the poezio.xdg module.Emmanuel Gil Peyrot
2018-07-03Only create the config dir after parsing the CLI args.Emmanuel Gil Peyrot
This also switches to pathlib.Path instead of os.path for path manipulation.
2018-06-28Reintroduce the concept of resource, but named device_id and generated.Emmanuel Gil Peyrot
2018-05-14config: Add DATA_DIR global constantMaxime “pep” Buquet
2018-05-14config: Reject relative XDG basedir paths.Emmanuel Gil Peyrot
2018-05-14config: Use lowercase for local variables.Emmanuel Gil Peyrot
2018-03-31Use the new slixmpp filesystem cache to store caps.Emmanuel Gil Peyrot
2018-01-25Use full-blocks by default for images.Emmanuel Gil Peyrot
This prevents bugs in some terminals.
2018-01-13yapf -irmathieui
2018-01-13Open and write logs and config files in utf-8mathieui
2017-12-20Set bookmark_on_join default value to falsemathieui
too many pitfalls
2017-11-24config: Switch the default for show_muc_jid from True to False.Emmanuel Gil Peyrot
2017-11-23Add an autojoined bookmark on /join.Emmanuel Gil Peyrot
2017-11-14self-ping: add 'timeout' option for ping responseGeorg Lukas
2017-11-14self-ping: rename option from 'delay' to 'interval'Georg Lukas
2017-11-12yapf -irmathieui
2017-10-14Add an option to disable CSS parsing.Emmanuel Gil Peyrot
Fixes #3340.
2017-10-13Improve some bare or redundant exceptsmathieui
2017-10-11Set enable_avatars to false until the colors issue is fixedmathieui