Jakob Ackermann
73cfd65f83
[web] switch storybook build to Jenkins ( #28590 )
...
* [web] add Jenkins pipeline for storybook
* [web] fix storybook build
* [terraform] dev-project: switch writer for storybook bucket to Jenkins
* [web] remove explicit dependency
* [terraform] dev-project: link service account
* [web] tweak storybook index.html
- explicitly sort entries
- remove index.html
* [packer] jenkins-worker: install m4
* [web] remove cloud build trigger for storybook
GitOrigin-RevId: a1aa70ee91644f876d95ae7bc6643b0a1ef59759
2025-09-22 08:05:28 +00:00
Domagoj Kriskovic
55edbe6606
Use history snapshot when doing file/project restore ( #28502 )
...
* Add getDocUpdaterCompatibleRanges utility function
* use history snapshot for file/project restore
* move overleaf-editor-core from devDependencies
GitOrigin-RevId: 62481a5304ada9d931e018418be3c0719bccf1f3
2025-09-19 08:07:58 +00:00
Jakob Ackermann
19b3ded887
[monorepo] run prettier on Jenkinsfiles ( #28565 )
...
* [monorepo] consolidate .editorconfig files at the root
* [monorepo] run prettier on Jenkinsfiles
* [saas-e2e] increase timeout for XeTeX compile
GitOrigin-RevId: 48aa82f7c81611899837753ae92c7732998d4ca5
2025-09-19 08:07:49 +00:00
Andrew Rumble
a9de6371b1
Use validation-tools library in web
...
GitOrigin-RevId: e10a22f5ad2efe45e12158471ffcc64c79e54125
2025-09-18 08:06:37 +00:00
Borja
4f53a19943
Writefull codebase migration ( #27077 )
...
GitOrigin-RevId: 48ff40d0b141d5bf7c70eaba8beacba7e64f237a
2025-09-18 08:05:57 +00:00
Miguel Serrano
3ef17cb1b6
Upgrade aws-sdk to v3 (re-attempt) ( #28410 )
...
* Upgrade `aws-sdk` to v3
Also vendored nodemailer-ses-transport
* Moved default region to CE settings
* Ensure timeout is added to `requestHandler` and `region` is populated
* fix unsigned header in signed URL request
The x-amz-acl header is not needed when using the signed request,
as ACL are already defined when creating the signed URL in
PutObjectCommand constructor.
* Add default AWS region for latexqc service
* remove unnecessary region in compose files
* Use AWS_REGION=us-west-2 for history-v1
* prevent retries uploading streams with PutObjectCommand
* Remove AWS SDK JS message suppression
GitOrigin-RevId: 6fda6f02160023ffed76143397bbd965f86a9509
2025-09-18 08:05:22 +00:00
Kristina
5d2e0651f0
Merge pull request #28270 from overleaf/kh-add-stripe-payment-context
...
[web] add stripe payment context
GitOrigin-RevId: 79dfbb1da0dd6b1d36c68c86debffc1edb169961
2025-09-16 08:05:45 +00:00
Andrew Rumble
9082c0691b
Merge pull request #27050 from overleaf/renovate-definitelytyped
...
[Platform] Update definitelyTyped
GitOrigin-RevId: 8ef840733942a909af6e6b1fee3e3fc01e0dc61d
2025-09-04 08:04:53 +00:00
Eric Mc Sween
eab890748c
Install zod and zod-validation-error in web
...
GitOrigin-RevId: a696409862acfe064ccf0a528ed8f83b7150a8e0
2025-08-29 08:05:29 +00:00
Miguel Serrano
208b7ccde9
Revert "Merge pull request #27679 from overleaf/msm-aws-sdk-upgrade" ( #28151 )
...
This reverts commit 4989ae920d8b7fd9e79623947b7c40bcc2e56d92.
GitOrigin-RevId: 541d95bfeaa7ce820e8af67f646f013fe4fe5d21
2025-08-28 08:05:52 +00:00
Miguel Serrano
0fa25c54dd
Merge pull request #27679 from overleaf/msm-aws-sdk-upgrade
...
Upgrade `aws-sdk` to v3
GitOrigin-RevId: 4989ae920d8b7fd9e79623947b7c40bcc2e56d92
2025-08-28 08:05:36 +00:00
Eric Mc Sween
9d28da72a5
Merge pull request #28019 from overleaf/em-dsmp-comment-event
...
DS mobile notification for comment added/replied to
GitOrigin-RevId: 602983c679ed415bf8dd8fbf83b328e5ee832e2b
2025-08-26 08:05:20 +00:00
roo hutton
2ba5af5cc1
Merge pull request #27895 from overleaf/rh-b2c-js-tsx-canceled
...
Migrate B2C jsx to tsx: algolia-search and subscriptions
GitOrigin-RevId: 917036ce6baf8130d2b10b46efa649f015b84576
2025-08-21 08:05:28 +00:00
Rebeka Dekany
8acb7af2b9
Create Storybook guideline and add addon-designs to embed Figma ( #27310 )
...
* Add foundations and migrations docs
* Add storybook/addon-designs version 8.2.1
* Test Figma link
* Refactor Modal stories
* Create figmaDesignUrl
* Create foundations
* Create feature flags docs
* Create Storybook builds docs
* Add storybook/addon-designs version 8.2.1
* Test Figma link
* Add an example of Story with split-tests within the Storybook guidelines (#27260 )
* Add FormatCurrency demo in feature-flags.mdx
* Add syntax highlight to code samples
* Update stories with figmaDesignUrl
* Figma access token
* Use OLButton
* Hide control for children and footer
* Add primitive colors
* Use useSplitTest instead
* Update cloud builds docs with `storybook-push-trigger`
* Make Foundations the default story
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com >
GitOrigin-RevId: 0729759803f190d89cf543d087eea86265b725f1
2025-08-13 08:06:22 +00:00
Brian Gough
1f83fdc3cb
Merge pull request #27702 from overleaf/bg-update-form-data-in-cypress
...
update form-data in cypress
GitOrigin-RevId: 90b48e5c77420e83ce1b0ff7dbe25b3e4a3a87ad
2025-08-08 08:07:42 +00:00
Rebeka Dekany
d51fb8a27c
Remove Bootstrap version 3 ( #27420 )
...
* Remove bootstrap-3 entrypoint
* Rename bootstrap-5 entrypoint to bootstrap
* Restore entrypoints
* Remove `bootstrap-5` and `bootstrap-3` entrypoints and a single `bootstrap.ts` file is now the default entrypoint
* Update `bootstrap-5` component imports to `bootstrap`
* Update `bootstrap-5` CSS imports to `bootstrap`
* Remove the `isBootstrap5` utility
* Remove `bootstrapVersion`
* Remove `ol-bootstrapVersion`
* Remove getCssThemeModifier
* Update path and rename
* Source format
* Remove Bootstrap v3 and Bootstrap v5 alias npm packages
* Remove bootstrap argument
* Remove unused files
* Update with the latest split tests
* Remove remaining bootstrap5PageStatus
* Update path
GitOrigin-RevId: 7acda2f80114d2de8699e1f06729a2a29218e284
2025-08-08 08:06:00 +00:00
Rebeka Dekany
23fc3ff0fb
Remove LESS stylesheets and dependencies ( #27409 )
...
* Remove components, core and modules LESS stylesheets
* Remove variables LESS stylesheets
* Remove app LESS stylesheets
* Remove github-sync, onboarding LESS stylesheets
* Remove main-light and IEEE LESS stylesheets
* Remove Less loader configuration
* Remove bootstrap-3 entrypoint
* Rename bootstrap-5 entrypoint to bootstrap
* Remove bootstrap-5 CSS folder and move stylesheets
* Update CSS variables
* Restore and update github-sync.scss path
* Fix try-premium.scss path and fix undefined mixin error
* Restore entrypoints
* Simplify buildCssPath to always use main-style.css
* Remove less from prettier formatting scripts
* Remove less from addHook extension
* Source format
* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)
* Remove less and less-loader
* Add SCSS files to pirates require hook
GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00
Mathias Jakobsen
491b626b64
Merge pull request #27584 from overleaf/mj-reuse-indentation-marker-theme
...
[web] Update indentation markers extension
GitOrigin-RevId: 8ae6a877533423bbfa37a9bb2a1610cef7ed0e87
2025-08-05 08:05:24 +00:00
M Fahru
6f2c026aac
Merge pull request #27533 from overleaf/mf-change-billing-mode-to-flexible-stripe
...
[web] Use flexible billing_mode for every new Stripe subscription
GitOrigin-RevId: 827b6e4802ff1d1dd92519bc949717c7d42c59cb
2025-08-01 08:07:06 +00:00
Andrew Rumble
b69f6e752b
Install regular version of multer instead of fork
...
GitOrigin-RevId: a763b595edf68d8c4ce80c00ed9d60259e4a93f0
2025-07-29 08:06:16 +00:00
Jakob Ackermann
65d9efddab
Merge pull request #27428 from overleaf/jel-passport-saml-5-patch
...
[web] Upgrade to passport-saml 5.1.0
GitOrigin-RevId: 6073047a92da55a61fd2d409775d401aba13bb7e
2025-07-28 08:05:25 +00:00
Jakob Ackermann
e39e990844
Merge pull request #25479 from overleaf/msm-passport-saml-5
...
[web] Update `passport-saml` to `v5.0.1`
GitOrigin-RevId: 9e154d3f7ef78d37a151e863ce86bfc2f8d85956
2025-07-28 08:05:20 +00:00
Jakob Ackermann
812a2704fa
[clsi-cache] meter ingress and egress bandwidth ( #27143 )
...
* [mics] fix "app" label in clsi-cache metrics in dev-env
* [clsi-cache] validate filePath when processing file
* [clsi-cache] meter ingress and egress bandwidth
Files are downloaded directly from nginx, hence we cannot meter egress
in clsi-cache easily.
GitOrigin-RevId: 24de8c41728f0e9c984113c1470dec6153e75f20
2025-07-16 08:05:59 +00:00
Andrew Rumble
b150712a34
Remove @types/react-bootstrap
...
GitOrigin-RevId: 0a410b82540b2b11bc4930753dbd650937ebba1e
2025-07-04 08:04:46 +00:00
Alf Eaton
d542118906
Upgrade TypeScript to 5.8.3 ( #24900 )
...
GitOrigin-RevId: 80937de3dde14e21e02af2ecb93350b1fedafc82
2025-07-03 08:05:57 +00:00
Antoine Clausse
e6c64dfd77
[web] Add window. prefix to globals and add no-restricted-globals rule ( #26422 )
...
* Add `no-restricted-globals` eslint rule
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com >
* Change `self` to `window.self`
* Change `innerWidth` to `window.innerWidth`
* Change `confirm` to `window.confirm`
* Change `location` to `window.location`
* Use `location` from `useLocation` hook
* Use location from useLocation hook
Co-authored-by: Antoine <antoine.clausse@overleaf.com >
* Disable no-restricted-globals eslint rule for use of 'self'
* Use `confusing-browser-globals` from npm
* Prevent unexpected globals in workers, using `no-undef`
* Use `self` as a global in workers
* Use unexpected globals in workers, using `no-restricted-globals` in workers
---------
Co-authored-by: Rebeka <rebeka.dekany@overleaf.com >
Co-authored-by: Rebeka <o.dekany@gmail.com >
GitOrigin-RevId: 526986799f5f2edf53c7d978fa85c1e98189565f
2025-06-24 08:05:10 +00:00
Rebeka Dekany
c6f8f4bec6
Prettier for PUG templates ( #26170 )
...
* Setup prettier
* Ignore these pug templates by prettier
* Fix typo
* Fix prettier error
* Add prettier-ignore for quoting of event-segmentation attribute
* Manual tab indentation
* Interpolate
* Remove unbuffered if conditional
* Inline event-segmentation objects and remove prettier-ignore rule
* Fix spacing before interpolation
* Source format
* Source format
GitOrigin-RevId: c30e037f5caf8f91efc1bd9e75f81ae533b5a506
2025-06-24 08:05:06 +00:00
Miguel Serrano
71bf86a152
Merge pull request #26218 from overleaf/msm-bump-tar-fs-multer
...
[clsi/web/history-v1] Bump `tar-fs` and `multer`
GitOrigin-RevId: c76b964224c8367d68dc1190ff29627cc6919ade
2025-06-10 08:06:05 +00:00
Andrew Rumble
ee4436a9be
Add commands for running just mocha tests
...
GitOrigin-RevId: 6cd5c6aedd4fb2f222a758d6aca130f178a4acf3
2025-06-06 08:06:18 +00:00
Kristina
2f8749b7f0
[web] handle 3DS challenges for Stripe ( #25918 )
...
* handle 3DS challenges on the subscription dashboard
* add `/user/subscription/sync` endpoint
* upgrade `stripe-js` & rm `react-stripe-js`
* group related unit tests together
* add modules `SubscriptionController` unit tests and convert to async/await
* add `StripeClient` unit tests for 3DS failure
GitOrigin-RevId: 9da4758703f6ef4ec08248b328abddbbdd8e44ad
2025-06-02 08:05:16 +00:00
Andrew Rumble
40aeea02cd
Remove esmock from web
...
GitOrigin-RevId: 32aa3f23da8bb135d41f2e305662f157094d4936
2025-05-29 08:06:46 +00:00
Andrew Rumble
837c1d6218
Add vitest and configuration
...
GitOrigin-RevId: 1262f9f32a0db6a29d3feedd8158b8dd04e48b6a
2025-05-29 08:04:55 +00:00
Miguel Serrano
8fb30fbded
Merge pull request #25792 from overleaf/msm-bump-multer
...
Bump `multer` to v2.0.0
GitOrigin-RevId: 688bfd3e6546b18f22ebaef82e4d9dd57b6d40bd
2025-05-22 08:45:16 +00:00
Alf Eaton
791cba037b
Upgrade CodeMirror dependencies ( #25620 )
...
* Upgrade CodeMirror dependencies
* Upgrade Lezer dependencies
GitOrigin-RevId: fcbf9b4bbf2577d85f44b48d3b745a56e49e24c9
2025-05-19 12:27:19 +00:00
Miguel Serrano
6269901473
[web] Update base-x dependency to 4.0.1 ( #25581 )
...
GitOrigin-RevId: 746f06a3abe75dbc7deb6ea181a15dfc24cd9d22
2025-05-19 12:26:43 +00:00
Tim Down
0debb4e752
Merge pull request #24988 from overleaf/td-bs5-upgrade-and-rename
...
Apply minor upgrades to Bootstrap 5 and react-bootstrap
GitOrigin-RevId: eb013f38515ebd4b9572d139f00841aca344e3c6
2025-05-16 08:05:28 +00:00
M Fahru
cd0e867924
Merge pull request #25155 from overleaf/mf-use-stripe-v18
...
[web] Upgrade stripe to v18
GitOrigin-RevId: df522f73132e99e38f1716bf33e8ff4881bd5430
2025-05-06 08:05:19 +00:00
Tim Down
aae0d42002
Merge pull request #23940 from overleaf/td-react-18
...
Upgrade to React 18
GitOrigin-RevId: 9b81936e6eea2bccd97fe5c2c5841f0b946371b8
2025-05-02 08:05:29 +00:00
Tim Down
719fbe7847
Merge pull request #25093 from overleaf/td-upgrade-react-error-boundary-second-attempt
...
Upgrade react-error-boundary to version 5, second attempt
GitOrigin-RevId: 2b88334b66f0ace383211c147279ff88e9f956bb
2025-04-29 08:06:23 +00:00
Alf Eaton
9aa41ae1d8
Upgrade PDF.js to v5 ( #24948 )
...
* Reapply "Upgrade PDF.js to v5 (#24646 )" (#24946 )
* Upgrade core-js, caniuse-lite and babel
GitOrigin-RevId: 63398189301b5f5adc8a17b332d92dccfc26d612
2025-04-28 08:05:09 +00:00
Tim Down
d60c5bb41f
Merge pull request #25080 from overleaf/revert-25073-td-upgrade-react-error-boundary
...
Revert "Upgrade react-error-boundary to version 5"
GitOrigin-RevId: 3301adb508eed26e4429c6aa912abf9e81c1d9f8
2025-04-25 08:05:25 +00:00
Tim Down
3da444f2c5
Merge pull request #25073 from overleaf/td-upgrade-react-error-boundary
...
Upgrade react-error-boundary to version 5
GitOrigin-RevId: ebccd35e10084aa221c437c09ddfdb86f6272cf3
2025-04-25 08:05:20 +00:00
Tim Down
2090b759e4
Merge pull request #24965 from overleaf/td-downshift-9-upgrade
...
Upgrade Downshift to version 9
GitOrigin-RevId: b36904ab0c82c09a633a25cd6fed651d7c8b19f7
2025-04-24 08:06:24 +00:00
Antoine Clausse
3113974363
[web] Update fetch-mock to version 12 ( #24837 )
...
* Update fetch-mock to version 12
* Replace `fetchMock.done` by `fetchMock.callHistory.done`
* Replace `…Mock.called` by `…Mock.callHistory.called`
* Replace `fetchMock.reset` by `fetchMock.hardReset`
* Replace `fetchMock.restore` by `fetchMock.hardReset`
* Replace `fetchMock.resetHistory` by `fetchMock.clearHistory`
* Replace `fetchMock.calls` by `fetchMock.callHistory.calls`
* Replace `fetchMock.flush` by `fetchMock.callHistory.flush`
* Update tests for fetch-mock version 12
See https://www.wheresrhys.co.uk/fetch-mock/docs/Usage/upgrade-guide
* Update stories for fetch-mock version 12
* Remove `overwriteRoutes` option
* Add `fetchMock.spyGlobal()` to storybook
* Remove deprecated `sendAsJson` param
* Replace `fetchMock.hardReset()` by `fetchMock.removeRoutes().clearHistory()`
* Fixup fetch-mock in storybook:
Call `mockGlobal` inside the hook, call `removeRoutes` and `unmockGlobal` on cleanup
Behaviour can be tested by navigating between
https://storybook.dev-overleaf.com/main/?path=/story/editor-ai-error-assistant-compile-log-entries--first-log-entry
https://storybook.dev-overleaf.com/main/?path=/story/editor-ai-error-assistant-compile-log-entries--rate-limited
https://storybook.dev-overleaf.com/main/?path=/story/project-list-notifications--project-invite
https://storybook.dev-overleaf.com/main/?path=/story/project-list-notifications--project-invite-network-error
And clicking the buttons
GitOrigin-RevId: 35611b4430259e4c21c3d819ad18b2e6dab66242
2025-04-17 08:06:24 +00:00
Alf Eaton
2fd8afbe94
Revert "Upgrade PDF.js to v5 ( #24646 )" ( #24946 )
...
This reverts commit 3ef46af6363aab5b5b007b6c9d72decae65a36ab.
GitOrigin-RevId: 9c3671b3ff196bb62ff547210a1138cb603d6791
2025-04-17 08:05:15 +00:00
Alf Eaton
b949b026fc
Upgrade PDF.js to v5 ( #24646 )
...
GitOrigin-RevId: 3ef46af6363aab5b5b007b6c9d72decae65a36ab
2025-04-17 08:04:59 +00:00
Tim Down
3f4e975e92
Merge pull request #24660 from overleaf/td-bs5-remove-react-bootstrap-0
...
Remove react-bootstrap 0.33.1
GitOrigin-RevId: c320a6b18c576afdc0fd49559915d3d2f3a7a1ef
2025-04-10 08:04:50 +00:00
M Fahru
1bbb0dabb3
Merge pull request #24360 from overleaf/mf-initialize-stripe-package-and-keys
...
[web] Init Stripe packages and keys
GitOrigin-RevId: e707704db6d758a0309f398bfde8900376b5cc67
2025-03-24 10:47:20 +00:00
Jessica Lawshe
718c1fced8
Merge pull request #24339 from overleaf/jel-xml-crypto
...
[web] Upgrade `xml-crypto` in web
GitOrigin-RevId: 0fa810d227da9c65031b843958f8b5e796e3adc8
2025-03-24 10:46:24 +00:00
Miguel Serrano
975bf73547
Merge pull request #24130 from overleaf/msm-proxy-agent-learn
...
[web] Add `https-proxy-agent` for learn wiki
GitOrigin-RevId: 215f0f3ad5254b0620692c1cc4c90b50bdf1d4ef
2025-03-13 09:05:31 +00:00