Commit graph

531 commits

Author SHA1 Message Date
Christopher Hoskin
53f9071a1f Use variables for Makefile tagging 2020-04-15 15:11:31 +01:00
zefyrr
810a5163e5
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
13a6a9ae89
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
abc031efd0
Fixed compile scripts for non-coffee modules (#717) 2020-04-07 16:17:51 +02:00
Miguel Serrano
7b2238ae58
Added 'currentImageName' setting plus migration (#701) 2020-03-09 13:15:40 +01:00
Shane Kilkelly
dd4f78cca1
Merge pull request #699 from overleaf/sk-not-mount-docker-socket-by-default
Comment out the docker socket mount
2020-02-20 15:10:16 +00:00
Shane Kilkelly
09bf71f2b2
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
Miguel Serrano
42431d01ba
Merge pull request #696 from overleaf/msm-monorepo-merge
Merge docker-image repository
2020-02-19 10:24:42 +01:00
mserranom
dc53803a7e Updated dockerfile and build script with monorepo changes 2020-02-17 14:58:47 +01:00
mserranom
f316ebde98 merged services.js 2020-02-17 14:00:29 +01:00
mserranom
f7ec9dfced merged .gitignore 2020-02-17 13:58:48 +01:00
mserranom
aad5df5168 merged README.md 2020-02-17 13:57:53 +01:00
mserranom
93dce40328 moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
mserranom
731b0d5918 Merging docker-image to master 2020-02-17 13:50:21 +01:00
Jakob Ackermann
ebd31737a5
[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
e83b7856c3
[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
47e51a2075
[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
e422c20e74
[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
5e0f94f404
[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
Timothée Alby
f02d62d3a1
Merge pull request #692 from overleaf/msm-fixed-mailing-list-link
Fixed mailing list link in README
2020-02-12 08:39:05 -05:00
Miguel Serrano
e8bdb6b0e6 Fixed mailing list link in README 2020-02-10 12:08:54 +01:00
Miguel Serrano
5c9a56d906
Removed node6 and updated modules to Node 10 (#135) 2020-02-06 11:19:15 +01:00
Jakob Ackermann
f2ee880549
[misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00
Miguel Serrano
3781585862
Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Jakob Ackermann
7a481d0d1d
Merge pull request #133 from overleaf/jpa-dump-all-git-shas
[misc] export all git repository revisions
2020-01-23 15:37:48 +01:00
Jakob Ackermann
df2d46df82
[misc] export all git repository revisions
There is a multi purpose shell script for the gathering of git revisions
 now.
It will extract all revisions that can be found in traversing of the
 current working directory. This effectively includes the
 overleaf/overleaf repo and any others that may be added downstream.
2020-01-23 10:57:36 +01:00
Miguel Serrano
689104d93e
Removed compile:all from filestore and notifications services (#688) 2020-01-22 14:41:31 +01:00
Miguel Serrano
bb3485016e
Added missing recaptcha configuration (#132) 2020-01-21 12:37:40 +01:00
Miguel Serrano
9d6cf19d35
Updated location of synctex path in docker-compose.yml (#680) 2020-01-09 15:56:19 +01:00
Miguel Serrano
17bfbee183
Added environment variables for web-api user/pass (#131) 2020-01-09 15:55:57 +01:00
Miguel Serrano
c05da63e84
Add environment variable to disable email confirmation banner (#676) 2020-01-08 10:03:59 +01:00
Miguel Serrano
5e17a4c928
Hotfix 2.0.2 (#130) 2019-12-10 15:06:40 +01:00
theunbound
bb87d0af1c Remove make targets in web (#670) 2019-12-09 18:02:52 +01:00
Shane Kilkelly
54f444e0ba
Merge pull request #667 from overleaf/ShaneKilkelly-patch-1
Update docker-compose.yml
2019-11-22 14:24:12 +00:00
Shane Kilkelly
3d96aba203
Update docker-compose.yml 2019-11-22 13:03:59 +00:00
Miguel Serrano
ef8f099b10
Copy synctex executable to docker host (#129) 2019-11-22 10:12:33 +01:00
Miguel Serrano
550acd6531
Add SYNCTEX_BIN_HOST_PATH environment variable (#664) 2019-11-21 12:16:29 +01:00
Miguel Serrano
f92c6c27b0
Remove overriden v1 settings (#128) 2019-11-21 11:52:02 +01:00
Shane Kilkelly
d09b6149e1
Update ISSUE_TEMPLATE.md 2019-11-07 15:17:39 +00:00
Shane Kilkelly
429cbca95d
Create ISSUE_TEMPLATE.md 2019-11-07 09:30:55 +00:00
Miguel Serrano
f9b00c3dfa
Added webpack compilation scripts (#651) 2019-10-23 10:20:39 +02:00
Miguel Serrano
12c18f76fd
Overleaf CE Hotfix 2.0.1 (#126) 2019-10-21 11:48:01 +02:00
Miguel Serrano
ad0355bcde
Added explicit reference to Server Pro image in docker-compose (#649) 2019-10-18 15:41:28 +02:00
Miguel Serrano
deb1ca3639
Fix token creation on admin registration (#648) 2019-10-18 10:03:05 +02:00
Miguel Serrano
1c57b1deab
Disable project-history via settings (#125) 2019-10-15 11:00:38 +02:00
Miguel Serrano
fe5cdef39c
Linked CLSI synctext to /opts/synctex (#118) 2019-10-08 12:47:08 +02:00
Matthieu Simonin
431aa43b63 Fix the paths in grunt tasks (#643) 2019-10-08 12:46:53 +02:00
Miguel Serrano
4b0ea96b55
Delete aggregated error log (#117) 2019-10-08 11:54:49 +02:00
Shane Kilkelly
6f5ea89677
Merge pull request #116 from overleaf/sk-server-pro-set-socket-permissions
Copy logic from clsi entrypoint, to set permissions on docker.sock
2019-09-24 12:01:39 +01:00
Shane Kilkelly
41ba0063bc Copy logic from clsi entrypoint, to set permissions on docker.sock 2019-09-24 11:52:38 +01:00