Commit Graph
100 Commits
Author SHA1 Message Date
tcely 5106f276c5 Use add_to_task again now that everything uses TaskHistory 2025-07-03 23:36:04 -04:00
tcely 75ef10ed1f Use the same filter as the dashboard 2025-07-03 23:00:50 -04:00
tcely 1a61e3882a Fallback to name when verbose_name is unavailable 2025-07-03 22:47:47 -04:00
tcely b814614eb3 Display the task_id for now 2025-07-03 22:18:36 -04:00
tcely ed7b53b6a6 Update tasks.html 2025-07-03 21:59:09 -04:00
tcely 6c860387a2 Update tasks-completed.html 2025-07-03 21:03:39 -04:00
tcely 815dcb99e8 fixup: remove unused import 2025-07-03 20:58:16 -04:00
tcely 898f1d42cf Display running and completed tasks from TaskHistory 2025-07-03 20:51:20 -04:00
tcely cffa34774f Use the new scheduled_at on the tasks page 2025-07-03 20:02:04 -04:00
tcely c8dfcb1983 Populate the new TaskHistory fields from background_task 2025-07-03 19:10:32 -04:00
tcely df3616dd03 Populate the new TaskHistory fields from huey 2025-07-03 18:13:34 -04:00
tcely d195f43942 Create 0002_taskhistory_elapsed_taskhistory_scheduled_at_and_more.py 2025-07-03 18:00:15 -04:00
tcely b5893b4604 Add elapsed and scheduled_at to TaskHistory 2025-07-03 17:44:29 -04:00
tcely 6d6a4d4ba5 Convert Huey eta to UTC always 2025-07-03 14:56:18 -04:00
tcely ca09e7a6be Handle naive datetime.datetime also 2025-07-03 14:46:20 -04:00
tcely 064b089266 Update tasks.html 2025-07-03 12:57:25 -04:00
tcely 7b196fa34c Set end_at to the scheduled eta 2025-07-03 07:56:47 -04:00
tcely 407cace19b Include errors which have set start_at already 2025-07-03 06:19:46 -04:00
tcely 8db622f5b8 task_task_failed still uses old class 2025-07-03 05:37:36 -04:00
tcely f09a34f1e1 add_to_task still uses the old class 2025-07-03 05:32:39 -04:00
tcely 7b897fb7a8 Adjust map_task_to_instance for TaskHistory 2025-07-03 05:29:38 -04:00
tcely eebdfca824 Display scheduled tasks using TaskHistory 2025-07-03 04:41:24 -04:00
tcely ef0a3d9e82 fixup: do not set start_at before it was started 2025-07-03 03:54:42 -04:00
tcely 91599cb53f Add a new TaskHistory row when a task is created 2025-07-03 03:51:15 -04:00
tcely 8dc212496d fixup: use end_at with TaskHistory 2025-07-03 03:27:16 -04:00
tcely c8e7aede03 Add and use the get_waiting_tasks function 2025-07-03 03:17:40 -04:00
tcely b162ba55a6 Update the dashboard to use TaskHistory 2025-07-03 03:00:26 -04:00
tcely 1bfcc07d07 Merge branch 'meeb:main' into patch-2 2025-07-03 00:24:46 -04:00
tcely 3095180b25 Update other-database-backends.md
We also should stop the `huey-*` consumer services.
2025-07-02 23:30:50 -04:00
tcely 6f8fd8581d Add SQLite configuration tweaks 2025-07-02 21:03:04 -04:00
tcely 2d377153e7 Do not try to use empty task_obj.args 2025-07-02 06:40:30 -04:00
tcely 5ec14cad58 fixup: typo 2025-07-02 04:12:58 -04:00
tcely a7a0df2802 Skip keys that don't return a dictionary 2025-07-02 04:06:30 -04:00
tcely 8353c18f51 Not a Django model, so id not pk 2025-07-02 04:00:00 -04:00
tcely 152cccd33c Clean up old task_history 2025-07-02 02:07:35 -04:00
tcely 8a28a851c5 Add created / modified to task_history 2025-07-02 02:07:31 -04:00
tcely 60a370ac3b Clean up TaskHistory also 2025-07-02 01:57:13 -04:00
tcely f38134a264 Use key and name for verbose_name 2025-07-01 23:01:03 -04:00
tcely 15111d89fe Add completed tasks to TaskHistory 2025-07-01 22:52:25 -04:00
tcely bff224491f Set a default verbose_name value 2025-07-01 22:18:44 -04:00
tcely 76ca2c3aff Use the renamed field 2025-07-01 21:44:07 -04:00
tcely 21c8b16b82 Huey._tasks_in_flight is only available in the consumer 2025-07-01 21:41:30 -04:00
tcely c5856aa749 Set failed_at 2025-07-01 21:26:01 -04:00
tcely 7d1cb397aa fixup: ruff check complaints 2025-07-01 17:08:49 -04:00
tcely 15db31ba84 Add the task_task_started receiver function 2025-07-01 16:52:59 -04:00
tcely 3c9e055199 Add a to-do for changes to signals.py 2025-07-01 14:58:01 -04:00
tcely 54e73ad550 Store the repr instead of serializing various objects 2025-07-01 14:25:20 -04:00
tcely 50fdf763db Merge branch 'meeb:main' into patch-2 2025-06-30 22:19:51 -04:00
tcely ace6c4e870 Always store signal datetime as UTC 2025-06-30 16:03:42 -04:00
tcely 91c8e060e6 Nibble away at the free pages with every connection 2025-06-30 15:32:39 -04:00
tcely 5756f321d4 fixup: use the correct field 2025-06-30 14:32:32 -04:00
tcely 0b4a784d66 fixup: list takes a single positional argument 2025-06-30 14:29:27 -04:00
tcely a267fe3ca2 Use a much longer timeout 2025-06-30 13:34:38 -04:00
tcely dd7f59569a Update huey.py 2025-06-30 05:34:02 -04:00
tcely 4eba296a35 Write TaskHistory rows 2025-06-30 05:30:51 -04:00
tcely 4ac1d793ad Merge branch 'meeb:main' into patch-16 2025-06-30 03:15:55 -04:00
tcely efe34c7a28 Create 0001_initial.py 2025-06-30 03:15:38 -04:00
tcely 7ee5ce540f Update __init__.py 2025-06-29 14:21:32 -04:00
tcely c6e2a42576 Update tasks.py 2025-06-29 14:19:07 -04:00
tcely 0591ac9299 Update __init__.py 2025-06-29 14:17:02 -04:00
tcely fcf5497c14 Remove the reference comment 2025-06-29 14:14:20 -04:00
tcely e09120c27d fixup: remove unused imports 2025-06-29 14:10:34 -04:00
tcely cc9364841e Update tasks.py 2025-06-29 14:02:22 -04:00
tcely e770095031 Do not use retrying for elapsed 2025-06-29 09:13:09 -04:00
tcely 9f001d7436 Record signal timing for tasks 2025-06-28 19:22:06 -04:00
tcely 260167abb1 Release for 2025-007 2025-06-28 10:30:21 -04:00
tcely b321573781 Force media_source.target_schedule to have a value 2025-06-27 20:52:50 -04:00
tcely 23fcbf0048 Handle when source.last_crawl is None 2025-06-27 17:55:35 -04:00
tcely 7bbb5ba47f Better handling of missing tabs 2025-06-27 16:16:34 -04:00
tcely 502358a953 Check the channel the user subscribed to, not the user's channel 2025-06-27 13:46:23 -04:00
tcely bdbeed0983 Create the new sources 2025-06-27 02:31:08 -04:00
tcely c13527883b Skip the entire dictionary for existing sources 2025-06-26 04:31:52 -04:00
tcely a95923fa45 Do not show existing sources 2025-06-26 04:11:18 -04:00
tcely e11e0057de fixup: remove an unused import 2025-06-26 02:51:45 -04:00
tcely 1882732f43 Create youtube-add-subscriptions.py 2025-06-26 02:49:48 -04:00
tcely 4ae878cdc4 Update plex-notes.md 2025-06-26 02:11:14 -04:00
tcely d4d3f2ddcb Update README.md 2025-06-26 01:45:24 -04:00
tcely 619e100943 Create plex-notes.md 2025-06-26 01:40:38 -04:00
tcely 9b17fef2f2 Add background-task-workers to user bundle 2025-06-24 20:05:12 -04:00
tcely a8353c3d87 Reassign any tasks assigned to old queues 2025-06-24 19:49:27 -04:00
tcely ac04fc0b64 Delete tubesync-db-worker 2025-06-24 19:39:00 -04:00
tcely 309bd19c44 Switch wait_for_media_premiere from repeat to crontab 2025-06-24 19:28:38 -04:00
tcely 27dc902463 Call wait_for_database_queue from within the old task 2025-06-24 12:13:00 -04:00
tcely 1acf75bb8d Moved wait_for_database_queue in tasks.py 2025-06-24 11:28:48 -04:00
tcely 9a8d25ce6c Moved index_source_task in tasks.py 2025-06-24 11:24:11 -04:00
tcely 4f4ff960c2 Moved download_media_metadata in tasks.py 2025-06-24 11:19:57 -04:00
tcely 424fda5c52 Moved download_media_thumbnail in tasks.py 2025-06-24 11:14:05 -04:00
tcely 4bc748d0dd Moved download_media in tasks.py 2025-06-24 11:11:09 -04:00
tcely ffd98bfd51 Moved save_all_media_for_source in tasks.py 2025-06-24 11:08:08 -04:00
tcely 5159c56c38 Clean up django.db imports 2025-06-24 10:57:22 -04:00
tcely ab12cfdfb3 Reorganize tasks 2025-06-24 10:53:11 -04:00
tcely ce63b2806c Move more work into huey queues 2025-06-23 21:48:07 -04:00
tcely 93c9cc386a Store the queue name in the class 2025-06-23 11:42:05 -04:00
tcely 724a9a1842 fixup: use try/else 2025-06-23 11:23:26 -04:00
tcely 8969ac5484 fixup: access huey through self 2025-06-23 11:17:22 -04:00
tcely f7e7a83cfb Create cache-huey.py 2025-06-23 11:08:47 -04:00
tcely d03ab79fa6 [TubeSync-fs] Check for cookiefile option directly 2025-06-23 10:15:28 -04:00
tcely 9fe40cd81f Sort the files 2025-06-23 00:28:52 -04:00
tcely dcbe8b1d17 Clean up dynamic locks before indexing a source 2025-06-22 14:11:43 -04:00
tcely fff550c301 fixup: need a Path not a str 2025-06-22 12:39:49 -04:00