Commit Graph

1992 Commits

Author SHA1 Message Date
tcely
623a81acde
Be consistent and explicit with the len check 2025-04-14 20:04:10 -04:00
tcely
0317bc4318
Switch the log to debug level 2025-04-14 20:00:15 -04:00
tcely
44a940faee
fixup: empty lists should work too 2025-04-14 19:52:44 -04:00
tcely
1d153954bc
Try to use invalid values from dumpdata 2025-04-14 19:49:00 -04:00
tcely
cb22eb348d
Additions from the rest container 2025-04-14 18:12:33 -04:00
tcely
debac50ca3
Fix dumpdata output
I want a map of which functions are called,
when they are called,
and from which class they were defined.

These things are still not clear enough for me.
2025-04-14 17:48:37 -04:00
meeb
f4c12f89a2
Merge pull request #963 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
Support `use_chunked_fetch` with `django_queryset_generator`
2025-04-14 23:40:23 +10:00
tcely
873a0167ed
Support use_chunked_fetch 2025-04-14 09:10:15 -04:00
meeb
f3c33e8743
Merge pull request #959 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
Create the `django_queryset_generator` function
2025-04-14 17:32:28 +10:00
tcely
465abe23d0
Use qs_gen in tasks.py 2025-04-13 13:30:26 -04:00
tcely
7c293a0444
Avoid UnorderedObjectListWarning 2025-04-13 12:14:36 -04:00
tcely
cfceae2eb9
fixup: typo 2025-04-13 11:26:27 -04:00
tcely
950cdbd848
Use django_queryset_generator in cleanup_old_media 2025-04-13 11:24:15 -04:00
tcely
29e94427c9
Fill in the django_queryset_generator function 2025-04-13 11:13:32 -04:00
tcely
eb206f9f4d
Sketch for django_queryset_generator function 2025-04-13 10:17:09 -04:00
tcely
7d33cd8579
Merge branch 'main' into patch-3 2025-04-13 08:30:11 -04:00
meeb
15a9537b0e
Merge pull request #957 from tcely/patch-16
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 call `resize_image_to_height` on smaller images
2025-04-13 22:29:07 +10:00
meeb
cef5766bcd
Merge pull request #935 from tcely/patch-6
Add file renaming warning to README.md
2025-04-13 22:23:01 +10:00
meeb
8c729d0808
Merge pull request #933 from tcely/patch-2
Adjust queue workers
2025-04-13 22:21:31 +10:00
tcely
22dd86bb06
Merge branch 'main' into patch-2 2025-04-13 08:19:34 -04:00
meeb
4193dd3194
Merge pull request #951 from tcely/patch-10
Create restart_services.sh
2025-04-13 22:09:43 +10:00
meeb
84e99676ca
Merge pull request #954 from tcely/new-tables
New models for metadata and formats
2025-04-13 22:07:30 +10:00
meeb
8868ff62ef
Merge pull request #958 from tcely/patch-17
Fix the `can_download` calculation code
2025-04-13 22:05:41 +10:00
meeb
d34084cca6
Merge pull request #956 from tcely/patch-15
Try `refresh_formats` for `NoFormatException`
2025-04-13 22:05:06 +10:00
meeb
777b763096
Merge pull request #953 from tcely/patch-12
Remove `BACKGROUND_TASK_ASYNC_THREADS` adjustment
2025-04-13 22:04:15 +10:00
meeb
dbd21d913b
Merge pull request #952 from tcely/tcely-readme-upload
Update README.md
2025-04-13 22:03:58 +10:00
meeb
5412c036f2
Merge pull request #861 from tcely/delete-source-reworked
Transactions are tricky for deleting sources
2025-04-13 22:03:29 +10:00
meeb
33ba81eb47
Merge pull request #948 from tcely/tcely-media-servers-make_request
Refactor `make_request`
2025-04-13 22:02:18 +10:00
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