93b204ddc6
Bump version to 0.4.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:37:05 +02:00
5d62fc25ae
xmpp: Update homepage url
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:30:03 +02:00
48d5e19e9d
xmpp: Update changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:25:45 +02:00
663b73f676
xmpp: Remove more useless features
...
They can be added directly via tokio-xmpp
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:25:22 +02:00
ad5806a358
xmpp: ensure cargo fetches 3.x updates for tokio-xmpp
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-18 16:12:52 +02:00
Doggo
209c5b779a
Fix bug where ContactAdded event was not firing due to a bad if statement.
2023-05-18 16:06:43 +02:00
Emmanuel Gil Peyrot
58f6d5494a
Bump tokio-xmpp and xmpp dependencies
...
It still builds and tests pass without any other change.
2023-04-03 12:13:37 +02:00
216d9c4a8d
xmpp: rustfmt Message events commits
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-27 00:07:57 +01:00
f2a599325e
xmpp: Update changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 20:14:35 +01:00
c759516508
xmpp: *Message events now include an optional id
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 20:09:20 +01:00
d7a1cd71a9
xmpp: Add ServiceMessage event
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 17:42:44 +01:00
8a823af56b
xmpp: Remove unnecessary features
...
Fixup for 826914da54
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 17:41:17 +01:00
8e2224bc0f
xmpp: pass in headers for http upload
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
28df82c7bd
xmpp: disconnect method on Agent
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
a15a028383
xmpp: hello_bot: add catchall for Event
...
Masks HTTPUploadedFile which is useless here as we don't call the upload
method.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
c8d7602bd4
xmpp: only specify "fs" dep for tokio
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
a59c618ed0
xmpp: HTTP File Upload
...
Implement XEP-0363 HTTP File Upload in xmpp-rs.
The current interface is as is because of a limitation of our libraries.
It is not possible to await on an IQ to get a result, so we have to
workaround it by storing data on the Agent and fetching it back when we
get the result.
The client will have to first call `upload_file_with` and then listen on
Event::HttpUploadedFile, which are decoupled actions, instead of
awaiting on upload_file_with and getting the URL as a result directly.
`upload_file_with` doesn't yet find the upload service by itself for the
same reason as above.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
Emmanuel Gil Peyrot
46c2b384e2
xmpp: Bump xmpp-parsers
2022-03-07 13:15:08 +01:00
f0b302da1f
xmpp: Proxy tls-rust
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-25 18:52:48 +01:00
Astro
48ce51b4ad
tokio-xmpp: release 3.0.0
2021-01-13 17:28:03 +01:00
Emmanuel Gil Peyrot
1e8d3c39bf
xmpp-parsers: Release version 0.18.0
2021-01-13 00:39:16 +01:00
Emmanuel Gil Peyrot
c3783a77b6
xmpp: Use tokio 1.0
2020-12-30 03:18:17 +01:00
e1f2e2653a
xmpp: re-add bits that weren't moved from wait_for_events to handle_iq
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-07 11:41:40 +02:00
a8e13a61d7
xmpp: Remove unused import Element
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-07 11:40:20 +02:00
9d17a79813
xmpp: split wait_for_events methods
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-09-07 09:58:26 +02:00
b85aa29377
Finish removing 'rs' suffix in libs
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-07-15 10:49:50 +02:00
Emmanuel Gil Peyrot
714d850e69
Remove the -rs suffix of jid, minidom and xmpp
...
We know those are Rust libraries, no need to add it to the path. This
synchronises their directory with the crate name, hopefully reducing
confusion.
2020-06-22 02:17:32 +02:00