Commit graph

4003 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
71eba168e4 Add documentation, logo and screenshot to DOAP file.
I’m done waiting for upstream for that feature, I’ve now imported these
properties to https://linkmauve.fr/ns/xmpp-doap.rdf#
2021-01-01 03:15:42 +01:00
Emmanuel Gil Peyrot
c38538f6b5 Rework set_role() to use slixmpp.
Also remove a safeJID().
2020-12-28 19:10:53 +01:00
Emmanuel Gil Peyrot
4b0e481902 Rework set_affiliation() to use slixmpp.
Also remove two safeJID().
2020-12-28 19:10:53 +01:00
Emmanuel Gil Peyrot
0474d0f4b2 Prevent a traceback when the jid option isn’t a valid JID.
It was crashing deep in XEP-0048 plugin init, this removes a safeJID()
as well as print an error message if the JID is invalid.
2020-12-28 19:10:53 +01:00
Emmanuel Gil Peyrot
85b1222222 Add (back?) reason and altroom arguments for /destroy_room.
Also make use of slixmpp’s new destroy_room() function.
2020-12-28 19:10:53 +01:00
Emmanuel Gil Peyrot
826fa779c4 xmltab: Add some types. 2020-12-28 19:10:53 +01:00
Emmanuel Gil Peyrot
cf58bceb55 xmltab: Remove safeJID(). 2020-12-28 19:10:52 +01:00
Emmanuel Gil Peyrot
c7bce6ba97 Trim all messages by 24 bytes on 64-bit systems
Message was redefining the slots of its parent class, which allocates
them twice and we don’t want that.
2020-12-27 03:34:48 +01:00
Emmanuel Gil Peyrot
78b3933e4d Stop displaying the traceback when /xhtml fails.
Also make the except more restrictive.

Fixes #3514.
2020-12-26 23:54:37 +01:00
Emmanuel Gil Peyrot
1c5836a90f Fix a warning when running tests.
/home/linkmauve/dev/python/poezio/test/test_config.py:13: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
2020-12-26 23:39:56 +01:00
Emmanuel Gil Peyrot
978d70f38e Update most references to dev.louiz.org to lab.louiz.org.
Redmine is dead.
2020-12-26 23:21:17 +01:00
mathieui
9c8bf93671
plugins: do not fire private_msg event on own messages 2020-12-17 23:22:34 +01:00
mathieui
47ce315492
plugins: do not fire conversation_msg event on own messages 2020-12-17 23:22:31 +01:00
Emmanuel Gil Peyrot
65b8046fe0 from __future__ import annotations
Now that our baseline is Python 3.7, we can rely on type annotations to
be lazily evaluated.
2020-12-12 19:36:18 +01:00
Emmanuel Gil Peyrot
34ec9e3ee1 Don’t import Form (fixup from b3ed6cf44d) 2020-12-12 18:39:40 +01:00
Emmanuel Gil Peyrot
03f18632e9 Mention that we do support Python 3.9 2020-12-12 18:35:20 +01:00
Emmanuel Gil Peyrot
b3ed6cf44d Use some of the new xep_0045 methods from slixmpp 1.6.0 2020-12-12 18:10:10 +01:00
Emmanuel Gil Peyrot
c14a08d708 Use the new xep_0045 elements from slixmpp 1.6.0 2020-12-12 17:28:22 +01:00
Emmanuel Gil Peyrot
93ddfecc6b Bump slixmpp dependency to 1.6.0 2020-12-12 17:27:55 +01:00
668b0138bb
Revert previous commit, move loggging, fix type error
This reverts commit 627f751e0c.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-10-09 15:44:02 +02:00
627f751e0c
poezio/user: rework change_color to only log when necessary
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-10-09 15:11:01 +02:00
Georg Lukas
6224f650d3 Disco#info barejid instead of domain on sent carbons
This is the counter-part to 5e404377d4 for
"sent" carbons.

Signed-off-by: Georg Lukas <georg@op-co.de>
2020-09-15 15:07:02 +02:00
5ff321c229
Remove references to master
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-10 10:33:03 +02:00
b27c01bc9b update.sh: pull main instead
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-10 10:30:31 +02:00
68c0c3edcd Revert "update.sh: bash 'strict mode'"
This reverts commit 235b7a52a4.
2020-09-10 10:11:46 +02:00
9b734c5504 plugins/untrackme: move logging to a less noisy place
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-10 10:11:12 +02:00
235b7a52a4 update.sh: bash 'strict mode'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-10 10:11:12 +02:00
4b01469a62 Migrate to 'main' branch
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-10 10:05:55 +02:00
48373be751 plugins/untrackme: invidio.us closed. Changed default instance
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-08 15:58:02 +02:00
65db4a22d4 plugins/untrackme: toggle display_corrections off
Seems to work ok, and it's quite noisy in the information buffer.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-08 09:52:45 +02:00
Emmanuel Gil Peyrot
81b9f45bbb doc: Add a link to the package on Flathub. 2020-09-04 20:39:41 +02:00
fe960cb825
plugins/code: Prevent traceback when not enough arguments -- thanks Ge0rG
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-04 09:29:19 +02:00
c7a46f1712 Merge branch 'theme-time-format' into 'master'
move date and time SHORT_FORMAT and LONG_FORMAT to the theme

See merge request poezio/poezio!155
2020-08-15 21:22:36 +02:00
03ef9c8d54 move date and time SHORT_FORMAT and LONG_FORMAT to the theme
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-14 22:12:26 +02:00
96f3bd72ac Merge branch 'plugin-untrackme' into 'master'
Plugin untrackme

See merge request poezio/poezio!154
2020-08-14 01:21:19 +02:00
c9f331245f plugins/remove_get_trackers: add deprecation notice
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-14 01:15:53 +02:00
b2f3c0d069 plugins/untrackme: docstring to map_services method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-14 01:15:53 +02:00
a1f69a53d7 plugins/untrackme: new plugin, based on remove_get_trackers
Thanks Perdu for the original work!

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-14 01:15:45 +02:00
a72a484509 Merge branch 'timemarker-uitypes' into 'master'
plugins/time_marker: use now required poezio.ui.types

See merge request poezio/poezio!153
2020-08-09 20:44:41 +02:00
604587a5d9
plugins/time_marker: use now required poezio.ui.types
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-09 20:38:46 +02:00
f065fbaef9 Merge branch 'lastlog-uitypes' into 'master'
plugins/lastlog: adapt to use poezio.ui.types

See merge request poezio/poezio!152
2020-08-09 20:16:20 +02:00
a5b15eafe0
plugins/lastlog: adapt to use poezio.ui.types
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-09 20:09:50 +02:00
37cebbceb0 Merge branch 'info-bar-pos' into 'master'
windows/info_bar: Prevent UnboundLocalError. Thanks genofire

See merge request poezio/poezio!151
2020-07-24 12:18:47 +02:00
2f60a91b80
windows/info_bar: Prevent UnboundLocalError. Thanks genofire
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-24 12:12:56 +02:00
6ddf497e10 Merge branch 'delay-normal' into 'master'
core/handlers: revert change in normal_message handler

See merge request poezio/poezio!150
2020-07-16 10:58:15 +02:00
1e0509ca67
core/handlers: revert change in normal_message handler
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-16 10:52:56 +02:00
6146cf6a4f Merge branch 'delayed-highlight' into 'master'
MucTab: don't prevent highlight on delayed only history

See merge request poezio/poezio!148
2020-07-08 11:51:50 +02:00
860df54883
MucTab: highlight on delayed and not history
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-08 11:46:02 +02:00
73c6e83309 Merge branch 'bookmarks-nick' into 'master'
bookmarks: ensure nick is added to bookmark when specified

See merge request poezio/poezio!139
2020-06-24 19:31:09 +02:00
cf0d222625
core/commands: code style fixes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24 19:25:02 +02:00