Commit graph

21389 commits

Author SHA1 Message Date
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
52133a0e39 Merge pull request #15449 from overleaf/jpa-server-pro-4-1-5
[server-pro] prepare hotfix release 4.1.5

GitOrigin-RevId: de65501909ed5aba6eadf556d2c41ca3a8cc14e2
2023-10-26 08:03:44 +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