66 Commits

Author SHA1 Message Date
Pierre Noël
1e66f567f8 change folder uid for pathId 2022-06-13 09:16:26 +01:00
Pierre Noël
cd69fca6f9 add transaction for folder update 2022-05-23 14:31:04 +02:00
Pierre Noël
c2b8a4ee98 parse boolean in convertQueryParam instead of parsing in database 2022-02-10 13:12:16 +01:00
Pierre Noël
7a21beefcd Add ability to use : false and : false 2022-02-10 10:07:09 +01:00
Alexandre Bodin
97b37f6b07 Cleanup code 2021-11-15 09:50:34 +01:00
Alexandre Bodin
0aed619155 Support schema option and add forceMigration options 2021-11-10 19:42:03 +01:00
Alexandre Bodin
d62878cda0 Add more tests 2021-10-28 09:41:59 +02:00
Alexandre Bodin
4781d44ce8 Add casting tests 2021-10-27 14:59:13 +02:00
Alexandre Bodin
674acadcc6 Cast only for filters that require it 2021-10-27 10:44:16 +02:00
Alexandre Bodin
f73d302129 Type cast filters 2021-10-27 10:03:09 +02:00
Convly
67041e0090 Allow filters to be passed in the populate params 2021-10-21 10:48:43 +02:00
Alexandre Bodin
9dd2824824 Init very simple filters system for the query layer to implement publication state filtering 2021-10-13 14:06:16 +02:00
Alexandre Bodin
0accc88fdc ignore morph links for delete types 2021-09-28 17:13:24 +02:00
Convly
33a822a347 Fix ignored pagination for associations (gql) 2021-09-24 16:31:57 +02:00
Convly
4737eff9f9 Fix PR review comments 2021-09-23 17:25:25 +02:00
Convly
033d3274d2 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-23 10:05:31 +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
58e024d3ad use columnName snake casing and rename timestamp attributes 2021-09-22 17:05:30 +02:00
Convly
8b139ec162 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 10:48:29 +02:00
Alexandre Bodin
3d302ba448 Fix distinct queries 2021-09-21 19:16:25 +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
2d02f8ec2d Use sub query on mysql to avoid alias issue & add mysql 5 tests 2021-09-20 19:29:06 +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
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
Convly
e16b36ecb6 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-08-18 14:57:22 +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
Convly
cf76db2c18 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-08-13 11:11:50 +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
9b06d99a2a Fix relation counter to number 2021-08-11 11:02:17 +02:00
Alexandre Bodin
d3a1d6fc98 Fix tests and cleanups 2021-08-11 09:34:55 +02:00
Convly
e6a139dde7 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-08-09 18:41:38 +02:00
Alexandre Bodin
16b3a44f8a Check nil values in query builder 2021-08-09 18:20:27 +02:00
Alexandre Bodin
07ae49badd Avoid making empty queries in populate 2021-08-06 10:51:34 +02:00
Convly
0e8025df6b Merge branch 'releases/v4' into v4/graphql-resolvers-rewrite 2021-08-05 14:39:16 +02:00
Alexandre Bodin
680040fbda Fix morph populate 2021-07-30 20:45:51 +02:00
Convly
210434dab9 Merge v4/backend into v4/graphql-resolvers-rewrite 2021-07-30 11:47:23 +02:00
Convly
02785294f4 Handle pagination, sort & rework + polymorphic relation update 2021-07-30 11:44:26 +02:00
Alexandre Bodin
884539a70c Filter populate to exclude undefined 2021-07-30 10:53:29 +02:00
Alexandre Bodin
7b10521664 Fix search 2021-07-28 21:03:32 +02:00
Alexandre Bodin
d43f5e5da0 Continue core - db connection 2021-07-28 15:32:21 +02:00
Alexandre Bodin
ac6716c21d Update dz 2021-07-26 22:02:48 +02:00
Alexandre Bodin
a9002be38a Add populate v1 for morph relations + create associations 2021-07-26 17:52:59 +02:00
Alexandre Bodin
50d39abe29 Continue compo / dz implementation 2021-07-21 18:14:16 +02:00
Alexandre Bodin
81dd94c6ec Refactor all query() calls 2021-07-08 18:15:32 +02:00