Commit graph

606 commits

Author SHA1 Message Date
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
Miguel Serrano
6a5f1588cc Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Jakob Ackermann
3783f03a83 [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
5232f07ec5 Removed compile:all from filestore and notifications services (#688) 2020-01-22 14:41:31 +01:00
Miguel Serrano
2bc1dc464b Added missing recaptcha configuration (#132) 2020-01-21 12:37:40 +01:00
Miguel Serrano
103941eab3 Updated location of synctex path in docker-compose.yml (#680) 2020-01-09 15:56:19 +01:00
Miguel Serrano
4a424096f2 Added environment variables for web-api user/pass (#131) 2020-01-09 15:55:57 +01:00
Miguel Serrano
9878a1321f Add environment variable to disable email confirmation banner (#676) 2020-01-08 10:03:59 +01:00
Miguel Serrano
c4104806c3 Hotfix 2.0.2 (#130) 2019-12-10 15:06:40 +01:00
theunbound
feda446983 Remove make targets in web (#670) 2019-12-09 18:02:52 +01:00
Shane Kilkelly
5e448fadda Update docker-compose.yml 2019-11-22 13:03:59 +00:00
Miguel Serrano
fc0c464216 Copy synctex executable to docker host (#129) 2019-11-22 10:12:33 +01:00
Miguel Serrano
66fec536f5 Add SYNCTEX_BIN_HOST_PATH environment variable (#664) 2019-11-21 12:16:29 +01:00
Miguel Serrano
bfcba2a943 Remove overriden v1 settings (#128) 2019-11-21 11:52:02 +01:00
Shane Kilkelly
c8ee9f2d4f Update ISSUE_TEMPLATE.md 2019-11-07 15:17:39 +00:00
Shane Kilkelly
853c658499 Create ISSUE_TEMPLATE.md 2019-11-07 09:30:55 +00:00
Miguel Serrano
472581d714 Added webpack compilation scripts (#651) 2019-10-23 10:20:39 +02:00
Miguel Serrano
d29b3fa1f7 Overleaf CE Hotfix 2.0.1 (#126) 2019-10-21 11:48:01 +02:00
Miguel Serrano
936f9f8142 Added explicit reference to Server Pro image in docker-compose (#649) 2019-10-18 15:41:28 +02:00
Miguel Serrano
78d179c459 Fix token creation on admin registration (#648) 2019-10-18 10:03:05 +02:00
Miguel Serrano
5159c9cc8b Disable project-history via settings (#125) 2019-10-15 11:00:38 +02:00
Miguel Serrano
325c31d602 Linked CLSI synctext to /opts/synctex (#118) 2019-10-08 12:47:08 +02:00
Matthieu Simonin
de33a6a7b6 Fix the paths in grunt tasks (#643) 2019-10-08 12:46:53 +02:00
Miguel Serrano
fbd5e2a826 Delete aggregated error log (#117) 2019-10-08 11:54:49 +02:00
Shane Kilkelly
460d334d21 Copy logic from clsi entrypoint, to set permissions on docker.sock 2019-09-24 11:52:38 +01:00
Shane Kilkelly
f52a5aba99 Add migration for token prefix 2019-09-20 13:20:44 +01:00
Miguel Serrano
e5fb7c1ad2 Fixed misspelling in migration script (#641) 2019-09-18 14:11:34 +02:00
Miguel Serrano
436ba9cfb8 README beautification (#640) 2019-09-13 16:21:59 +02:00
Miguel Serrano
0da28dd924 Added migration script for User.emails (#639) 2019-09-13 13:57:37 +02:00
Miguel Serrano
bff8cf75e5 Added mongo healthcheck to docker-compose (#636) 2019-09-11 14:07:26 +02:00
Miguel Serrano
74ff4139ef Added ENABLE_CONVERSIONS environment variable (#635) 2019-09-11 13:08:02 +02:00
Miguel Serrano
4889e528ec Added docker compose override file for debugging (#634) 2019-09-10 17:13:25 +02:00
Miguel Serrano
fad5639f55 Added debugging support to services (#113) 2019-09-10 17:13:17 +02:00
Miguel Serrano
e5dacbdc74 Updated docker-compose.yml with new and missing properties for ServerPro 2.0 (#632) 2019-09-06 10:47:14 +02:00
Miguel Serrano
47eb3e4186 Override v1.url setting with "" instead of null (#112) 2019-09-06 10:37:03 +02:00
Miguel Serrano
d126eb7112 Updated settings with several fixes (#111) 2019-09-04 16:39:47 +02:00
Miguel Serrano
a818b1d427 Updated settings to serve minified assets (#110) 2019-09-03 11:36:39 +02:00
Miguel Serrano
34b01f94e4 Added minification to web compile script (#631) 2019-09-03 11:36:10 +02:00
Miguel Serrano
f100877eb7 Server Pro fixes (#109) 2019-08-22 16:57:26 +02:00
Miguel Serrano
1df1f17fc6 Run filestore with node6 (#108) 2019-08-20 10:50:23 +02:00
John Lees-Miller
9dc65ebc82 Update mailing list link 2019-08-15 10:55:25 +01:00
mserranom
1c931c347e reverted minification for web 2019-08-12 09:32:54 +00:00
mserranom
22477bc187 added minification for web 2019-08-08 16:11:43 +00:00
mserranom
803f920b55 addressed PR comments 2019-08-08 10:44:14 +00:00
mserranom
28772d6d25 added missing aspell languages 2019-08-07 08:52:55 +00:00
mserranom
2bf86d8ea7 Revive overleaf community 2019-08-07 08:47:05 +00:00
mserranom
1973fbddf1 removed nvm 2019-08-06 12:00:55 +00:00
mserranom
f06793b5b5 removed -x option in bash command 2019-08-06 12:00:43 +00:00
mserranom
3dbced021d fixed install-services and split install and compilation 2019-07-23 12:56:49 +00:00
mserranom
3c791751c1 updated node version 2019-07-23 12:56:25 +00:00
Henry Oswald
6ed76fdceb Update docker-compose.yml 2019-05-31 10:27:15 +01:00
Tim Alby
cae2dcfa5f update README
- change app name
- update copyright notice
- update links
- change authors
2019-05-07 19:29:46 +02:00
John Lees-Miller
98bc755b9f Update CLA and other links 2019-04-10 16:15:41 +01:00
John Lees-Miller
32546b0484 Remove travis build status icons 2019-04-01 08:25:50 +01:00
Shane Kilkelly
f8b3741292 remove bit from readme 2019-03-01 11:16:12 +00:00
Shane Kilkelly
9727c374b7 Update the readme with a short explanation of how this code works 2019-02-19 10:22:40 +00:00
Shane Kilkelly
5cb612f436 Merge pull request #570 from sharelatex/sk-unlisted-projects
add migration for token-based access indexes
2018-08-02 10:11:13 +01:00
Shane Kilkelly
1d1bf4a541 Fix whitespace 2018-08-02 10:10:19 +01:00
Henry Oswald
f888b90663 added example sandbox compiles mount 2018-05-02 16:07:23 +01:00
James Allen
79c1370640 Update CONTRIBUTING.md 2018-04-26 09:43:07 +01:00
Henry Oswald
5a2662e268 updated the docker compose file with working ldap example 2018-02-27 10:15:42 +00:00
Shane Kilkelly
fe31ec27f4 Merge branch 'master' of github.com:sharelatex/sharelatex-docker-image 2018-02-06 10:26:50 +00:00
Shane Kilkelly
56b2f641d2 Change launchpad location to github 2018-02-06 10:26:29 +00:00
Henry Oswald
4c891486f7 lockk down to latest versions of mongodb 2018-01-31 11:28:50 +00:00
Henry Oswald
5941090629 added npm shrinkwrap to fix mongodb native version change 2018-01-31 11:19:05 +00:00
Henry Oswald
9771a1dac1 fix mongo connect issue, .connect no longer exists on mongojs 2018-01-31 11:04:58 +00:00
Henry Oswald
a08a74b95c added track changes migration in again, we didn't add the setting
as a default before so needs 2nd migration
2018-01-26 09:46:35 +00:00
Henry Oswald
3970b5b4be added trackChanges into features 2018-01-26 09:43:43 +00:00
Henry Oswald
3b878001c2 Update docker-compose.yml 2018-01-25 11:34:29 +00:00
Shane Kilkelly
ad30a56f0a Pin version of simple-git 2018-01-22 14:47:00 +00:00
Shane Kilkelly
9091749448 Chown the sharelatex directory to www-data 2018-01-08 16:21:18 +00:00
Shane Kilkelly
04579ce503 Pin contacts to branch 'sk-update-mongojs' 2017-12-06 11:21:54 +00:00
Shane Kilkelly
8cae3f66c2 move contacts run file 2017-12-05 09:48:05 +00:00
Shane Kilkelly
e8078424ed add option to bypass percentage-based rollouts 2017-11-10 14:15:22 +00:00
Shane Kilkelly
775d9e56c3 Merge branch 'sk-unlisted-projects' 2017-11-10 14:13:17 +00:00
Shane Kilkelly
efe09aa885 Add token-access-refs indexes 2017-11-08 11:55:08 +00:00
Shane Kilkelly
008d052862 add migration for token-based access indexes 2017-11-08 09:59:08 +00:00
Rico
8dd61c9d53 Fix typo in error log filename 2017-10-23 14:46:37 +02:00
Shane Kilkelly
1b76a0e7c3 Add setting to enable anonymous read-write sharing 2017-10-18 13:28:13 +01:00
Shane Kilkelly
d13fbe4c48 Pin to latest base image 2017-09-08 09:09:42 +01:00
Shane Kilkelly
d14d5002ab Remove un-used package import 2017-09-08 09:06:48 +01:00
Shane Kilkelly
d11b11222b update bson api in migration 3 2017-09-07 15:27:28 +01:00
Shane Kilkelly
34158a00dd depend on bson explicitely 2017-09-07 13:23:18 +01:00
Shane Kilkelly
83d13e3ef7 Merge pull request #79 from sharelatex/sk-allow-explicit-ses-email-config
add the driver field to email config
2017-09-07 10:21:08 +01:00
Shane Kilkelly
575869142c Add grunt install command to install-services 2017-09-06 13:37:34 +01:00
Shane Kilkelly
fd71cd3c0a Add call to install-services 2017-09-06 11:16:12 +01:00
Shane Kilkelly
4adf7378e2 Merge pull request #559 from sharelatex/sk-node-6
Update to node6
2017-09-06 10:51:38 +01:00
Shane Kilkelly
93b8a9b13d Fix the doc lines migration.
- The bson module changed at some point, update to new api
2017-09-06 09:56:44 +01:00
Shane Kilkelly
458b0d1256 Update to node6.
- update nvmrc file
- update mongojs dependency (for migrations)
2017-09-05 15:33:32 +01:00
Shane Kilkelly
c63753f9f0 Add warning when NVM is not present 2017-09-05 15:26:40 +01:00
Shane Kilkelly
2ca8dc903b Suppress verbose output from type command. 2017-09-04 15:57:13 +01:00
Shane Kilkelly
e591df91f5 check for nvm presence before using, survive abscence 2017-09-04 15:40:27 +01:00
Tom
69e145653c Merge pull request #2 from tomcoombs87/patch-3
tiny typo
2017-08-05 22:43:00 +01:00
Tom
b0dce93a24 tiny typo 2017-08-05 22:33:16 +01:00
Tom
79b54adfd8 removed a space to fix broken wiki link 2017-08-05 22:00:33 +01:00
tomcoombs87
65247bd8ab fixed a typo 2017-08-05 20:09:55 +01:00
Shane Kilkelly
ff99e226bc Update texlive path 2017-08-02 09:45:08 +01:00
Shane Kilkelly
bcd1c7c4d6 Update the node distro 2017-08-02 08:42:30 +01:00
Hayden Faulds
71927c97f1 add logging to install-services script 2017-07-31 13:36:37 +01:00
Hayden Faulds
2405b80e45 add postinstall message explaining how to use bin/install-services 2017-07-31 13:36:18 +01:00
Hayden Faulds
230fe00c48 replace grunt service initialisation with bash script 2017-07-27 15:39:22 +01:00
James Allen
5f509a9413 Create ISSUE_TEMPLATE.md 2017-07-25 14:25:56 +01:00
Shane Kilkelly
0c65c4d963 add the driver field to email config 2017-06-21 10:59:19 +01:00
James Allen
8090e5fca1 Update migration script for holding accounts to migrate group invites 2017-06-14 17:03:05 +01:00
Shane Kilkelly
4b46a4e655 Refactor 2017-05-19 08:32:34 +01:00
Shane Kilkelly
d5fa1401a1 Ensure bcrypt gets installed 2017-05-18 13:08:55 +01:00
Shane Kilkelly
b52028c7bb Add realtime config and websessions to redis 2017-05-18 10:55:41 +01:00
Shane Kilkelly
f7a2d60c44 Update redis configs to accomodate recent changes 2017-05-17 15:29:01 +01:00
Shane Kilkelly
48e4f32745 Add migration to enable trackChanges for all users 2017-05-17 14:23:55 +01:00
Shane Kilkelly
25d21cbf29 Add trackchanges.continueOnError as default 2017-04-05 14:48:36 +01:00
James Allen
930aa9c572 Don't find holding accounts with a hashed password 2017-03-24 13:46:31 +00:00
James Allen
ba3333303c More loggin 2017-03-23 11:56:46 +00:00
James Allen
51dd24574a Improve logging 2017-03-23 11:50:46 +00:00
James Allen
303dcba51b Address Henry's comments about robustness 2017-03-23 11:34:45 +00:00
Shane Kilkelly
b30b100dca Pin to sharelatex-base:v1.0.0 2017-02-27 15:46:28 +00:00
Shane Kilkelly
d1a73c5600 Add docHash to key_schema 2017-02-23 09:47:11 +00:00
Shane Kilkelly
f31b9d3a7d Set baseDir var 2017-02-22 09:48:34 +00:00
Shane Kilkelly
618c271039 Add a makefil 2017-02-22 09:23:01 +00:00