Commit Graph

85 Commits

Author SHA1 Message Date
Nicolas Carlier
8f8e69faae fix: bufio.Scanner: token too long
close #98
2024-08-18 07:17:28 +00:00
Nicolas Carlier
0c41f76f53 chore: set version when built outside makefile
close #103
2024-08-11 07:00:41 +00:00
Nicolas Carlier
361770b898 fix: multipart/form-data support
close #100
2024-08-10 07:44:47 +00:00
Nicolas Carlier
321ad7ef5d
Feature: add blocking request with response code (#99)
feat(hook): add blocking request with response code

close #74
2024-07-09 00:19:19 +02:00
Nicolas Carlier
aad75eba08 feat(api): support content negociation
close #97
2024-05-19 09:02:37 +00:00
Nicolas Carlier
39ab72bb30
refactor(config): small config refactoring
- split config structure
- improve config logic
- improve test lib and fix typos
2024-03-04 09:13:59 +01:00
Nicolas Carlier
8ea426222f feat(hook): add default extension parameter 2023-12-22 22:10:19 +00:00
Nicolas Carlier
413bc4926a chore(): code quality checks 2023-10-04 19:22:21 +00:00
Nicolas Carlier
af39ad75c6 fix(): lint code 2023-10-03 21:12:37 +00:00
Nicolas Carlier
be011c24d4 chore(): fix go-critic warnings 2023-10-03 20:57:24 +00:00
Nicolas Carlier
0d802d03eb feat(): structured logging 2023-10-03 18:02:57 +00:00
Nicolas Carlier
2fb8e9aa84 feat(auth): add username header 2023-02-13 21:17:46 +00:00
Nicolas Carlier
13194eb0ca refactor(notification): modularize the package 2023-01-02 22:45:15 +00:00
Nicolas Carlier
dba7604a43 feat(middleware): add X-Forwarded-For middleware
close #73
2022-12-30 08:26:06 +00:00
Nicolas Carlier
3f96db8af5 chore(signature): add missing test files 2022-12-29 17:21:19 +00:00
Nicolas Carlier
f2054d2dc4 feat(signature): signature refactoring
- add ed5519 HTTP signature support
- refactor truststore package
- add P12 trust store support

close #72
2022-12-29 17:14:28 +00:00
Nicolas Carlier
109768f785 chore(api): code cleanup with generics 2022-10-26 08:35:59 +02:00
Nicolas Carlier
50bcb16c71 feat(): trace real IP 2022-07-09 07:54:22 +02:00
Nicolas Carlier
5e65febceb refactor(): internals rescafolding 2022-05-26 10:05:53 +02:00
Michael Vallaly
bc1de4e5da
feat(): adding HTTP PATCH support to API calls
Co-authored-by: Michael Vallaly <mike.vallaly@alphaeon.com>
2022-05-12 09:13:08 +02:00
Nicolas Carlier
173ba6c347 feat(): support application/x-www-form-urlencoded 2022-05-09 23:17:49 +02:00
Nicolas Carlier
4e6298dda7 feat(): improve control on streaming protocol
close #51
2022-02-05 08:55:09 +01:00
Nicolas Carlier
9fa96acfb2 feat(): configure static path
close #45
2021-12-05 10:09:02 +00:00
Nicolas Carlier
6b3623f67a feat(api): refactore router
- Simplify router
- Single routes onfiguration file
- Improve HTTP logger
2021-07-11 13:09:44 +02:00
Nicolas Carlier
07fbb6ee3a feat(): output hook execution logs to server logs
BREAKING CHANGES for configuration

- rename `-log-dir` to `-hook-log-dir`
- add `-hook-log-output`
- add `-log-level`
- remove `-debug`

close #44
2021-05-29 15:30:02 +00:00
Nicolas Carlier
ed67fc72f6 feat(notification): email subject customization 2021-05-19 18:44:30 +00:00
Nicolas Carlier
25fe46c731 chore(): add hook_id example and doc 2021-05-07 07:29:53 +00:00
Ahren Stevens-Taylor
d3777a7fcd
#42: Expose Work ID to script environment (#43)
feat(): expose hook ID to script environment
2021-05-06 09:15:16 +02:00
Nicolas Carlier
f29a1748ef
feat(notif): add TLS and password support to the SMTP notifier
close #39
2020-10-14 22:43:21 +02:00
Nicolas Carlier
f5f48381af fix(): fix timeout parameter name
close #37
2020-09-11 11:53:55 +00:00
Nicolas Carlier
b0496778e8 feat(): serve static assets 2020-09-11 11:48:18 +00:00
Nicolas Carlier
1ee71be4c5 feat(server): simplify TLS usage 2020-08-20 12:35:59 +00:00
Nicolas Carlier
7433f69c92 chore(): improve log semantic 2020-08-20 10:01:06 +00:00
Nicolas Carlier
296ab6aaa3 feat(): improve HTTP signature support
- fix nil pointer bugs
- upgrade dependency
- improve error handling
2020-08-20 09:48:46 +00:00
Nicolas Carlier
072124865e chore(): fix typo 2020-08-20 08:18:24 +00:00
Nicolas Carlier
5911b8f3c3 fix(notification):: fix missing error check 2020-06-08 13:39:53 +00:00
Mark Lee
78501c4c49
do not register middlewares on /healthz path (#28)
chore(api): ignore common middlewares for health check endpoint
2020-04-14 09:06:49 +02:00
Nicolas Carlier
d96be9cd8d fix(test): add missing assets 2020-03-16 07:27:24 +00:00
Nicolas Carlier
0e2f58012d feat(signature): multi entries for a PEM file 2020-03-15 23:10:51 +00:00
Nicolas Carlier
d91e84d1be feat(signature): refactore the trust store system 2020-03-15 20:58:06 +00:00
Nicolas Carlier
a5fe96d2e8 feat(api): add info endpoint 2020-03-15 20:45:27 +00:00
Nicolas Carlier
a257e82274 fix(): fix tracing id log 2020-03-12 18:49:47 +00:00
Nicolas Carlier
548149a63d fix(logger): print colors only for TTY 2020-02-29 08:41:54 +00:00
Nicolas Carlier
1d3da80680 refactore(middleware): middlewares small refactoring 2020-02-29 08:18:12 +00:00
Nicolas Carlier
c21443c10e chore(): small pkg refactoring 2020-02-26 21:19:11 +00:00
Nicolas Carlier
43204677d3 feat(): finalize HTTP signature support 2020-02-26 19:30:41 +00:00
Nicolas Carlier
c16ec83a5a feat(): HTTP signature support 2020-02-25 20:51:07 +00:00
Nicolas Carlier
3044b3951b fix(): improve configflag stability 2020-02-09 09:28:01 +00:00
Nicolas Carlier
40220077d2 fix(): fix password default configuration 2020-02-09 09:28:01 +00:00
Nicolas Carlier
5948b6001f feat(auth): simplify validate method 2020-02-09 09:28:01 +00:00