6 Commits

Author SHA1 Message Date
Marc Roig
5823142abf
feat: sync unidirectional relations (#21072)
* feat: sync unidirectional relations

* chore: test discard

* feat: add components

* fix: tests

* chore: refactor localized field test

* fix: refactor loading relations

* fix : test
2024-09-04 10:59:07 +02:00
Fernando Chávez
3fdf1a575b
enhancement: migrate bulk publish & unpublish to v5 (#20184)
* chore: migrate bulk publish & unpublish to v5

* chore: change findLocales type to accept arrays

* chore: fix lint error

* chore: migrate bulkDelete to v5 (#20161)

* chore: migrate bulkDelete to v5

* chore: change findLocales type to accept strings array

* fix: docs prettier styles

* chore: remove console.log

* enhancement: migrate countManyDraftRelations to v5

* only publish not published entries

* use strapi query directly on bulkPublish

* fix api tests for bulk publish

* apply jamie feedback
2024-05-07 16:58:56 +02:00
Marc Roig
23fa63efeb
feat: webhooks (#20129)
* feat: webhooks

* feat: ignore entry.publish findOne

* chore: type entry

* feat: refactor publication methods to not trigger entry.delete webhook (#20136)

* feat: refactor publication methods

* fix: remove unnecessary chain op in db query

* feat: emit document. as webhook

* feat: register  legacy events

* feat: only trigger entry webhooks

* feat: rename webhook to event

* feat: event manager

* fix: repository

* feat: webhook tests

* fix: api tests

* fix: non localized fields api test

* fix: refactor event hub

* fix: eventhub type

* fix: event hub unit test

* fix: remove all subscribers

* fix: webhook api test
2024-05-03 11:41:42 +02:00
Ben Irvin
18019758d6
enhancement!: create sends 201 status code 2024-04-15 14:03:47 +02:00
Ben Irvin
2ef71bdf4c Merge branch 'develop' into v5/main 2024-04-02 16:25:24 +02:00
Ben Irvin
cf82c830d8
test: restructure test dirs 2024-04-02 11:19:43 +02:00