Commit graph

18833 commits

Author SHA1 Message Date
Eric Mc Sween
bce5a31267 Merge pull request #15741 from overleaf/em-read-version-from-docs
Read doc version from the docs collection

GitOrigin-RevId: 1aad4f9d1e1781dae64768938413f36fd2d26703
2023-11-14 09:04:48 +00:00
Tim Down
6f34a84ebd Merge pull request #15684 from overleaf/td-ide-page-main-doc-left-menu
Add docs to FileTreeDataContext to replace 'docs' scope value in React code

GitOrigin-RevId: 430f795eb0cd17f0f4fab9c61e46fb04ff3030b3
2023-11-14 09:04:40 +00:00
Tim Down
1c820de200 Merge pull request #15610 from overleaf/td-ide-page-editor-events
React IDE page: hook up events

GitOrigin-RevId: 1121a30755fc600023f06925ca3eafa7a8e1ee14
2023-11-14 09:04:36 +00:00
Tim Down
ea9a639734 Merge pull request #15721 from overleaf/ii-file-tree-nested-files-and-folders
[web] Fix deeply nested files and folders selection

GitOrigin-RevId: 3c9cc62f3294a735627d27019e53917b6fa8e6f2
2023-11-14 09:04:31 +00:00
Tim Down
5ddcdfbe2b Merge pull request #15747 from overleaf/td-ide-page-on-online
React IDE page: prevent error from connection manager when user comes online

GitOrigin-RevId: 8548b8db4cfb32598916eb423af737b36b4eadf5
2023-11-14 09:04:27 +00:00
Tim Down
f781e00f10 Merge pull request #15745 from overleaf/td-ide-page-layout-menu-stacking
React IDE page: fix the stacking of the layout menu relative to the main content

GitOrigin-RevId: 14a213eee1b4f6d909b365ff54da417ad10c5f93
2023-11-14 09:04:22 +00:00
Tim Down
80ef96846a Merge pull request #15742 from overleaf/td-ide-page-double-click-divider
React IDE page: make column dividers double clickable

GitOrigin-RevId: 005b03ec5837293a2182d2d30d0955abaadc8e0c
2023-11-14 09:04:18 +00:00
Tim Down
c8e68e8c96 Merge pull request #15696 from overleaf/td-ide-page-show-editor-loading
Make editor loading panel appear in React IDE page

GitOrigin-RevId: b28573ece3e0331a8a82d56df55896bec8b607d9
2023-11-14 09:04:10 +00:00
Tim Down
07345ae70d Merge pull request #15686 from overleaf/td-ide-page-file-name-truncate
Make file name truncation work correctly in React IDE page file tree

GitOrigin-RevId: 8e8490be5ca7571a55c1ab2bea7590c54d004c21
2023-11-14 09:04:06 +00:00
CloudBuild
b37f48361d auto update translation
GitOrigin-RevId: a9e3e383b241e35dbb575939f2ee671d2b6fb875
2023-11-13 09:04:17 +00:00
Brian Gough
26db8ffa69 Merge pull request #15716 from overleaf/bg-eslint-console-log-in-web-tests
add console.log rule for tests in web eslintrc

GitOrigin-RevId: 166135e379309870fa4fe2d1797cb4c93cf2d877
2023-11-13 09:04:13 +00:00
Domagoj Kriskovic
9ce9b2c937 Add onboarding-flow in "register" and "user-registered" events (#15651)
* onboarding-flow in register event

* onboarding-flow in user-registered event

* fix typos

GitOrigin-RevId: aff8a7157062db0ec1c99499353a7c08eaa7b8b6
2023-11-13 09:03:57 +00:00
Thomas
3ff58aa318 Add timeouts to file-view-text fetch requests (#15690)
* Add timeouts to file-view-text fetch requests with useAbortController for graceful cleanup

* Add context to error log for file-view-text content fetching

GitOrigin-RevId: de50e5d99f22b219eb31425ab39ca35d84300625
2023-11-10 09:04:27 +00:00
M Fahru
0639f266d8 Merge pull request #14756 from overleaf/mf-group-invite-new-user-redirection
[web] Redirect to invite screen if new user register with a pending group invitations

GitOrigin-RevId: 39aeffd65b9d793c87e53398a700ad140794594e
2023-11-10 09:04:23 +00:00
Alexandre Bourdin
c4bea21ee2 Merge pull request #15669 from overleaf/ab-fix-sso-linking-status
[web] Fix SSO status in group members table

GitOrigin-RevId: e54e7b0c9640f0b96d9692c0208357e3bac2de91
2023-11-10 09:04:15 +00:00
Alf Eaton
1819f3e4e7 Only focus the URL input when no URL has been entered (#15673)
GitOrigin-RevId: e89406f5f0921898901c3c0d298e48e345a65621
2023-11-10 09:04:04 +00:00
Alf Eaton
b0effa7e4a Trim the project name again after fixing (#15682)
GitOrigin-RevId: 74c87ee1689668a058a162a1f456815e0748b049
2023-11-10 09:04:00 +00:00
Alf Eaton
84500f0cb4 Use w3c-keyname in codemirror-emacs (#15675)
GitOrigin-RevId: 78f7dbfcfd7bf8477ec4d0efb9f4c013da4d2bb9
2023-11-10 09:03:55 +00:00
Gernot Schulz
259663568f Merge pull request #15700 from overleaf/gs-verify-cdn-upload
Verify web CDN uploads

GitOrigin-RevId: d52b3b15ffa255cddd934bbaac4643dd48104428
2023-11-10 09:03:51 +00:00
Miguel Serrano
80e170967b Merge pull request #15635 from overleaf/jpa-safer-disconnect
[web] make disconnect_all_users script safer

GitOrigin-RevId: 2b17478b27b516ccdf15ade41d81c75176c8a0cd
2023-11-10 09:03:43 +00:00
Miguel Serrano
7f347be7f3 Merge pull request #15658 from overleaf/msm-team-invite-acceptance
[web] Team invite acceptance tests

GitOrigin-RevId: 755a4c483c93cee1ce4403c04db85fcbf4da06c3
2023-11-10 09:03:38 +00:00
Rebeka Dekany
4dd2635c40 Merge pull request #15685 from overleaf/rd-newsletter-homepage
[web] Hide newsletter checkbox on the homepage when token-confirmation-odc variant is active

GitOrigin-RevId: b5c0c1fdf205c99584ae7b6b461b13a73745fef3
2023-11-09 09:03:26 +00:00
Rebeka Dekany
da401ce5f9 Merge pull request #15680 from overleaf/rd-input-field-fix
[web] Onboarding Data Collection institution input field fix

GitOrigin-RevId: 25becfb6ff5d7ce04559ba7a9af74215bd07ac64
2023-11-09 09:03:24 +00:00
Jessica Lawshe
12d82755a6 Merge pull request #15632 from overleaf/jpa-prod-target
[web] use explicit docker image target for production build

GitOrigin-RevId: 7d59ce709a5234b44da9e3034118c760c1a3d427
2023-11-09 09:03:16 +00:00
Jessica Lawshe
efc66bb276 Merge pull request #15664 from overleaf/jel-token-hash-prefix
[web] Include more data when logging link sharing token hash mismatches

GitOrigin-RevId: 8f939cf3dd49497d5b21779e354ce5deff07edad
2023-11-09 09:03:13 +00:00
Eric Mc Sween
f397d79439 Merge pull request #15648 from overleaf/em-promisify-doc-manager
Promisify DocManager

GitOrigin-RevId: c9ab368086492900e1617d5d96943d405f25883d
2023-11-09 09:03:10 +00:00
Christopher Hoskin
292e9efbb7 Merge pull request #15666 from overleaf/csh-issue-15655-artifact-registry
Dual push chat for artefact registry

GitOrigin-RevId: d14f3c7631b4eb69dff44454fa2e6086f7311ab6
2023-11-09 09:03:07 +00:00
Domagoj Kriskovic
330a9c8e3a Store ODC form results in onboardingDataCollection (#15609)
* registration/onboarding page

* show only if in split test group

* rate limiter, skip errors

* fix storybook logo

* remove skip payload

* fix typos

* prettier

* store ODC form results in onboardingDataCollection

* add userId

* prettier

* pick what properties should be stored

* remove unused props

* remove userId index

* update user profile

* update user profile

* use setOp

* added test

* remove userId from schema

* clean after user delete

* mock unit test

* limit to 255 chars

* updatedAt field

* prettier

* firstName, lastName as separate vars

* move subscribe at the end

* check if user exists

GitOrigin-RevId: 6d76927e97b5f4ed664ffb9b8806b3516c77eb9b
2023-11-09 09:03:04 +00:00
Miguel Serrano
33981d7f91 [web] Unit test for GroupSSOHandler (#15652)
* [web] Unit test for `GroupSSOHandler`

GitOrigin-RevId: 6b3bf8f9a77c8c2065937cf1887dcd086734f495
2023-11-09 09:03:01 +00:00
Tim Down
b0ddbbb5f8 Merge pull request #15653 from overleaf/td-ide-page-wait-before-open-doc
React IDE page: open a document after project:joined handling has finished

GitOrigin-RevId: ce48b5fabf7124c37b811b4be132cb28f1eb9857
2023-11-09 09:02:58 +00:00
Alf Eaton
54088acb1b Improve PDF file view at high pixel density (#15624)
GitOrigin-RevId: 49cc936853109aac6c2eefb9da1f0e794215ae13
2023-11-09 09:02:55 +00:00
Alf Eaton
c656e99b38 Upgrade CodeMirror search (#15657)
GitOrigin-RevId: d6a850530fe12bf5d4a36caf1d43761bb975419f
2023-11-09 09:02:52 +00:00
Rebeka Dekany
19e6559e2a Merge pull request #15498 from overleaf/rd-input-fields
Onboarding Data Collection (step3)

GitOrigin-RevId: 0e78de5ccb7b7660ab04c904bc2fec4436b36621
2023-11-09 09:02:48 +00:00
CloudBuild
774dfcb2e6 auto update translation
GitOrigin-RevId: e768c656197237d52a05f954c056dabdbc8fa09e
2023-11-08 09:03:48 +00:00
Miguel Serrano
42fe453096 [SP] Prevent rendering of sync section in SP when git disabled (#15647)
GitOrigin-RevId: 0f4c43eeb0182e7288566eff1ceed861bb9c4338
2023-11-07 12:35:08 +00:00
Alf Eaton
e0c8eb98c1 Show the git sync modal to read-only users (#15301)
GitOrigin-RevId: e002815fa7c18d497260e6344a4e8de95d7bacef
2023-11-07 12:35:04 +00:00
Alf Eaton
3912de589f Merge pull request #15629 from overleaf/ae-web-target
Use production `web` dependencies for development

GitOrigin-RevId: e89942d1a24c32bf60b319932c6d74905db74a19
2023-11-07 12:35:00 +00:00
Alf Eaton
54c55360c4 Remove completion and shortcut event logging (#15633)
GitOrigin-RevId: 35eedb7b18200badef8226eecc58b3c35344f256
2023-11-07 12:34:56 +00:00
Alexandre Bourdin
8abf8ba956 Merge pull request #15639 from overleaf/ab-fix-group-settings-visibility
[web] Various fixes for Group SSO

GitOrigin-RevId: 0a98d7eed14b2878a6be5e28e54ab1f7ceb9be5f
2023-11-07 12:34:45 +00:00
Jessica Lawshe
41ec69a5ea Merge pull request #15553 from overleaf/as-remove-scroll-tracking-trigger
Proposal: Remove scroll trigger for event tracking
GitOrigin-RevId: 8d27b5a2ad5d1f88600c2a193c0ad0dc44ca9aa2
2023-11-07 09:05:16 +00:00
Jessica Lawshe
780673ed31 Merge pull request #15558 from overleaf/jel-log-token-hash-mismatch
[web] Log the project ID on link sharing token hash prefix mismatches

GitOrigin-RevId: 37d15206f49920f49d61f22479b98dd4d448f6bd
2023-11-07 09:05:12 +00:00
Eric Mc Sween
08304b5947 Merge pull request #15588 from overleaf/em-migrations-mongo-timeout
Disable socket timeout when running Mongo migrations

GitOrigin-RevId: 4fd1b9d4b4756951fce3918a01e1c8803538153d
2023-11-07 09:05:08 +00:00
Eric Mc Sween
348bdf7907 Merge pull request #15562 from overleaf/em-drop-unused-indexes
Drop unused indexes

GitOrigin-RevId: 7658a8545f6068347276f3cdf1e742ee34a491d9
2023-11-07 09:05:04 +00:00
Alexandre Bourdin
d45ca7d401 Merge pull request #15582 from overleaf/msm-sso-linking-reminders
[web] SSO Linking redirects and interstitial info

GitOrigin-RevId: fdad0290ebf2b8b8a77f12b75736c030a4c7b642
2023-11-07 09:05:00 +00:00
Alexandre Bourdin
6852ad2be7 Merge pull request #15569 from overleaf/msm-group-sso-link-errors
[web] Error handling during SSO linking

GitOrigin-RevId: 232ef0672e93dc7c68cd45396306e8b4328a35d9
2023-11-07 09:04:55 +00:00
Alexandre Bourdin
2783e89bc3 Merge pull request #15539 from overleaf/ab-schedule-sso-reminder
[web] Schedule Group SSO account linking reminder after joining the group

GitOrigin-RevId: 5586787fbd268446e441762fd7b4846821f849f6
2023-11-07 09:04:51 +00:00
Tim Down
c3afce73c1 Merge pull request #15592 from overleaf/td-ide-page-more-modals
React IDE page: add out-of-sync modal and project deleted modal

GitOrigin-RevId: 6081a40c3009e8ebc5b3f9752c4059af3d52966d
2023-11-07 09:04:44 +00:00
Tim Down
ecf7befe88 Merge pull request #15617 from overleaf/td-ide-page-show-pdf-divider
React IDE page: show PDF divider when PDF collapsed

GitOrigin-RevId: f535433a9f9c7683ae4144556a810247cda0f608
2023-11-07 09:04:40 +00:00
Tim Down
8144d431a6 Merge pull request #15597 from overleaf/td-ide-page-preview-pdf-fix
Remove FileTreeManager from FileViewPdf

GitOrigin-RevId: ca58d8695ab8e8868f8025aab932d665742a4131
2023-11-07 09:04:35 +00:00
Davinder Singh
8b5213397c Group SSO - Display group SSO switch independently of managed users (#15423)
GitOrigin-RevId: 249a9b176404418da712eee9e29de931d9498887
2023-11-07 09:04:31 +00:00
Alf Eaton
87ac3bca09 Fix propType for clientOffset (#15586)
GitOrigin-RevId: e49e2fa8240e926e44fc65c8f3d7aa1b4435e29b
2023-11-07 09:04:27 +00:00
Alf Eaton
e8150c4b17 Avoid changing background of table header on hover (#15602)
GitOrigin-RevId: e76c42932d691746e7fbc6b7c865b8aaf36a1c03
2023-11-07 09:04:23 +00:00
Alf Eaton
994e18bdee Set min height for project list header (#15599)
GitOrigin-RevId: 85c6ac8784fedfc69d52a78d0584d63c44122306
2023-11-07 09:04:19 +00:00
Tim Down
a4b9947fe4 Merge pull request #15581 from overleaf/td-ide-page-restore-file
React IDE page: implement file restore and simplify some state

GitOrigin-RevId: ff63eb4f649156b58d9f8c4573cb6bd5b516a299
2023-11-06 09:04:11 +00:00
Domagoj Kriskovic
101e7e0c28 [cm6] advanced reference search tooltip (#14953)
---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 8260353d551e68f743faa17de4d7fcfbfd80b22a
2023-11-06 09:04:07 +00:00
Alf Eaton
c597444179 Remove unused propTypes (#15578)
GitOrigin-RevId: d45d155277a7fc4fbd137f8c640e4a22b1b82399
2023-11-06 09:04:03 +00:00
Alf Eaton
d3e4f59885 Add PDF file preview (#15503)
GitOrigin-RevId: d5d84da65d328222556bfa9f5b585f7e47ba14ad
2023-11-06 09:03:59 +00:00
Brian Gough
ee4e1f5429 Trim project name and validate whitespace (#14976)
* add whitespace check to fixProjectname
* add whitespace check to validateProjectName
* Log a warning if the project name starts or ends with whitespace

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: ba81e0f795e52dbba92c9fbb48cebfd8e547af08
2023-11-06 09:03:55 +00:00
Alf Eaton
6b8dfaa782 Use newPathname when restoring a renamed file from history (#15534)
GitOrigin-RevId: b8f6b7d6174f814db696002891addb961e76ac9c
2023-11-06 09:03:51 +00:00
Alf Eaton
a5faeee707 Replace bsStyle="secondary" (#15587)
GitOrigin-RevId: a0d1b6dc4957951ec944c1981e22fe0ccab4eeb7
2023-11-06 09:03:47 +00:00
Jakob Ackermann
ebe9032621 Merge pull request #15584 from overleaf/jpa-websocket-state-enum
[web] tests: provide enums for WebSocket states

GitOrigin-RevId: 94e7c0510c325880f54a277fcd3509538df70a22
2023-11-06 09:03:42 +00:00
Alexandre Bourdin
e322f4a31f Merge pull request #15418 from overleaf/ds-managedUsersEnabled
Managed users - Adding a managedUsersEnabled flag on subscription model

GitOrigin-RevId: a03dd169ba71255dd1bec5f7bee8ce9609d95a2f
2023-11-03 09:00:26 +00:00
Jakob Ackermann
62765e0e14 Merge pull request #15518 from overleaf/jpa-webpack-thread-loader
[web] compile less via thread-loader off the main event loop

GitOrigin-RevId: 44cde525dcbb7caa2db7eff724ba5785c459a013
2023-11-03 09:00:23 +00:00
Eric Mc Sween
960701d143 Merge pull request #15541 from overleaf/em-drop-redundant-indexes
Drop redundant indexes

GitOrigin-RevId: e85729b2a7320a2fa77f1ff2fa054b5438139b7d
2023-11-03 09:00:19 +00:00
Eric Mc Sween
f09f72d2da Merge pull request #15555 from overleaf/em-partial-last-opened-index
Make lastOpened index on projects partial

GitOrigin-RevId: a8c5b71450e99a578e18a95dc84eba863e4b79a1
2023-11-03 09:00:16 +00:00
Eric Mc Sween
75c7a58100 Merge pull request #15515 from overleaf/em-promisify-user-controller
Promisify UserController

GitOrigin-RevId: d56ddb32abff2c33f45efa58285c7bf02b578cd2
2023-11-03 09:00:13 +00:00
ilkin-overleaf
2bbead57ec Merge pull request #15474 from overleaf/td-ide-page-file-and-multiple-view
React IDE page: implement file views and file delete handling

GitOrigin-RevId: 491cad7b147e55bc4a250da387916c7e2dff14ae
2023-11-03 09:00:08 +00:00
ilkin-overleaf
0c403bf8e3 Merge pull request #15397 from overleaf/ii-ide-page-prototype-review-panel
Init review panel for React IDE page

GitOrigin-RevId: fc23201055ae892c5c1d5cb88e472a0bb0cd6c25
2023-11-03 09:00:02 +00:00
Brian Gough
d3adcff0f1 Merge pull request #15544 from overleaf/bg-misc-use-literal-paths
Replace APP_ROOT and other variables with literal paths in web imports

GitOrigin-RevId: 138f03ad9355c8c6c92a206b0e54573234a6f65d
2023-11-02 08:53:03 +00:00
Jimmy Domagala-Tang
37817f89f4 Merge pull request #15295 from overleaf/jdt-subs-tbl-tab-access
Add subscription table icons to the tab index

GitOrigin-RevId: 1585cf2c7a114a9cae78c5d4bfbd888756aacf43
2023-11-02 08:52:59 +00:00
Rebeka Dekany
a2946f8601 Merge pull request #15249 from overleaf/rd-odc-radio
Radio buttons for Onboarding Data Collection

GitOrigin-RevId: 8c4d1e965f3263b4c8a41c129c5c3d6e3ef10986
2023-11-02 08:52:52 +00:00
Domagoj Kriskovic
af4b22fab5 Confirm email new routes (#15377)
* confirm email routes

* Style the email confirmation template (#15196)

* error handling

* prettier

* error message

* rename variables

* message codes change

* v1 redirect

* fix assigning to session

* rename rate limitter

* rate limitter per email

* add try/catch

* added stub

* prettier

* confirm email acceptance test

* confirm when created

* tests

* added rate limit tests

* new email text

* subscribe to newsletter

* beforeEach/afterEach test both variants

* move tests to OverleafAuthenticationTests

* Revert "move tests to OverleafAuthenticationTests"

This reverts commit 3c745382815da1594044a811882ba3daa24a7a3a.

* cacheflow reset after each

* remove test archive request

* use crypto for random code

* rate limit in userEmailsConfirmationHandler

* ratelimiter per type

* req.session.pendingUserRegistration

* spy in before/after each

* without deleteMany

* delete staffUser in afterEach

* stub response, format

* rate limiter outside userEmailConfirmationHandler

* mock ratelimitter

* fix subscribe promise

* add email to logger

* logger calls

* using tsscmp

* fix lint

* resendConfirmationCode rate limiter in router

* remove redirect

---------

Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: 786c477966cf2c5f6e28417fe486146ee5c10884
2023-11-02 08:52:48 +00:00
Jakob Ackermann
79b4f1ec7f Merge pull request #15508 from overleaf/jpa-webpack-upgrades
[web] upgrade all the webpack packages

GitOrigin-RevId: 39283f2ba58ecbc2a51d14a58c6c6b0241448398
2023-11-02 08:52:43 +00:00
Brian Gough
6b00b4d4e0 Merge pull request #15537 from overleaf/bg-group-sso-use-literal-paths
use literal paths in SAML modules for editor support

GitOrigin-RevId: 4abd7be30dcd3f20a1060663cd304ad88878e86d
2023-11-01 09:03:34 +00:00
Rebeka Dekany
09b910e58d Merge pull request #15522 from overleaf/remove-old-registration-login
Tear down focus-registration split test and make the new variant to be the default

GitOrigin-RevId: e80d3568063f2e23a3671c93b65425bf760657b1
2023-11-01 09:03:28 +00:00
Miguel Serrano
220998839b Merge pull request #15504 from overleaf/msm-fix-import-sp
[web] Replace module import breaking Server Pro

GitOrigin-RevId: 23f65b06d14019d1878c61abdf71b6b556192dc4
2023-11-01 09:03:25 +00:00
Miguel Serrano
cb33f70377 Add missing module imports in Server Pro (#15510)
* Add missing module imports for Server Pro

GitOrigin-RevId: 7fd375bac903379047e74e3bcc615074bff18c0b
2023-11-01 09:03:22 +00:00
Miguel Serrano
e22e8ff7a8 [web] SSO linking for existing group members (#15471)
* [web] SSO linking for existing group users

GitOrigin-RevId: 22a5a5a28a213860f88ae0284c1ef51a31bb268f
2023-11-01 09:03:19 +00:00
Miguel Serrano
1f56441184 Merge pull request #15514 from overleaf/jpa-single-webpack-runtime
[web] enable webpack option runtimeChunk=single in dev-env

GitOrigin-RevId: 905b362496fc5df896632db920c91aee75c30b46
2023-11-01 09:03:16 +00:00
Miguel Serrano
d62f2c6a40 Merge pull request #15509 from overleaf/jpa-ide-react-pug-tweaks
[web] editor: use CSS/JavaScript loading primitives from base template

GitOrigin-RevId: fb570f62e37517f2a4444d469435e854fd890db6
2023-11-01 09:03:14 +00:00
Miguel Serrano
93b7e65f6c Merge pull request #15405 from overleaf/msm-remove-redundant-check
[web] Remove redundant check

GitOrigin-RevId: 035adf436c0d694fcb7817cd27e743683eb1252d
2023-11-01 09:03:08 +00:00
Jakob Ackermann
ce2222dcf7 Merge pull request #15525 from overleaf/jpa-cypress-upgrade
[web] upgrade cypress to 13.3.3

GitOrigin-RevId: a76cb2f721ca0b0349a9be073291c1db3d1a58dc
2023-11-01 09:03:05 +00:00
Davinder Singh
451a6e958f adding DB migration for managedUserEnabled flag (#15516)
GitOrigin-RevId: 82727328d6eb25bb5fe394053beb9d943cd253e9
2023-11-01 09:02:57 +00:00
Jakob Ackermann
6906c6a28c Merge pull request #15513 from overleaf/jpa-consistent-return-type
[web] ExpressLocals: avoid returning undefined from getCssThemeModifier

GitOrigin-RevId: f5256719c2b4f06e2957f6bc971d3c895bdff5d2
2023-11-01 09:02:51 +00:00
Jakob Ackermann
f061a4add4 Merge pull request #15506 from overleaf/jpa-node-18-18-2
[misc] upgrade Node.js from 18.18.0 to 18.18.2

GitOrigin-RevId: 747783fcb9c2a09d79a82268531f612d1ad157be
2023-11-01 09:02:48 +00:00
Brian Gough
ad27d44255 Merge pull request #15517 from overleaf/revert-15336-bg-group-sso-login-copy
Revert "update copy for group sso login"

GitOrigin-RevId: 11ba89f9ed0c19c3e44562577eb24b00374f2f47
2023-10-31 09:04:55 +00:00
Brian Gough
a12699133d Merge pull request #15420 from overleaf/bg-group-sso-handle-errors
handle errors in group sso login

GitOrigin-RevId: dcfba6bc4f7aec8aa9d27945b297154594368d92
2023-10-31 09:04:48 +00:00
Brian Gough
6a96568739 Merge pull request #15336 from overleaf/bg-group-sso-login-copy
update copy for group sso login

GitOrigin-RevId: bfba8ec4021a264089f1ac1d1c8d7e107234e801
2023-10-31 09:04:43 +00:00
Jessica Lawshe
8a0f2dbe1d Merge pull request #15419 from overleaf/em-error-request-logging
Use the request logger for errors in web

GitOrigin-RevId: f654fc69e0bbdab8b16d23b007aefbad08925358
2023-10-31 09:04:36 +00:00
Jessica Lawshe
1054b2d6fa Merge pull request #15491 from overleaf/jel-token-hash-log-user-id
[web] Log the user ID on token hash prefix mismatches

GitOrigin-RevId: 78d298051a9c1794ed38422bef24c852dcee3bb2
2023-10-31 09:04:26 +00:00
Jessica Lawshe
a3251394e1 Merge pull request #15473 from overleaf/jel-remove-encoded-hash
[web] Remove encoded hashtag when checking token hash prefix

GitOrigin-RevId: 2b9c369beceb7897d0f6f165b4c3a70b79c14469
2023-10-31 09:04:22 +00:00
Thomas
3cd0cefd30 Gradual rollout of new compile timeout to existing users (#15478)
* Rollout compile timeout to existing users

* Update copy for compile timeout messages

GitOrigin-RevId: bada02efb3fc506ae6e35bdb7871a58ef4295cbe
2023-10-31 09:04:11 +00:00
Alf Eaton
221d16f4e4 Disable transSupportBasicHtmlNodes in react-i18next config (#15430)
* Set transSupportBasicHtmlNodes to false
* Update ESLint rule
* Convert Trans to t
* Convert shouldUnescape={true}
* Convert some arrays to objects
* Update translations

GitOrigin-RevId: 64a50318388abcada408f72d949de148129a9f63
2023-10-31 09:04:04 +00:00
Alf Eaton
1314f9082c Improve detection of folder move into subfolder (#15422)
GitOrigin-RevId: 200d6e10a6e92ca85de24cae6d20f50c697ca584
2023-10-31 09:04:00 +00:00
Alf Eaton
8980666921 [visual] Hide/disable editing features in href tooltip when doc is read-only (#15451)
GitOrigin-RevId: 22f07849c0a09a4536f7bbbe16a43514520cba8b
2023-10-31 09:03:52 +00:00
ilkin-overleaf
e06014ddb9 Merge pull request #15484 from overleaf/td-ide-page-remove-index-references
React IDE page: remove indexReferences from ReferencesContext

GitOrigin-RevId: da6443c06969ec22346b4f41c50092d51dbed20c
2023-10-31 09:03:48 +00:00
ilkin-overleaf
c8a6b48c0b Merge pull request #15358 from overleaf/ii-ide-page-prototype-history-view
History diff view and changes list for React IDE page

GitOrigin-RevId: 1a4fb7abbb00537f45a3dc779120327cf9edc781
2023-10-31 09:03:44 +00:00
Tim Down
31299ed31e Merge pull request #15481 from overleaf/td-preview-by-path-extension-fix
Fix off-by-one error in previewByPath

GitOrigin-RevId: 28d351aa288ff2e92df421e0bc33c2d44eae91c0
2023-10-30 09:04:52 +00:00
Alexandre Bourdin
cd27ee3c8f Merge pull request #15446 from overleaf/ab-tie-user-enrollment
[web] Prevent a user from becoming managed by another group after linking group SSO

GitOrigin-RevId: d8cb763a68ca38b4aaf1518a5f93ac5a61cec28c
2023-10-30 09:04:47 +00:00
Alexandre Bourdin
665f5e37c4 Merge pull request #15348 from overleaf/ab-decoupling-refactor-members-table
[web] Modular members management table refactoring

GitOrigin-RevId: 9a3a00a32970e78e5b43b3a68621a627c490c728
2023-10-30 09:04:43 +00:00
Alexandre Bourdin
c71301ac9a Merge pull request #15223 from overleaf/ab-sso-multiple-certificates-ui
[web] Support multiple certificates in group SSO settings

GitOrigin-RevId: 5f014eb82b7e0820040941fdd2bded8d33958316
2023-10-30 09:04:38 +00:00
ilkin-overleaf
c39a566fe3 Merge pull request #15221 from overleaf/ii-ide-page-prototype-file-tree-history
FileTree for history React IDE page

GitOrigin-RevId: 56fadced9f507297ba16dc54715811f36dcfd5b5
2023-10-30 09:04:33 +00:00
Mathias Jakobsen
edb4d7b84e Merge pull request #15455 from overleaf/mj-enable-all-the-things
[web] Enable skipped cypress tests

GitOrigin-RevId: 36cffbb2cc72ffb4cae9e5b8eaa57f7ba7929fa7
2023-10-30 09:04:29 +00:00
ilkin-overleaf
5c7fbdceac Merge pull request #15347 from overleaf/ii-ide-page-prototype-chat-pane
Chat for React IDE page

GitOrigin-RevId: 2a34e754a810fd6ef07e4213ad1d31d5e8e54b4c
2023-10-30 09:04:24 +00:00
ilkin-overleaf
9b6f83dfd4 Merge pull request #15319 from overleaf/ii-ide-page-prototype-share-modal
Share modal for React IDE page

GitOrigin-RevId: f72f824abdcb5a135c354e3ccc35912b2097673f
2023-10-30 09:04:20 +00:00
ilkin-overleaf
541e7e315c Merge pull request #15207 from overleaf/ii-ide-page-prototype-file-outline
File outline for React IDE page

GitOrigin-RevId: 18bfad1d59c5be5f1a2808f8ede62fe95e595dc5
2023-10-30 09:04:15 +00:00
Jessica Lawshe
16e859e40a Merge pull request #15429 from overleaf/jel-token-hash-metrics
[web] Log mismatched link sharing token hash prefixes

GitOrigin-RevId: 5ba690f4209987fccef859c858686c465e972f62
2023-10-27 08:03:27 +00:00
Domagoj Kriskovic
2d552f27e2 Confirm email component (storybook) (#15362)
* checkout confirm email component

* useTranslation

* less and locales

* mocked api story

* sort locales

* feedback state, img as prop

* confirm instead of verify

* locales changes

* use Trans components

* disable jsx-key for trans

* confirm email page

* success typo, bsStyle

* added aria-polite

* aria-live as wrapper

* using btn-secondary

* secondary btn only for resend

* InputNumber component

* fix lint

* inputMode numeric

* bsStyle

* example email in storybook

* autocomplete, autofocus

* aria-live on alert

* removed unused classes

* wrapped aria-live

* fix lint errors

* wrong eslint ignore line

* handle any type

* apply pr suggestions

* aria-label on input

* using error icon

* removed aria-label

GitOrigin-RevId: 2330b7da9278bc250e68acd5d80c28a325c3c653
2023-10-27 08:03:19 +00:00
Tim Down
91781afb5e Merge pull request #15462 from overleaf/td-ide-page-add-file-tree-path-context
Add FileTreePathContext to React IDE page

GitOrigin-RevId: 7ebb2709973d54d0aef373660730b35bec4650d2
2023-10-27 08:03:16 +00:00
Tim Down
c34c95b46d Merge pull request #15444 from overleaf/td-remove-root-folder-scope-use
Remove use of root folder scope in figure modal

GitOrigin-RevId: d07247b644d312ef711f5601d3c10a3274e43416
2023-10-27 08:03:13 +00:00
Tim Down
13f246a85e Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react
Remove use of FileTreeManager in React code

GitOrigin-RevId: f15bc9b4f84e0f65709b9850ed8cc5d3637efa7f
2023-10-27 08:03:10 +00:00
Tim Down
01439641ca Merge pull request #15376 from overleaf/td-ide-page-working-editor
React IDE page: working editor

GitOrigin-RevId: 3ba8cb787a6f7f8435686d8962adb7444d09acb5
2023-10-27 08:03:07 +00:00
CloudBuild
a59e63846d auto update translation
GitOrigin-RevId: 3c0387f987795a9a835d204bec9a1f26751e31fd
2023-10-26 08:03:55 +00:00
M Fahru
4556675ad2 Merge pull request #15150 from overleaf/mf-file-view-tpr-module
Move mendeley/zotero file-view UI to `tpr-webmodule` folder

GitOrigin-RevId: af3cfe614fcf415d5842cf98dc2a42a3898ccd8b
2023-10-26 08:03:50 +00:00
Jakob Ackermann
1dc2bd3a24 Merge pull request #15445 from overleaf/jpa-history-v1-gzip-in-place
[history-v1] gzip chunk string in-place before passing to object layer

GitOrigin-RevId: db5ded0b0db32757ed35c31c77d190bc121711a7
2023-10-26 08:03:41 +00:00
Christopher Hoskin
0ae174a47b Merge pull request #15382 from overleaf/csh-issue-11625-mongo-ug-5-history-v1
Upgrade mongodb module for history-v1 from 4.11.0 to 6.2.0

GitOrigin-RevId: 2f0a8c07f2797ac23d202858613715b177b41e15
2023-10-26 08:03:38 +00:00
Mathias Jakobsen
7da8e3b646 Merge pull request #15435 from overleaf/mj-scroll-content-width-fix
[web] Fix broken scrolling with table rendering error

GitOrigin-RevId: 425c9ccf2f7f40e0842455eeb40975171c1f0d16
2023-10-26 08:03:35 +00:00
Mathias Jakobsen
1e810a987f Merge pull request #15411 from overleaf/mj-cypress-mathjax
[web] Stub mathjax in cypress tests

GitOrigin-RevId: 7b734a7d80cbc0a96c9cc05ee8c31a4daaab5e25
2023-10-26 08:03:30 +00:00
Mathias Jakobsen
1518b94451 Merge pull request #15352 from overleaf/mj-pdf-preview-test
[web] Re-enable pdf preview test

GitOrigin-RevId: cc60719f9780b2c5426db357ddbc2accd1ad0bee
2023-10-26 08:03:27 +00:00
Davinder Singh
06979babdb Group SSO - cleaning ternary operators in status files (#15365)
GitOrigin-RevId: 615f95aca66b0c80e54a057cabd61c74b8c3f12d
2023-10-26 08:03:24 +00:00
Davinder Singh
f97689aa87 Group SSO - Adding the SSO invite link reminder button in the dropdown (#15289)
GitOrigin-RevId: 9641946e65ede2d52645caf8876d7587a24e7dfc
2023-10-26 08:03:21 +00:00
Alf Eaton
a388c1f414 Fix and re-enable project list tests (#15417)
GitOrigin-RevId: 9f4ea2bd28e99532af57bdcfb437519d038918ad
2023-10-26 08:03:18 +00:00
Alf Eaton
2678600108 When the root folder is selected, ignore the selected items when dragging (#15392)
GitOrigin-RevId: a43e4f668d2df8c9abe5d67bd42546eaa5496c59
2023-10-26 08:03:15 +00:00
Alf Eaton
949d4facc7 Highlight dragged and target items when dragging in the file tree (#15384)
GitOrigin-RevId: 4eaace34434753f6674724adafcf3b0754365d15
2023-10-26 08:03:12 +00:00
Alf Eaton
e22c1d70f3 [visual] Disable figure and table editing when read-only (#15349)
GitOrigin-RevId: ac0f9eef7bf2d88afd05689fa89b11716747b970
2023-10-26 08:03:08 +00:00
Tim Down
537673cdf6 Merge pull request #15415 from overleaf/td-scope-store-and-emitter-fixed
IDE scope store and emitter with fixed PDF URLs

GitOrigin-RevId: 9d33bad8a006bb55714878332f78932538dd8921
2023-10-25 08:05:07 +00:00
Jessica Lawshe
21514418e5 Merge pull request #14881 from overleaf/ab-beta-program-async-await
[web] Convert BetaProgramController to async/await

GitOrigin-RevId: 2423cb00b78b2f3fddb7bcd317d34ed4dbc12b95
2023-10-25 08:05:03 +00:00
Jessica Lawshe
8da063d640 Merge pull request #15326 from overleaf/jel-link-sharing
[web] Add prefix of token hash to link sharing URLs

GitOrigin-RevId: 4b764c076a335768ab261dd1e181d90ce00fd1a2
2023-10-25 08:04:59 +00:00
Jakob Ackermann
c03f2807bf Merge pull request #15410 from overleaf/jpa-history-v1-verbose-logging
[history-v1] add verbose logging to I/O operations via object-persistor

GitOrigin-RevId: 4fe7a77f289d5d22a63d6fd0665e5cffe5843b65
2023-10-25 08:04:54 +00:00
Jakob Ackermann
47820c61a0 Merge pull request #15409 from overleaf/jpa-history-v1-http-timeout
[history-v1] make http request timeout configurable

GitOrigin-RevId: b31b1c94563ddb5195f92af303e6b0f234856795
2023-10-25 08:04:50 +00:00
Alf Eaton
b8f4ed0e2c Skip project root rename tests (#15416)
GitOrigin-RevId: 7542caaf67774c9fffa7a5e180081a91cf8676b7
2023-10-25 08:04:42 +00:00
Alf Eaton
9868ce46ec Fix "add new comment" keyboard shortcut (#15404)
GitOrigin-RevId: d675abbf0977d5c60f332136e98c55a765cf87e9
2023-10-25 08:04:37 +00:00
Alf Eaton
e06f40173d Focus textarea after a timeout (#15408)
GitOrigin-RevId: 468cc27a6fd0a677858906ee67d872bc0b64529d
2023-10-25 08:04:33 +00:00
Alf Eaton
3bf468f599 Add Storybook stories for compile timeout messages (#15371)
GitOrigin-RevId: 91206fcfea0dc0ef18d435e2f58284e5837d4b4d
2023-10-25 08:04:29 +00:00
Alf Eaton
c2c86ff794 Only show the Rename option for a project owned by the current user (#15346)
GitOrigin-RevId: 439ba2c69aa1e3d9cd326f2b501467f6d9cca798
2023-10-25 08:04:24 +00:00
Jakob Ackermann
74c6085c55 Merge pull request #15412 from overleaf/revert-15280-td-scope-store-and-emitter
Revert "IDE scope store and emitter"

GitOrigin-RevId: bb764c66830e5e30806609b2834f918cf7784dd7
2023-10-25 08:04:17 +00:00
Jakob Ackermann
690f690253 Merge pull request #15385 from overleaf/jpa-remove-fetch-polyfill
[web] remove polyfill for fetch

GitOrigin-RevId: 7954493415631ceffa0f2d5a339ec96f3dc23fe7
2023-10-25 08:04:12 +00:00
Jakob Ackermann
488825efc4 Merge pull request #15383 from overleaf/jpa-remove-unused-angular-deps
[web] remove unused angular dependencies

GitOrigin-RevId: 58efeb5755b5f7d0f893e343b319bc4f1a6a3d76
2023-10-25 08:04:08 +00:00
Jakob Ackermann
347da4e6bb Merge pull request #15247 from overleaf/jpa-submission-backend-class
[web] use n2d instances for compiling submissions

GitOrigin-RevId: 57eb27af230b994c3816c0476673ea558226ac1e
2023-10-25 08:04:03 +00:00
Tim Down
92a38e1311 Merge pull request #15280 from overleaf/td-scope-store-and-emitter
IDE scope store and emitter

GitOrigin-RevId: 9835d684db791937cd0bbc657228cb9112089b47
2023-10-25 08:03:55 +00:00
Jimmy Domagala-Tang
e47c3e67c1 Merge pull request #15296 from overleaf/jdt-reword-send
Update wording in make primary email action

GitOrigin-RevId: df82ebcbec2ea101182f154673fd1c0fb4acbeaa
2023-10-24 08:03:43 +00:00
Eric Mc Sween
a30f34be71 Merge pull request #15366 from overleaf/em-real-time-keepalive-timeout
Increase the keepalive timeout on real-time

GitOrigin-RevId: 7b1cfb2da3dc0c02fb0bd1d0fa3368961faa412e
2023-10-24 08:03:40 +00:00
Eric Mc Sween
37db50b787 Merge pull request #15351 from overleaf/em-graceful-shutdown
Web graceful shutdown adjustments

GitOrigin-RevId: f940f73933065060956b5797cc43b14faaf4ac60
2023-10-24 08:03:37 +00:00
Mathias Jakobsen
c67c43b4dd [web] Enable ProjectListRoot tests (#15330)
* [web] Enable ProjectListRoot tests
* [web] Set timeout of ProjectListRoot tests to 10s

GitOrigin-RevId: ca106d48738bfd3349990691d5c41c8de96880ed
2023-10-24 08:03:27 +00:00
Alf Eaton
6903d5c945 Avoid sending move requests for files in moved folders (#15313)
GitOrigin-RevId: 87244b785eeeb2dadb0b4b06c9725a1ddee0562f
2023-10-24 08:03:24 +00:00
Alf Eaton
fa2afb7807 Ensure that strong component is defined for translations (#15370)
GitOrigin-RevId: 729ac6ac56285d97340e07861a5f47c273ebd131
2023-10-24 08:03:21 +00:00
Alf Eaton
0124712cd2 Restore escaped standalone ampersands in translations (#15373)
GitOrigin-RevId: 8f505ea4906d9adfddfd72b7609c0c3e465f6b56
2023-10-24 08:03:18 +00:00
Christopher Hoskin
e86ef1139e Merge pull request #15350 from overleaf/csh-issue-11625-mongo-ug-5-notifications
Use mongodb-legacy in notifications for callback support

GitOrigin-RevId: 90f05f747e221c1bd61564e2e28e505d0b125467
2023-10-24 08:03:15 +00:00
Christopher Hoskin
6a118d9439 Merge pull request #15331 from overleaf/csh-issue-11625-mongo-ug-5-contacts
Upgrade mongodb module for contacts from 4.12.1 to 6.1.0

GitOrigin-RevId: 22c4544b21363d82dcf3215c660e4412bb179fe8
2023-10-24 08:03:11 +00:00
Alf Eaton
0572535a7e Avoid changing the view when selecting a folder (#15315)
GitOrigin-RevId: 272c6f87507c65581041150905406f5c38e490d4
2023-10-23 08:04:08 +00:00