603 Commits

Author SHA1 Message Date
Dieter Stinglhamber
1c10cf4acf improve jsdoc comments 2021-09-24 12:05:35 +02:00
Dieter Stinglhamber
f2c6af61ee fix exists function 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
4d27d9de51 cleanup unnecessary code 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
3fb6b57808 implement POST endpoint to create api tokens 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
36af3134be fix displayName for create and delete permissions 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
33374f4193 update snapshot for EE without SSO test 2021-09-24 12:05:34 +02:00
Dieter Stinglhamber
d60659df89 update snapshot for EE test 2021-09-24 12:05:33 +02:00
Dieter Stinglhamber
8d9b957f8c add CRUD permission for the api token 2021-09-24 12:05:33 +02:00
Dieter Sting
e4d443ed09
cast isAuthenticated as a boolean to avoid side effects
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-09-24 09:59:19 +02:00
Dieter Sting
7a03e65c3f
make sure to await the policy in case we have an async function
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-09-24 09:58:49 +02:00
Dieter Stinglhamber
da95228830 fix unit tests 2021-09-24 09:56:08 +02:00
Dieter Stinglhamber
bc9bc1c498 remove commented code 2021-09-24 09:44:53 +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
67af23d827
Merge pull request #11056 from strapi/v4/migrate-user-functions
Migrate user functions folder
2021-09-23 17:18:20 +02:00
Pierre Noël
932536e534 pass strapi through params instead of creating a wrapping function 2021-09-23 15:55:02 +02:00
Pierre Noël
6adf460b63 cron registry becomes cron service 2021-09-23 10:40:17 +02:00
Pierre Noël
199dd54e42 migrate user functions folder 2021-09-23 09:14:09 +02:00
Alexandre Bodin
704ff5a612 Fix components ordering 2021-09-22 20:10:48 +02:00
Alexandre Bodin
549773698a Fix distinct 2021-09-22 18:49:04 +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
65eba8f63b Rename timestamps in front 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
8ea16d7a54 Merge branch 'releases/v4' into v4/entity-service-refactor 2021-09-21 19:16:44 +02:00
Alexandre Bodin
3d302ba448 Fix distinct queries 2021-09-21 19:16:25 +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
00a43df7bf Fix bug after merge 2021-09-21 15:32:49 +02:00
Alexandre Bodin
5b0ac47435 Merge branch 'releases/v4' into v4/db-migrations 2021-09-21 15:17:02 +02:00
Alexandre Bodin
4eea2b1569 Fix test and upgrade github workflows 2021-09-21 15:14:26 +02:00
Alexandre Bodin
f18cf15894 Process input when the query is ready and alias only when necessary 2021-09-21 13:26:56 +02:00
Alexandre BODIN
6276e77984
Merge pull request #10982 from strapi/v4/migrate-src
Change project structure to use src/ folder
2021-09-21 13:21:08 +02:00
Alexandre Bodin
2d02f8ec2d Use sub query on mysql to avoid alias issue & add mysql 5 tests 2021-09-20 19:29:06 +02:00
Alexandre Bodin
82fe2a1b87 Add timestamps lifecycles subscriber 2021-09-20 19:15:50 +02:00
Alexandre Bodin
59eb3990dd Fix schema storage 2021-09-20 09:12:23 +02:00
Pierre Noël
b3f22bac5d use of strapi.dirs 2021-09-17 14:10:48 +02:00
Alexandre Bodin
0d9ba0e5fd Cleanup and add storage with hash to compare and sync in one direction only 2021-09-17 12:00:14 +02:00
Alexandre Bodin
130aade450 some cleanup 2021-09-16 23:29:25 +02:00
Alexandre Bodin
bb1b3c2c6e Run sub queries for update and delete with joins 2021-09-16 22:18:13 +02:00
Alexandre Bodin
df4c67e5e1 Fix insensitive contains 2021-09-16 15:32:27 +02:00
Alexandre Bodin
e57a40b328 Use double type for more precision 2021-09-16 14:04:10 +02:00
Alexandre Bodin
76caaba714 Read schema after migrations 2021-09-16 13:37:13 +02:00
Alexandre Bodin
eef1737acb Remove schema storage now that we use schema inspection 2021-09-16 11:47:04 +02:00
Alexandre Bodin
72b5a19a7c Pg & Mysql schema reading & indexing fks 2021-09-16 11:37:44 +02:00
Alexandre Bodin
c173fa416e wip 2021-09-15 19:53:15 +02:00
Pierre Noël
de4579b25e change project structure to use /src folder 2021-09-15 16:41:36 +02:00
Pierre Noël
5f42043570 fix previewManyRelations 2021-09-14 16:42:51 +02:00
soupette
a2e296f1b0 Fix ctb relation taken attribute
Signed-off-by: soupette <cyril@strapi.io>
2021-09-14 06:06:06 +02:00
Alexandre Bodin
f24b38602a Add constraint altering only when possible 2021-09-13 16:54:14 +02:00