Pierre Noël
c6a5a047d6
Merge branch 'releases/v4' into v4/error-handling
2021-11-05 10:40:11 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads ( #11411 )
...
* Rework sanitizeEntity, first iteration
* remove console.log
* Remove useless comments
* Fix e2e tests
* Fix up user e2e test
* Fix remove-restricted-relations visitor
* Handle grapqhql resolver, prevent access to restricted relations
* Handle polymorphic relation in the related visitor
* Remove morph attribute if empty
* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Pierre Noël
cb098ec280
clean yup validations
2021-11-04 11:42:45 +01:00
Pierre Noël
b4c9ad0440
refacto graphql errors
2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb
refactor error handling
2021-11-04 11:41:29 +01:00
Pierre Noël
7a82d023fb
rename name to displayName
2021-11-02 18:29:17 +01:00
Alexandre Bodin
5bb802fb06
Move all admin config
2021-10-26 16:18:32 +02:00
Pierre Noël
6fd9f780c7
Merge branch 'v4/ctb' into v4/plural-name-in-CTB
2021-10-22 12:33:48 +02:00
Alexandre Bodin
edbad96c2c
Remove old query params and remove _where occurences
2021-10-11 21:05:23 +02:00
Alexandre Bodin
c1aa57f436
Harmonize and make policies and middlwares more consistent
2021-10-05 10:43:24 +02:00
Pierre Noël
d35e381f6f
fix localizations counted in CM
2021-09-27 11:08:49 +02:00
Pierre Noël
0f123ceb39
fix RBAC
2021-09-27 11:08:48 +02:00
Pierre Noël
d02c7ab741
Use new filters format in the upload plugin
2021-09-27 11:08:47 +02:00
Alexandre Bodin
086a80eb28
Remove unused dependencies
2021-09-27 09:30:32 +02:00
Alexandre Bodin
60cbb448f6
Make perm compare accurate
2021-09-25 00:59:53 +02:00
Dieter Stinglhamber
da95228830
fix unit tests
2021-09-24 09:56:08 +02:00
Dieter Stinglhamber
3c1dcbe76d
refactor policy API
2021-09-24 09:35:25 +02:00
Alexandre Bodin
7cf05bfb10
Move CM files into the new structure
2021-09-24 09:04:44 +02:00
Alexandre Bodin
7855b7acbb
Fix merge error
2021-09-22 17:20:31 +02:00
Alexandre Bodin
c5f9d16105
Rename creator fields
2021-09-22 17:06:16 +02:00
Alexandre Bodin
fe85273301
Move published_at to publishedAt in frontend
2021-09-22 17:06:15 +02:00
Alexandre Bodin
58e024d3ad
use columnName snake casing and rename timestamp attributes
2021-09-22 17:05:30 +02:00
Alexandre Bodin
9f337272f1
Refacto entity service API to be more consistent with the DB layer
2021-09-21 17:22:17 +02:00
Alexandre Bodin
5b0ac47435
Merge branch 'releases/v4' into v4/db-migrations
2021-09-21 15:17:02 +02:00
Pierre Noël
5f42043570
fix previewManyRelations
2021-09-14 16:42:51 +02:00
Pierre Noël
64940edbae
CTB handles singular and plural names
2021-09-14 15:30:37 +02:00
Alexandre Bodin
0f3f984ea7
Init migration v4
...
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00
Alexandre Bodin
c6c4a62d2d
Cleanup layout not needed
2021-09-07 16:03:54 +02:00
Alexandre Bodin
0ff3269c3a
Use the right api
2021-09-07 15:11:08 +02:00
Alexandre Bodin
13110994f9
Use router middleware to add i18n middlewares
2021-09-07 15:11:06 +02:00
Alexandre Bodin
7f30925161
Merge branch 'v4/backend' into releases/v4
2021-08-25 14:45:59 +02:00
Alexandre Bodin
1ee2d2c483
Merge branch 'master' into releases/v4
2021-08-25 14:44:32 +02:00
Alexandre Bodin
f4a4e2ce26
Move routes to js when possible and refactor policies to be objects
2021-08-24 13:59:43 +02:00
Alexandre Bodin
47c3900c07
Update createContentType to expose a simpler object
2021-08-23 22:25:31 +02:00
Pierre Noël
bc56be3560
Merge branch 'pluginAPI/loadPlugin' of github.com:strapi/strapi into pluginAPI/loadPlugin
2021-08-20 16:32:14 +02:00
Pierre Noël
09945a46df
fixes
2021-08-20 15:23:02 +02:00
Alexandre Bodin
8252a51ba5
Use a registry for the plugins
2021-08-20 13:12:37 +02:00
Alexandre Bodin
575cbbdc7c
Migrate plugin getters
2021-08-19 23:30:49 +02:00
Alexandre Bodin
c3642a4f10
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-19 23:29:55 +02:00
Alexandre Bodin
f528a865cb
Merge branch 'master' of github.com:strapi/strapi into releases/v4
2021-08-19 10:12:58 +02:00
Pierre Noël
face75bcba
Merge branch 'pluginAPI/loadPlugin' into v4/plugin-api/extensions
2021-08-13 15:43:25 +02:00
Pierre Noël
63cc0832f2
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-13 15:43:04 +02:00
Pierre Noël
2d7454553a
add extension system for content-types
2021-08-13 15:35:19 +02:00
Alexandre Bodin
53cb9f1cbc
Split CM & core API tests and adapt response format of the new rest api version
2021-08-11 11:13:01 +02:00
Pierre Noël
260e2055c4
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-11 10:07:03 +02:00
Alexandre Bodin
d3a1d6fc98
Fix tests and cleanups
2021-08-11 09:34:55 +02:00
Pierre Noël
18da6e2188
Merge branch 'v4/backend' into pluginAPI/loadPlugin
2021-08-09 11:06:34 +02:00
Pierre Noël
4790e28284
refactor with module approach
2021-08-06 18:09:49 +02:00
Alexandre Bodin
07ae49badd
Avoid making empty queries in populate
2021-08-06 10:51:34 +02:00
Pierre Noël
ce0e67830a
Merge branch 'v4/backend' into v4/plugin-api/modules
2021-08-05 13:59:40 +02:00