Commit graph

23899 commits

Author SHA1 Message Date
Alf Eaton
a50d76f4ea Remove web /spelling/check endpoint (#21740)
GitOrigin-RevId: f10ebfec08ba1156eafce45078bc783ca934864d
2024-11-11 09:05:04 +00:00
Antoine Clausse
5821dc7273 [web] Fix main branch linting error (#21749)
* Sync package-lock

I get this change when running `make install && bin/npm i`

* Add `featureUsage` to LoggedOutUser keys

We might want to change this to something like this:

```
export type NullifyProperties<T> = {
  [P in keyof T]: undefined
}

export type LoggedOutUser = {
  id: null
} & NullifyProperties<Omit<User, 'id'>>
```

* Revert "Sync package-lock"

This reverts commit 982466eba3f8d72a388d248b66658be0350b2d09.

* Remove `canceledSubscription` types for now

This is breaking the build at the moment. We can work on creating a `Request` that matches our usages of it

GitOrigin-RevId: bb21baba6a074c2169af786a9e56b33beddddd2f
2024-11-11 09:04:56 +00:00
Antoine Clausse
7f48c67512 Add prefer-node-protocol ESLint rule (#21532)
* Add `unicorn/prefer-node-protocol`

* Fix `unicorn/prefer-node-protocol` ESLint errors

* Run `npm run format:fix`

* Add sandboxed-module sourceTransformers in mocha setups

Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`

* Remove `node:` in the SandboxedModule requires

* Fix new linting errors with `node:`

GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
Rebeka Dekany
4563273396 Merge pull request #21680 from overleaf/rd-dyslexic-font
Add OpenDyslexic Mono typeface font to the source editor

GitOrigin-RevId: 8826e51cfa50f1d5ffc2217fb86fb4d1dec21b92
2024-11-11 09:04:42 +00:00
Antoine Clausse
5462fcd128 [web] Set layout-react in Subscription pages (#21529)
* Update `User` type

* Set `layout-react`: `subscriptions/successful-subscription-react`

* Set `layout-react`: `subscriptions/canceled-subscription-react`

* Set `layout-react`: `subscriptions/dashboard-react`

* Set `layout-react`: `subscriptions/team/invite-managed`, `subscriptions/team/invite`, `subscriptions/team/invite_logged_out`

* Set `layout-react`: `subscriptions/team/group-invites`

* Add `header-footer-react` to subscription/base.js

* Fix: Replace `date-type` by `data-type`

* Fix SubscriptionControllerTests

GitOrigin-RevId: b9049a9093a700b3be1bf33809e3a1494022350a
2024-11-11 09:04:32 +00:00
Antoine Clausse
59a1cc2c7a Merge pull request #21718 from overleaf/td-bs5-nav-logged-out
[BS5] Add missing logged-out items to React nav bar

GitOrigin-RevId: 3dc681dcac46cdb68675f6034be56e2b96292c32
2024-11-11 09:04:21 +00:00
Antoine Clausse
455fbd8cc3 Update loading spinner in Chat (#21624)
GitOrigin-RevId: 6af510b7e229249dd5192ceba2ec88e95339cab5
2024-11-11 09:04:16 +00:00
Jakob Ackermann
b257625f07 Merge pull request #21748 from overleaf/jpa-publish-mongo-utils
[copybara] publish mongo-utils library

GitOrigin-RevId: 0ef269f186ed645f7bcb9d948a4d1e591c687b31
2024-11-08 09:42:02 +00:00
Jakob Ackermann
252533b2fd Merge pull request #21668 from overleaf/jpa-mongo-utils
[mongo-utils] create new home for batchedUpdate helper

GitOrigin-RevId: 9f61c5e367a9f4cef63b5cc4c0bbbd3ef57c8ca8
2024-11-08 09:07:09 +00:00
Jakob Ackermann
a3d8caf87b Merge pull request #21664 from overleaf/jpa-blob-hash
[overleaf-editor-core] stricter types for Blob interface

GitOrigin-RevId: 8595fce0d5c98074d2313be5a5634e80f92c68b5
2024-11-08 09:07:05 +00:00
Jakob Ackermann
122d89a831 Merge pull request #21660 from overleaf/jpa-s3-https
[object-persistor] s3: simplify using a custom CA for HTTPS endpoints

GitOrigin-RevId: 2c6a5312a842582e5e40e917ccc586392087cb7a
2024-11-08 09:07:00 +00:00
Jakob Ackermann
65dc6bf940 Merge pull request #21631 from overleaf/jpa-live-s3
[object-persistor] s3SSEC: make compatible with AWS S3

GitOrigin-RevId: 3cd1f5ec43141f15defe081fc916d2ca2d78ca01
2024-11-08 09:06:55 +00:00
Jakob Ackermann
d5478c11ea Merge pull request #21623 from overleaf/jpa-s3-ssec-static-dek-path
[object-persistor] s3SSEC: use static path for DEK inside project folder

GitOrigin-RevId: 0c43ef8964c16d3e7638f17ff47b1c4641e439df
2024-11-08 09:06:51 +00:00
Jakob Ackermann
a67560c26b Merge pull request #21589 from overleaf/jpa-s3-ssec-hkdf
[object-persistor] s3SSEC: add HKDF layer to KEK

GitOrigin-RevId: 1def9e378e1dfd90f449ad392b0db2101584e17f
2024-11-08 09:06:46 +00:00
Jakob Ackermann
bec73ddfae Merge pull request #21543 from overleaf/jpa-s3-seec-kek-rotation
[object-persistor] s3SSEC: add support for (automatic) KEK rotation

GitOrigin-RevId: 315082e894c74e276a8efbc46b41ec7e102f9010
2024-11-08 09:06:42 +00:00
Jakob Ackermann
859901ac0c Merge pull request #21380 from overleaf/jpa-s3-ssec-backend
[object-persistor] add backend for SSE-C with S3 using KEK and DEK

GitOrigin-RevId: 9676f5cd5e08107c8c284b68b8d450a1c05bf1b1
2024-11-08 09:06:37 +00:00
CloudBuild
776647d62a auto update translation
GitOrigin-RevId: 96e1603b6e71d6cfbf5e9cdb47a9fe46be7e35e3
2024-11-08 09:06:32 +00:00
Domagoj Kriskovic
83bed793f5 Add sort:true when updating decorations for delete highlight (#21715)
GitOrigin-RevId: afd5aed5a4ea1ff7f9439155b5150b23666b0cc7
2024-11-08 09:06:28 +00:00
Domagoj Kriskovic
72f03b39c6 Hide "add comment" tooltip on mouse down (#21721)
* Hide "add comment" tooltip on mouse down

* using EditorView.domEventHandlers

GitOrigin-RevId: 48b7626d5c1be8a3fb0b1ee1fcc1bc7738f8dbc5
2024-11-08 09:06:23 +00:00
Jessica Lawshe
ce8781e79f Merge pull request #21694 from overleaf/jel-tooltip-when-needed
[web] Only add tooltip to badge links if badge is clipped

GitOrigin-RevId: c99f3f0732ed6e8112c1af1063f64bcab152b00d
2024-11-08 09:06:19 +00:00
Jessica Lawshe
d6281424f4 Merge pull request #21632 from overleaf/jel-badge-width
[web] Update `max-width` on tag links on template page and blog pages and add tooltips

GitOrigin-RevId: ba25d0850b693f72b36e9faca64025c60ebd44dd
2024-11-08 09:06:14 +00:00
Jessica Lawshe
5e58370b8c Merge pull request #21689 from overleaf/jel-fix-related-tags
[web] Fix gallery related tags height

GitOrigin-RevId: 11c2865edddf40768c8edfacef629ed281210e3d
2024-11-08 09:06:10 +00:00
David
637185025f Merge pull request #21722 from overleaf/dp-revert-badge-changes
Revert "Merge pull request #21687 from overleaf/dp-eq-preview-beta-ba…

GitOrigin-RevId: 8347b1bc3b02194bf5c2c657fc85ebefb3b0cf3a
2024-11-08 09:06:01 +00:00
Rebeka Dekany
a0a164c4d0 Merge pull request #21709 from overleaf/rd-fix-command-tooltip-size
[web] Fix href command tooltip width in the editor

GitOrigin-RevId: d76e5961bd97ca16e47aa6b1eda68f4488caff69
2024-11-08 09:05:35 +00:00
David
bd15e3cc5c Merge pull request #21687 from overleaf/dp-eq-preview-beta-badge
Update split test badge for math preview tooltip

GitOrigin-RevId: fbdc7b42d3ce51f405f75232fbfd357ee6afc2a3
2024-11-08 09:05:31 +00:00
Alf Eaton
c6a186d436 Update E2E editor tests (#21704)
GitOrigin-RevId: a5613554f4942a8ec6d09423387cd0d93e9b1f6c
2024-11-08 09:05:19 +00:00
Alf Eaton
9659294459 Add hint_unicode_character rule (#21593)
GitOrigin-RevId: ba2c6f49c3b20c6fb4708dfd80000a216c3c4a77
2024-11-08 09:04:53 +00:00
Alf Eaton
31e7f113f8 Wrap all view.dispatch in setTimeout (#21590)
GitOrigin-RevId: a78e314683642e173c61b0bef95b30f5b96c82b5
2024-11-08 09:04:48 +00:00
Alf Eaton
9352b51d28 Keep PDF preview mounted while not visible (#21270)
GitOrigin-RevId: 266ecbb72a5238e1e977265e56c33880ec1a54be
2024-11-08 09:04:44 +00:00
Alf Eaton
db8d7a7af0 Upgrade CodeMirror dependencies (#20618)
GitOrigin-RevId: c1d45e73784fd26db09e9930bc504d2d78c05b12
2024-11-08 09:04:39 +00:00
Jessica Lawshe
9cfec57c1d Merge pull request #21679 from overleaf/jel-template-mobile
[web] Go back to full width on mobile for gallery details

GitOrigin-RevId: 82ecefbd96d3693ec62ccfb70ed0eba2287bbc36
2024-11-07 09:05:21 +00:00
Jessica Lawshe
1e17fa7057 Merge pull request #21630 from overleaf/jel-template-labels-nowrap
[web] Don't wrap labels on template page

GitOrigin-RevId: 5c7fb124cf3f6c29ffc7ae3e6a8232f2b570a4b9
2024-11-07 09:05:14 +00:00
David
dfcc805549 Merge pull request #21526 from overleaf/dp-dismiss-equation-preview
Add options to disable/hide equation preview

GitOrigin-RevId: 5f71b4c747bf27ae816bdfe32c6e3e5a42f99508
2024-11-07 09:05:07 +00:00
Eric Mc Sween
d95981cb0c Merge pull request #21682 from overleaf/em-revert-ranges-tracker-changes
Revert RangesTracker fix for multiple tracked deletes at same position

GitOrigin-RevId: ee6ade406a86319f5551863e18ed40d508128ecb
2024-11-07 09:05:03 +00:00
Eric Mc Sween
29be4f66d4 Merge pull request #21556 from overleaf/em-subscription-change-interstitial
Add-on purchase preview page

GitOrigin-RevId: 660e39a94e6112af020ea783d6acf01a19432605
2024-11-07 09:04:49 +00:00
Eric Mc Sween
bc1e3dacda Merge pull request #21643 from overleaf/em-tracked-deletes-at-same-position
Improve handling of tracked delete rejections

GitOrigin-RevId: 79308539f5e7af70f6292a0fd6352e882eac84dd
2024-11-07 09:04:45 +00:00
Jakob Ackermann
c9a6724790 Merge pull request #21667 from overleaf/jpa-more-node-18-20-4
[misc] bump a few more Node.js versions to 18.20.4

GitOrigin-RevId: 6097d2a9d3df99b1c1ef0aa397762b09406808e3
2024-11-07 09:04:38 +00:00
Andrew Rumble
57d12dfb17 Update to node 18.20.4
GitOrigin-RevId: 4b613ea3973cb7944c3d414ea91bcf367dbf50a6
2024-11-07 09:04:31 +00:00
Andrew Rumble
7fb5d1f0f7 Remove ip from monorepo services
GitOrigin-RevId: ea734787fbf31fd667aebe928ecc1e9785ac1185
2024-11-07 09:04:27 +00:00
Andrew Rumble
22d3e4bc13 Merge pull request #21597 from overleaf/ar-fix-error-assistant-error-in-e2e-tests
[web] Make sure aiErrorAssistant exists before using

GitOrigin-RevId: 31a4a6a2aa152aee6620c8e44e44dea3c6bf3b44
2024-11-06 09:06:03 +00:00
Jessica Lawshe
80b3ad255d Merge pull request #21474 from overleaf/mf-add-device-segmentation-gallery-view-events
[web] Add `device` and `screen-breakpoint` segmentation to all gallery-related page view events

GitOrigin-RevId: 36cfb5c5d183645782efe8c66c09f476d5474253
2024-11-06 09:05:58 +00:00
Jessica Lawshe
551dad7c2c Merge pull request #21518 from overleaf/jel-template-title
[web] Badges inline with last line of title on template page

GitOrigin-RevId: cdaa7fd6dbaa2a37f3f60a17be280c3b92dac695
2024-11-06 09:05:47 +00:00
Jessica Lawshe
bd0aa92c4f Merge pull request #21553 from overleaf/jel-plans-input
[web] Remove width on group license number input so that some browsers do not obscure option

GitOrigin-RevId: fbfa51104839c5345199a94a9f7dc34a62568988
2024-11-06 09:05:42 +00:00
Jessica Lawshe
f0e989be0c Merge pull request #21468 from overleaf/jel-cms-group-spacing
[web] Spacing options for `Style | Group`  and `Element | Content` on CMS

GitOrigin-RevId: 78d7d8e29be81a1526e4eeceb50fe66846ed8a05
2024-11-06 09:05:38 +00:00
Jessica Lawshe
40af0fa84f Merge pull request #21552 from overleaf/jel-cms-rows
[web] Fix parent row styling applying to nested rows on CMS pages

GitOrigin-RevId: 047c24fcff4ac73b0d0db403d728e3e3e8876b6f
2024-11-06 09:05:33 +00:00
Jessica Lawshe
c27dc70c80 Merge pull request #21516 from overleaf/jel-template-labels
[web] Use grid layout for template details

GitOrigin-RevId: 1f15dfcd9bc04bec5bd7e0b6a7b1230966def997
2024-11-06 09:05:29 +00:00
Alf Eaton
562a4e4ce6 Avoid spell checking list environment arguments (#21483)
GitOrigin-RevId: 8fe56c53b503abddcc4f0d996707e3df12309362
2024-11-06 09:05:17 +00:00
Alf Eaton
7fa8c01e31 Disable spell check in setlength arguments (#21491)
GitOrigin-RevId: 279f5df7c97b6a6caa5a344bf50b0747402cf61d
2024-11-06 09:05:13 +00:00
Alf Eaton
a827f8835b Focus the editor after using the "Switch to editor" button (#21549)
GitOrigin-RevId: f94c6d266ec9c2c3e4a30ea2c34c937817b48596
2024-11-06 09:05:08 +00:00
Rebeka Dekany
09ad023161 Merge pull request #21561 from overleaf/rd-ide-paste
Migrate the editor pasted content popover to Bootstrap 5

GitOrigin-RevId: 2f89d0d6818e219dc5b786b5f21d4d47a91b06c8
2024-11-06 09:05:04 +00:00