SpaceEEC
ace38cd31f
improvement: validate accepted and rejected attributes in actions ( #395 )
2022-10-03 12:16:53 -04:00
SpaceEEC
14a1b92963
feat: show_private?
option for diagrams ( #396 )
2022-10-03 11:30:10 -04:00
Zach Daniel
2c685a6a2e
fix: properly display compare/2 error message
2022-10-02 20:56:18 -04:00
Zach Daniel
6b291566b4
chore: fix discord invite link in philosophy channel
2022-10-02 20:47:01 -04:00
Zach Daniel
c53eae58cd
improvement: support zero argument functions in compare/2
2022-10-02 20:46:30 -04:00
Zach Daniel
329dfed138
fix: use the short type for aggregate types
2022-10-01 22:33:08 -04:00
Zach Daniel
ade0031081
fix: kind_to_type/2
returns tagged tuple
2022-10-01 22:25:49 -04:00
Josh Price
3d2f8277ad
feat: generate mermaid entity relationship diagrams from a given api ( #376 )
2022-10-01 22:22:00 -04:00
Zach Daniel
6f5518de5c
chore: release version v2.0.0-rc.12
2022-09-30 15:13:33 -04:00
Zach Daniel
95a4aa3708
improvement: optimize for relates_to_actor_via
2022-09-30 15:13:04 -04:00
Zach Daniel
a4b3d36ca9
chore: fix get-started guide
2022-09-30 00:29:13 -04:00
Zach Daniel
8dca72c49d
chore: fix mix tasks list
2022-09-29 16:26:46 -04:00
Darren Black
2eda90c0ee
docs: Missing calculation type in doco ( #391 )
2022-09-29 01:29:25 -04:00
Zach Daniel
37a5fdc89b
chore: release version v2.0.0-rc.11
2022-09-28 21:00:13 -04:00
Zach Daniel
6f14cf0263
docs: add mix_tasks to doc_index
2022-09-28 20:59:47 -04:00
Zach Daniel
0e13456eb0
improvement: optimize relates_to_actor_via checks
2022-09-28 20:37:19 -04:00
Zach Daniel
6c94e5e578
chore: ensure calc module compiled (shouldn't have to do this)
2022-09-28 18:00:51 -04:00
Zach Daniel
fec01e32fa
chore: log at_path
in exists error message
2022-09-28 16:56:13 -04:00
Zach Daniel
fdbc5faeea
fix: use at_path
when parsing Exists
2022-09-28 16:49:11 -04:00
Zach Daniel
b12b5e34bb
fix: properly require a condition of a following bypasses
2022-09-28 16:38:32 -04:00
Zach Daniel
6a172cce18
fix: don't transform == nil to is_nil automatically
2022-09-28 12:32:02 -04:00
trymkb
8f314538fa
Docs: fixed file creation step in get-started ( #390 )
2022-09-28 02:38:38 -04:00
Zach Daniel
68d0e8f55d
fix: pass path down to keyword list errors
2022-09-28 01:52:41 -04:00
Zach Daniel
98647fbc21
chore: release version v2.0.0-rc.10
2022-09-27 23:48:02 -04:00
Zach Daniel
24bdf9058e
improvement: catch more cases in preflight authorization checks
2022-09-27 14:58:48 -04:00
zimt28
33a6438f00
test: Add test for strict_check
with filter policy ( #387 )
2022-09-27 14:43:29 -04:00
Zach Daniel
bc6daa56dd
fix: bad pattern in filter.ex
, fix dialyzer
2022-09-27 14:08:29 -04:00
Zach Daniel
a48ee94f89
docs: update actions guide
2022-09-27 14:08:29 -04:00
zimt28
58ae9c6e72
chore: Ignore Nix and direnv files ( #386 )
2022-09-27 13:07:18 -04:00
Zach Daniel
8f1a43419b
fix: attempt to evaluate filter checks for strict checks
...
closes : #385
2022-09-26 20:41:53 -04:00
Zach Daniel
f629de6808
fix: only return errors when there actually are errors
2022-09-26 19:18:42 -04:00
Zach Daniel
716fcf7c25
fix: return an error if data_layer_query/2
is given a query with errors
2022-09-26 19:13:08 -04:00
Zach Daniel
dc83e26fd8
chore: remove debugging raise statements
2022-09-26 18:41:39 -04:00
Zach Daniel
dcc6879bc1
chore: better error message for allow_nil? belongs to primary key
2022-09-26 18:09:16 -04:00
Zach Daniel
a8bce0ab23
improvement: lazily set required loads/selects for calcs/sorts
2022-09-26 18:08:18 -04:00
Zach Daniel
fe596db0b8
improvement: reselect any necessary fields when loading calcs
...
docs: tons of new documentation
improvement: set context when creating related filters allowing checks like `filtering_on`
2022-09-25 23:58:05 -04:00
Zach Daniel
3b803d4c55
fix: various fixes with complex policy statements
...
improvement: simplify filter statements further
improvement: don't overconstraint filters on related data
test: get started on some more complex policy tests
2022-09-25 13:21:17 -04:00
Zach Daniel
8f3e388c27
fix: ensure fields selected in-line when loading calcs
2022-09-23 10:44:29 -04:00
Zach Daniel
8031f1b698
improvement: any filter being statically true means :authorized
2022-09-22 21:06:57 -04:00
Zach Daniel
fbcd745401
improvement: properly mark conditions w/ access_type
...
fix: handle statically false conditions in filter logic
2022-09-22 21:03:33 -04:00
Zach Daniel
ac30194601
improvement: use IsNil
instead of Eq
when either side is nil
2022-09-22 18:27:05 -04:00
Zach Daniel
621cb6854e
improvement: handle string dates for embeds
2022-09-22 09:42:16 -04:00
Zach Daniel
d4a6feb589
fix: cast embedded datetimes properly
2022-09-22 03:00:06 -04:00
James Harton
479b09951c
fix(Ash.Calculation): fix return type for load/3
callback. ( #384 )
2022-09-22 00:44:09 -04:00
Zach Daniel
8a32748448
Update elixir.yml
2022-09-21 20:04:44 -04:00
Zach Daniel
402164fa40
Update extending-resources.md
2022-09-21 19:07:20 -04:00
Zach Daniel
7ef2f4884c
improvement: remove __timestamps__ in favor of simpler macro
...
docs: add extending resources guide
2022-09-21 18:49:59 -04:00
Zach Daniel
739bf52309
fix: warn instead of raise on :replace
usage
...
fix: handle var_args expression with literal args
2022-09-21 13:00:12 -04:00
Zach Daniel
5994c1b51f
chore: fix dialyzer, add embedded resources guide back
2022-09-21 12:20:00 -04:00
Zach Daniel
48bcf1ca1f
chore: relate_and_unrelate -> append_and_remove everywhere
2022-09-20 22:50:03 -04:00