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

161 Commits

Author SHA1 Message Date
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
Stefanos Valoumas
2879767e3a feat(service): add twilio 2022-06-06 10:40:23 +03:00
junyi
984a69eb79 feat(service): add lark service 2022-06-05 23:24:33 +08:00
Stefanos Valoumas
a38dbb0c2c feat(service): add fcm 2022-05-08 12:56:01 +03:00
Niko Köser
8f2b3d1fc1
chore(deps): remove unused deps 2022-04-25 14:30:01 +02:00
ᴍᴏᴏɴD4ʀᴋ
e257c5bf5f
update service/bark/bark.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-04-25 13:36:31 +08:00
ᴍᴏᴏɴD4ʀᴋ
4d485b3ea3 fix: use default server url 2022-04-23 23:52:32 +08:00
ᴍᴏᴏɴD4ʀᴋ
7bd80b076c fix: bark pushURL wrong schema 2022-04-23 23:51:42 +08:00
Niko Köser
db2e5884c2
refactor(service): normalize and clean-up bark service 2022-04-23 16:12:57 +02:00
ᴍᴏᴏɴD4ʀᴋ
8fdd3c24dc fix: use custom http client to send request 2022-04-23 20:23:48 +08:00
ᴍᴏᴏɴD4ʀᴋ
c364220b47 docs: add documents for bark service 2022-04-23 19:57:21 +08:00
ᴍᴏᴏɴD4ʀᴋ
24d61f6f82 feat: add bark service 2022-04-23 15:53:18 +08:00
Niko Köser
55650b9934
chore(err): wrap errors 2022-04-22 20:47:46 +02:00
Niko Köser
4585e9fc94
test(go): allow for parallel tests 2022-04-22 20:45:29 +02:00
renovate[bot]
f57dfda60e
fix(deps): update module github.com/bwmarrin/discordgo to v0.24.0 (#225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-03-25 08:48:24 +01:00
renovate[bot]
78f30df750
fix(deps): update module github.com/plivo/plivo-go to v7.8.0 (#224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-03-25 08:10:28 +01:00
Niko Köser
5550aedb73
feat(service): add syslog (#211) 2022-02-13 18:18:03 +01:00
Raphael Abrantes
80bc1fa47d
feat(service): Add AWS SNS (#110)
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-02-07 10:18:48 +01:00
Range Liu
5f4cb781ed
feat(service): Add DingTalk (#183)
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-02-07 09:07:37 +01:00
Panapol Poungdech
a15ae14b53 [fix] lint error 2022-02-06 20:36:09 +07:00
Bondril13
b4393af202 [add] line notify 2022-01-23 18:25:35 +07:00
Niko Köser
f7597a0fe5
chore(fmt): run 'make fmt' 2021-05-26 14:13:40 +02:00