Commit Graph
100 Commits
Author SHA1 Message Date
Niko Köser d6439289a3 build(make): merge setup commands 2022-08-04 15:31:11 +02:00
Niko Köser db4454d6a5 chore(lint): remove redundant fmt linter 2022-08-04 15:29:50 +02:00
Niko Köser 2b5028f5c5 build(make): add setup command
Add setup command to make installing of dependencies explicit.
2022-08-04 15:28:30 +02:00
Niko Köser 17561777d4 style(gci): apply new flag name 2022-08-04 15:27:10 +02:00
Niko KöserandGitHub d448ef6854 Merge pull request #272 from svaloumas/feature/add-fcm-service 2022-05-09 19:00:29 +02:00
Niko KöserandGitHub 6d3af8bfab Merge pull request #266 from nikoksr/chore/remove-kodiak 2022-04-27 15:48:48 +02:00
Niko KöserandGitHub 1c3839443a Merge branch 'main' into chore/remove-kodiak 2022-04-27 15:40:41 +02:00
Niko Köser 36aaef4b0a docs(readme): fix library documentation link 2022-04-27 15:37:26 +02:00
Niko Köser 9817db0a46 ci(action): remove kodiak action 2022-04-27 15:36:58 +02:00
Niko KöserandGitHub 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
Niko KöserandGitHub 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öserandGitHub 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öserandGitHub 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öserandGitHub e81d95150a Merge pull request #256 from nikoksr/renovate/github-codeql-action-2.x 2022-04-25 14:44:02 +02:00
Niko KöserandGitHub 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
Niko KöserandGitHub 782e95313f Merge branch 'main' into main 2022-04-23 19:20:07 +02: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
Niko Köser f66224c100 docs(readme): add similar projects section 2022-04-22 21:24:34 +02:00
Niko KöserandGitHub 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
Niko Köser 507eee3cb9 chore(release): prepare for release v0.23.0 2022-03-25 08:53:48 +01:00
Niko Köser 64c7cf9735 build(cliff): apply latest breaking changes to git-cliff config 2022-02-13 18:25:51 +01:00
Niko Köser b75ebd1003 chore(release): prepare for v0.22.0 2022-02-13 18:20:37 +01:00
Niko KöserandGitHub 5550aedb73 feat(service): add syslog (#211) 2022-02-13 18:18:03 +01:00
Niko Köser e76d8f3d37 chore(release): prepare for release v0.21.0 2022-02-09 14:12:07 +01:00
Niko KöserandGitHub f7144f6107 feat(lib): add package-level functions (#208) 2022-02-09 14:10:08 +01:00
Niko Köser bdea3798c5 chore(release): prepare for release v0.20.1 2022-02-07 10:37:31 +01:00
Niko KöserandGitHub 8f1be621f0 build(deps): update and tidy dependencies (#206) 2022-02-07 10:36:38 +01:00
Niko Köser da206aec91 chore(release): prepare for release v0.20.0 2022-02-07 10:26:16 +01:00
Niko Köser 773f302d6d docs(readme): add credits for AWS SNS service 2022-02-07 10:25:02 +01:00
Niko Köser defb0dc158 chore(typo): fix minor typo 2022-02-07 10:24:43 +01:00
Niko Köser 7d85160b7a chore(release): prepare for release v0.19.1 2022-02-07 09:42:54 +01:00
Niko KöserandGitHub d63a739726 build(deps): update and tidy dependencies (#202) 2022-02-07 09:42:08 +01:00
Niko Köser bc18cefd8f chore(release): prepare for release v0.19.0 2022-02-07 09:23:26 +01:00
Niko Köser edac39ace6 docs(readme): add DingTalk credits and remove FOSSA badge 2022-02-07 09:21:54 +01:00
Niko Köser 9a09c5ee0f docs(contrib): simplify contribution guide 2022-02-07 09:21:21 +01:00
Niko Köser 178b738eaf ci(lint): fix goimports local prefix 2022-02-07 09:20:59 +01:00
Niko Köser e2bd3f37ca ci(pr): add new pull-request template 2022-02-07 09:20:32 +01:00
Niko Köser abd9f9a086 docs(changelog): apply git-cliff's config update 2022-02-07 08:58:04 +01:00
Niko Köser 2020bbd1a3 docs(cliff): add build commit parser 2022-02-07 08:57:35 +01:00
Niko Köser e848d9afa2 chore(release): prepare for release v0.18.0 2022-02-07 08:08:39 +01:00
Niko Köser 1affeaa093 build(make): add commands to generate changelogs
Added two Make commands.

changelog-latest: Outputs the latest tagged changes to stdout. Useful
                  for release bodies on GitHub.
changelog-file:   Overwrites the file CHANGELOG.md with git-cliff's
                  output resulting from running over the full git log.
2022-02-07 08:04:58 +01:00
Niko Köser 72db01ff78 ci(docs): drop changelog generating action
I sadly don't have the time to fiddle around with this action. Even
though I'd love it to be running and auto-generating changelogs, I want
to use my spare time on notify efficiently and I don't think that this
task here has priority right now. I might be coming back to this later.

For now, changelogs must be generated manually.
2022-02-07 08:02:53 +01:00
Niko Köser 36f86c4000 ci(docs): switch from config-flag to config option in action file 2022-02-07 07:52:48 +01:00
Niko Köser 469a97fdd0 ci(chore): fix smaller issues and clean-up 2022-02-07 07:49:12 +01:00
Niko Köser 7296c8b46c ci(docs): add workflow for git-cliff to auto-gen changelogs 2022-02-07 07:42:01 +01:00
Niko Köser 4807f82797 build(make): fix linter command and add implicit install commands 2022-02-07 07:41:27 +01:00
Niko Köser cc654092ec ci(workflow): change version signature of workflow 'ci' 2022-02-07 07:40:55 +01:00
Niko Köser 0b06a00000 ci(docs): add git-cliff config
Notify will use git-cliff from now on for Changelog generation.
2022-02-06 15:46:04 +01:00
Niko KöserandGitHub 67bcd44b23 Merge pull request #197 from panapol-p/add-line-notify-service 2022-02-06 14:49:16 +01:00
Niko KöserandGitHub a64ac98607 Merge pull request #172 from nikoksr/ci/fix-codacy-config
ci(codacy): reintroduce config for readme badge
2021-11-18 19:32:49 +01:00
Niko Köser fa242e7e90 ci(codacy): reintroduce config for readme badge 2021-11-18 19:26:19 +01:00
Niko KöserandGitHub a7991251fa Merge pull request #171 from nikoksr/chore/go-mod-tidy
chore(deps): go mod tidy
2021-11-17 23:42:33 +01:00
Niko Köser 4367404f28 chore(deps): update go mod version and run go mod tidy 2021-11-17 19:06:33 +01:00
Niko Köser 7e48357216 ci(codacy): remove config
We now full rely on golint-ci which is being executed by GitHub workflow
ci.yml.
2021-11-17 19:04:57 +01:00
Niko KöserandGitHub 5893741874 Merge pull request #169 from nikoksr/ci/update-github-action
ci(action): update github action
2021-11-17 16:27:32 +01:00
Niko KöserandGitHub 20bf4694f8 Merge branch 'main' into ci/update-github-action 2021-11-17 16:27:09 +01:00
Niko Köser 059f8a6384 ci(action): update github action
Remove build job from action, use native golangi-lint action, separate
test and lint into separate jobs and add multiple versions and
platforms to test matrix.
2021-11-17 16:21:33 +01:00
Niko KöserandGitHub 6f97db6fac Merge pull request #144 from nikoksr/renovate/github.com-aws-aws-sdk-go-v2-service-ses-1.x
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/ses to v1.5.2
2021-08-22 02:41:16 +02:00
Niko Köser cc108feefb build(deps): revert version updates for line and telegram 2021-08-14 01:19:58 +02:00
Niko KöserandGitHub d8977bcfb1 Merge pull request #142 from nikoksr/renovate/github.com-go-telegram-bot-api-telegram-bot-api-5.x
fix(deps): update module github.com/go-telegram-bot-api/telegram-bot-api to v5
2021-08-14 00:53:20 +02:00
Niko KöserandGitHub 7dbc598dbe Merge branch 'main' into renovate/github.com-go-telegram-bot-api-telegram-bot-api-5.x 2021-08-14 00:53:14 +02:00
Niko KöserandGitHub 7a508b58de Merge pull request #141 from nikoksr/renovate/github.com-line-line-bot-sdk-go-7.x
fix(deps): update module github.com/line/line-bot-sdk-go to v7.10.0
2021-08-14 00:53:04 +02:00
Niko Köser 1f04ae524b ci(deps): remove dependabot and extend renovate config 2021-08-14 00:42:14 +02:00
Niko KöserandGitHub a41f3f86fa Merge pull request #140 from nikoksr/renovate/configure
Configure Renovate
2021-08-14 00:20:50 +02:00
Niko KöserandGitHub 0d4fb8be20 Merge pull request #139 from nikoksr/ci/add-codeql-analysis
ci(codeql): add codeql-analysis config
2021-08-13 02:21:42 +02:00
Niko KöserandGitHub 515489e679 ci(codeql): add codeql-analysis config 2021-08-13 02:21:28 +02:00
Niko Köser 5f87ed9011 ci(stale): drop stale config & bot 2021-08-13 02:10:22 +02:00
Niko KöserandGitHub b9a61280d6 Merge pull request #138 from nikoksr/chore/tidy-deps
chore(deps): go get -u & go mod tidy
2021-08-13 02:05:35 +02:00
Niko Köser 3b6a1b0a92 chore(deps): go get -u & go mod tidy 2021-08-13 02:01:39 +02:00
Niko KöserandGitHub a22a66d437 Merge pull request #137 from nikoksr/dependabot/go_modules/github.com/textmagic/textmagic-rest-go-v2/v2-2.0.1816
build(deps): bump github.com/textmagic/textmagic-rest-go-v2/v2 from 2.0.1781 to 2.0.1816
2021-08-13 01:57:33 +02:00
Niko KöserandGitHub 63664553bb Merge branch 'main' into dependabot/go_modules/github.com/textmagic/textmagic-rest-go-v2/v2-2.0.1816 2021-08-13 01:57:27 +02:00
Niko KöserandGitHub 4c8325cc12 Merge pull request #135 from nikoksr/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/credentials-1.3.2
build(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.3.0 to 1.3.2
2021-08-13 01:57:15 +02:00
Niko KöserandGitHub 31e155712f Merge branch 'main' into dependabot/go_modules/github.com/aws/aws-sdk-go-v2/credentials-1.3.2 2021-08-13 01:57:08 +02:00
Niko KöserandGitHub 1adb0ae361 Merge pull request #133 from nikoksr/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/config-1.6.0
build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.4.1 to 1.6.0
2021-08-13 01:54:01 +02:00
Niko KöserandGitHub db0f02c334 Merge branch 'main' into dependabot/go_modules/github.com/aws/aws-sdk-go-v2/config-1.6.0 2021-08-13 01:53:56 +02:00
Niko KöserandGitHub 3418918055 Merge pull request #132 from nikoksr/dependabot/go_modules/github.com/slack-go/slack-0.9.4
build(deps): bump github.com/slack-go/slack from 0.9.2 to 0.9.4
2021-08-13 01:53:40 +02:00