Commit graph

21617 commits

Author SHA1 Message Date
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
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
06a4989b44 Merge pull request #15622 from overleaf/msm-remove-flush-track-changes-script
[CE/SP] Remove flush_track_changes script

GitOrigin-RevId: fbe66d5457260f0d8ae48f8248349558b0e0ad82
2023-11-07 12:35:15 +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