|
bdbc8b6382
|
Remove duplicated Gitlab token check
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-14 00:58:33 +02:00 |
|
|
6903490ace
|
Form GitlabHook payloads again
Don't check for the secret validity at this point
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 17:20:45 +02:00 |
|
|
407788af5a
|
Rename token to secret
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 14:18:28 +02:00 |
|
|
1cf93d1ba8
|
Rename webhook to hook where appropriate
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 14:02:35 +02:00 |
|
|
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 |
|
|
c7a5740ee5
|
forgejo-hooks: RemoveBranch event
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 02:34:42 +02:00 |
|
|
af3d65e451
|
forgejo-hooks: Add support for branch pushes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 02:34:42 +02:00 |
|
|
8e94435604
|
Attempt at Forgejo Webhook support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 02:34:37 +02:00 |
|
|
2ef603151e
|
Make token config mandatory
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-10 02:09:53 +02:00 |
|
|
d0cb431546
|
Update dep: bytes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-09 23:20:19 +02:00 |
|
|
0bf9f107b5
|
Dissociate content-type and token check
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-04 03:16:58 +02:00 |
|
|
d73e149cb4
|
Don't enable all tokio features
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-04 00:45:51 +02:00 |
|
|
23666b6219
|
Don't enable all hyper features
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-04 00:38:03 +02:00 |
|
|
1ffa463fd6
|
Update dep: hyper
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-04 00:35:40 +02:00 |
|
|
0eb47eac7b
|
Update dep: clap
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-02 21:52:54 +02:00 |
|
|
14c2802a82
|
Update dep: toml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-07-02 21:50:31 +02:00 |
|
|
a5491e7a25
|
Update gitlab version to 0.1610
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-04-19 17:05:48 +02:00 |
|
|
2f645d4200
|
fmt pass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2024-04-19 17:05:38 +02:00 |
|
|
861f26b9e4
|
Release 0.2.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-08-21 13:21:51 +02:00 |
|
|
77bfb226ad
|
cargo fmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-08-21 13:13:55 +02:00 |
|
|
acf22a05c1
|
Update xmpp dependency to 0.5
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-08-21 13:13:47 +02:00 |
|
|
1aee1cd618
|
Display only pushes to main branch
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-07 14:16:35 +02:00 |
|
|
06e5ecf90d
|
Attempt at making hooks less verbose
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-07 13:34:22 +02:00 |
|
|
b8987f6eeb
|
rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-03 02:15:49 +02:00 |
|
|
5f8b7d1c17
|
webhook: Expose Note (comments) event
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-03 02:15:49 +02:00 |
|
|
3943ba0924
|
Attempt at making messages somewhat distinguishable
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-02 18:34:49 +02:00 |
|
|
9bd430af4b
|
Return HTTP 200 even on error to prevent Gitlab from disabling the WH automatically
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-01 16:29:30 +02:00 |
|
|
fd96e86f80
|
Push hook: implement branch removal
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-06-01 12:19:26 +02:00 |
|
|
9c54e7e1db
|
Update gitlab dep
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-30 19:01:25 +02:00 |
|
|
f19169a7a0
|
Add README.md
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-27 21:05:00 +02:00 |
|
|
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 |
|
|
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 |
|
|
2637458bbd
|
Rename project to 'cusku'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-27 17:38:37 +02:00 |
|
|
99d59b3681
|
xmpp: removed unused import
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-22 12:05:42 +02:00 |
|
|
179bd2e395
|
Add webhook cli arguments
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-22 12:05:36 +02:00 |
|
|
40a7c95200
|
Add 'rooms' and 'nickname' arguments
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-21 23:49:02 +02:00 |
|
|
6074db176a
|
Add argument parsing
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-21 23:49:02 +02:00 |
|
|
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 |
|
|
36673bd5bf
|
rustfmt: hard_tabs = true
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-20 19:35:18 +02:00 |
|
|
5b57951ec9
|
Split web module
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-20 19:35:18 +02:00 |
|
|
5350386133
|
split error module
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2023-05-20 16:28:09 +02:00 |
|
|
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 |
|