Commit Graph

1412 Commits

Author SHA1 Message Date
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
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
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
tcely
ca9fbd7168
Copy updated thumbnail next to media 2025-05-01 03:25:36 -04: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
tcely
46dc2c9fee
Include missing_pot formats in testing 2025-04-30 16:35:38 -04:00
tcely
6fe76eb34a
Adjust metadata & media download delays 2025-04-30 15:54:21 -04:00
tcely
f9bb33c3ab
Save thumbnail when refreshing formats 2025-04-29 17:43:35 -04:00
tcely
f724c5765f
Do not cache the blank thumbnail for so long 2025-04-29 14:52:09 -04:00
tcely
84b1a48f30
Overwrite thumbnail files 2025-04-29 13:22:09 -04:00
tcely
0875d09ae8
Fix media-thumb-redownload errors 2025-04-29 10:18:37 -04:00
tcely
bd0ad3682a
Handle thumbnail redownload requests 2025-04-28 15:03:13 -04:00
tcely
ea545d49a6
Add redownload-thumb URL 2025-04-28 14:39:59 -04:00
tcely
e2bf227187
Add redownload thumb link 2025-04-28 14:20:34 -04:00
meeb
7d77d919cc
Merge pull request #996 from tcely/patch-6
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions
Use the length of the new metadata
2025-04-28 14:53:09 +10:00
meeb
df8c71ce68
Merge pull request #995 from tcely/patch-3
Better result when `Media.new_metadata` does not exist
2025-04-28 14:52:53 +10:00
tcely
127fc990eb
Use the length of the new metadata 2025-04-27 16:23:51 -04:00
tcely
050a60c0c6
Better result when Media.new_metadata does not exist 2025-04-27 14:57:01 -04:00
tcely
b9ee06eeb5
Remove the side-effect from Media.metadata_loads 2025-04-27 12:58:34 -04:00
tcely
6d19844af7
dict.pop is the nicer way to remove keys 2025-04-27 03:49:34 -04:00
tcely
91cb0ce83b
Ignore KeyError when deleting keys 2025-04-27 03:30:39 -04:00
tcely
cdbdc755cb
Fix order of operations
We must look for the value before we set it.
2025-04-27 03:05:34 -04:00