1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

try with an older version

This commit is contained in:
Thomas 2024-02-11 10:07:33 +01:00 committed by GitHub
parent f8ff95607e
commit 79141c5035
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 13 deletions

View file

@ -51,8 +51,8 @@ ram.runtime = "50M"
[resources]
[resources.sources]
[resources.sources.main]
url = "https://github.com/overleaf/overleaf/archive/fdf8ebe001ec91dc3ab5c23b47bbbb03dc03d1bb.tar.gz"
sha256 = "802e3c0add7690c211fc039f94e1fceffe83040e7e60b0c340f35703087f1704"
url = "https://github.com/overleaf/overleaf/archive/92f8e445d355bcd0004b362c7496fcc22872828f.tar.gz"
sha256 = "c516dad71f97582c18a2194847f05df60fda03257af88bec3440ae9c4c891528"
autoupdate.stategy = "latest_github_commit"
[resources.sources.ldap]

View file

@ -107,17 +107,6 @@ ynh_add_config --template="../conf/production.json" --destination="$install_dir/
ynh_add_config --template="../conf/production.json" --destination="$install_dir/live/services/history-v1/config/production.json"
cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$install_dir/live/services/history-v1/config/"
#temporary workaround to update patches
pushd "$install_dir/build_ldap/sharelatex_diff"
rm navbar.pug.diff
ynh_exec_warn_less wget https://raw.githubusercontent.com/xavion-lux/ldap-overleaf-sl-multiplatform/f2f58191434758a76294e59d5a275dc45a201556/ldap-overleaf-sl/sharelatex_diff/navbar.pug.diff
popd
pushd "$install_dir/build_ldap/sharelatex_diff"
rm settings.pug.diff
ynh_exec_warn_less wget https://raw.githubusercontent.com/xavion-lux/ldap-overleaf-sl-multiplatform/f2f58191434758a76294e59d5a275dc45a201556/ldap-overleaf-sl/sharelatex_diff/settings.pug.diff
popd
#patch files for LDAP integration
patch "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationController.js" "$install_dir/build_ldap/sharelatex_diff/AuthenticationController.js.diff"
patch "$install_dir/live/services/web/app/src/Features/Authentication/AuthenticationManager.js" "$install_dir/build_ldap/sharelatex_diff/AuthenticationManager.js.diff"