Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'releases/4.3.0' into features/ML-folder
- Loading branch information
Showing
381 changed files
with
10,915 additions
and
3,632 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const config = { | ||
locales: ['fr'], | ||
}; | ||
const bootstrap = () => {}; | ||
|
||
export default { | ||
config, | ||
bootstrap, | ||
}; |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default ({ env }) => ({ | ||
auth: { | ||
secret: env('ADMIN_JWT_SECRET', 'example-token'), | ||
}, | ||
apiToken: { | ||
salt: env('API_TOKEN_SALT', 'example-salt'), | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
rest: { | ||
defaultLimit: 25, | ||
maxLimit: 100, | ||
withCount: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import path from 'path'; | ||
|
||
export default ({ env }) => ({ | ||
connection: { | ||
client: 'sqlite', | ||
connection: { | ||
filename: path.join(__dirname, '..', '..', env('DATABASE_FILENAME', '.tmp/data.db')), | ||
}, | ||
useNullAsDefault: true, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export default [ | ||
'strapi::errors', | ||
'strapi::security', | ||
'strapi::cors', | ||
'strapi::poweredBy', | ||
'strapi::logger', | ||
'strapi::query', | ||
'strapi::body', | ||
'strapi::session', | ||
'strapi::favicon', | ||
'strapi::public', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default ({ env }) => ({ | ||
host: env('HOST', '0.0.0.0'), | ||
port: env.int('PORT', 1337), | ||
app: { | ||
keys: env.array('APP_KEYS'), | ||
}, | ||
}); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "kitchensink-ts", | ||
"private": true, | ||
"version": "4.2.2", | ||
"description": "A Strapi application", | ||
"scripts": { | ||
"develop": "strapi develop", | ||
"start": "strapi start", | ||
"build": "strapi build", | ||
"strapi": "strapi" | ||
}, | ||
"devDependencies": {}, | ||
"dependencies": { | ||
"@strapi/strapi": "4.2.2", | ||
"@strapi/plugin-users-permissions": "4.1.12", | ||
"@strapi/plugin-i18n": "4.1.12", | ||
"better-sqlite3": "7.4.6" | ||
}, | ||
"author": { | ||
"name": "A Strapi developer" | ||
}, | ||
"strapi": { | ||
"uuid": "getstarted" | ||
}, | ||
"engines": { | ||
"node": ">=14.19.1 <=16.x.x", | ||
"npm": ">=6.0.0" | ||
}, | ||
"license": "MIT" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": "@strapi/typescript-utils/tsconfigs/admin", | ||
"include": ["../plugins/**/admin/src/**/*", "./"], | ||
"exclude": ["node_modules/", "build/", "dist/", "**/*.test.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default (config, webpack) => { | ||
// Note: we provide webpack above so you should not `require` it | ||
// Perform customizations to webpack config | ||
// Important: return the modified config | ||
return config; | ||
}; |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import '@strapi/strapi'; | ||
|
||
export default { | ||
/** | ||
* An asynchronous register function that runs before | ||
* your application is initialized. | ||
* | ||
* This gives you an opportunity to extend code. | ||
*/ | ||
register(/*{ strapi }*/) {}, | ||
|
||
/** | ||
* An asynchronous bootstrap function that runs before | ||
* your application gets started. | ||
* | ||
* This gives you an opportunity to set up your data model, | ||
* run jobs, or perform some special logic. | ||
*/ | ||
bootstrap(/*{ strapi }*/) {}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": "@strapi/typescript-utils/tsconfigs/server", | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "." | ||
}, | ||
"include": ["./", "src/**/*.json"], | ||
"exclude": [ | ||
"node_modules/", | ||
"build/", | ||
"dist/", | ||
".cache/", | ||
".tmp/", | ||
"src/admin/", | ||
"**/*.test.ts", | ||
"src/plugins/**" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
// ... | ||
// ... | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,39 @@ | ||
import theme from './extensions/theme'; | ||
|
||
export default { | ||
config: { | ||
auth: { | ||
logo: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
}, | ||
head: { | ||
favicon: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
title: 'Strapi test', | ||
}, | ||
locales: ['fr', 'de'], | ||
menu: { | ||
logo: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
}, | ||
theme, | ||
translations: { | ||
fr: { | ||
'Auth.form.email.label': 'test', | ||
Users: 'Utilisateurs', | ||
City: 'CITY FRENCH', | ||
// Customize the label of the CM table.. | ||
Id: 'ID french', | ||
}, | ||
const config = { | ||
auth: { | ||
logo: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
}, | ||
head: { | ||
favicon: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
title: 'Strapi test', | ||
}, | ||
locales: ['fr', 'de'], | ||
menu: { | ||
logo: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
}, | ||
theme, | ||
translations: { | ||
fr: { | ||
'Auth.form.email.label': 'test', | ||
Users: 'Utilisateurs', | ||
City: 'CITY FRENCH', | ||
// Customize the label of the CM table.. | ||
Id: 'ID french', | ||
}, | ||
tutorials: false, | ||
notifications: { release: false }, | ||
}, | ||
bootstrap() {}, | ||
tutorials: false, | ||
notifications: { release: false }, | ||
}; | ||
|
||
const bootstrap = app => { | ||
console.log(app); | ||
}; | ||
|
||
export default { | ||
config, | ||
bootstrap, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import theme from './extensions/theme'; | ||
|
||
const config = { | ||
auth: { | ||
logo: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
}, | ||
head: { | ||
favicon: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
title: 'Strapi tesrrt', | ||
}, | ||
locales: ['fr', 'de'], | ||
menu: { | ||
logo: | ||
'https://images.unsplash.com/photo-1593642634367-d91a135587b5?ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80', | ||
}, | ||
theme, | ||
translations: { | ||
fr: { | ||
'Auth.form.email.label': 'test', | ||
Users: 'Utilisateurs', | ||
City: 'CITY FRENCH', | ||
// Customize the label of the CM table.. | ||
Id: 'ID french', | ||
}, | ||
}, | ||
tutorials: false, | ||
notifications: { release: false }, | ||
}; | ||
|
||
const bootstrap = app => { | ||
console.log(app); | ||
}; | ||
|
||
export default { | ||
config, | ||
bootstrap, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
const config = { | ||
locales: ['fr'], | ||
}; | ||
const bootstrap = () => {}; | ||
|
||
export default { | ||
config: { | ||
locales: ['fr'], | ||
}, | ||
bootstrap() {}, | ||
config, | ||
bootstrap, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.