|
@@ -327,7 +327,6 @@ module.exports = (crowi) => {
|
|
|
body('confidential'),
|
|
body('confidential'),
|
|
|
body('globalLang').isIn(i18n.locales),
|
|
body('globalLang').isIn(i18n.locales),
|
|
|
body('isEmailPublishedForNewUser').isBoolean(),
|
|
body('isEmailPublishedForNewUser').isBoolean(),
|
|
|
- body('fileUpload').isBoolean(),
|
|
|
|
|
],
|
|
],
|
|
|
siteUrlSetting: [
|
|
siteUrlSetting: [
|
|
|
// https://regex101.com/r/5Xef8V/1
|
|
// https://regex101.com/r/5Xef8V/1
|
|
@@ -401,7 +400,6 @@ module.exports = (crowi) => {
|
|
|
isEmailPublishedForNewUser: configManager.getConfig(
|
|
isEmailPublishedForNewUser: configManager.getConfig(
|
|
|
'customize:isEmailPublishedForNewUser',
|
|
'customize:isEmailPublishedForNewUser',
|
|
|
),
|
|
),
|
|
|
- fileUpload: configManager.getConfig('app:fileUpload'),
|
|
|
|
|
useOnlyEnvVarsForIsBulkExportPagesEnabled: configManager.getConfig(
|
|
useOnlyEnvVarsForIsBulkExportPagesEnabled: configManager.getConfig(
|
|
|
'env:useOnlyEnvVars:app:isBulkExportPagesEnabled',
|
|
'env:useOnlyEnvVars:app:isBulkExportPagesEnabled',
|
|
|
),
|
|
),
|
|
@@ -564,7 +562,6 @@ module.exports = (crowi) => {
|
|
|
'app:globalLang': req.body.globalLang,
|
|
'app:globalLang': req.body.globalLang,
|
|
|
'customize:isEmailPublishedForNewUser':
|
|
'customize:isEmailPublishedForNewUser':
|
|
|
req.body.isEmailPublishedForNewUser,
|
|
req.body.isEmailPublishedForNewUser,
|
|
|
- 'app:fileUpload': req.body.fileUpload,
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
try {
|
|
try {
|
|
@@ -576,7 +573,6 @@ module.exports = (crowi) => {
|
|
|
isEmailPublishedForNewUser: configManager.getConfig(
|
|
isEmailPublishedForNewUser: configManager.getConfig(
|
|
|
'customize:isEmailPublishedForNewUser',
|
|
'customize:isEmailPublishedForNewUser',
|
|
|
),
|
|
),
|
|
|
- fileUpload: configManager.getConfig('app:fileUpload'),
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const parameters = {
|
|
const parameters = {
|