Commit graph

727 commits

Author SHA1 Message Date
Miguel Serrano
976e0d5e8f [CE] Set Phusion Image timeouts in Dockerfile (#11785)
GitOrigin-RevId: 6ce852e44093d44e66d9f394c6ef4ef9d88d1373
2023-02-10 16:33:50 +00:00
Jakob Ackermann
4e885da597 Merge pull request #11782 from overleaf/jpa-server-ce-history-s3
[server-ce] s3 settings for history-v1

GitOrigin-RevId: 51d5c6b3a67339b126ccbaa61d78f3cd36377e79
2023-02-10 16:33:43 +00:00
Jakob Ackermann
c7f03c1b23 Merge pull request #11783 from overleaf/jpa-fix-server-ce-history
[server-ce] fix bucket locations for history-v1

GitOrigin-RevId: a1709a72438d0cf36fa8679d90f6322c24d97fc7
2023-02-10 16:33:36 +00:00
Jakob Ackermann
9cf1373777 Merge pull request #11769 from overleaf/jpa-s3-config
[server-ce] add support for s3 backend in filestore

GitOrigin-RevId: 20998547326e75acf22562d2964db78ae261b6bf
2023-02-10 09:12:23 +00:00
Tim Down
7c7f8c1573 Merge pull request #11733 from overleaf/msm-close-site-sp-shutdwn
[CE/SP] close site on shutdown before flushing

GitOrigin-RevId: e36c80f2f4c6f10eda3a536319a2fcc5dfda4fa4
2023-02-09 09:07:07 +00:00
Miguel Serrano
909bb99b9f [CE/SP] Flush redis on docker stop (#11714)
* [CE/SP] Flush redis on `docker stop`

* Extracted `limit` to variable

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

* Increased logging

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 4bcb4e70988337369acca0e80f243609bd6323ed
2023-02-09 09:06:37 +00:00
Miguel Serrano
064e5c9222 Merge pull request #11682 from overleaf/msm-fph-opt-in-sp
[CE/SP] Full Project History opt-in in SP

GitOrigin-RevId: 850268b78e912550dbf9d36e61ee83c7e75e4647
2023-02-07 09:55:29 +00:00
Miguel Serrano
b67c3fabaa Merge pull request #11628 from overleaf/msm-history-migration-tmp-path
[CE] move history migration paths to `tmp`

GitOrigin-RevId: e24e1d3d7f3a26fa2f4db9c9abd262745f9e7778
2023-02-02 18:23:16 +00:00
Jakob Ackermann
8d3bc8422e Merge pull request #11597 from overleaf/jpa-server-ce-nginx-keepalive
[server-ce] nginx: make keepalive_timeout configurable

GitOrigin-RevId: 3a0bb049b57f0a4ee065c86463fd6300d97934c7
2023-02-02 18:22:01 +00:00
Miguel Serrano
d9b851fb9e Merge pull request #11538 from overleaf/msm-crontab-permission
[CE] changed `crontab` permissions to `600`

GitOrigin-RevId: 38e145fe0d15cc1859096232bd8754e81726be2d
2023-01-31 10:35:16 +00:00
Miguel Serrano
c3889f8856 Merge pull request #11528 from overleaf/msm-history-data-ce
[CE] Add `path.projectHistories` to `settings.js`

GitOrigin-RevId: 97c249153baed793fff0fd564a9a75efdd6b2d32
2023-01-30 11:32:24 +00:00
Miguel Serrano
28c9c32e1b Merge pull request #11448 from overleaf/msm-sp-cron
[CE/SP] `cron` jobs for Full Project History

GitOrigin-RevId: 1f52bd4baaed5856193cd3babfe2c95865b25cf8
2023-01-26 11:39:16 +00:00
Miguel Serrano
4a84922a2f Merge pull request #11346 from overleaf/msm-config-history-v1-sp
Configuration changes for FPH in CE/SP

GitOrigin-RevId: 990eb0fa6158d4815740413da085759d2cc5e231
2023-01-20 14:13:46 +00:00
Miguel Serrano
e5858f53ed Merge pull request #11300 from overleaf/msm-ce-fph
Setup Full Project History services for CE/SP

GitOrigin-RevId: 96e3a5996d1fdc1d396862b6ab430d315dca3320
2023-01-18 15:09:44 +00:00
Miguel Serrano
9fc27e435f Merge pull request #10876 from overleaf/msm-rebuild-base-image
[CE/SP] Add step to reinstall `baseimage` dependencies

GitOrigin-RevId: 98709d9ae468cf5f51bdaf4e9cbd90c504a8f908
2022-12-13 09:04:47 +00:00
Miguel Serrano
57e5c38c8d Merge pull request #10641 from overleaf/jpa-fix-passport-saml-authn-context
[server-pro] fix parsing of authnContext in passport-saml options

GitOrigin-RevId: c02ad92caff5d6ccff1fff70e5ccefb08154e624
2022-12-13 09:03:46 +00:00
Jakob Ackermann
76ca91b0ba Merge pull request #10469 from overleaf/jpa-server-pro-hotfix-3-3-2
[server-pro] hotfix 3.3.2: migration for convert_archived_state script

GitOrigin-RevId: 7b8c83a453e3b0a82f9ae7ca71ca6a40475731df
2022-11-16 09:03:56 +00:00
Jakob Ackermann
435575ff9c Merge pull request #10016 from overleaf/jpa-status-page-url
[server-ce] settings: read statusPageUrl from environment variable

GitOrigin-RevId: bd9c69d00a065b92c6755137c3f694cd191ab0d1
2022-10-19 08:04:43 +00:00
Timothée Alby
1ae3061f16 Merge pull request #9972 from overleaf/jpa-fix-rate-limited-output-download
[server-ce] serve output files via nginx

GitOrigin-RevId: 0ba3b27f85f928b1d95646e663dfa42a22a9f832
2022-10-18 08:03:09 +00:00
Miguel Serrano
5870f4ce0a Merge pull request #9666 from overleaf/msm-hotfix-3_2_2
[CE/SP] Hotfix 3.2.2

GitOrigin-RevId: a2170072687cd74925d315f088c8614967b5025a
2022-09-20 08:04:48 +00:00
Alf Eaton
c41c14c697 Remove deprecated grunt code (#9506)
GitOrigin-RevId: 2b19d73c593545aaa9f6eb88143d08c5df39a1be
2022-09-16 08:05:37 +00:00
Alf Eaton
127e8fe2b0 Add libwww-perl to dependencies (#9425)
GitOrigin-RevId: 3da7bd402ec25b8af34c8a8f0705fac104b8ffc1
2022-09-02 08:04:20 +00:00
Miguel Serrano
b449107411 Merge pull request #9415 from overleaf/msm-ce-sp-hotfix-3_2_1
[CE/SP] Hotfix 3.2.1

GitOrigin-RevId: d1c89f40b00e0d648e7f8d76083605cb29aca59e
2022-08-29 08:04:47 +00:00
Alf Eaton
85e2ec0f8c Merge pull request #9156 from overleaf/ae-server-ce-cypress
Prevent Cypress binary download when building Server CE Docker image

GitOrigin-RevId: 8438dabef844a7251192b76078e677f25b00c0d0
2022-08-09 08:02:44 +00:00
Alf Eaton
cb1af54428 Remove vendored envsubst from Server CE/Pro (#9096)
GitOrigin-RevId: f7a468a8486c07098d75aac9625dbe0763d616fc
2022-08-08 08:04:39 +00:00
Alf Eaton
bb8ad57a9d Merge pull request #9088 from overleaf/ae-dockerfile-spell-check-languages
Add missing spell check languages to Server CE/Pro

GitOrigin-RevId: 79c9b5b4a5d3ba70816cb1fd156379618903d892
2022-08-08 08:03:59 +00:00
Miguel Serrano
ab4a01f15b Merge pull request #8996 from overleaf/msm-ce-sp-hotfix-3-1-1
[CE/SP] Hotfix 3.1.1

GitOrigin-RevId: f1c3feb17e90f9cd1050b7a2b4ad18e7db9a8ed3
2022-08-04 08:04:18 +00:00
Alf Eaton
106411085f Merge pull request #8930 from overleaf/ae-verify-texlive
Verify the TeX Live installer

GitOrigin-RevId: 8b6ce1820930da4250e69d5b857c41a3cb55442c
2022-07-22 08:03:27 +00:00
Alf Eaton
ed67590cc9 Merge pull request #7901 from overleaf/ae-tlmgr-path
Use `tlmgr path add` for TeX Live binaries

GitOrigin-RevId: fa80915c036000eebd22f8e2e07f12f2505e624b
2022-07-22 08:03:19 +00:00
Alf Eaton
dd3a349907 Merge pull request #8929 from overleaf/ae-server-ce-phusion-baseimage
Upgrade phusion/baseimage from focal-1.0.0 to focal-1.2.0

GitOrigin-RevId: 5b0330a992ada198ec1e07161e65c23bcd366bf5
2022-07-22 08:03:13 +00:00
Alf Eaton
9884cc8c76 Merge pull request #8927 from overleaf/ae-server-ce-npm-version
Remove npm v7 install from server-ce Dockerfile

GitOrigin-RevId: be980547d134dc383518f4bd88165afbae7543d7
2022-07-22 08:03:06 +00:00
Jakob Ackermann
48582bcdc9 Merge pull request #8793 from overleaf/jpa-fix-permissions
[server-ce] init: ensure clsi output dir exists with correct ownership

GitOrigin-RevId: ff1c7827c1b44c480dc9027c53a2e67f2527cc7f
2022-07-11 08:04:30 +00:00
Miguel Serrano
7795b1c6b3 Merge pull request #7910 from overleaf/msm-ce-base-image-node-16
[CE] Update node to v16

GitOrigin-RevId: 7e67ab70e097fb5004b4709b5570bb65bafa303c
2022-05-12 10:40:36 +00:00
Alf Eaton
353813ce23 Fix lint issues (#7428)
GitOrigin-RevId: bce6060c597ae9b51a01b849f405c8f7a23b6747
2022-04-11 08:03:23 +00:00
Jakob Ackermann
1b723b9cda Merge pull request #7438 from overleaf/jpa-learn-nav-bar
[server-ce] settings: inject entry for learn wiki into navbar if needed

GitOrigin-RevId: a3e51dce6a3de99ac069b4fef13ac8d9f723df47
2022-04-07 09:57:15 +00:00
Jakob Ackermann
bac5cb3150 Merge pull request #7432 from overleaf/jpa-faster-ce-builds
[server-ce] cloudbuild: give the build a bigger box to run webpack in

GitOrigin-RevId: 99f69912031aa2b2b12f3c409ea654d95b29c191
2022-04-07 09:57:08 +00:00
Jakob Ackermann
e82a053c85 Merge pull request #6614 from overleaf/jpa-msm-separate-admin-app
[misc] move admin capability from www. to admin. subdomain

GitOrigin-RevId: e0daeacf3c06b856ffb9fd35dce76e71f14e8459
2022-04-05 12:18:24 +00:00
Miguel Serrano
f5654e94c6 Merge pull request #7126 from overleaf/msm-fix-saml-meta
Fixed incorrect signing cert for SAML metadata

GitOrigin-RevId: 236e6b8f4dd6b779f4fff4b85ee1ae28c6aaf696
2022-03-24 14:58:58 +00:00
Miguel Serrano
8d1e4ce200 Merge pull request #6829 from overleaf/msm-remove-ce-workdir
[serve-ce] remove final WORKDIR statement

GitOrigin-RevId: 6e243a814409adba8c3bacfd99400f537f301e25
2022-02-18 12:41:18 +00:00
Jakob Ackermann
ae0c347f27 Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces
[misc] npm workspaces

GitOrigin-RevId: 87aa72db6637fb238d7cd35b0a48ac3ed58ab3eb
2022-02-16 11:31:07 +00:00
Jakob Ackermann
d5dd92c034 Merge pull request #6567 from overleaf/jpa-server-ce-pro-layout
[misc] align directory layout of server-ce/pro with production docker images

GitOrigin-RevId: d3e6b9f8793e83df59f86105d511c6fb87c3eea3
2022-02-02 09:03:33 +00:00
Eric Mc Sween
d069da46ae Merge pull request #6541 from overleaf/ms-em-server-ce-image-selector
Never show the TeX Live image selector in CE

GitOrigin-RevId: e41724a1c7cf089c214aa1cd6584035f20281576
2022-02-01 09:03:41 +00:00
Christopher Hoskin
cf4269d4ee Merge pull request #6221 from overleaf/ae-web-port
Change web port to 3000 in dev environment

GitOrigin-RevId: 8e9af8fa5e1a35c2c9089d4e9cbf744634cc4e85
2022-01-12 09:03:47 +00:00
Jakob Ackermann
4b308553be Merge pull request #6120 from overleaf/jpa-same-linting-packages
[misc] move the linting setup to the root of the monorepo

GitOrigin-RevId: 1633e2a58598add0b727738cd3bfba0ab7bae781
2021-12-17 09:03:06 +00:00
Jakob Ackermann
2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14
[misc] upgrade node version from 12 to 14

GitOrigin-RevId: 15c465c7bb5e42b0c71e2dedb09cf4fe9f1d8ec6
2021-11-19 09:02:56 +00:00
Jakob Ackermann
03b4e02c0f Merge pull request #5381 from overleaf/jpa-sqlite-cleanup
[misc] cleanup some more references following the removal of sqlite

GitOrigin-RevId: db5db9c0e2ba2557b11d64f65fdb5db1dcd2ec74
2021-10-28 08:03:54 +00:00
Brian Gough
43c381e4d5 Merge pull request #5552 from overleaf/bg-node-upgrade-other
upgrade node to v12.22.7 (other services)

GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
2021-10-26 08:03:13 +00:00
Miguel Serrano
cbe62ccfa4 Update CE/SP base image to phusion focal-1.0.0 (#5502)
GitOrigin-RevId: c87acddcdad22e0b5f5fbe28f6c57e13629a9cdd
2021-10-22 08:03:13 +00:00
CNOCycle
fb51388f71 correct PHONY target in Makefile (#5434)
COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/967 from CNOCycle:CNOCycle-patch-1 d5278c9b71

Co-authored-by: CNOCycle <github@marginalman.org>
GitOrigin-RevId: 8aa48e4f617c2fdd689442fb959c9a856fc3b859
2021-10-14 08:03:30 +00:00
Jakob Ackermann
603698ed32 Merge pull request #5163 from overleaf/jpa-fix-server-ce-pro
[misc] set NODE_ENV=production for server-ce/server-pro

GitOrigin-RevId: dadedbcffb91d467ff93d501bb458448ad3b8dbf
2021-09-22 08:03:47 +00:00
Miguel Serrano
4ee76cf2b4 CE/SP hotfixes 2.7.1 and 3.0.1 (#5046)
Removes `/disconnectAllUsers`, that was exposed to all users
Fixes broken image when `ENABLE_CONVERSIONS` is set to `false`

GitOrigin-RevId: 6ef04e1bff91ac46d3587075328bba2636bb23e2
2021-09-17 08:03:27 +00:00
Eric Mc Sween
9ee92daea3 Merge pull request #4893 from overleaf/em-synctex
Use the synctex distributed with TeX Live

GitOrigin-RevId: 5a133f21f48fd1e217ab463e8cb2a5cdec8be1af
2021-09-07 16:26:17 +00:00
Brian Gough
58286384af Merge pull request #4831 from overleaf/bg-move-history-id-cache-to-redis
move history id cache to redis

GitOrigin-RevId: 19d29205049eb97a7b60cdb8de07c4518ad3d90d
2021-08-23 11:30:57 +00:00
Jakob Ackermann
9c86e14462 Merge pull request #4835 from overleaf/jpa-server-ce-fix-public-build
[server-ce] fix dir parameters in public cloudbuild pipeline

GitOrigin-RevId: bb8feb50783257d7ba4fb88a34f7a85376893374
2021-08-23 08:02:48 +00:00
Jakob Ackermann
60d1483150 Merge pull request #4829 from overleaf/jpa-terraform-no-inline
[terraform] rework inline triggers into cloudbuild.yaml based ones

GitOrigin-RevId: 6f1920c7ceffd1c8c375cbb9fba98aa8f729b877
2021-08-20 08:03:58 +00:00
Jakob Ackermann
2ce94153d4 Merge pull request #4734 from overleaf/jpa-server-ce-build
[misc] build the server-ce image from a local copybara synced repo

GitOrigin-RevId: 8e037668cdd2894e3fe909ec0da62f77e1f4c4d7
2021-08-17 08:03:11 +00:00
Copybot
a83be41adb Merge pull request #944 from overleaf:jpa-copybara-take-3
GitOrigin-RevId: 702c23e844e2ff41afa3505a014024f7df292d29
2021-08-17 08:03:06 +00:00
Jakob Ackermann
c05e47fa79 Merge pull request #4763 from overleaf/jpa-copybara-no-close
[copybara] do not close the public PR when merging the internal PR

GitOrigin-RevId: f2979a0c99f76a99fc3a3d86a7f6522da1999f15
2021-08-17 08:02:59 +00:00
Jakob Ackermann
b85cc59a6a
[misc] bump nvm version for server-ce/ to 12.22.3 2021-08-16 09:11:54 +01:00
Jakob Ackermann
6aa9882a1c Merge remote-tracking branch 'dev-env/jpa-monorepo' into main
GitOrigin-RevId: 9128e3b9c9e05476356045697667df2ca3b3cf25
2021-08-05 08:03:43 +00:00
Shane Kilkelly
5ccf34aec5 Merge pull request #916 from overleaf/sk-new-migrations
Add init script to run migrations from web
2021-07-21 11:54:26 +01:00
Jakob Ackermann
5c3404b4e5 Merge pull request #917 from overleaf/jpa-create-user
[misc] bin/grunt: keep up with changes to create-admin script
2021-07-20 14:07:27 +02:00
Jakob Ackermann
f0bd9941dd [misc] bring back old schema of revision.txt
- store in /var/www/revision.txt
- prefix each line with the services directory
2021-07-16 15:31:53 +01:00
Jakob Ackermann
90610acb59 [misc] bin/grunt: keep up with changes to create-admin script 2021-07-15 15:09:54 +01:00
Shane Kilkelly
510b678dc6 Add init script to run migrations from web 2021-07-15 13:16:53 +01:00
Jakob Ackermann
77cd7690fb [misc] move server-ce scripts into a module in web 2021-07-13 17:03:14 +01:00
Jakob Ackermann
afe2c9934d [misc] work around broken 'npm ci --only=production' 2021-07-13 09:13:04 +01:00
Jakob Ackermann
ac1eb8fb50 [misc] goodbye grunt 2021-07-12 17:25:44 +01:00
Miguel Serrano
adf3420c91 Renamed SAML setting privateCert -> privateKey
Required by `passport-saml` update to 3.x
2021-07-09 16:52:26 +02:00
Jakob Ackermann
a8ca0a896f [misc] fix listing of services for bin/ scripts 2021-07-08 11:19:13 +01:00
Jakob Ackermann
859252696b [misc] drop coffee-script imports 2021-07-08 11:19:13 +01:00
Jakob Ackermann
faca804fc1 [misc] upgrade settings module to v2 2021-07-08 11:19:13 +01:00
Jakob Ackermann
42b680c7c7 [misc] update references to decaffeinated coffee-script files 2021-07-08 11:19:13 +01:00
Jakob Ackermann
6c6335ce98 [misc] do not set SHARELATEX_CONFIG in run scripts 2021-07-08 11:19:13 +01:00
Jakob Ackermann
763e25fbdf [misc] delete commented ProjectSize task 2021-07-08 11:19:13 +01:00
Jakob Ackermann
d7c641eaf7 [misc] run format:fix 2021-07-08 11:19:13 +01:00
decaffeinate
d812c86c51 decaffeinate: Run post-processing cleanups on coffee files 2021-07-08 11:19:13 +01:00
decaffeinate
efd16d99d6 decaffeinate: Convert coffee files to JS 2021-07-08 11:19:00 +01:00
decaffeinate
d152a79810 decaffeinate: Rename coffee files from .coffee to .js 2021-07-08 11:18:47 +01:00
Jakob Ackermann
8f1da35bef [misc] setup eslint and prettier and fix any errors 2021-07-08 11:16:04 +01:00
Shane Kilkelly
c8dcf853bc Remove migrations
These will be replaced by migrations in the web project
2021-07-08 10:08:34 +01:00
Jakob Ackermann
aa5a9b0e65 [perf] use npm ci --only=production for all but web 2021-07-07 14:46:25 +01:00
Jakob Ackermann
d6928bc7fc [perf] use npm ci 2021-07-07 14:46:20 +01:00
Jakob Ackermann
984eb3bf2d [perf] use docker layer caching from previous build 2021-07-07 14:46:13 +01:00
Rainshaw
05885efe93 fix nginx conf (#896)
* fix nginx conf
2021-06-24 17:12:46 +02:00
Rainshaw
35b414b624 fix redis config (#895)
* fix redis config when using redis on host machine without password auth
2021-06-15 12:51:25 +02:00
John Lees-Miller
acf603993b Fix some old README links
Some of these were redirects / inconsistent. Also clarify wording for SP link.
2021-06-14 11:57:40 +01:00
Miguel Serrano
00b6f09466 Hotfix 2.6.2 (#888) 2021-05-20 10:59:43 +02:00
John Lees-Miller
2045ae02d1 Make it clear that the screenshot is Server Pro 2021-05-13 15:00:07 +01:00
Miguel Serrano
e63b285487 hotfix 2.6.1 (#875) 2021-04-21 13:13:47 +02:00
Jakob Ackermann
507548d661 [migrations] fix index creation (#871) 2021-04-14 12:54:46 +02:00
Jakob Ackermann
3f7f2d5ced [migrations] open source newly added indexes (#870) 2021-04-13 21:50:32 +02:00
Miguel Serrano
9748c44219 Updated base image to Node 12 (#865) 2021-04-07 15:20:51 +02:00
Shane Kilkelly
41c2f08288 Add the new outputDir setting for CLSI (#862)
Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
2021-04-07 15:20:19 +02:00
Shane Kilkelly
cff06473ce Expose new smtp vars: 'name', and 'logger' (#854)
Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
2021-04-07 15:19:17 +02:00
Shane Kilkelly
f849b94005 Variables in Nginx configuration (#853)
* Add envsubst binary to image

* Generate nginx.conf from template, with env-vars

* Remove nginx.conf, now generated from template

* Reload nginx config after writing file

Co-authored-by: Shane Kilkelly <shane.kilkelly@overleaf.com>
2021-04-07 15:19:06 +02:00
Miguel Serrano
1540d1b891 Added SHARELATEX_SAML_DECRYPTION_CERT environment variable (#860) 2021-03-31 11:11:23 +02:00
Christopher Hoskin
065c6870e6 Update passport-saml URLs 2021-03-19 09:53:18 +00:00
Miguel Serrano
7e518a4b05 Added configurable AWS region to email settings (#847) 2021-03-02 17:29:12 +01:00
Josh Soref
a0e7ea16d2 Fix spelling errors (#823) 2021-03-02 10:35:40 +01:00
Miguel Serrano
2594122fef Hotfix 2.5.2 (#831) 2021-01-25 13:08:04 +01:00
Jakob Ackermann
1d8ed4bb23 [hotfix] produce version 2.5.1 with fixes for log rotation 2021-01-14 10:33:37 +00:00
Miguel Serrano
5584ed78ad msm-change-logrotate-permissions (#827) 2021-01-14 11:23:29 +01:00
Jakob Ackermann
89fe7ca11a [init_scripts] delete old logs of the contacts service 2021-01-12 10:16:09 +00:00
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