Commit graph

2931 commits

Author SHA1 Message Date
mathieui
b23b805dc5 docs: Fix some wrong references 2022-02-27 20:32:48 +01:00
mathieui
11b555af20 Merge branch 'fix-join-muc-wait' into 'master'
Fix join_muc_wait: end join only upon receiving the room subject

See merge request poezio/slixmpp!185
2022-02-27 20:30:12 +01:00
mathieui
06172ea896 XEP-0045: return occupants and history when join is complete 2022-02-27 18:11:10 +01:00
mathieui
815b7d5af7 Fix join_muc_wait: end join only upon receiving the room subject 2022-02-27 16:22:59 +01:00
mathieui
28fe68c7d3 Merge branch 'end-filter-run' into 'master'
fix: allow cancelling the run_filters coroutine

See merge request poezio/slixmpp!184
2022-02-18 22:29:02 +01:00
mathieui
d15a37e146 fix: allow cancelling the run_filters coroutine
otherwise it will leak forever into the event loop and generate
tracebacks when closing it
2022-02-16 22:11:19 +01:00
mathieui
98dba869c7 Merge branch 'deprecate-xmpp-process' into 'master'
deprecate XMLStream.process()

See merge request poezio/slixmpp!183
2022-02-16 21:26:03 +01:00
mathieui
bcb4495c6d deprecate XMLStream.process() 2022-02-15 21:57:49 +01:00
mathieui
22b00c6073 Merge branch 'update-doc-yieldfrom' into 'master'
docs: remove yield from and fix some old changes

See merge request poezio/slixmpp!182
2022-02-15 20:58:20 +01:00
mathieui
a50bffae89 docs: remove yield from and fix some old changes 2022-02-15 20:54:36 +01:00
mathieui
92c3f69829 Merge branch 'fix-doap' into 'master'
doap: add missing 1.7.1 release and fix 1.7.0 link

See merge request poezio/slixmpp!181
2022-02-15 20:53:48 +01:00
mathieui
1e7d7bf8cb Merge branch 'ibb-fix-races' into 'master'
fix: specific cases in xep-0047 with network race conditions

See merge request poezio/slixmpp!179
2022-02-07 19:03:31 +01:00
mathieui
53f0971fd0 doap: add missing 1.7.1 release and fix 1.7.0 link 2022-02-05 13:19:09 +01:00
mathieui
e543e22e78 fix: specific cases in xep-0047 with network race conditions 2022-02-05 12:38:48 +01:00
mathieui
714f9aae0d Merge branch 'bugfix/xep_0009' into 'master'
xep-0009: fixed bugs

See merge request poezio/slixmpp!172
2022-02-04 23:11:28 +01:00
mathieui
9eb4462acc Merge branch 'better-jid-errors' into 'master'
jid: Improve error reporting on IDNA validation failure

See merge request poezio/slixmpp!170
2022-02-04 23:07:51 +01:00
mathieui
d5502c9be7 Merge branch 'ca-cert-compat' into 'master'
Don't break ca-bundle API just yet

See merge request poezio/slixmpp!178
2022-02-04 23:07:00 +01:00
mathieui
33efbd4d7b Merge branch 'fix-moderation-bug' into 'master'
fix: missing <retract/> on moderate

See merge request poezio/slixmpp!180
2022-02-04 23:06:41 +01:00
mathieui
e344c0c303 fix: missing <retract/> on moderate 2022-02-04 19:25:53 +01:00
9f38c8944d
Don't break ca-bundle API just yet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-01-03 23:36:25 +01:00
Link Mauve
e56930e0a1 Merge branch 'ca-cert-list' into 'master'
Allow Xmlstream.ca_certs to be an iterable

See merge request poezio/slixmpp!177
2022-01-03 11:04:36 +01:00
d733c54518
Allow Xmlstream.ca_certs to be an iterable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-01-03 10:30:09 +01:00
834ea8ed74 Merge branch 'path-ca-certs' into 'master'
Make Xmlstream.ca_certs an Optional[Path] instead of Optional[str]

See merge request poezio/slixmpp!176
2021-12-28 18:35:11 +01:00
90662d148e
Make Xmlstream.ca_certs an Optional[Path] instead of Optional[str]
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-28 18:28:36 +01:00
Link Mauve
237405e3a0 Merge branch 'muc-presense-destroy' into 'master'
xep_0045: register_stanza_plugin(MUCPresence, MUCDestroy)

See merge request poezio/slixmpp!175
2021-12-22 18:19:50 +01:00
623d2cc27e
xep_0045: register_stanza_plugin(MUCPresence, MUCDestroy)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-19 00:51:42 +01:00
mathieui
6fb4617732 Merge branch 'remove-loop-param' into 'master'
fix: remove loop parameter (3.10)

See merge request poezio/slixmpp!174
2021-12-13 23:26:04 +01:00
mathieui
0e5a4726af ci: fix curl image to an official one 2021-12-13 23:08:55 +01:00
mathieui
8ba054dd53 ci: allow failure in python 3.11 for now 2021-12-13 22:43:52 +01:00
mathieui
e1b135c667 ci: only run integration tests once 2021-12-13 22:37:07 +01:00
mathieui
4ca1de92b3 fix: integration tests
prosody got more restrictive?
2021-12-13 22:35:53 +01:00
mathieui
799a6a07a9 fix: remove loop parameter when deprecated (3.10) 2021-12-13 21:31:46 +01:00
mathieui
be6dde17f1 Revert "Replace asyncio.ensure_future() with asyncio.create_task()"
This reverts commit bac6a4b2bf.

This is not actually something we want
2021-12-13 21:25:41 +01:00
mathieui
14ae84d666 Merge branch 'ci-add-python-versions' into 'master'
ci: add python 3.10 and 3.11 testing

See merge request poezio/slixmpp!173
2021-12-13 20:41:00 +01:00
mathieui
0cc1095ffc Merge branch 'asyncio-create-task' into 'master'
Replace asyncio.ensure_future() with asyncio.create_task()

See merge request poezio/slixmpp!169
2021-12-13 20:40:15 +01:00
mathieui
4cab1f62aa ci: add python 3.10 and 3.11 testing 2021-12-13 20:33:05 +01:00
Tim-Oliver Husser
4d7786a830 Changed iq.attrib['to'] to iq['to'], same for 'from'. 2021-12-13 13:53:12 +01:00
Tim-Oliver Husser
8fccfc452b replaced params.xml.findall with params.findall in xml2fault 2021-12-13 13:51:40 +01:00
Emmanuel Gil Peyrot
ed514e6f73 jid: Improve error reporting on IDNA validation failure
At least knowing the failing domain should help a lot while debugging.
2021-11-18 15:33:37 +01:00
Emmanuel Gil Peyrot
bac6a4b2bf Replace asyncio.ensure_future() with asyncio.create_task()
The latter function got introduced in Python 3.7, which is conveniently
our MSPV, so let’s use that.
2021-11-18 15:33:03 +01:00
Link Mauve
d4067275ff Merge branch '0045-invite-JID' into 'master'
xep_0045: Ensure invite and decline to/from are JIDs

See merge request poezio/slixmpp!167
2021-07-17 00:33:15 +02:00
91d32bd066
xep_0045: Ensure invite and decline to/from are JIDs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-07-17 00:21:00 +02:00
mathieui
22fa8bc4d9 Merge branch 'more-typing' into 'master'
Add more typing

See merge request poezio/slixmpp!166
2021-07-15 10:01:03 +02:00
mathieui
5c54806578 stanza: fix circular imports
ew
2021-07-05 23:05:57 +02:00
mathieui
42ca51e2b1 ci: add a mypy stage 2021-07-05 22:44:41 +02:00
mathieui
de6c19c9cd add a mypy.ini file 2021-07-05 22:42:28 +02:00
mathieui
ca1cc73c79 xmlstream: refine type check 2021-07-05 22:42:18 +02:00
mathieui
9489586cb4 plugins: use classvar properly 2021-07-05 22:42:18 +02:00
mathieui
524c352da3 clientxmpp: cleanup some types 2021-07-05 22:42:18 +02:00
mathieui
35eafadb44 features: fix typing
for an annoying mypy bug
2021-07-05 22:42:18 +02:00