315 Commits

Author SHA1 Message Date
Sebastian Goscik
34252c461f changelog 2023-10-07 22:52:17 +01:00
Sebastian Goscik
acc405a1f8 Chunk event query to prevent crashing unifi protect 2023-10-07 22:50:04 +01:00
Sebastian Goscik
b66d40736c Bump dependency versions 2023-10-07 21:49:46 +01:00
cyberpower678
171796e5c3 Update unifi_protect_backup_core.py (#100)
Fix typo in connection attempts.  The application only attempts to connect once instead of 10 times.
2023-09-08 16:27:09 +01:00
Sebastian Goscik
cbc497909d linting 2023-07-29 12:07:31 +01:00
Sebastian Goscik
66b3344e29 Add download rate limiter 2023-07-29 12:07:31 +01:00
Sebastian Goscik
89cab64679 Add validation of retention/purge interval 2023-07-29 12:06:54 +01:00
Sebastian Goscik
f2f1c49ae9 Bump version: 0.9.3 → 0.9.4 v0.9.4 2023-07-29 11:32:32 +01:00
Sebastian Goscik
8786f2ceb0 Fixed time period parsing
Also updated link to rclone docs to be more direct to the format docs
2023-07-29 11:32:32 +01:00
Sebastian Goscik
1f2a48f95e Bump version: 0.9.2 → 0.9.3 v0.9.3 2023-07-08 16:56:23 +01:00
Sebastian Goscik
5d2391e005 Remove Arm v7 docker builds
See: https://www.linuxserver.io/blog/a-farewell-to-arm-hf
2023-07-08 16:55:12 +01:00
Sebastian Goscik
c4e9a42c1a Block all calls to protect client when the connection is
dropped and we are awaiting a reconnect
2023-07-08 16:30:09 +01:00
Sebastian Goscik
6c719c0162 Cache camera names
so an active protect connection is not need to perform actions like
uploads which don't rely on protect.
2023-07-08 15:32:47 +01:00
Sebastian Goscik
498f72a09b Bump version: 0.9.1 → 0.9.2 v0.9.2 2023-05-24 00:45:00 +01:00
Sebastian Goscik
d0080a569b Changelog 2023-05-24 00:44:54 +01:00
Sebastian Goscik
f89388327f Fix missing event checker not ignoring unwanted cameras 2023-05-22 23:22:41 +01:00
Sebastian Goscik
0a7eb92a36 Bump version: 0.9.0 → 0.9.1 v0.9.1 2023-04-29 09:51:33 +01:00
Sebastian Goscik
694e9c6fde updated changelog 2023-04-29 09:50:55 +01:00
Sebastian Goscik
63fdea402d Linting fixes 2023-04-29 09:49:27 +01:00
Sebastian Goscik
f4c3c68f0d Fixed download failure counting
previously it would only count as a failure if the download "succeeded" but was None
2023-04-29 09:48:46 +01:00
Igor Wolbers
e5112de35c Add extra param to purge (#86)
* Added optional argument string to pass directly to the `rclone delete` command used to purge video files. This will allow for immediate deletion of files on destinations where the file might otherwise go to a recycle bin by default.

---------

Co-authored-by: Igor Wolbers <igor@sparcobv.onmicrosoft.com>
Co-authored-by: Sebastian Goscik <sebastian.goscik@live.co.uk>
2023-04-29 08:19:41 +00:00
Sebastian Goscik
1b38cb3db3 Fix typo in readme 2023-04-26 10:20:22 +01:00
Sebastian Goscik
237d7ceeb1 Merge pull request #83 from IgorWolbers/add-service-documentation 2023-04-03 11:14:23 +00:00
Sebastian Goscik
6b1066d31e Log when an error occurs trying to add a notifier 2023-04-02 23:15:47 +01:00
Sebastian Goscik
798139a182 Fix arm v7 build v0.9.0 2023-03-24 15:22:20 +00:00
Sebastian Goscik
9def99ff97 linter fixes 2023-03-24 15:06:10 +00:00
Igor Wolbers
8d3ee5bdfd Running Backup Tool as a Service (LINUX ONLY) 2023-03-24 08:56:01 -04:00
Igor Wolbers
c6584759d9 Fixed the docker run command example which
had a ` instead of a '. This caused the command to never
terminate whene executing.
2023-03-24 12:23:03 +00:00
Sebastian Goscik
b46c9485c8 Bump version: 0.8.8 → 0.9.0 2023-03-24 12:22:32 +00:00
Sebastian Goscik
561ce181ea changelog 2023-03-24 12:22:32 +00:00
Sebastian Goscik
cec323f803 Make download failure assertion more specific 2023-03-24 12:18:09 +00:00
Sebastian Goscik
89fe672693 Add ability to ignore events that keep failing 2023-03-24 12:17:44 +00:00
Sebastian Goscik
c55f50153f isort 2023-03-24 11:17:17 +00:00
Sebastian Goscik
144938f7e5 Fix error log when no notifiers are setup 2023-03-24 11:16:37 +00:00
Sebastian Goscik
782d126ae5 Add ability to skip missing events at launch 2023-03-24 01:02:58 +00:00
Sebastian Goscik
0d3395b74a Fix tasks being started prematurely 2023-03-24 00:50:42 +00:00
Sebastian Goscik
d9af6a03a5 fix isort induced circular import 2023-03-08 00:35:37 +00:00
Sebastian Goscik
48f743bc8e flake8 & mypy fixes 2023-03-08 00:03:26 +00:00
Sebastian Goscik
6121f74a80 remove pylint dependency 2023-03-07 00:53:07 +00:00
Sebastian Goscik
07c2278428 isort 2023-03-07 00:42:49 +00:00
Sebastian Goscik
1ff59773f1 Tidy poetry files 2023-03-07 00:41:49 +00:00
Sebastian Goscik
08f2674497 Stop apprise errors from preventing regular logging 2023-03-07 00:17:18 +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
22d20c9905 Add star graph 2023-02-26 00:09:48 +00:00
Sebastian Goscik
86963fb0ff Add apprise env var to readme 2023-02-26 00:05:42 +00:00
Sebastian Goscik
93e8e1a812 Update poetry.lock 2023-02-26 00:00:36 +00:00
Sebastian Goscik
fb1f266eae Refactor logging customisations into custom handler 2023-02-26 00:00:25 +00:00
Sebastian Goscik
ce34afaf06 Add the ability to send logging output to apprise 2023-02-25 20:51:35 +00:00
Sebastian Goscik
6b60fac3c1 Log main loop exception
and allow time for other tasks to finish before closing the program
2023-02-25 20:51:18 +00:00