203 Commits

Author SHA1 Message Date
Alexandre BODIN
309be28183
Merge branch 'master' into patch-7 2019-12-09 10:06:52 +01:00
Mathijs Nelemans
fcdbc4fbe3 Wrap tsvector attributes with coalesce before join
Fixed a bug where joining multiple tsvector attributes results in NULL
because one of the columns contains NULL. The expected behaviour is to
ignore that column instead, which is achieved by setting it to an empty
string
2019-12-07 12:40:05 +01:00
Jørgensen
5fd9677406
Use the id of entry to update relations
Fixes #4644
2019-12-03 12:59:33 +01:00
Guilherme Bernardino
f378680a00 Do not create manyRelation tables if autoMigration is false. (#4458)
ManyToMany and ManyWay relation tables are created even with the autoMigration option equal to false.
2019-11-06 14:46:52 +01:00
Alexandre Bodin
8cfc6e43c6 Fix graphql nested groups returning null 2019-10-24 00:12:20 +02:00
soupette
6a852ad6cb Fix conflicts 2019-10-18 15:51:44 +02:00
Alexandre Bodin
02f98bc887 Fix groups creation/update not working when null group bofre in the loop 2019-10-18 11:20:51 +02:00
soupette
75abb17f0f Fix conflicts 2019-10-08 09:17:47 +02:00
soupette
b6c0e2e87b Merge branch 'develop' of github.com:strapi/strapi into stm/update 2019-10-02 11:39:46 +02:00
Josh Rose
5012687b41
fix: Correctly quote column names 2019-09-30 17:33:07 +02:00
Alexandre Bodin
8809766d1a Do not set default timestamp value for date types 2019-09-27 20:08:34 +02:00
soupette
6f8b23d254 Fix conflicts 2019-09-27 16:26:09 +02:00
Alexandre BODIN
7a94d9dad9
Merge branch 'master' into chore/routing-x-forwarded 2019-09-18 13:27:39 +02:00
cyril lopez
8657453ea2
Merge branch 'master' into eslint-update 2019-09-17 10:11:11 +02:00
Alexandre BODIN
9cf90a9a67
Merge branch 'master' into fix/3874-bookshelf-unicode-fix 2019-09-16 23:10:56 +02:00
Alexandre BODIN
c66eb5d2cf
Merge branch 'master' into chore/routing-x-forwarded 2019-09-13 17:40:50 +02:00
Alexandre Bodin
852be46911 Stringify json input for pg to support arrays 2019-09-13 10:41:21 +02:00
Abdón Rodríguez Davila
54c383fd44
Merge branch 'master' into eslint-update 2019-09-12 15:05:53 +02:00
Alexandre Bodin
e20d781383 Merge branch 'master' into chore/routing-x-forwarded 2019-09-12 09:59:11 +02:00
Alexandre Bodin
2d65ebeade Fix multi image upload deleting old links 2019-09-11 16:07:30 +02:00
Alexandre BODIN
7e9adb789f
Merge branch 'master' into eslint-update 2019-09-10 16:29:46 +02:00
Alexandre Bodin
c23c2583ab Make sure the relation update is done in a transaction with simple default create and update 2019-09-10 14:47:18 +02:00
sheva
2462958aff Updating bookshelf after merge v.3.0.0-beta.16 2019-09-09 22:16:01 +02:00
Abdón Rodríguez Davila
315399527a Fix missed lint error 2019-09-09 15:32:02 +02:00
Alexandre Bodin
a22f2cefef Remove x-forwarded-host.
- set security defaults for development mode that are standard
- refactor error messages to work without ctx.request.admin
- remove mask middleware and add a sanitization layer to the core-api to
hide private fileds
2019-09-06 14:33:24 +02:00
Alexandre Bodin
99dbd21e0b Fix self-referencing many-to-many sql 2019-08-19 11:44:53 +02:00
Alexandre Bodin
80989ee8ec Make hook loading async 2019-08-19 09:37:37 +02:00
Alexandre Bodin
902d3a0a89 Add clear messages on unique constraint failure. make them non blocking for now 2019-08-12 11:08:10 +02:00
Alexandre Bodin
4ad7f5bd89 Support biginteger < 2^53 2019-08-08 14:30:45 +02:00
Alexandre Bodin
b35712acc5 Fix data types output to be the same wathever the database is 2019-08-08 14:30:44 +02:00
Alexandre Bodin
d1ee6a662e Apply same date parsing logic to all sql databases on save 2019-08-08 14:30:44 +02:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
6091202c54 Add decimal test and set sqlite bigint to string 2019-08-08 14:30:40 +02:00
Alexandre Bodin
57120c9a02 Add tests and fix support for bigintegers so it is always a string when it comes out of the database 2019-08-08 14:30:40 +02:00
Derrick Mehaffy
90dcf5ae5b
Adding code from Alex and bookshelf-uuid package 2019-08-07 02:59:20 -07:00
Alexandre Bodin
d9e58003f5 Fix typo 2019-08-06 08:45:32 +02:00
Alexandre Bodin
472553b3b2 Exclude timestamps on save and updates in queries 2019-08-05 16:55:18 +02:00
Alexandre Bodin
c17a718f25 Handle date with iso format in input and output to simplify processing 2019-08-05 16:55:17 +02:00
Alexandre Bodin
515d756626 Fix mongo toObject on null objectes 2019-08-01 15:59:21 +02:00
Alexandre Bodin
f99e2ab683 Support upload multipart in content manager creation and edition of data 2019-08-01 12:20:28 +02:00
Alexandre Bodin
c8f72df4d5 Remove unnecessary default populates 2019-07-30 16:50:11 +02:00
Alexandre Bodin
07a603269d Rename slice by group in group feature 2019-07-30 15:17:44 +02:00
Alexandre Bodin
9f04a97bee Fix morph populate related.related 2019-07-30 15:17:03 +02:00
Alexandre Bodin
fd54e71baf bookshelf clean populate 2019-07-30 13:06:43 +02:00
Alexandre Bodin
72c7203e18 Init populate cleanup 2019-07-30 13:06:28 +02:00
Alexandre Bodin
8e8433662b rename wysiwyg type to richtext for future plans 2019-07-29 18:05:18 +02:00
Alexandre Bodin
8835beb67a Cleanup unwanted log 2019-07-29 08:15:19 +02:00
Alexandre Bodin
f484b4d66e Make groups non repeatable by default 2019-07-29 08:15:18 +02:00
Alexandre Bodin
9245c32c70 Create relations in groups bookshelf 2019-07-29 08:15:17 +02:00
Alexandre Bodin
1d09999586 Fix search in content-manager 2019-07-26 10:57:27 +02:00