1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-24 01:38:07 +02:00
Commit graph

10 commits

Author SHA1 Message Date
Miguel Serrano
c0767eec41
Bump config-seed to 5.2.0 and drop Compose V1 support (#299) 2024-10-24 13:00:48 +02:00
Miguel Serrano
e2b99f150f
Scripts to update config/overleaf.rc and config-seed rebrand (#217)
* Add scripts to rebrand variables.env and overleaf.rc

* Update bin/upgrade to prompt for config file rebrand

* Update bin/up to check for correct variable prefix

Ensures SHARELATEX_ is in place for version <= 4.x, and
OVERLEAF_ for version >= 5.x

* Rebrand variables for bin/docker-compose

Updates docker-compose.base.yml and sibling containers
base file with the changes in the script

* Update bin/doctor to support OVERLEAF_ prefix

* Update documentation with the OVERLEAF_ prefix

* Rebrand variables.env and overleaf.rc in config-seed

* Prepare config/version and CHANGELOG for release (WIP)

* Fix script documentation

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Fix doctor logs

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Remove unnecessary fallbacks to SHARELATEX_ vars

* SEt OVERLEAF_DATA_PATH to data/overleaf

* Remove duplicated environment entries

* Moved prefix brand checs from bin/up to bin/docker-compose

* Move set +o pipefail into subshell commands

* Use separate legacy compose files for required SHARELATEX_ vars

* Handle overleaf.rc rebranding before version upgrade

* Group output from rebranding process

* Move prompt for rebranding into helper function

* Refuse to start with mismatching ShareLaTeX vs Overleaf branded configs

* Print expected prefix when checking variables.env

* Print number of mismatching variables in overleaf.rc

* Check on variable rebranding from bin/doctor

* Cleanup bin/doctor lookup for ShareLaTeX branded overleaf.rc

* Update filesystem paths in bin/logs and docs

* Flag old TEXMFVAR entry in config/variables.env

REF: 1829e7ee2a

* Update config-seed version to 5.0.1 and changelog

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2024-04-02 16:43:08 +02:00
Eric Mc Sween
9f5bd17cda Removed OAuth2 client configuration
Now that the git bridge exclusively uses personal access tokens in
ServerPro, it doesn't need to perform a password grant request and
therefore doesn't need to have its OAuth client id and secret
configured.
2023-05-24 16:15:28 -04:00
Eric Mc Sween
4353e676ee Refactor bin/docker-compose
Split the one big setup function into smaller functions organized around
the different optional docker-compose config files.
2023-05-16 15:22:14 -04:00
Eric Mc Sween
19ee1e19b7 Add support for git bridge proxy
Instead of being available at http://localhost:8000/, the git bridge
will be available at http://localhost/git/
2023-03-30 14:41:30 -04:00
Thomas Mees
3a7d5c6676 Support git bridge in Server Pro
This adds a new docker compose configuration for git bridge. This
configuration is loaded only when GIT_BRIDGE_ENABLED is set to true in
config/overleaf.rc

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>
2023-03-30 11:42:07 -04:00
Miguel Serrano
c834ece771
added SIGKILL timeouts for docker (#132) 2023-02-10 17:24:15 +01:00
Christopher Hoskin
2be24268de Configure nginx to redirect HTTP to HTTPS 2021-10-07 10:04:15 +01:00
Shane Kilkelly
3fda5d0ae0 Add SHARELATEX_PORT option, default to 80
This allows a user to configure the host port that the sharelatex
container will bind to. Previously this was hard-coded to port 80, which
can cause problems on systems with something already bound to that port.
2020-10-08 09:40:53 +01:00
Shane Kilkelly
9395627ac8 Public release of the Overleaf Toolkit 2020-08-19 13:31:17 +01:00