1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-11-24 08:22:18 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Niko Köser
e2e77ccbea
fix(notify)!: resolve test & linter issues and fix dependencies compatibility (#847) 2024-07-22 11:38:15 +02:00
Niko Köser
ce792a210b
sec(codeql): fix potential cross-site scripting vulnerability (#427) 2022-10-19 08:54:28 +02:00
Stefanos Valoumas
29809e50f8 test: apply test conventions for wechat service 2022-09-12 15:03:28 +03:00
Niko Köser
f433aedcb5
refactor(sec): add ReadHeaderTimeout to verification server
WaitForOneOffVerification now uses a ReadHeaderTimeout of 20 seconds by
default. This is to avoid potential slow loris attacks which means
blocking a connection for too long. In case that the user wants to
provide a custom timeout, I added the
WaitForOneOffVerificationWithServer method. It works identical to
WaitForOneOffVerification with the subtle difference that the user can
pass in a fully customized http.Server instance.

This closes gosec G112.
2022-08-04 15:49:58 +02:00
Niko Köser
4585e9fc94
test(go): allow for parallel tests 2022-04-22 20:45:29 +02:00
ImgBotApp
7c290c3d61
[ImgBot] Optimize images
*Total -- 182.91kb -> 169.87kb (7.13%)

/service/wechat/img/wechat_usage.png -- 14.57kb -> 7.69kb (47.21%)
/service/wechat/img/wechat_sandbox_2.png -- 68.20kb -> 62.27kb (8.7%)
/assets/gopher-letter.svg -- 100.15kb -> 99.91kb (0.23%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-27 05:47:17 +00:00
gtourkas
43d3c4e5c0 build-passing commit 2021-04-23 21:09:02 +03:00
George Tourkas
e874e41a36
renaming callback to clarify intent
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-23 21:05:36 +03:00
George Tourkas
28ee79a6bc
renaming callback to clarify intent
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-23 21:05:09 +03:00
gtourkas
da3ffb0a7d build-passing commit 2021-04-15 12:12:28 +03:00
George Tourkas
2b791ae0ba
using configured cache
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-15 11:43:19 +03:00
George Tourkas
8898e786b0
using notify's style in object creation
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-15 10:53:25 +03:00
George Tourkas
247c1861b5
using notify's style in object creation
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-15 10:53:15 +03:00
George Tourkas
4167bec547
using notify's style in object creation
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-15 10:52:58 +03:00
George Tourkas
66d7a877f2
using notify's style in error checking
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-04-15 10:52:22 +03:00
gtourkas
ebe28ca829 feat: added support for WeChat 2021-03-21 18:54:10 +02:00