Commit graph

42 commits

Author SHA1 Message Date
Scott Wallace b6fa8e6632 Fix the CLI healthcheck 2021-05-27 07:38:16 +01:00
Scott Wallace fbcd86a67b Fix JSON response from Gotify calls 2021-05-27 07:38:16 +01:00
Scott Wallace a4688c4442 Move to requests to handle TLS connections
Fixes #15
2021-05-27 07:38:16 +01:00
Scott Wallace 4d74be6b9f Add type hints 2021-05-27 07:38:16 +01:00
Scott Wallace 1e0099400d Fix bad return in Gotify method 2021-05-27 07:38:16 +01:00
Scott Wallace d8a82c1334 Simple cosmetic change 2021-05-27 07:38:16 +01:00
Scott Wallace 16030fbe05 Add negative healthcheck test 2021-05-27 07:38:16 +01:00
Scott Wallace e47989d80a Cosmetic fix-up 2021-05-27 07:38:16 +01:00
Scott Wallace 076207118b Fix README 2021-05-27 07:38:16 +01:00
Scott Wallace ed5ba680da Move to Flask to fix #17 2021-05-27 07:38:16 +01:00
Scott Wallace e0a6c37031 Make the log level calculation "safer" 2021-05-27 07:38:16 +01:00
Scott Wallace 825f55e70a Resolves #18: Ensure all matching messages are removed, if enabled 2021-05-27 07:38:16 +01:00
Scott Wallace 6850133ffe Remove testing on Python v3.5 as f-strings are used 2021-05-27 07:38:16 +01:00
Scott Wallace 1672331700 Resolve #8: Add beginnings of a test framework 2021-05-27 07:38:16 +01:00
Scott Wallace 6644a0b20e Rename the variables for the two different types of Gotify key 2021-05-27 07:38:16 +01:00
Scott Wallace 7496d5505e Resolve #16: Verbosity config should be levels not binary
Resolves: #16
2021-05-27 07:38:16 +01:00
Scott Wallace f46f99c1a2 Fix extra "resolved" message 2020-11-03 07:53:05 +00:00
Scott Wallace f36fb69435 Version bump 2020-11-03 07:53:05 +00:00
Scott Wallace 3c9128c233 Resolves #18: Ensure all matching messages are removed, if enabled 2020-11-03 07:53:05 +00:00
Scott Wallace a6aad06dac
Create python-package.yml 2020-10-28 17:37:07 +00:00
Scott Wallace beb470fe4b Perform a small refactor 2020-10-25 09:17:40 +00:00
Scott Wallace 0cb79d734a Removed defaults for instance and description 2020-10-25 09:17:40 +00:00
Scott Wallace a8782e43d3 Add version output.
Resolves: #12
2020-10-25 09:17:40 +00:00
Scott Wallace 07c5cb2f01 Refactor the code into modules 2020-10-25 09:17:40 +00:00
Scott Wallace 440e211723 Format Python code 2020-10-25 09:17:40 +00:00
Scott Wallace 8e71192d0f Use logging to handle console messaging 2020-10-23 14:50:03 +01:00
Scott Wallace 622cb7a635 Fix README.md 2020-10-23 14:50:03 +01:00
Scott Wallace c10920c89e Split out gotify class to its own module 2020-10-23 14:50:03 +01:00
Scott Wallace 71494cdc0e Fix message contents 2020-10-23 14:50:03 +01:00
Scott Wallace 12b39b1c08 Add the ability to delete original alert when matching resolved message arrives 2020-10-23 14:50:03 +01:00
Scott Wallace 3c57c113cd Add the ability to disabled resolved messages
Resolves #5
2020-10-20 17:55:12 +01:00
Scott Wallace 3dff3c9121
Fix comments 2020-10-20 15:39:55 +01:00
Scott Wallace c05d02a16f Add defaults and config parser.
Resolves #4
Resolves #6
2020-10-20 15:35:24 +01:00
Scott Wallace 2d5f17bacb
Add some output
Resolves: #2, #3
2020-10-15 09:08:23 +01:00
Scott Wallace 0bdfa3502c Revert "Create docker-image.yml"
This reverts commit 28e6ffc1f1.
2020-10-13 17:49:48 +01:00
Scott Wallace 28e6ffc1f1
Create docker-image.yml
First attempt
2020-10-13 16:33:52 +00:00
Scott Wallace 4eff8404a7 Update usage and README.md 2020-10-13 17:26:14 +01:00
Scott Wallace a1878f840f Run as non-root user 2020-10-13 15:44:31 +01:00
Scott Wallace e58330897b README.md updates 2020-10-13 15:36:16 +01:00
Scott Wallace 8a950a8e32 Add URL to Gotify. 2020-10-13 15:32:56 +01:00
Scott Wallace 2079268b5d Update to first fully working version. 2020-10-13 15:31:33 +01:00
Scott Wallace 4788f36e55 Initial commit 2020-10-13 09:19:35 +01:00