Commit graph cusku/Cargo.toml
Author SHA1 Message Date
01a1b9a185 feat: vendored-openssl feature 2026-06-23 17:37:03 +02:00
d54ef5f265 feat: gitlab feature 2026-06-23 17:30:09 +02:00
pep
43106fc657
Update dependencies
Update xmpp-rs to 559159d4, hmac to 0.13 and sasl to 0.11

Signed-off-by: pep <pep@bouah.net>
2026-05-26 11:45:31 +02:00
pep
be1379f13f
Update xmpp dep to 22292c86c
Signed-off-by: pep <pep@bouah.net>
2026-01-15 18:52:09 +01:00
pep
457c40bffe Add build script to make git version available in code
Signed-off-by: pep <pep@bouah.net>
2026-01-08 23:51:11 +01:00
pep
990829d72c hooks: Add updated_at parameter to MergeRequest and Issue hooks
Signed-off-by: pep <pep@bouah.net>
2026-01-08 13:48:15 +01:00
pep
8dfb89fe38
bot: resync on 'rejoin' rather than leave and join
The xmpp crate doesn't yet have mechanisms to wait for the next incoming
presence and so the `leave_room` method returns after the unavailable
presence has been set. Thus the code may still think it's being joined
when it pretty soon going not to be.

Instead, we chose to send another join presence to signal the MUC we
want to get the full state again (occupants, subject), without leaving.

Signed-off-by: pep <pep@bouah.net>
2025-12-28 19:12:31 +01:00
pep
eb0b7ff020
Don't follow bookmarks autojoin config
If this flag is enabled, the library expects bookmarks to be added to
the account itself, and when there's no bookmark for a room, the
corresponding room is automatically left. This doesn't work in the case
where many instances of the bot are on the same account.

It may work in the future if support for various sets of rooms/hooks are
added, but for the moment it seemed easier (and maybe also more useful
for other users of the xmpp-rs lib) to implement this.

Signed-off-by: pep <pep@bouah.net>
2025-11-15 22:00:26 +01:00
pep
a4bbd4fa48
Update dep xmpp-rs to 239a0191
Signed-off-by: pep <pep@bouah.net>
2025-11-13 18:29:28 +01:00
pep
4b0daaf0a1
Update dep camino's features
Signed-off-by: pep <pep@bouah.net>
2025-11-13 18:29:10 +01:00
pep
9d43e6085d
Update toml dep to 0.9
Signed-off-by: pep <pep@bouah.net>
2025-08-04 23:51:26 +02:00
pep
3589fe6348
Update edition to 2024
And remove unstable let_chains feature which isn't needed anymore.

Signed-off-by: pep <pep@bouah.net>
2025-07-19 23:03:51 +02:00
pep
7eb6f190b2
Update xmpp-rs dep to e3a4aae42d9 with rustls fix
Signed-off-by: pep <pep@bouah.net>
2025-05-11 21:48:50 +02:00
pep
c98c61daa1
Update dependencies
Signed-off-by: pep <pep@bouah.net>
2025-05-04 22:46:39 +02:00
pep
8d1908c488
Update xmpp-rs upstream to 51ce661f8d
Fixes a traceback on disconnect

Signed-off-by: pep <pep@bouah.net>
2025-05-03 21:10:52 +02:00
pep
29881089d3
Update xmpp-rs upstream to 23c947d081
Signed-off-by: pep <pep@bouah.net>
2025-05-03 12:32:06 +02:00
pep
9eeca94366
Update to xmpp-rs (ec72d71551) to get serde support for ResourcePart
Signed-off-by: pep <pep@bouah.net>
2024-12-29 21:06:13 +01:00
pep
c29e87be03 Update xmpp dep to main (5bc94dce95)
Signed-off-by: pep <pep@bouah.net>
2024-12-19 23:59:28 +01:00
pep
d8d393b180
Update gitlab crate to 0.1706
And discover all the deprecation warnings for Webhooks. That sounds like
we're gonna stop supporting gitlab soon-ish.

Signed-off-by: pep <pep@bouah.net>
2024-12-17 21:07:08 +01:00
pep
456317fb68
Update gitlab dep to 0.1705
Signed-off-by: pep <pep@bouah.net>
2024-11-21 17:28:08 +01:00
Maxime “pep” Buquet
77c193bfb6 Update to xmpp main (274baaef9afb)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-08-31 00:40:37 +02:00
Maxime “pep” Buquet
9bc8a77da6 Add syntax-highlighting feature
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-08-31 00:39:55 +02:00
7b63e24168
Update to xmpp 0.6
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-08-31 00:39:49 +02:00
6285c0b1a4 Async file read 2024-08-21 00:07:26 +02:00
66e4131bd3 Use Utf8PathBuf
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-08-20 23:47:48 +02:00
Maxime “pep” Buquet
890eb8fba5
Update gitlab dep to 0.1701
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-26 18:47:01 +02:00
Maxime “pep” Buquet
42183ea860
Restrict jid dependency version
I still wish I didn't have to, but it seems cargo is pulling 0.11 now
that it's released, when xmpp still depends on 0.10.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-25 09:12:50 +02:00
Maxime “pep” Buquet
1301275788
Compare payload's hmac signature for forgejo
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-10 13:19:04 +02:00
Maxime “pep” Buquet
8e94435604
Attempt at Forgejo Webhook support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-10 02:34:37 +02:00
Maxime “pep” Buquet
d0cb431546
Update dep: bytes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-09 23:20:19 +02:00
Maxime “pep” Buquet
d73e149cb4
Don't enable all tokio features
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-04 00:45:51 +02:00
Maxime “pep” Buquet
23666b6219
Don't enable all hyper features
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-04 00:38:03 +02:00
Maxime “pep” Buquet
1ffa463fd6
Update dep: hyper
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-04 00:35:40 +02:00
Maxime “pep” Buquet
0eb47eac7b
Update dep: clap
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-02 21:52:54 +02:00
Maxime “pep” Buquet
14c2802a82
Update dep: toml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-07-02 21:50:31 +02:00
Maxime “pep” Buquet
a5491e7a25
Update gitlab version to 0.1610
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-04-19 17:05:48 +02:00
Maxime “pep” Buquet
861f26b9e4
Release 0.2.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-21 13:21:51 +02:00
Maxime “pep” Buquet
acf22a05c1
Update xmpp dependency to 0.5
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-21 13:13:47 +02:00
Maxime “pep” Buquet
9c54e7e1db
Update gitlab dep
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-30 19:01:25 +02:00
Maxime “pep” Buquet
a81c0e631c Stop using clap's 'derive' feature for a single argument
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-27 21:05:00 +02:00
Maxime “pep” Buquet
135a2c1611 Use toml config file instead of arguments
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-27 21:05:00 +02:00
Maxime “pep” Buquet
2637458bbd Rename project to 'cusku'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-27 17:38:37 +02:00
Maxime “pep” Buquet
6074db176a Add argument parsing
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-21 23:49:02 +02:00
Maxime “pep” Buquet
0cba90dd68 Connect to XMPP, join room, send message
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-21 23:49:02 +02:00
Maxime “pep” Buquet
b8aefb0159
Patriotism is a superstition artificially created and maintained through a network of lies and falsehoods; a superstition that robs man of his self-respect and dignity, and increases his arrogance and conceit.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-05-20 16:19:24 +02:00