Commit Graph

20 Commits

Author SHA1 Message Date
ed0aa2a2bf Allow setting an avatar image for the bot's account 2025-08-10 00:06:22 -07:00
001a0214d8 Switch to axum from warp
The warp repo hasn't seen any activity in over a year; project seems
fairly dead.
2025-07-30 01:19:07 -07:00
720ecac8f8 Change license to AGPLv3
All checks were successful
CI / CI (push) Successful in 3m51s
2025-07-30 01:19:07 -07:00
ffd977b6d5 Print version at startup 2025-07-29 03:40:15 -07:00
0f8f580050 Upgrade all dependencies
Some checks failed
CI / CI (push) Has been cancelled
Also 'cargo clippy --fix', as current clippy warns on more things.
2025-07-29 03:18:49 -07:00
4c84269c03 Fix log printing on main errors 2023-09-22 22:12:46 -07:00
dc41aeac14 Add support for reading mail-archive.com RSS feeds 2023-09-22 22:12:44 -07:00
092b29637f Rearrange the code a bit
I'm prepping to make bebot do more things than just be a gitlab webhook
handler, so I've moved the gitlab stuff into its own module (and some of
the matrix helper functions too, for good measure).

The config file also now puts all the gitlab-specific configuration
under a 'gitlab' key.
2023-09-20 21:57:26 -07:00
bfd146de95 Fix clippy warnings 2023-09-19 21:37:30 -07:00
e3fffe1814 Add configurable event publishing 2023-09-19 20:46:37 -07:00
4c00f45b1c Add licensing info 2023-09-16 21:09:17 -07:00
8e72bedcf1 Return reasonable response if unsupported event type 2023-09-16 20:55:57 -07:00
821dcdf277 Add support for issue events 2023-09-16 20:29:47 -07:00
3daab2f3f8 Make messages look better and publish multiple for push events
For push events, publish one message per commit pushed, up to a limit of
15.
2023-09-16 20:20:14 -07:00
33d3313927 Process events on a separate thread
GitLab really wants you to respond in 10 seconds, and if we're doing a
bit of work (e.g. sending more than one matrix message per event), then
we can easily blow through that.
2023-09-16 02:17:49 -07:00
eb5bdc3fd5 Better refname parsing 2023-09-16 01:04:11 -07:00
bddff51ab3 Support optional URL prefix for hook URL 2023-09-15 23:39:47 -07:00
3a2da3fba8 Add support for pipeline events 2023-09-15 22:18:37 -07:00
8edb8a6a4a Add support for merge request events 2023-09-15 22:18:37 -07:00
707f6a7a62 Initial import 2023-09-15 11:53:14 -07:00