Commit graph

175 commits

Author SHA1 Message Date
Zach Daniel
85bd66ba4a docs: more updates to policies guide 2022-11-23 03:40:14 -05:00
Zach Daniel
2f3fcbad13 improvement: optimize various solver boolean optimizations
improvement: more comprehensively remove unnecessary clauses
fix: resolve issue with `authorize_unless` and filter checks
improvement: prevent changing attributes and arguments after action validation

We allow for these changes inside of `before_action` calls, but otherwise
require that `force_change_attribute` is used, for example. This prevents
accidentally validating a changeset and then changing an attribute.
2022-11-23 03:39:00 -05:00
Zach Daniel
3e5b0a8096 fix: fix typespec for Api.Info.trace_name/3
docs: add context to monitoring guide
2022-11-22 13:24:16 -05:00
Zach Daniel
d91c3b6d15 improvement: update hexdocs processor to link guides on hexdocs 2022-11-21 18:27:35 -05:00
Zach Daniel
d16b7057a3 improvement: better check module validation
docs: add more context to security and policy guides
2022-11-21 00:29:45 -05:00
Zach Daniel
2ef7bc6273 docs: improve policy writing guide
improvement: add default description for filter checks
2022-11-17 01:33:38 -05:00
Rebecca Le
91bb426e7e
fix: Add missing [:ash, :query] telemetry (#451) 2022-11-16 11:41:52 -05:00
Zach Daniel
2cf18e6a3a
docs: proper link to ash postgres multitenancy guide 2022-11-13 11:49:04 -05:00
Rowland Carlson
f3e9bf865c
docs: Comment out editorial comments (#445) 2022-11-09 16:31:20 -05:00
Zach Daniel
70305849e4 chore: update extension link in AshPostgres 2022-11-05 18:19:25 -04:00
Zach Daniel
a0e5b2cb7d docs: small docs tweaks
improvement: update to latest spark
2022-11-03 00:47:24 -07:00
Josh Price
d1821a8ef7
docs: review guides and docs (#430) 2022-11-03 00:03:43 -07:00
Zach Daniel
d23be5e49b improvement: add more builders
docs: fix typo in docs
2022-10-31 21:23:07 -04:00
Zach Daniel
6994295a8f fix: properly upsert all explicitly changed fields
fix: traverse maps for `template_references_actor?/1`
docs: various doc fixes
2022-10-31 11:33:51 -04:00
Zach Daniel
8cbd766172 feat: support anonymous functions in DSL
improvement: add more ergonomic manual action definitions.

The old method will likely be deprecated some time in the future (there is no rush really, they both work).
2022-10-30 21:00:57 -04:00
Zach Daniel
e52d7187d8 improvement: more additions to the resource builder, update spark
test: add a test for loading many to many relationships on code interface actions
2022-10-28 10:18:01 -05:00
Zach Daniel
39ea911d33 docs: various guide/documentation updates 2022-10-25 23:17:49 -05:00
Zach Daniel
6e43784535 docs: update docs, add some context, remove dead link 2022-10-25 09:11:54 -06:00
Zach Daniel
67814a2160 docs: add more context to manual relationship guide
docs: add a "Defining Idiomatic Actions" guide

chore: fix flaky tests
2022-10-23 23:08:17 -06:00
Zach Daniel
03482cf908 docs: add an initial "Why Ash?" guide 2022-10-23 22:16:50 -06:00
Mykolas Mankevicius
6a9ea80eae
docs: Update get started guide to be more beginner friendly (#429)
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2022-10-23 22:07:51 -06:00
Zach Daniel
8092cd899a docs: remove more experimental warnings 2022-10-20 02:00:56 -04:00
Zach Daniel
57466b3498 docs: remove outdated statement about calculations being limited 2022-10-19 22:17:44 -04:00
Zach Daniel
37074207d8 docs: update actions guide 2022-10-18 17:32:50 -05:00
Zach Daniel
4915e5d583 improvement: add now() to expression syntax 2022-10-18 14:19:28 -05:00
Zach Daniel
6751afc683 improvement: support depending on requests that will be added
docs: improve flow docs

closes: #418
improvement: support dynamic action steps in `Ash.Flow`
2022-10-16 14:07:57 -05:00
Zach Daniel
652342c41d docs: remove the word simply from the docs 2022-10-15 10:16:38 -05:00
Nelson Bassett
c59e548244
docs: Correct create!/1 return typo in Getting Started Guide (#406) 2022-10-07 11:20:33 -04:00
Zach Daniel
16e9de7870 docs: add Ash.Flow changes to upgrading guide 2022-10-04 16:23:16 -04:00
George Rodrigues
1f685a1413
docs: fix typos (#402) 2022-10-04 16:01:42 -04:00
Zach Daniel
4b3fa8c6ee docs: add how to contribute guide 2022-10-04 01:37:48 -04:00
Zach Daniel
4b79365d39 docs: add phoenix topic
docs: add to contributing guide
2022-10-03 16:35:02 -04:00
Zach Daniel
6b291566b4 chore: fix discord invite link in philosophy channel 2022-10-02 20:47:01 -04:00
Zach Daniel
a4b3d36ca9 chore: fix get-started guide 2022-09-30 00:29:13 -04:00
Darren Black
2eda90c0ee
docs: Missing calculation type in doco (#391) 2022-09-29 01:29:25 -04:00
trymkb
8f314538fa
Docs: fixed file creation step in get-started (#390) 2022-09-28 02:38:38 -04:00
Zach Daniel
24bdf9058e improvement: catch more cases in preflight authorization checks 2022-09-27 14:58:48 -04:00
Zach Daniel
a48ee94f89 docs: update actions guide 2022-09-27 14:08:29 -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
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
87f20369bc improvement: deprecate :replace in favor of :relate_and_unrelate 2022-09-19 15:44:06 -04:00
Zach Daniel
049be39f54 docs: add required -> allow_nil? change to upgrading 2022-09-15 16:54:04 -04:00
Darren Black
a572099e24
improvement: Implement length function (#379) 2022-09-14 13:28:42 -04:00
Zach Daniel
e36f8c3e59 improvement: add filterable? option to relationships
improvement: add data layer capability for aggregate relationships & filter relationships
improvement: add guide on manual relationships
2022-09-13 13:53:05 -04:00
brettkolodny
9b52c94ce9
docs: change Api to Helpdesk.Support and add file comments (#378) 2022-09-13 12:35:29 -04:00
Darren Black
424d87a73a
docs: Little typo in documentation (#377) 2022-09-12 09:48:26 -04:00
Zach Daniel
5c81d2b4a7 fix: properly do pagination
docs: fix some docs, add some guides
2022-09-11 22:19:37 -04:00