Commit log

4681715 update changelogs

lemonsh created

de564a5 use thiserror in tokio-xmpp and minidom

lemonsh created

83635e6 Move docs host once more

Click to expand commit body
This new host only supports rsync-over-ssh, which means that we need to
use rsync-protocol syntax (`::` instead of `:` to separate host and
path), use a module name in front of the path (`www`) and explicitly
request ssh (`--rsh=ssh`).

skip-changelog, build infra change only.

Jonas Schäfer created

ccdf271 Fix docs build with current nightly

Click to expand commit body
skip-changelog, we don't officially support nightly.

See-Also: https://github.com/rust-lang/rfcs/pull/3631
See-Also: https://github.com/rust-lang/rust/pull/138907

Jonas Schäfer created

3ffff26 Bump xso version to 0.2.0

Jonas Schäfer created

5ab4f39 Bump xso_proc version to 0.2.0

Click to expand commit body
skip-changelog, we do not keep a dedicated changelog for xso-proc.

Jonas Schäfer created

ff9c3dc Bump minidom version to 0.17.0

Jonas Schäfer created

5b265eb Move to another docs host

Click to expand commit body
skip-changelog, no user-visible change.

Jonas Schäfer created

948a1a3 CONTRIBUTING: Add clause against capitalism

Click to expand commit body
Thanks again GoToSocial's stub CoC.
https://codeberg.org/superseriousbusiness/gotosocial/src/commit/9b7db51436/CODE_OF_CONDUCT.md

skip-changelog.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

ccc7187 CONTRIBUTING: Add clause against "AI"

Click to expand commit body
In quotes, because AI generally means a lot more than what people use
the word for nowadays.

Copied straight from GoToSocial's stub code of conduct.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

03c7310 xmpp: Stop proxying tokio-xmpp event in escape-hatch, add our own variants

Click to expand commit body
This was causing issues with Clone-ing tokio-xmpp Event-s as they
include Error-s which are typically not Clone-able. Event and Stanza
aren't Clone-able either so might as well do our own stuff here.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

a635d08 README: Reorder sections

Click to expand commit body
skip-changelog: readme.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

6fa9b83 README: Update project description

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

99f9005 minidom: Include prefixes in serialization when using `Element::from_reader_with_prefixes`

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

0cf06f0 xmpp: Allow <confirm/> in message with empty body

Click to expand commit body
skip-changelog: bugfix for previous not yet released change

Adrien Destugues created

9d91b02 Revert "xmpp-parsers: Remove optional child from sm element"

Click to expand commit body
This reverts commit 0a1b291574cb02090f26798e7c322b0db2ce42e7 once again.

This is currently required to connect to Prosody, otherwise the parser
will choke on the extra undocumented child.

I still wonder if required (4e0cd5d96bfe92f527dd36c51fd1e41526426f7c)
would be useful to support then, as it might also be found in the wild.

Link Mauve created

3e794d3 xmpp: extend escape-hatch feature to the receiving part

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

fbdd5f7 xmpp: document 'escape-hatch' feature

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

b1c80f4 jid: use "jid" instead of "::jid" in quote support

Click to expand commit body
This causes issues in crates using it because they need to have "jid"
listed as a direct dependency when it's not always obvious (version
mismatch etc. when something already uses jid as a dep)

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

2c81b6d xmpp: Add XEP-0070 authentification support

PulkoMandy created

155ad9b parsers: Add Confirm from XEP-0070

PulkoMandy created

1052aaf parsers: fix documentation typo

PulkoMandy created

0a1b291 xmpp-parsers: Remove optional child from sm element

Click to expand commit body
When the required child was added and subsequently reverted, it was
noted that optional and required were never defined, and only appeared
in old XEP-0198 examples.  The XEP has been fixed already[1].

This basically reverts 0f0759b2075de7e6d6b98ced9979412da8254913.

[1] https://github.com/xsf/xeps/pull/1447

Link Mauve created

621c588 parsers: re-export xso::error::FromElementError

Click to expand commit body
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

653a10b tokio-xmpp: impl PartialEq on event::Stanza

Click to expand commit body
skip-changelog: Stanza hasn't been in a release yet.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

7c87d87 parsers: fix text field namespacing in StreamError

Click to expand commit body
skip-changelog

Saarko created

0ebc3ca tokio_xmpp/examples: Use server arg in echo_component

Click to expand commit body
skip-changelog: not yet released? Not so much important anyway

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

9803546 tokio-xmpp: Re-export xso::error::FromElementError

Click to expand commit body
skip-changelog: code requiring xso hasn't been released yet

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

a58fb7e tokio-xmpp: Bump rustls-native-certs and webpki-roots

Click to expand commit body
skip-changelog: This is just a dependency bump.

Link Mauve created

e70dd95 tokio-xmpp: Bump hickory-resolver to 0.25

Link Mauve created

c11075d tokio-xmpp: Bump rand to 0.9

Link Mauve created

4f270bf sasl: Bump getrandom to 0.3

Click to expand commit body
They renamed getrandom::getrandom() to getrandom::fill().

Link Mauve created

e3b1676 tokio-xmpp: remove code duplicates for direct tls and starttls connectors

Saarko created

c674c14 tokio-xmpp/client: add directTLS connection method

Saarko created

02a70ed Fix 'elided lifetime' warning from nightly

Click to expand commit body
Nightly 1.90. The fix passes on stable 1.88.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Maxime “pep” Buquet created

bdae845 xso: relax the feature = "std" requirement for xso::dynxso

Jonas Schäfer created

345209b xso: add specialized Xso<dyn Trait> container

Jonas Schäfer created

7f5542e xso: add support for dynamically typed XSOs

Jonas Schäfer created

59af49c xso-proc: provide FromXml::xml_name_matcher on derived impls

Click to expand commit body
That way, derived implementations can also make use of the performance
benefits.

Jonas Schäfer created

126588b xso: allow FromXml implementations to provide matching hints

Click to expand commit body
That way, callers can put multiple candidate implementations in, for
example, a sorted vector and more efficiently select candidates to try
when looking at a new element.

Jonas Schäfer created

d7b6248 xso: add type-erased and dyn-compatible variant of AsXml

Click to expand commit body
That way, we don't need to know the specific type of iterator or even
iteree anymore. This can turn out useful when working with `Box<dyn _>`,
that is, in contexts where we don't know the (possible or actual) types
at compile time.

Jonas Schäfer created

ee9ffb2 xso: make FromEventsBuilder implementations around Box more versatile

Click to expand commit body
By removing the implicit `Sized` bound, they can be used with `dyn _`.
The `Sized` bound is unnecessary for a boxed value, so it is a
superfluous restriction. Also, the use with `dyn _` may turn out useful
in the future when we want to allow type-erased XSOs.

Jonas Schäfer created

1262b56 Fix parsing of stream errors

Click to expand commit body
skip-changelog, because there's no release with the stream_error module
yet.

Jonas Schäfer created

e438813 tokio_xmpp: properly process <stream:error/> while waiting for features

Click to expand commit body
Before this, a stream error would not be readable by user code, as the
`recv_features()` function would not even attempt to parse it. This
change allows application code to react to stream errors which are
received before stream features are received.

skip-changelog, because there's no release with the xmlstream module
yet.

Jonas Schäfer created

af7e47a Add changelog entry for starttls nonzas

Click to expand commit body
They have been added in 54e1a98cd already.

Jonas Schäfer created

c229ab0 Add support for <failure xmlns=starttls/>

Click to expand commit body
Specified in RFC 6120 §5.4.2.2

Jonas Schäfer created

dc2477e Revert "xmpp-parsers: Support required in SM feature"

Click to expand commit body
This reverts commit 4e0cd5d96bfe92f527dd36c51fd1e41526426f7c.

Maxime “pep” Buquet created

4e0cd5d xmpp-parsers: Support required in SM feature

Click to expand commit body
This was forgotten in 0f0759b2075de7e6d6b98ced9979412da8254913.

That element is only specified in the XML schema, its semantics aren’t
defined anywhere, but we can guess them anyway.

Link Mauve created

74f67b9 xmpp-parsers: Port Jingle MI to use the derive macros

Click to expand commit body
The only missing check is that #[xml(element)] doesn’t support filtering
on elements with a specific name yet.

skip-changelog: This isn’t a user-visible change.

Link Mauve created

3920ad3 xmpp-parsers: Use the new lang meta everywhere

Click to expand commit body
Stop parsing xml:lang manually, instead use the #[xml(lang)] meta which
tracks it using the XML semantics, inheriting it from the most recent
ancestor.

skip-changelog: This isn’t a user-facing change.

Link Mauve created