Commit graph

13300 commits

Author SHA1 Message Date
Tim Down
26fe632a22 Merge pull request #15795 from overleaf/td-ide-page-prevent-collapsed-panel-resize
Prevent collapsed panel resize in React IDE page

GitOrigin-RevId: 3b60d924280472e4dd66f403779b937a4428b1b5
2023-11-20 09:03:51 +00:00
Tim Down
289942d1a5 Merge pull request #15799 from overleaf/td-ide-page-synctex-jump-to-code-line
In React IDE page, jump to line when opening a document if specified by the options

GitOrigin-RevId: ddcacee33779112f4d5383ef0b5520e378dc6eb6
2023-11-20 09:03:47 +00:00
Tim Down
9e72d55ea6 Merge pull request #15792 from overleaf/td-ide-page-select-in-file-tree
Make selecting a file update the file tree reliably in React IDE page

GitOrigin-RevId: a59ccc53371ee22d577b0de70abad4ffbe7f5398
2023-11-20 09:03:43 +00:00
Alf Eaton
88e4da6e3d Use KeyboardLayoutMap for Emacs key handling where possible (#15803)
GitOrigin-RevId: d675de58fc37d2ea47162ef5449196902566aae8
2023-11-20 09:03:39 +00:00
Alf Eaton
cdd9ff9ed0 Migrate extension to @overleaf/codemirror-tree-view (#15769)
GitOrigin-RevId: 8355158040923a55dafc7b1c3f566f7e7703cb02
2023-11-20 09:03:35 +00:00
Alf Eaton
bf6257af80 Exclude "add-comment" and "bulk-entries" from overview entry count (#15718)
GitOrigin-RevId: 0aae510a36aa717b601795eb51d8c97f9309ada2
2023-11-20 09:03:30 +00:00
Jessica Lawshe
11ce29197b Merge pull request #15687 from overleaf/jel-token-v1-mismatch
[web] Test for v1 project URL fragment in link sharing hash check

GitOrigin-RevId: 10cb2efe60f4613e3a39a5199bd653376c06ad3b
2023-11-17 09:03:05 +00:00
ilkin-overleaf
7db5d761ea Merge pull request #15557 from overleaf/ii-ide-page-prototype-review-panel-track-changes
Review panel track changes for React IDE page

GitOrigin-RevId: d061596581ff10bd897b286dcd5c280ce79a6384
2023-11-17 09:03:02 +00:00
ilkin-overleaf
71a78c8edd Merge pull request #15784 from overleaf/ii-ide-page-prototype-review-panel-tc-upgrade-modal
[web] Review panel upgrade modal for React IDE page

GitOrigin-RevId: 2ef503427d796d4683581899800462c45b550d36
2023-11-17 09:02:59 +00:00
Jakob Ackermann
453edbfe0a Merge pull request #15793 from overleaf/jpa-compile-domain-cleanup
[web] tear down split test for new compile domain

GitOrigin-RevId: 7ab417d67e508cd95bd4e78ce7ce2a993c789dca
2023-11-17 09:02:56 +00:00
Tim Down
9d8b21edc0 Merge pull request #15766 from overleaf/td-ide-page-hide-content-during-resize
React IDE page: hide editor and PDF during resize

GitOrigin-RevId: bad1a7601d1706e684c91c88c3239a6618479681
2023-11-16 09:03:11 +00:00
Tim Down
4b86a54241 Merge pull request #15754 from overleaf/td-ide-page-pdf-detach-fixes
React IDE page: fix file preview with detached PDF and make PDF resizer toggler reattach PDF

GitOrigin-RevId: e28bf753174fa445af70e5d3efae05f89aa5a21c
2023-11-16 09:03:08 +00:00
Alf Eaton
d2d2a0ff65 Upgrade PDF.js (#15157)
GitOrigin-RevId: a0a241da08c06a7e345a710559cb47fb59685e5a
2023-11-15 09:03:09 +00:00
Alf Eaton
9b4bda32a7 Delete vendored pdfListView and codemirror CSS (#15735)
* Delete pdfListView and codemirror vendor CSS

* Update main-style.less

* Remove plv-text-layer styles

GitOrigin-RevId: b23c5d1fbd9f0ced0d11133dcda21c731f655887
2023-11-15 09:03:06 +00:00
Brian Gough
04e6819538 Merge pull request #14217 from overleaf/bg-node-18-stress-test-file-buffer
add files option  for create blob in stress_test.js

GitOrigin-RevId: be8f29240007ec6ef3f95b10b548f09235181216
2023-11-15 09:03:01 +00:00
M Fahru
6a7f230fa2 Fix "Done" button after accepting group invite button does not work as intended because of href value is not set correctly
the `doneLink` variable on the pug file is expanded in the backend, so this commit will move the href building in the pug file instead of the frontend angular controller to make sure the value exists

GitOrigin-RevId: 74029a03293324955120bca630925a743ee60c22
2023-11-14 09:05:03 +00:00
Rebeka Dekany
1c834cbfaf Merge pull request #15740 from overleaf/dk-odc-newprops
Store ODC form step 3 data in mongo

GitOrigin-RevId: 91311efaddb5ccb9a456ea359140235235530536
2023-11-14 09:04:56 +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
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