Commit graph

308 commits

Author SHA1 Message Date
Zach Daniel
bf9c96c109 fix: pass matcher down in nested validation 2022-06-30 19:27:55 -04:00
Zach Daniel
0afd54e813 fix: deduplicate form keys 2022-06-29 00:21:58 -04:00
Zach Daniel
66026b816c chore: more debug messages 2022-06-29 00:14:20 -04:00
Zach Daniel
ff3c89900e chore: more debug messages 2022-06-29 00:10:18 -04:00
Zach Daniel
161e32332b chore: inspects for debugging 2022-06-29 00:04:34 -04:00
Zach Daniel
2e5f6a9282 chore: don't process duplicate form keys 2022-06-29 00:00:55 -04:00
Zach Daniel
5c3f3bcb90 Revert "fix: when validating, use empty starting point for forms"
This reverts commit a658a8085b.
2022-06-28 23:56:11 -04:00
Zach Daniel
a658a8085b fix: when validating, use empty starting point for forms 2022-06-28 23:54:14 -04:00
Zach Daniel
de3ad424a3 chore: release version v0.7.2-rc.2 2022-06-28 22:32:06 -04:00
Zach Daniel
42fec6fab4 improvement: helper functions around ignoring forms 2022-06-28 22:31:44 -04:00
Zach Daniel
a554cd9a07 improvement: allow forms to be ignored 2022-06-28 22:28:44 -04:00
Zach Daniel
6ba516aeaa WIP 2022-06-28 22:22:38 -04:00
Zach Daniel
e8bf9d648d chore: add explanation for add_form oddities 2022-06-21 18:33:03 -04:00
Zach Daniel
ec9aca942e Revert "improvement: pass generated form params in when validating"
This reverts commit b54d49074c.
2022-06-21 18:27:57 -04:00
Zach Daniel
e9466d1e12 Revert "improvement: trialing treating all form parameters as strings for keys/values"
This reverts commit 0307ff190c.
2022-06-21 18:27:44 -04:00
Zach Daniel
0307ff190c improvement: trialing treating all form parameters as strings for keys/values
This is experimental, and may be reverted later
2022-06-21 01:29:00 -04:00
Zach Daniel
b54d49074c improvement: pass generated form params in when validating 2022-06-21 00:05:35 -04:00
Zach Daniel
677be37d31 improvement: add read_one? option to submit 2022-06-18 16:31:24 -04:00
Zach Daniel
6505b44452 improvement: track and submit only touched fields by default 2022-06-17 15:11:42 -04:00
Zach Daniel
1873357f61 fix: include forms when !touched_forms 2022-06-13 21:51:48 -04:00
Zach Daniel
d9f2ed5e9a improvement: add set_params option 2022-06-10 13:13:50 -04:00
Zach Daniel
45db36d350 improvement: add filter option to params/2 2022-06-07 21:58:11 -04:00
Zach Daniel
be10b3cd07 fix: keep added? on validate 2022-06-06 13:08:36 -04:00
Zach Daniel
27761afcf0 fix: set changed after add and remove form 2022-06-06 12:51:15 -04:00
Zach Daniel
e66d4445cb improvement: add api_opts to submit 2022-06-01 15:56:06 -04:00
Zach Daniel
fa68ae1180 chore: optimize out some to_form calls
fixes #48
2022-05-31 12:05:08 -04:00
Zach Daniel
09f673751b chore: fix tests 2022-05-28 21:20:54 -04:00
Zach Daniel
d80a87c062 fix: handle case where certain actions are not present 2022-05-25 22:40:26 -04:00
Josh Price
a0d01bf6ea
chore(deps): update ash and phoenix (#47) 2022-05-25 11:42:42 -04:00
Zach Daniel
e776fbc4ec chore: release version v0.7.2-rc.1 2022-05-23 02:34:38 -04:00
Zach Daniel
6f48087e9f fix: properly call destroy action with changeset 2022-05-23 02:25:07 -04:00
Darren Black
142bbc3b52
fix: Fix validate_opts when single form (#44) 2022-05-22 02:08:43 -04:00
Zach Daniel
de56e1d20a fix: pass error state down to nested forms properly
closes #41
2022-05-20 11:05:28 -04:00
Darren Black
465d036620
test: Failing test for validate_opts issue (#43) 2022-05-20 10:59:23 -04:00
Zach Daniel
a840ca94a0 fix: ensure list forms are always [] after remove_form
closes #42
2022-05-19 10:34:44 -04:00
Zach Daniel
3f0e3788e2 fix: add opts to for_action in add_form
closes #41
2022-05-19 10:26:11 -04:00
Zach Daniel
b660254248 improvement: add validate_opts to add/remove_form 2022-05-19 00:19:24 -04:00
Zach Daniel
0d788b1bba chore: use proper ash version in CI 2022-05-17 17:04:33 -04:00
Zach Daniel
cddfe1d1e3 chore: release version v0.7.2-rc.0 2022-05-17 17:01:09 -04:00
Zach Daniel
873317aa79 fix: validate after adding/removing forms 2022-05-17 11:06:41 -04:00
kernel-io
a861dbf3b9
test: added failing test (#40) 2022-05-17 10:39:46 -04:00
Zach Daniel
12b27461b6 fix: don't remove a form unless one exists 2022-05-16 22:42:01 -04:00
kernel-io
b65bf57ebf
test: add failing test for remove_form (#39) 2022-05-16 22:37:36 -04:00
Zach Daniel
50f6a108b4 fix: raise error on non-existant resource for api 2022-05-16 16:09:38 -04:00
Josh Price
ad5f1c4b5e
test: set primary action explicitly in tests (#38)
* test: set primary action explicitly

* chore: update all deps
2022-05-16 15:34:33 -04:00
Zach Daniel
15be502838 chore: use new Config module 2022-05-13 20:45:54 -04:00
kernel-io
89af1acd41
fix: respect touched forms in params generation (#37) 2022-05-13 20:45:07 -04:00
Zach Daniel
59abfc165a chore: fix build/point at ash main instead of master 2022-05-13 20:44:18 -04:00
Zach Daniel
8488ba3eaf chore: add to touched_forms on add/remove form 2022-05-13 10:41:10 -04:00
Zach Daniel
3d69d41fd7 fix: explicitly set as and id in matched form 2022-05-12 19:38:08 -04:00