Commit Graph

2878 Commits

Author SHA1 Message Date
Wout Bouckaert
2e47d5b21e
Implement basic logic to trigger snapshots through Crafty. 2024-08-11 15:27:35 -06:00
amcmanu3
e6a577c172 Put helper in cryptohelper 2024-08-11 13:46:53 -04:00
amcmanu3
9e5abe8014 Refactor helpers to own directory 2024-08-11 13:31:55 -04:00
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
Zedifus
d145dd595b Prepare 4.4.4 release base 2024-08-08 21:01:42 +01:00
Andrew
a1c3e3386f Fix schedules creation fail due to missing action ID 2024-08-07 20:28:13 -04:00
Zedifus
0d19f81a29 Prepare 4.4.3 release base 2024-08-07 02:39:41 +01:00
Zedifus
4155f359cc Merge branch 'dev' into bugfix/upload-flood 2024-08-07 01:17:33 +01:00
amcmanu3
849242ecea Fix exception message on file not found for backups 2024-08-06 18:36:21 -04:00
amcmanu3
6ef93908ae Tweak upload js function to upload in batches 2024-08-06 17:48:17 -04:00
Zedifus
fc6f85a16b Prepare 4.4.2 release base 2024-08-06 21:31:41 +01:00
Zedifus
ce972ec728 Merge branch 'lang/new-lang-russian' of gitlab.com:crafty-controller/crafty-4 into lang/new-lang-russian 2024-08-06 20:10:06 +01:00
Zedifus
7f27c018de Merge branch 'dev' into lang/new-lang-russian 2024-08-06 20:08:30 +01: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
4a58759183 Add function for removing old malformed backups 2024-07-30 16:45:02 +01:00
Analicia Abernathy
f8b1070162 added norole and nonerole translations 2024-07-30 07:32:10 -05:00
amcmanu3
ff9abe4359 Fix directory moves on backup migration 2024-07-29 18:02:00 -04:00
amcmanu3
245f473693 Remove unused and problematic "dropdown-menu" ident from css 2024-07-29 16:41:25 -04:00
Zedifus
ef7fc68a24 Merge branch 'dev' into lang/th_TH-updates 2024-07-29 21:24:43 +01:00
Zedifus
65ae3f08b9 Merge branch 'dev' into lang/new-lang-russian 2024-07-29 21:12:27 +01:00
Analicia Abernathy
bcdc464edf Update th_TH.json 2024-07-29 14:47:53 -05:00
Analicia Abernathy
d0aeb019d8 adding missing translations from merge 772 2024-07-29 14:46:15 -05:00
Iain Powrie
568641dce3 Merge branch 'lang/fix_fr' into 'lang/fix-frFR-syntax'
Lang/fix fr

See merge request crafty-controller/crafty-4!778
2024-07-29 19:40:10 +00:00
Analicia Abernathy
e60b86c238 Adding new language ru_RU 2024-07-29 14:33:28 -05:00
Analicia Abernathy
d4af117421 added ru_RU to the humanized json 2024-07-29 14:33:14 -05:00
Zedifus
83813e7566 Mark th_TH incomplete 2024-07-29 20:11:32 +01:00
Ludo-code
af3c08d886 Update file fr_FR.json 2024-07-26 06:44:27 +00:00
Ludo-code
70ef395936 fix fr lang 2024-07-24 16:33:22 +00:00
Analicia Abernathy
76215556d2 translations for server creation changes 2024-07-23 21:38:18 -05: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
Iain Powrie
b4f721cd8c Merge branch 'tweak/server-name' into 'dev'
Do not allow slashes in server names

See merge request crafty-controller/crafty-4!767
2024-07-09 01:28:32 +00:00
Iain Powrie
b0afc80b73 Merge branch 'Username404-59-dev-patch-44249' into 'tweak/cpu-attribute-error'
Fix cpu_freq call catching on obscure systems

See merge request crafty-controller/crafty-4!754
2024-07-09 01:12:11 +00: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
5b4bf46f61 Mark he_IL incomplete 2024-07-09 01:20:09 +01:00
Zedifus
594f030545 Merge branch 'dev' into bugfix/user-creation 2024-07-09 01:07:19 +01:00
amcmanu3
f26606a0cd Except filenotfound 2024-07-08 20:05:42 -04:00