Commit graph

18557 commits

Author SHA1 Message Date
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
Jakob Ackermann
5b1656b884 [misc] drop debug output and log docker version on stderr 2020-04-03 12:36:31 +02:00
Jakob Ackermann
6777432569 [misc] add a metric for failing downloads 2020-04-03 12:35:40 +02:00
Jakob Ackermann
697e1466dc Merge pull request #160 from overleaf/jpa-build-scripts-2-1-0
[misc] bump the build-scripts to version 2.1.0
2020-04-03 12:33:06 +02:00
Jakob Ackermann
6b02921409 [misc] bump the build-scripts to version 2.1.0
This will put acceptance and unit tests in own namespaces so that they
 can run and be teared down individually.
2020-04-03 12:18:09 +02:00
Jakob Ackermann
1a09965503 Merge pull request #2719 from overleaf/jpa-custom-wsurl-for-beta-users
[frontend] ConnectionManager: add support for ie11

GitOrigin-RevId: ab1280f8da68fa87c266463e617b0a84a48065ce
2020-04-03 03:20:58 +00:00
Jakob Ackermann
d6fa1b1ca3 Merge pull request #2718 from overleaf/jpa-custom-wsurl-for-beta-users
[frontend] ConnectionManager: fix dumb string concat in socket.io v0

GitOrigin-RevId: a1c472623e07b020e498d621e9f3241f8afc44f6
2020-04-03 03:20:53 +00:00
Jakob Ackermann
155b22caf9 Merge pull request #2713 from overleaf/jpa-custom-wsurl-for-beta-users
[misc] custom wsUrl for beta users

GitOrigin-RevId: e731ae7245e9c5586ae82cbc4c6716a74e56f2c9
2020-04-03 03:20:47 +00:00