2185 Commits

Author SHA1 Message Date
tcely
106da4616f
Store the metadata from channels or playlists 2025-07-18 05:35:34 -04:00
meeb
802716047c
Merge pull request #1226 from tcely/patch-7
Avoid the `source_post_save` signal when indexing
2025-07-17 17:44:53 +10:00
meeb
2e826b1c37
Merge pull request #1224 from tcely/patch-6
Avoid the signal games for `Media.save`
2025-07-17 17:44:36 +10:00
meeb
9827de4869
Merge pull request #1217 from tcely/patch-2
Remove the old `index_source_task` task
2025-07-17 17:44:15 +10:00
tcely
8eb34d6905
Avoid the source_post_save signal when indexing 2025-07-16 20:11:27 -04:00
tcely
0d1f1fd821
Avoid the signal games for Media.save 2025-07-16 19:39:33 -04:00
meeb
fdbd15bf3f
Merge pull request #1221 from tcely/patch-7
Enforce unique for `TaskHistory.task_id`
2025-07-17 01:46:08 +10:00
tcely
aecfc89551
Call check_source_directory_exists directly 2025-07-16 07:56:08 -04:00
tcely
de0745aa3d
Set DEBUG from TUBESYNC_DEBUG in settings.py 2025-07-16 07:44:15 -04:00
tcely
eca878eb74
Update tests.py 2025-07-16 07:44:12 -04:00
tcely
62e6b15b31
Close opened files 2025-07-16 07:39:55 -04:00
tcely
aa3ea4a59c
Create a TaskHistory row before the task is enqueued 2025-07-16 07:39:52 -04:00
tcely
9d6f77e935
Update signals.py 2025-07-16 07:39:45 -04:00
tcely
263f8ece27
Update views.py 2025-07-16 07:39:33 -04:00
tcely
446a8c71e0
Add and use the get_model_task function 2025-07-16 07:39:25 -04:00
tcely
9d11620e2f
Create 0004_alter_taskhistory_task_id.py 2025-07-15 17:47:22 -04:00
tcely
4641d5a63d
Enforce unique for TaskHistory.task_id 2025-07-15 17:36:06 -04:00
tcely
267adb701a
Use download_source_images after editing a Source 2025-07-15 15:10:09 -04:00
tcely
d8644f0581
Update wait_for_errors in tasks.py 2025-07-15 06:21:33 -04:00
tcely
b0693ec373
Remove the old index_source_task task 2025-07-15 06:02:29 -04:00
meeb
0f348138fa
Merge pull request #1216 from tcely/patch-10
Set `TaskHistory.scheduled_at` when a task is rescheduled also
2025-07-15 16:27:57 +10:00
meeb
2547309499
Merge pull request #1215 from tcely/patch-7
Calculate a more accurate number of threads
2025-07-15 16:27:33 +10:00
meeb
d2ac576615
Merge pull request #1214 from tcely/patch-6
Dynamic pool size for PostgreSQL
2025-07-15 16:27:17 +10:00
tcely
d6d73c9b6f
Ensure scheduled_at is before end_at for running 2025-07-15 02:00:44 -04:00
tcely
a728fa85ee
Set TaskHistory.scheduled_at only when huey.scheduled_at_from_task returned a value 2025-07-15 01:48:43 -04:00
tcely
6f910b9a57
Set TaskHistory.scheduled_at when a task is rescheduled too 2025-07-14 23:34:30 -04:00
tcely
0baad2e2a5
Calculate a more accurate number of threads 2025-07-14 20:22:44 -04:00
tcely
2bc1740ff9
Dynamic pool size for PostgreSQL
* Enable `CONN_HEALTH_CHECKS` for both
2025-07-14 19:03:26 -04:00
tcely
627871a1c3
Move the highest priority to the front of the list 2025-07-14 14:53:15 -04:00
meeb
ecaafef7fe
Merge pull request #1212 from tcely/patch-7
Update `TaskHistory.scheduled_at` when scheduling tasks
2025-07-15 00:06:41 +10:00
meeb
36819b1360
Merge pull request #1211 from tcely/patch-6
Add a `reschedule` function
2025-07-15 00:06:27 +10:00
tcely
3fc3a6036b
Update TaskHistory.scheduled_at when scheduling tasks 2025-07-14 06:44:15 -04:00
tcely
c90c115844
Add a reschedule function 2025-07-14 06:28:54 -04:00
tcely
e2b4e0a8d1
Call TaskHistory.objects.running 2025-07-14 05:36:58 -04:00
tcely
0d8a917760
Add the running function to TaskHistory.objects 2025-07-14 05:31:51 -04:00
tcely
e116a25b5a
Update tests.py 2025-07-14 03:49:27 -04:00
tcely
ef9715d380
Use connection pooling for PostgreSQL 2025-07-14 03:44:55 -04:00
tcely
ff80c75d46
Enforce foreign key constraints 2025-07-14 01:12:30 -04:00
meeb
9453d65991
Merge pull request #1207 from tcely/patch-2
Manage the tasks databases better
2025-07-14 14:50:14 +10:00
meeb
faabb3b8c5
Merge pull request #1199 from tcely/tcely-download_media
Remove old `download_media` task
2025-07-14 14:49:51 +10:00
tcely
70465307ef
fixup: set operator 2025-07-14 00:42:51 -04:00
tcely
4c877aad78
fixup: imports 2025-07-14 00:39:44 -04:00
tcely
17b98189b9
fixup: imports 2025-07-14 00:38:31 -04:00
tcely
56417485bf
Override stoage_class 2025-07-14 00:35:54 -04:00
tcely
50e5f5d463
Manage the tasks databases better 2025-07-13 17:29:44 -04:00
tcely
06adeca92b
Remove old database query 2025-07-13 15:04:10 -04:00
tcely
4b14925141
fixup: consistency 2025-07-13 14:55:02 -04:00
tcely
8196896369
fixup: remove an unused import 2025-07-13 14:21:50 -04:00
tcely
34e1ee2d02
Merge branch 'main' into tcely-download_media 2025-07-13 14:16:16 -04:00
tcely
5caca002e6
Provide all keys to format 2025-07-13 13:31:19 -04:00