17027 Commits

Author SHA1 Message Date
Alexandre Bodin
fd64926d88 Init test fixes 2021-08-11 11:12:58 +02:00
Alexandre Bodin
bfdb77ff47 Only destroy server if it is listening 2021-08-11 11:12:57 +02:00
Alexandre Bodin
86436f321e Cleanup core code 2021-08-11 11:12:57 +02:00
Alexandre Bodin
11afe17575 Init new REST API format and remove count as it is included in pagination 2021-08-11 11:12:56 +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
Pierre Noël
9e75d59e15 Fix some E2E tests 2021-08-11 10:05:20 +02:00
Alexandre Bodin
d3a1d6fc98 Fix tests and cleanups 2021-08-11 09:34:55 +02:00
Alexandre Bodin
6a75affa81 Disable graphql test until merge new implementation 2021-08-10 19:19:24 +02:00
Alexandre Bodin
f41cad3094 Fix test helper for app genereation 2021-08-10 19:06:33 +02:00
Pierre Noël
f4981dd8e7 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-10 15:33:06 +02:00
Pierre Noël
c38c879981 rename bookshelf to bookshelf.old 2021-08-10 15:26:07 +02:00
Alexandre Bodin
b61440cdd1 Return null if entity is not found 2021-08-10 11:36:55 +02:00
Alexandre Bodin
9c74f0a84e Fix some database schema sync 2021-08-10 09:36:02 +02:00
Alexandre Bodin
38e435c165 Remove old hook 2021-08-09 18:38:17 +02:00
Alexandre Bodin
16b3a44f8a Check nil values in query builder 2021-08-09 18:20:27 +02:00
Alexandre BODIN
d54610dc06
Remove hooks (#10711) 2021-08-09 17:33:02 +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
Alexandre BODIN
6ed18de85b
Rename _sort filter to sort (#10688) 2021-08-09 10:22:40 +02:00
Alexandre Bodin
5b5434c001 Fix CI and some tests 2021-08-06 18:46:30 +02:00
Pierre Noël
4790e28284 refactor with module approach 2021-08-06 18:09:49 +02:00
Alexandre Bodin
6635bd2e2a CI 2021-08-06 17:52:38 +02:00
Alexandre Bodin
91d8834174 Testing CI config 2021-08-06 15:03:32 +02:00
Alexandre Bodin
657e7096d6 Using private prefix only if the property is exposed 2021-08-06 12:14:11 +02:00
Alexandre Bodin
22eb6f24d8 Update lockfile 2021-08-06 11:33:13 +02:00
Alexandre Bodin
2a3600f419 Merge branch 'master' into releases/v4 2021-08-06 11:30: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
Alexandre Bodin
7f5ca6b479 Fix db config for pg and mysql in getstarted 2021-08-06 09:18:11 +02:00
Snyk bot
1c424ad9ba
fix: packages/strapi-generate-new/package.json to reduce vulnerabilities (#10697)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-1536758
2021-08-06 09:09:10 +02:00
Snyk bot
51126799d1
fix: packages/create-strapi-starter/package.json to reduce vulnerabilities (#10696)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TAR-1536758
2021-08-06 09:08:49 +02:00
Alexandre Bodin
9ad5740952 Fix lint issue 2021-08-05 18:19:54 +02:00
DMehaffy
932f08e0bf
Update contrib guide to swap slack for discord (#10692) 2021-08-05 18:09:50 +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
5a276e2b46 Init container 2021-08-05 12:24:48 +02:00
Alexandre Bodin
71aba0001b Cleanup 2021-08-05 11:32:56 +02:00
Alexandre Bodin
d9d8a10af8 Init server module 2021-08-04 20:13:35 +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
e63fb9d509 v3.6.6 v3.6.6 2021-08-04 17:06:51 +02:00
Cameron
90044c6e2a
Update AWS S3 Provider (#10602)
Gives more information about what actions are needed for this provider to work without using s3:*
2021-08-04 16:59:19 +02:00
Alexandre Bodin
ae668591bb Upgrade tar 2021-08-04 16:43:02 +02:00
ELABBASSI Hicham
ae6aa271a2
Add an event to CTB banner button (#10687)
* Add event to CTB banner button

Signed-off-by: HichamELBSI <elabbassih@gmail.com>

* Change event name

Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2021-08-04 16:38:13 +02:00
Kim Martini
7b487059a0
fix: consider custom devServer config (#10492)
I´m using a custom Docker setup and had trouble to get the watch-admin running. After some testing i found a few things. 

I had to first add the url to the config and second add the devServer config.

webpack: (config, webpack) => {
      config.devServer = {
            host: '0.0.0.0',
            useLocalIp: false
    };
    return config;
},

After that strapi develop --watch-admin was accessible over the docker ip. But because the config gets not forwarded in the opts, the hot reload doesn't work. 
That's because this doesn't get the args that i setup.

function createDomain(options, server) {
  const protocol = options.https ? 'https' : 'http';
  const hostname = options.useLocalIp
    ? ip.v4.sync() || 'localhost'
    : options.host || 'localhost';

If there is a another way I would like to know. Otherwise I would appreciate this small hotfix.  

Here my original problem -> https://stackoverflow.com/questions/8925820/javascript-object-push-function
2021-08-04 16:24:31 +02:00
Natanael Augusto Viana Simões
2cb527cd97
fix title ids (#10670) 2021-08-04 16:23:25 +02:00
eternal~fire
172dad91fb
[I18N] improve simplified Chinese translation (#10408)
* [I18N] improve simplified Chinese translation

* this would be better

* [I18N] strapi-plugin-documentation improve
2021-08-04 16:23:00 +02:00
Alexandre Bodin
86d388e2af Init lifecycles 2021-08-04 15:53:30 +02:00
Pierre Noël
dd0c095f1e Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-04 15:05:56 +02:00