Commit graph

18 commits

Author SHA1 Message Date
lucasheld
84d4009d6a feat: replace raw return values with enum values
BREAKING CHANGE:
Types of return values changed to enum values:
  - monitor: `type` (str -> MonitorType), `authMethod` (str -> AuthMethod)
  - notification: `type` (str -> NotificationType)
  - docker host: `dockerType` (str -> DockerType)
  - status page: `style` (str -> IncidentStyle)
  - maintenance: `strategy` (str -> MaintenanceStrategy)
  - proxy: `protocol` (str -> ProxyProtocol)
2023-05-25 21:26:54 +02:00
Lucas Held
1359576413
feat: raise exception when deleting an element that does not exist (#37) 2023-05-20 14:09:09 +02:00
lucasheld
f0c5f2ba9d feat: drop support for Uptime Kuma versions < 1.21.3
BREAKING CHANGE: Uptime Kuma versions < 1.21.3 are not supported in uptime-kuma-api 1.x.x
2023-05-20 12:43:57 +02:00
lucasheld
42c040f451 feat: add support for uptime kuma 1.21.0 2023-03-20 15:14:39 +01:00
lucasheld
14e9f47406 feat: add support for uptime kuma 1.20.0 2023-02-13 22:51:21 +01:00
lucasheld
d01ff6d80e feat: add support for uptime kuma 1.19.2 2022-12-29 00:22:53 +01:00
lucasheld
06fa29cd41 fix: update event list data after changes 2022-10-04 18:38:17 +02:00
lucasheld
a409c2dbaa refactor: use enums 2022-09-18 19:46:20 +02:00
lucasheld
928462c6b2 test: create objects with all available arguments 2022-09-17 12:24:08 +02:00
lucasheld
314f07c93d fix: convert monitor notificationIDList return value
https://github.com/lucasheld/ansible-uptime-kuma/issues/3
2022-09-12 22:45:43 +02:00
lucasheld
12cd8067e4 fix: generate pushToken on push monitor save
https://github.com/lucasheld/ansible-uptime-kuma/issues/5
2022-09-12 20:48:36 +02:00
lucasheld
a7f571f508 add support for uptime kuma 1.18.0 2022-09-07 13:03:13 +02:00
lucasheld
45b8b88166 convert monitor data on edit
closes #3
2022-09-06 13:41:51 +02:00
lucasheld
464d0b9e71 add tests for all monitor types 2022-08-26 14:03:17 +02:00
lucasheld
01664f5fbc add more tests 2022-08-05 14:35:17 +02:00
lucasheld
624c16c4a6 add more tests 2022-08-03 12:35:48 +02:00
lucasheld
8d2c0ec4f7 remove converter 2022-08-03 11:56:02 +02:00
lucasheld
a1a483efce add tests 2022-08-02 23:47:56 +02:00