Commit Graph
100 Commits
Author SHA1 Message Date
tcely 66b8b8e3a9 Continue using the old context name 2025-07-19 12:05:17 -04:00
tcely 49802fb409 Merge branch 'main' into patch-6 2025-07-19 11:34:19 -04:00
tcely 7efe6239f6 Update tasks.py 2025-07-19 11:29:58 -04:00
tcely 7f5d3dcbcc Merge branch 'main' into patch-2 2025-07-19 11:23:47 -04:00
tcely 7edf90ba22 With variables are no longer needed 2025-07-19 08:48:51 -04:00
tcely 50dff35f63 Stop creating the query string manually 2025-07-19 08:46:41 -04:00
tcely 65f025eabe Display the search_description status 2025-07-19 08:41:45 -04:00
tcely f129ac2fa9 fixup: add the missing '=' 2025-07-19 08:31:37 -04:00
tcely 24fa8cf56d Page 2 should also work 2025-07-19 08:29:28 -04:00
tcely e6eed75b2f Use the is_active function to accept values 2025-07-19 08:17:48 -04:00
tcely 78656ba517 Disabling show_skipped before only_skipped would work was odd 2025-07-19 07:50:47 -04:00
tcely 4bbcd60682 Allow searching in the description as an option 2025-07-19 07:34:52 -04:00
tcely f74aae55c2 Do not always search in descriptions 2025-07-19 03:46:20 -04:00
tcely d3a13e6b1c fixup: remove the unnecessary f-string 2025-07-18 19:28:58 -04:00
tcely cd419673bd Add remove_duplicated_rows function before task_id unique change 2025-07-18 19:25:26 -04:00
tcely 18594ac5ad Search in fulltitle and description from metadata 2025-07-18 17:30:42 -04:00
tcely 8c30d19718 fixup: oddly the larger display was worse 2025-07-18 17:16:22 -04:00
tcely c307f5081f fixup: use btn class for submit input 2025-07-18 17:12:47 -04:00
tcely 0a0612f77b Use flex box for positioning 2025-07-18 17:08:33 -04:00
tcely e5422c284e Stop creating the query string manually 2025-07-18 15:54:59 -04:00
tcely 51c2636538 Show more of the placeholder by default 2025-07-18 12:36:00 -04:00
tcely ed91a2bc2c Do not set set value when query wasn't provided 2025-07-18 12:26:48 -04:00
tcely 25f5af466a Preserve the previous search query 2025-07-18 12:22:02 -04:00
tcely a71e40f509 Arrange the box and button better 2025-07-18 12:14:51 -04:00
tcely 30cfb5dc69 fixup: set value for submit 2025-07-18 09:57:31 -04:00
tcely ee247060ab Use GET for now 2025-07-18 09:54:33 -04:00
tcely e1a486115e Add a basic search box 2025-07-18 09:28:10 -04:00
tcely 75dd32f760 Add basic search query support 2025-07-18 09:16:36 -04:00
tcely d4f3b6addf Save the thumbnail URL to a file 2025-07-18 07:38:29 -04:00
tcely 70a26314e5 Set locking_mode to NORMAL explicitly 2025-07-18 07:12:25 -04:00
tcely d619aca56f fixup: restore the not 2025-07-18 06:32:38 -04:00
tcely 1136f20128 Accept playlists also 2025-07-18 06:30:49 -04:00
tcely efe0d5a09c Normalize height before comparing to max_height 2025-07-18 06:20:32 -04:00
tcely f66809113a Update tasks.py 2025-07-18 06:09:52 -04:00
tcely ae75302da4 Update source.py 2025-07-18 06:01:56 -04:00
tcely 106da4616f Store the metadata from channels or playlists 2025-07-18 05:35:34 -04:00
tcely 87459af9e2 Log the failure when the task was already removed 2025-07-17 20:31:20 -04:00
tcely dd03023e99 fixup: add a missing import 2025-07-17 20:12:34 -04:00
tcely 75e083f987 Reschedule the actual task using its TaskHistory instance 2025-07-17 20:10:10 -04:00
tcely 129925af58 Use the TaskHistory.id column 2025-07-17 19:18:01 -04:00
tcely 0623dc4c9a Turn off skip for successful downloads 2025-07-17 10:50:11 -04:00
tcely 76c2566648 fixup: spelling 2025-07-17 10:16:45 -04:00
tcely 3ce406f13c Schedule the download task first 2025-07-17 10:07:27 -04:00
tcely 197f7850d3 Update media-item.html 2025-07-17 09:58:38 -04:00
tcely 13207cf21d Try downloading with an override for media redownload 2025-07-17 09:51:34 -04:00
tcely c6b2ff9daa Fix the indexing task function and mapping 2025-07-17 08:41:18 -04:00
tcely 08823e9f93 Merge branch 'meeb:main' into tcely-download_media_metadata 2025-07-17 04:22:16 -04: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
tcely d1344c40cd Clean up tests after debugging 2025-07-16 19:26:16 -04:00
tcely 792646813c Merge branch 'meeb:main' into tcely-download_media_metadata 2025-07-16 18:39:36 -04:00
tcely c4ab3ddda8 fixup: remove unused imports 2025-07-16 12:53:06 -04:00
tcely 342a55b7f9 Remove background_task from signals.py 2025-07-16 12:50:20 -04:00
tcely bfdb4fe911 Remove background_task from views.py 2025-07-16 12:43:01 -04:00
tcely 7447513d32 Update Pipfile 2025-07-16 12:31:15 -04:00
tcely a1d929d8c9 Update Dockerfile 2025-07-16 12:29:45 -04:00
tcely 67614dc8a7 Update ci.yaml 2025-07-16 12:22:47 -04:00
tcely eaf6b593aa Delete config/root/etc/s6-overlay/s6-rc.d/tubesync-network-worker/type 2025-07-16 12:20:37 -04:00
tcely 6af77804a8 Delete config/root/etc/s6-overlay/s6-rc.d/tubesync-network-worker/down-signal 2025-07-16 12:20:27 -04:00
tcely 4be74ea2ae Delete config/root/etc/s6-overlay/s6-rc.d/tubesync-network-worker/dependencies 2025-07-16 12:20:15 -04:00
tcely 5f65e5b31e Delete config/root/etc/s6-overlay/s6-rc.d/tubesync-network-worker/run 2025-07-16 12:19:52 -04:00
tcely d944e4d66b Delete config/root/etc/s6-overlay/s6-rc.d/background-task-workers/type 2025-07-16 12:19:28 -04:00
tcely 88119c66f6 Delete config/root/etc/s6-overlay/s6-rc.d/background-task-workers/contents.d/tubesync-network-worker 2025-07-16 12:19:18 -04:00
tcely a1843476f5 Remove background_task from settings.py 2025-07-16 12:16:32 -04:00
tcely d098bdcf7b Delete config/root/etc/s6-overlay/s6-rc.d/user/contents.d/background-task-workers 2025-07-16 12:12:42 -04:00
tcely 838da6278a Return a query set 2025-07-16 11:47:33 -04:00
tcely a4f43cdb60 Update signals.py 2025-07-16 11:35:52 -04:00
tcely e1b51edeab Remove outdated function calls in views.py 2025-07-16 11:25:39 -04:00
tcely 353baf4a22 fixup: remove unused imports 2025-07-16 11:13:54 -04:00
tcely 2c4765c7f1 Replace download_media_metadata in tasks.py 2025-07-16 11:07:46 -04: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
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
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
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