Commit graph

3268 commits

Author SHA1 Message Date
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
Emmanuel Gil Peyrot
66ab3762c3 Import the subprocess module directly in setup.py. 2018-03-31 11:29:00 +02:00
Emmanuel Gil Peyrot
8e83f620ee Import the os module directly in setup.py. 2018-03-31 11:27:20 +02:00
Emmanuel Gil Peyrot
079b64fca6 Return 2 on exit when Python.h is missing. 2018-03-31 02:03:05 +02:00
Emmanuel Gil Peyrot
5c45252a2b Abort if Python.h isn’t found.
Fixes #3254.
2018-03-31 02:01:03 +02:00
Emmanuel Gil Peyrot
4e5a1c6581 Remove unused import. 2018-03-31 01:00:59 +02:00
Emmanuel Gil Peyrot
a2ad4af79a Use slixmpp’s new cache module for avatars too. 2018-03-31 00:47:24 +02:00
Emmanuel Gil Peyrot
b03a92e7ea Use the new slixmpp filesystem cache to store caps. 2018-03-31 00:28:09 +02:00
Emmanuel Gil Peyrot
326de0f161 Factorise the /version callback and make it handle errors
Fixes #3376.
2018-03-14 17:18:46 +01:00
Emmanuel Gil Peyrot
ae172f84dd Add a “name” column to /bookmarks. 2018-03-12 08:33:31 +01:00
Emmanuel Gil Peyrot
507c45982d upload plugin: Don’t insert invalid URL after HTTP upload failed. 2018-03-11 19:42:42 +01:00
Emmanuel Gil Peyrot
aa3c4dea96 Add a check for slixmpp xep_0363 plugin. 2018-03-09 12:44:29 +01:00
Emmanuel Gil Peyrot
a468e16140 Add HTTP File Upload support. 2018-03-08 15:04:59 +01:00
mathieui
ac6adbf21b
Update documentation (& formatting)
- nick colors are not random by default
- /close is a useful command
2018-02-20 21:52:55 +01:00
mathieui
87ed4aff12
Fix the nick conflict code
also yapf -rip
2018-02-11 19:53:38 +01:00
mathieui
957ee8084d
Remove the """smart""" command completion 2018-02-11 17:58:00 +01:00
Emmanuel Gil Peyrot
a9e2a0177b Use refresh_input in core.information() to avoid traceback. 2018-01-25 21:37:40 +01:00
Emmanuel Gil Peyrot
db17f6516c Fix typography in the default config. 2018-01-25 21:31:12 +01:00
Emmanuel Gil Peyrot
25898e9ee7 Check that avatar sha1 is consistent with the hash. 2018-01-25 16:00:33 +01:00
Emmanuel Gil Peyrot
4c2eee6a13 Fix caching newer avatars. 2018-01-25 15:42:51 +01:00
Emmanuel Gil Peyrot
e61d5fd947 Optimise the half-block codepath slightly. 2018-01-25 15:02:40 +01:00
Emmanuel Gil Peyrot
8076c1d094 Fix blinking in ImageWin.
Also display the border according to the theme.
2018-01-25 14:51:18 +01:00
Emmanuel Gil Peyrot
5feb718706 Use full-blocks by default for images.
This prevents bugs in some terminals.
2018-01-25 14:50:35 +01:00
3e3793b701 Use refresh_input in process_presence_buffer to avoid traceback 2018-01-16 11:52:09 +01:00
mathieui
322e10d1bd
yapf -rip 2018-01-16 00:10:35 +01:00
mathieui
f332c03217
Include the yapf diff in gitlab-ci output
unfortunately, I’m lazy and it's easier to run the job twice
2018-01-16 00:06:34 +01:00
mathieui
323b77c2f4
Current tab input is refreshed on kick/ban even when it does not exist
leading to tracebacks and shenanigans
2018-01-16 00:05:02 +01:00
mathieui
020c7db1ae Fix binary opening 2018-01-14 23:16:25 +01:00