autobrr/internal
soup 2bd1a68a94
feat(feeds): add force run (#1243)
* feat(feeds): add force run

* fix: simplify ForceRun

* add confirmation modal

* handle errors by using the test func

* require user input to run

* make sure to reschedule next job after forcerun

* refactor modal centering with grid

* refactor: Simplify startJob and forceRun logic

- Refactor `startJob` to accept a `runImmediately` flag. This flag controls whether the job should be run immediately or scheduled for later. This change simplifies the `ForceRun` function by allowing it to call `startJob` with `runImmediately` set to `true`.

- Remove redundant checks in `ForceRun` related to feed type. These checks are handled in `startJob`.

BREAKING CHANGE: The `startJob` function now requires a second argument, `runImmediately`. This change affects all calls to `startJob`.

* fix(web) Invalidate queries after forceRun

* refactor(feeds): init and test run

---------

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
2023-11-18 21:54:53 +01:00
..
action feat(clients): Transmission support seedtime and ratiolimit (#1211) 2023-10-31 00:38:23 +01:00
announce feat(definitions): add expectations for test lines (#1257) 2023-11-18 15:41:39 +01:00
api chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
auth chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
client chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
config feat(database): postgres set ssl mode (#1245) 2023-11-06 19:04:32 +01:00
database feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
domain feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
download_client feat(clients): Transmission support seedtime and ratiolimit (#1211) 2023-10-31 00:38:23 +01:00
events chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
feed feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
filter fix(filters): external webhook remove jitter (#1254) 2023-11-17 17:05:29 +01:00
http feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
indexer feat(indexers): add SugoiMusic (#1255) 2023-11-18 16:15:22 +01:00
irc feat(irc): log connection errors (#1239) 2023-11-18 15:44:46 +01:00
logger feat(logs): show full log event (#1096) 2023-09-10 12:28:10 +02:00
mock chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
notification feat(notifications): Add Gotify (#1180) 2023-10-14 12:08:12 +02:00
release feat(downloadclient): set downloadClientId for arr clients (#1081) 2023-09-03 15:34:55 +02:00
scheduler feat(feeds): add scheduled cleanup (#1073) 2023-09-02 22:44:28 +02:00
server chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
update chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
user chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
utils chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00