Commit Graph

23075 Commits

Author SHA1 Message Date
Andrew Rumble 192aacbecd 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 a9d642776a Remove sso-login-bs5 feature flag (#27683)
GitOrigin-RevId: e1b8ce0a6d1916aa69e6235e927dc29689536362
2025-08-07 08:06:15 +00:00
Alf Eaton ad1c5e7e35 Fix material icon in hydrate form message (#27511)
GitOrigin-RevId: 5775f89ee625a7346ccbce8c1103dfa650ff94e3
2025-08-07 08:05:42 +00:00
Alf Eaton 8d1f12e6ea Ensure variables are defined when handling message from lint worker (#27561)
GitOrigin-RevId: 69e18c41707be360eb30657780915efb0d1c9aa7
2025-08-07 08:05:37 +00:00
Alf Eaton fe8e2e21fb Remove the "track changes have moved" notification (#27593)
GitOrigin-RevId: 0ae1ee54c3a2d552705c5f17d2d54dc9cbe1d457
2025-08-07 08:05:32 +00:00
Alf Eaton 9dd5eda171 Only decorate itemize end line when no other text on line (#27601)
GitOrigin-RevId: 6c6b3cfe99cfec4b09476e15adc2f0758b033865
2025-08-07 08:05:28 +00:00
Mathias Jakobsen 79adb3a9d2 Merge pull request #27611 from overleaf/mj-visual-editor-feedback-badges
[web] Remove unused visual editor feedback badges

GitOrigin-RevId: adb92cc66cff5f3d48ea33e53e132605270b8f25
2025-08-07 08:05:16 +00:00
Rebeka Dekany 3f11776ecd 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
Jimmy Domagala-Tang dcd73f16a6 Add event when the connection lost modal is shown for users who have internet, but doc saves aren't successful (#25960)
* adding naive event send for case where realtime is disconnected, but user has internet connection for events

* using reportError and moving ops length summation to getUnsavedOpsSize

GitOrigin-RevId: 7c1c8e31ddbaa21fbc299703c69cf07ab46df925
2025-08-06 08:05:34 +00:00
Jimmy Domagala-Tang d7b282c176 removing split test and enforcing WF account creation as winning variant (#26920)
GitOrigin-RevId: 49d801004a6fced936214e5c08b82284ab771e72
2025-08-06 08:05:30 +00:00
David 1547cf6379 Merge pull request #27644 from overleaf/dp-default-error-text
Update text in default pdf error state in new editor

GitOrigin-RevId: 4908628aab4e7ee0e2ad2c41713ebd381395dec5
2025-08-06 08:05:13 +00:00
David 075e18c7c8 Merge pull request #27384 from overleaf/dp-drag-file-tree-outline
Allow file tree and outline to be expandable and collapsible by dragging

GitOrigin-RevId: e25f0d263b1446537cdb42ef52fe1c486e855773
2025-08-06 08:05:09 +00:00
Simon Gardner 203e2e914b 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 58b8e36739 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
Jakob Ackermann 215059f461 [web] add audit log for changing admin access in Server Pro via SSO (#27631)
* [web] add missing await statement in admin-panel tests

* [web] add audit log for changing admin access in Server Pro via SSO

GitOrigin-RevId: 69e994d0b2e0f0e0281ade80acbdf7fb30bd2e89
2025-08-06 08:04:53 +00:00
roo hutton 5e293f8c79 Merge pull request #27413 from overleaf/rh-sp-remove-geoip
Only make GeoIP lookup for premium nudge experiment in SaaS environment

GitOrigin-RevId: a0df9186dc957cd5ead6e798266874aebedabee5
2025-08-06 08:04:41 +00:00
M Fahru 1c4b55fff4 Merge pull request #27498 from overleaf/mf-fix-subscriptionX-segmentation-stripe
[web] Only send one subscriptionId data in event segmentation for Stripe subscription to follow recurly

GitOrigin-RevId: 9e514d2991df768ea7e77bd5fa5f9d851c4ee8f0
2025-08-05 08:06:26 +00:00
Simon Gardner 4bb6019e56 Merge pull request #27506 from overleaf/slg-improve-add-manager-error
Improve error message when attempting to add non-registered manager

GitOrigin-RevId: d098b3640940c6299c279b86c9c7e2631cc73191
2025-08-05 08:06:21 +00:00
Simon Gardner e129856dfe Merge pull request #27445 from overleaf/slg-improve-domain-matcher-error
Improve domain matcher error message

GitOrigin-RevId: 8f07a8e27854637cb931f852e6c59d4960caa33b
2025-08-05 08:06:16 +00:00
Thomas 7b7b560431 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 7b7d03bcc0 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
Mathias Jakobsen e31cb85d57 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
Mathias Jakobsen 7e72af29ac Merge pull request #27567 from overleaf/mj-ensure-theme-exists
[web] Ensure editor theme exists before loading it

GitOrigin-RevId: 771aafeda2d7dd3aae9656cdfbad75996a523ac8
2025-08-05 08:05:19 +00:00
Mathias Jakobsen d8f18f9667 Merge pull request #27099 from overleaf/mj-no-duplicate-themes
[web] Avoid creating duplicate CM6 themes

GitOrigin-RevId: f6132d6cdd94ef353e047ce229d89147acc89603
2025-08-05 08:05:14 +00:00
Brian Gough 12586765fb Merge pull request #27592 from overleaf/bg-update-check-mongo-script-to-use-docs
update mongodb permission error message to include documentation link

GitOrigin-RevId: 89dc1ef8388f83531f9875e034d145a6de6a075b
2025-08-04 08:05:59 +00:00
Brian Gough 3e6bdc14a6 Merge pull request #27519 from overleaf/bg-upgrade-form-data-in-monorepo
security update for form-data

GitOrigin-RevId: f25f74b9ca51e978c0a1d0aba70ec7f09d8b1c66
2025-08-04 08:05:20 +00:00
Jakob Ackermann eed93af1fd Merge pull request #27579 from overleaf/jpa-saas-e2e-split
[saas-e2e] prepare for running in Jenkins

GitOrigin-RevId: 4d87d8a548849c193c5263a3b4f01202876f43a3
2025-08-04 08:05:08 +00:00
M Fahru 34a47c7767 Merge pull request #27551 from overleaf/kh-fix-failing-webhook-event
[web] prefer metadata over email for invoice.paid events

GitOrigin-RevId: cfb06333b62dfb5018bcdee0f153a812d19ff328
2025-08-01 08:07:10 +00:00
M Fahru 35ec1504cc 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
Antoine Clausse 85878cdd8b [web] Prevent 6-digits verification on SSO-emails (#27496)
* Rename token -> code

* Add test: don't verify SSO emails through the 6-digits verification

* Add a test on `/user/emails/resend-confirmation-code`

* Rename to `confirmationEmailMiddleware`

* Add `Modules.middleware('confirmationEmailMiddleware')` to `/user/emails/send-confirmation-code`

* Log attempted verifications of SAML emails

GitOrigin-RevId: ccc11831c860b219711cd57bba1a76ac975e71fb
2025-08-01 08:06:47 +00:00
Antoine Clausse fdef2b2395 [web] Add admin permission view-audit-log (#27402)
* Add capability `view-audit-log`

* Fix: Don't fetch `user.auditLog` twice

* Check `view-audit-log` (frontend)

* Check `view-audit-log` (backend)

* Update tests

GitOrigin-RevId: 7e20f2bdc6387144503490f6aba234d967f84913
2025-08-01 08:06:43 +00:00
Antoine Clausse 8166acf612 [web] Add admin permission modify-feature-override (#27395)
* Add capability `modify-feature-overrides`

* Check `modify-feature-overrides` for create endpoint (frontend)

* Check `modify-feature-overrides` for create endpoint (backend)

* Update tests

* Check `modify-feature-override` for delete endpoint (frontend)

* Check `modify-feature-override` for delete endpoint (backend)

* Update tests

* Fixup test name

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

---------

Co-authored-by: Andrew Rumble <andrew.rumble@overleaf.com>
GitOrigin-RevId: ebf37e48fed1dd6fda23ca8c7a5baf55af1cde38
2025-08-01 08:06:39 +00:00
Antoine Clausse 084f6becb3 [web] Add admin permission create-recurly-account (#27376)
* Add capability `create-recurly-account`

* Check `create-recurly-account` (frontend)

* Check `create-recurly-account` (backend)

* Update tests

GitOrigin-RevId: f4a66937333fbd101cbf0562d768f185f41c88cf
2025-08-01 08:06:31 +00:00
Antoine Clausse 371ddd286d [web] Add admin permission view-user-additional-info (#27335)
* Add capability `view-user-additional-info`

* Check `view-user-additional-info` (frontend)

* Check `view-user-additional-info` (backend)

* Update tests

* Fix prop type

* Add missing `view-user-additional-info` in `product` role

GitOrigin-RevId: b912b98eac1325b74d42079feaf94d0ec99825c1
2025-08-01 08:06:27 +00:00
ilkin-overleaf bd57bca3b4 Merge pull request #27479 from overleaf/ii-domain-capture-recovery-email
[web] Domain capture recovery email

GitOrigin-RevId: bcff750aff23f8d8f06e4e19dbda1b7be1623035
2025-08-01 08:06:06 +00:00
Alf Eaton 677ebf3590 Use "*:placeholder" as placeholder label (#27520)
GitOrigin-RevId: eb6566e8cab401675df21a54d0b1035fd6e8a8df
2025-08-01 08:05:58 +00:00
Alf Eaton 94c8fe5b93 Display an error message when the synctex request fails (#27523)
GitOrigin-RevId: 4a57058386ba8b11dee90ef13e374411db54e2cc
2025-08-01 08:05:54 +00:00
Jakob Ackermann 386897266d [web] remove jump-to-location event (#27490)
* [web] remove jump-to-location event

* [web] remove unused imports

GitOrigin-RevId: 2be9405b6c2d3d589184c7c913294b2cbe828250
2025-08-01 08:05:46 +00:00
Mathias Jakobsen 8f2001e477 Merge pull request #27329 from overleaf/dp-editor-redesign-beta
Prepare editor redesign for beta release

GitOrigin-RevId: 584c0303f652640669234bd227780ed4f20b76c0
2025-08-01 08:05:42 +00:00
Miguel Serrano cf0a4c472f [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
Miguel Serrano e2e6c6a7f3 [web] Add expiration for groupAuditLogEntries collection (#27437)
Set to 2.5 years, same as user/project audit logs

GitOrigin-RevId: d3b7e6d752eda4b224068e7b37276e79b4143464
2025-08-01 08:05:03 +00:00
Miguel Serrano a11f666eb4 [web] Group settings: audit Log (#27197)
* [web] Group settings: audit Log

User facing audit logs, available to Group Admins.
- `/audit-logs` page
- `/audit-logs/csv` to download all logs

GitOrigin-RevId: 4938c49fdd8e62f5ea278b6c80ed2bd544455b92
2025-08-01 08:04:55 +00:00
Liangjun Song 4d0f14898d Merge pull request #27518 from overleaf/tm-revert-scriptrunner-ensured-secondary
Remove ScriptRunner usage in institution user checks and SSO ID migration scripts

GitOrigin-RevId: 69bf575f879516e8daeb068f6911856c9d6f226c
2025-07-31 08:05:37 +00:00
Jakob Ackermann 29045b9085 [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
Alf Eaton 03a4bbb96b Remove "version" from docker-compose files (#27494)
GitOrigin-RevId: 8d9a0e58e3a9c6c4296e4585115d1b259e26a6cd
2025-07-31 08:05:10 +00:00
M Fahru 0d0916e402 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
ilkin-overleaf 1c5ed10bbb 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 695a86692b 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 8ffb40d890 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 ca7a8f417f 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