Commit graph

16194 commits

Author SHA1 Message Date
Alf Eaton
b70e63e893 Focus the editor after restoring a stored cursor position (#7628)
GitOrigin-RevId: d4564f14503957a0fc8a02cef21064777e2e961d
2022-04-25 08:03:56 +00:00
Alf Eaton
e644c2a531 Fix data on SAAS project page (#7694)
GitOrigin-RevId: ca7899b238ca2c858aa188e493b285bcf06e8298
2022-04-25 08:03:42 +00:00
Eric Mc Sween
f561650b62 Merge pull request #7578 from overleaf/em-fix-filetrees
Fix typo in script for bad filetrees

GitOrigin-RevId: 57394e5533f98a890223a0af6f4b389a82e60d84
2022-04-22 08:03:12 +00:00
Eric Mc Sween
20bf575af0 Merge pull request #7588 from overleaf/em-node-16-spelling
Upgrade spelling to Node 16

GitOrigin-RevId: 9bfcf4032094c89959ff3f7df61a605f86cb4eef
2022-04-20 08:04:27 +00:00
Eric Mc Sween
552d6d4baa Merge pull request #7581 from overleaf/em-docstore-decaf
Decaf cleanup in docstore

GitOrigin-RevId: 84553cec7f184d567dc796c4016d6a412fb8db99
2022-04-20 08:04:15 +00:00
Victrid
66fd18cbdc
rebase to the latest main 2022-04-16 12:06:25 +08:00
Tim Down
e0d5cf4b42 Merge pull request #7509 from overleaf/ii-7155-display-institution
Display the institution and role if applicable

GitOrigin-RevId: e00b07f0118e7f3ab8ec0b0f01b2b3e52fcc1cd2
2022-04-15 08:03:17 +00:00
Tim Down
dc706b4942 Merge pull request #7293 from overleaf/td-email-change-notifications
Send primary email address change notification to latest confirmed addresses

GitOrigin-RevId: ba4aba38a2d8785ee24156449c612ff05cd66fc7
2022-04-15 08:03:10 +00:00
Eric Mc Sween
b99f4b0f19 Merge pull request #7572 from overleaf/em-revert-node-16-spelling
Revert Node 16 upgrade for spelling

GitOrigin-RevId: 159de0ee0ccdaf74d22b261797d71ce1bd72dce5
2022-04-14 08:03:21 +00:00
Eric Mc Sween
eb4764e777 Merge pull request #7556 from overleaf/em-finish-node-16
Finish Node 16 upgrade

GitOrigin-RevId: 03e5a54e4b17f43142ff78f5b4cca4d0dbefe6eb
2022-04-14 08:03:17 +00:00
June Kelly
90303f2f8c Merge pull request #7367 from overleaf/tm-add-singapore-currency-mapping
Add Singapore/Singapore Dollar to currency mappings

GitOrigin-RevId: 1ba2cf35435a8a7ce31ac92c9dd0d92a2cf2e4bf
2022-04-14 08:03:07 +00:00
June Kelly
77adf9803c Merge pull request #7456 from overleaf/mf-fix-less-variable-comment-font-size
[web] fix comments about font-size pixel calculation in our global less variable file

GitOrigin-RevId: 5f7da570ff1b35467b41c15238c54d27414f5fab
2022-04-14 08:03:05 +00:00
June Kelly
0ab9198563 Merge pull request #7378 from overleaf/tm-fix-cookie-banner-style
Fix cookie banner link color and box-shadow values

GitOrigin-RevId: 036c921795eab999e65bd04ca409babe28a2f00a
2022-04-14 08:03:03 +00:00
Jakob Ackermann
f438bdcfed Merge pull request #7504 from overleaf/em-fix-bad-trees
Script for fixing bad file trees

GitOrigin-RevId: 061e306cc1df5774b496efff8e10714fbf1d738d
2022-04-13 08:03:48 +00:00
Jakob Ackermann
693c8e1429 Merge pull request #7547 from overleaf/jpa-fix-split-test-anonymous-users
[web] bring back split test assignments for anonymous users

GitOrigin-RevId: 4759de31e097fee1493f90a3290339e38de5b3c8
2022-04-13 08:03:45 +00:00
Timothée Alby
a110c4d7bd Merge pull request #7323 from overleaf/ta-synctex-disable-multi-one-way
Don't Disable Synctex PDF-to-Code Button

GitOrigin-RevId: 90328e0fea8cb5358217ce866839f5e1a4a73b94
2022-04-13 08:03:36 +00:00
Timothée Alby
c16762e347 Merge pull request #7503 from overleaf/ae-revert-7286
Revert "Increase z-index of full-size and navbar-main components"

GitOrigin-RevId: 4949fac2dabbb7d356fc4ced27181a90a269128e
2022-04-13 08:03:31 +00:00
Timothée Alby
7bac47501b Merge pull request #7486 from overleaf/jpa-drop-unused-dep
[web] remove unused direct dependency on url-parse

GitOrigin-RevId: 5b09231ae85819aea4275203aa27692a837a7b26
2022-04-13 08:03:26 +00:00
Timothée Alby
9df2e09fa2 Merge pull request #7493 from overleaf/ab-apple-meta-tags
Add meta tags for Apple mobile devices

GitOrigin-RevId: 0154e497e9844fc60e6672a7fae9e2043c9e7d81
2022-04-13 08:03:24 +00:00
Eric Mc Sween
47b9c6fe82 Merge pull request #7403 from overleaf/em-node-16-docstore
Upgrade docstore to Node 16

GitOrigin-RevId: 37208f5f19ff5a8b98b787e392131d1ed02dfa2a
2022-04-12 08:03:16 +00:00
Jakob Ackermann
1f4c8d4ed9 Merge pull request #7424 from overleaf/jpa-captcha-error-handling
[web] double down on error handling in captcha process

GitOrigin-RevId: 91692978a24b02e9fa1ca55193a462ca29f68a7e
2022-04-12 08:03:07 +00:00
Eric Mc Sween
8ce9330a00 Merge pull request #7477 from overleaf/em-bad-filetree
Fix bad filetree script

GitOrigin-RevId: 8f9b7d94c717b21b2183d43fdccf4564408f71fa
2022-04-11 08:04:02 +00:00
Jakob Ackermann
b765aa40b0 Merge pull request #7485 from overleaf/jpa-upgrade-package-locks
[misc] upgrade package locks to v2

GitOrigin-RevId: 76df927b674220e17b6dd07f988dd56205673beb
2022-04-11 08:03:52 +00:00
Miguel Serrano
088b8c017e [Settings] React SSO Linking Widget (#7395)
GitOrigin-RevId: 103e8382daf2f38a302a92cb4fb11e4f4a520df2
2022-04-11 08:03:50 +00:00
Miguel Serrano
ae633b1b44 [Settings] React SSO Context (#7324)
React SSO Context

GitOrigin-RevId: 391bf2ba86bb9e112180cffd603b99218594b868
2022-04-11 08:03:48 +00:00
ilkin-overleaf
a8fdf6269e Merge pull request #7481 from overleaf/ta-leave-modal-no-password
[DeleteAccount] Handle Password-Less Users

GitOrigin-RevId: b7d03d26d43b9ab7f50a199d9aabd226ac79972d
2022-04-11 08:03:45 +00:00
ilkin-overleaf
cef7adc711 Merge pull request #7480 from overleaf/ta-wait-for-test
Add waitFor to fix flaky test

GitOrigin-RevId: 3b0f0423e7126248383ba7c68556c9ae937f3533
2022-04-11 08:03:43 +00:00
ilkin-overleaf
052ac3e6b1 Merge pull request #7107 from overleaf/ds-admin-panel-user-list
Admin Panel user list migration to react

GitOrigin-RevId: cd66fa7a288ebc4cd22a3815dec9a20c6d72cc32
2022-04-11 08:03:40 +00:00
ilkin-overleaf
5b0c122f5d Merge pull request #7290 from overleaf/ii-7154-list-user-emails
List of user emails

GitOrigin-RevId: 28a8e405812932ba7ebd8043a4dc9d3c573a68b2
2022-04-11 08:03:38 +00:00
ilkin-overleaf
d50271c1e9 Merge pull request #7225 from overleaf/ta-leave-modal
[DeleteAccount] Create Modal with Form

GitOrigin-RevId: 611f08c7253f59d91c6937b79c80a386b9d21ccd
2022-04-11 08:03:36 +00:00
Tim Down
72f6d89e78 Allow CodeMirror to manage positioning the spell check context menu (#7440)
GitOrigin-RevId: b4153741cf67bc355e4a08efe51bb33a16c991f6
2022-04-11 08:03:28 +00:00
Alf Eaton
cdbf3879b4 Handle file upload errors without response.body (#7047)
GitOrigin-RevId: a6c06bac5a74d2d4e9ea9c65f5d62b105e17ef24
2022-04-11 08:03:19 +00:00
Alf Eaton
ef77b23888 Increase z-index of full-size and navbar-main components (#7286)
GitOrigin-RevId: dec7c507f896a7775fdf71784ad60a8645b2474d
2022-04-11 08:03:17 +00:00
Alf Eaton
aca889a3e0 Sync cursor position to PDF when double-clicking on a heading in the file outline (#7314)
GitOrigin-RevId: ef98f5d20e99bfc03c91cbf4027d277e738ab176
2022-04-11 08:03:14 +00:00
Alf Eaton
5cb46643da Fix flaky PdfSynctexControls test (#7443)
GitOrigin-RevId: f853e68a6e8e979af6d2b2e7ee1509f3b6828074
2022-04-11 08:03:10 +00:00
Jakob Ackermann
7fc3c0e28a Merge pull request #6499 from overleaf/dependabot-npm_and_yarn-services-web-scripts-translations-postcss-7.0.39
Bump postcss from 7.0.32 to 7.0.39 in /services/web/scripts/translations

GitOrigin-RevId: 4ef42a483f286c5c346720188609bf3ad76e5370
2022-04-11 08:03:02 +00:00
CloudBuild
093730bafe auto update translation
GitOrigin-RevId: b822fb9c428f62803f74d062ddf77e49218ccbd2
2022-04-08 08:05:36 +00:00
Jakob Ackermann
58e9194be4 Merge pull request #7471 from overleaf/jpa-read-var
[web] read TPDS_DROPBOX_APP_NAME into the settings

GitOrigin-RevId: 314dd2a750a55d204b03976fb99525d5c90abd4c
2022-04-08 08:05:15 +00:00
Jakob Ackermann
8b8b15bffb Merge pull request #7455 from overleaf/jpa-dropbox-app-name
[web] use an environment specific app name for dropbox

GitOrigin-RevId: 22f8fb911e04f8dd24dc01be9dd3bea9e05fd150
2022-04-08 08:05:08 +00:00
Eric Mc Sween
ed40ce27ab Merge pull request #7467 from overleaf/em-bad-filetree
Find file trees that have null folder entries

GitOrigin-RevId: aa4c7ed180479288d4ce26549ceeaa0f5ebbd298
2022-04-08 08:05:02 +00:00
Davinder Singh
b3d55fa65e Move admin register to user activate module
Move admin register to user activate module

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com> & Davinder Singh
GitOrigin-RevId: 79428f2932783086435bdad9b1efb5300c467511
2022-04-08 08:04:45 +00:00
M Fahru
bce02b25e4 Merge pull request #7358 from overleaf/mf-fix-tooltip-plans-page
[web] Fix tooltip on plans table for plans & pricing page

GitOrigin-RevId: a1e284956e2dc359eec31c6348e5ebffe46697be
2022-04-08 08:04:39 +00:00
M Fahru
f23accc572 Merge pull request #7292 from overleaf/tm-plans-page-layout-teardown
Tear down plans page split test variant with new layout

GitOrigin-RevId: ab09066f05d17ca17a19ab8895fac141e1e89bff
2022-04-08 08:04:32 +00:00
M Fahru
e948de3234 Merge pull request #7316 from overleaf/mf-language-picker-tooltip
[web] fix language picker tooltip on pages that depends on layout-marketing.pug

GitOrigin-RevId: e11d2a2c4b344b7f3f2837397b089b722d433cc9
2022-04-08 08:04:26 +00:00
Eric Mc Sween
97dca3de1c Merge pull request #7422 from overleaf/em-bad-filetree
Cover more cases in bad filetree script

GitOrigin-RevId: 76aea86f56b16c60d3ed853e486bf00137f0ea5c
2022-04-08 08:04:00 +00:00
Brian Gough
bd541b4c2d Merge pull request #7347 from overleaf/bg-record-snapshot-metrics
record metrics for docupdater range operations

GitOrigin-RevId: 41c500630dd81670d2798d388f2961a19df76b63
2022-04-07 09:57:01 +00:00
June Kelly
dc6f480843 Merge pull request #7275 from overleaf/ds-shared-loading-spinner-2
Changed LoadingSpinner default delay

GitOrigin-RevId: 2bf499585e3394e5c6b8ed9583add7ef6f678fc1
2022-04-07 09:56:57 +00:00
Alf Eaton
9e6b1fbb67 Avoid contenthash in development (#7423)
GitOrigin-RevId: 5a52a1af1f6add4dea135639f0ec5a4577dba124
2022-04-07 08:04:16 +00:00
Eric Mc Sween
9c036b1d90 Merge pull request #7417 from overleaf/em-find-bad-file-trees
Script for finding malformed filetrees

GitOrigin-RevId: 256f724ec61c0a88a8904f9a4c028cfc78d6d0bb
2022-04-07 08:04:12 +00:00
Eric Mc Sween
c776bf208c Merge pull request #7408 from overleaf/em-malformed-file-tree
Prevent malformed file trees

GitOrigin-RevId: 59104077bed80dd87a7c3813e06581bb6d9bd8d9
2022-04-07 08:04:10 +00:00
Alexandre Bourdin
62d5eda194 Merge pull request #7348 from overleaf/ab-login-events
[web] Add events for login buttons clicks and segmentation to user-logged-in event

GitOrigin-RevId: 6283feb075e2d16c871d3f4ff54fe903937d3263
2022-04-07 08:04:07 +00:00
Alexandre Bourdin
9cd5922cef Merge pull request #7331 from overleaf/ab-upgrade-button-event
[web] Add upgrade-button-click event with source segmentation key

GitOrigin-RevId: c095e2e8e521b6aad40509b49cedd1cd6afc0e66
2022-04-07 08:04:05 +00:00
Alexandre Bourdin
b28271082c Merge pull request #7246 from overleaf/ab-references-handler-unhandled-error
[web] Fix unhandled error in ReferencesHandler

GitOrigin-RevId: 1b7f2f186780b3ed79434a509ce3dc54e1c38f07
2022-04-07 08:04:03 +00:00
Alexandre Bourdin
997bffc9b1 Merge pull request #7166 from overleaf/ab-decaf-user-info-controller
[web] Decaf cleanup UserInfoController

GitOrigin-RevId: c1bc531ed2923f05652090d792b7f1e7b4c1275c
2022-04-07 08:04:00 +00:00
Alexandre Bourdin
d0c4c8b24f Merge pull request #6278 from overleaf/ab-login-registration-cleanup
[web] Login/registration cleanup

GitOrigin-RevId: 02bb2fa04a504f42b7594def3cec03ab883c64f5
2022-04-07 08:03:58 +00:00
Alf Eaton
5e9af2c15c Migrate worker tests to Cypress (#7359)
GitOrigin-RevId: f373f4215e5f25d14256008cf5f6582eb3124431
2022-04-07 08:03:52 +00:00
Alf Eaton
69a2283984 Upgrade to webpack v5 (#7249)
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
2022-04-07 08:03:46 +00:00
Jessica Lawshe
ad7b3c89f4 Merge pull request #6840 from overleaf/jel-onboard-non-sso-notify
[web] Include trial users when notifying commons users

GitOrigin-RevId: 439e9b0f55e5a376dc9f621b8ba76468e1e843e0
2022-04-06 08:04:38 +00:00
Henry Oswald
380ba96a8b Merge pull request #7360 from overleaf/ho-purge-sess-improvements
improve the purge sessions script a bit

GitOrigin-RevId: 3b211c1377bc6aa117d3f872a829bb87b16fd9e5
2022-04-05 12:21:58 +00:00
Jakob Ackermann
35538da3fa Merge pull request #7374 from overleaf/ae-docker-compose-log-level
Remove --log-level from DOCKER_COMPOSE_FLAGS

GitOrigin-RevId: dc301c33be82dc356be9c66e27b168a05edb9068
2022-04-05 12:21:45 +00:00
Jakob Ackermann
1ea97c6ae6 Merge pull request #7321 from overleaf/ta-ga-fallback
Fix window-ga Fallback

GitOrigin-RevId: 56b192acbae5c8ba23c63f6d4a7d7334d13b8c73
2022-04-05 12:21:37 +00:00
Jakob Ackermann
333f334419 Merge pull request #7256 from overleaf/msm-upgrade-account-tracking
Event Tracking for account upgrade

GitOrigin-RevId: 865524a0c9c79d051953340a7ea744c88dbe1295
2022-04-05 12:21:29 +00:00
Jakob Ackermann
862ff734c6 Merge pull request #7278 from overleaf/jpa-block-track-changes-access
[web] block restricted token users from accessing track-changes details

GitOrigin-RevId: f2e734b48aaa1d1cae6d5db0e0312a78d42165de
2022-04-05 12:21:09 +00:00
Eric Mc Sween
2401909919 Merge pull request #7381 from overleaf/em-revert-node-16
Revert part of the Node 16 upgrade

GitOrigin-RevId: 0b1f7c1af6d692510a206bb73dae605ae8095023
2022-04-05 12:20:57 +00:00
Eric Mc Sween
3235119302 Merge pull request #7228 from overleaf/em-node-16
Upgrade to Node 16

GitOrigin-RevId: 3db1ae57ffb02f8a2b9012ffbb3efecfc01d2b04
2022-04-05 12:20:52 +00:00
Alf Eaton
ae76850d39 Set fetchMock.config.fallbackToNetwork for Storybook (#7369)
GitOrigin-RevId: df957893c8495c582d721716daa20030deb02f72
2022-04-05 12:20:47 +00:00
Thomas
2056a85199 Merge pull request #7325 from overleaf/tm-new-monthly-pricing-mar2022
Update monthly plan pricing (March 2022)

GitOrigin-RevId: a8d3bea22e22358077a1a82636225926ffc59d53
2022-04-05 12:20:20 +00:00
Timothée Alby
d968810a27 Merge pull request #7301 from overleaf/ta-ii-outline-filename-fix
Fix File Outilne after Switching to Binary Files

GitOrigin-RevId: 3b349399cb90dd911381c27522a5ca067312f621
2022-04-05 12:19:45 +00:00
Henry Oswald
9b71561814 Merge pull request #7302 from overleaf/ho-session-purge
mvp to purge session keys from redis

GitOrigin-RevId: d1298d4b042164d9c94a7a1d1b7560b6531ae093
2022-04-05 12:19:36 +00:00
Eric Mc Sween
7119141524 Merge pull request #7304 from overleaf/em-split-queues
Split the config for web and analytics queues

GitOrigin-RevId: fa3fc86c874e653649aefad030607105d514a52b
2022-04-05 12:19:32 +00:00
Timothée Alby
3c01402bbd Merge pull request #7034 from overleaf/ta-pdf-detach-full
PDF Detach v2

GitOrigin-RevId: 3deb76474185f9176cde23ab32ef51b90df6e8e9
2022-04-05 12:19:23 +00:00
Jakob Ackermann
4d18dcb377 Merge pull request #7210 from overleaf/jpa-switch-to-admin
[web] add a button for switching to the admin domain from www.

GitOrigin-RevId: 7e14b9c1415ef6cad5f369d77530599bac3148e7
2022-04-05 12:19:00 +00:00
Jakob Ackermann
c8866bbda0 Merge pull request #7094 from overleaf/jpa-redirect-admin-requests
[web] redirect admin users from admin endpoints to the admin domain

GitOrigin-RevId: a4bd7d4f998615efcb46ae9866868af9489c94f5
2022-04-05 12:18:51 +00:00
Jakob Ackermann
06bf7347d4 Merge pull request #7051 from overleaf/jpa-admin-token-access-www
[web] make sure that token access links are on non admin domain

GitOrigin-RevId: 2cfadbe67244a15803caa68747de2ed33fc6d4fb
2022-04-05 12:18:43 +00:00
Jakob Ackermann
34627b98a2 Merge pull request #7040 from overleaf/jpa-project-url-lookup
[web] add admin-only page for looking up projects by common URL patterns

GitOrigin-RevId: 988b64f3b5888f2154be0592abf3e31f5fbedc37
2022-04-05 12:18:38 +00:00
Jakob Ackermann
c881829e04 Merge pull request #6729 from overleaf/jpa-cleanup-staff-access
[web] admin privilege does not imply staffAccess

GitOrigin-RevId: 89760c7a9a8f0b0c82ebee40ca3236e9894ab9fa
2022-04-05 12:18:33 +00:00
Jakob Ackermann
d59b154f07 Merge pull request #6712 from overleaf/jpa-redirect-token-access
[web] redirect admin users from token access gateway to admin panel

GitOrigin-RevId: b39c9b4bcad5d376b720a6718df7ef01cd89938f
2022-04-05 12:18:29 +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
Jakob Ackermann
c96fbc526e Merge pull request #7317 from overleaf/jpa-return-chat-edit-status
[misc] return non-success status from editing chat messages back to web

GitOrigin-RevId: a3d5f59ac1d92662ac9e9c94b1516441d66e831a
2022-04-05 12:18:19 +00:00
Jakob Ackermann
64ffd66fa4 Merge pull request #7307 from overleaf/jpa-notify-editor-restore-doc
[web] notify the editor after restoring a deleted doc

GitOrigin-RevId: 4bd316958827c83a56a82f9ff72f5ff803d32631
2022-04-05 12:18:15 +00:00
Jakob Ackermann
2677984b93 Merge pull request #7299 from overleaf/jpa-handle-deleted-user
[web] redirect deleted users from settings page to log out page

GitOrigin-RevId: c033387ac9282a8e629455a4d3136655575c078a
2022-04-05 12:18:10 +00:00
Jakob Ackermann
d949567391 Merge pull request #7295 from overleaf/jpa-require-login-multi-zip
[web] restrict multi-project zip download to logged-in users

GitOrigin-RevId: f1e80fd62a4d60a5e64d683108ef2547b1c18a30
2022-04-05 12:18:05 +00:00
Jakob Ackermann
2117d24bda Merge pull request #7294 from overleaf/jpa-ratelimit-2fa-check
[web] rate-limit 2fa check requests

GitOrigin-RevId: da3d2f15c68cff101de807c1eae91edbd86481e7
2022-04-05 12:18:01 +00:00
Jakob Ackermann
b548d4e15b Merge pull request #7285 from overleaf/jpa-enforce-edit-own-comment
[misc] block users from editing other users comments

GitOrigin-RevId: 6f2ba38daf8089a478d79ca495b3557a57390b43
2022-04-05 12:17:56 +00:00
Alf Eaton
99607d4afc Move Storybook to tools (#7248)
GitOrigin-RevId: 2dd57d9adda07b01ad3d9aeee7a2e9e8986fae24
2022-04-05 12:17:36 +00:00
Alf Eaton
53324b0cd2 Add Cypress React component testing (#6974)
GitOrigin-RevId: 1260312a0644f3bc60e007a840045974336e264d
2022-04-05 12:17:30 +00:00
Thomas
76beba4393 Add cookie banner (#6627)
* Add cookie banner

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com>
GitOrigin-RevId: a3625d4e6357ff58c7c47532901c382bedbe07e0
2022-04-05 12:17:25 +00:00
Alf Eaton
a5e09a6200 Add TypeScript file extensions to the test:frontend script (#7277)
GitOrigin-RevId: 24298d8d5b7831115ef476fefe1dbd801c159309
2022-04-05 12:17:15 +00:00
M Fahru
4221825a18 Merge pull request #7240 from overleaf/mf-subscribe-survey-link
[web] Add a new survey link after user successfully subscribed

GitOrigin-RevId: d9b260e3727dbbdfd93ccc118be10be7aed246f2
2022-04-05 12:17:11 +00:00
Jakob Ackermann
5f5b17c6e9 Merge pull request #7258 from overleaf/jpa-restrict-history-access
[web] block restricted token users from accessing project history

GitOrigin-RevId: 18e6d58150be3846bc87e292108c1a09c553c9be
2022-04-05 12:17:08 +00:00
Eric Mc Sween
f9b3526b03 Merge pull request #7241 from overleaf/em-pre-node-16
Upgrade packages in preparation for Node 16

GitOrigin-RevId: c364ca0277977adfa0a92373fa5d8dfce8a9c7da
2022-04-05 12:17:06 +00:00
M Fahru
2fc4c82593 [web] Move window object typescript declaration file to a more general location (#7244)
GitOrigin-RevId: 87e30b16fa48e1aaebba76bed19d8c583a4cf1ca
2022-04-05 12:17:03 +00:00
Alf Eaton
a079aa1fae Merge pull request #7251 from overleaf/jpa-convert-doc-to-file-script
[web] convert convert-to-file endpoint into a script

GitOrigin-RevId: 5babebae5df8510b83f09ec4a2bb4064cca5ec75
2022-04-05 12:17:00 +00:00
Alf Eaton
2130aeb6f9 Merge pull request #7262 from overleaf/jpa-missing-required-login
[web] require a logged in user for (un-)archiving/(un-)trashing projects

GitOrigin-RevId: 90e6d1654065d759dce612bd6714e6e0018b19ff
2022-04-05 12:16:58 +00:00
Alf Eaton
103e31163a Merge pull request #7252 from overleaf/jpa-drop-unused-endpoint
[web] drop unused endpoint for refreshing user features in CI

GitOrigin-RevId: e1be605a398f5fdb2548509cf93ad72c4cc67f84
2022-04-05 12:16:55 +00:00
Alf Eaton
199ab985a0 Merge pull request #7223 from overleaf/ta-storybook-organise
Reorganise Storybook Stories

GitOrigin-RevId: 91014f49f84c645f87091724f03a007b731a8ad5
2022-04-05 12:16:53 +00:00
Alf Eaton
9f40893326 Increase specificity of PDF.js canvas style (#7219)
GitOrigin-RevId: 62e4424b5e5681bcbf1d377394f6bd8587a34ea6
2022-04-05 12:16:48 +00:00
Miguel Serrano
4f80c60be6 Added TS tests to typecheck (#7257)
* Added TS tests to typecheck

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 59b9dd0f75ab4412eb0e46b3d5b7f7798d66f640
2022-04-05 12:16:45 +00:00
Christopher Schenk
d6d664312c Ignore stderr output when running commands
Fixes #1006
2022-04-01 16:03:19 +02:00
Thomas
1aae979398 Send delete request to chat when expiring deleted projects (#6997)
* Send delete request to chat when expiring deleted projects

* Add script to clean-up orphaned chat of previously expired projects

GitOrigin-RevId: 157d100bd51b6204a9e31733b5164b8e7036ef01
2022-03-28 08:04:29 +00:00
Alf Eaton
935dc9be7c Remove unused code and translation keys (#7140)
GitOrigin-RevId: 15ce5d22a40ebe56cae76c78703c1547f2ab0552
2022-03-28 08:04:07 +00:00
Alf Eaton
439ba17bd5 [web] Fetch and parse compile log files asynchronously (#6220)
GitOrigin-RevId: 91b4c3551b705e7c07205b1bced3ae4768b10edb
2022-03-28 08:04:01 +00:00
Alf Eaton
74b76c853d Increase the maximum size of the pdf.js canvas (#7207)
GitOrigin-RevId: 699c4ded7a783e37f655e05452943de7443f1012
2022-03-28 08:03:51 +00:00
Alf Eaton
755233dcdc [web] Add TypeScript file extensions to ESLint (#7215)
GitOrigin-RevId: 0e7dbc94b304ba0bb17fbbfbc726e31775b97e3d
2022-03-28 08:03:48 +00:00
Alf Eaton
f175aef078 Add typechecking (#7221)
GitOrigin-RevId: 5b5bc5d2f9e5361e868cc6c9560f28a872d90ae1
2022-03-28 08:03:44 +00:00
Jakob Ackermann
1bee808551 Merge pull request #7220 from overleaf/jpa-wait-for-db
[web] scripts/undelete_project_to_user: add missing wait for db call

GitOrigin-RevId: 80a767d26ee529c0aabf8ce11a010dca4a51be2b
2022-03-25 09:03:59 +00:00
Jakob Ackermann
d993144fec Merge pull request #7214 from overleaf/jpa-refactor-insecure-endpoint
[web] refactor an insecure web-api endpoint into a script

GitOrigin-RevId: ba565a41d11fdaeb919dbf3cfe80c6f2e2474df1
2022-03-25 09:03:55 +00:00
Jakob Ackermann
f4d17f78f7 Merge pull request #7194 from overleaf/jpa-rate-limit-zip-download
[web] rate-limit project zip download requests

GitOrigin-RevId: c99b7474de26b0e8a288863dccb60a25adfdc1b0
2022-03-25 09:03:52 +00:00
Jakob Ackermann
c192002f53 Merge pull request #6837 from overleaf/jpa-drop-v1-subscription-lookup
[web] drop support for v1 subscriptions

GitOrigin-RevId: ddffa60398d5319959f9e5455520a61fa58fab37
2022-03-25 09:03:48 +00:00
June Kelly
e01fbb243b Merge pull request #7081 from overleaf/jk-restricted-user-accept-changes
[real-time] Pass 'accept-changes' messages to restricted clients

GitOrigin-RevId: 66766f08349501d5a63ee45c4d82e1fe72df852f
2022-03-24 14:58:50 +00:00
June Kelly
4e11fa73cb Merge pull request #7106 from overleaf/ab-analytics-controller-async
Convert AnalyticsController to async/await

GitOrigin-RevId: a38194b2970a15b06fe6a3d95048681d7927bfc3
2022-03-24 14:58:47 +00:00
June Kelly
e536ed1661 Merge pull request #7125 from overleaf/jk-project-rename-strip-ends
[web] Rename project: trim whitespace on ends

GitOrigin-RevId: 2499d9e206ed5c929870a0f50cccd07ce3ec5ba7
2022-03-24 14:58:44 +00:00
June Kelly
b5677742a2 Merge pull request #7062 from overleaf/jk-fix-file-type-detection
[web] Fix file-type detection for `latexmkrc`

GitOrigin-RevId: d51363d2b7d2b1fcc4b783cb3e91f33ab450abba
2022-03-24 14:58:40 +00:00
Eric Mc Sween
6061e09ab9 Merge pull request #7180 from overleaf/em-missing-pdf-download-domain
Handle missing PDF_DOWNLOAD_DOMAIN setting

GitOrigin-RevId: 3f022ec1637f7f38ca98503b1ab08748f6bbf87d
2022-03-24 09:03:57 +00:00
Jakob Ackermann
5a25e6aa1a Merge pull request #7165 from overleaf/jpa-web-load-shedding-probe
[misc] differentiate between load-shedding and VM cycling events

GitOrigin-RevId: a22478bf7f96ac4c73f908777307d4c2b6fb25c2
2022-03-24 09:03:51 +00:00
Timothée Alby
ac3eb878d6 Merge pull request #7172 from overleaf/ta-pdf-viewer-backdrop-hide
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: ae9eb98dc8a51a882354b6ddea095df2bed51346
2022-03-24 09:03:44 +00:00
Timothée Alby
0703c6d21d Merge pull request #7142 from overleaf/ii-6756-gmail-flags-emails-as-dangerous
Change security email title

GitOrigin-RevId: d33c9d7998ada059dac61ba0d13eefedd66237fc
2022-03-24 09:03:38 +00:00
Alf Eaton
7f4934d619 Add TypeScript file extensions to Storybook config (#7163)
GitOrigin-RevId: f070c8555d570bfdf02958bfbb241def8cacb263
2022-03-23 09:02:51 +00:00
Timothée Alby
dfa3178034 Merge pull request #7162 from overleaf/ta-pdf-viewer-backdrop-fix
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: 2c0c6c0921d4cc02720d4f5339dbbfb16f28363f
2022-03-23 09:02:48 +00:00
ilkin-overleaf
e20cbad116 Merge pull request #7086 from overleaf/ta-pdf-viewer-backdrop
Add Logo Backdrop in PDF Viewer

GitOrigin-RevId: 242a8c5a08abf5b90f8abdb144eb768a63fd1a0e
2022-03-22 09:03:46 +00:00
ilkin-overleaf
ea729ca2af Merge pull request #7075 from overleaf/ta-mutli-selection-ui-fix
Bring Multi-Selection UI Back

GitOrigin-RevId: a0e086da98bb1de88cb2e96ddc2acfd5240a01a7
2022-03-22 09:03:40 +00:00
ilkin-overleaf
ebec861562 Merge pull request #7123 from overleaf/jk-logging-catch-folder-error
[web] Add logging around crash site in `ProjectEntityHandler`

GitOrigin-RevId: 73ae00c10dba3783417d88785427c77c59faf57b
2022-03-22 09:03:34 +00:00
ilkin-overleaf
da3b5b76c4 Merge pull request #7131 from overleaf/dependabot-npm_and_yarn-sysend-1.10.0
Bump sysend from 1.8.0 to 1.10.0

GitOrigin-RevId: 46b906833ab7add896a4430d6ba03492b958c42b
2022-03-22 09:03:27 +00:00
ilkin-overleaf
57e60c05ca Merge pull request #7066 from overleaf/ta-synctex-disable-multi
Disable Synctex Controls for Docs and Multiselections

GitOrigin-RevId: 9f14e68228f9aa13a4188918930fc8cdb5eefabf
2022-03-22 09:03:21 +00:00
ilkin-overleaf
be0774be8f Merge pull request #7060 from overleaf/ii-5273-latex-log-parsers
Clean up log parsers code

GitOrigin-RevId: 7dc4dbbb07bba72dda63d75502602570620fe07d
2022-03-22 09:03:14 +00:00
ilkin-overleaf
21e753ca21 Merge pull request #7061 from overleaf/ii-6853-add-symbol-palette-to-trial-email
Symbol palette in the trial email

GitOrigin-RevId: f2cad20e42d1d239518dc24f506ef7418b2167a9
2022-03-22 09:03:11 +00:00
Alf Eaton
55c5973d37 Add custom transform for extracting i18next keys from TypeScript files (#7138)
GitOrigin-RevId: 3b435b999c72e666eff25f86eb65e0368e953910
2022-03-22 09:03:08 +00:00
Alf Eaton
8b253b32f7 Add ts(x) file extensions to ESLint config for frontend-specific rules (#7139)
GitOrigin-RevId: 26389fb0ca9b3cd6545ada66a0f1dd31c5c33d9f
2022-03-22 09:03:04 +00:00
Alf Eaton
37c1b59c95 Merge pull request #7130 from overleaf/ae-pdfjs-paths
Fix paths for pdf.js cmaps and images

GitOrigin-RevId: 9faeb3288e0a620653ecdaac2ef2a628d47a3eb8
2022-03-21 09:03:37 +00:00
M Fahru
0dcdc511a9 Merge pull request #7092 from overleaf/mf-prettier-ts-tsx
[web] add ts and tsx extension to the prettier scripts and execute it

GitOrigin-RevId: 22d1bcff978b46664668ea93462271ec4a2dddfe
2022-03-21 09:03:26 +00:00
Alf Eaton
65e71714b8 Upgrade pdf.js via split test framework (#7053)
GitOrigin-RevId: dffe1f5bec07cba0914e3bd18ff5332dfe204f33
2022-03-21 09:03:16 +00:00
Alf Eaton
b7a5614c95 Add PDF Preview error boundary components to Storybook (#7065)
GitOrigin-RevId: cc9ec43040b7c43a70b76e8174e92cee32445162
2022-03-21 09:03:13 +00:00
Alf Eaton
35b1aef765 Preserve "Exception" names when minifying (#7096)
GitOrigin-RevId: 41a869d0cb9f3506707c9d24d94f1c05825c51ab
2022-03-21 09:03:10 +00:00
Alf Eaton
9d9bf8b9d0 Import Promise.allSettled from core-js (#7099)
GitOrigin-RevId: e7c1da844c3c7e8caec386b06f3b8393ea79529c
2022-03-21 09:03:07 +00:00
Thomas
cc6a9519e2 Merge pull request #7074 from overleaf/tm-collaborator-to-standard-split-test
Add split test for 'Collaborator' to 'Standard' name change

GitOrigin-RevId: 549c5ac566f622f52218adc571a427e6241a53ee
2022-03-18 09:03:17 +00:00
Thomas
71e6dfdd15 Merge pull request #7072 from overleaf/tm-collaborator-to-standard
Change various usages of `Collaborator` plan name to `Standard (Collaborator)`

GitOrigin-RevId: 9bf98a0e0d029b28b1b5bd7aa6b16f4d4aa4a883
2022-03-18 09:03:14 +00:00
Jakob Ackermann
bd74a149ce Merge pull request #7100 from overleaf/ae-worker-hash
Improve webpack config for Web Worker scripts

GitOrigin-RevId: 38773291726d31cc31a8360049db67103198582b
2022-03-18 09:03:10 +00:00
Jakob Ackermann
29aa7c622a Merge pull request #7105 from overleaf/jpa-static-no-csp
[web] remove CSP header from static assets

GitOrigin-RevId: 2f12974f490ff22796ed74c38a466fe4649877c1
2022-03-18 09:03:07 +00:00
Jakob Ackermann
224edddad4 [web] set a default, strict CSP on ALL endpoints (#6271)
* Remove use of CSP_PERCENTAGE

* Move header calculation earlier

* Set a default policy and add comments

* Apply the CSP header to all responses

* Enable CSP in dev environment

* [web] set a default, strict CSP on ALL endpoints

* [misc] enable CSP in dev-env

* Only build the default policy once

* Update docker-compose.yml

* [web] webpack: set default CSP header on webpack assets

This aligns the webpack dev-server with production in nocdn=true mode.

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 088a6082ad21c5b3f229887ba0ab3eca8d0528cd
2022-03-18 09:03:01 +00:00
M Fahru
ecfe3df5ed Merge pull request #7087 from overleaf/ae-nvmrc
Update .nvmrc

GitOrigin-RevId: 8a43de70e3d8bc12534a041f6cbdb90eee1212b4
2022-03-17 09:03:48 +00:00
M Fahru
1e57b013ef Merge pull request #7079 from overleaf/mf-types-react-reactdom
[web] add @types/react and @types/react-dom as web dependencies for react files using typescript

GitOrigin-RevId: 2d32094d9d4c04a7efd72dc8d6d43cc9a1180074
2022-03-17 09:03:45 +00:00
Thomas
4cc888ce2f Merge pull request #6996 from overleaf/tm-expired-project-chat
Add endpoints to chat for deleting expired project chat data

GitOrigin-RevId: e4eb7c7a79472bb116b2095a76c870e204590288
2022-03-17 09:03:41 +00:00
Brian Gough
a28e0eaab0 Merge pull request #7073 from overleaf/bg-features-epoch
[web] add note to refresh_features.js script

GitOrigin-RevId: 5bda96df8a604c0d5b370aa25b0851486401ed7d
2022-03-17 09:03:30 +00:00
Alf Eaton
b72b2b9b75 Convert the source editor module to TypeScript (#6858)
GitOrigin-RevId: 37863a00b3af0823a404f42c0540cb4508c698b6
2022-03-16 09:03:29 +00:00
June Kelly
461e2f3077 Merge pull request #7037 from overleaf/ii-5811-glyphs
Fix glyphs

GitOrigin-RevId: 4414797f1f8f678eb8c02302d2779f245d38ba78
2022-03-16 09:03:16 +00:00
June Kelly
837ad6002f Merge pull request #6911 from overleaf/ta-layout-dropdown-view-fix
Fix Layout Dropdown in History and File Views

GitOrigin-RevId: 17792e6ec516ac9d72c050d5e2b83066fa34ed6d
2022-03-16 09:03:14 +00:00
June Kelly
1fc13e6549 Merge pull request #7036 from overleaf/ta-go-to-pdf-hide-logs
Hide Logs When Highlighting PDF Location

GitOrigin-RevId: cdf22393b1dde5eb842cf0f8b2d7d8c408bc8eca
2022-03-16 09:03:11 +00:00
Alf Eaton
ac0e9d06c3 [web] Configure Babel + ESLint to handle TypeScript files (#5993)
GitOrigin-RevId: e8474274e60e5e0dcefa7263616fbaf04a9f3930
2022-03-16 09:03:07 +00:00
Alf Eaton
9f969d07e0 Delete unused PDF-related code (#6334)
* Remove new logs UI code
* Remove unused preview components
* Move metrics file
* Remove Angular PDF controllers
* Move the service worker util functions
* Remove the ide/pdfng folder
* Remove vendored pdf.js
* Remove showNewPdfPreview
* Use mockCompile
* Remove split test code

GitOrigin-RevId: 723b7440c62cda51f6ad8bb9c691900882166d21
2022-03-16 09:03:04 +00:00
M Fahru
7ee6b477e1 Merge pull request #7064 from overleaf/mf-comment-on-hover-not-visible
[web] fix comment is not visible while hovering the bubble icon on the project editor minimized review panel

GitOrigin-RevId: 8f20078fc554a4e2d4aae49174a7e1ab71dea592
2022-03-16 09:03:01 +00:00