Ghost/ghost/admin/app/components/settings/history
Simon Backx fbed93b866
🐛 Added missing history logs for post/page bulk actions (#16734)
no issue

The post/page bulk actions weren't logged in the history log / actions
table.

This change adds support for logging bulk actions.
- New `addActions` static method on models. It creates an action log in
the database for multiple models at once. If only one model was edited,
deleted or added, it will fallback to `addAction`
- `addAction` can also be called statically now
- `actionName` option is now supported when using `addActions`,
`addAction`, and as a result also in all bulk manipulation methods, and
CRUD methods. This allows you to replace the default '5 posts edited'
into something more specific like '5 posts featured'
- Fixed support for null resource_id in the parse-history-event helper
- Removed the default 'published' status requirement when using
Post.findOne for internal queries.
2023-05-05 09:45:36 +02:00
..
event-filter.hbs Renamed Audit Log to History 2022-09-06 11:49:29 +01:00
event-filter.js Renamed Audit Log to History 2022-09-06 11:49:29 +01:00
no-events.hbs Renamed Audit Log to History 2022-09-06 11:49:29 +01:00
search-trigger.hbs Renamed Audit Log to History 2022-09-06 11:49:29 +01:00
search.hbs Resolved power-select related deprecation warnings for loading components by string (#15466) 2022-09-24 17:00:05 +02:00
search.js Renamed Audit Log to History 2022-09-06 11:49:29 +01:00
table.hbs 🐛 Added missing history logs for post/page bulk actions (#16734) 2023-05-05 09:45:36 +02:00