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
Niko Köser
cc15d717fa
docs(comment): fix wrong type name in comment 2021-02-23 01:23:31 +01:00
Niko Köser
880563e250
refactor(sendgrid): fix faulty error return 2021-02-23 00:03:21 +01:00
Niko Köser
19d5488113
refactor(service): return context.Err when context.IsDone 2021-02-22 23:56:28 +01:00
Niko Köser
80cab3dece
refactor(send): Add context.Context to parameter list of Send method 2021-02-18 03:33:30 +01:00
Niko Köser
be83897fe9
Merge branch 'main' into feature/ses 2021-02-18 00:28:23 +01:00
checkaayush
26690dd231 refactor(service): Make changes as per review comments 2021-02-17 23:32:51 +05:30
Haris Chaniotakis
d192dd1c1f refactor(service): construct email input on a single initialization 2021-02-17 19:22:03 +02:00
checkaayush
fe2d0ee118 refactor(service): Separate out login into LoginWithQRCode and LoginWithSessionCredentials 2021-02-17 13:11:43 +05:30
Haris Chaniotakis
c10290ec4a refactor(service): Use newest version v2 of AWS Golang SDK 2021-02-16 18:35:05 +02:00
Haris Chaniotakis
d43531825e feat(service): Add Amazon SES service 2021-02-16 01:10:40 +02:00
checkaayush
8ce5ea97ec feat(service): Add WhatsApp service 2021-02-15 10:56:59 +05:30
Niko Köser
aad9e61788
chore(style): make fmt 2021-02-12 19:19:44 +01:00
Niko Köser
968ae1e0ae
Merge branch 'main' into feature/mailgun 2021-02-12 18:51:43 +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
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
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
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
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
Niko Köser
cb4125a4c1
refactor(lint): remove unnecessary new-lines 2021-02-08 22:55:57 +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
1cd736543e
Merge branch 'main' into main 2021-02-07 11:54:51 +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
342243c659
Merge branch 'main' into feature/TwitterService 2021-02-05 09:17:10 +01:00
karitham
04dce61a01 fix miss-spell & run gofmt -s 2021-02-02 22:07:30 +01:00
KrishanBhalla
e6d5c854d9
Update service/pushbullet/pushbullet.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 19:22:06 +00:00
KrishanBhalla
4f6011a81a
Update pushbullet.go 2021-02-01 19:21:52 +00:00
KrishanBhalla
c159e97d01
Update service/pushbullet/usage.md
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 19:20:53 +00:00
KrishanBhalla
45a066b5b0
Update service/pushbullet/usage.md
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 19:20:41 +00:00
KrishanBhalla
8aa7416c8d
Update service/pushbullet/sms.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 19:20:30 +00:00
KrishanBhalla
2568de75c0
Update service/pushbullet/pushbullet.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 19:20:24 +00:00
KrishanBhalla
4383388f28
Update service/pushbullet/pushbullet.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 19:20:19 +00:00
KrishanBhalla
ccaf02c352 patch: Removed validation from pushbullet.go AddReceivers 2021-02-01 17:32:04 +00:00
KrishanBhalla
d7489d5022 patch: Renamed PushBullet to Pushbullet 2021-02-01 17:29:48 +00:00
KrishanBhalla
9966e69271
Update service/pushbullet/sms.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 17:25:37 +00:00
KrishanBhalla
6dc24edfa4
Update service/pushbullet/sms.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 17:25:29 +00:00
KrishanBhalla
451b21f287
Update service/pushbullet/usage.md
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-02-01 17:21:16 +00:00
KrishanBhalla
c360edb796 Merge branch 'feature/PushBullet' of https://github.com/KrishanBhalla/notify into feature/PushBullet 2021-02-01 13:47:37 +00:00
KrishanBhalla
609cc3c648 feat(service) Pushbullet SMS - added new service and usage documentation to pushbullet package 2021-02-01 12:57:53 +00:00
KrishanBhalla
1cbd539b24
Update pushbullet.go 2021-02-01 12:05:38 +00:00
KrishanBhalla
3ba5639feb feat(service): Added Pushbullet service (tested) 2021-02-01 10:26:59 +00:00
Niko Köser
931d5cbd2b
Merge branch 'main' into feature/TwitterService 2021-01-31 15:46:34 +01:00
KrishanBhalla
0066ddcd95 Merge branch 'feature/TwitterService' of https://github.com/KrishanBhalla/notify into feature/TwitterService 2021-01-31 12:18:27 +00:00
KrishanBhalla
80e5053c96
Update service/twitter/twitter.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-01-31 12:17:32 +00:00
KrishanBhalla
3421834a08
Update service/twitter/twitter.go
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2021-01-31 12:17:27 +00:00
KrishanBhalla
9cfd1deccc Merged main 2021-01-31 12:16:41 +00:00
KrishanBhalla
b07e71dade Requested Changes 2021-01-31 12:14:48 +00:00
KrishanBhalla
742d127319 Merge branch 'main' into Remove_Pseudo 2021-01-31 12:12:54 +00:00
Niko Köser
71575ee000
Merge pull request #9 from nikoksr/add-ms-teams-service
feat(service): Add Mircosoft Teams service
2021-01-31 04:10:39 +01:00
Niko Köser
a4fca6987d
fix(param): remove unused parameter from function New 2021-01-31 03:49:50 +01:00
GrantBirki
ad1b57c46e adding usage docs for slack 2021-01-30 16:29:16 -08:00
Niko Köser
d8877b86dd
Update service/msteams/ms_teams.go
Co-authored-by: Renan Bastos <renanbastos.tec@gmail.com>
2021-01-31 01:18:22 +01:00
KrishanBhalla
2d86922144 Updated README.md 2021-01-30 22:11:33 +00:00
KrishanBhalla
bf50dc8c09 UNTESTED: twitter service 2021-01-30 22:05:48 +00:00
KrishanBhalla
3d7cc206e1 Updated Notifier interface, altered telegram AddRecievers 2021-01-30 21:20:02 +00:00
KrishanBhalla
472ffde83c Removed pseudo 2021-01-30 20:39:07 +00:00
Renan Bastos
5cf5130bda
fix: remove error return on method new
it was removed because it wasn't used.
2021-01-30 16:31:17 -03:00
Niko Köser
94e2bf0c5c
chore(lint): apply changes suggested by golangci-lint 2021-01-29 19:53:31 +01:00
Niko Köser
e83d90888b
refactor(name): remove underscore from package name (golint: var-naming) 2021-01-29 19:50:19 +01:00
Niko Köser
0b810ff5fa
chore(comment): fix grammar in method comment 2021-01-29 19:44:45 +01:00
Niko Köser
5c54aadb72
feat(service): add support for Microsoft Teams 2021-01-29 19:25:38 +01:00
Niko Köser
1fa62bf33c
refactor(service): remove obsolete listener from Telegram struct 2021-01-29 19:24:22 +01:00
Mischa
229e3f7cda
Fixed copy-paste error in comment
COPY PASTE STRIKES AGAIN!
2021-01-29 11:06:20 +13:00
KrishanBhalla
f25c2a062f comments 2021-01-26 22:50:42 +00:00
KrishanBhalla
98fa724d69 Comment to elaborate on slack apps 2021-01-26 22:49:15 +00:00
KrishanBhalla
0184a24780 changed package name to 'slack' 2021-01-26 22:30:13 +00:00
KrishanBhalla
490aef2c76 slack service 2021-01-26 22:25:16 +00:00
Niko Köser
fe13109519
docs(comment): add comments pointing to useful resources 2021-01-26 11:31:33 +01:00
Niko Köser
9acc5f6116
fix(discord): add gateway intent to discord client
The discord client was missing its gateway intent. Basically meaning the
API didn't know what the bot is allowed to do, so sending messages would
fail with 'Error 401: Unauthorized'.
Added only the intent to send messages (2048) and now everything is
working as intended.
2021-01-26 09:22:55 +01:00
Niko Köser
eda3e18914
docs(comment): correct function name in comment 2021-01-26 09:22:36 +01:00
Niko Köser
9df832cd3e
docs(comment): add missing comment to pseudo struct 2021-01-26 09:21:47 +01:00
Niko Köser
641a640173
feat(discord): add support for various authentication methods 2021-01-25 06:08:57 +01:00
Niko Köser
b9c0efe21f
refactor(lib): comment and clean up code 2021-01-25 05:05:28 +01:00
Niko Köser
911b879574
feat: init project 2021-01-25 00:14:21 +01:00