Commit graph

3345 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
b3a944c76b config: Replace the config file with its new version, rather than copy2/remove. 2018-07-08 10:56:45 +02:00
Emmanuel Gil Peyrot
1707b14691 tabs.rostertab: Use Path for file completion. 2018-07-08 09:53:15 +02:00
Emmanuel Gil Peyrot
150feda3f0 core.commands: Remove implicit conversion from Path to str in /set. 2018-07-08 09:52:28 +02:00
Emmanuel Gil Peyrot
78d41b4989 plugin: Use the provided pathlib.Path. 2018-07-08 09:23:52 +02:00
Emmanuel Gil Peyrot
fe6c8041a1 Add some more str() on Paths… 2018-07-08 09:18:36 +02:00
Emmanuel Gil Peyrot
9dd38bd840 Add a few more str() on pathlib.Path objects. 2018-07-05 16:32:38 +02:00
Emmanuel Gil Peyrot
fcaaa6ef49 Add a bunch of str() to convert pathlib.Path into str. 2018-07-05 16:28:44 +02:00
Emmanuel Gil Peyrot
142180204b logger: Fix a typo when creating the logs directory. 2018-07-05 16:21:13 +02:00
Emmanuel Gil Peyrot
91d22aacba core.handlers: Correctly import get_image_cache() from poezio.config. 2018-07-05 16:19:03 +02:00
Emmanuel Gil Peyrot
c66ae524be config: Pass a str rather than a Path to RawConfigParser, fixes Python 3.5 support. 2018-07-05 12:25:39 +02:00
Emmanuel Gil Peyrot
5c1dc0006f config: Stop using os.path to split pathlib.Path objects. 2018-07-05 12:24:36 +02:00
Emmanuel Gil Peyrot
60f21c0df4 Factorise FIFO filename creation. 2018-07-04 13:30:32 +02:00
Emmanuel Gil Peyrot
1da74a9636 Simplify plugins path changes. 2018-07-04 13:28:13 +02:00
Emmanuel Gil Peyrot
c162596f00 plugin_manager: Add back forgotten self. 2018-07-04 13:15:23 +02:00
Emmanuel Gil Peyrot
ccb2ea0ea4 config: remove check_create_log_dir(). 2018-07-04 13:14:17 +02:00
Emmanuel Gil Peyrot
c4d9dd48ed logger: Use LOG_DIR being a pathlib.Path rather than a string, remove os. 2018-07-04 13:11:24 +02:00
Emmanuel Gil Peyrot
09dbd9f5f2 Remove the data_dir option, and replace it with XDG_DATA_HOME. 2018-07-04 13:07:04 +02:00
Emmanuel Gil Peyrot
046a8650cd OTR plugin: Use the new poezio.xdg module. 2018-07-04 12:53:02 +02:00
Emmanuel Gil Peyrot
d41bfa1c57 Replace config.CACHE_DIR with xdg.CACHE_HOME. 2018-07-04 12:47:02 +02:00
Emmanuel Gil Peyrot
35495fba60 a 2018-07-04 12:43:46 +02:00
Emmanuel Gil Peyrot
84107bdd77 Factorise retrieving tmp_image_dir. 2018-07-04 12:33:38 +02:00
Emmanuel Gil Peyrot
60ba8308fa xhtml: Simplify tmp_dir/extract_images into a single Option<str> parameter. 2018-07-04 12:25:41 +02:00
Emmanuel Gil Peyrot
f0ad4b348b Use pathlib.Path and poezio.xdg to load themes. 2018-07-04 12:07:31 +02:00
Emmanuel Gil Peyrot
7b8871b651 Use pathlib.Path and poezio.xdg to complete themes. 2018-07-04 12:07:31 +02:00
Emmanuel Gil Peyrot
da12fe7d6a Move XDG basedir functions to the poezio.xdg module. 2018-07-04 12:07:31 +02:00
Emmanuel Gil Peyrot
7978481edf Use the new config.get_default_config_dir() in plugin_manager. 2018-07-03 12:41:02 +02:00
Emmanuel Gil Peyrot
b80bb2fcfc Only create the config dir after parsing the CLI args.
This also switches to pathlib.Path instead of os.path for path
manipulation.
2018-07-03 12:32:37 +02:00
Emmanuel Gil Peyrot
5483cd40ee Switch from @asyncio.coroutine to async def everywhere. 2018-07-02 01:55:34 +02:00
Link Mauve
29b10b6c2b Merge branch 'information_popup' into 'master'
Replace information_popup_type_filter occurences with correct naming

See merge request poezio/poezio!4
2018-07-01 18:30:15 +02:00
b072c1390b
Replace information_popup_type_filter occurences with correct naming
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01 01:09:45 +01:00
Emmanuel Gil Peyrot
01a4920bc8 Factorise code in logger. 2018-06-28 16:48:38 +02:00
Emmanuel Gil Peyrot
fbe376b6db Reintroduce the concept of resource, but named device_id and generated. 2018-06-28 15:09:02 +02:00
Emmanuel Gil Peyrot
7b3a116d76 Replace the '%s' % var pattern with str(var). 2018-06-28 14:49:54 +02:00
Emmanuel Gil Peyrot
e846825fc8 Add a check for Unicode support.
This makes poezio refuse to run if the environment is known broken.
2018-06-07 14:42:14 +02:00
Georg Lukas
0319ce5079
MUC-PM: bare-JID messages can't be PMs 2018-05-31 23:46:58 +02:00
Emmanuel Gil Peyrot
efc9489f33 disco plugin: Allow any dataform to be displayed. 2018-05-30 21:04:02 +02:00
louiz’
25df5ef410 Merge remote-tracking branch 'lab/master' 2018-05-23 19:40:40 +02:00
louiz’
7d20ddbfc4 Merge branch 'config_data_dir' into 'master'
Config data dir

See merge request poezio/poezio!1
2018-05-23 19:24:12 +02:00
Emmanuel Gil Peyrot
76b6d414e5 Fix traceback introduced in aa816640a8. 2018-05-22 12:01:39 +02:00
Emmanuel Gil Peyrot
aa816640a8 Cancel a paused chatstate after 30s. 2018-05-16 14:00:52 +02:00
Emmanuel Gil Peyrot
a18dc401ff doc: Add documentation for the new embed plugin. 2018-05-16 11:39:35 +02:00
Seve
40bc7e6647 Initial start with the embed command 2018-05-16 11:37:19 +02:00
a1c3656788 config: Add DATA_DIR global constant 2018-05-14 16:40:13 +02:00
Emmanuel Gil Peyrot
9753b302c1 config: Reject relative XDG basedir paths. 2018-05-14 13:08:32 +02:00
Emmanuel Gil Peyrot
e9cd559cf0 config: Use lowercase for local variables. 2018-05-14 13:02:32 +02:00
a402bcefd3 Fetch all MUC history on first join 2018-04-25 12:03:26 +02:00
Georg Lukas
b7e1db4879 Sent Carbon: handle MUC-PMs properly. Fix #3294 2018-04-01 11:06:25 +02:00
Georg Lukas
4e9f8e2edb MUC-PM handler: support 'sent' messages (for Carbons) 2018-04-01 11:06:25 +02:00
Emmanuel Gil Peyrot
009305b179 Partially revert a9008d3836, stop pinning slixmpp. 2018-03-31 11:37:09 +02:00
Emmanuel Gil Peyrot
c20f123b59 Import TemporaryFile in setup.py. 2018-03-31 11:29:41 +02:00