Commit Graph

2427 Commits

Author SHA1 Message Date
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
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
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
tcely
ca9fbd7168 Copy updated thumbnail next to media 2025-05-01 03:25:36 -04:00
meeb
83a505a170 Merge pull request #1006 from tcely/patch-15
Replace `nginx` with `openresty`
2025-05-01 14:25:52 +10:00
meeb
9d41a73c0f Merge pull request #1004 from tcely/patch-10
Include `missing_pot` formats in testing
2025-05-01 13:42:05 +10:00
meeb
ea76b23711 Merge pull request #1003 from tcely/patch-6
Adjust metadata & media download delays
2025-05-01 13:26:58 +10:00
meeb
e95b02de44 Merge pull request #1002 from tcely/patch-3
Save thumbnail when refreshing formats
2025-05-01 13:26:40 +10:00
meeb
de765d41dc Merge pull request #1001 from tcely/patch-2
Do not cache the blank thumbnail for so long
2025-05-01 13:25:33 +10:00
tcely
144720f6af Switch to the openresty stage 2025-04-30 22:47:53 -04:00
tcely
e58c4bae99 Switch back to the nginx-light stage 2025-04-30 22:13:45 -04:00