Commit Graph

18 Commits

Author SHA1 Message Date
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
3f42a08bcb Use iid field (and not id) field for the correct issue ID 2023-09-20 18:29:07 -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
d74c30132c Better tag_push message 2023-09-16 00:51:39 -07:00
11be50d89f Remove some unused fields 2023-09-16 00:50:18 -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