1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-12-10 10:10:24 +02:00
Commit Graph

182 Commits

Author SHA1 Message Date
renovate[bot]
9691e73288
fix(deps): update module github.com/bwmarrin/discordgo to v0.27.0 (#509) 2023-02-13 22:11:17 +02:00
EthanEFung
4f2a8f69e3
feat(service): Add Google Chat Service (#501)
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2023-01-19 08:57:16 +01:00
Niko Köser
440d422648
feat(service): add generic HTTP service (#506) 2023-01-17 14:44:36 +01:00
Jan-Hendrik Boll
d3ba200695
Add plaintext toggle (#476)
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-12-09 12:30:32 +01:00
Josh Mills
faa82fdf46
feat(service): Add Reddit service (#471) 2022-11-20 13:49:37 +02:00
Josh Mills
f1cc0416c7
feat(service): Add Pushover service (#467)
Fixes #456
2022-11-18 10:34:19 +02:00
Stefanos Valoumas
d9d4463030
chore: replace dghubble/go-twitter with drswork/go-twitter active fork (#468) 2022-11-17 17:55:44 +01:00
Hasit Mistry
0321d912a5
docs(comment): fix documentation links (#451)
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-11-12 17:20:15 +01:00
Irfan Sofyana Putra
8aa5c9d2b6
feat(service): Add Viber (#415) 2022-10-25 11:45:06 +03:00
Niko Köser
42649bac4f
fix(service): make whatsapp no-op (#438) 2022-10-25 09:00:35 +02:00
Niko Köser
ce792a210b
sec(codeql): fix potential cross-site scripting vulnerability (#427) 2022-10-19 08:54:28 +02:00
Arno Cornette
d2dfd10850
feat(service): add matrix service (#410)
* feat(service): implemented matrix service

* docs(readme): add matrix service

* chore(format) Reformatted with gofumpt

* docs(readme): updated readme and added doc

* chore(rename): Rename functions to be compliant with project style

* chore(formatting): Reformatted docs

* docs(changes): Modified the service and path to it in the documentation.

* chore(format): Reformated with Gofump
2022-10-04 18:01:09 +03:00
Niko Köser
b8bf94fc44
style(fmt): make fmt 2022-09-12 16:54:09 +02:00
Niko Köser
3c51987712
refactor(service): make most amazon_sns types unexported 2022-09-12 16:53:16 +02:00
Stefanos Valoumas
528ac06195 chore: gofumpt changes 2022-09-12 15:16:10 +03:00
Stefanos Valoumas
0c8245d5d7 test: apply test conventions for whatsapp service 2022-09-12 15:05:19 +03:00
Stefanos Valoumas
29809e50f8 test: apply test conventions for wechat service 2022-09-12 15:03:28 +03:00
Stefanos Valoumas
ecaa74abdc test: apply test conventions for twilio service 2022-09-12 14:57:33 +03:00
Stefanos Valoumas
e9cf4be631 test: apply test conventions for syslog service 2022-09-12 14:55:24 +03:00
Stefanos Valoumas
2035e817a9 test: apply test conventions for slack service 2022-09-12 14:50:22 +03:00
Stefanos Valoumas
74d4576a63 test: apply test conventions for plivo service 2022-09-12 14:49:36 +03:00
Stefanos Valoumas
8af0b6ab8f test: apply test conventions for msteams service 2022-09-12 14:47:50 +03:00
Stefanos Valoumas
525374307c test: apply test conventions for lark service 2022-09-12 14:46:36 +03:00
Stefanos Valoumas
6ec42ebdc4 test: apply test conventions for fcm service 2022-09-12 14:46:32 +03:00
Stefanos Valoumas
6ad3b2e4d5 test: apply test conventions for discord service 2022-09-12 14:46:23 +03:00
Stefanos Valoumas
3a57b6d347 test: apply test conventions for amazon sns service 2022-09-12 14:33:25 +03:00
Niko Köser
3a416217b8
chore(deps): remove unused package 2022-09-12 12:55:24 +02:00
Niko Köser
b57c5d6fe0
chore(naming): change test func signature
Co-authored-by: Stefanos Valoumas <36260347+svaloumas@users.noreply.github.com>
2022-09-12 12:51:20 +02:00
Niko Köser
928b47646a
refactor(test): simplify comparison
Co-authored-by: Stefanos Valoumas <36260347+svaloumas@users.noreply.github.com>
2022-09-12 12:49:07 +02:00
Niko Köser
50409bb549
refactor(constructor): simplify returning service 2022-09-12 08:50:15 +02:00
Niko Köser
2ee90ea8db
test(service): add mocks and tests for slack 2022-09-12 08:47:01 +02:00
Niko Köser
dfcad9d78d
test(service): add mocks and tests for discord 2022-09-12 08:46:37 +02:00
Niko Köser
4f76f7ed4c
test(service): add mocks and tests for amazonses 2022-09-12 08:45:52 +02:00
Niko Köser
17d7077484
test(service): add mocks and tests of msteams 2022-09-12 08:45:04 +02:00
Niko Köser
fd735dac9c
style(naming): simplify import alias for msteams library 2022-09-12 08:42:38 +02:00
Niko Köser
df3fb4c19d
fix(lint): export types that are being returned by some methods 2022-08-31 08:23:42 +02:00
Niko Köser
f4001356e0
style(fmt): make fmt 2022-08-05 10:39:34 +02:00
Niko Köser
541fdf294b
Merge branch 'main' into main 2022-08-05 10:21:01 +02:00
Niko Köser
96096f17d6
Merge branch 'main' into feat/lark 2022-08-05 10:15:37 +02:00
Niko Köser
a10eeb9247
refactor(lint): apply golangci-lint recommendations 2022-08-04 17:13:17 +02:00
Niko Köser
82cc699565
chore(filestructure): extract mocks folder to follow repo scheme 2022-08-04 17:12:33 +02:00
Niko Köser
3d5eab4b32
Merge branch 'main' into feat/lark 2022-08-04 16:58:45 +02:00
Niko Köser
7da65bd301
Merge branch 'main' into main 2022-08-04 16:52:39 +02:00
Niko Köser
23d72681c3
style(fmt): make fmt 2022-08-04 16:43:37 +02:00
Niko Köser
d4f314ce5a
Merge branch 'main' into feature/add-twilio-service 2022-08-04 16:38:29 +02:00
Niko Köser
1167ab9b7d
style(fmt): make fmt 2022-08-04 15:58:38 +02: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
853dbd58d3
chore(lint): replace ioutil.ReadAll with io.ReadAll 2022-08-04 15:39:12 +02:00
qwqcode
f1786ba832
chore: ParseMode const following the tgbotapi lib 2022-06-06 18:03:47 +08:00
qwqcode
d69cdd2863
feat: add SetParseMode function for Telegram
Signed-off-by: qwqcode <qwqcode@gmail.com>
2022-06-06 17:43:18 +08:00