Commit graph

114 commits

Author SHA1 Message Date
lucasheld
0ea7865be0 test: add script to run tests for all supported uptime kuma versions 2022-10-04 19:10:06 +02:00
lucasheld
d13621cd9e test: ignore ResourceWarning 2022-10-04 19:08:59 +02:00
lucasheld
06fa29cd41 fix: update event list data after changes 2022-10-04 18:38:17 +02:00
lucasheld
fee0a1dd8e feat: add support for uptime kuma 1.18.1 / 1.18.2 2022-10-04 18:36:32 +02:00
lucasheld
37e1fd6d6f bump version to 0.3.0
x
2022-09-23 19:18:35 +02:00
lucasheld
661c06b15f feat: support autoLogin for enabled disableAuth
Call the login method without parameters to log in when disableAuth is enabled.
2022-09-23 18:24:00 +02:00
lucasheld
ebadfb73e6 fix: set_settings password is only required if disableAuth is enabled 2022-09-23 17:19:00 +02:00
lucasheld
0821f38faa fix: increase event wait time
the statusPageList event is slow
2022-09-18 22:31:38 +02:00
lucasheld
e041d66cdc test: delete objects instead of uploading a backup 2022-09-18 19:54:25 +02:00
lucasheld
a409c2dbaa refactor: use enums 2022-09-18 19:46:20 +02:00
lucasheld
88e4ccc57e bump version to 0.2.2 2022-09-18 14:54:27 +02:00
lucasheld
54d221cdfe fix: convert monitor notificationIDList only once 2022-09-18 14:49:10 +02:00
lucasheld
928462c6b2 test: create objects with all available arguments 2022-09-17 12:24:08 +02:00
lucasheld
de38586bf5 fix: remove tags from monitor input
add_monitor_tag must be used instead
2022-09-17 12:19:36 +02:00
lucasheld
3772d1dc26 bump version to 0.2.1 2022-09-12 22:46:33 +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
9b0f0c1e7f bump version to 0.2.0 2022-09-07 13:04:41 +02:00
lucasheld
384fd21726 update scripts 2022-09-07 13:04:16 +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
d79e108f8d bump version to 0.1.1 2022-08-26 17:19:10 +02:00
lucasheld
def2143cf2 Merge branch 'dev' 2022-08-26 17:07:55 +02:00
lucasheld
b2bacc9f8b rename 2FA token 2022-08-26 17:02:55 +02:00
lucasheld
c6b3d59221 fix monitors in status pages 2022-08-26 14:04:43 +02:00
lucasheld
464d0b9e71 add tests for all monitor types 2022-08-26 14:03:17 +02:00
lucasheld
804bd85909 reset uptime kuma config after each test 2022-08-26 14:01:29 +02:00
lucasheld
8f108a700b add event enum 2022-08-05 15:52:19 +02:00
lucasheld
ed4a6130fe do not wait for events that are not sent 2022-08-05 15:48:02 +02:00
lucasheld
01664f5fbc add more tests 2022-08-05 14:35:17 +02:00
lucasheld
512057ab61 implement 2FA login 2022-08-05 14:33:28 +02:00
lucasheld
59181ddba2 remove logout from tests to bypass the rate limit completely 2022-08-05 13:03:58 +02:00
lucasheld
821f68a061 Update README.md 2022-08-04 20:17:04 +02:00
lucasheld
cd1af9194e Update README.md 2022-08-04 12:08:18 +02:00
lucasheld
f737d722e4 include readme as long_description in setup.py 2022-08-03 23:29:11 +02:00
lucasheld
f9b90ad2b8 prepare release 0.1.0 2022-08-03 22:49:10 +02:00
lucasheld
edd6419930 Update README.md 2022-08-03 22:19:37 +02:00
lucasheld
f433fe4416 fix delete tag test and fix compare object 2022-08-03 16:56:38 +02:00
lucasheld
655e71d487 login by token in tests to fix the rate limit issue 2022-08-03 12:37:37 +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
lucasheld
6b5b54afe5 add license 2022-08-02 21:33:03 +02:00
lucasheld
b92263dd47 improve notification type conversion 2022-08-02 21:32:28 +02:00
lucasheld
d29d908b61 support for python 3.6 2022-08-02 11:58:49 +02:00
lucasheld
e1da9708c6 adjust python-socketio client depencency
Uptime kuma uses JavaScript Socket.IO version 4.x. This requires python-socketio version 5.x.
2022-08-02 11:33:54 +02:00
lucasheld
242fea6808 add link to ansible collection 2022-07-10 22:54:04 +02:00
lucasheld
91ac253623 minor changes 2022-07-10 21:58:42 +02:00
lucasheld
963adf8617 add readme 2022-07-10 21:57:22 +02:00
lucasheld
a08d3b4613 check argument conditions 2022-07-10 18:07:11 +02:00