kaliko
262583133e
Dereference potential linked launch.sh file
...
It can be useful to have launch.sh linked somewhere outside the
repository clone. For instance to expose launch.sh in the $PATH.
Exposing launch.sh with a symbolic link outside the git repository
breaks poezio execution through launch.sh. “ cd dirname "$0" ” will get
to the directory holding the link and not within the git repository.
2021-01-30 11:01:20 +01:00
mathieui
9f1e80cd5c
Remove force_remote_bookmarks option
...
It is 2021, servers ought to not be broken that much.
2021-01-29 11:23:31 +01:00
mathieui
b2c846f959
Use typing_extensions for TypedDict
2021-01-29 10:25:00 +01:00
mathieui
233d6d2252
Fix /destroy error cases
2021-01-28 19:03:54 +01:00
mathieui
f808f0cff9
core: move initial commands in a separate files
...
(improve core.py SNR)
2021-01-28 19:03:54 +01:00
mathieui
08f48b0c8b
Move get_error_message to common
2021-01-28 19:03:54 +01:00
mathieui
e1720c8e23
Also receive self-message events in plugins
...
fixes omemo messages from another of our connected clients
2021-01-24 12:50:08 +01:00
mathieui
98bd4c241e
muctab: fix closing a tab not in bookmarks
...
………
2021-01-24 12:41:09 +01:00
Georg Lukas
5cfb0cbf43
plugins/contact: iterate all data forms, thx. mathieui
2021-01-22 16:06:59 +01:00
Emmanuel Gil Peyrot
12ab0a7e80
Use schema.org properties for documentation, logo and screenshot.
...
This basically reverts 71eba168e4
.
2021-01-02 19:52:59 +01:00
mathieui
c94236b23b
Fix nick changes
...
Due to change again once slixmpp gets a proper API for this
2021-01-02 19:05:07 +01:00
mathieui
c9fe8f0737
Add aesgcm:// urls to the /link plugin
2021-01-02 14:07:16 +01:00
mathieui
aea95e4343
CI: pull slixmpp from gitlab
2021-01-02 14:00:26 +01:00
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