Commit graph

3713 commits

Author SHA1 Message Date
Georg Lukas
8cbd8dabdd self-ping: match error responses to XEP-0410 2019-03-17 11:22:12 +00:00
Emmanuel Gil Peyrot
f7e3e003a2 code plugin: Add a language class to specify which language this code block is from. 2019-02-28 22:05:57 +01:00
470696063d Properly raise NotImplementedError, prevent errors being swallowed by safeJID
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-28 00:06:36 +00:00
Link Mauve
738dfe0e9a Merge branch 'root-bailout' into 'master'
Prevent poezio from being run as root

See merge request poezio/poezio!20
2019-02-26 22:36:42 +01:00
8af787e378
Prevent poezio from being run as root
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-26 21:33:50 +00:00
mathieui
cc104f1080
Only server-cycle on exact server matches (#3412) 2019-02-24 15:47:51 +01:00
mathieui
d6952f675b
Rename hidden -v option to --custom-version and add a real -v (#3429) 2019-02-24 15:41:16 +01:00
mathieui
34f6ad1bac
Register all commands in the roster but show an error message if used when anonymous (#3435) 2019-02-24 15:28:28 +01:00
mathieui
1355d7411e
Fix MUC PM logging (#3441) 2019-02-24 15:02:54 +01:00
mathieui
0df17b60c3
Do not process messages with subject AND thread or body as topic changes (#3452) 2019-02-24 14:55:33 +01:00
mathieui
4aea2a2e10
Fix a bug when closing a tab (#3460) 2019-02-24 14:34:27 +01:00
mathieui
cd9bae5c29
Fix MUC self-PM hidden stacktrace (#3454)
and do not display messages twice
2019-02-24 14:19:33 +01:00
4e231185f5 Merge branch 'feature/xep-0392-0.5' into 'master'
Bring XEP-0392 implementation to XEP version 0.5

See merge request poezio/poezio!13
2019-02-14 17:52:30 +01:00
Jonas Schäfer
322f02f0f4 Remove now-obsolete hsluv dependency 2019-02-14 17:24:23 +01:00
Jonas Schäfer
07606b0cd2 Embed hsluv
See:
https://lab.louiz.org/poezio/poezio/merge_requests/13#note_7453
2019-02-14 16:35:39 +01:00
fa2f6a62ed
Update urls to point to lab.louiz.org
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-14 15:19:11 +00:00
Emmanuel Gil Peyrot
e5e0533b6e logger: Log the JID during a parsing error. 2019-02-07 02:31:15 +01:00
42b87268b3
muctab: fix command_affiliation docstring
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-05 00:45:38 +00:00
e5bc466b27
Fix wording in command_args_parser.quoted docstring
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-05 00:45:17 +00:00
Emmanuel Gil Peyrot
ebc886d670 Render SVG avatars directly at the final resolution. 2019-01-25 01:13:00 +01:00
Emmanuel Gil Peyrot
71ef2a362e Add a stub Image class, to let poezio run even when Pillow isn’t installed. 2019-01-24 22:31:36 +01:00
Emmanuel Gil Peyrot
d19046b5b1 AvatarWin: Add SVG support. 2019-01-24 20:08:41 +01:00
ed8224a3a5 Improve text of impromptu command
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-23 23:36:31 +00:00
Emmanuel Gil Peyrot
66c4f02c8e Fix syntax errors in the previous commit. 2019-01-22 21:07:25 +01:00
Emmanuel Gil Peyrot
a1af8a49f1 Store get_theme() in a variable in each function, to avoid redundant calls. 2019-01-22 21:02:17 +01:00
Emmanuel Gil Peyrot
7d6cd69511 Fix several typos in the docs.
Thanks Mopi!
2019-01-04 13:54:28 +01:00
Emmanuel Gil Peyrot
5d07a27e1d Add some more M-arrows keys
Thanks terminals, for your wonderful standardisation!
2019-01-02 19:47:41 +01:00
Kim Alvefur
25f15233e0 disco plugin: Add iq error reporting
Previously it behaved as if the response was empty, which was confusing.
2018-12-26 10:47:33 +00:00
mathieui
f034f7d000 Merge branch 'master' into 'master'
self-ping: do not /cycle on timeout, log only

See merge request poezio/poezio!16
2018-12-16 19:08:05 +01:00
Georg Lukas
d619e0c5ff Roster: display presence.show when contact goes offline, if available. 2018-12-16 19:02:06 +01:00
Georg Lukas
f3aad52c7f Work around /upload not working in direct tabs (similar to #3449) 2018-12-16 19:02:06 +01:00
Georg Lukas
06159c0e1f Work around #3449 2018-12-16 19:02:06 +01:00
Georg Lukas
b0a19bb019 self-ping: do not /cycle on timeout, log only 2018-12-16 19:02:06 +01:00
8a23706b72 Merge branch 'invite_impromptu' into 'master'
Invite impromptu

See merge request poezio/poezio!2
2018-12-16 17:59:59 +01:00
9b25abf9fb impromptu: add versionadded info in doc
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
91ee121195 impromptu: document default_muc_service
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
3ad55c746e impromptu: add or update documentation for commands
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
936e16f98f impromptu: rework string format
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
f86626a7f4 impromptu: don't set roomname and roomdesc; remove jids argument
I was originally panning to generate a user-friendly room name with
them, but this can/should be done at runtime (in case it changes).

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
82da51cb3d impromptu: fix typo in log line
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
9e573c81cd Remove TODO comment about user-friendly muc name
See #3447 instead. This can be generated at runtime.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
0f3f093cdc impromptu: Incorporate feedback from daniel for muc options
Adding missing MAM bits, removing the allowpm restriction, as clients
should already be using realjids when available.

I am leaving allowinvites for now as I think that should be in there,
but we can align ourselves later on if necessary, I'm not totally
against the idea.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
ef47c3548a impromptu: shorten config field list formatting
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
0f6205d29b Add /invite for ConversationTab to generate new room with all invitees
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
cf50ef2cf3 Use identites from server for muc service
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
dc2808cdcc Add error message if muc service not found
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
b6fb719cc9 Add configuration for default_muc server to join if no muc available on domain
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
0f344b899c Initial impromptu command
Add a command that invites people to a newly created room, with a random
localpart. The muc component is currently static. The interface
for the command might also change later on.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:57:48 +00:00
c3e9130d7d Add gitignore
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 16:54:55 +00:00
0276e74898
MucInfoWin: correctly pass JID to additional info plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 14:20:55 +00:00