mathieui
|
e2414121af
|
Add type hints here and there
|
2018-07-22 14:25:18 +02:00 |
|
mathieui
|
3cb8e33f93
|
Do not complete fulljids in /message (Fix #3405)
|
2018-07-22 00:06:30 +02:00 |
|
mathieui
|
7fd672caca
|
Fix Python 3.5 compatibility (no PEP 526)
:(
Debian stable can't have nice things.
|
2018-07-21 23:58:07 +02:00 |
|
mathieui
|
73d198561d
|
Fix some issues found by pylint
which were probably due to a borked merge
|
2018-07-21 21:44:10 +02:00 |
|
mathieui
|
0bdc9676d2
|
Split type declarations from __init__
|
2018-07-21 21:38:26 +02:00 |
|
mathieui
|
534ba14d5c
|
Fix /reorder
|
2018-07-21 21:38:26 +02:00 |
|
mathieui
|
784f2d2876
|
Fix the move_tab command
|
2018-07-21 21:38:26 +02:00 |
|
mathieui
|
115aee3d05
|
new tabs: apply review
|
2018-07-21 20:20:13 +02:00 |
|
mathieui
|
2147efa4a1
|
Add tests for the new tabs module
|
2018-07-21 20:20:13 +02:00 |
|
mathieui
|
a28b9c4422
|
Update poezio for the new tabs module
|
2018-07-21 20:20:13 +02:00 |
|
mathieui
|
7d9afc6ad4
|
Add a tabs management module
|
2018-07-21 20:15:52 +02:00 |
|
mathieui
|
481d0b8730
|
Fix docker CI
Remove our custom images
|
2018-07-21 20:00:01 +02:00 |
|
mathieui
|
d80ae218aa
|
Add exceptions for some pylint errors
until we find out where type inference has gone very wrong.
|
2018-07-21 19:31:00 +02:00 |
|
mathieui
|
ea2d76864d
|
yapf -rip
|
2018-07-21 17:09:52 +02:00 |
|
mathieui
|
3ec153a6a0
|
Fix the segfault on exit
|
2018-07-21 16:47:28 +02:00 |
|
mathieui
|
a8fc35cf35
|
Fix the config tests
|
2018-07-21 16:46:50 +02:00 |
|
Emmanuel Gil Peyrot
|
79a4cc8937
|
config: Cast Path to str() before passing it to copy2.
|
2018-07-21 14:27:29 +02:00 |
|
Emmanuel Gil Peyrot
|
c1bc46cb2c
|
config: Try to create the logs directory before setting up error logs.
|
2018-07-19 12:03:40 +02:00 |
|
Emmanuel Gil Peyrot
|
31ec0564e7
|
Fix custom theme loading under Python 3.5.
|
2018-07-16 02:01:30 +02:00 |
|
Emmanuel Gil Peyrot
|
13b90fb10b
|
Remove extraneous ", " in Message.__repr__.
|
2018-07-14 17:15:55 +02:00 |
|
Emmanuel Gil Peyrot
|
20ebea1c89
|
Stop making classes inherit from object.
|
2018-07-14 16:25:09 +02:00 |
|
Emmanuel Gil Peyrot
|
3acfd83c24
|
common: Simplify get_os_info() using pathlib.Path().
|
2018-07-10 12:07:08 +02:00 |
|
Emmanuel Gil Peyrot
|
8fbbe701f2
|
common: Remove unused get_base64_from_file() function.
|
2018-07-10 12:07:05 +02:00 |
|
Emmanuel Gil Peyrot
|
59f12b761d
|
xhtml: Add forgotten import of Path.
|
2018-07-09 12:01:32 +02:00 |
|
|
f35b3d16a3
|
Also reload plugins configuration on /reload
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2018-07-08 23:21:09 +02:00 |
|
Emmanuel Gil Peyrot
|
07e13a1220
|
Fix loading plugins.
|
2018-07-08 11:02:17 +02:00 |
|
Emmanuel Gil Peyrot
|
19cc6229a2
|
logger: Use pathlib.Path.open() instead of open().
|
2018-07-08 10:58:00 +02:00 |
|
Emmanuel Gil Peyrot
|
cabc8fcd94
|
config: Use pathlib.Path.open() instead of open().
|
2018-07-08 10:56:59 +02:00 |
|
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 |
|