Eric Mc Sween
ca845ad532
Merge pull request #27903 from overleaf/em-unit-tests-redis
...
Make Redis available to unit tests
GitOrigin-RevId: 7bd403d9ad4be504a87bc9108d60686e6c2a9fb1
2025-08-18 08:05:40 +00:00
Tim Down
a7bd6c1062
Merge pull request #27798 from overleaf/td-project-list-frontend-tests-fix
...
Fix and reinstate project list front-end tests
GitOrigin-RevId: 5f9343a56a5cf6e4da04c161b9f17b9282fdccbb
2025-08-18 08:05:29 +00:00
Antoine Clausse
ba97b96815
[web] Add admin permissions modify-group-member and modify-managed-group-member ( #27665 )
...
* Add capability `modify-managed-group-member` & `modify-group-member`
* Check `modify-managed-group-member` & `modify-group-member` (backend)
* Check `modify-managed-group-member` & `modify-group-member` (frontend)
* Update tests
* Update with `ol-hasWriteAccess` flag
* Update tests
* Move functions to AdminAuthorizationHelper.js
* Update import to fix build error
* Add `ol-hasWriteAccess` to types
* Use `hasAdminAccess()` instead of `req?.user?.isAdmin`
* Add tests on `/manage/groups/:id/invites` depending on admin roles
* Reuse `UserMembershipAuthorization.hasAdminCapability`
* Fix: Add entityAccess check
* Update unit test
* Rename `hasAdminGroupMemberCapability` to `hasModifyGroupMemberCapability`
* Remove useless and redundant `hasWriteAccess` check
* Restore stub in afterEach
GitOrigin-RevId: 4b6d83751121b43d4c19d0dbd82a4833cf7a6f24
2025-08-15 08:05:57 +00:00
Liangjun Song
1acb68f41c
Merge pull request #27800 from overleaf/ls-support-create-stripe-customer-from-admin-panel
...
Support creating Stripe customer from admin panel
GitOrigin-RevId: 3e23008e1f4690e6f3737b5689e20958bf468f82
2025-08-15 08:05:34 +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
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
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
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
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
feac1cb27b
Add authorization helper for admin capabilities
...
GitOrigin-RevId: fbf28c89500481e379db6c49512876d867478eb7
2025-08-13 08:06:39 +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
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
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
Miguel Serrano
56235da7dd
[web] Clean up group-audit-logs split test ( #27614 )
...
GitOrigin-RevId: e22183820e418cabc83cf2619c2c10cf4f82d3b9
2025-08-12 08:05:39 +00:00
ilkin-overleaf
5f020595c4
Merge pull request #27680 from overleaf/ii-domain-capture-get-user-affiliations
...
[web] Get domain capture info when getting user affiliations
GitOrigin-RevId: 475024cda072c45e548407dfdb36a772f845ac2b
2025-08-11 08:06:26 +00:00
ilkin-overleaf
1cf64f7ed1
Merge pull request #27641 from overleaf/ii-domain-capture-page
...
[web] Create domain capture page
GitOrigin-RevId: df16ba2cac683d315979be69f63e160ec402020b
2025-08-11 08:06:21 +00:00
Rebeka Dekany
960eea7129
Bootstrap files and folders cleanup ( #27692 )
...
* Remove icons folder
* Create folders for badge, button, and dropdown components
* Remove Bootstrap 5 from test
* Rename `getBootstrap5Breakpoint` to `getBootstrapBreakpoint`
* Cleanup and update BS 5 comments
* Move components to the shared folder
* Rename `tooltips-bs5` to `tooltip`
* Remove `-bs5` suffix
* Fix path
* Delete BS3 version file
* Rename `_form_marketing-bootstrap-5` to `_form_marketing`
* Delete BS3 version file
* Rename `_contact_general_modal-marketing-bootstrap-5` to `_contact_general_modal-marketing`
* Delete BS3 version file
* Rename `_contact_modal-marketing-bootstrap-5` to `_contact_modal-marketing`
* Delete BS3 version file
* Rename `thin-footer-bootstrap-5` to `thin-footer`
* Delete BS3 version file
* Rename `language-picker-bootstrap-5` to `language-picker`
* Rename `fat-footer-react-bootstrap-5` to `fat-footer-react`
* Delete BS3 version file
* Rename `navbar-marketing-bootstrap-5` to `navbar-marketing`
* Rename `navbar-marketing-react-bootstrap-5` to `navbar-marketing-react`
* Delete BS3 version file
* Rename `layout-website-redesign-cms-bootstrap-5` to `layout-website-redesign-cms`
* Source format
* Fix path
GitOrigin-RevId: cf0f5db7c84cf545c69213dcc271d9ff17fe5db7
2025-08-11 08:06:16 +00:00
Domagoj Kriskovic
da7092bfb9
[dsmp] Add acceptChanges notification ( #27555 )
...
* [dsmp] moved redis functions to RedisStreamManager
* use getEventStream generator function
* [dsmp] moved redis functions to RedisStreamManager
* [dsmp] Add acceptChanges notification
* rename to acceptedChanges
* cleanup after rebasing parent branch
GitOrigin-RevId: c7e100f55503e52b146bcc07deb3e483250b66f8
2025-08-11 08:05:37 +00:00
Antoine Clausse
4716bc3114
[web] Map admin capabilities to project PrivilegeLevels ( #27488 )
...
* Add capability `copy-project`
* Check `copy-project` (frontend)
* Update tests
* Suggestion: map `modify-project`-`PrivilegeLevels.OWNER` and `view-project`-`PrivilegeLevels.READ_ONLY`
* Suggestion: remove capability `copy-project`. Use `view-project` instead
* Revert unrelated changes
* Add tests on AuthorizationManager when `adminRolesEnabled`
* Update `Modules.promises.hooks.fire` stubs with `.withArgs('getAdminCapabilities')`
Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com >
* Use `getAdminCapabilities` from AdminAuthorizationHelper.js
---------
Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com >
GitOrigin-RevId: 61167509c4a035c99831a5b0346347c2e6b5fae0
2025-08-08 08:07:59 +00:00
Jessica Lawshe
a3d842a98d
Merge pull request #27637 from overleaf/jel-remove-unused-group-sso
...
[web] Use `providerId` for group SSO and remove unused `universityId`
GitOrigin-RevId: 0928cdfee78cae5cdede57159b9968c15e26f27c
2025-08-08 08:07:34 +00:00
Mathias Jakobsen
239301d3bf
Merge pull request #27630 from overleaf/mj-ai-settings-widget
...
[web] Update AI section of account settings page
GitOrigin-RevId: 217494ec10e686391ef46199e8cdaf900d762950
2025-08-08 08:07:05 +00:00
Mathias Jakobsen
590416cf0e
Merge pull request #27620 from overleaf/mj-remove-ai-assistant-notification
...
[web] Remove AI Assist notification
GitOrigin-RevId: e3ffcac233eb77d215bff8af7e35f7fdecacf29a
2025-08-08 08:07:00 +00:00
Mathias Jakobsen
24e6729bba
Merge pull request #27608 from overleaf/mj-beta-colours
...
[web] Update beta badge colours
GitOrigin-RevId: ffa08940a3133e09f4b14d964ac58443ba5cf4e3
2025-08-08 08:06:47 +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
Andrew Rumble
b4c6aa6a7e
Split adminCapabilities middleware into two
...
GitOrigin-RevId: 093e455e33459cae2e3da236958cb991f128299e
2025-08-08 08:05:52 +00:00
Andrew Rumble
488c0ab6e6
Try checking admin access before getting capabilities
...
GitOrigin-RevId: 75ff99aa6b6e94c1b84a99d22d65b327f4d40126
2025-08-08 08:05:47 +00:00
Andrew Rumble
df68be700d
Move hasAdminCapability middleware into helpers
...
This is so that we can test it more easily than embedding it would allow
GitOrigin-RevId: be23d945bc7c816d32b18b4990ecd9e0a6592eb5
2025-08-08 08:05:42 +00:00
Andrew Rumble
73427c1bfc
Add hasAdminCapabilities function to ExpressLocals
...
This will be available in pug to allow admin capabilities to be used.
GitOrigin-RevId: 6bc4e38385b421aa44ee9385e28f3c59b09e3ade
2025-08-08 08:05:37 +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
Simon Gardner
4c2c00eeb0
Merge pull request #27464 from overleaf/slg-filter-group-member-list
...
add user filter to group member list
GitOrigin-RevId: 0a65ca377979de706e2e43ee024d2cee9261a121
2025-08-06 08:05:05 +00:00
roo hutton
bcbdd0100d
Merge pull request #27215 from overleaf/rh-stripe-pause-status
...
Update features and subscription state when Stripe pause starts and ends
GitOrigin-RevId: 368f5d9b046cfe26e996be336189081b96926713
2025-08-06 08:04:57 +00:00
Thomas
20c30f6b94
Use AsyncLocalStorage to cache userFullEmails on the request, avoiding duplicated calls to the affiliations endpoint ( #27542 )
...
* Use AsyncLocalStorage to cache userFullEmails
* Rename temporary fakeUser override to avoid conflicts
GitOrigin-RevId: 3a74816f677c1357293b0d46f245b4cfc499f2fa
2025-08-05 08:06:04 +00:00
Simon Gardner
b80b7f6afe
Merge pull request #27516 from overleaf/slg-hide-enrolment_ad_html
...
hide enrolment_ad_html field from v1 admin form and remove unused usage in web
GitOrigin-RevId: 7cf8eed1a68bbaf2ebbb77069bfd421cd26ef01d
2025-08-05 08:05:41 +00:00
Alf Eaton
26923c4eb5
Use "*:placeholder" as placeholder label ( #27520 )
...
GitOrigin-RevId: eb6566e8cab401675df21a54d0b1035fd6e8a8df
2025-08-01 08:05:58 +00:00
Miguel Serrano
5a3747c5d2
[web] Group audit log link in settings ( #27390 )
...
* [web] Group audit log link in settings
Adds a link to access the `/manage/groups/:subscription_id/audit-logs`
endpoint
* [web] Add `group-audit-logs` split test for gradual rollout
GitOrigin-RevId: 60d6c9917ca54ff5e228996e7454a901f0f3b9ca
2025-08-01 08:05:10 +00:00
Jakob Ackermann
dd825b3653
[web] download binary files in clsi from filestore via new endpoints ( #27505 )
...
* [history-v1] use String.padStart instead of lodash.padStart
* [web] download binary files in clsi from filestore via new endpoints
* [server-ce] tests: Cypress.env() is parsing boolean values
* [server-ce] tests: run history migration as root
GitOrigin-RevId: bdf6c0e542531ccc4b3f13d2ed68ca0d31e580e9
2025-07-31 08:05:28 +00:00
Jakob Ackermann
3ae228ff28
Merge pull request #27476 from overleaf/jpa-transfer-all
...
[web] add script for transferring all of a users projects in Server Pro
GitOrigin-RevId: 3aad2b624e1da2af83fec0715c2e5e08eff43695
2025-07-30 08:06:51 +00:00
Antoine Clausse
c9c26f7f52
Remove endpoint /user/emails/send-reconfirmation ( #27423 )
...
GitOrigin-RevId: bd96d749175248cba83eb07c00dab7e7a9f819da
2025-07-30 08:06:38 +00:00
Antoine Clausse
924aa6db23
[web] Remove the unused endpoint /user/emails/resend_confirmation ( #27416 )
...
* Remove the unused endpoint `/user/emails/resend_confirmation`
* Remove exported middleware `resendConfirmationEmail`
* Revert "Remove exported middleware `resendConfirmationEmail`"
This reverts commit 7989bf25465dbc9b68c9d1af0d64d1097a747b55.
GitOrigin-RevId: 8054c6f217a734881093f78599a7b2be29436793
2025-07-30 08:06:33 +00:00
Antoine Clausse
f8e643570c
[web] Remove the endpoint /user/emails (POST) ( #27418 )
...
* Remove `/user/emails` (post)
* Update test
GitOrigin-RevId: 3979820935209ca36fdd8fabc016ad55d4858cef
2025-07-30 08:06:29 +00:00
Rebeka Dekany
e1ee6d37b7
Improve landmarks on the Project dashboard and Editor pages ( #27401 )
...
* Improve landmarks for the Project Dasbhboard
* Improve landmarks for the IDE page
* Improve landmarks for the new redesigned IDE page
* Sort locales
* Fix typo OlButtonToolbar -> OLButtonToolbar
* Update project navbar translation
* Update labels
* Redundant main landmark
* Fix failing test
* Descriptive name for the rails tab
* Header should not be in a button
* Update translation to Account and help
* Update translation to Project categories and tags
* Add explanations
* Show landmark for the survey widget when it's rendered
* Suggestions for nav stretch/scroll/borders
* Source format
---------
Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com >
GitOrigin-RevId: d05a738e782d2edb229529aadf92b9004dfd973a
2025-07-29 08:05:16 +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
Liangjun Song
898cdb00e1
Merge pull request #27150 from overleaf/ls-flexible-licensing-for-stripe-manually-billed-users
...
Support Stripe manually billed users in flexible licensing
GitOrigin-RevId: b3211577a313f3a241320bfe3910cf648ee49319
2025-07-25 08:05:32 +00:00