Commit Graph

26118 Commits

Author SHA1 Message Date
Domagoj Kriskovic
fa892b336d Add endpoint to retrieve document with history ranges and use it in dsmp API (#27564)
GitOrigin-RevId: 3d2ac33cdc903a07b8ec67f7fb6f723ae9c81a26
2025-08-15 08:05:17 +00:00
Jakob Ackermann
3e5d3fe97e [monorepo] try harder at timing out Jenkins builds (#27897)
GitOrigin-RevId: 9d9b675d4603da761b725ab0470ecc7af4141ef0
2025-08-14 08:06:49 +00:00
Eric Mc Sween
89cc71134e Merge pull request #27862 from overleaf/em-unit-tests-migrations
Run Mongo migrations before unit tests

GitOrigin-RevId: e8ff6c8df7dac0d4c8a582863b9f78648d98079b
2025-08-14 08:06:32 +00:00
John Lees-Miller
a829949fd2 Merge pull request #27890 from overleaf/jlm-spam-safe-email
Apply new spam check to email address

GitOrigin-RevId: 9e204ea75e930455971769a73843d015fc4a9033
2025-08-14 08:06:28 +00:00
David
836491f87f Merge pull request #27878 from overleaf/dp-share-project-modal-utils-typescript
Convert remaining share-project-modal utils to typescript

GitOrigin-RevId: fc3fc7fbf7c8057c57f0aab261e4cedc3f7c602e
2025-08-14 08:06:24 +00:00
David
ac294c0bb1 Merge pull request #27884 from overleaf/dp-misc-test-files-typescript
Convert a few miscellaneous test files to typescript

GitOrigin-RevId: 7bdff61098988f9ff20735da213330ba2168b0ad
2025-08-14 08:06:20 +00:00
David
a7a95f997a Merge pull request #27871 from overleaf/dp-pdf-preview-typescript-3
Convert pdf-preview metrics to typescript

GitOrigin-RevId: be8f9f97915e0681f9db4f047ed7af27afa080cf
2025-08-14 08:06:16 +00:00
David
ad1aef43d9 Merge pull request #27868 from overleaf/dp-pdf-preview-2-typescript
Convert DocumentCompiler class to typescript

GitOrigin-RevId: 6a0d72f7e0cc319c9166ee6236380f6af5187dbb
2025-08-14 08:06:12 +00:00
Jakob Ackermann
53ea8dc8f8 [saas-e2e] adjust project name for new SpamSafe limits (#27875)
* [saas-e2e] adjust project name for new SpamSafe limits

* [saas-e2e] stay below 6 digits for spam safe project name

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: 77c039312c01b33aeb3b57661ec6ca5b88a0a36b
2025-08-14 08:06:02 +00:00
Jakob Ackermann
2e3ebabb88 [monorepo] add workaround for flaky mongo db init (#27833)
* [monorepo] add workaround for flaky mongo db init

Upstream issue: https://github.com/docker-library/mongo/issues/730
Upstream PR: https://github.com/docker-library/mongo/pull/731

* [server-ce] revert entrypoint changes

* [monorepo] fix typo in path

* [server-ce] run E2E tests from internal monorepo in cloudbuild

* [monorepo] avoid repeated changes to mongo entrypoint

GitOrigin-RevId: 617db9caee1600c8a506a7a147723a306e57ded3
2025-08-14 08:05:58 +00:00
Antoine Clausse
6e4dc62106 [saas-e2e] Delete user subscriptions in e2e tests setup (#27867)
Address errors caused by https://github.com/overleaf/internal/pull/27746

GitOrigin-RevId: 461ea586622999f8680f3f5eddcae71ffb6642c7
2025-08-14 08:05:51 +00:00
David
12fe3843be Merge pull request #27846 from overleaf/dp-pdf-preview-typescript
Convert several pdf-preview files to typescript

GitOrigin-RevId: afa7f7fce8fec2a36090a259783a586960ccb291
2025-08-14 08:05:47 +00:00
David
dd42a3b4c7 Merge pull request #27811 from overleaf/dp-file-view-typescript
Convert file-view components and test files to typescript

GitOrigin-RevId: 277aa8fd4f3d06a322dc9d0b372eebefb26fd285
2025-08-14 08:05:43 +00:00
David
241709c710 Merge pull request #27828 from overleaf/dp-modal-test-typescript
Convert clone project, share project and dictionary modal tests to typescript

GitOrigin-RevId: 058eecef6054a40dff7c3697fcd908bb60e39b6b
2025-08-14 08:05:38 +00:00
David
c967523534 Merge pull request #27806 from overleaf/dp-file-tree-modals-typescript
Convert FileTree modal components to typescript

GitOrigin-RevId: 8dde8dc0d27aa545a300f4be939eb83e6963ad5d
2025-08-14 08:05:34 +00:00
Mathias Jakobsen
6554b65142 Merge pull request #27831 from overleaf/msm-fix-sp-footer
[web] Fix CE/SP footer rendering

GitOrigin-RevId: 600ee50798c6b727dec2011198c4e55dc73455a5
2025-08-14 08:05:30 +00:00
Mathias Jakobsen
ed91d043c1 Merge pull request #27790 from overleaf/mj-chat-typescript
[web] Convert remaining chat frontend and tests to typescript

GitOrigin-RevId: 6b2b485433e0a4530f00496e7ecdd49d9eb450af
2025-08-14 08:05:23 +00:00
Mathias Jakobsen
9f3fb78904 Merge pull request #27804 from overleaf/mj-left-menu-tests-typescript
[web] Convert editor-left-menu tests to typescript

GitOrigin-RevId: 8b12fc6dfea387a30e6fe13d117ed623e3d1840b
2025-08-14 08:05:19 +00:00
Mathias Jakobsen
114a2af181 Merge pull request #27819 from overleaf/mj-human-readable-logs-typescript
[web] Convert logs parsing to typescript

GitOrigin-RevId: 7a338740db50c8a3a0b70dd2212083f17348d4f1
2025-08-14 08:05:15 +00:00
Mathias Jakobsen
e166b09d46 Merge pull request #27836 from overleaf/mj-switch-to-pdf-ts
[web] Convert switch-to-pdf-button to typescript

GitOrigin-RevId: cdfd84bff29da9f6af440485c699e817b6498fd3
2025-08-14 08:05:08 +00:00
Mathias Jakobsen
24858111b2 Merge pull request #27840 from overleaf/mj-file-tree-ts
[web] Convert most remaining file tree components and functions to Typescript

GitOrigin-RevId: 1aabe371af489def891ffc420c7f28b4efc309ef
2025-08-14 08:05:04 +00:00
Antoine Clausse
5bffc0d116 [web] Add admin permissions modify-group & modify-managed-group (#27456)
* Add capabilities `modify-group` and `modify-managed-group`

* Fix: Warning: validateDOMNesting(...): <span> cannot appear as a child of <option>

* Add `form-control` to select (fix styles)

* Check if admin can modify the group (frontend)

* Check if admin can modify the group (backend)

* Update tests

* Fix: Set `useSettingsUKAMF` state from `data?.useSettingsUKAMF`

* Add tests: Subscriptions update with adminRolesEnabled

* Use `getAdminCapabilities` helper

* Update `requireModifyGroupPermission` to array

Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com>

* Rename `canModify` to `canModifySubscription`

Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com>

* Refactor `requireModifyGroupPermission` stub

Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com>

* Test with `adminRolesEnabled` in SubscriptionDeletionTests.mjs

* Update test description with `adminRoles`

---------

Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com>
GitOrigin-RevId: 37b9a2e838fd566a33aa3a70631cebfd01b520ef
2025-08-14 08:05:00 +00:00
Christopher Hoskin
ca30fdd95c Merge pull request #27860 from overleaf/lg-spam-safe
Add spam check for incident

GitOrigin-RevId: 752180f7507e32219cc5faaef5d48fdc0003e889
2025-08-13 08:07:10 +00:00
Andrew Rumble
447efbd5b1 Combine implementations of hasAdminCapability
GitOrigin-RevId: a847c9182c018524c96726fe30e501763904b82e
2025-08-13 08:06:58 +00:00
Andrew Rumble
811b878eaa Add view-split-test and modify-split-test capabilities
GitOrigin-RevId: 3f0752aec332c386ece72d2447d39126065ddb35
2025-08-13 08:06:53 +00:00
Andrew Rumble
5ea17cd4b6 Add admin capability check in admin navbar code
GitOrigin-RevId: 3d2561ae7495c6ead95d79720b5b7060d156a46c
2025-08-13 08:06:48 +00:00
Andrew Rumble
59bcc97a85 Add new admin capabilities
GitOrigin-RevId: 36cb9da879883a25fe3214e15e4ebb3044137d22
2025-08-13 08:06:43 +00:00
Andrew Rumble
feac1cb27b Add authorization helper for admin capabilities
GitOrigin-RevId: fbf28c89500481e379db6c49512876d867478eb7
2025-08-13 08:06:39 +00:00
roo hutton
cd2fe857ed Merge pull request #27757 from overleaf/rh-secondary-email-alert
Only send security alert email after successful addEmailAddress call

GitOrigin-RevId: 391e613b0f855a5d2187b1da87355e0dbb10044d
2025-08-13 08:06:34 +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
Jakob Ackermann
9f80a31d85 [web] add config option for project/user hard deletion delay (#27725)
GitOrigin-RevId: db8030d6c8a3cdf8490edafcfa436cdbcd80fc28
2025-08-13 08:06:17 +00:00
Jakob Ackermann
e4b42705c3 [web] add config option for custom maintenance message (#27618)
GitOrigin-RevId: e01eebecce780af6e9e3f8b82321cb7776d414e2
2025-08-13 08:06:12 +00:00
Andrew Rumble
e7d8bf8aec Add manage-survey capability
GitOrigin-RevId: abc8af69e51009957d644e2aec3c31ba2646c0dc
2025-08-13 08:05:56 +00:00
Andrew Rumble
b6d5644c27 Add hasAdminCapability check to navbars
GitOrigin-RevId: 9f277d26eee34473ba57d8a50913367a6e038b5d
2025-08-13 08:05:51 +00:00
Mathias Jakobsen
7dff45e52e Merge pull request #27092 from overleaf/renovate-commons.lang3.version
[Core] Update dependency org.apache.commons:commons-lang3 to v3.18.0 from 3.17.0

GitOrigin-RevId: b1049a07a2c96f47217e839a5ab58473a102aa3c
2025-08-13 08:05:46 +00:00
Jakob Ackermann
db6c9eee3c [web] add missing cleanup targets (#27815)
GitOrigin-RevId: e06474d2e36958b365631a314900be84439b23fc
2025-08-12 08:07:06 +00:00
Jakob Ackermann
c87bbdf55c [web] disable watching of services/web/public/ in cypress (#27796)
GitOrigin-RevId: 8866bdf85bbe0480fb50e9a7b35a0c0f8928d06e
2025-08-12 08:07:02 +00:00
Mathias Jakobsen
6a7821f7bb Merge pull request #27782 from overleaf/mj-logos-ts
[web] convert logos to typescript components

GitOrigin-RevId: 12767f177d4376694dd77069451b6251e56caabf
2025-08-12 08:06:46 +00:00
David
f921b27155 Merge pull request #27715 from overleaf/dp-rail-overflow-2
Add new editor rail overflow menu

GitOrigin-RevId: f93da19a2687c099ece4509c22a374a47e94f5ad
2025-08-12 08:06:39 +00:00
David
7556e1fd03 Merge pull request #25598 from overleaf/dp-proptypes-misc
Convert HotkeysModal components to Typescript

GitOrigin-RevId: c2cf7a3a33afeb996650faa6e3ed91c4fe14ef1a
2025-08-12 08:06:35 +00:00
David
6335b97d01 Merge pull request #27728 from overleaf/dp-rename-review-panel
Rename `review-panel-new` to simply `review-panel`

GitOrigin-RevId: 7aad0406bce60602d272bdfae7a124ed4246bd1c
2025-08-12 08:06:31 +00:00
Jakob Ackermann
07eb75fb33 [monorepo] extend cleanup in Jenkins VMs (#27793)
* [monorepo] extend docker compose cleanup

* [web] cleanup docker images

Only retain the branch builds for dependencies.

* [server-ce] jenkins: remove build specific image

Retain the branch image as cache.

* [monorepo] jenkins: prune untagged docker images and docker build cache

* [monorepo] jenkins: remove temporary files from monorepo

* [monorepo] jenkins: remove containers from sandboxed compiles

GitOrigin-RevId: c847015986a060c5c84c39cd06236fd73bbf6f3a
2025-08-12 08:06:27 +00:00
roo hutton
98d7d231b6 Merge pull request #27751 from overleaf/rh-limited-offer-string
Add 'limited offer' translation string

GitOrigin-RevId: 327f4412d6333f36f2271724d310861af473b6ad
2025-08-12 08:06:16 +00:00
roo hutton
2ac3dbd74b Merge pull request #27742 from overleaf/rh-odc-rm-skip
Remove skip button from ODC form

GitOrigin-RevId: b3974e041ab7fa5f28c2d5eb5176510616d50127
2025-08-12 08:06:12 +00:00
roo hutton
3147edccfd Merge pull request #27670 from overleaf/rh-stripe-pause-addons
Prevent buying add-on while subscription is paused

GitOrigin-RevId: b8cfbbaa05a1031bedf37edf7b1ded2252eb6906
2025-08-12 08:06:08 +00:00
roo hutton
ece71f0426 Merge pull request #27391 from overleaf/rh-stripe-pause-anchor
Reset billing cycle when resuming paused Stripe subscription

GitOrigin-RevId: 44f7aa4d3eeaab7622e97b0178fe7d6c7cccae50
2025-08-12 08:06:04 +00:00
Brian Gough
39a024359a Merge pull request #27727 from overleaf/bg-convert-translation-packages-to-dev-dependencies
move dependencies to devDependencies in translations package.json

GitOrigin-RevId: 4c7b058d3dc9028e72eeec531b615bee9adc6ab7
2025-08-12 08:05:57 +00:00
Miguel Serrano
f14cd4e0d3 Merge pull request #27685 from overleaf/msm-group-audit-log-event
[web] Analytics events for Group Audit Logs

GitOrigin-RevId: 751d4332a2b0f4b33fbe48a5a4c03ba45b2b5c7f
2025-08-12 08:05:47 +00:00
Miguel Serrano
56235da7dd [web] Clean up group-audit-logs split test (#27614)
GitOrigin-RevId: e22183820e418cabc83cf2619c2c10cf4f82d3b9
2025-08-12 08:05:39 +00:00
David
aca5d3be44 Merge pull request #27705 from overleaf/dp-view-menu-divider
Prevent extra dividers from being rendered in view toolbar menu

GitOrigin-RevId: d89761c3c650c8724154b7ea07dcf77541dc1503
2025-08-12 08:05:26 +00:00