1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-05 22:53:35 +02:00
Commit Graph

787 Commits

Author SHA1 Message Date
Niko Köser
3c51987712
refactor(service): make most amazon_sns types unexported 2022-09-12 16:53:16 +02:00
Niko Köser
2e18096aea
Merge branch 'main' into test/apply-mock-and-naming-conventions-in-tests 2022-09-12 16:36:01 +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
6ed1684c1b
Merge pull request #390 from nikoksr/ci/remove-nightly
ci(release): remove nightly action
2022-09-12 13:46:49 +02: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
6ae3b26a3e
ci(release): remove nightly action
Buggy as hell and in theory users can utilize the latest commit hash
from main branch to get their hands on the latest of Notify.
2022-09-12 13:10:56 +02:00
Stefanos Valoumas
cbc6fda297
Merge pull request #389 from nikoksr/test/more-services
test(services): expand services test coverage
2022-09-12 13:08:26 +02: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
c5af170380
chore(deps): go mod tidy 2022-09-12 09:00:23 +02:00
Niko Köser
8259b1118f
ci(lint): replace deprecated linters 2022-09-12 08:59:12 +02:00
Niko Köser
6433e36ab3
build(make): move install of vektra/mockery into setup command 2022-09-12 08:56:43 +02:00
Niko Köser
f692de61ba
build(make): add command to generate service mocks
Most services are testing by mocking them. To unify the way how and
where these mocks are being generated, I added the mock command. The
command executes go generate against all subdirectories internally. For
this to work every service needs a go:generate comment that defines the
mockery command to be executed. For examples, check
'service/amazonses/amazon_ses.go#14'. All newly added tests should make
use of this pattern.
2022-09-12 08:52:04 +02:00
Niko Köser
a003cd0215
test(send): test sending messages to multiple servives 2022-09-12 08:51:06 +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
renovate[bot]
cdd9171277
fix(deps): update module github.com/slack-go/slack to v0.11.3 (#388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-11 20:35:31 +00:00
Niko Köser
2d65ca31c3
Merge pull request #387 from nikoksr/ci/fix-nightly-release 2022-09-11 12:16:40 +02:00
Niko Köser
1f5c9550ca
ci(nightly): explicitly remove previous nightly release
I expected the action that creates the nightly release to also remove
the old release. It has options for keeping old releases etc but
appararently it's none of its business. Thus, we're now explicitly
removing the 'nightly' tag before re-creating it.
2022-09-11 12:07:18 +02:00
Niko Köser
5652317ab2
Merge pull request #386 from nikoksr/ci/nightly-release 2022-09-10 21:48:23 +02:00
Niko Köser
2a854972a1
ci(release): add nightly release 2022-09-10 21:39:36 +02:00
renovate[bot]
9a33784da3
fix(deps): update module github.com/google/go-cmp to v0.5.9 (#385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-08 19:22:21 +00:00
renovate[bot]
fb7601eabe
fix(deps): update golang.org/x/sync digest to f12130a (#384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-07 19:46:09 +00:00
renovate[bot]
b25528b3e1
fix(deps): update github.com/rocketchat/rocket.chat.go.sdk digest to 56c5346 (#383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 20:11:52 +00:00
renovate[bot]
b24b1fa62d
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.17.17 (#382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 13:26:44 +00:00
renovate[bot]
2832ab4da9
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.16 (#381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 07:01:44 +00:00
renovate[bot]
6a4a1ce7f0
fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.17.5 (#380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 03:39:15 +00:00
renovate[bot]
8033f98ef3
fix(deps): update module github.com/aws/aws-sdk-go-v2 to v1.16.14 (#379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-02 23:56:48 +00:00
renovate[bot]
386eef2b79
fix(deps): update module github.com/go-lark/lark to v1.7.3 (#373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 15:33:01 +00:00
Niko Köser
d21b96d10e
Merge pull request #378 from nikoksr/docs/readme-special-thanks 2022-09-01 10:57:03 +02:00
Niko Köser
60cdf383f5
docs(readme): add special thanks section 2022-09-01 10:52:20 +02:00
renovate[bot]
a301f4d457
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.15 (#377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 05:53:07 +00:00
renovate[bot]
d18c6100cd
fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.17.4 (#376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 02:51:17 +00:00
renovate[bot]
3f8a9d0d82
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.17.16 (#372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 23:38:12 +00:00
renovate[bot]
cc310d7f04
fix(deps): update module github.com/aws/aws-sdk-go-v2 to v1.16.13 (#375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 23:37:09 +00:00