|
@@ -13,10 +13,17 @@ const httpAuthUsers = {}
|
|
|
httpAuthUsers[httpAuthUser] = httpAuthPass
|
|
httpAuthUsers[httpAuthUser] = httpAuthPass
|
|
|
|
|
|
|
|
module.exports = base.mergeWith({
|
|
module.exports = base.mergeWith({
|
|
|
|
|
+ catchErrors: false,
|
|
|
|
|
+ clsiCookie: undefined,
|
|
|
|
|
+
|
|
|
cacheStaticAssets: true,
|
|
cacheStaticAssets: true,
|
|
|
enableSubscriptions: true,
|
|
enableSubscriptions: true,
|
|
|
|
|
|
|
|
httpAuthUsers,
|
|
httpAuthUsers,
|
|
|
|
|
+ secureCookie: false,
|
|
|
|
|
+ security: {
|
|
|
|
|
+ sessionSecret: 'static-secret-for-tests',
|
|
|
|
|
+ },
|
|
|
adminDomains: ['example.com'],
|
|
adminDomains: ['example.com'],
|
|
|
|
|
|
|
|
apis: {
|
|
apis: {
|
|
@@ -37,6 +44,10 @@ module.exports = base.mergeWith({
|
|
|
webhookUser: 'recurly',
|
|
webhookUser: 'recurly',
|
|
|
webhookPass: 'webhook',
|
|
webhookPass: 'webhook',
|
|
|
},
|
|
},
|
|
|
|
|
+ tpdsworker: {
|
|
|
|
|
+ // Disable tpdsworker in CI.
|
|
|
|
|
+ url: undefined,
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
// for registration via SL, set enableLegacyRegistration to true
|
|
// for registration via SL, set enableLegacyRegistration to true
|
|
@@ -56,6 +67,7 @@ module.exports = base.mergeWith({
|
|
|
references: false,
|
|
references: false,
|
|
|
referencesSearch: false,
|
|
referencesSearch: false,
|
|
|
mendeley: true,
|
|
mendeley: true,
|
|
|
|
|
+ zotero: true,
|
|
|
compileTimeout: 60,
|
|
compileTimeout: 60,
|
|
|
compileGroup: 'standard',
|
|
compileGroup: 'standard',
|
|
|
trackChanges: false,
|
|
trackChanges: false,
|
|
@@ -70,6 +82,7 @@ module.exports = base.mergeWith({
|
|
|
references: false,
|
|
references: false,
|
|
|
referencesSearch: false,
|
|
referencesSearch: false,
|
|
|
mendeley: false,
|
|
mendeley: false,
|
|
|
|
|
+ zotero: false,
|
|
|
compileTimeout: 60,
|
|
compileTimeout: 60,
|
|
|
compileGroup: 'standard',
|
|
compileGroup: 'standard',
|
|
|
trackChanges: false,
|
|
trackChanges: false,
|
|
@@ -84,6 +97,7 @@ module.exports = base.mergeWith({
|
|
|
references: true,
|
|
references: true,
|
|
|
referencesSearch: true,
|
|
referencesSearch: true,
|
|
|
mendeley: true,
|
|
mendeley: true,
|
|
|
|
|
+ zotero: true,
|
|
|
compileTimeout: 180,
|
|
compileTimeout: 180,
|
|
|
compileGroup: 'priority',
|
|
compileGroup: 'priority',
|
|
|
trackChanges: true,
|
|
trackChanges: true,
|
|
@@ -98,6 +112,7 @@ module.exports = base.mergeWith({
|
|
|
references: true,
|
|
references: true,
|
|
|
referencesSearch: true,
|
|
referencesSearch: true,
|
|
|
mendeley: true,
|
|
mendeley: true,
|
|
|
|
|
+ zotero: true,
|
|
|
compileTimeout: 180,
|
|
compileTimeout: 180,
|
|
|
compileGroup: 'priority',
|
|
compileGroup: 'priority',
|
|
|
trackChanges: true,
|
|
trackChanges: true,
|
|
@@ -223,9 +238,10 @@ module.exports = base.mergeWith({
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- // setting to true since many features are enabled/disabled after availability of this
|
|
|
|
|
- // property (check Features.js)
|
|
|
|
|
- overleaf: true,
|
|
|
|
|
|
|
+ overleaf: {
|
|
|
|
|
+ oauth: undefined,
|
|
|
|
|
+ },
|
|
|
|
|
+ saml: undefined,
|
|
|
|
|
|
|
|
reconfirmNotificationDays: 14,
|
|
reconfirmNotificationDays: 14,
|
|
|
|
|
|
|
@@ -233,7 +249,17 @@ module.exports = base.mergeWith({
|
|
|
ie: '<=11',
|
|
ie: '<=11',
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ // Disable contentful module.
|
|
|
|
|
+ contentful: undefined,
|
|
|
|
|
+
|
|
|
|
|
+ // No email in tests
|
|
|
|
|
+ email: undefined,
|
|
|
|
|
+
|
|
|
test: {
|
|
test: {
|
|
|
counterInit: 0,
|
|
counterInit: 0,
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
|
|
+
|
|
|
|
|
+for (const redisKey of Object.keys(base.redis)) {
|
|
|
|
|
+ base.redis[redisKey].host = process.env.REDIS_HOST || 'localhost'
|
|
|
|
|
+}
|