Commit Graph

117 Commits

Author SHA1 Message Date
amcmanu3
ff9abe4359 Fix directory moves on backup migration 2024-07-29 18:02:00 -04:00
Zedifus
c9b2b49e5f Merge branch 'dev' into refactor/backups 2024-07-09 02:31:30 +01:00
Andrew
0b0b63d650 Fix migrations errors on initial run 2024-06-15 14:32:18 -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
Andrew
8dd82f4111 Set backups to live in a directory with the backup id 2024-06-07 14:08:05 -04:00
amcmanu3
a69d569e23 Fix issue with backup UUID on migration 2024-06-02 10:47:13 -04:00
Andrew
9ec0044458 Use UTC for tokens_valid_from in user config 2024-05-29 13:21:50 -10:00
Andrew
e2132c2130 Fix migration 2024-05-28 19:48:11 -04:00
Andrew
f991b79782 Fix backup migration 2024-05-28 19:42:02 -04:00
amcmanu3
1b073a2401 Backup statuses
Default backups
2024-05-26 13:45:13 -04:00
amcmanu3
c037f1d1af Lint 2024-05-25 15:11:46 -04:00
amcmanu3
f8626633cf Add action ID option to schedules 2024-05-25 13:51:40 -04:00
Andrew
64116a6cf3 Remove backup enabled column 2024-05-15 21:37:56 -04:00
--unset
6ca396854d Merge branch 'dev' into refactor/backups 2024-05-15 21:01:16 -04:00
Zedifus
39a98f2b5e Merge branch 'dev' into tweak/json-audit-log 2024-05-09 21:03:26 +01:00
amcmanu3
3fac1a39a8 Setup drop table migrations 2024-04-20 16:21:06 -04:00
amcmanu3
5fe696e269 Merge branch 'dev' into refactor/backups 2024-04-19 16:09:31 -04:00
amcmanu3
400f42ba26 Merge branch 'dev' into refactor/api-key-su 2024-04-08 13:42:16 -04:00
amcmanu3
c13ac6a53c Merge branch 'dev' into refactor/api-key-su 2024-03-25 12:36:43 -04:00
Silversthorn
a87daa6ef3 Format with Black for lint apeasing 2024-03-23 14:32:39 +01:00
Silversthorn
7a7f237187 appease lint 2024-03-23 14:30:48 +01:00
Silversthorn
9aad5e3d8f trying something to works form differents update version 2024-03-23 14:20:31 +01:00
Silversthorn
2bb8e185de Checking if the column is already deleted 2024-03-23 14:13:45 +01:00
Silversthorn
f71aaeb870 Adding back the Servers Model 2024-03-23 13:47:57 +01:00
Silversthorn
d30b335637 renaming the file to run part 1 before part 2 2024-03-23 13:32:54 +01:00
Silversthorn
8ff83fa045 appease black lint 2024-03-23 13:14:47 +01:00
Silversthorn
3a4037a332 trying to add rollback methods 2024-03-23 12:57:41 +01:00
Silversthorn
f0086c70f7 importing class instead of copy pasting it 2024-03-23 12:37:46 +01:00
Silversthorn
64a1defb95 Removing logging and console to prevent unnecessary messages 2024-03-23 12:29:16 +01:00
Silversthorn
5e4dbb1902 Disabling code if already updated to prevent unnecessary errors messages 2024-03-23 12:28:22 +01:00
Silversthorn
8f8feef6de Solution is disabling update if already done 2024-03-23 12:11:43 +01:00
Silversthorn
c00cb1a61d Splitting migration in 2 files to remove migrator.run from it 2024-03-23 11:30:24 +01:00
amcmanu3
0a572fba92 Refactor API keys "super user" to "full access" 2024-03-17 12:50:11 -04:00
Silversthorn
986576f243 Adding migration to fix the rework servers uuid issue 2024-03-10 12:43:52 +00:00
amcmanu3
eec9432118 Update migration
Add backup return function
2024-03-08 23:22:54 -05:00
amcmanu3
1a8d351fbd Remove print statements 2024-03-08 22:45:08 -05:00
amcmanu3
548a439f14 Initial commit for backup migration.
Kind of broken :/
2024-03-08 22:06:33 -05:00
Silversthorn
2c289133f5 Fixing logging errors to info to display properly logs
Remove return true/false values as the function shouldn't return values
2024-03-03 10:00:18 +01:00
Silversthorn
3529c9f7fe Fixing loog messages 2024-02-16 20:27:30 +01:00
Silversthorn
12627cec8e Fixed the why it was not working 2024-02-16 20:21:38 +01:00
Silversthorn
90e0777b9b try to revert back to old migrate history if failed 2024-02-16 20:04:12 +01:00
Silversthorn
ccec2a3400 rename migration file to have a more recent one 2024-02-16 19:32:23 +01:00
Silversthorn
ad6e53a5d1 Adding all migration steps to a migration.py file 2024-02-16 19:29:14 +01:00
Silversthorn
56d37989e5 Merge branch 'dev' into refactor/server_ids 2024-01-30 21:19:07 +01:00
Andrew
589a11f43c Allow omission of player stats from total 2024-01-13 16:43:16 -05:00
Silversthorn
aa7f47a4f4 Reworking id to use uuid 2023-11-01 18:44:56 +01:00
Andrew
6a81a5b337 Add accent color option 2023-09-28 19:07:03 -04:00
Zedifus
65bea2a11a Merge branch 'dev' into feature/discord-webhooks 2023-09-21 23:42:04 +01:00
Andrew
096de18c2c Merge branch 'dev' into feature/discord-webhooks 2023-09-05 20:39:20 -04:00
Silversthorn
2d77c456ca Merge branch 'dev' into bugfix/issue_255_status_page_update 2023-09-05 20:05:12 +02:00