21 Commits

Author SHA1 Message Date
Marc Roig
ff8ed1fc36
feat: Draft & Publish V5 (#18941)
* feat: use document service in content manager
* feat: locale and status filtering
* feat: refactor single type controllers to use documents
* feat: get locale param from in cm endpoints
* feat: get locale param from cm endpoints
* feat: prevent empty string locale filtering
* fix(content-manager): access to non default locale documents
* chore(content-manager): revert route construction
* test(content-manager): counting number of draft relations for non default locales
* chore(content-manager): remove default locale from entity manager countDraftRelations


---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-01-25 18:43:08 +01:00
Ben Irvin
13a2f8b246
feat: Upgrade to Apollo v4
* feat: update and make build work

BREAKING CHANGE: Update from 'apollo-server-koa' to '@apollo/server' and '@as-integrations/koa'

* chore: fix comments

* chore: upgrade graphql-upload package

* chore: fix for body type unknown

* chore: remove old comment

* chore: clean up error handling

* chore: fix comment

* fix: http status codes for input validation errors

* fix: remove unused import

* fix: remove accidental bodyparser

* fix: add new required header to tests

* chore: standardize directive key names to be kebab-case

* test: add some extra message validation

* chore: remove devdep for koa-cors typings

* fix: add unknown error name

* fix: yarn.lock

* fix: add typings

* fix: typings

* fix: typings again

* fix: remove unused imports

* chore: remove unused import

* chore: move playground check to a service

* fix: package imports and versions

* chore: fix yarn.lock

* chore: fix types

* chore: clean up koa typings

* chore: koa typing cleanup

* chore: cleanup koa typings

* chore: more koa type cleanup

* chore: revert missing imports

* chore: cleanup koa typings

* chore: update yarn.lock
2024-01-15 14:54:58 +01:00
Ben Irvin
5d61fd85e5 fix order 2023-07-17 15:24:15 +02:00
Ben Irvin
2c221dc53f simplify sorting 2023-07-17 15:21:29 +02:00
Ben Irvin
0e451991f4 fix test by allowing results to come unsorted 2023-07-17 15:08:44 +02:00
Marc
4c13de458e
Merge pull request #16518 from strapi/feature/private-s3-url-signing-content-api 2023-05-29 14:57:06 +02:00
Marc-Roig
1b00e1d8e2
remove logs 2023-05-19 11:22:17 +02:00
Marc-Roig
c266835d04
chore: more logs 2023-05-19 10:35:15 +02:00
Marc-Roig
2ad193e1a3
chore: logs to debug test 2023-05-19 09:35:35 +02:00
Marc-Roig
a781a8a368
fix: do not assign result to data folders 2023-05-18 09:39:28 +02:00
Marc-Roig
a1a2453c15
chore: rename tests 2023-05-17 17:51:02 +02:00
Marc-Roig
c4b966a03d
chore: rename test 2023-05-17 17:36:39 +02:00
Marc-Roig
15e71b69b0
test: delete of folder does not delete unintended folders 2023-05-17 17:32:00 +02:00
Marc-Roig
2394ae2b9b
test entityService load 2023-05-08 15:38:56 +02:00
Marc-Roig
491f56b0d6
test do not sign if provider is not private 2023-04-27 11:52:08 +02:00
Marc-Roig
fee4af7e16
test: delete 2023-04-27 11:39:01 +02:00
Marc-Roig
266ff0b5b1
test: update 2023-04-27 11:06:04 +02:00
Marc-Roig
0921e91034
test: findPage 2023-04-27 10:44:07 +02:00
Marc-Roig
39fad95b72 tests: test findMany 2023-04-27 10:37:06 +02:00
Marc-Roig
869e2d15a8 test: add private url sign api test 2023-04-26 20:30:56 +02:00
Alexandre BODIN
feced1d72b
Move api tests to root of repo with same structure (#16242) 2023-04-05 10:32:20 +02:00