mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Add variables to enable experimental features: pandoc conversion and editor tabs
This commit is contained in:
@@ -200,6 +200,7 @@ const DockerRunner = {
|
||||
err.code = exitCode
|
||||
return callback(err)
|
||||
}
|
||||
output.exitCode = exitCode
|
||||
containerReturned = true
|
||||
logger.debug(
|
||||
// The seccomp policy is very large. Avoid logging it. _.omit deep clones.
|
||||
|
||||
@@ -861,19 +861,29 @@
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"name": "openat2",
|
||||
"name": "epoll_create",
|
||||
"action": "SCMP_ACT_ALLOW",
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"name": "statx",
|
||||
"name": "epoll_ctl",
|
||||
"action": "SCMP_ACT_ALLOW",
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"name": "clone3",
|
||||
"name": "timerfd_create",
|
||||
"action": "SCMP_ACT_ALLOW",
|
||||
"args": []
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"name": "timerfd_settime",
|
||||
"action": "SCMP_ACT_ALLOW",
|
||||
"args": []
|
||||
},
|
||||
{
|
||||
"name": "eventfd2",
|
||||
"action": "SCMP_ACT_ALLOW",
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1263,6 +1263,16 @@ module.exports = {
|
||||
},
|
||||
|
||||
splitTestOverrides: {
|
||||
...(process.env.ENABLE_EDITOR_TABS?.toLowerCase() === 'true' ? {
|
||||
'editor-tabs': 'enabled',
|
||||
} : {}),
|
||||
...(process.env.ENABLE_PANDOC_CONVERSIONS === 'true' ? {
|
||||
'import-docx': 'enabled',
|
||||
'import-markdown': 'enabled',
|
||||
'export-docx': 'enabled',
|
||||
'export-html': 'enabled',
|
||||
'export-markdown': 'enabled',
|
||||
} : {}),
|
||||
...(process.env.OVERLEAF_HISTORY_RESTORE?.toLowerCase() === 'true' ? {
|
||||
'history-ranges-support': 'enabled',
|
||||
'revert-file': 'enabled',
|
||||
|
||||
Reference in New Issue
Block a user