Commit Graph

26133 Commits

Author SHA1 Message Date
M Fahru
8804df2ef3 Merge pull request #27188 from overleaf/mf-admin-stripe-sync-subscription
[web] Make admin able to sync out-of-sync expired Stripe subscription from the admin panel

GitOrigin-RevId: 1198eaa3f58756800ee078f9ff8e1d432ce32ef3
2025-07-30 08:07:47 +00:00
Jakob Ackermann
1318cdb3e6 [server-pro] add missing commit into hotfix 5.5.3 (#27489)
GitOrigin-RevId: a2d337c16eaae96cd9a0d2d2adde922ce43b033f
2025-07-30 08:07:38 +00:00
ilkin-overleaf
42a3af7ca5 Merge pull request #27276 from overleaf/ii-domain-capture-anaylze-saml-response
[web] Domain capture analyze saml response

GitOrigin-RevId: 5a970968bdf14ab6f52d883a390d420b00cb4d8d
2025-07-30 08:07:30 +00:00
ilkin-overleaf
4628e751a8 Merge pull request #27324 from overleaf/ii-domain-capture-disabling-sso
[web] Disable domain capture when disabling SSO

GitOrigin-RevId: 352834fbb3ddf724acc25cc0c59620e7f87ac935
2025-07-30 08:07:26 +00:00
ilkin-overleaf
9a46ddb8e5 Merge pull request #27133 from overleaf/ii-group-sso-config-email-attribute-sso-enabled
[web] Add email attribute to ssoConfig while SSO is enabled

GitOrigin-RevId: 3b670731a5c84fc9e09cd3fcea883879563a9848
2025-07-30 08:07:21 +00:00
ilkin-overleaf
8d1c5958a5 Merge pull request #26902 from overleaf/ii-group-sso-config-email-attribute
[web] Add email attribute to ssoConfig

GitOrigin-RevId: 313ad45987fb408c62ef30575dacaea1041471da
2025-07-30 08:07:16 +00:00
Jakob Ackermann
93c04fe240 [history-v1] extend --report with number of files to check/missing (#27397)
* [history-v1] put logs of back_fill_file_hash script in /var/log/overleaf

* [history-v1] do not leave tmp dir behind when using --report

* [history-v1] extend --report with number of files to check/missing

* [history-v1] move all the options into command line flags

Change default values:
- concurrency to 10
- concurrent batches to 1
- stream high water mark to 1MiB

* [web] find_malformed_filetrees: log progress on stderr

* [history-v1] fix percentage of projects that need back-filling

GitOrigin-RevId: ebd7889840f97b24eda43774ffe7524998fb634b
2025-07-30 08:07:12 +00:00
Brian Gough
3a17c1dc61 Merge pull request #27246 from overleaf/jpa-hotfix-5-5-3
[server-pro] add hotfix 5.5.3

GitOrigin-RevId: 6bd266afb8f5ba622224b6095204ee6801c05a44
2025-07-30 08:07:00 +00:00
Antoine Clausse
060825f3a7 [web] Fixup: Remove unused sendReconfirmation (#27486)
Wrong merge caused this error in https://github.com/overleaf/internal/pull/27423 (37c8fa1)

GitOrigin-RevId: 3b0033f69fc872439c3f2ae37429fb05d9d69af1
2025-07-30 08:06:55 +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
Liangjun Song
af23ac9ad6 Merge pull request #27291 from overleaf/ls-update-group-plan-display-name
Update group plan display name

GitOrigin-RevId: 7ffd46645f857d102e278833537d86ff6d74fb1c
2025-07-30 08:06:43 +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
Alf Eaton
b6dc37f641 Fix wrong date in history view when looking at labeled version (#27450)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
GitOrigin-RevId: 87b6f82e3024334d03991db794dd11301918245e
2025-07-30 08:06:13 +00:00
Alf Eaton
14cac4fbef Clamp minimum valid doc position to 0 (#27461)
GitOrigin-RevId: d531e2b5351b41217ccc8385f8f317cce91a840b
2025-07-30 08:06:09 +00:00
Alf Eaton
0ce2d8b0cb Disable Resolve Comment button while comment text is being entered (#27465)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
GitOrigin-RevId: 05a2c522b6cc49237eec859f50bad8759050f9f9
2025-07-30 08:06:04 +00:00
Alexandre Bourdin
c90233c01f Merge pull request #27303 from overleaf/dp-go-to-code
Hide go to code button in the new editor logs when it does nothing

GitOrigin-RevId: f08c3fc98bae8116a428a7528291edccd6d4f8c0
2025-07-30 08:05:56 +00:00
Alexandre Bourdin
858c05a292 Merge pull request #27306 from overleaf/dp-uppercase-collaborator-icons
Use uppercase characters for collaborator icons in new editor

GitOrigin-RevId: 185a4d8b26f490f78103af96a556a7227bde7121
2025-07-30 08:05:51 +00:00
Alexandre Bourdin
25a74624dc Merge pull request #27307 from overleaf/dp-lower-synctex-buttons
Lower synctex buttons to avoid clash with role dropdown

GitOrigin-RevId: 27a1e566e68484207bc1a2ffd6f1382350ff81fc
2025-07-30 08:05:47 +00:00
Alexandre Bourdin
2387aeef0e Merge pull request #27365 from overleaf/dp-hide-file-tree-buttons
Hide new editor file tree action buttons when file tree is collapsed

GitOrigin-RevId: 1f75593c8e1b1f6ed0d6054a2987b8fa46edd067
2025-07-30 08:05:42 +00:00
Alexandre Bourdin
712aebff7a Merge pull request #27378 from overleaf/dp-file-tree-no-wrap
Clip file tree heading text when the panel is narrow

GitOrigin-RevId: f5495099f8e2151324ddaa77011bcfda6b5cc1a3
2025-07-30 08:05:38 +00:00
Alexandre Bourdin
447fd0d05d Merge pull request #27367 from overleaf/dp-breadcrumbs-description
Update breadcrumbs and stop-on-first-error setting descriptions

GitOrigin-RevId: 1c3a6e691bcd9fd4bd8b3a247a005f6f7469e8c3
2025-07-30 08:05:33 +00:00
Andrew Rumble
b69f6e752b Install regular version of multer instead of fork
GitOrigin-RevId: a763b595edf68d8c4ce80c00ed9d60259e4a93f0
2025-07-29 08:06:16 +00:00
Andrew Rumble
c4d1e7f077 Add patch for multer 2.0.2
Co-authored-by: Ersun Warncke <ersun.warncke@overleaf.com>
GitOrigin-RevId: 68c0b31cf9db3dedefb48cb9b1bc212cfdb5b8d1
2025-07-29 08:06:11 +00:00
Alf Eaton
06219ee2dc Merge pull request #27123 from overleaf/ae-goto-scroll-select-text
Highlight double-clicked word when syncing position from PDF to code

GitOrigin-RevId: da120af9dec203346cb85c6aa7e403f4e585c748
2025-07-29 08:05:51 +00:00
Alf Eaton
5ece9b87e2 Calculate selection inside dispatchSelectionAndScroll (#27109)
GitOrigin-RevId: f8f70f61b82fb316adcee10bda3f08bd07874b80
2025-07-29 08:05:47 +00:00
Domagoj Kriskovic
f3b191e563 [dsmp] Add a route for accepting changes (#27398)
* [dsmp] Add a route for accepting changes

* change the payload to accept both change id and range

* remove project lookup

* Remove try/catch from DsMobileAppManager test

GitOrigin-RevId: afd4f793e9389cad97555cfb6675944e5fcf9b84
2025-07-29 08:05:42 +00:00
Domagoj Kriskovic
826192f4fb Ensure add comment tooltip doesnt show up without comment permissions (#27273)
* Ensure add comment tooltip doesnt show up without comment permissions

* disable comment option when no permissions in new editor

* add e2e tests

* use server pro for project sharing

* use findByRole for add comment

* remove .only

GitOrigin-RevId: fbef78e0db7678a00d6c602069e16ddeaf23b2f3
2025-07-29 08:05:37 +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
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
ebdf460ce6 [monorepo] avoid root-owned folders (#27349)
* [server-pro] check_vulnerabilities.sh: move cache into $HOME/.cache

* [monorepo] move root-owned minio certs into docker volume

* [server-pro] check_vulnerabilities.sh: remove unused vars

* [filestore] fix image name for certs container when using sharding

GitOrigin-RevId: c6756e8f24ccc689c12d5f5be2b7f4eee7d9b989
2025-07-28 08:05:16 +00:00
Antoine Clausse
674bf0087b [web] Add admin permission create-subscription (#27382)
* Add capability `create-subscription`

* Check `create-subscription` (frontend)

* Check `create-subscription` (backend)

* Update tests

GitOrigin-RevId: bc75b99f74573f50d5b1cb003244658040c76064
2025-07-28 08:05:04 +00:00
Antoine Clausse
82a96be3f9 [web] Add admin permission modify-login-status (#27331)
* Add capability `modify-login-status`

* Check `modify-login-status` (backend)

* Check `modify-login-status` (frontend)

* Prevent the side-effects to `suspended` changes

* Update tests

GitOrigin-RevId: e01b276ada1e938e549e31aaa92fe7a75e33eba1
2025-07-28 08:04:59 +00:00
Thomas
2a62908605 Convert templates module to BS5 (#26855)
* Convert templates module to BS5

---------

Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: d3fefd9b29aeb7d2069df69dc759c98c1af7c93a
2025-07-25 08:05:44 +00:00
Thomas
ff4cf89fea Migrate portals and learn wiki to BS5 (#26852)
* Convert and add portals and learn wiki .less to .scss

* Convert learn wiki to BS5 and update search JS

* Convert portals to BS5

* Move gallery page padding to seperate class, to avoid forcing padding to the gallery included on portal pages

---------

Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: 3a93d56280ccdcf7fb1837511a3efe54b2efd428
2025-07-25 08:05:40 +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
Andrew Rumble
1ece1afbf4 Add view-session, clear-session capabilities
GitOrigin-RevId: 10134ab400939c388c5e563ac216af122bffaeb6
2025-07-25 08:05:16 +00:00
Simon Gardner
27d88926b6 Merge pull request #27278 from overleaf/slg-improve-sidebar-color-contrast
Improve sidebar colour contrast

GitOrigin-RevId: 0afe7540f1c4a3454c3c89f18161d5613651bdad
2025-07-25 08:05:08 +00:00
Jakob Ackermann
38b8d2fd52 [monorepo] ensure DOCKER_USER is set and used on all cypress containers (#27346)
* [monorepo] ensure DOCKER_USER is set and used on all cypress containers

* [server-ce] test: deduplicate cypress container config

GitOrigin-RevId: ca569a6c95574df7fb29c99577c18f22cdfb83d8
2025-07-25 08:04:53 +00:00
Kristina
c6bc0ee734 Merge pull request #27338 from overleaf/kh-restore-schedule-if-3ds-fails
[web] restore previous subscription schedule when 3DS fails

GitOrigin-RevId: 27977fb82695d5b212256431c57683abf8a93086
2025-07-24 08:05:57 +00:00
Antoine Clausse
338171c4de Merge pull request #27363 from overleaf/revert-26751-rd-landmarks
[web] Revert "Improve landmarks on the Project dashboard and Editor pages"

GitOrigin-RevId: 4bf0bbb9466db4436df4a72dcc70c320263dd168
2025-07-24 08:05:48 +00:00
Jakob Ackermann
694bce1b14 [server-ce] test filestore migration with upgrade from version 1.x (#27342)
* [server-ce] test filestore migration with upgrade from version 1.x

* [server-ce] tests: drop verbose logs from host-admin in CI

* [server-ce] tests: fix flag following rebase

GitOrigin-RevId: dc00127fc76f87ee3eb5071fd430f4917e8123ff
2025-07-24 08:05:44 +00:00
Antoine Clausse
d33a70e020 [web] Add admin permission modify-user-name (#27284)
* Add capabilitiy `modify-user-name`

* Check `modify-user-name` (backend)

* Check `modify-user-name` (frontend)

* Add `isAdmin: true` in UserAdminController.test.mjs

* Disable the name inputs instead of hidding them, so admins can still see them

* Update tests

* Update services/web/modules/admin-panel/test/unit/src/UserAdminController.test.mjs

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

---------

Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com>
GitOrigin-RevId: 8731a57aaea8960606ecb4ecd5094eef4fb86f89
2025-07-24 08:05:39 +00:00
Antoine Clausse
2d022aff12 [web] Replace token-link validation on reconfirm affiliation notifications (#27250)
* Update Reconfirm Affiliation (Pug) in Portal page

Change the notification so it directs users to the settings page instead of triggering an email confirmation with token-link

* Update Reconfirm Affiliation (React) in Settings page

Update the component so it sends the 6-digits code and opens the modal to enter it

* Update Reconfirm Affiliation (React) in Projects page

Update the component so it sends the 6-digits code and opens the modal to enter it

* `cleanup_unused_locales`

* `bin/run web npm run extract-translations`

* Update tests

* Minor updates in tests

* Update Pug notifications with the notification mixin

* De-center the "reconfirmed notification"

* Update "Learn more" links to "Learn more about institutional email reconfirmation"

* Update tests

GitOrigin-RevId: cb65623e209217614786eec56f7f5d28b9e8cec5
2025-07-24 08:05:34 +00:00
roo hutton
8cb07fdb08 Merge pull request #27141 from overleaf/rh-stripe-schedule-pause
Support subscription pausing in Stripe

GitOrigin-RevId: 5550b2af2db99fd456d591c9bb4ba64d34dc7615
2025-07-24 08:05:29 +00:00
Brian Gough
7129fe4455 Merge pull request #27257 from overleaf/bg-filestore-migration-usability
filestore migration usability changes

GitOrigin-RevId: 47e8c8434c35b1b16c41700dfef11ce4602a3063
2025-07-24 08:05:25 +00:00
Rebeka Dekany
e1ba93db21 Improve landmarks on the Project dashboard and Editor pages (#26751)
* 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

GitOrigin-RevId: 96712b37bb1306b552de510d9fd8ae890f24309f
2025-07-23 08:07:35 +00:00
M Fahru
45c92b0e02 Merge pull request #27235 from overleaf/mf-fix-non-aligned-mobile-buttons-begin-now-card
[web] Fix non-aligned mobile buttons for non-logged-in user on "\begin{now}" card

GitOrigin-RevId: 3cf6dd1291d9ff85b88477f7379edd59c4776704
2025-07-23 08:07:19 +00:00