summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-09Merge branch 'aiodns-gethostbyname' into 'master'mathieui
Use gethostbyname when using aiodns See merge request poezio/slixmpp!212
2022-09-09Merge branch 'mypy-workaround' into 'master'mathieui
Fix gitlab pipelines See merge request poezio/slixmpp!217
2022-08-29fix emoji==2.0.0 compatibilitynicoco
2022-08-29xmlstream: ignore task type (mypy)nicoco
This is not satisfying, but having gitlab pipelines running would be nice, wouldn't it?
2022-08-23Merge branch 'doap-sasl-anon' into 'master'Link Mauve
DOAP: Add 0175. It's been here forever See merge request poezio/slixmpp!215
2022-08-23DOAP: Add 0175. It's been here foreverMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-21Merge branch 'xep-0461' into 'master'Link Mauve
XEP-0461: Message Replies See merge request poezio/slixmpp!213
2022-08-21Merge branch 'optional-setters' into 'master'Maxime Buquet
JID: Make node and resource setters accept None See merge request poezio/slixmpp!214
2022-08-21JID: Make node and resource setters accept NoneEmmanuel Gil Peyrot
This is the proper way to unset these.
2022-08-20XEP-0461: Message Repliesnicoco
2022-07-31Use gethostbyname when using aiodnsDaniel Roschka
Slixmpp behaves differently when resolving host names, whether aiodns is used or not. With aiodns only DNS is used, while without `asyncio.loop.getaddrinfo()` is used instead, which utilizes the Name Service Switch (NSS) to resolve host names by other means (hosts-file, mDNS, ...) as well. To unify the behavior, this replaces the use of `aiodns.DNSResolver().query()` with `aiodns.DNSResolver().gethostbyname()`. This makes the behavior resolving host names more consistent between using aiodns or not, as both now honor the NSS configuration and removes the need for the previously existing workaround to resolve localhost.
2022-07-16Merge branch 'fix-xep_0115-static' into 'master'Maxime Buquet
XEP-0115: Make get_caps() async See merge request poezio/slixmpp!203
2022-07-12Merge branch 'mini_dateutil-no-more' into 'master'Maxime Buquet
Remove mini_dateutil and replace it with datetime See merge request poezio/slixmpp!210
2022-07-12Merge branch 'prevent-naive-datetime' into 'master'Maxime Buquet
XEP-0203: Prevent naïve datetime from being passed Closes #3471 See merge request poezio/slixmpp!211
2022-07-12Merge branch 'affs-outcast-jid' into 'master'Link Mauve
xep_0045: Require JID when setting outcast affiliation See merge request poezio/slixmpp!188
2022-07-12Merge branch 'nicoco-master-patch-90506' into 'master'Link Mauve
Add xep_0356 to plugins.__all__ See merge request poezio/slixmpp!201
2022-07-12Merge branch 'xep0356-v0.4' into 'master'Link Mauve
XEP-0356: namespace version bump See merge request poezio/slixmpp!206
2022-07-12Merge branch 'default-to-CAs' into 'master'Link Mauve
xmlstream: load default CA store by default See merge request poezio/slixmpp!209
2022-07-12XEP-0203: Prevent naïve datetime from being passedEmmanuel Gil Peyrot
The specification says “The format MUST adhere to the dateTime format specified in XEP-0082 and MUST be expressed in UTC.” We now respect this requirement, by rejecting naïve datetimes with a ValueError exception, and converting the passed datetime to UTC. Fixes #3471.
2022-07-12thirdparty: Remove the mini_dateutil moduleEmmanuel Gil Peyrot
The builtin datetime module already provides the same features, there is no need to carry that code any longer.
2022-07-12XEP-0202: Remove usage of mini_dateutilEmmanuel Gil Peyrot
Like the previous commit, we now use the builtin datetime module always.
2022-07-12XEP-0082: Move from mini_dateutil to datetimeEmmanuel Gil Peyrot
Since datetime got merged into Python (probably around py3k), it’s now usable for all of our needs and so we can do away with the old fallback.
2022-07-11xmlstream: load default CA store by defaultMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-06-22Merge branch 'dns-reconnect' into 'master'Link Mauve
Fix delayed reconnect after DNS failure See merge request poezio/slixmpp!208
2022-06-22Fix delayed reconnect after DNS failureGeorg Lukas
The XML stream will re-schedule a reconnect on socket errors, except for DNS failures. If a user has no uplink connection, then DNS will also fail, preventing an automatic reconnection. This patch consolidates the two code paths and sets a maximum back-off time of 5min (300s).
2022-06-09XEP-0356: namespace version bumpNicolas Cedilnik
2022-06-09XEP-0115: Make get_caps() asyncNicolas Cedilnik
2022-05-28Merge branch 'origin-id-non-default' into 'master'Link Mauve
Change origin-id defaults to False See merge request poezio/slixmpp!202
2022-05-28Change origin-id defaults to FalseMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-05-19Add xep_0356 to plugins.__all__Nicoco K
2022-05-15Merge branch 'nicoco-master-patch-38938' into 'master'mathieui
Fix typo in chat markers (fixes #3469) Closes #3469 See merge request poezio/slixmpp!199
2022-05-15Fix typo in chat markers (fixes #3469)Nicoco K
2022-04-06Merge branch 'release-version-1.8.2' into 'master'slix-1.8.2mathieui
Update version to 1.8.2 See merge request poezio/slixmpp!197
2022-04-06Update version to 1.8.2mathieui
2022-04-05Merge branch 'starttls-exception' into 'master'mathieui
features_starttls/Proceed: raise exception on InvalidCABundle See merge request poezio/slixmpp!196
2022-04-05features_starttls/Proceed: raise exception on InvalidCABundleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-05Merge branch 'exn-invalidcabundle-arg' into 'master'mathieui
Pass in useful value when raising InvalidCABundle See merge request poezio/slixmpp!195
2022-04-05Pass in useful value when raising InvalidCABundleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-01Merge branch 'fix-old-session' into 'master'mathieui
stream features: fix old "session" establishment Closes #3468 See merge request poezio/slixmpp!193
2022-04-01stream features: fix old "session" establishmentmathieui
As it is and old and deprecated code path, nobody noticed that it was broken by the new filtering code. Fix #3468
2022-03-21Merge branch 'upload-encrypt' into 'master'Maxime Buquet
XEP-0454: OMEMO Media Sharing See merge request poezio/slixmpp!189
2022-03-20xep_0454: str.removeprefix is available since 3.9Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20Merge branch 'release-version-1.8.1' into 'master'slix-1.8.1mathieui
Update version to 1.8.1 See merge request poezio/slixmpp!192
2022-03-20Update version to 1.8.1mathieui
2022-03-20Merge branch 'allow-disabling-defusedxml' into 'master'mathieui
Do not use defusedxml by default if available See merge request poezio/slixmpp!190
2022-03-20xep_0454: keep original filename extension if availableMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20xep_0454: use staticmethods where possibleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-20setup.py: add cryptography in extras_require; update exampleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-19Only defuse stdlib through an env varmathieui
https://github.com/inducer/relate/issues/905
2022-03-19doap: add 454 entryMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>