Commit Graph

11 Commits

Author SHA1 Message Date
Sebastian Goscik
48f743bc8e flake8 & mypy fixes 2023-03-08 00:03:26 +00:00
Sebastian Goscik
07c2278428 isort 2023-03-07 00:42:49 +00:00
Sebastian Goscik
818f2eb5b3 Reclassify log messages 2023-03-07 00:16:19 +00:00
Sebastian Goscik
dfdc85001c color logging no longer uses global variable 2023-03-07 00:16:19 +00:00
Sebastian Goscik
73022fddf1 Simplify exception logging 2023-02-25 20:51:18 +00:00
Sebastian Goscik
0c34294b7e clear current event after upload/download 2022-12-10 06:44:56 +00:00
Sebastian Goscik
0978798078 Fix uploading files not being accounted for when checking for missing events 2022-12-09 11:12:08 +00:00
Sebastian Goscik
8e3ea2b13f Log buffer size in human readable format 2022-12-09 11:12:08 +00:00
Sebastian Goscik
58eb1fd8a7 Added event ID to uploader/downloader logging
Also fixed issue where logging outside of unifi_protect_backup was not adding colors
2022-12-08 12:04:36 +00:00
Sebastian Goscik
4e10e0f10e Use run_command in downloader and uploader 2022-12-05 14:03:59 +00:00
Sebastian Goscik
471ecb0662 Major Restructure
- Each task is now its own class
- Added a database to track backed up events and their destinations
- Added task to check for and backup missed events
2022-12-03 21:48:44 +00:00