1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-07 23:01:59 +02:00
Commit Graph

710 Commits

Author SHA1 Message Date
renovate[bot]
133dd5616c
fix(deps): update golang.org/x/sync digest to 8fcdb60 (#407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-30 03:08:10 +00:00
Niko Köser
de5ab0023d
Merge pull request #402 from nikoksr/renovate/github.com-sendgrid-sendgrid-go-3.x 2022-09-29 08:30:00 +02:00
Niko Köser
a015ca84ae
fix(deps): correct malformed semver
This was caused by renovate bug [1], which is now claimed to be fixed.
The malformed semver string still needed manual correction tho.

[1] https://github.com/renovatebot/renovate/issues/17089
2022-09-29 08:23:25 +02:00
renovate[bot]
2bac7cc113
fix(deps): update module github.com/sendgrid/sendgrid-go to v3.12.0+incompatible 2022-09-28 18:24:42 +00:00
renovate[bot]
11193b66df
fix(deps): update module github.com/plivo/plivo-go/v7 to v7.12.1 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-28 18:24:22 +00:00
renovate[bot]
109530912f
fix(deps): update golang.org/x/sync digest to 7f9b162 (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-24 02:40:03 +00:00
Niko Köser
a738e162a8
Merge pull request #404 from nikoksr/ci/update-renovate-config 2022-09-23 09:24:06 +02:00
Niko Köser
e2b8bde8ac
ci(renovate): add additional assignee and post-run gomodtidy to renovate 2022-09-23 09:09:56 +02:00
renovate[bot]
47fcae1f7b
fix(deps): update github.com/kevinburke/twilio-go digest to 8f3f155 (#403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-22 23:24:34 +00:00
renovate[bot]
92543691fb
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.18.1 (#401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-21 06:08:21 +00:00
renovate[bot]
a1d6c60277
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.18 (#400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-21 03:38:23 +00:00
renovate[bot]
e3e4df5c13
fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.17.7 (#399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-21 00:56:57 +00:00
renovate[bot]
b0881c7603
fix(deps): update module github.com/textmagic/textmagic-rest-go-v2/v2 to v2.0.4420 (#398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 16:08:42 +00:00
Niko Köser
4721e74697
Merge pull request #392 from svaloumas/docs/add-tests-section-in-contributing-md 2022-09-16 13:14:39 +02:00
Niko Köser
e709c4966b
Merge branch 'main' into docs/add-tests-section-in-contributing-md 2022-09-16 13:01:02 +02:00
Niko Köser
0c3d986cad
Merge pull request #396 from nikoksr/renovate/github.com-aws-aws-sdk-go-v2-service-ses-1.x 2022-09-16 13:00:43 +02:00
renovate[bot]
aa58c18c65
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.17 2022-09-16 10:46:25 +00:00
renovate[bot]
ad3c4072d7
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.18.0 (#397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 10:13:23 +00:00
renovate[bot]
65f91fe6d7
fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.17.6 (#394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 07:14:45 +00:00
Stefanos Valoumas
03f515e3ac docs(CONTRIBUTING): update tests section 2022-09-16 10:08:30 +03:00
Stefanos Valoumas
5a4e881e9e docs(CONTRIBUTING): add tests section 2022-09-14 17:24:33 +03:00
Stefanos Valoumas
bda5705e4e
Merge pull request #391 from svaloumas/test/apply-mock-and-naming-conventions-in-tests
test(services): apply mock and naming conventions
2022-09-12 17:11:48 +02: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
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