Commit graph

19290 commits

Author SHA1 Message Date
Brian Gough
8e210fe441 update unit tests 2020-04-21 14:41:30 +01:00
Simon Detheridge
04661221a1 Merge pull request #116 from overleaf/spd-signed-urls
Add support for redirecting to signed URLs
2020-04-21 10:43:42 +01:00
Jakob Ackermann
a0359009f9 Merge pull request #2677 from overleaf/jpa-socket-io-v2-shim
[socket.io] add support for v2 using a compatibility shim

GitOrigin-RevId: ef52a3d8e4fdf191f6a8c1a530dfce25f3a11466
2020-04-21 03:23:06 +00:00
Jakob Ackermann
9a1a9f153b Merge pull request #57 from overleaf/jpa-node-12-fix
[misc] test/unit: fix process usage for node v12
2020-04-20 17:06:26 +02:00
Jakob Ackermann
80095785b8 [misc] test/unit: fix process usage for node v12
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-04-20 16:50:51 +02:00
John Lees-Miller
c46075aaab Make constructor take only message and info 2020-04-17 15:45:08 +01:00
John Lees-Miller
0acf1d338d Merge pull request #9 from overleaf/lint
Set up linting
2020-04-17 14:43:43 +01:00
Brian Gough
c2e165e0eb Merge pull request #105 from overleaf/bg-use-separate-redis-for-project-history
support migration of project history keys to separate redis instance
2020-04-17 11:26:49 +01:00
John Lees-Miller
c000bdc43c Add standard and fix complaints 2020-04-17 10:59:27 +01:00
Jakob Ackermann
f6f20fdcb6 Merge pull request #43 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
2020-04-17 11:21:04 +02:00
Jakob Ackermann
9f15b062b0 Merge pull request #19 from overleaf/ew-jpa-fix-express-deprecations
[misc] fix express deprecations
2020-04-17 11:20:48 +02:00
John Lees-Miller
4b903626b4 Apply linting rules 2020-04-17 09:14:35 +01:00
John Lees-Miller
f80753fe40 Add linting and formatting 2020-04-17 09:14:35 +01:00
John Lees-Miller
113c2cc5ec Add CI badge 2020-04-17 09:13:04 +01:00
John Lees-Miller
f2a9a3e240 Merge pull request #8 from overleaf/circleci-project-setup
Add .circleci/config.yml
2020-04-17 09:11:46 +01:00
John Lees-Miller
ad6b25e2c1 Add .circleci/config.yml 2020-04-17 09:10:47 +01:00
Eric Mc Sween
5c6ddfd53a Merge pull request #2744 from overleaf/pr-add-visa-notice-tos
Add ToS link for new Visa free trial rules in the subscription form.

GitOrigin-RevId: 607f1057cee40b61b7910cb2afc1648dacfe49b6
2020-04-17 03:23:35 +00:00
Eric Mc Sween
d063ab2bc5 Merge pull request #2745 from overleaf/em-promisify-project-upload-manager
Finish promisification of ProjectUploadManager

GitOrigin-RevId: a8550d9decf25af35a2d2f82770cff336a4153cc
2020-04-17 03:23:30 +00:00
Brian Gough
ac68f59487 Merge branch 'master' into bg-use-separate-redis-for-project-history 2020-04-16 15:48:21 +01:00
Jakob Ackermann
cf8533bee1 [LocalCommandRunner] run: block a double call of the callback
The subprocess event handler fires the "error" and "close" event in case
 of a failure.
Both events would call the given callback, resulting in double
 processing of the subprocess result downstream.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-04-16 15:55:55 +02:00
Miguel Serrano
3bd49f6ea1 Added pull request template (#723) 2020-04-16 12:08:37 +02:00
Christopher Hoskin
932b7d2a74 Merge pull request #724 from overleaf/csh-issue-2578-server-pro-cloud-build
Use variables for Makefile tagging
2020-04-16 09:59:06 +01:00
Ersun Warncke
98c1ffefff [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-16 09:39:57 +02:00
Miguel Serrano
c494526b55 Updated dev dependencies (minor/patch only) (#2743)
GitOrigin-RevId: e1027bbdc5c2372326429d80d44d03cf77674a8d
2020-04-16 03:17:17 +00:00
Ersun Warncke
7302c0ce0b [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 19:04:56 +02:00
Ersun Warncke
686f0f0102 [misc] fix express deprecations
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com>
2020-04-15 18:43:23 +02:00
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