Commit Graph

1964 Commits

Author SHA1 Message Date
tcely
8a94efda57
Use django.db.reset_queries() in workers 2025-04-13 07:47:52 -04:00
tcely
8e3bfdd3c4
Don't sleep as long when not using the ThreadPool 2025-04-13 05:39:01 -04:00
tcely
bb42691d62
Remove all use of the query set iterator function
The `sqlite` driver appears to be fundamentally incompatible with the Django query set `iterator` function.

It only works for the first chunk, then it fails any further database operations because the database is already locked.
2025-04-13 05:05:44 -04:00
tcely
3350c0c2e2
fixup: missed mqs => uuid_qs 2025-04-13 04:43:10 -04:00
tcely
fa9446c40e
name property uses title column 2025-04-13 04:32:50 -04:00
tcely
71c4d63043
Iterate over independent query sets 2025-04-13 03:53:07 -04:00
tcely
2011918b00
fixup: function definition 2025-04-12 16:46:51 -04:00
tcely
6e27695a62
Add Metadata.ingest_formats function 2025-04-12 16:43:31 -04:00
tcely
533dc453f0
Add a metadata_load function to ingest JSON strings 2025-04-12 15:09:11 -04:00
tcely
7c8c5e2b41
Use Django query set iterator function some more 2025-04-12 12:16:54 -04:00
tcely
d4c360eaee
Use Django query set iterator function 2025-04-12 10:35:50 -04:00
tcely
ef1dd0eba8
Reduce the memory usage 2025-04-12 09:22:25 -04:00
tcely
689ad677c8
Fix indentation for signals.py 2025-04-12 06:36:05 -04:00
tcely
4441f92193
Fix indentation for signals.py 2025-04-12 06:23:56 -04:00
tcely
9421a3e983
Fix the can_download calculation code 2025-04-12 06:20:33 -04:00
tcely
c20990fca3
Do not call resize_image_to_height on smaller images 2025-04-12 04:41:38 -04:00
tcely
ee00cffd76
Try refresh_formats for NoFormatException 2025-04-12 03:27:17 -04:00
tcely
64e4fca707
Update 0031_metadata_metadataformat.py 2025-04-11 05:59:41 -04:00
tcely
74107e15e9
Update 0031_metadata_metadataformat.py 2025-04-11 05:56:37 -04:00
tcely
9bf84efb16
Add JSONEncoder for all iterable objects 2025-04-11 05:50:04 -04:00
tcely
26dc67503d
Create 0031_metadata_metadataformat.py 2025-04-11 03:44:58 -04:00
tcely
7ddb0285c1
Merge branch 'meeb:main' into new-tables 2025-04-11 03:31:32 -04:00
tcely
5081348225
Added the basic columns for metadata and formats 2025-04-11 03:18:43 -04:00
tcely
81dbb8f834
Remove BACKGROUND_TASK_ASYNC_THREADS adjustment 2025-04-11 01:13:48 -04:00
tcely
ba63cece20
Revert changes to README.md 2025-04-11 01:08:00 -04:00
tcely
75e5f96b34
Merge branch 'meeb:main' into patch-2 2025-04-11 01:06:22 -04:00
tcely
4c6b4e3c73
Update README.md 2025-04-11 01:02:49 -04:00
tcely
117e7c2eef
3.9 is a better minimum Python version
The parser change and a few other things mean that compatibility with `3.8` is unlikely to last much longer.
2025-04-11 00:58:45 -04:00
tcely
47107489fd
Merge branch 'main' into delete-source-reworked 2025-04-11 00:13:45 -04:00
tcely
580a77a5c8
Only hide warnings when using https
When not verifying certificates and using `https` we want to hide warnings about the certificate.

Otherwise, we want to not hide anything.
2025-04-10 19:01:03 -04:00
tcely
d41acf40d0
Merge branch 'main' into tcely-media-servers-make_request 2025-04-10 16:05:42 -04:00
tcely
91c7608ea2
Set executable bit 2025-04-10 14:46:23 -04:00
tcely
edd3c2767a
Nicer formatting for the output 2025-04-10 14:44:25 -04:00
tcely
66d8d5eec9
dash is happy when we use expr 2025-04-10 14:24:23 -04:00
tcely
b03a1a3623
Time and report on the s6-svc command 2025-04-10 13:45:30 -04:00
tcely
09fea17791
Resolve paths for me from service names 2025-04-10 13:30:17 -04:00
tcely
19f277e628
Create restart_services.sh 2025-04-10 13:07:13 -04:00
meeb
3207f85e08
Merge pull request #947 from tcely/fix-reset-tasks
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
Import the `check_source_directory_exists` task
2025-04-10 21:27:18 +10:00
meeb
5ab643839f
Merge pull request #946 from tcely/patch-10
POST to `/Items/{ID}/Refresh`
2025-04-10 21:27:01 +10:00
tcely
f4aef97e17
POST to /Items/{ID}/Refresh 2025-04-09 23:05:53 -04:00
tcely
cf3630f78b
Merge branch 'meeb:main' into tcely-media-servers-make_request 2025-04-09 18:42:23 -04:00
tcely
40144a8400
Import the check_source_directory_exists task 2025-04-09 18:41:03 -04:00
tcely
a1fa823b18
POST to /Items/{ID}/Refresh 2025-04-09 17:18:23 -04:00
meeb
656ade6dd9
Merge pull request #942 from tcely/patch-17
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
Increase minor version
2025-04-10 00:08:59 +10:00
meeb
1c3da54201
Merge pull request #940 from tcely/patch-16
Check source directory when tasks were reset
2025-04-10 00:07:32 +10:00
meeb
cf685053f9
Merge pull request #939 from tcely/patch-15
Remove unused `media_post_delete`
2025-04-10 00:04:53 +10:00
meeb
17e85db2fb
Merge pull request #937 from tcely/patch-12
Extract audio from `webm` downloads
2025-04-10 00:04:19 +10:00
meeb
51353795b6
Merge pull request #936 from tcely/patch-10
Add renaming feature warning to the dashboard
2025-04-10 00:03:30 +10:00
tcely
8a911d0a7c
Special case sqlite to not use transactions 2025-04-09 08:25:41 -04:00
meeb
0ab7a260c2
Merge pull request #934 from tcely/tcely-patch-1
Switch to `getattr`
2025-04-09 17:49:16 +10:00