Node.js based forum software built for the modern web
fix: enable topic thumbnails across the board [breaking]
Julian Lam9342d611be80
diff --git a/install/data/defaults.json b/install/data/defaults.jsonindex 1a155a8835..1f08ca4ad8 100644--- a/install/data/defaults.json+++ b/install/data/defaults.json@@ -29,7 +29,7 @@"maximumTagsPerTopic": 5,"minimumTagLength": 3,"maximumTagLength": 15,- "allowTopicsThumbnail": 0,+ "allowTopicsThumbnail": 1,"registrationType": "normal","registrationApprovalType": "normal","allowAccountDelete": 1,diff --git a/src/upgrades/1.16.0/bump_topicThumbSize.js b/src/upgrades/1.16.0/topic_thumbs_settings.jssimilarity index 73%rename from src/upgrades/1.16.0/bump_topicThumbSize.jsrename to src/upgrades/1.16.0/topic_thumbs_settings.jsindex 3d3019e9a0..27fa964780 100644--- a/src/upgrades/1.16.0/bump_topicThumbSize.js+++ b/src/upgrades/1.16.0/topic_thumbs_settings.js@@ -3,7 +3,7 @@const meta = require('../../meta');module.exports = {- name: 'Increase maximum topic thumb size default',+ name: 'Config changes for new topic thumbnails',timestamp: Date.UTC(2020, 11, 8),method: async () => {const current = await meta.configs.get('topicThumbSize');@@ -11,5 +11,6 @@ module.exports = {if (parseInt(current, 10) === 120) {await meta.configs.set('topicThumbSize', 512);}+ await meta.configs.set('allowTopicsThumbnail', 1);},};