17520 Commits

Author SHA1 Message Date
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
Marvin Frachet
b7cd466d27
DS: moving the left menu to use the DS MainNav (#10689) 2021-08-06 11:02:31 +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
Pierre Noël
11678fce40
Merge pull request #10678 from strapi/v4/plugin-api/fix-unit-tests
Fix unit tests
2021-08-04 14:56:46 +02:00
Alexandre Bodin
35912b556e Fix missing file to copy in yarn build 2021-08-04 14:07:35 +02:00
markkaylor
c373c3d942
add marketplace banner with link to strapi awesome (#10677) 2021-08-04 11:58:57 +02:00
Onur Dumangöz
65f48c8f7d
Update tr.json (#10507)
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-08-04 10:01:11 +02:00
Onur Dumangöz
3473f45db2
Update tr.json (#10512) 2021-08-04 09:58:52 +02:00
omrirz
7f673bcbbc
left menu header background color link from theme (#10584) 2021-08-04 09:57:50 +02:00
Adeel Ahmad
715355d809
Update Documentation.js (#10657)
fixed typo
2021-08-04 09:53:03 +02:00
Jodok Batlogg
4413b846c2
Fixed typo (#10652) 2021-08-04 09:49:10 +02:00
Pierre Burgy
75bb5cfa2e
Remove one-click deploy buttons (#10592)
* Remove one-click deploy buttons

Signed-off-by: Pierre Burgy <pierre.burgy@gmail.com>

* Remove one-click deploy buttons from strapi package

Signed-off-by: Pierre Burgy <pierre.burgy@gmail.com>

Co-authored-by: Pierre Burgy <pierreburgy@Pierres-MacBook-Pro.local>
2021-08-04 09:08:37 +02:00
Alexandre Bodin
e6fca26f80 Cleanup Strapi.js 2021-08-03 09:27:17 +02:00
Alexandre Bodin
10ef480bc0 Move logger out of Strapi.js 2021-08-03 09:12:58 +02:00