Commit graph

121 commits

Author SHA1 Message Date
Zach Daniel
20bab64e52 improvement: validate primary keys provided for job scheduling 2024-03-01 18:52:40 -05:00
Yousef
f69ee2286e
improvement: builds_trigger/3 to enable job composition without execution (#18) 2024-03-01 11:49:24 -05:00
Rebecca Le
0829dc452c
docs: Update Getting Started guide with links to Oban setup and AshOban DSL (#17)
* docs: Update Getting Started guide with links to Oban setup and AshOban DSL

* docs: Add note about fetching APIs from existing config
2024-02-29 22:26:47 -05:00
Zach Daniel
673813fba3 chore: release version v0.2.1 2024-02-28 08:10:22 -05:00
Zach Daniel
555abed0e4 fix: only drain queues when oban is in testing mode 2024-02-28 08:07:14 -05:00
Zach Daniel
4f85f5958a chore: remove oban pro 2024-02-28 07:34:09 -05:00
Zach Daniel
bea770d8f6 chore: ensure default oban config is used 2024-02-28 07:30:40 -05:00
Zach Daniel
7935a579d2 fix: properly discard all non applicable jobs 2024-02-28 07:22:55 -05:00
Zach Daniel
c6db35afe7 chore: ensure repo is present in oban pro config 2024-02-27 09:42:27 -05:00
Zach Daniel
758784277b improvement: support Oban.Pro.Testing.drain_jobs 2024-02-26 10:31:28 -05:00
Zach Daniel
b745d5ca9b chore: fix warnings in test 2024-02-24 09:38:41 -05:00
Zach Daniel
9c9e94c26d chore: update docs to reflect potential breaking change 2024-02-20 14:10:06 -05:00
Zach Daniel
2b5a44e6b8 chore: release version v0.2.0 2024-02-20 14:09:17 -05:00
Zach Daniel
3842cc65e1 improvement!: authorize always by default 2024-02-20 14:07:39 -05:00
Zach Daniel
b4e045f867 ci: get tests passing for CI 2024-02-20 13:50:56 -05:00
Zach Daniel
27d0ebb154 improvement: allow turning new authorization behavior off 2024-02-20 13:28:32 -05:00
Zach Daniel
2b8a6926ae chore: unlock unused deps 2024-02-20 13:17:19 -05:00
Zach Daniel
9343692807 chore: get postgres for testing 2024-02-20 13:15:14 -05:00
Zach Daniel
398d90600f test: fix flaky tests
chore: address credo issues
2024-02-20 13:14:02 -05:00
Zach Daniel
12f4207193 improvement: add actor_persister, and use it automatically
improvement: authorize?: true always
2024-02-20 13:02:43 -05:00
Zach Daniel
52b9c94391 chore: release version v0.1.14 2024-02-16 16:11:56 -05:00
Zach Daniel
5075981a5d chore: don't use run_action! 2024-02-14 14:27:58 -05:00
Zach Daniel
0dd7f68cf2 improvement: properly schedule scheduled actions 2024-02-14 11:28:52 -05:00
Zach Daniel
b82b41a228 chore: release version v0.1.13 2024-01-12 16:44:48 -05:00
Zach Daniel
0ccf5de4f1 chore: update docs sidebar 2024-01-12 16:44:06 -05:00
Zach Daniel
1f9a3ae4e7 docs: update ex_doc, clean up docs 2024-01-12 16:43:36 -05:00
Maciej Malecki
bfacb4572c
fix: Do not wrap paused and delete Cron options into events (#15)
It breaks the application boot by throwing an irrelevant error.
2024-01-09 07:14:46 -05:00
Zach Daniel
2667527827 chore: don't drain queues 4 times 2023-12-20 10:53:45 -05:00
Zach Daniel
3cad6a4233 fix: properly honor the drain_queues? option 2023-12-19 20:52:52 -05:00
Zach Daniel
302daaa451 chore: release version v0.1.12 2023-12-12 10:14:49 -05:00
Zach Daniel
6031158019 improvement: make draining queues optional for AshOban.schedule_and_run_triggers 2023-12-12 10:14:32 -05:00
Zach Daniel
fd4e010798 chore: release version v0.1.11 2023-12-12 09:45:13 -05:00
Zach Daniel
7f8ec4450c docs: fix build/docs/credo 2023-12-12 09:44:35 -05:00
Zach Daniel
03f7f2f662 improvement: move schedule_and_run_triggers to AshOban 2023-12-12 09:40:03 -05:00
Zach Daniel
36a441f781 chore: release version v0.1.10 2023-12-07 14:43:18 -05:00
Zach Daniel
471341d9ac improvement: make AshOban.Test more configurable for scheduled actions 2023-12-07 14:24:23 -05:00
Zach Daniel
80bae3bf43 fix: fallback clause to match valid configurations 2023-12-07 13:32:44 -05:00
Zach Daniel
345c690ec7 fix: add cron to opt schema 2023-12-07 13:29:49 -05:00
Zach Daniel
1a957248ae improvement: add scheduled_action for scheduling create/generic actions 2023-12-07 13:24:16 -05:00
Zach Daniel
870c4ff447 improvement: log all errors by default, using log_errors? config 2023-12-05 11:28:38 -05:00
infinitis
a65dd5f413
fix: reverted part of refactor in 82cb0f90d9 (#14) 2023-12-05 09:08:02 -05:00
infinitis
e1a028171d
chore: revert queues to drain twice (#13)
Co-authored-by: Alex Joss <alex.joss@coinbits.app>
2023-12-04 19:29:11 -05:00
infinitis
82cb0f90d9
improvement: expose drain options to AshOban.Test.schedule_and_run_triggers (#12)
Co-authored-by: Alex Joss <alex.joss@coinbits.app>
2023-12-04 19:23:19 -05:00
Zach Daniel
9d5444c35f chore: make primary_key variable allowed 2023-12-04 18:24:00 -05:00
Zach Daniel
65a7576163 chore: change log message 2023-12-04 18:19:10 -05:00
Zach Daniel
6a3cddfc0f improvement: add log_final_error? and default it to true 2023-12-04 18:18:11 -05:00
Zach Daniel
d857705f8c improvement: don't log on raised exception, for consistency
we don't raise when an error is returned, so we won't raise when an error
is raised. It will eventually cause a job failure in Oban.
2023-12-04 17:56:50 -05:00
Zach Daniel
09fa2c28f4 improvement: support require?: false option on config/3. 2023-11-13 16:00:08 -05:00
Zach Daniel
5a2d1dba34 improvement: support action_input on triggers 2023-10-27 15:38:14 -04:00
Zach Daniel
ece3c61a33 fix: nested pausing states under events option
fixes #10
2023-10-11 08:39:33 -04:00