Commit graph

3994 commits

Author SHA1 Message Date
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
99df5f5f23 core/commands: use named parameters in _add_bookmarks to make things explicit
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24 19:21:19 +02:00
fd74f8cce5 bookmarks: ensure nick is added when to bookmark when specified
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24 19:21:19 +02:00
6fb1a27674 Merge branch 'muc-close-inexisting-bookmarks' into 'master'
Muc close inexisting bookmarks

See merge request poezio/poezio!147
2020-06-24 18:54:49 +02:00
cf65466bce
MucTab: Ensure bookmark exists before removing it in /close
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-24 18:48:56 +02:00
57cbbc1bde Merge branch 'reorder-gaptabs' into 'master'
Reorder gaptabs

See merge request poezio/poezio!146
2020-06-24 18:46:37 +02:00
9b5ebbfd9c
plugins/reorder: update changelog
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-15 16:35:03 +02:00
75d7f5da93
plugins/reorder: Don't serialize gaptabs as they're recreated automatically
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-15 16:06:48 +02:00
e7b74c19a8 plugins/reorder: Ignore gaptab when parsing as they're recreated automatically
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-15 16:04:55 +02:00
Link Mauve
f9e2d24ee8 Merge branch 'close-leave' into 'master'
Rename /leave into /close, and deprecate /leave

See merge request poezio/poezio!145
2020-06-12 18:48:20 +02:00