mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4307 from overleaf/jpa-migrate-google-ops-config
[misc] migrate google ops config into saas overrides GitOrigin-RevId: 949fc610a8a79b780b590d66d25bc21bd9615ab2
This commit is contained in:
parent
dde91df48e
commit
cebad4a774
1 changed files with 29 additions and 3 deletions
|
@ -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
|
overleaf: {
|
||||||
// property (check Features.js)
|
oauth: undefined,
|
||||||
overleaf: true,
|
},
|
||||||
|
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'
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue