495 Commits

Author SHA1 Message Date
Convly
84d106e7f8 Use new dirs (app/dist) 2022-04-04 11:46:22 +02:00
Alexandre Bodin
c52f42c80d Apply feedbacks 2022-03-28 19:24:58 +02:00
Alexandre Bodin
5920e31b5b Put back entire workflow 2022-03-25 09:16:17 +01:00
Alexandre Bodin
4b965665d4 Test each sqlite pkg 2022-03-25 09:02:19 +01:00
Alexandre Bodin
06c9939fa7 Fix typo 2022-03-23 11:15:25 +01:00
Alexandre Bodin
317d5be115 Use better-sqlite3 by default 2022-03-23 10:37:12 +01:00
Alexandre Bodin
88c317effc Fix support old sqlite3 2022-03-22 20:04:23 +01:00
Alexandre Bodin
14305e8d11 Make strapi compatible with knex v1 2022-03-22 19:41:16 +01:00
tiagolima90
65bea3aaa3 remove unecessary validations 2022-03-15 22:49:11 -01:00
tiagolima90
8f168a9432 reduce number of mysql queries to get table foreign keys 2022-03-15 11:19:00 -01:00
tiagolima90
b1a162c502 fix get foreign keys with multiple referenced columns 2022-03-15 09:08:11 -01:00
tiagolima90
c4690953eb
optimize get foreign keys
make separate requests to each information_schema table instead of one with inner joins for much better performance on MySQL 5.7
2022-03-15 00:16:19 -01:00
derrickmehaffy
9445117c27 Ensure the session primary key check is disabled during schema update
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2022-03-02 16:01:58 -07:00
derrickmehaffy
9d5ba5b323 fix: empty catch block for primary key rule 2022-02-23 13:05:59 -07:00
derrickmehaffy
6f73f6772e fix: add try catch to pk check 2022-02-23 08:06:40 -07:00
derrickmehaffy
92dde65e70 Fix MySQL error on DigitalOcean by temp disabling requirement on session
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2022-02-16 07:52:15 -07:00
Alexandre BODIN
b980dd8aec
Merge pull request #12234 from strapi/content-42/fix-date-field
Deprecate for Date format different from yyyy-MM-dd + don't cast DATE from DB to Date()
2022-02-16 14:43:02 +01:00
Pierre Noël
47cd6b6290 fix when match returns null 2022-02-15 09:52:22 +01:00
Pierre Noël
82e68fca93 change error message to a deprecated message 2022-02-11 19:01:36 +01:00
Pierre Noël
ca910fe92c Only accept yyyy-MM-dd as Date + don't cast DATE from DB to Date() 2022-02-11 19:01:36 +01: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
nemo0
2c931634f0 Changed unknow to unknown 2021-12-22 19:59:03 +05:30
derrickmehaffy
3abba613ce forgot the diff 2021-12-09 15:02:40 -07:00
derrickmehaffy
e16bf9b259 Switch Enum from native type to string or text
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2021-12-09 12:31:52 -07:00
Alexandre Bodin
97b37f6b07 Cleanup code 2021-11-15 09:50:34 +01:00
Alexandre Bodin
79de0a5926 Change default config value 2021-11-15 09:41:00 +01:00
Alexandre Bodin
0aed619155 Support schema option and add forceMigration options 2021-11-10 19:42:03 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Alexandre Bodin
3feadd6bc2 Ignore postgis tables 2021-10-28 14:33:17 +02: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
43c7e47f2b Merge branch 'releases/v4' into v4/middlewares 2021-09-29 09:52:15 +02:00
Alexandre Bodin
d6a448d44a Add listing commands 2021-09-29 09:34:37 +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
00a43df7bf Fix bug after merge 2021-09-21 15:32:49 +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