Commit graph

13286 commits

Author SHA1 Message Date
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
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
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
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
Alf Eaton
0572535a7e Avoid changing the view when selecting a folder (#15315)
GitOrigin-RevId: 272c6f87507c65581041150905406f5c38e490d4
2023-10-23 08:04:08 +00:00
Alf Eaton
774a0a3f18 Merge pull request #15354 from overleaf/ae-i18next-compatibility
Set compatibilityJSON to v3 for plural suffixes

GitOrigin-RevId: 8da0fc5a2777dbdc9abe9d72a47adab029ab91ef
2023-10-23 08:04:01 +00:00
Alf Eaton
10348b4544 Merge pull request #15353 from overleaf/ae-upgrade-react-i18next
Upgrade react-i18next to 13.3.1

GitOrigin-RevId: fb2233742a187f1bf39e83f4e9f7ec3fb2a55b8f
2023-10-23 08:03:57 +00:00
CloudBuild
717682f324 auto update translation
GitOrigin-RevId: df884a44b03f10260bf160a2dd756f517dffe2ea
2023-10-20 08:04:20 +00:00
Davinder Singh
3b48b32754 Revert "Revert "Group SSO - Adding a bug fix for sending emails"" (#15307)
* Revert "Revert "Group SSO - Adding a bug fix for sending emails""
* adding conditional rendering of columns and styling fixes for each render mode with some cypress test

GitOrigin-RevId: 168011503ffacff61c8f37bee4c4bfb012909c1f
2023-10-20 08:04:08 +00:00
Eric Mc Sween
680ebae30b Merge pull request #15172 from overleaf/em-promise-utils
Move util/promises from web into a shared library

GitOrigin-RevId: fe1980dc57b9dc8ce86fa1fad6a8a817e9505b3d
2023-10-20 08:04:05 +00:00
Alf Eaton
6f2b24706a Merge pull request #15198 from overleaf/ae-compliance-footer
Add Compliance link to footer

GitOrigin-RevId: 2b89c2e4ff5a114469316a071068eb20667a7873
2023-10-20 08:03:54 +00:00
Alf Eaton
ef3e8f666b Merge pull request #15214 from overleaf/ae-legacy-source-editor
Remove legacy source editor option from Server CE/Pro

GitOrigin-RevId: 32a7bf9b54c0082f3ab3ffb5fa11f5b4f2a3bf64
2023-10-20 08:03:51 +00:00
Alf Eaton
adb53b8964 Merge pull request #15303 from overleaf/ae-upgrade-babel
[web] Upgrade Babel dependencies (and Storybook)

GitOrigin-RevId: 60ca3ac6750a189bd6290cab46ac1790e20adf9d
2023-10-20 08:03:41 +00:00
Alf Eaton
43f1a7fd2e Enable editor toolbar for read-only users (#15279)
* Make the editor toolbar available for read-only users
* Hide replace in search form when read-only

GitOrigin-RevId: 2867868d0914da797294084df37163e92578cd57
2023-10-20 08:03:37 +00:00
Alf Eaton
7755203ff7 Enable ESLint rule that enforces t when preferable to Trans (#15253)
GitOrigin-RevId: d11b3f587b462d400a8d68128dc8be342415bf7d
2023-10-20 08:03:34 +00:00
Alf Eaton
0c81bccfca Ensure that translation values are correctly escaped (#15252)
GitOrigin-RevId: 5a38b4c01921fd4d95dbdb7b9e756443fdb00b80
2023-10-20 08:03:31 +00:00
Alf Eaton
749aef1c6f Add optional personal access tokens for git bridge (#15209)
GitOrigin-RevId: 50d4c0e11728e014e81172c062a3b22fefa6286c
2023-10-20 08:03:27 +00:00
M Fahru
6408d150d5 Merge pull request #15242 from overleaf/mf-index-all-references-after-bib-is-modified
[web] If a particular bib is modified, index all the existing bib files instead of only indexing the modified bib file

GitOrigin-RevId: 2d0f965746c45142f0927d06a23759aa5ff52c1a
2023-10-19 08:03:25 +00:00
M Fahru
11791bc6b7 Merge pull request #15264 from overleaf/mf-xmpdata-enable
Add `*.xmpdata` to editor editable file extension list

GitOrigin-RevId: 8dc0947f494502da4c8f921830c86fa1b345eba2
2023-10-19 08:03:22 +00:00
Jimmy Domagala-Tang
01315b9291 Merge pull request #15175 from overleaf/jdt-parse-bib-slashes
feat: adding better error handling for brackets with only backslashes
GitOrigin-RevId: b98ed165d882ce40c924f7ac6d063cc33c867104
2023-10-19 08:03:14 +00:00
Mathias Jakobsen
c1a9085a11 Merge pull request #15314 from overleaf/mj-email-captcha
[web] Use recaptcha.net for captcha when adding email

GitOrigin-RevId: 51e7a4792414ca9c8c3f167a359b6e637230991d
2023-10-19 08:03:09 +00:00
Tim Down
87199c80fe React IDE page: add connection and SyncTex alerts (#15273)
Add connection and SyncTex alerts

GitOrigin-RevId: 5004a0d356d0a0355d125516a18db1f57e617a7f
2023-10-19 08:03:04 +00:00
Tim Down
3be937c503 Migrate layout context to TypeScript (#15275)
Migrate layout context to TypeScript

GitOrigin-RevId: ce453bfb67f7c36176fa24144413b556cd3c117e
2023-10-19 08:03:01 +00:00
Tim Down
ec085a0807 Merge pull request #15262 from overleaf/td-ide-page-feature-flag
Add IDE page split test handling

GitOrigin-RevId: 911e6d842ad473fcdb99d9715aeea18f02907a99
2023-10-19 08:02:59 +00:00
Tim Down
a39a3286b4 Tweak visual editor CSS to prevent excessive padding (#15145)
Use JS to measure editor content width and use it in padding calculation

GitOrigin-RevId: dfc4499aa7762f9f2d7ce5ab9813b698bce0245c
2023-10-19 08:02:56 +00:00
Christopher Hoskin
5855ba7b49 Merge pull request #15241 from overleaf/em-gcp-opentelemetry
Replace the GCP trace agent with OpenTelemetry

GitOrigin-RevId: 591410029349e4ef5a39a5b79868e57c7bd089b6
2023-10-19 08:02:52 +00:00
M Fahru
e53f3bb158 Merge pull request #15044 from overleaf/mf-send-warning-to-users-with-personal-and-group-subscriptions
Show notification warning to user with both personal and group subscriptions

GitOrigin-RevId: 7f46d7af10389f552175ce26fae9469e0167f95b
2023-10-18 08:05:04 +00:00
Davinder Singh
a4d9c900fc Merge pull request #15298 from overleaf/revert-15220-ds-bug-fix-group-sso-emails
Revert "Group SSO - Adding a bug fix for sending emails"

GitOrigin-RevId: 0ae36af15e4a75a535b8b561dd6ec7d80e2c86b0
2023-10-18 08:05:00 +00:00
Alexandre Bourdin
fcdc754fe4 Merge pull request #15272 from overleaf/ab-group-sso-check-plans-page
[web] Conditionally display the Group SSO check for Group Pro plan

GitOrigin-RevId: 8e661543277d989240d50d2ee7f019b604649bf7
2023-10-18 08:04:53 +00:00
Miguel Serrano
929afa9cc2 Merge pull request #14914 from overleaf/msm-fix-ce-footer
Update footer.less

GitOrigin-RevId: f595925f936e0a3d8dd12a58347f7eb6035cf7cf
2023-10-18 08:04:49 +00:00
Davinder Singh
82513340c1 Merge pull request #15220 from overleaf/ds-bug-fix-group-sso-emails
Group SSO - Adding a bug fix for sending emails.

GitOrigin-RevId: 54d1d0a0ebcb1c0767ae9fc24d81a23e1568b7fb
2023-10-18 08:04:45 +00:00
Jessica Lawshe
d8f145df37 Merge pull request #14832 from overleaf/jel-alert
[web] Remove unused class for new alerts

GitOrigin-RevId: 3b9789d64155c06e633e7f010287d4166da25e98
2023-10-18 08:04:38 +00:00
Eric Mc Sween
781a827e05 Merge pull request #15270 from overleaf/em-drop-history-display-index
Drop oveleaf.history.display index from projects collection

GitOrigin-RevId: 8fa393322f76f0a297182b32d5f296dd82f01f62
2023-10-18 08:04:23 +00:00
Domagoj Kriskovic
b516363e45 Onboarding data collection form (#15164)
* onboarding data collection react

* added stepper component

* stepper completed step

* move useValidateField to shared

* Revert "move useValidateField to shared"

This reverts commit 68fafd934dafedab8d61f581beb7bfdd8a0674c0.

* added multistep hook

* add story

* fix storybook

* img path

* remove pug page

* formatting

* using translations

* formating

* linting

* use small classname

* Onboarding data collection form - Step 2 (#15182)

* step 2 of onbarding data collection form

* sort locals

* styling changes

* checkbox font size

* aria-progressbar, bsStyle=null

GitOrigin-RevId: 9ee84b4631b30b670280cfa2086385274652b21e
2023-10-18 08:04:16 +00:00
Jakob Ackermann
83cf21d8cf Merge pull request #15271 from overleaf/jpa-lazy-loading
[web] lazy load big optional UI elements

GitOrigin-RevId: 18d723c66834be3984b74c3c89cfb46e2fffbfc1
2023-10-18 08:04:05 +00:00
Jakob Ackermann
0e52c245ce Merge pull request #15269 from overleaf/jpa-delete-dead-history-code
[web] delete unused "history-file-tree-react" angular component

GitOrigin-RevId: a3e54352dd54bf234b3e868d91eaffafd078c0f8
2023-10-18 08:04:01 +00:00
Mathias Jakobsen
1a92e1b664 Merge pull request #15248 from overleaf/mj-eslint-angular-components
[web] Add eslint rules for angularjs components

GitOrigin-RevId: 1343d584368faeb912f04c5879228bcbd07a042a
2023-10-18 08:03:57 +00:00
Rebeka Dekany
4b6b9c3bef Merge pull request #15258 from overleaf/rd-remove-b2s
Tear down Back to School promo 2023

GitOrigin-RevId: e2682f5fd265bdb4ad561a6d98fe49bc1f326489
2023-10-17 08:03:22 +00:00
Alexandre Bourdin
b8a5eca1d0 Merge pull request #14836 from overleaf/ab-split-test-cache-refactoring
[web] Fetch all active split test into cache at once

GitOrigin-RevId: b477b88bf281349433af2cf692a0e9ea5b036588
2023-10-17 08:03:17 +00:00
Tim Down
719da5fbd8 Merge pull request #15056 from overleaf/td-ide-connection-load
IDE page: connection manager and loading screen

GitOrigin-RevId: 2cbc8c09aeb36a14eae66da78b267c7a830fb71a
2023-10-17 08:03:13 +00:00
Miguel Serrano
22531969f6 Merge pull request #15080 from overleaf/msm-configurable-upload-timeout
[web] Add configurable project upload timeout

GitOrigin-RevId: da26d7edbce9169c92cc3bc8746cb42e5c0e4919
2023-10-16 10:02:04 +00:00
Miguel Serrano
e8dcef50db Merge pull request #15184 from overleaf/msm-fix-sp-build
[web] Dynamic import for `SSOConfigurationModal`

GitOrigin-RevId: 5ea84282c76dfe0809cc8da1d2204f82005cf279
2023-10-16 10:01:57 +00:00
CloudBuild
6892733122 auto update translation
GitOrigin-RevId: 4269d99512f0f232e4cc31c726b5559877793301
2023-10-16 08:04:33 +00:00
Jakob Ackermann
e959529828 Merge pull request #15129 from overleaf/mj-jpa-angular-parameters
[web] Explicitly name angular parameters

GitOrigin-RevId: 91beae68989d6c8122132b531a4338b116d87424
2023-10-16 08:04:25 +00:00
Jakob Ackermann
6b3dac803d Merge pull request #15006 from overleaf/mj-bad-karma
[web] Remove karma tests and config

GitOrigin-RevId: a157f46d1ecf93fcbc99713a1c3aa11f82e5a619
2023-10-16 08:04:20 +00:00
Jakob Ackermann
3e34467e12 Merge pull request #15120 from overleaf/jpa-mj-val-loader
[web] migrate modules-ide/modules-main from val-loader to babel macro

GitOrigin-RevId: 5114dab96d5bf34285ae42f539fed78e2f068a12
2023-10-16 08:04:12 +00:00
Jakob Ackermann
6212b352fb Merge pull request #15118 from overleaf/jpa-mj-remove-promise
[web] remove access to uninitialized and unused promise variable

GitOrigin-RevId: a554511dc501f0af936ba0564fded40b62b87660
2023-10-16 08:04:07 +00:00
Jakob Ackermann
d4a271b898 Merge pull request #15062 from overleaf/jpa-worker
[web] bring back file extension for worker entrypoints

GitOrigin-RevId: 93c2a59e5bc867460e82f3e7023d9cbfce1f16e1
2023-10-16 08:03:59 +00:00
CloudBuild
61c4036aa0 auto update translation
GitOrigin-RevId: a6bcf75ce25f69d35bd16eb945d7ce16f3003483
2023-10-13 08:04:03 +00:00
Eric Mc Sween
5b08d76817 Merge pull request #15211 from overleaf/em-remove-sl-history-frontend
Remove SL history frontend

GitOrigin-RevId: f6f98db7792b47f365b46da14fc823ee58787cdb
2023-10-13 08:03:51 +00:00
Davinder Singh
3a3ec856c2 Group SSO - Adding success banner messages (#15143)
GitOrigin-RevId: bbad3419b6780dcf08dad690658cea19112a8522
2023-10-13 08:03:47 +00:00
Davinder Singh
e1532f068a sending emails to user when SSO is enabled (#15133)
Co-authored-by: Miguel Serrano <mserranom@gmail.com>
GitOrigin-RevId: 1b485a09844edc8f71f88fa07439581afc007749
2023-10-13 08:03:40 +00:00
Alf Eaton
2519a2c329 Update @codemirror and @lezer dependencies (#15020)
GitOrigin-RevId: 6ce0f31cd184ee10475ee0744ed64cbeb20bec03
2023-10-13 08:03:35 +00:00
Alf Eaton
46fe0d6d0b Merge pull request #15193 from overleaf/ae-show-file-tree
Ensure that file tree toggle shows the current status

GitOrigin-RevId: 960937b075780e9a0c3a8518660b15f14d96c6bc
2023-10-13 08:03:31 +00:00
Alf Eaton
b9a6e7009d Improve context menu behaviour in the file tree (#15142)
* Tidy up menu button
* Unselect all items when clicking in the file tree root
* Close the context menu when selecting a new item
* Avoid selecting multiple items with Ctrl+click on macOS

GitOrigin-RevId: b67a724909668ec13d7a6d09ffc31574cb42238f
2023-10-13 08:03:26 +00:00
Eric Mc Sween
863a645dfb Merge pull request #15095 from overleaf/em-invite-audit-logs-3
Write audit logs when a user joins a project via token

GitOrigin-RevId: 083fb7301ac2193c276a35bbf4dbf4f37d0ffa3b
2023-10-12 08:03:37 +00:00
Eric Mc Sween
cb16d6fb2e Merge pull request #15090 from overleaf/em-invite-audit-logs-2
Write audit logs when user leaves or is removed from a project

GitOrigin-RevId: 7c9cf025a0266099c1afa34035a8d8db38353193
2023-10-12 08:03:33 +00:00
Alexandre Bourdin
16cfda28e3 Merge pull request #15141 from overleaf/ab-fix-local-acceptance-testing
Fix local acceptance tests configuration

GitOrigin-RevId: d4b3060b240ec748c222c7cc468a4b26442e45b8
2023-10-12 08:03:26 +00:00
John Lees-Miller
8f1dac6d68 Merge pull request #15195 from overleaf/tm-compile-timeout-20s-phase-two-date-change
Update new/existing user cut off date for compile timeout

GitOrigin-RevId: 382e8bc171f1d3728cfbaefa85d9c2d13779d4ee
2023-10-11 08:03:46 +00:00
Eric Mc Sween
33765cd650 Merge pull request #15001 from overleaf/em-invite-audit-logs
Project audit logs for invite operations

GitOrigin-RevId: c2db4bc719f508c5bf33be2c59eddfb63fcdae25
2023-10-11 08:03:41 +00:00
Thomas
03aaabd5cb Merge pull request #15169 from overleaf/tm-compile-timeout-20s-phase-two
Decide new user cutoff using baseline (original) n2d assignment

GitOrigin-RevId: 7ea263cc551f87a4d9fed70450c32d7dea6b1e58
2023-10-11 08:03:33 +00:00
Alexandre Bourdin
13709ddf0e Merge pull request #15176 from overleaf/ab-enable-managed-users-prod
[web] Set MANAGED_USERS_ENABLED=true for production

GitOrigin-RevId: b5fb15903b6e5289ea2ac67b7dea5be01420fe54
2023-10-10 07:58:18 +00:00