Jacob Weinstock
296746ad82
Merge ac897f59aa
into dbc6565c35
2024-02-20 05:21:37 -08:00
Adnan Hajdarević
dbc6565c35
Update README.md
2024-02-20 08:01:44 +01:00
Pouria Mousavizadeh Tehrani
9a7986681d
Add FreeBSD Instruction and Example to README.md ( #675 )
2024-02-19 19:37:19 +01:00
Adnan Hajdarević
de4003a7a8
Update README.md
2024-02-19 19:35:15 +01:00
Adnan Hajdarević
bd1aaab0ad
Update Templates.md
...
Add missing bracket to the Templates.md
2023-12-26 08:49:09 +01:00
Tony Yang
a4eebd6005
Update README.md ( #666 )
2023-12-02 00:19:29 +01:00
Adnan Hajdarević
56a960e3bd
Update FUNDING.yml
2023-10-05 20:38:29 +02:00
guangwu
6daf4c29ac
fix: additional typo ( #652 )
2023-09-18 00:09:39 +02:00
Óscar
3944b35d39
Add Zola Guide ( #653 )
2023-09-18 00:08:43 +02:00
Alfonso Montero
dc5d09a0d7
Hook-Examples.md: improve markdown formatting for code blocks ( #637 )
2023-09-18 00:07:01 +02:00
Jacob Weinstock
ac897f59aa
Update go.mod and github action:
...
Dependencies were old.
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
2023-08-08 17:29:52 -06:00
Jacob Weinstock
665f955514
Add tests for additional headers in sign payload:
...
Cover the Evaluate func with additional headers
for sha1, sha256, sha512.
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
2023-06-09 16:21:05 -06:00
Jacob Weinstock
753d12e479
Remove redundant length check:
...
The range body will not execute if the len
of r.Parameter.SignaturePayloadHeaders is 0.
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
2023-06-09 13:57:09 -06:00
Jacob Weinstock
bd28fd0957
Add code comment for signaturePayload
...
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
2023-06-09 13:55:46 -06:00
Jacob Weinstock
021efc38e5
Use additional headers in the signature payload:
...
This will allow users to use headers in the signature
payload during the verification process. For example,
a timestamp header can be used to validate if requests
have been sent recently and reduce the risk of message
replays.
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
2023-06-09 13:47:03 -06:00
Adnan Hajdarevic
f187592147
Bump version to 2.8.1
2023-05-22 21:03:40 +02:00
Adnan Hajdarevic
a79e7d2cef
Merge branch 'development'
2023-05-22 21:02:52 +02:00
Abhiram Satpute
5ed642354f
changed src of hookdoo, previous img url was broken ( #623 )
...
Co-authored-by: abhiram11 <abhiramsatpute@gmail.com>
2023-02-27 11:35:36 +01:00
Kārlis K
dab29e7267
Update Hook-Examples.md ( #576 )
...
Synology webhook example
2022-08-31 10:30:47 +02:00
Arran
0c0bf0b244
Add Gitea and Uberspace Guide ( #579 )
2022-02-21 13:15:17 +01:00
Marek Isalski
c7f7163aaa
Update Bitbucket example to reference Atlassian's outgoing IP subnets ( #578 )
...
* Update Bitbucket example to check all of Atlassian's outgoing IP ranges
Co-authored-by: Marek Isalski <git@maz.nu>
2022-02-14 09:24:38 +01:00
Adnan Hajdarević
36e77b1c7a
Merge pull request #567 from Prince-Mendiratta/master
...
Fix broken link for guide to Jira and webhook integration
2021-12-31 09:22:42 +01:00
Prince Mendiratta
5189c62651
Fix broken link for guide to Jira and webhook integration
...
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2021-12-29 16:51:20 +05:30
Adnan Hajdarević
75f406845f
Update README.md
2021-10-11 12:47:23 +02:00
Adnan Hajdarević
105b019e2b
Merge pull request #559 from Anksus/master
...
Update README.md
2021-09-27 13:41:06 +02:00
Ankit_Susne
4f00a26293
Update README.md
2021-09-25 22:56:38 +05:30
Adnan Hajdarević
560cbaae74
Merge pull request #554 from moorereason/iss553
...
Send cli headers on default http handler
2021-09-03 10:05:42 +02:00
Cameron Moore
3285288f03
Send cli headers on default http handler
...
Fixes #553
2021-09-02 19:24:34 -05:00
Adnan Hajdarević
2a36f24269
Merge pull request #529 from benjaoming/patch-1
...
Clarify version number for which the example works
2021-07-29 14:20:53 +02:00
Benjamin Balder Bach
1ec494fb0d
Clarify version number for which the example works
...
#461 changed option name and in https://github.com/adnanh/webhook/pull/528#issuecomment-826165812 , @moorereason suggests to look at old tags of example documentation. This would mean that users have to read through random old documentation to discover why their packaged version doesn't work . Suggesting that clarity in the examples is preferable.
Recall that renaming this doesn't give the user some easy exception. It just mean that the trigger isn't satisfied, so there are A LOT of options for debugging.
(which takes a lot of time to do, so that's why this information is important)
2021-04-25 13:26:02 +02:00
Adnan Hajdarević
e329b6d9ff
Merge pull request #518 from adhawkins/busybox-tests
...
Allow tests to run on systems that use busybox (such as Alpine)
2021-03-15 22:43:13 +01:00
Andy Hawkins
181672afcc
Allow tests to run on systems that use busybox (such as Alpine)
2021-03-13 16:02:44 +00:00
Adnan Hajdarević
d523af1b6c
Fixes #497
2021-02-28 09:55:08 +01:00
Adnan Hajdarević
390e3bd772
Merge pull request #503 from TheCatLady/add-alt-docker-images
...
Add alternative Docker images
2021-01-29 20:08:46 +01:00
TheCatLady
21549749c0
Add alternative Docker images
2021-01-28 12:16:03 -05:00
Adnan Hajdarevic
6184509494
Add build directory to .gitignore
2021-01-26 20:53:07 +01:00
Adnan Hajdarevic
b1f69564a3
Merge branch 'development'
2020-12-06 08:42:20 +01:00
Adnan Hajdarevic
159cb4a911
bump version to 2.8.0
2020-12-06 08:42:09 +01:00
Adnan Hajdarević
b5af9a3968
Merge pull request #489 from moorereason/iss487-doc-string
...
Add string parameter example to docs
2020-12-06 08:40:31 +01:00
Adnan Hajdarević
2e4aea4cbc
Merge pull request #486 from moorereason/iss439-raw-body
...
Add option to send raw request body to command
2020-12-06 08:39:55 +01:00
Adnan Hajdarević
b6e5b11174
Merge pull request #485 from moorereason/iss234-soft-sig-errors
...
Add soft signature failure support
2020-12-06 08:39:31 +01:00
Adnan Hajdarević
9dec52c727
Merge pull request #484 from moorereason/iss421-slash-path
...
Add support for slashes in hook IDs
2020-12-06 08:38:53 +01:00
Cameron Moore
f2b536dbad
Add string parameter example to docs
...
Fixes #487
2020-12-05 16:34:49 -06:00
Cameron Moore
62f9c01cab
Add option to send raw request body to command
...
The existing `entire-payload` option sends a JSON representation of the
parsed request body. Add a new `raw-request-body` source to send the
raw request body.
Fixes #439
2020-11-25 10:20:10 -06:00
Cameron Moore
6d2f26d952
Add soft signature failure support
...
Add a new trigger-signature-soft-failures option to allow soft signature
failures in Or rules.
Fixes #234
2020-11-24 21:16:57 -06:00
Cameron Moore
c2ffd465c4
Add support for slashes in hook IDs
...
When matching variables in routes, gorilla/mux uses a default pattern of
"[^/]+", thereby prohibiting slashes in variable matching. Override the
default pattern to remove this restriction.
See https://github.com/gorilla/mux/blob/v1.8.0/regexp.go#L50
Fixes #421
2020-11-24 16:56:54 -06:00
Adnan Hajdarević
3e18a060ae
Merge pull request #479 from moorereason/iss312-http-request
...
Add request source
2020-11-21 18:58:19 +01:00
Cameron Moore
6f5962f8f2
Use strings.ToLower on source name parameters
2020-11-21 10:00:03 -06:00
Cameron Moore
346c761ef6
Add request source
...
Add "request" source with support for "method" and "remote-addr"
parameters. Both values are taken from the raw http.Request object.
Fixes #312
2020-11-20 16:32:55 -06:00
Adnan Hajdarević
e513eb4bf4
Merge pull request #477 from moorereason/refactor-req-parsing
...
Move some request parsing into hook package
2020-11-19 19:44:33 +01:00