Commit graph

3494 commits

Author SHA1 Message Date
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
f00866c56a
ConversationInfoWin: Use similar pattern as MucInfoWin to loop through plugins
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 14:19:38 +00:00
167920a9d0 Merge branch 'muc-info-win-additional-info' into 'master'
Allow additional information elements in MucInfoWin same as ConversationInfoWin

See merge request poezio/poezio!17
2018-12-15 22:02:31 +01:00
7d0d4ddb51 Use additional info's value directly in MucInfoWin and ConversationInfoWin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-15 21:00:46 +00:00
0c9c4edfa2 Allow additional information elements in MucInfoWin same as ConversationInfoWin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-15 21:00:46 +00:00
mathieui
e992107ecf
I give up
on getting Link Mauve to ever run tests
2018-12-15 15:19:27 +01:00
Emmanuel Gil Peyrot
ce729114bc Also switch the potr plugin to https:// 2018-11-14 19:57:15 +01:00
Emmanuel Gil Peyrot
a9ef1b5fb6 Update the slixmpp git URI to point to GitLab
This also changes from git:// to https:// because many networks like to
block non-standard (read non-HTTP) ports, especially in companies or
universities.
2018-11-14 19:54:25 +01:00
Emmanuel Gil Peyrot
ae12b95f92 Add missing height and width attributes to FormWin
Fixes a regression introduced in
cce1a4090a when displaying data forms.
2018-10-27 19:24:58 +02:00
Emmanuel Gil Peyrot
cce1a4090a Add __slots__ in most of the poezio.windows classes, to be more explicit about their data. 2018-10-24 16:28:55 +02:00
Emmanuel Gil Peyrot
d967c246c8 logger: Look up the correct start position, not two bytes before. 2018-10-18 22:01:26 +02:00
Emmanuel Gil Peyrot
a630f4a13d logger: Prefix private functions with an underscore. 2018-10-18 22:01:21 +02:00
Emmanuel Gil Peyrot
d626aa1533 Fix truncate_nick()’s types to include None.
It is relied on in quite a few places which don’t check for None before
calling it on messages which have no nick.
2018-10-18 22:00:40 +02:00
louiz’
08d31d4fc7 Remove the formatting-check ci build until we decide what we should do with it
If we ignore it, it’s just noise.

We need to decide:
- fix the code to be like yapf wants to be (I’m against this)
- change the rules, to make them way more flexible, and then apply them
- don’t run yapf at all
2018-10-18 21:32:51 +02:00
mathieui
9b95b65add
MUC fix for bad servers (#3430)
tentative fix
2018-10-18 01:33:17 +02:00
Jonas Schäfer
2b70b57f32 JID.bare is always a str 2018-10-15 21:56:34 +02:00
Jonas Schäfer
348aabc290 XEP-0392/CCG: prefer JID over nickname 2018-10-15 19:56:22 +02:00
Jonas Schäfer
d85ad57f1e from __future__ import xep_0392.v0_5
Ahem. Thes updates poezio to use the HSLuv colour space to
generate colours according to XEP-0392. This will become the
standard in XEP-0392 v0.5.
2018-10-15 19:56:22 +02:00
mathieui
1ed666c5b5
Fix core import in main 2018-10-15 19:40:54 +02:00
mathieui
8484f9e3c5
Build doc inside the venv with the deps 2018-10-13 13:44:54 +02:00