|
2cdaf39c0f
|
refactor: git: use newtype
|
2024-06-20 19:06:24 +01:00 |
|
|
94ad2c441c
|
refactor: create a RepositoryFactory trait
|
2024-06-20 18:28:01 +01:00 |
|
|
ea20afee12
|
refactor: config: use newtype
|
2024-06-19 08:16:54 +01:00 |
|
|
e29c274aaf
|
refactor: server: use thiserror
|
2024-06-03 20:34:01 +01:00 |
|
|
46b6d8680c
|
feat: Add support for GitHub
This doesn't include GitHub Enterprise
Closes kemitix/git-next#86
|
2024-05-31 07:23:48 +01:00 |
|
|
206e64cd5b
|
feat: Webhook query paths include forge alias
This allows for more than one forge to be configured and for the webhook
to correctly route incoming messages.
|
2024-05-29 19:35:50 +01:00 |
|
|
f10dc25aeb
|
refactor: merge git::validate module into git::validation
|
2024-05-26 09:20:08 +01:00 |
|
|
639223fcaa
|
refactor: improve consistency of use of git types
|
2024-05-23 16:19:28 +01:00 |
|
|
ebbb655bfc
|
feat(server): config file watcher will respond to touch
You can now trigger a server reload by `touch`ing the
`git-next-server.toml` file.
|
2024-05-23 09:01:57 +01:00 |
|
|
db9b4220ee
|
refactor: extract repo-actor and gitforge crates
|
2024-05-22 19:57:48 +01:00 |
|
|
df8ebc6af7
|
refactor(server): collapse type module into gitforge module
|
2024-05-21 19:47:01 +01:00 |
|
|
341dc97a51
|
refactor(git): add mock repository and tests
Repository is now behind an enum to allow selection of a mock Repsitory
for use in tests.
|
2024-05-21 19:47:01 +01:00 |
|
|
e5744e85ad
|
fix(server): invalid webhook authorisations
Parameters had been passed in wrong order. Added strong types to prevent
a repeat.
|
2024-05-21 09:01:44 +01:00 |
|
|
c6c8dcedc5
|
feat(server): display expected auth in logs in invalid request
|
2024-05-20 07:46:23 +01:00 |
|
|
4977619c70
|
fix(server): don't use gix in server
|
2024-05-20 07:46:23 +01:00 |
|
|
f398fb3b6a
|
feat(server/webhook): warn when message is dropped
|
2024-05-18 22:36:54 +01:00 |
|
|
9d0f2d1ba1
|
feat(server): don't log validation ok
|
2024-05-18 22:29:57 +01:00 |
|
|
ee83def127
|
feat(server): don't log individual internal messages
|
2024-05-18 22:26:44 +01:00 |
|
|
6c06d63c57
|
chore: remove dependency pretty_assertions
|
2024-05-18 22:21:10 +01:00 |
|
|
d6ca6ea3b2
|
chore: remove dependency test-log
|
2024-05-18 22:20:07 +01:00 |
|
|
f56ac321f4
|
chore: remove dependency on terrors
|
2024-05-18 22:16:17 +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 |
|
|
6757723b77
|
feat(server/webhook): log errors in webhook requests
|
2024-05-18 20:26:44 +01:00 |
|
|
446300e786
|
refactor(git): rename reset as push
|
2024-05-16 14:45:25 +01:00 |
|
|
d87af324d6
|
refactor(server): more derive_more replacing boilerplate
|
2024-05-16 06:46:03 +01:00 |
|
|
f8375ed1fc
|
refactor(server/config): rename RepoConfigValidationError as Error
It is never referenced directly outside of this module.
|
2024-05-15 20:46:29 +01:00 |
|
|
eb7d14bc33
|
refactor(git): more derive_more replacing boilerplate
|
2024-05-15 20:40:25 +01:00 |
|
|
d70baa4350
|
refactor(config): more derive_more replacing boilerplate
|
2024-05-15 07:55:05 +01:00 |
|
|
ac3e1be261
|
test: add some tests
|
2024-05-14 07:59:31 +01:00 |
|
|
a4694d48f6
|
refactor(config): replace boilerplate with derive_more
|
2024-05-13 21:03:33 +01:00 |
|
|
4d352f005d
|
refactor(server,config,git): extract modules config and git from server
|
2024-05-12 10:49:33 +01:00 |
|
|
a8eedfcac5
|
fix: clippy fixes for tests
|
2024-05-11 18:58:47 +01:00 |
|
|
3a112ddd8b
|
refactor: extract server crate
|
2024-05-11 18:57:18 +01:00 |
|