amcmanu3
aaba6c6989
Fix pylint issue
2024-08-11 13:27:32 -04:00
amcmanu3
2fc20ae5b1
Adds backup manager - removes from server.py
2024-08-11 13:26:19 -04:00
Wout Bouckaert
c1327adf6b
Add zlib compress and decompress functions to file_helpers.py
2024-08-11 09:31:34 -06:00
Wout Bouckaert
42e716baa6
Reduce cognitive complexity of blake2b file hash.
...
Separating file hashing function from bytes hashing function for complexity.
2024-08-10 21:44:26 -06:00
Wout Bouckaert
3c3f60bd3d
Create initial BACKUP_SCHEME.md
...
Partial BACKUP_SCHEME.md showing some of the file information
2024-08-10 21:30:01 -06:00
Wout Bouckaert
74787b51ba
Update calculate_blake2b_hash to use boolean comparison rather than string
...
Change output_format parameter from a string to boolean output_as_bytes for comparison efficiency. Default behavior will still output a hex string.
2024-08-10 19:29:42 -06:00
Wout Bouckaert
f3db713f27
Add calculate_blake2b_hash to file_helpers.py
...
Adds calculate_blake2b_hash function to app\classes\shared\file_helpers.py
Renames calculate_file_hash to calculate_file_hash_sha256 to avoid confusion between sha256 and blake2b hash functions.
2024-08-10 19:12:30 -06:00
Andrew
a1c3e3386f
Fix schedules creation fail due to missing action ID
2024-08-07 20:28:13 -04:00
amcmanu3
7c16737fab
Appease sonar return nothing instead of false
2024-08-06 14:59:10 -04:00
amcmanu3
9f7f588e85
Tweak default backup configs to account for bad clone in 4.2.x
2024-07-30 14:30:30 -04:00
amcmanu3
ff9abe4359
Fix directory moves on backup migration
2024-07-29 18:02:00 -04:00
amcmanu3
d9b9f00e9a
Merge branch 'refactor/backups' into refactor/upload-api
2024-07-08 21:57:59 -04:00
Zedifus
c9b2b49e5f
Merge branch 'dev' into refactor/backups
2024-07-09 02:31:30 +01:00
Zedifus
735cdb238a
Merge branch 'dev' into bugfix/user-tz-login
2024-07-09 01:53:01 +01:00
amcmanu3
f26606a0cd
Except filenotfound
2024-07-08 20:05:42 -04:00
Zedifus
7859c33cbd
Merge branch 'dev' into lang/lang-names
2024-07-09 00:40:20 +01:00
amcmanu3
87c559ae66
Delete temp dir files every 12 hours
2024-07-08 19:16:23 -04:00
amcmanu3
b2afe3d361
Merge branch 'dev' into bugfix/user-tz-login
2024-07-07 18:41:27 -04:00
amcmanu3
4fafb5cae9
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-25 12:42:51 -04:00
amcmanu3
7b1afec9cb
Merge branch 'dev' into refactor/backups
2024-06-24 12:52:47 -04:00
amcmanu3
5a6229d282
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-23 20:28:53 -04:00
amcmanu3
16eca86a10
Some sonar fixes
2024-06-23 19:05:55 -04:00
amcmanu3
e33cf5451c
Add language header translations
2024-06-22 18:44:02 -04:00
amcmanu3
60bf9a7914
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-14 18:30:05 -04:00
amcmanu3
f0afcfbc23
Fix check for directory existing
2024-06-14 18:29:36 -04:00
amcmanu3
6cf093031c
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-14 18:18:15 -04:00
amcmanu3
3c4b513a44
Use json.loads in the update function
2024-06-14 18:17:50 -04:00
Analicia Abernathy
6e7b250292
Merge branch 'refactor/backups' of gitlab.com:crafty-controller/crafty-4 into refactor/backups
2024-06-14 14:17:00 -05:00
amcmanu3
038a280ae1
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-13 16:17:49 -04:00
amcmanu3
d4503f1887
Use backup_location variable
2024-06-13 16:06:04 -04:00
Andrew
4aad365811
Add a thread dump to support logs
2024-06-08 12:24:04 -04:00
Andrew
44ab4b8b75
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-07 14:08:23 -04:00
Andrew
8dd82f4111
Set backups to live in a directory with the backup id
2024-06-07 14:08:05 -04:00
amcmanu3
c3560acbd1
Account for str valid_tokens_from
2024-05-31 12:45:29 -04:00
Andrew
251df92528
Appease the linter
2024-05-29 19:32:27 -04:00
Andrew
9ec0044458
Use UTC for tokens_valid_from in user config
2024-05-29 13:21:50 -10:00
Andrew
0aae82448b
Add comments
2024-05-28 15:39:44 -04:00
amcmanu3
3fd763eebd
Check hashes
2024-05-27 19:12:39 -04:00
amcmanu3
3b7a463184
Remove stream_size_GB option
2024-05-26 23:42:25 -04:00
amcmanu3
217435283b
Restore backup/clone
2024-05-26 17:10:20 -04:00
amcmanu3
d24f56f4a5
Use self as first argument
2024-05-26 15:39:52 -04:00
amcmanu3
79adf29c62
Remove failed status after success
2024-05-26 15:38:38 -04:00
amcmanu3
daa511ef2a
Remove print statements
2024-05-26 15:20:18 -04:00
amcmanu3
708f57537c
View backup error
2024-05-26 15:10:03 -04:00
amcmanu3
7c50b7cfa5
Add percentage to both pages
2024-05-26 13:59:08 -04:00
amcmanu3
1b073a2401
Backup statuses
...
Default backups
2024-05-26 13:45:13 -04:00
amcmanu3
bf196b68c0
Fix more lint
2024-05-25 22:25:29 -04:00
amcmanu3
5d82d79afd
Add backup configs/remove backup configs
2024-05-25 22:10:35 -04:00
amcmanu3
3cf4ebf073
Backups are editable!
2024-05-25 16:33:28 -04:00
amcmanu3
b061ebf5e5
Use zip note
2024-05-25 15:12:55 -04:00