Commit graph

20614 commits

Author SHA1 Message Date
Christopher Hoskin
3635e4b4f1 Use variables for Makefile tagging 2020-04-15 15:11:31 +01:00
Simon Detheridge
3637cd70ae Add support for redirecting to signed URLs 2020-04-15 12:22:54 +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
e3bd6951cf Merge pull request #2735 from overleaf/jpa-try-ws-fallback-on-missing-js
[frontend] ConnectionManager: use fallback backend on missing js blob

GitOrigin-RevId: cd5acf17c67d7fd94641411842f31a17942f1385
2020-04-15 03:15:28 +00:00
Timothée Alby
e54618e7de Merge pull request #2739 from overleaf/ns-jpa-project-count
Ensure trashed project are not counted in uncategorized count

GitOrigin-RevId: 0d25ee0bb4fe08c68a83e72536edb9a92f058533
2020-04-15 03:15:22 +00:00
Timothée Alby
dba294377c Merge pull request #2736 from overleaf/cmg-ns-set-root-doc
Ensure setRootDoc settings persist

GitOrigin-RevId: 76b7633719b4193dbd70ada98f2889730803b583
2020-04-15 03:15:17 +00:00
Timothée Alby
ffe46658f6 Merge pull request #2734 from overleaf/ta-texlive-version-select
Make TeX Live Version Select Available To All Users

GitOrigin-RevId: 8209f2c3590f56296e916f104c7443f8ada3fc71
2020-04-15 03:15:12 +00:00
Brian Gough
9639fbf232 Merge pull request #2737 from overleaf/bg-split-editor-events-metric
split metric for editor events by message type

GitOrigin-RevId: 832b0abf8582138c05b786dcf9114dcdb3a63b91
2020-04-15 03:15:07 +00:00
Henry Oswald
acbfc465dc add variance into shutdown time to avoid stampeed 2020-04-14 13:36:11 +01: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
Jakob Ackermann
825d0701e8 Merge pull request #2742 from overleaf/jpa-hotfix-user-lookup
[UserPagesController] block arbitrary user lookups

GitOrigin-RevId: 4d88abbd0ad14289a73e7f502c0686f206617459
2020-04-14 03:19:24 +00:00
Jakob Ackermann
cb9e9321f0 [DockerRunner] fix metric incrementing and error logging
- do not log on first EPIPE
- inc 'container-inspect-epipe-error' on permanent error only

Co-Authored-By: Tim Alby <timothee.alby@gmail.com>
2020-04-10 14:44:57 +02:00
Tim Alby
ecaa7035f5 add metrics for EPIPE errors
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-10 12:28:48 +02:00
Tim Alby
e3b1472c7f retry once on EPIPE errors
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-10 12:28:11 +02:00
Tim Alby
66447211d0 fix arguments order
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-10 12:27:15 +02:00
Simon Detheridge
0586f4d682 Merge pull request #2714 from overleaf/cmg-jpa-call-stack-exceeded
Stop call stack from being exceeding when adding many files

GitOrigin-RevId: 1983b0c16cb279c6f173f614d541d16852664e24
2020-04-09 03:21:38 +00:00
Simon Detheridge
61e338fa7d Merge pull request #2727 from overleaf/jel-td-allowed-style-attribute
Allow style attribute on td

GitOrigin-RevId: 2886f5fdfed2d7b225e3f2e827a9313237a59ab0
2020-04-09 03:21:33 +00:00
Simon Detheridge
0099032963 Merge pull request #2732 from overleaf/ho-metrics-web-api
add metrics route to web api

GitOrigin-RevId: 7a39228d864545e4423d2c0c38ab0f16d495cf86
2020-04-09 03:21:27 +00:00
Simon Detheridge
117cd59b40 Merge pull request #2728 from overleaf/jpa-ns-handle-422-when-adding-email
Improve error messaging if user adds affiliation that doesnt match domain matcher

GitOrigin-RevId: 12c21c611c6a826ee7e41cc87613913aa58ac13e
2020-04-09 03:21:21 +00:00
Simon Detheridge
0d442af07d Merge pull request #2733 from overleaf/ta-affiliations-space
Add Missing Space in Affiliation UI

GitOrigin-RevId: 8a9db0b410836ebd67dc3a48cdb06ba4924824b1
2020-04-09 03:21:15 +00:00
Shane Kilkelly
7ec7237f17 Merge pull request #2716 from overleaf/em-promisify
Promisify FileSystemImportManager

GitOrigin-RevId: 8f89492872c94a596afbfa644e5f2b985eb65a28
2020-04-09 03:21:09 +00:00
Shane Kilkelly
fd092ee2ad Merge pull request #2726 from overleaf/as-improve-sentry-reporting
Improve sentry reporting and ignore very noisy error

GitOrigin-RevId: fb31c11eeb4bd9f5d231b5b3148e44a3cc4263eb
2020-04-09 03:21:03 +00:00
Shane Kilkelly
cc34a1b867 Merge pull request #2715 from overleaf/ta-remove-log
Remove Useless and Broken Logging

GitOrigin-RevId: 9583d7c37df287115da62f7b5090340ce8a01208
2020-04-09 03:20:57 +00:00
Shane Kilkelly
92fb6b2f2d Merge pull request #2723 from overleaf/jpa-fix-scope-in-error-handler
[misc] frontend: ide error reporting handler: fix scoping for socket

GitOrigin-RevId: bd9d169191bdf1b6b50805e9564cf50851ad3279
2020-04-09 03:20:51 +00:00
Shane Kilkelly
d6bd911a6e Merge pull request #2720 from overleaf/sk-remove-nodemailer-sendgrid
Remove nodemailer sendgrid

GitOrigin-RevId: af84dd78291957371d679de43bc4570960a7b635
2020-04-09 03:20:45 +00:00
nate stemen
a10c60c878 Merge pull request #2731 from overleaf/as-polyfill-symbol
Fix broken IE by polyfilling Symbol

GitOrigin-RevId: af2720c3c2e062aac52a5951a5e0a880ab7a3a73
2020-04-08 03:14:41 +00:00
Timothée Alby
dea9730503 Merge pull request #2694 from overleaf/ta-jl-otp
Two Factor Authentication for Staff

GitOrigin-RevId: 7028e93cb4a4cd88c138a52b0528817056b930d9
2020-04-08 03:14:35 +00:00
Miguel Serrano
11e7f7d60e Fixed compile scripts for non-coffee modules (#717) 2020-04-07 16:17:51 +02:00
Brian Gough
f4b17ebbad Merge pull request #125 from overleaf/bg-add-queue-metrics
add metric for pendingUpdates queue
2020-04-07 11:56:58 +01:00
Brian Gough
5c28da1031 add metric for pendingUpdates queue 2020-04-07 11:53:54 +01:00
Brian Gough
d4d7f4ed68 Merge pull request #122 from overleaf/jpa-pub-sub-metrics
[misc] track redis pub/sub payload sizes on publish
2020-04-07 11:49:57 +01:00
Brian Gough
5765884f38 Merge branch 'master' into jpa-pub-sub-metrics 2020-04-07 11:46:23 +01:00
Ersun Warncke
9057703531 Revert "Revert "only include recaptcha v2 on pages that use it""
This reverts commit a56afbdbbb749975b7e7f9cd47e0a7b2b784e75b.

GitOrigin-RevId: 9f3c029d9c4d9c3811e525ec1b6d8bf39ced4945
2020-04-07 03:18:51 +00:00
Alasdair Smith
bc1b73d74e Merge pull request #2515 from overleaf/as-transform-absolute-paths
Transform absolute paths in frontend to relative

GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
2020-04-07 03:18:45 +00:00
Brian Gough
a6bee0c16a Merge pull request #127 from overleaf/bg-add-queue-metrics
add queue throughput metrics
2020-04-06 13:56:36 +01:00
Brian Gough
55cbfd9962 Merge branch 'master' into bg-add-queue-metrics 2020-04-06 12:12:12 +01:00
Brian Gough
c095feaa06 upgrade logger-sharelatex 2020-04-06 10:43:53 +01:00
Brian Gough
beb3691795 add metrics for redis get/update 2020-04-06 10:00:48 +01:00
Simon Detheridge
2b9b165d72 Merge pull request #114 from overleaf/spd-fastcrc
Add fast-crc32c library
2020-04-03 17:12:03 +01:00
Simon Detheridge
cd8d4445c0 Merge pull request #115 from overleaf/em-request-logger-hotfix
Fix error handler returning two responses
2020-04-03 17:09:41 +01:00
Simon Detheridge
256cebf7a7 Add fast-crc32c library 2020-04-03 17:06:41 +01:00
Eric Mc Sween
003d54e8f0 Fix error handler returning two responses
The error handler mistakenly sent two responses on error, the first
being a 200.
2020-04-03 11:57:33 -04:00
Simon Detheridge
63907e0170 Merge pull request #113 from overleaf/spd-stream-debugging
Ensure streams are drained when a pipeline fails
2020-04-03 14:06:55 +01:00
Jakob Ackermann
6a615d50d3 Merge remote-tracking branch 'origin/master' into jpa-entry-point-cleanup 2020-04-03 14:05:36 +02:00
Jakob Ackermann
c700a0ab9d Merge pull request #159 from overleaf/jpa-fix-docker-modem-error-scheme
[misc] keep up with the error signature of dockerode/docker-modem
2020-04-03 14:04:06 +02:00
Jakob Ackermann
bb9e8bb6f5 Merge pull request #157 from overleaf/jpa-download-failed-metric
[misc] add a metric for failing downloads
2020-04-03 14:03:16 +02:00
Jakob Ackermann
3b10f80adb Merge pull request #156 from overleaf/jpa-logger-1-9-1
[misc] bump logger-sharelatex to 1.9.1
2020-04-03 14:03:04 +02:00
Jakob Ackermann
101c4ea4dc [misc] use a directory in /tmp for temporary data 2020-04-03 12:36:32 +02:00
Jakob Ackermann
b9deec1095 [misc] narrow down write access/ownership for the run-time user 2020-04-03 12:36:32 +02:00
Jakob Ackermann
3309adf2ad [misc] move the sqlite database into a db/ directory 2020-04-03 12:36:31 +02:00