Commit Graph

2334 Commits

Author SHA1 Message Date
tcely
e90721722b
Let missing_pot formats download after testing 2025-05-05 06:06:38 -04:00
tcely
c593933bfa
Add more details about saving database entries 2025-05-05 05:31:17 -04:00
meeb
76976e9d36
Merge pull request #1013 from tcely/issue-1012
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Created fix-mariadb.py
2025-05-05 13:53:09 +10:00
tcely
0fb7520a2b
Go back to removing then adding the foreign key 2025-05-04 22:25:37 -04:00
tcely
c3b5a25b9d
Alter sync_source first 2025-05-04 21:36:43 -04:00
tcely
a8ee30192c
Remove pprint as it is now unused 2025-05-04 14:06:34 -04:00
tcely
305d27a7af
Try using foreign_key_checks 2025-05-04 13:35:51 -04:00
tcely
621a578787
Log the Done before returning 2025-05-04 13:25:29 -04:00
tcely
a59fb8bc26
The SQL output needs to be returned 2025-05-04 13:13:23 -04:00
tcely
da06a1ffa1
Add --dry-run and apply SQL when it is not used 2025-05-04 13:00:28 -04:00
tcely
5e8cc639f7
Generate SQL for deleting tables 2025-05-04 11:03:26 -04:00
tcely
5e2200382f
Check for completed data migration 2025-05-04 10:10:34 -04:00
tcely
e6e4c3300a
Update fix-mariadb.py 2025-05-04 09:41:21 -04:00
tcely
36681aadc0
Add check_migration_status function 2025-05-04 09:35:04 -04:00
tcely
2a98707254
Collect SQL with schema editor 2025-05-04 07:46:36 -04:00
tcely
cc9b5446c1
Use the quote_name from schema 2025-05-04 07:24:54 -04:00
tcely
b5828801de
Update fix-mariadb.py 2025-05-04 06:34:09 -04:00
tcely
fc89178f28
Switch to string interpolation 2025-05-04 06:24:10 -04:00
tcely
503bb3e5b1
Update fix-mariadb.py 2025-05-04 05:46:33 -04:00
tcely
435ebac328
Generate some SQL for native UUID columns 2025-05-04 05:19:59 -04:00
tcely
ba87e39e3d
Update fix-mariadb.py 2025-05-04 03:58:56 -04:00
tcely
5235c53dad
Check the current column type 2025-05-04 03:47:18 -04:00
tcely
e4f3428aa8
Allow deleting only a few tables
- It must be one of the metadata related tables
- The table must be present in the database
2025-05-04 01:49:18 -04:00
tcely
960c07a846
Update fix-mariadb.py 2025-05-04 01:20:39 -04:00
tcely
919ba49e28
Update fix-mariadb.py 2025-05-04 00:21:16 -04:00
tcely
07f689e5d0
Update fix-mariadb.py 2025-05-04 00:04:00 -04:00
tcely
a7fe0d5eeb
Combine the strings 2025-05-03 22:49:13 -04:00
tcely
0f7643971f
Adjust options in fix-mariadb.py 2025-05-03 22:44:31 -04:00
tcely
c11e78bc47
Remove executable bit 2025-05-03 21:19:59 -04:00
tcely
d5045d8d03
Created fix-mariadb.py 2025-05-03 21:13:16 -04:00
meeb
f4769efdb7
Merge pull request #1010 from tcely/patch-3
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Add `NoThumbnailException`
2025-05-03 18:19:01 +10:00
meeb
6b38789c24
Merge pull request #1009 from tcely/patch-2
Show migrations when debugging
2025-05-03 18:17:49 +10:00
tcely
efc5942051
fixup: closing parenthesis 2025-05-02 21:05:16 -04:00
tcely
71b57dd477
Schedule thumbnail tasks for new media 2025-05-02 21:03:09 -04:00
tcely
46d2e3c8e7
raise_for_status checks status_code itself 2025-05-02 17:14:07 -04:00
tcely
a7fdd02d47
A standard Exception is fine 2025-05-02 17:09:23 -04:00
tcely
d6b60f41c9
End the task for HTTP 404 response status 2025-05-02 16:52:20 -04:00
tcely
add6454c33
Use NoThumbnailException from thumbnail task 2025-05-02 16:20:48 -04:00
tcely
3a0c4c8fb1
Raise when status_code is not 200: OK 2025-05-02 16:12:25 -04:00
tcely
f6b20c03e3
Add NoThumbnailException 2025-05-02 15:36:00 -04:00
tcely
cf8555aab1
Show migrations when debugging 2025-05-02 14:28:20 -04:00
meeb
9ae0fecb7d
Merge pull request #1008 from tcely/patch-3
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Handle `AssertionError` for timestamp
2025-05-02 00:31:55 +10:00
tcely
f850502ad0
Narrow the exceptions 2025-05-01 10:24:44 -04:00
tcely
19a2d03c5b
Remove an unneeded if 2025-05-01 09:50:49 -04:00
tcely
c52fd14cd0
Remove Media.metadata_published function 2025-05-01 09:46:48 -04:00
tcely
39be704545
Switch to Media.ts_to_dt function 2025-05-01 09:44:27 -04:00
tcely
0b37aa3d9f
Call Media.ts_to_dt function instead 2025-05-01 09:26:14 -04:00
tcely
f856caa024
Remove assertion 2025-05-01 09:21:21 -04:00
tcely
ddf9012210
Handle AssertionError for timestamp 2025-05-01 08:42:56 -04:00
meeb
95ba53e3a8
Merge pull request #1007 from tcely/patch-2
Copy updated thumbnail next to media
2025-05-01 21:49:46 +10:00