Commit Graph

2346 Commits

Author SHA1 Message Date
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
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
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
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
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
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
tcely
f9d1e00356
fixup: remove the extra newline 2025-04-30 21:41:57 -04:00
tcely
7ca79af746
Use the openresty binary 2025-04-30 21:36:20 -04:00
tcely
cfb4b4ca17
Don't install nginx binaries 2025-04-30 21:32:54 -04:00
tcely
a8d8e9d055
Update run 2025-04-30 21:23:14 -04:00
tcely
3f073b3ec3
Include openresty 2025-04-30 19:09:55 -04: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
meeb
f03db23298
Merge pull request #1000 from tcely/patch-2
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
Overwrite thumbnail files
2025-04-30 04:28:13 +10:00
tcely
84b1a48f30
Overwrite thumbnail files 2025-04-29 13:22:09 -04:00
meeb
bb96fdf149
Merge pull request #999 from tcely/patch-2
Fix `media-thumb-redownload` errors
2025-04-30 01:13:58 +10:00
tcely
0875d09ae8
Fix media-thumb-redownload errors 2025-04-29 10:18:37 -04:00
meeb
4ff4b60262
Merge pull request #998 from tcely/patch-2
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
Add redownload thumb link
2025-04-29 13:41:28 +10: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
meeb
6f6f05d1b4
Merge pull request #994 from tcely/patch-2
Remove the side-effect from `Media.metadata_loads`
2025-04-28 14:52:27 +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
meeb
4902503504
Merge pull request #993 from tcely/patch-2
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
Ignore `KeyError` when deleting keys
2025-04-27 18:22:24 +10: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
meeb
01dee636d6
Merge pull request #992 from tcely/patch-2
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 actual model for data migration
2025-04-27 17:06:50 +10: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
tcely
832799b51b
Fix variable scoping 2025-04-27 02:31:08 -04:00
tcely
ccf0e98798
Use the actual model for data migration 2025-04-27 02:20:33 -04:00