Commit graph

4062 commits

Author SHA1 Message Date
406a10bf15 Merge branch 'move-deny-remove-global-scope' into 'master'
Move /deny and /remove global scope

See merge request poezio/poezio!93
2020-05-10 00:30:56 +02:00
mathieui
a1c8efdfb2 Move /deny and /remove to global scope as well 2020-05-10 00:11:23 +02:00
mathieui
e03fb0b3ce Fix completion and function names for /accept and /add 2020-05-10 00:11:23 +02:00
mathieui
eda88a59a6 Add back the deny_anonymous decorator to /add and /accept 2020-05-09 23:14:26 +02:00
mathieui
2eb362ffe8 Move the deny_anonymous decorator to the poezio.decorators module 2020-05-09 23:12:57 +02:00
mathieui
f68fa1da5e Merge branch 'split-message-rendering' into 'master'
split message rendering

See merge request poezio/poezio!48
2020-05-09 22:58:17 +02:00
ca85411af0 affiliations: Use InfoMessage in add_message call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09 19:46:17 +02:00
4eb395c215 Don't highlight on reflected messages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09 19:46:17 +02:00
446fa8ea82 Ensure muc history messages are considered history
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09 19:46:17 +02:00
961f6c1755 Fix highlights by introducing a delayed property on ui.types.Message
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09 19:46:17 +02:00
mathieui
cf026cf1b1 Fix tests for message rendering 2020-05-09 19:46:17 +02:00
mathieui
3a2aedf74c Fix /me messages 2020-05-09 19:46:17 +02:00
mathieui
c0df35f3b3 Fix a bug in message edition
(out of bounds access for no reason)
2020-05-09 19:46:17 +02:00
mathieui
525edff66f Fix a bug when using /dump in xmltab 2020-05-09 19:46:17 +02:00
mathieui
3d13d1d994 Typing improvements 2020-05-09 19:46:17 +02:00
mathieui
cad5d0d88a WIP: update muctab.add/log message 2020-05-09 19:46:17 +02:00
mathieui
06718b6c0b Add the new package to setup.py 2020-05-09 19:46:17 +02:00
mathieui
a5e9280047 Pass a message to add_message instead of messed up kwargs everywhere
Changes LOTS of things
2020-05-09 19:46:17 +02:00
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