Commit graph

3994 commits

Author SHA1 Message Date
mathieui
fefbb0b088 Only keep one TextWin alive 2020-05-09 19:46:17 +02:00
mathieui
558f4fa8b3 Fix attention handler 2020-05-09 19:46:17 +02:00
mathieui
076314fc21 Add tests for ui-related funcs 2020-05-09 19:46:17 +02:00
mathieui
5bc510eafa Fix an issue in xmllog rendering due to wrong offset
and improve tests to catch that
2020-05-09 19:46:17 +02:00
mathieui
32beeca480 Add tests for the new modules 2020-05-09 19:46:17 +02:00
mathieui
80ce8453f5 Rewrite part of the message handling/rendering 2020-05-09 19:46:17 +02:00
mathieui
a5ef6ec910 Add a context manager in Win for colored text 2020-05-09 19:46:17 +02:00
mathieui
41127e50ab Move message rendering code to Message.render()
Also:

- rename format_chars to FORMAT_CHARS because it’s static constant
- move Line, Message, and a few funcs/consts to a new poezio.ui module
2020-05-09 19:46:17 +02:00
mathieui
d22b4b8c21 Merge branch 'allow-pylint-failures' into 'master'
Allow pylint failure due to false positives

See merge request poezio/poezio!92
2020-05-09 19:41:21 +02:00
mathieui
31afd58354 Allow pylint failure due to false positives
…………
2020-05-09 19:31:20 +02:00
mathieui
7ec16d97ee Merge branch 'add-qr-dep' into 'master'
Add qrcode plugin dependency

See merge request poezio/poezio!91
2020-05-09 19:12:02 +02:00
mathieui
466f8efde6 Add qrcode lib to the plugin requirements 2020-05-09 19:08:01 +02:00
f1473f6d1f Merge branch 'muc-pms-x' into 'master'
Add <x/> to MUC-PM CSNs

Closes #3491

See merge request poezio/poezio!90
2020-05-08 15:12:35 +02:00
773880c799
PrivateTab: extract NS contant
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-08 15:11:21 +02:00
e2dc69f9e1
Chatstates: add <x/> in MUC-PMs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-08 15:10:25 +02:00
4edf690e26 Revert "Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks Ge0rG.""
This reverts commit e9a6ea7a59.
2020-05-08 14:10:59 +02:00
4fe83c7451 Merge branch 'doc-affiliation' into 'master'
affiliation: fix usage string and add documentation

See merge request poezio/poezio!89
2020-05-07 23:14:55 +02:00
880f024c68
affiliation: fix usage string and add documentation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-07 23:11:35 +02:00
fa65b1b660 Merge branch 'csn-no-store' into 'master'
Fix #3518: Add no-store hint to CSN

Closes #3518

See merge request poezio/poezio!88
2020-05-01 18:54:47 +02:00
06962a6f4b
Fix #3518: Add no-store hint to CSN
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-01 18:54:17 +02:00
c7c358799a Merge branch 'python-version' into 'master'
Update Python version minimum requirement to 3.7

See merge request poezio/poezio!87
2020-05-01 15:00:15 +02:00
64ed37870e
Update Python version minimum requirement to 3.7
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-01 14:53:18 +02:00
ed8f3b5c27 Merge branch 'doc-tab-list' into 'master'
[ci skip] doc/usage: horizontal tab list isn't the default anymore, since 2014 (thanks FireFly)

See merge request poezio/poezio!86
2020-04-23 14:33:49 +02:00
b98f140c38
[ci skip] doc/usage: horizontal tab list isn't the default anymore, since 2014 (thanks FireFly)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-23 14:33:21 +02:00
16fee4135a Merge branch 'doc-ad-hoc' into 'master'
[ci skip] doc/commands: add ad-hoc

See merge request poezio/poezio!85
2020-04-23 13:49:17 +02:00
6d6a32a39f
[ci skip] doc/commands: add ad-hoc
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-23 13:48:45 +02:00
42968c07d3 Merge branch 'muc-reflections' into 'master'
[ci skip] Add TODOs re #3314

See merge request poezio/poezio!84
2020-04-22 18:42:41 +02:00
c93de19fde
[ci skip] Add TODOs re #3314
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-22 18:41:47 +02:00
Link Mauve
570c5262bd Merge branch 'disco-node' into 'master'
plugins/disco: Add support for querying with a custom node.

See merge request poezio/poezio!71
2020-04-16 19:13:34 +02:00
2d872e650f
affiliations: fix traceback when displaying outcast users
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15 14:54:38 +02:00
47e76f286a
theming: add CHAR_AFFILIATION_OUTCAST
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15 14:54:10 +02:00
1e2c6593f5
plugins/embed: correctly refresh window in Conversation*Tab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15 02:52:19 +02:00
d9379a35aa Merge branch 'affiliation-ui' into 'master'
affiliations: display all relevant pieces of information we get

See merge request poezio/poezio!83
2020-04-15 00:35:51 +02:00
2181690b9a
affiliations: display all relevant pieces of information we get
- Don't fail if only one of the requests fail
- Change UI a bit

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-15 00:23:23 +02:00
a364e651e2 Merge branch 'doc-baseplugin' into 'master'
doc: Add doc for BasePlugin dependencies and refs

See merge request poezio/poezio!82
2020-04-12 18:59:43 +02:00
37ddf81fd4
doc: Add doc for BasePlugin dependencies and refs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12 18:59:13 +02:00
e11d42f653 Merge branch 'plugins-deps' into 'master'
Plugins deps

See merge request poezio/poezio!81
2020-04-12 16:46:04 +02:00
57553abc0a
plugins/upload: Use embed directly instead of populating input field
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12 16:45:21 +02:00
a72152c462
plugins: Add refs to dependencies on plugins
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12 16:43:53 +02:00
8585ef18eb
plugins: don't access property on uninitialized plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-12 16:43:01 +02:00
14ef445261 Merge branch 'plugins-dep' into 'master'
plugins: Add dependencies support

See merge request poezio/poezio!80
2020-04-12 14:37:37 +02:00
fcdef2d96c
plugins: Add dependencies support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-11 18:14:01 +02:00
497706582a
xep_0196: Use correct tag local name (thanks ivucica)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-06 13:36:48 +02:00
6efd7561dd
doap: update LMC version
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 03:13:53 +02:00
8a25762e7b
/correct: send new-style LMC
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 02:58:02 +02:00
747deb41e6
TextBuffer: add note about LMC compat
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 02:26:02 +02:00
bcd96cc8a4 Merge branch 'lmc-new' into 'master'
Read newer LMC rules

See merge request poezio/poezio!79
2020-04-05 02:21:57 +02:00
156beca13f modify_message: change variable name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 02:20:27 +02:00
88e5b2d1d7 Read newer LMC rules
Version 1.1.0 of Last Message Correction (0308) added clarifications
that break the way poezio handles corrections. Instead of linking
corrections to the previous correction/message as we were doing, we
are now required to link all corrections to the original messages.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 02:20:24 +02:00
f56ce0b8ff Merge branch 'sync-fixes' into 'master'
only auto-reconnect if not already reconnecting, needs slixmpp!37

See merge request poezio/poezio!78
2020-04-04 15:30:09 +02:00