mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
commit
c82b74f21e
11 changed files with 23 additions and 100 deletions
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
# Overleaf for YunoHost
|
# Overleaf for YunoHost
|
||||||
|
|
||||||
[![Integration level](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![Working status](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
[![Integration level](https://dash.yunohost.org/integration/overleaf.svg)](https://ci-apps.yunohost.org/ci/apps/overleaf/) ![Working status](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
||||||
|
|
||||||
[![Install Overleaf with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
[![Install Overleaf with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
||||||
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 2024.06.10~ynh1
|
**Shipped version:** 2024.06.25~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ No se debe editar a mano.
|
||||||
|
|
||||||
# Overleaf para Yunohost
|
# Overleaf para Yunohost
|
||||||
|
|
||||||
[![Nivel de integración](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
[![Nivel de integración](https://dash.yunohost.org/integration/overleaf.svg)](https://ci-apps.yunohost.org/ci/apps/overleaf/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
||||||
|
|
||||||
[![Instalar Overleaf con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
[![Instalar Overleaf con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
||||||
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 2024.06.10~ynh1
|
**Versión actual:** 2024.06.25~ynh1
|
||||||
|
|
||||||
## Capturas
|
## Capturas
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ EZ editatu eskuz.
|
||||||
|
|
||||||
# Overleaf YunoHost-erako
|
# Overleaf YunoHost-erako
|
||||||
|
|
||||||
[![Integrazio maila](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
[![Integrazio maila](https://dash.yunohost.org/integration/overleaf.svg)](https://ci-apps.yunohost.org/ci/apps/overleaf/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
||||||
|
|
||||||
[![Instalatu Overleaf YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
[![Instalatu Overleaf YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
||||||
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 2024.06.10~ynh1
|
**Paketatutako bertsioa:** 2024.06.25~ynh1
|
||||||
|
|
||||||
## Pantaila-argazkiak
|
## Pantaila-argazkiak
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
|
||||||
|
|
||||||
# Overleaf pour YunoHost
|
# Overleaf pour YunoHost
|
||||||
|
|
||||||
[![Niveau d’intégration](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
[![Niveau d’intégration](https://dash.yunohost.org/integration/overleaf.svg)](https://ci-apps.yunohost.org/ci/apps/overleaf/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
||||||
|
|
||||||
[![Installer Overleaf avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
[![Installer Overleaf avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
||||||
Overleaf est un éditeur LaTeX collaboratif en ligne et en temps réel open source.
|
Overleaf est un éditeur LaTeX collaboratif en ligne et en temps réel open source.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 2024.06.10~ynh1
|
**Version incluse :** 2024.06.25~ynh1
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ NON debe editarse manualmente.
|
||||||
|
|
||||||
# Overleaf para YunoHost
|
# Overleaf para YunoHost
|
||||||
|
|
||||||
[![Nivel de integración](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
[![Nivel de integración](https://dash.yunohost.org/integration/overleaf.svg)](https://ci-apps.yunohost.org/ci/apps/overleaf/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
||||||
|
|
||||||
[![Instalar Overleaf con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
[![Instalar Overleaf con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
||||||
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 2024.06.10~ynh1
|
**Versión proporcionada:** 2024.06.25~ynh1
|
||||||
|
|
||||||
## Capturas de pantalla
|
## Capturas de pantalla
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# YunoHost 上的 Overleaf
|
# YunoHost 上的 Overleaf
|
||||||
|
|
||||||
[![集成程度](https://dash.yunohost.org/integration/overleaf.svg)](https://dash.yunohost.org/appci/app/overleaf) ![工作状态](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
[![集成程度](https://dash.yunohost.org/integration/overleaf.svg)](https://ci-apps.yunohost.org/ci/apps/overleaf/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/overleaf.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/overleaf.maintain.svg)
|
||||||
|
|
||||||
[![使用 YunoHost 安装 Overleaf](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
[![使用 YunoHost 安装 Overleaf](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=overleaf)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
Overleaf is an open-source online real-time collaborative LaTeX editor.
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 2024.06.10~ynh1
|
**分发版本:** 2024.06.25~ynh1
|
||||||
|
|
||||||
## 截图
|
## 截图
|
||||||
|
|
||||||
|
|
|
@ -210,6 +210,10 @@ const settings = {
|
||||||
process.env.OVERLEAF_SESSION_SECRET || process.env.CRYPTO_RANDOM,
|
process.env.OVERLEAF_SESSION_SECRET || process.env.CRYPTO_RANDOM,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
csp: {
|
||||||
|
enabled: process.env.OVERLEAF_CSP_ENABLED !== 'false',
|
||||||
|
},
|
||||||
|
|
||||||
// These credentials are used for authenticating api requests
|
// These credentials are used for authenticating api requests
|
||||||
// between services that may need to go over public channels
|
// between services that may need to go over public channels
|
||||||
httpAuthUsers,
|
httpAuthUsers,
|
||||||
|
@ -286,7 +290,6 @@ const settings = {
|
||||||
compileTimeout: parseIntOrFail(process.env.COMPILE_TIMEOUT || 180),
|
compileTimeout: parseIntOrFail(process.env.COMPILE_TIMEOUT || 180),
|
||||||
compileGroup: 'standard',
|
compileGroup: 'standard',
|
||||||
trackChanges: true,
|
trackChanges: true,
|
||||||
templates: true,
|
|
||||||
references: true,
|
references: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -405,76 +408,6 @@ if (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ######################
|
|
||||||
// Overleaf Server Pro
|
|
||||||
// ######################
|
|
||||||
|
|
||||||
if (parse(process.env.OVERLEAF_IS_SERVER_PRO) === true) {
|
|
||||||
settings.bypassPercentageRollouts = true
|
|
||||||
settings.apis.references = { url: 'http://127.0.0.1:3040' }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Compiler
|
|
||||||
// --------
|
|
||||||
if (process.env.SANDBOXED_COMPILES === 'true') {
|
|
||||||
settings.clsi = {
|
|
||||||
dockerRunner: true,
|
|
||||||
docker: {
|
|
||||||
image: process.env.TEX_LIVE_DOCKER_IMAGE,
|
|
||||||
env: {
|
|
||||||
HOME: '/tmp',
|
|
||||||
PATH:
|
|
||||||
process.env.COMPILER_PATH ||
|
|
||||||
'/usr/local/texlive/2015/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
|
|
||||||
},
|
|
||||||
user: 'www-data',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
if (settings.path == null) {
|
|
||||||
settings.path = {}
|
|
||||||
}
|
|
||||||
settings.path.synctexBaseDir = () => '/compile'
|
|
||||||
if (process.env.SANDBOXED_COMPILES_SIBLING_CONTAINERS === 'true') {
|
|
||||||
console.log('Using sibling containers for sandboxed compiles')
|
|
||||||
if (process.env.SANDBOXED_COMPILES_HOST_DIR) {
|
|
||||||
settings.path.sandboxedCompilesHostDir =
|
|
||||||
process.env.SANDBOXED_COMPILES_HOST_DIR
|
|
||||||
} else {
|
|
||||||
console.error(
|
|
||||||
'Sibling containers, but SANDBOXED_COMPILES_HOST_DIR not set'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Templates
|
|
||||||
// ---------
|
|
||||||
if (process.env.OVERLEAF_TEMPLATES_USER_ID) {
|
|
||||||
settings.templates = {
|
|
||||||
mountPointUrl: '/templates',
|
|
||||||
user_id: process.env.OVERLEAF_TEMPLATES_USER_ID,
|
|
||||||
}
|
|
||||||
|
|
||||||
settings.templateLinks = parse(
|
|
||||||
process.env.OVERLEAF_NEW_PROJECT_TEMPLATE_LINKS
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
// /Learn
|
|
||||||
// -------
|
|
||||||
if (process.env.OVERLEAF_PROXY_LEARN != null) {
|
|
||||||
settings.proxyLearn = parse(process.env.OVERLEAF_PROXY_LEARN)
|
|
||||||
if (settings.proxyLearn) {
|
|
||||||
settings.nav.header_extras = [
|
|
||||||
{
|
|
||||||
url: '/learn',
|
|
||||||
text: 'documentation',
|
|
||||||
},
|
|
||||||
].concat(settings.nav.header_extras || [])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// /References
|
// /References
|
||||||
// -----------
|
// -----------
|
||||||
if (process.env.OVERLEAF_ELASTICSEARCH_URL != null) {
|
if (process.env.OVERLEAF_ELASTICSEARCH_URL != null) {
|
||||||
|
|
|
@ -7,7 +7,7 @@ name = "Overleaf"
|
||||||
description.en = "Online real-time collaborative LaTeX editor"
|
description.en = "Online real-time collaborative LaTeX editor"
|
||||||
description.fr = "Éditeur LaTeX collaboratif en ligne et en temps réel"
|
description.fr = "Éditeur LaTeX collaboratif en ligne et en temps réel"
|
||||||
|
|
||||||
version = "2024.06.10~ynh1"
|
version = "2024.06.25~ynh1"
|
||||||
|
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
|
@ -51,8 +51,8 @@ ram.runtime = "3G"
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/overleaf/overleaf/archive/e67a2b92a8fe8573bde5ee2424e26a99100e0027.tar.gz"
|
url = "https://github.com/overleaf/overleaf/archive/ce9b531892a882a23c3be7c8c03aa3bf97c810bc.tar.gz"
|
||||||
sha256 = "51bc4aad0334207b9d7de440c365932361a90e8b5326169896e03d41668c2238"
|
sha256 = "a0c649cc8281a3dfa3791117f4e94d297e65a8b1706da076cf5403271b335697"
|
||||||
autoupdate.strategy = "latest_github_commit"
|
autoupdate.strategy = "latest_github_commit"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
@ -77,7 +77,7 @@ ram.runtime = "3G"
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = [
|
packages = [
|
||||||
# Overleaf dependencies
|
# Overleaf dependencies
|
||||||
"texlive", "texlive-xetex", "texlive-base", "texlive-font-utils", "redis-server", "latexmk", "python3-pygments",
|
"texlive", "texlive-xetex", "texlive-base", "texlive-font-utils", "redis-server", "latexmk", "python3-pygments", "build-essential",
|
||||||
|
|
||||||
# Aspell dependencies
|
# Aspell dependencies
|
||||||
"aspell-ar", "aspell-ar-large",
|
"aspell-ar", "aspell-ar-large",
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
nodejs_version="18.20.2"
|
nodejs_version="20"
|
||||||
YNH_MONGO_VERSION=6.0
|
YNH_MONGO_VERSION="7.0"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -131,16 +131,6 @@ ynh_script_progression --message="Removing dependencies..."
|
||||||
ynh_remove_mongo
|
ynh_remove_mongo
|
||||||
ynh_remove_nodejs
|
ynh_remove_nodejs
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# SPECIFIC REMOVE
|
|
||||||
#=================================================
|
|
||||||
# REMOVE VARIOUS FILES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Removing various files..."
|
|
||||||
|
|
||||||
# Remove the log files
|
|
||||||
ynh_secure_remove --file="/var/log/$app"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -2,4 +2,4 @@ test_format = 1.0
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
|
|
||||||
test_upgrade_from.405228e.name = "2024-04-09"
|
test_upgrade_from.ce30971.name = "2024-06-10"
|
||||||
|
|
Loading…
Reference in a new issue