Commit graph

523 commits

Author SHA1 Message Date
Jakob Ackermann
fe2a8f4780 [runit] fix the cycling of logs for the contacts service 2021-01-12 10:15:38 +00:00
Miguel Serrano
fc08b54d0a Updated mongo to 4.0 for release 2.5.0 (#815) 2020-11-19 11:02:21 +01:00
Miguel Serrano
a9c02c6bf6 added radix to parseInt() calls and make them fail fast (#806) 2020-10-26 11:08:00 +01:00
Miguel Serrano
a1109d3a1e added radix to parseInt() call 2020-10-23 11:58:43 +02:00
Miguel Serrano
1a23887a85 addressed PR feedback 2020-10-22 18:24:40 +02:00
Miguel Serrano
a017d08f05 updated nginx timeout to 4m 2020-10-22 13:38:33 +02:00
Miguel Serrano
02377af0ab added support for COMPILE_TIMEOUT env 2020-10-22 13:38:14 +02:00
Miguel Serrano
0ea13ba637 removed <div> from email footer 2020-10-09 11:33:06 +02:00
Miguel Serrano
49b45a1796 Fix typo in settings templates->template 2020-10-09 11:32:45 +02:00
Jakob Ackermann
07dbfe6df8 Merge pull request #797 from overleaf/jpa-wait-for-db
[misc] keep up with web changes -- add waitForDb wrapper for tasks
2020-10-06 14:02:26 +02:00
Jakob Ackermann
fe3edd7197 [misc] keep up with web changes -- add waitForDb wrapper for tasks 2020-10-05 09:45:43 +01:00
Miguel Serrano
e50861841f added patch to fix left footer with html links 2020-10-01 12:46:11 +02:00
Miguel Serrano
ac48f31e00 using original single patch 2020-10-01 11:53:11 +02:00
Miguel Serrano
53f2e2a235 Hotfix 2.4.2 - fix anon read/write sharing 2020-09-29 10:30:20 +02:00
Jakob Ackermann
41ee63c1f1 [misc] add the dependabot config of the buildscripts
See inline docs for rationals of each (non-trivial) option.
2020-09-04 09:23:20 +01:00
Miguel Serrano
fe20868b5a Hotfix 2.4.1 2020-08-19 10:56:03 +02:00
Jakob Ackermann
2766993c65 [bin/compile-services] all services are decaffeinated now 2020-07-08 11:18:47 +01:00
Miguel Serrano
c2575ad666 Fixed syntex 2020-06-25 12:29:29 +02:00
Miguel Serrano
ae3e7f03f0 Set tag '5' for redis image 2020-05-29 15:07:51 +02:00
Miguel Serrano
1f3da80278 Merge pull request #744 from overleaf/msm-remove-tags
Removed tags service
2020-05-26 11:17:52 +02:00
Miguel Serrano
033db804fe Removed privileged mode from docker-compose.yml 2020-05-25 16:54:38 +02:00
Miguel Serrano
8c7f96c105 removed tags service 2020-05-25 16:46:25 +02:00
Miguel Serrano
8ef8a359e7 Set TEXMFVAR to a writable location (#739) 2020-05-25 15:16:18 +02:00
Miguel Serrano
2dd8a08ab7 added 'OPTIMISE_PDF' environment variable 2020-05-20 07:49:44 +02:00
Soptq
f31d94c4a1 Update docker-compose.yml
Restrict redis version to 5.0.0
2020-05-09 14:36:59 +08:00
Christopher Hoskin
6800b203a5 Merge pull request #733 from overleaf/csh-issue-2578-add-base-tag-arg
Try making the base image tag specifiable
2020-05-06 14:21:23 +01:00
Miguel Serrano
34a4b12b8b Remove compilation step from document-updater 2020-05-06 14:32:53 +02:00
Christopher Hoskin
0bcb552f6f Try making the base image tag specifiable 2020-05-06 11:59:42 +01:00
Jakob Ackermann
d08a9ccfb7 [docker-compose] add a temporary fix for LuaLatex compiles 2020-04-22 10:34:47 +02:00
Miguel Serrano
3bd49f6ea1 Added pull request template (#723) 2020-04-16 12:08:37 +02:00
Christopher Hoskin
3635e4b4f1 Use variables for Makefile tagging 2020-04-15 15:11:31 +01:00
zefyrr
b690162f7c updated texlive dir for path env variable (#719)
Co-authored-by: Omer Kareem <okareem@omerk.local>
2020-04-15 13:15:10 +02:00
Timothée Alby
27cd838c2a add allowedImageNames setting from ENV vars (#718)
Uses `ALL_TEX_LIVE_DOCKER_IMAGES` (required) and
`ALL_TEX_LIVE_DOCKER_IMAGE_NAMES` (optional) to add the
`allowedImageNames` setting, allowing users to change a project's Tex
Live version.
2020-04-14 12:08:59 +02:00
Miguel Serrano
11e7f7d60e Fixed compile scripts for non-coffee modules (#717) 2020-04-07 16:17:51 +02:00
Miguel Serrano
f7ac10cc97 Added 'currentImageName' setting plus migration (#701) 2020-03-09 13:15:40 +01:00
Shane Kilkelly
b433dffc69 Comment out the docker socket mount
And add a note for server-pro users to un-comment the line if they want to use sibling containers.
2020-02-20 15:09:00 +00:00
mserranom
fa13f4f079 Updated dockerfile and build script with monorepo changes 2020-02-17 14:58:47 +01:00
mserranom
ead0f21965 merged services.js 2020-02-17 14:00:29 +01:00
mserranom
1fe5394ca5 merged .gitignore 2020-02-17 13:58:48 +01:00
mserranom
c3d0ba2aa6 merged README.md 2020-02-17 13:57:53 +01:00
mserranom
276281e7e4 moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
mserranom
5e19658866 Merging docker-image to master 2020-02-17 13:50:21 +01:00
Jakob Ackermann
b715f16a3b [misc] minimize the main stage (#122)
- cleanup git history
- do not install not needed npm packages
  - The Gruntfile was removed in
    REF: 27dd97ecc5

  - The simple-git package is not used since
    REF: df2d46df82
- cleanup npm cache
- cleanup node-gyp build cache
- cleanup /tmp
- move copying of the settings defaults after the installation

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 16:38:58 +01:00
Jakob Ackermann
3170a27fb5 [init] bail out in case the db access fails (#123)
* [init] bail out in case the db access fails

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [misc] bail out in case any command in an init_script failed

NOTE: sh does not support `-o pipefail`.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 13:33:55 +01:00
Jakob Ackermann
ac82600b74 [misc] minimize base image (#120)
* [docker] drop sudo

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] install qpdf in a single stage

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] install texlive and additional tlmgr packages in a single stage

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] drop the apt package lists

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] pull the package lists only once

move the installation of nodejs into the dependencies install section

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] delete the default nginx configuration files immediately

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] skip the downloading and storage of unused texlive artifacts

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] drop the npm download cache

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] apply review feedback

- install qpdf as ubuntu package
- add a comment on the nginx config removal
- add back and update a note on changing the texlive mirror
2020-02-13 12:00:03 +01:00
Jakob Ackermann
991cb29d0b [nginx] simplify the root specification for sendfile (#121)
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 11:59:20 +01:00
Jakob Ackermann
6f46b2c145 [settings] produce a consistent redis config for every service (#124)
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 11:56:03 +01:00
Miguel Serrano
6dc57fafcc Fixed mailing list link in README 2020-02-10 12:08:54 +01:00
Miguel Serrano
45561cde0e Removed node6 and updated modules to Node 10 (#135) 2020-02-06 11:19:15 +01:00
Jakob Ackermann
16ca8f25c4 [misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00