Commit graph

9329 commits

Author SHA1 Message Date
Miguel Serrano
b0dc73a61c Remove HttpErrors.InternalServerError (#3027)
* Added legacyInternal() 500 to HttpErrorHandler
* replaced HttpErrors.InternalServerError being thrown with calls to HttpHandler.legacyInternal()

GitOrigin-RevId: 0b7086a9693b57cdf93976d4221b90315960e8bb
2020-07-23 02:06:50 +00:00
Alasdair Smith
2bcbc84e0b Merge pull request #3010 from overleaf/hb-handle-invalid-filepath-error
Provide specific error on invalid file path upload

GitOrigin-RevId: 4b26da398f18fc03e812ea081accd96f05244cef
2020-07-23 02:06:43 +00:00
Alasdair Smith
4e18a81944 Merge pull request #3036 from overleaf/as-silence-sentry-errors
Silence some more expected/spurious frontend errors in Sentry

GitOrigin-RevId: e2ad049e83e53806b9233b51ae88288d16b36053
2020-07-23 02:06:38 +00:00
Alasdair Smith
0868d67d59 Merge pull request #3037 from overleaf/as-install-missing-dep
Install missing sanitize-html dependency

GitOrigin-RevId: d58a4fe27fbf28031fdc07b76bc9e38f5843c42a
2020-07-23 02:06:33 +00:00
Jessica Lawshe
d492fab10c Merge pull request #3006 from overleaf/jel-wiki-toc
Wiki table of contents style

GitOrigin-RevId: dc4584c1528d4aba8b35490c546986a5ee3bbe31
2020-07-22 02:06:21 +00:00
Jessica Lawshe
8f773318c1 Merge pull request #3023 from overleaf/jel-add-user-audit-log
User audit log

GitOrigin-RevId: 687448d5da5d783c6db0fadb53c020cc9c3876b9
2020-07-22 02:06:16 +00:00
Jessica Lawshe
d8b2537f48 Merge pull request #2983 from overleaf/jel-security-emails
Add security email template and switch institution SSO alerts to use it

GitOrigin-RevId: c6f07655165e352527a9efbcfffc5bd2f635405c
2020-07-22 02:06:11 +00:00
Jessica Lawshe
10ef38fe76 Merge pull request #3029 from overleaf/jel-optimize-anti-flicker
Revert Use of ExposedSettings for Zotero experimentId

GitOrigin-RevId: 40ff3b2b4409f287c0e4630a30c0b72f70031f62
2020-07-22 02:06:06 +00:00
Eric Mc Sween
5b0d5447da Merge pull request #2999 from overleaf/as-em-fix-double-updates-load
Fix history loading updates twice on scroll

GitOrigin-RevId: 964863c7357eef36b2833c7b1e8ebaa07020fb2c
2020-07-21 02:06:42 +00:00
Eric Mc Sween
c200511f86 Merge pull request #3016 from overleaf/ta-editor-load-events
Fix Editor Load Events

GitOrigin-RevId: bb23f17ccab2d53933ad9da870f8ce26fdd169df
2020-07-21 02:06:37 +00:00
Eric Mc Sween
60bdd4641a Merge pull request #3026 from overleaf/bg-fix-size-limit-check
fix clsi size limit check

GitOrigin-RevId: 1d26ddbe367e8873c57d35056d5b8cbddf614656
2020-07-21 02:06:29 +00:00
Eric Mc Sween
88b5a4534c Merge pull request #3022 from overleaf/as-react-linting
Add some more React linting

GitOrigin-RevId: 77ffa24d2c1ac68b547a0b5706287567bf5eda5d
2020-07-21 02:06:23 +00:00
Eric Mc Sween
f251d661ed Merge pull request #3021 from overleaf/msm-oerror-remove-conflict-error
Replace ConflictError thrown with calls to HttpErrorHandler.conflict()

GitOrigin-RevId: 3b4d98af1b31e49ceab4b1b55b94b8f0323c8a9b
2020-07-21 02:06:18 +00:00
Paulo Jorge Reis
4773494b55 Merge pull request #3025 from overleaf/pr-fix-safari-truncated-context-menu
Fix Safari file tree bug

GitOrigin-RevId: e1853585aacce548cd72c94d0840f9c4fc3fa6bd
2020-07-18 02:05:57 +00:00
Jessica Lawshe
88057c4caa Merge pull request #3003 from overleaf/jel-zotero-event
Add Google Analytics event for Zotero A/B test

GitOrigin-RevId: 2b97a6070828fb97ea741a6e355c20314f59faad
2020-07-17 02:07:35 +00:00
Jessica Lawshe
f0e9a37c7a Merge pull request #2982 from overleaf/jel-no-cta-emails-cleanup
Tidy "No CTA" emails and update footer color in all emails

GitOrigin-RevId: bf4d88400a6165b4b2ba3880374921dcda9a2cef
2020-07-17 02:07:30 +00:00
Miguel Serrano
d7ff985554 Merge pull request #3018 from overleaf/jpa-retry-webpack-build
[misc] work around flaky webpack builds: retry once before failing

GitOrigin-RevId: 3247c2ae8f185e269b17f64c3b5d42cf16f96a5c
2020-07-17 02:07:24 +00:00
Miguel Serrano
244709df5e Merge pull request #2988 from overleaf/msm-oerror-remove-not-found-error
Replace HTTPErrors.NotFoundError with calls to notFound() handler

GitOrigin-RevId: c98582a5bd3d862b3c17fb03d863c75f64851aba
2020-07-17 02:07:18 +00:00
Miguel Serrano
63503f2079 Merge pull request #2984 from overleaf/msm-oerror-remove-bad-request-error
Replace HTTPErrors.BadRequestError with calls to badRequest() handler

GitOrigin-RevId: 57a91a13bde942ee373e235ee925f1c76a0f4e88
2020-07-17 02:07:12 +00:00
Paulo Jorge Reis
4b90b09365 Merge pull request #2987 from overleaf/ta-outline-tracking
Add Event Tracking to Outline

GitOrigin-RevId: 239430ef0ff6ff67bf7c90291969cd28efde0d4a
2020-07-17 02:07:06 +00:00
Paulo Jorge Reis
e0dd4d0cf5 Merge pull request #3019 from overleaf/pr-fix-outline-jump-to-location
Fix outline "jump to location" feature.

GitOrigin-RevId: a760a885b997424bf677313636ac16588776b76a
2020-07-17 02:07:00 +00:00
Paulo Jorge Reis
ffc5c4be8f Merge pull request #3009 from overleaf/jpa-fix-flaky-locking-in-tests
[misc] ProjectStructureMongoLockTest: eventually restore locking timeout

GitOrigin-RevId: 6c139edb0f6e37775c459a50a71dd90802e366fc
2020-07-17 02:06:54 +00:00
Paulo Jorge Reis
3660a98fd3 Merge pull request #2979 from overleaf/ta-outline-parser-v2
Improve Outline Parser

GitOrigin-RevId: 1774ac1055efc8c2b899396e4f56b6993438daad
2020-07-17 02:06:48 +00:00
Paulo Jorge Reis
0e9771ac09 Merge pull request #3007 from overleaf/pr-file-outline-extras
File outline extras

GitOrigin-RevId: c35c4f35dce280c9f44c02b567df9734943d0cb0
2020-07-17 02:06:42 +00:00
Miguel Serrano
79b6f6e473 Merge pull request #2994 from overleaf/msm-add-user-projection-subscription-handler
Added projection to User.find() queries in SubscriptionHandler

GitOrigin-RevId: f74e3fcd2138306dc35b5c4d0da314046ab48e35
2020-07-17 02:06:36 +00:00
Miguel Serrano
5b40eca697 Merge pull request #2992 from overleaf/msm-add-user-projection-referal
Added projection to User.find() queries in Referal feature

GitOrigin-RevId: 4929bcd9c1b242b7e35cc2632bbd8da3f378cd1d
2020-07-17 02:06:31 +00:00
Miguel Serrano
e692802690 Merge pull request #2991 from overleaf/msm-add-user-projection-project-controller
Added projection to User.getById() in ProjectController

GitOrigin-RevId: 9233a897414e3cda0b8c91f0b50d4ac422e0ab30
2020-07-17 02:06:25 +00:00
Miguel Serrano
6562f3003d Merge pull request #2985 from overleaf/msm-oerror-remove-unprocessable-entity-error
Replace UnprocessableEntityError with calls to unprocessableEntity() handler

GitOrigin-RevId: 4bba389c8cdf87a40137d49db571fa81aaac4239
2020-07-17 02:06:19 +00:00
Jakob Ackermann
397bd034c7 Merge pull request #3011 from overleaf/jpa-optionally-increase-mongo-timeout
[misc] optionally increase the mongo timeout

GitOrigin-RevId: f204b017cf3bbb195667739d714b99bfd8a7eaa1
2020-07-16 02:06:56 +00:00
Jakob Ackermann
53927bca95 [misc] move /user/activate into a module (#2962)
* [misc] move /user/activate into a module

Co-Authored-By: Nate Stemen <nate.stemen@overleaf.com>

* [misc] setup copybara for the new user-activate module

* [misc] move the /user/activate route behind a feature flag

...which is by default enabled.

Co-authored-by: Nate Stemen <nate.stemen@overleaf.com>
GitOrigin-RevId: 87fc5ae869a7e282ffdbeea0ff7b7c55b8b9b31b
2020-07-16 02:06:51 +00:00
Alasdair Smith
c660497859 Merge pull request #3008 from overleaf/as-sd-undelete-to-user
Add endpoint to allow undeleted project to be assigned to a user

GitOrigin-RevId: 884af4abfa19c82296f83e792319458909d23b3c
2020-07-16 02:06:46 +00:00
Alasdair Smith
2556fded1e Merge pull request #2998 from overleaf/as-beta-page-updates
Update beta program page to include feedback survey link

GitOrigin-RevId: 549cd2be01b8f64d952d0347c8c102d0d2efae24
2020-07-15 02:06:35 +00:00
Hugh O'Brien
d4d6e2c45d Merge pull request #3002 from overleaf/hb-parse-bst-errors
Adds parser for bst file bibtex errors

GitOrigin-RevId: 6481b0ca7cf6ab4522827ed5c6161b84472ccc19
2020-07-15 02:06:30 +00:00
Hugh O'Brien
ad7af82c53 Merge pull request #3001 from overleaf/hb-fix-typo-email
Fix a typo in onboarding email

GitOrigin-RevId: 83ea41346d900ce678df02a02535050ae03a750a
2020-07-15 02:06:24 +00:00
Hugh O'Brien
0a0e649518 Merge pull request #2986 from overleaf/jpa-silence-react
[misc] silence react messages in the dev-tools console

GitOrigin-RevId: 7ef4d783d0db55fb3fec6d15b9c76191cd49dd6c
2020-07-14 02:06:57 +00:00
Hugh O'Brien
ff2ee573bb Merge pull request #2993 from overleaf/jpa-drop-private-api-usage
[misc] launchpad: refactor private api usage of AuthenticationController

GitOrigin-RevId: 74585bcf7bf7483ae19af7b341e1173293d667fe
2020-07-14 02:06:52 +00:00
Hugh O'Brien
eaa7491c2b Merge pull request #2948 from overleaf/hb-onboarding-email
User onboarding email

GitOrigin-RevId: 367fd8b6292024bfcad2139728c16cf00f2fb1cb
2020-07-14 02:06:47 +00:00
Hugh O'Brien
d9d8f9a531 Merge pull request #2956 from overleaf/as-c8
Add frontend test coverage command

GitOrigin-RevId: ae4e760e343807ebdc94292d21434d4154694f0c
2020-07-14 02:06:41 +00:00
Jakob Ackermann
cafe9387f8 Merge pull request #2996 from overleaf/jpa-rate-limit-project-download
[misc] rate limit the download of project revisions to 30 per user/hour

GitOrigin-RevId: 81244a0dad1cf183da69406ef488f6684d5f134a
2020-07-11 02:04:45 +00:00
Miguel Serrano
ce3ca981a8 Merge pull request #2980 from overleaf/ta-outline-no-reopen
Don't Always Expand File Outline After Switching Files

GitOrigin-RevId: 639887686082e2868561c3e7300d42a73dd34f5a
2020-07-11 02:04:40 +00:00
Miguel Serrano
b573374d0e Merge pull request #2950 from overleaf/as-jsdom-tests
JSDOM tests

GitOrigin-RevId: d9e39c61fb2028c5b5577488d74720ef2985eebc
2020-07-11 02:04:35 +00:00
Miguel Serrano
8023e48efd Merge pull request #2974 from overleaf/jel-ns-user-projections-beta
Remove user projections in BetaProgramHandler

GitOrigin-RevId: 88b7bc3b6f11ae9f8314543ee538c84d25cde7cd
2020-07-11 02:04:30 +00:00
Miguel Serrano
1cac5227d6 Merge pull request #2958 from overleaf/jel-optimize-zotero
Add Optimize variant on Zotero paywall prompt

GitOrigin-RevId: 005cf27d40a367e4617c399023204dacb80af8de
2020-07-11 02:04:26 +00:00
Miguel Serrano
d8d3ac82e9 Replace HTTPErrors.ForbiddenError with calls to forbidden() handler (#2972)
GitOrigin-RevId: 2a0c8fdaef9ba62b97cebad84603e6f076d770c0
2020-07-11 02:04:21 +00:00
Brian Gough
49784e8ac0 Merge pull request #2990 from overleaf/bg-add-health-check-on-active-handles
add health check limit on active handles (optional)

GitOrigin-RevId: c26071c96b220935178012d881bb53013df64155
2020-07-11 02:04:15 +00:00
Jakob Ackermann
398d2deb07 Merge pull request #2977 from overleaf/jpa-import-697
[ProjectController] fix the sorting of project entities for node v11+

GitOrigin-RevId: d4458aeaf83f610e36669050e664c902dbcce36e
2020-07-08 02:04:28 +00:00
Jakob Ackermann
ae068781ca Merge pull request #2978 from overleaf/jpa-expose-hostname
[misc] optionally expose the hostname in the X-Served-By response header

GitOrigin-RevId: f3ac14aeb75cef8c9ed1d8cb1d649dd7f909b99b
2020-07-08 02:04:24 +00:00
Jakob Ackermann
f0f29e2f17 Merge pull request #2976 from overleaf/jpa-import-671
[misc] Add a copy the the GNU Affero General Public License v3.0

GitOrigin-RevId: e3e0f207275b1740b0edc3684822201bf9be51bc
2020-07-08 02:04:19 +00:00
Jakob Ackermann
7bb02d87bc Merge pull request #2973 from overleaf/jel-emails-cleanup
Remove unused email bodies/layout

GitOrigin-RevId: c7fb12ce70560f32fabd6e4dfd1890e709090673
2020-07-08 02:04:14 +00:00
Jakob Ackermann
6050de114e Merge pull request #2966 from overleaf/cmg-jpa-tags-update-propagation
Remove tag in place instead of replacing array

GitOrigin-RevId: 779577e8981e37508d20364903a843795c36dffe
2020-07-08 02:04:09 +00:00