mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-09 09:02:48 +01:00
Compare commits
2 Commits
renovate/c
...
enable-que
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
207d5b59ef | ||
|
|
a49c7ec46d |
@@ -24,8 +24,8 @@
|
||||
"newbieChatMessageDelay": 120000,
|
||||
"notificationSendDelay": 60,
|
||||
"newbieReputationThreshold": 3,
|
||||
"postQueue": 0,
|
||||
"postQueueReputationThreshold": 0,
|
||||
"postQueue": 1,
|
||||
"postQueueReputationThreshold": 1,
|
||||
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
|
||||
"groupsExemptFromNewUserRestrictions": ["administrators", "Global Moderators"],
|
||||
"groupsExemptFromMaintenanceMode": ["administrators", "Global Moderators"],
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
"connect-redis": "9.0.0",
|
||||
"cookie-parser": "1.4.7",
|
||||
"cron": "4.4.0",
|
||||
"cropperjs": "2.1.0",
|
||||
"cropperjs": "1.6.2",
|
||||
"csrf-sync": "4.2.1",
|
||||
"daemon": "1.1.0",
|
||||
"diff": "8.0.2",
|
||||
|
||||
@@ -639,7 +639,7 @@ describe('Controllers', () => {
|
||||
});
|
||||
|
||||
assert.strictEqual(response.statusCode, 302);
|
||||
assert.strictEqual(response.headers['set-cookie'], `express.sid=; Path=${nconf.get('relative_path') || '/'}; Expires=Thu, 01 Jan 1970 00:00:00 GMT; SameSite=Lax`);
|
||||
assert.strictEqual(response.headers['set-cookie'], `express.sid=; Path=${nconf.get('relative_path') || '/'}; Expires=Thu, 01 Jan 1970 00:00:00 GMT${nconf.get('secure') ? '; Secure' : ''}; SameSite=Lax`);
|
||||
assert.strictEqual(response.headers.location, `${nconf.get('relative_path')}/`);
|
||||
});
|
||||
|
||||
|
||||
@@ -194,6 +194,7 @@ async function setupMockDefaults() {
|
||||
meta.config.newbiePostDelay = 0;
|
||||
meta.config.autoDetectLang = 0;
|
||||
meta.config.activitypubProbeTimeout = 30000;
|
||||
meta.config.postQueue = 0;
|
||||
|
||||
require('../../src/groups').cache.reset();
|
||||
require('../../src/posts/cache').getOrCreate().reset();
|
||||
|
||||
Reference in New Issue
Block a user