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

147 Commits

Author SHA1 Message Date
Haris Chaniotakis
d43531825e feat(service): Add Amazon SES service 2021-02-16 01:10:40 +02:00
Niko Köser
dbaa5cd07c
chore(deps): go mod tidy 2021-02-12 19:21:01 +01:00
Niko Köser
df8ae11579
docs(readme): reword some paragraphs and add missing libs to credits list 2021-02-12 19:20:07 +01:00
Niko Köser
aad9e61788
chore(style): make fmt 2021-02-12 19:19:44 +01:00
Niko Köser
104fe6e275
Merge pull request #42 from chanioxaris/feature/mailgun
feat(service): Add Mailgun service
2021-02-12 18:53:37 +01:00
Niko Köser
968ae1e0ae
Merge branch 'main' into feature/mailgun 2021-02-12 18:51:43 +01:00
Niko Köser
15f3216e7b
Merge pull request #40 from chanioxaris/feature/sendgrid
feat(service): Add SendGrid service
2021-02-12 18:49:01 +01:00
Haris Chaniotakis
24bfbed1e2 refactor: split error checking to separate line 2021-02-12 19:10:12 +02:00
Haris Chaniotakis
2f93b48042 refactor: proper variable naming 2021-02-12 19:08:34 +02:00
Niko Köser
a1d960c266
Merge branch 'main' into feature/mailgun 2021-02-12 11:46:48 +01:00
Niko Köser
39fcea62f6
Merge branch 'main' into feature/sendgrid 2021-02-12 11:46:45 +01:00
Niko Köser
c507ab342e
Merge pull request #39 from nikoksr/refactor/simplify-notifier-interface
refactor(notifier): Simplify notify.Notifier interface
2021-02-12 11:45:17 +01:00
Haris Chaniotakis
7658138e4e refactor: make code more compact 2021-02-12 10:31:23 +02:00
Haris Chaniotakis
82bdb092f0 refactor: remove unnecessary variable assignments 2021-02-12 10:29:23 +02:00
Haris Chaniotakis
9c0af41201 docs: Update README with new supported Mailgun service 2021-02-10 19:23:34 +02:00
Haris Chaniotakis
bad88ec4f6 feat(service): Add Mailgun service 2021-02-10 19:22:20 +02:00
Haris Chaniotakis
3c21a6eed8 fix: fix comment typo on SendGrid struct 2021-02-10 17:30:43 +02:00
Haris Chaniotakis
77f04b5078 docs: Update README with new supported SendGrid service 2021-02-10 17:22:58 +02:00
Haris Chaniotakis
8237b78365 feat(service): Add SendGrid service 2021-02-10 17:20:40 +02:00
Niko Köser
ecdfb6f1cf
refactor(telegram): simplify telegram.AddReceivers function
Since AddReceivers no longer belongs to the notify.Notifier interface
its no longer forced to use a variadic string array as its main
parameter which needed to be parsed to an int64 array internally. The
telegram.AddReceivers now takes a variadic int64 array as parameter.
2021-02-10 15:11:32 +01:00
Niko Köser
bd82278932
refactor(notifier): remove AddReceivers function from notify.Notifier interface
AddReceivers was added to the notify.Notifier interface in 3d7cc206e1
and the fact that it shouldn't be there was obviously overlooked during
the code review.
The AddReceivers function is present in all services so far, but it does
not define the behavior of our services. The behavior is defined only by
the Send function. The AddReceivers function is also not called once in
the code on a notify.notifier. This can also be seen by the fact that I
can remove the AddReceivers function from the notify.Notifier interface
without getting any errors in the rest of the code.
2021-02-10 14:55:42 +01:00
Niko Köser
b3cad8fe68
refactor(use): simplify useService function 2021-02-10 14:52:09 +01:00
Niko Köser
236e66e284
chore(comment): put actual type names into comments 2021-02-10 14:51:32 +01:00
Niko Köser
4ffb7c09cf
chore(comment): add punctuation to function comment 2021-02-10 14:49:25 +01:00
Niko Köser
0d9ba9d696
Merge pull request #30 from prashanthpai/add-plivo-support
feat(service): add Plivo service
2021-02-09 13:21:27 +01:00
Prashanth Pai
67b2d011b8 feat(service): Add Plivo service
Added support for Plivo as a backend service with unit tests and
documentation.

Signed-off-by: Prashanth Pai <mail@ppai.me>
2021-02-09 09:30:52 +05:30
kodiakhq[bot]
77cea7b546
build(deps): bump github.com/bwmarrin/discordgo from 0.23.1 to 0.23.2 (#37)
build(deps): bump github.com/bwmarrin/discordgo from 0.23.1 to 0.23.2
2021-02-08 22:09:21 +00:00
kodiakhq[bot]
50efc1ac26
Merge branch 'main' into dependabot/go_modules/github.com/bwmarrin/discordgo-0.23.2 2021-02-08 22:07:28 +00:00
kodiakhq[bot]
484fe0be30
build(deps): bump actions/cache from v2 to v2.1.4 (#36)
build(deps): bump actions/cache from v2 to v2.1.4
2021-02-08 22:07:15 +00:00
Niko Köser
86507cdd02
Merge branch 'main' into dependabot/go_modules/github.com/bwmarrin/discordgo-0.23.2 2021-02-08 23:07:05 +01:00
Niko Köser
18442f1801
Merge branch 'main' into dependabot/github_actions/actions/cache-v2.1.4 2021-02-08 23:05:16 +01:00
Niko Köser
2a1ed66134
ci(deps): change dependabot label 2021-02-08 23:04:23 +01:00
dependabot[bot]
f3b41cfd04
build(deps): bump github.com/bwmarrin/discordgo from 0.23.1 to 0.23.2
Bumps [github.com/bwmarrin/discordgo](https://github.com/bwmarrin/discordgo) from 0.23.1 to 0.23.2.
- [Release notes](https://github.com/bwmarrin/discordgo/releases)
- [Commits](https://github.com/bwmarrin/discordgo/compare/v0.23.1...v0.23.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 22:00:10 +00:00
dependabot[bot]
2c0aaa4b1d
build(deps): bump actions/cache from v2 to v2.1.4
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 21:59:48 +00:00
Niko Köser
a7c87c3e53
Merge pull request #17 from nikoksr/build/add-basic-ci
build: add build helpers and basic CI
2021-02-08 22:59:17 +01:00
Niko Köser
8da6b18f0d
Merge branch 'main' into build/add-basic-ci 2021-02-08 22:58:41 +01:00
Niko Köser
fd894832c7
Merge pull request #35 from nikoksr/refactor/apply-golangci-lint-changes
refactor(lint): remove unnecessary new-lines
2021-02-08 22:57:42 +01:00
Niko Köser
cb4125a4c1
refactor(lint): remove unnecessary new-lines 2021-02-08 22:55:57 +01:00
Niko Köser
21f787893a
Merge branch 'main' into build/add-basic-ci 2021-02-08 22:51:39 +01:00
Niko Köser
0fc65d5e3b
Merge pull request #14 from KrishanBhalla/feature/TwitterService
feat(service): Add Twitter service
2021-02-08 13:24:12 +01:00
KrishanBhalla
2c1e57417d
Update service/twitter/twitter.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-08 08:28:30 +00:00
Niko Köser
3af97f8143
Merge branch 'main' into feature/TwitterService 2021-02-07 12:12:26 +01:00
Niko Köser
b7a214b523
Merge branch 'main' into build/add-basic-ci 2021-02-07 12:12:21 +01:00
Niko Köser
04cf3c11bc
Merge pull request #33 from pkwong4321/main
fix(service):  Fix chat-id parsing in AddReceivers function
2021-02-07 11:58:16 +01:00
Niko Köser
1cd736543e
Merge branch 'main' into main 2021-02-07 11:54:51 +01:00
Niko Köser
29b64fec77
Merge pull request #32 from prashanthpai/doc-fix-use-services
docs(readme): Fix UseService usage
2021-02-07 11:54:37 +01:00
Patrick Kwong
011cd2a766 Fix AddReceivers 2021-02-07 00:05:28 +08:00
Prashanth Pai
224b8a7b80 docs(readme): Fix UseService usage
The `UseService` has been renamed to `UseServices`.

Signed-off-by: Prashanth Pai <mail@ppai.me>
2021-02-06 14:50:21 +05:30
Niko Köser
2bda7f99bf
Merge branch 'main' into feature/TwitterService 2021-02-05 14:37:35 +01:00
Niko Köser
9c52d50fa2
Merge branch 'main' into build/add-basic-ci 2021-02-05 14:37:25 +01:00