|
|
@@ -102,6 +102,7 @@ module.exports = (crowi) => {
|
|
|
body('isEnabledTimeline').isBoolean(),
|
|
|
body('isSavedStatesOfTabChanges').isBoolean(),
|
|
|
body('isEnabledAttachTitleHeader').isBoolean(),
|
|
|
+ // TODO implement for pageListLimitForModal
|
|
|
body('pageListLimitForUserPage').isInt().isInt({ min: 1, max: 1000 }),
|
|
|
body('isEnabledStaleNotification').isBoolean(),
|
|
|
body('isAllReplyShown').isBoolean(),
|
|
|
@@ -155,6 +156,7 @@ module.exports = (crowi) => {
|
|
|
isSavedStatesOfTabChanges: await crowi.configManager.getConfig('crowi', 'customize:isSavedStatesOfTabChanges'),
|
|
|
isEnabledAttachTitleHeader: await crowi.configManager.getConfig('crowi', 'customize:isEnabledAttachTitleHeader'),
|
|
|
pageListLimitForUserPage: await crowi.configManager.getConfig('crowi', 'customize:showPageListLimitNumberForUserPage'),
|
|
|
+ // TODO implement for pageListLimitForModal
|
|
|
isEnabledStaleNotification: await crowi.configManager.getConfig('crowi', 'customize:isEnabledStaleNotification'),
|
|
|
isAllReplyShown: await crowi.configManager.getConfig('crowi', 'customize:isAllReplyShown'),
|
|
|
styleName: await crowi.configManager.getConfig('crowi', 'customize:highlightJsStyle'),
|
|
|
@@ -278,6 +280,7 @@ module.exports = (crowi) => {
|
|
|
'customize:isEnabledTimeline': req.body.isEnabledTimeline,
|
|
|
'customize:isSavedStatesOfTabChanges': req.body.isSavedStatesOfTabChanges,
|
|
|
'customize:isEnabledAttachTitleHeader': req.body.isEnabledAttachTitleHeader,
|
|
|
+ // TODO implement for pageListLimitForModal
|
|
|
'customize:showPageListLimitForUserPage': req.body.pageListLimitForUserPage,
|
|
|
'customize:isEnabledStaleNotification': req.body.isEnabledStaleNotification,
|
|
|
'customize:isAllReplyShown': req.body.isAllReplyShown,
|
|
|
@@ -289,6 +292,7 @@ module.exports = (crowi) => {
|
|
|
isEnabledTimeline: await crowi.configManager.getConfig('crowi', 'customize:isEnabledTimeline'),
|
|
|
isSavedStatesOfTabChanges: await crowi.configManager.getConfig('crowi', 'customize:isSavedStatesOfTabChanges'),
|
|
|
isEnabledAttachTitleHeader: await crowi.configManager.getConfig('crowi', 'customize:isEnabledAttachTitleHeader'),
|
|
|
+ // TODO implement for pageListLimitForModal
|
|
|
pageListLimitForUserPage: await crowi.configManager.getConfig('crowi', 'customize:showPageListLimitNumberForUserPage'),
|
|
|
isEnabledStaleNotification: await crowi.configManager.getConfig('crowi', 'customize:isEnabledStaleNotification'),
|
|
|
isAllReplyShown: await crowi.configManager.getConfig('crowi', 'customize:isAllReplyShown'),
|