Commit graph

85 commits

Author SHA1 Message Date
3895246b72 fix: shout.desktop should be optional
If the value isn't present, then it is treated as false
2024-08-04 16:02:06 +01:00
5d64692f31 test: timing test waits longer than expiry 2024-08-04 10:03:52 +01:00
6de8e4f988 feat: prevent duplicate alerts
Closes kemitix/git-next#128
2024-08-03 23:07:56 +01:00
421e85cb0b refactor: extract alerts into own actor 2024-08-03 12:59:40 +01:00
9a2fa2e8a5 feat: add support for desktop notifications
Closes: kemitix/git-next#119
2024-08-03 12:59:40 +01:00
637abb50cd fix: add example email config to server default template 2024-08-02 19:06:39 +01:00
12a2981ab5 feat: send email notifications (sendmail/smtp)
Closes kemitix/git-next#114
2024-08-02 07:36:11 +01:00
538728c491 feat!: restructured server config into listen & shout sections
Groups 'http' and 'webhook' sections under 'listen'.

Renames 'notification' section as 'shout'.
2024-08-01 07:56:31 +01:00
8df7600053 feat: remove notification.type
This makes it easier to specify multiple types of notifications,
rather than a single type.
2024-07-31 06:56:04 +01:00
f6bc2e1283 feat: terminate process if config file is invalid 2024-07-30 16:27:24 +01:00
1650e93920 feat: return better errors to user on server failure 2024-07-30 11:18:29 +01:00
9a9c73d929 feat: return better errors to the user on init 2024-07-30 11:18:29 +01:00
b7abe949e2 fix: make default server config example valid
Included some comments to help configure the file.

Closes kemitix/git-next#115
2024-07-29 08:16:16 +01:00
e56d6a3ebb fix: remove requirement for RUSTFLAGS to be set
Closes kemitix/git-next#116
2024-07-29 08:07:39 +01:00
691a733fc3 fix: webhook secret doesn't need to be base64 encoded
Closes kemitix/git-next#118
2024-07-29 07:51:09 +01:00
d2ea93f05e feat: avoid resetting next to main when dev is ahead of main
When dev is not based on next, next is reset to main, however, it should
reset to the next commit towards dev when when is ahead of main.

Closes kemitix/git-next#111
2024-07-28 20:32:08 +01:00
a56c6df3f1 feat: support macOS
Closes kemitix/git-next#108
2024-07-28 16:26:39 +01:00
57458173d0 refactor: merge forge crate into cli crate 2024-07-28 13:35:26 +01:00
c1981d862c refactor: merge repo-actor crate into cli crate 2024-07-28 12:18:15 +01:00
12ecc308d5 refactor: merge webhook-actor crate into cli crate 2024-07-27 19:06:20 +01:00
9ca532a2b4 refactor: merge file-watcher-crate into cli crate 2024-07-27 18:51:05 +01:00
a679abeafc refactor: merge server-actor crate into cli crate 2024-07-27 08:27:04 +01:00
1427284c2a refactor: merge server crate into cli crate 2024-07-27 08:11:52 +01:00
fa5fa809d9 refactor: merge git create into core crate 2024-07-26 07:59:37 +01:00
ab728c7364 refactor: merge config crate into core crate 2024-07-25 21:08:16 +01:00
e2b545ae39 fix: move default.toml inside crate that uses it 2024-07-14 20:22:32 +01:00
12849d5a69 refactor: server no longer depends directly on git crate 2024-07-03 07:42:11 +01:00
3dec12de20 refactor: cli don't depend directly on git crate 2024-07-03 07:35:01 +01:00
dfc0c1dc80 refactor: only start actor system when server starts 2024-07-01 06:54:07 +01:00
ffab1986a7 refactor: repo-actor: rewrite tests using mockall 2024-06-27 18:58:47 +01:00
94ad2c441c refactor: create a RepositoryFactory trait 2024-06-20 18:28:01 +01:00
58e991b2b7 test(git): make repository more testable
Adds a layer around Repository to allow the use of a mock.

Mock has still to be implemented.
2024-05-18 20:37:03 +01:00
a7e7d12928 test(cli): add tests 2024-05-14 07:58:28 +01:00
3a112ddd8b refactor: extract server crate 2024-05-11 18:57:18 +01:00
834dff4370 chore: convert project into a cargo workspace 2024-05-11 16:33:18 +01:00