28 Commits

Author SHA1 Message Date
aa67c11050 Start-Job endpoint: Add option to start Jobs that our job is dependent on
Some checks failed
Docker Image CI / build (push) Has been cancelled
2025-05-19 19:57:51 +02:00
33856f9927 Fix infinity joby (because we did not create new Scope on every cycle) 2025-05-18 20:31:46 +02:00
8ecbdb91b2 Let Job update itself in its own context 2025-05-18 16:06:52 +02:00
cb1c68f295 Remove Job.DependenciesFulfilled 2025-05-18 16:06:39 +02:00
3fe3fc09b0 JobContext per Job 2025-05-18 15:21:59 +02:00
7f55aaf85d test 2025-05-18 14:41:43 +02:00
496b49ccb3 ParentJob can be updated, DownloadAvailableJobs Endpoint automatically sets ParentJob to the DownloadAvailableChaptersJob (ondeleteCascade) 2025-05-17 19:24:24 +02:00
225b7f02ad Lazy Load Jobs.DependsOnJobs, Manga.Chapters 2025-05-16 21:53:59 +02:00
622198a09e Changes to Job.cs:
- Nest try-catch for DBUpdateException and other Exceptions
- More Logging for Jobs
2025-05-16 21:32:42 +02:00
63fee081e6 Catch all Exceptions in Job 2025-05-16 21:18:46 +02:00
3a3306240f Use LazyLoading 2025-05-16 21:05:55 +02:00
475a29b10d Attach Entities to Jobs 2025-05-15 15:13:53 +02:00
0f6c060026 Remove unnecessary default value for EF Constructors 2025-05-09 12:30:30 +02:00
b49b11828c Add ToString Overriddes 2025-05-09 12:22:32 +02:00
7d4a6be569 MangaConnectors do not have to return an Object with 6 Parameters.
Job-Start Logic readable and optimized
More robust Database design
2025-05-09 06:28:44 +02:00
91e033a2ec Logging 2025-03-31 19:08:35 +02:00
19ff3f578a Move adding jobs to context to Job.Run (from Tranga.cs) 2025-03-13 20:06:46 +01:00
d7f21550cd Fix annotations 2025-03-13 19:15:55 +01:00
6909c367e5 Types return only Ids of related Entities 2025-03-08 12:54:07 +01:00
5921e524a9 Option to disable/enable jobs 2025-03-07 11:32:59 +01:00
e2ff2c76ed Jobs:
Fix multiple jobs running on the same connector
Fix state-updates
Add more Documentation to JobController
Only allow non-running jobs to be started
2025-03-03 21:13:03 +01:00
Alessandro Benetton
725813c2f3
[postgres-Server-V2] feat(Jobs): Instead of passing context to each job, pass service provider and let the job create its own context 2025-02-01 23:08:13 +01:00
94adefa8e6 Fix some Jobs 2025-01-09 01:34:03 +01:00
16dd1ffa97 Job Run pass context to add new Data 2024-12-16 23:29:57 +01:00
84388a469a Remove unncessary nullable in Job 2024-12-16 23:20:46 +01:00
03e89913e3 Scoped PGSql Contexts for Threads 2024-12-16 21:24:00 +01:00
87274aca19 Remove APISerializable and APIJsonSerializer 2024-12-16 18:55:52 +01:00
1008da7ee8 Add API 2024-12-14 21:53:29 +01:00