Zach Daniel
8612b41155
improvement: add exclude_upsert_actions
configuration
...
this allows for upserting records that factor in archived records.
Most commonly, this would be seen as a "create or unarchive" action,
so you'd add `change set_attribute(:archived_at, nil)`
2024-07-18 11:27:20 -04:00
Zach Daniel
ce9ac767d3
improvement: only add archive attribute if it doesn't already exists
2024-07-11 08:19:43 -04:00
Zach Daniel
11237042fc
chore: fix placement of code in previous commit
2024-05-29 11:49:44 -04:00
Zach Daniel
a04dd848c7
fix: set ash_archival
on the bulk destroy read query
2024-05-29 11:44:00 -04:00
Zach Daniel
734711205d
fix: ensure ash_archival: true
is set on all destroy invocations
2024-05-29 11:25:22 -04:00
Zach Daniel
0032daca42
improvement: support base_filter? true
option
...
docs: docs overhaul
2024-05-02 15:48:33 -04:00
Zach Daniel
b76a35bca9
improvement: support upserts
...
docs: add documentation explaining why you may still want to use a base filter
docs: add small upgrade guide, pointing at base_filter docs
2024-04-27 00:31:34 -04:00
Zach Daniel
59232e057c
chore: CI
2024-04-26 03:28:20 -04:00
Zach Daniel
9949e6860a
improvement: rewrite to take advantage of new bulk actions
...
improvement!: don't use `base_filter` anymore, allowing for more flexible design
improvement: add `exclude_read_actions` to exclude some actions from filtering archived items
improvement: add `exclude_destroy_actions` to exclude some actions from being intercepted
Please enter the commit message for your changes. Lines starting
2024-04-26 03:20:19 -04:00
Zach Daniel
d7ae1173d9
improvement: upgrade to 3.0
2024-03-29 10:19:24 -04:00
Zach Daniel
46cf71e53f
fix: properly pass actor into archive_related
2024-02-20 11:21:22 -05:00
Jechol Lee
55755caf65
test: add test for actor is nil on cascading archive ( #9 )
2024-02-20 11:16:33 -05:00
Jechol Lee
b5f3074c2b
chore: format
2024-02-15 20:52:30 -05:00
Jechol Lee
25d7bba700
Reproduce policy error
2024-02-15 13:08:04 +09:00
Zach Daniel
3263b65765
docs: update hexdocs
2023-09-26 11:28:18 -04:00
Zach Daniel
473e5e23f2
docs: add extra module docs
2023-05-04 01:40:30 -04:00
Zach Daniel
10d5c88c1c
improvement: update to new docs style
2023-01-17 17:16:52 -05:00
Zach Daniel
349ebb69ba
improvement: update to Ash 2.0
...
chore: fix lint/formatter
2022-10-17 13:28:49 -05:00
Zach Daniel
8ab20e0ec6
chore: fix target
2022-08-30 18:04:01 -06:00
Zach Daniel
11f503f59f
fix: fix doc index Info reference
2022-08-23 21:47:00 -04:00
Zach Daniel
687f35ff21
improvement: update to ash 2.0
2022-08-23 20:44:39 -04:00
Zach Daniel
4b2548f9de
chore: update ash
2022-07-14 11:58:06 -04:00
Zach Daniel
ffa113f5d4
docs: update doc link
2022-07-14 10:53:24 -04:00
Zach Daniel
9715b33402
docs: update doc index
2022-07-14 10:50:47 -04:00
Zach Daniel
c41b73a62b
chore: update mix and doc index
2022-07-13 15:10:36 -04:00
Zach Daniel
15b133044a
docs: work on documentation
2022-07-13 15:01:33 -04:00
Zach Daniel
11a8c81e5f
improvement: create archival extension
2022-07-13 14:29:49 -04:00