96 Commits

Author SHA1 Message Date
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
Alexandre Bodin
f24b38602a Add constraint altering only when possible 2021-09-13 16:54:14 +02:00
Alexandre Bodin
82551dc6fd Init schema inspector 2021-09-13 16:14:33 +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
fe5776258d Fix get routes u&p 2021-09-07 15:11:06 +02:00
Alexandre Bodin
13110994f9 Use router middleware to add i18n middlewares 2021-09-07 15:11:06 +02:00
Dieter Stinglhamber
848df28cdc wrap query returns types in Promise 2021-08-27 08:55:18 +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
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
682e877644 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-18 18:37:57 +02:00
Alexandre Bodin
d36c03727b Add case insensitive operators for contains 2021-08-18 09:46:09 +02:00
Alexandre Bodin
fd86d1926f Handle polymorphic relation field filter and order 2021-08-17 18:08:42 +02:00
Alexandre Bodin
6a559d6db3 Split helpers and support populate * 2021-08-17 15:22:04 +02:00
Pierre Noël
63cc0832f2 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-13 15:43:04 +02:00
Alexandre Bodin
3c2040011a Handle join table pivot associations and ordering 2021-08-12 16:12:40 +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
Alexandre Bodin
c122056f2c Fix search test and entity manager count query 2021-08-11 11:12:58 +02:00
Alexandre Bodin
9b06d99a2a Fix relation counter to number 2021-08-11 11:02:17 +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
f4981dd8e7 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-10 15:33:06 +02:00
Alexandre Bodin
9c74f0a84e Fix some database schema sync 2021-08-10 09:36:02 +02:00
Alexandre Bodin
16b3a44f8a Check nil values in query builder 2021-08-09 18:20:27 +02:00
Pierre Noël
18da6e2188 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-09 11:06:34 +02:00
Alexandre Bodin
007bd9cd36 Fix return in for loop instead of continue 2021-08-09 10:53:25 +02:00
Pierre Noël
4790e28284 refactor with module approach 2021-08-06 18:09:49 +02:00
Alexandre Bodin
657e7096d6 Using private prefix only if the property is exposed 2021-08-06 12:14:11 +02:00
Alexandre Bodin
189c819a1e Drop foreign keys before dropping tables 2021-08-06 11:19:17 +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
Alexandre Bodin
ef63639cd3 Fix eslint so we can have the test run 2021-08-04 19:39:40 +02:00
Alexandre Bodin
805e7fdb4b Merge branch 'master' into releases/v4 2021-08-04 19:24:10 +02:00
Alexandre Bodin
1941cfbf4d Add a generic subscriber to run the model lifecycles 2021-08-04 17:47:38 +02:00
Alexandre Bodin
86d388e2af Init lifecycles 2021-08-04 15:53:30 +02:00
Alexandre Bodin
c02ceab686 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-02 08:32:02 +02:00
Alexandre Bodin
e20e7738b5 Fix tests 2021-07-30 21:15:58 +02:00
Alexandre Bodin
680040fbda Fix morph populate 2021-07-30 20:45:51 +02:00
Alexandre Bodin
32ebfce85a Merge branch 'v4/pluginAPI' into pluginAPI/loadPlugin 2021-07-30 10:56:43 +02:00
Alexandre Bodin
884539a70c Filter populate to exclude undefined 2021-07-30 10:53:29 +02:00
Alexandre Bodin
a7fab84994 Merge branch 'v4/pluginAPI' into pluginAPI/loadPlugin 2021-07-30 10:15:50 +02:00
Alexandre Bodin
89fee54582 Merge branch 'v4/backend' into v4/database 2021-07-30 09:50:40 +02:00
Pierre Noël
3b179169d4 wip 2021-07-29 16:39:26 +02:00