d90c65d8e3
Update sticker-picker license to GPL
...
With Link Mauve's permission.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 14:00:55 +02:00
b9db048391
README: Change zlib badge to GPL-3.0-or-later
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 14:00:55 +02:00
23b550e549
Change license for (some previous and) future revisions to GPL-3.0-or-later
...
From this revision on, all changes that were under the following
authors' names are also under GPL-3.0-or-later, and not just future
changes:
- Maxime Buquet (or Maxime “pep” Buquet)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 14:00:55 +02:00
b7ae221e0e
OneToOneTab: convert init_logs to async
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 11:53:34 +02:00
afae226562
PrivateTab: Display initial message when no use_log
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 11:52:27 +02:00
d2048068b2
PrivateTab: pass in 'initial' argument to parent class for logger
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-31 11:22:23 +02:00
1322c2b1c8
plugins/marquee: Ensure a message is sent before correcting
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-29 15:54:51 +02:00
4f9e734a7f
plugins/disco: get_items doesn't have a cached parameter
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-28 15:20:40 +02:00
mathieui
41a45068a4
Filter MUC PMs in MAM
...
Since prosody returns all of the PMs from the room, regardless of who
sent them, we need to filter out messages by full jid here.
2022-03-28 13:45:28 +02:00
a224d8820f
doap: update 384 support notes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-27 20:54:15 +02:00
94d4f382f9
Update Changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-24 21:18:18 +01:00
2a9c67501a
plugins/upload: use correct tab attribute name
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 21:46:17 +01:00
Emmanuel Gil Peyrot
3f70986d57
logger: Remove unused function
2022-03-23 17:35:16 +01:00
f4ce42c8c7
poezio/connection: register xep_0454
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:44:27 +01:00
3c7961dff7
plugins/upload: send encrypted if e2ee enabled on tab
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:44:27 +01:00
5caf2587f6
chattab: add e2e_encryption property
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:44:27 +01:00
cb50120d87
plugins/contact: use f-strings
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:10:36 +01:00
e010abcd95
plugins/contact: Move error handling where the error actually happens
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-23 16:10:05 +01:00
mathieui
def167791d
fix: do not triplicate messages on /message tab openings
...
add a synchronization primitive to avoid /say until the logs are loaded
and synced (otherwise we do the /say THEN the message we just sent can
be loaded from the archive, while also being displayed)
2022-03-23 15:38:00 +01:00
mathieui
6174ca70d9
internal: make command_say async
2022-03-23 15:38:00 +01:00
d6de6dccfa
Update CHANGELOG
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 18:11:56 +01:00
19c8590790
plugin_e2ee: Allow /<name>_fingerprint in RosterInfoTab without argument
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
3c7fb0b792
plugin_e2ee: rework fingerprint display slightly
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
433d5e6f76
plugin_e2ee: new format_fingerprint method to be overriden by plugin
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
b2de905464
plugin_e2ee: get_fingerprint is now async
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:45:30 +01:00
93c03c2b7e
Add py.typed
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-21 17:20:37 +01:00
afaee7e7ec
plugins/b64: specify supported_tab_types; Fix type in plugin_e2ee
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-17 00:13:44 +01:00
dc894b9849
plugin_e2ee: Ensure supported_tab_types is specified in plugin
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-17 00:11:07 +01:00
9168b577cd
plugins/b64: change encrypt signature, fix import order
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 23:33:16 +01:00
c9bc30d587
plugins/b64: adapt to E2EEPlugin.decrypt sign change
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
a9e9c6d38f
Changelog: E2EEPlugin changes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
87cb79aa71
plugin_e2ee: _decrypt_wrapper doesn't need a return type
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
191702a185
plugin_e2ee: Ensure all encrypted messages we handle are processed
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
c202e8e2f3
plugin_e2ee: Use f-string
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
b9abd60673
plugin_e2ee: Add TODO in _encrypt filter
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
cfa1bfc5b2
plugin_e2ee: quit _encrypt filter as soon as we seen encrypted tags
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
c4ce439483
plugin_e2ee: allow normal message to pass through again when not encrypting
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
ccf9c3e4e1
plugin_e2ee: check all encrypted tags in _decrypt and _encrypt
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
2fd3a9ef48
plugin_e2ee: drop message if tab is None and doesn't contain encrypted tag
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
c75573ddf8
plugin_e2ee: let already encrypted messages through
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-16 08:09:11 +01:00
Emmanuel Gil Peyrot
4dde022de8
xhtml: Add a newline after a blockquote
...
Thanks Maranda.
2022-03-11 13:43:27 +01:00
southerntofu
5d14094780
Don't silently traceback when trying to message someone privately in a MUC
...
Using jidstr with slashes "escaped" as backslashes is clever, but
_check_and_create_log_dir still expects a parsable JID to check config.
2022-03-07 14:07:05 -05:00
0676cec53e
impromptu: types, fstrings, naming
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 22:38:03 +01:00
cdf38ace9f
impromptu: wait for subject instead of self-presence
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 22:38:03 +01:00
ee82c6717d
impromptu: Ensure a room is empty before joining
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 22:38:03 +01:00
1e6073e0ec
plugin_e2ee: ignore mypy failures with passthrough metaclass param
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 20:44:07 +01:00
5d5d6b7ed0
plugin_e2ee: encrypt: also search tabs for barejids if not found
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 20:44:07 +01:00
72ec3cd73b
plugin_e2ee: don't fail on tab.jid if tab is None
...
I doubt this is the proper fix, there are still paths that use tab below
that.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 20:44:07 +01:00
33555db0c1
plugin_e2ee: allow decrypt call to be async
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-01 20:44:07 +01:00
mathieui
8ca55b4442
fix: do not traceback on encrypted payloads without a tab open
2022-03-01 20:44:07 +01:00