Barnabas Jovanovics
f25d7edc2f
fix: pass in actor to api.can call ( #843 )
...
* fix: pass in actor to api.can call
* only call api.can if authorize? is true
2024-01-23 09:22:19 -05:00
Nduati Kuria
d229ade9fc
Add :decimal
aggregate support to DataLayer.Ets
[WIP] ( #841 )
...
* Add `:decimal` aggregate support to `DataLayer.Ets`
* Add regression test
* Fix dialyzer
* Handle nils in `:avg` calculation
* Refactor nested ifs
* Refactor test
2024-01-22 16:03:34 -05:00
Barnabas Jovanovics
4ffd3cfa11
fix: do not check primary key fields in filter ( #839 )
2024-01-22 11:31:20 -05:00
Barnabas Jovanovics
20880691fb
fix: add page opts to context again ( #838 )
2024-01-22 11:29:13 -05:00
Zach Daniel
7b40917516
fix: return errors with query from read action
...
closes #837
2024-01-21 13:55:01 -05:00
Zach Daniel
ecf4893b64
fix: properly set defaults on upsert in mnesia
2024-01-21 12:06:16 -05:00
Zach Daniel
45be2a34eb
chore: format
2024-01-21 01:27:08 -05:00
Zach Daniel
ce4c3cb2c1
fix: don't load through attributes twice, but also don't miss any
2024-01-21 01:26:22 -05:00
Zach Daniel
d013818c0a
improvement: handle pkey-less resources when attaching fields
...
improvement: set lazy defaults when applying changeset attributes
2024-01-21 00:45:35 -05:00
Zach Daniel
a08582ed0f
chore: remove IO.inspect
2024-01-20 21:50:14 -05:00
Zach Daniel
5af5702efb
improvement: add prepend?: true
option to add_change
2024-01-20 21:48:57 -05:00
Zach Daniel
fc522ff6c5
fix: handle errors properly from invalid loads
2024-01-20 19:39:35 -05:00
Zach Daniel
892cd7c845
fix: handle data layer calculations for missing records
2024-01-20 18:52:36 -05:00
Zach Daniel
7aaea7bd55
fix: only load through calculations in the correct order
2024-01-20 13:53:35 -05:00
Zach Daniel
aa227b8a6a
chore: format
2024-01-19 21:17:22 -05:00
Zach Daniel
e646be5393
fix: properly detect cyclic dependencies in calculation runner
...
fix: properly annotate in-query calculations as complete for dependency calculation
2024-01-19 21:10:48 -05:00
Zach Daniel
e49f42a195
fix: fix present?
and load_through
bugs
2024-01-19 17:26:13 -05:00
Zach Daniel
21de0fe882
chore: fix typo
2024-01-19 16:27:36 -05:00
Zach Daniel
b654c0cd5c
chore: remove IO.inspect
2024-01-19 16:26:51 -05:00
Zach Daniel
70918d42c5
chore: remove unused variables/aliases
2024-01-19 15:51:18 -05:00
Zach Daniel
1140771f74
fix: don't require pagination in incorrect cases
2024-01-19 15:50:35 -05:00
Zach Daniel
944f90eeb4
chore: update benchmark, benchmark shows a bit faster now
2024-01-19 10:50:10 -05:00
Zach Daniel
e5d78ae074
fix: get tests passing for bulk creates again
2024-01-19 10:49:26 -05:00
Zach Daniel
23107d061c
chore: move modules to bottom in docs
2024-01-19 10:02:15 -05:00
Zach Daniel
3db822d775
improvement: optimize embedded resource creation
2024-01-19 09:58:54 -05:00
Zach Daniel
c48cb08026
improvement: rewrite read actions to not use Ash.Engine
( #836 )
2024-01-19 00:05:42 -05:00
Zach Daniel
20ceee7a92
chore: release version v2.18.2
2024-01-18 09:20:55 -05:00
Zach Daniel
fc583b1d1e
docs: remove old docs
2024-01-18 09:20:16 -05:00
Zach Daniel
4c96fdd40f
fix: don't ignore stream batch size
2024-01-13 21:48:11 -05:00
Zach Daniel
fbe63d673a
chore: release version v2.18.1
2024-01-12 14:19:15 -05:00
Zach Daniel
6f56f3c4db
chore: use ash_query as base count aggregate query
2024-01-12 14:18:01 -05:00
Zach Daniel
4200b5df50
chore: fix dialyzer/credo
2024-01-12 14:14:08 -05:00
Zach Daniel
072486bebd
docs: revamp hexdocs
...
fix: use current read action for counting
2024-01-12 14:07:35 -05:00
Zach Daniel
6c5cd551ff
docs: organize the sidebar properly
2024-01-12 09:23:03 -05:00
Zach Daniel
d8c5b91090
chore: update spark.formatter
2024-01-12 09:00:46 -05:00
Zach Daniel
ac74a48a5b
chore: update DSL docs
2024-01-12 08:41:22 -05:00
Zach Daniel
0ca7393417
chore: undo typo
2024-01-12 08:40:34 -05:00
Zach Daniel
ff65ef4951
chore: release version v2.18.0
2024-01-12 08:37:01 -05:00
Zach Daniel
76cfe55a2a
improvement: add all_tenants?
option to identities
2024-01-12 08:36:06 -05:00
Zach Daniel
59e50f8dfa
fix: set tenant attribute in bulk create
...
fixes : #830
2024-01-12 08:19:55 -05:00
Zach Daniel
db7e42713c
docs: add a docstring for expr_sort
2024-01-12 07:49:58 -05:00
Jechol Lee
250c4ab8c8
improvement: support Ash.CiString in string_join ( #832 )
2024-01-12 00:21:30 -05:00
Jechol Lee
6b0e9fe1b3
improvement: Add code interface support in Info and Builder. ( #828 )
2024-01-12 00:19:51 -05:00
Zach Daniel
bbd866956d
improvement: authorize each related join using join_filters
2024-01-12 00:17:37 -05:00
Rebecca Le
0a4a7c057d
feat: Allow :self
as an option when requesting a relative page from a given page ( #833 )
2024-01-12 00:16:41 -05:00
Zach Daniel
d432a454c5
chore: release version v2.17.24
2024-01-11 22:25:38 -05:00
Zach Daniel
3fac46e65b
chore: fix shadowed variable
2024-01-11 17:08:05 -05:00
Zach Daniel
df94bfe0b6
chore: dialyzer
2024-01-11 16:27:43 -05:00
Zach Daniel
55219a0dfb
chore: can't enumerate :unknown
2024-01-11 16:19:36 -05:00
Zach Daniel
f564e47fb8
fix: fix runtime filter parsing & make last arg optional
2024-01-11 15:45:47 -05:00