Wout Bouckaert
bd021e0d43
Improve unzip_file function. Reduce cognitive complexity.
...
Removed all unspecified exceptions. Removed unneeded calls to other functions.
Reduced size of try catch blocks to just parts of code that could throw an error.
2024-08-16 15:25:04 -06:00
Wout Bouckaert
2e47d5b21e
Implement basic logic to trigger snapshots through Crafty.
2024-08-11 15:27:35 -06:00
amcmanu3
9e5abe8014
Refactor helpers to own directory
2024-08-11 13:31:55 -04: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
Zedifus
45c3f73eca
Revert "Revert "Merge branch 'dev' into 'master'""
...
This reverts the 4.4.1 release revert commit 29ce7a2cde
.
2024-08-06 20:45:00 +01:00
Iain Powrie
29ce7a2cde
Revert "Merge branch 'dev' into 'master'"
...
This reverts merge request !783
2024-07-29 21:49:44 +00:00
Andrew
0ed296adc6
Merge branch 'dev' into tweak/server-create-roles
2024-07-21 11:17:16 -04:00
amcmanu3
1ac63fae0d
Merge branch 'refactor/backups' into refactor/upload-api
2024-07-08 22:06:49 -04:00
amcmanu3
a3e210c0d3
Check for traversal on backup delete
2024-07-08 22:06:29 -04:00
amcmanu3
d9b9f00e9a
Merge branch 'refactor/backups' into refactor/upload-api
2024-07-08 21:57:59 -04:00
amcmanu3
9186d9b02c
Include backup_id in delete call
2024-07-08 21:51:27 -04:00
Zedifus
c9b2b49e5f
Merge branch 'dev' into refactor/backups
2024-07-09 02:31:30 +01:00
Zedifus
65396b7f27
Merge branch 'dev' into tweak/server-name
2024-07-09 02:07:00 +01:00
Zedifus
735cdb238a
Merge branch 'dev' into bugfix/user-tz-login
2024-07-09 01:53:01 +01:00
amcmanu3
0519a36fe1
Fix sonar issue
2024-07-08 20:39:21 -04:00
Zedifus
594f030545
Merge branch 'dev' into bugfix/user-creation
2024-07-09 01:07:19 +01:00
amcmanu3
b0a38d1249
Remove overall file hash checking for now as it interferes with large files
2024-07-08 16:27:06 -04:00
amcmanu3
539c07be9d
Fix typing issue causing IDs to not be ==
2024-07-08 10:53:38 -04:00
amcmanu3
d6e00edf4a
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-25 13:48:35 -04:00
amcmanu3
86ecfc35b6
Fix general user backup path
2024-06-25 13:48:17 -04:00
amcmanu3
07e094d11e
Fix sonar
2024-06-23 20:41:06 -04:00
amcmanu3
5a6229d282
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-23 20:28:53 -04:00
amcmanu3
af11737b48
Refactor repeated auth errors
2024-06-23 19:13:44 -04:00
amcmanu3
f8884ab93e
Refactor api handler to use constant id error
2024-06-23 19:10:42 -04:00
amcmanu3
bd73e1892a
Don't allow list modifier in role name
2024-06-21 14:00:06 -04:00
amcmanu3
59d835bd9d
Merge branch 'refactor/backups' into refactor/upload-api
2024-06-14 19:31:48 -04:00
amcmanu3
3030712587
Refactor restore to persist backups
2024-06-14 19:31:26 -04:00
amcmanu3
f5874d701a
Add password error to not display password in plain text
2024-06-13 17:09:00 -04:00
amcmanu3
682999f7f6
Standardize header naming
2024-06-02 13:02:40 -04:00
amcmanu3
f28f689841
Do not allow slashes in server names
2024-05-31 15:31:42 -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
c8b607c08a
Remove unnecessary imports
2024-05-28 21:49:41 -04:00
Andrew
d8ad8f5e09
Fix role selection on user creation.
...
Security improvements
2024-05-28 17:14:05 -04:00
Andrew
0aae82448b
Add comments
2024-05-28 15:39:44 -04:00
amcmanu3
407ca4c0bb
Add logging
2024-05-27 19:48:35 -04:00
amcmanu3
3fd763eebd
Check hashes
2024-05-27 19:12:39 -04:00
amcmanu3
9b7ddbfe1e
Check for server dir on server_upload
2024-05-27 15:19:23 -04:00
amcmanu3
95ef72d809
All file uploads using API
2024-05-26 23:31:06 -04:00
amcmanu3
96f0ee62ac
Fix upload imports
2024-05-26 23:18:12 -04:00
amcmanu3
45aacb97c8
Refactor upload route
...
Import uploads broke
2024-05-26 23:08:43 -04:00
amcmanu3
7c8781e09e
Merge branch 'refactor/backups' into refactor/upload-api
2024-05-26 21:01:00 -04:00
amcmanu3
9ebaf38553
Fix files methods
2024-05-26 20:59:58 -04:00
amcmanu3
c30d17cbf8
Chunked uploads
2024-05-26 20:54:06 -04:00
amcmanu3
b8681c0fce
Security check when posting task config
2024-05-26 18:37:20 -04:00
amcmanu3
772910dc6f
Set backup schedules
2024-05-26 18:03:57 -04:00
amcmanu3
217435283b
Restore backup/clone
2024-05-26 17:10:20 -04:00
amcmanu3
1b073a2401
Backup statuses
...
Default backups
2024-05-26 13:45:13 -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