|
|
@@ -39,7 +39,7 @@ const ErrorV3 = require('../../models/vo/error-apiv3');
|
|
|
* type: boolean
|
|
|
* isEnabledAttachTitleHeader:
|
|
|
* type: boolean
|
|
|
- * recentCreatedLimit:
|
|
|
+ * pageListLimit:
|
|
|
* type: number
|
|
|
* isEnabledStaleNotification:
|
|
|
* type: boolean
|
|
|
@@ -102,7 +102,7 @@ module.exports = (crowi) => {
|
|
|
body('isEnabledTimeline').isBoolean(),
|
|
|
body('isSavedStatesOfTabChanges').isBoolean(),
|
|
|
body('isEnabledAttachTitleHeader').isBoolean(),
|
|
|
- body('recentCreatedLimit').isInt().isInt({ min: 1, max: 1000 }),
|
|
|
+ body('pageListLimit').isInt().isInt({ min: 1, max: 1000 }),
|
|
|
body('isEnabledStaleNotification').isBoolean(),
|
|
|
body('isAllReplyShown').isBoolean(),
|
|
|
],
|
|
|
@@ -154,7 +154,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'),
|
|
|
- recentCreatedLimit: await crowi.configManager.getConfig('crowi', 'customize:showRecentCreatedNumber'),
|
|
|
+ pageListLimit: await crowi.configManager.getConfig('crowi', 'customize:showPageListNumber'),
|
|
|
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,7 +278,7 @@ module.exports = (crowi) => {
|
|
|
'customize:isEnabledTimeline': req.body.isEnabledTimeline,
|
|
|
'customize:isSavedStatesOfTabChanges': req.body.isSavedStatesOfTabChanges,
|
|
|
'customize:isEnabledAttachTitleHeader': req.body.isEnabledAttachTitleHeader,
|
|
|
- 'customize:showRecentCreatedNumber': req.body.recentCreatedLimit,
|
|
|
+ 'customize:showPageListNumber': req.body.pageListLimit,
|
|
|
'customize:isEnabledStaleNotification': req.body.isEnabledStaleNotification,
|
|
|
'customize:isAllReplyShown': req.body.isAllReplyShown,
|
|
|
};
|
|
|
@@ -289,7 +289,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'),
|
|
|
- recentCreatedLimit: await crowi.configManager.getConfig('crowi', 'customize:showRecentCreatedNumber'),
|
|
|
+ pageListLimit: await crowi.configManager.getConfig('crowi', 'customize:showPageListNumber'),
|
|
|
isEnabledStaleNotification: await crowi.configManager.getConfig('crowi', 'customize:isEnabledStaleNotification'),
|
|
|
isAllReplyShown: await crowi.configManager.getConfig('crowi', 'customize:isAllReplyShown'),
|
|
|
};
|