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

567 Commits

Author SHA1 Message Date
renovate[bot]
f23b949fb6
fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.15.4 (#258)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 10:45:33 +00:00
Niko Köser
88228bd04c
Merge pull request #264 from nikoksr/renovate/codecov-codecov-action-3.x
chore(deps): update codecov/codecov-action action to v3
2022-04-26 06:43:33 +02:00
Renovate Bot
13765f7d5a
chore(deps): update codecov/codecov-action action to v3 2022-04-26 03:27:30 +00:00
renovate[bot]
240e01d502
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.4 (#261)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 03:26:30 +00:00
renovate[bot]
512f45a76c
fix(deps): update module github.com/aws/aws-sdk-go-v2 to v1.16.3 (#257)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 03:25:38 +00:00
Niko Köser
839bcbcde9
Merge pull request #260 from nikoksr/test/fill-gaps-in-lib-root 2022-04-26 01:23:08 +02:00
Niko Köser
0dac5dc6af
test: fill gaps in library root 2022-04-26 01:17:52 +02:00
Niko Köser
23b572dfb2
ci(gh): test recursively 2022-04-26 01:06:21 +02:00
Niko Köser
c7bf922209
ci(github): add test coverage creation and upload 2022-04-26 01:04:18 +02:00
Niko Köser
62773ae71a
chore(git): ignore test coverage file 2022-04-26 01:04:01 +02:00
Niko Köser
be7f51f5bb
build(make): add go test coverage command 2022-04-26 01:03:41 +02:00
Niko Köser
5e758e29a8
Merge pull request #259 from nikoksr/feat/new-with-services 2022-04-26 00:23:41 +02:00
Niko Köser
d81b7c47e5
docs(readme): add usage recommendation 2022-04-26 00:17:02 +02:00
Niko Köser
bfafa2acb7
feat(notify): Add NewWithServices() constructor function
AddNewWithServices() accepts a variadic list of services and returns a
new, by New() created, Notify instance with the list of services set as
its notifiers.

If no services are given it's the functionally identical to just calling
New().

Calling NewWithServices() with a list of services is functionally equal
to calling New() and then UseServices().
2022-04-25 23:53:28 +02:00
Niko Köser
5c3235363c
chore(naming): change list parameter names to plural 2022-04-25 23:52:39 +02:00
Niko Köser
f98e77001f
docs(readme): update contribution section in readme 2022-04-25 15:39:18 +02:00
Niko Köser
2d7300c73a
docs(contrib): update contribution guidelines 2022-04-25 15:38:39 +02:00
Niko Köser
510083f339
ci(github): remove redundant template 2022-04-25 15:38:20 +02:00
Niko Köser
3a85668e18
ci(github): add service issue template 2022-04-25 15:30:56 +02:00
Niko Köser
dcb78b50db
ci(github): update issue templates 2022-04-25 15:24:43 +02:00
Niko Köser
e81d95150a
Merge pull request #256 from nikoksr/renovate/github-codeql-action-2.x 2022-04-25 14:44:02 +02:00
Renovate Bot
89d8d1a080
chore(deps): update github/codeql-action action to v2 2022-04-25 12:37:48 +00:00
Niko Köser
f2d1c8437f
Merge pull request #254 from moonD4rk/main 2022-04-25 14:37:27 +02: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
Niko Köser
782e95313f
Merge branch 'main' into main 2022-04-23 19:20:07 +02:00
renovate[bot]
5bdcc0c845
fix(deps): update module github.com/slack-go/slack to v0.10.3 (#255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 16:14:39 +00: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
e2c9f249e1
docs(readme): add bark service to credits section 2022-04-23 16:13:38 +02: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
f66224c100
docs(readme): add similar projects section 2022-04-22 21:24:34 +02:00
Niko Köser
5e2e224428
Merge pull request #252 from nikoksr/feat/options
feat(notify): add options
2022-04-22 20:58:56 +02:00
Niko Köser
ca1026edb9
chore(tool): remove git-cliff support
Gonna use the GitHub changelog generation from now on.
2022-04-22 20:49:55 +02:00
Niko Köser
55650b9934
chore(err): wrap errors 2022-04-22 20:47:46 +02:00
Niko Köser
78392de0e3
style: remove unecessary new-line 2022-04-22 20:45:49 +02:00
Niko Köser
4585e9fc94
test(go): allow for parallel tests 2022-04-22 20:45:29 +02:00
Niko Köser
b50efdf40b
lint(go): update golangci config 2022-04-22 20:44:27 +02:00
Niko Köser
d50bbdd656
test(lint): ignore warning 2022-04-22 20:38:49 +02:00
Niko Köser
1f8d183210
test(notify): add tests for Notify's core functions
This only adds tests for Notify itself, not for the list of supported
services.
2022-04-22 20:33:52 +02:00
Niko Köser
c6054bc20a
chore(code): clean up a little 2022-04-22 20:33:24 +02:00
Niko Köser
20ec590e87
feat(notify): add notifier options
Introducing Option functions. Options are meant to provide an extendable
way of instanciating a Notifier with a set of options. Currently, only
Enable()/Disable() are supported.

WithOptions() alters an already instanciated Notifier and
NewWithOptions() returns a new Notifier instance that was initialized
with the given options.

Options are passed in as a variadic list, thus, they're "optional".. no
pun intended. Calling New() results in an internal call to
NewWithOptions() without options passed, which again results in a
default Notifier being returned.
2022-04-22 20:29:22 +02:00
Niko Köser
ed8c8250f3
chore(build): check if Notify satisfies Notifier interface 2022-04-22 19:02:37 +02:00
renovate[bot]
2027de87b9
fix(deps): update module github.com/bwmarrin/discordgo to v0.25.0 (#251)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 02:21:26 +00:00
renovate[bot]
a755bb1730
fix(deps): update github.com/dghubble/go-twitter digest to 14d8abd (#250)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:04:09 +00:00
Renovate Bot
35afc987ea fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.17.4 2022-03-31 11:34:54 +00:00
Renovate Bot
490dab42b4 fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.14.3 2022-03-31 05:46:39 +00:00