Commit graph

4770 commits

Author SHA1 Message Date
yu-i-i
a265be20da Fix template publishing to align with upstream project context changes 2025-08-04 12:40:34 +02:00
yu-i-i
ff68e501e8 Refactor Template Gallery; resolves #38 and #39
- Replace free-text license input with a select box
- Improve visual presentation of modals and enhance keyboard interaction
2025-08-04 12:40:34 +02:00
yu-i-i
33a12be341 Make Template Gallery optional; rename environment variables 2025-08-04 12:40:33 +02:00
yu-i-i
7af0e4e7c4 Add Template Gallery support 2025-08-04 12:40:33 +02: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
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
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
Antoine Clausse
1cebef56f0 Remove endpoint /user/emails/send-reconfirmation (#27423)
GitOrigin-RevId: bd96d749175248cba83eb07c00dab7e7a9f819da
2025-07-30 08:06:38 +00:00
Antoine Clausse
535a9774ef [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
Alf Eaton
c83c04b8b2 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
d3668bddec Clamp minimum valid doc position to 0 (#27461)
GitOrigin-RevId: d531e2b5351b41217ccc8385f8f317cce91a840b
2025-07-30 08:06:09 +00:00
Alf Eaton
68d3d63e34 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
2cfe2b1e15 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
032f597e92 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
5417fca60f 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
9b1ec9fdc1 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
2e6b3745ac 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
7409e0c6d6 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
Alf Eaton
9958ffdf68 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
a689d03b41 Calculate selection inside dispatchSelectionAndScroll (#27109)
GitOrigin-RevId: f8f70f61b82fb316adcee10bda3f08bd07874b80
2025-07-29 08:05:47 +00:00
Domagoj Kriskovic
9228f2248b 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
7c97cbbfe4 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
Thomas
93ef0fc8b3 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
00b54abb77 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
Simon Gardner
93d14f6fc4 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
Kristina
95f51c4d46 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
ca71fec33b 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
Antoine Clausse
e7eb7d32c5 [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
Rebeka Dekany
1b4cbd4efb 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
bd9fdfe99e 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
Jessica Lawshe
1387466151 Merge pull request #27026 from overleaf/jel-domain-capture-check
[web] Check if domain is captured by group when using domain API

GitOrigin-RevId: 6e14df0a1701c33fc80f21f01bb3fbb446d7f074
2025-07-23 08:06:52 +00:00
Jakob Ackermann
082121d3da [web] reject upload requests without a file path (#27156)
* [web] reject upload requests without a file path

* [web] update copy on error message and link to contact form

Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com>

* [web] update copy: move dot to the end

---------

Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com>
GitOrigin-RevId: ba1ee81a91b046540caeb2f3f3da0e305611b35f
2025-07-22 08:07:03 +00:00
David
ae3f63d37f Merge pull request #27209 from overleaf/dp-collaborator-colour
Adapt online user and chat user colors based on luminance

GitOrigin-RevId: 1b0c843147ee3dc585866bc491a7c7613cb00e70
2025-07-22 08:06:32 +00:00
Tim Down
2f427ef0e0 Merge pull request #27229 from overleaf/td-group-pricing-select
Allow clicks on icon in group plans select lists to open the select

GitOrigin-RevId: d54b27851cb8b5541d71c48ff815d52cf99db16f
2025-07-22 08:06:10 +00:00
Tim Down
0778bab910 Merge pull request #27254 from overleaf/td-project-dashboard-cookie-banner
Implement React cookie banner on project dashboard

GitOrigin-RevId: 95d2778d7ce7cb3054a06b06486b815a3453a623
2025-07-22 08:06:05 +00:00
David
5aacccc9d0 Merge pull request #27138 from overleaf/dp-overleaf-dark
Add overleaf dark editor theme

GitOrigin-RevId: bd8cdbcc7ad6b56078611b7c2ab69008ea578ae7
2025-07-18 08:07:06 +00:00
David
8d8142ba2b Merge pull request #27205 from overleaf/dp-persist-rail-tab
Persist currently selected rail tab on refresh

GitOrigin-RevId: a609bed93340d950a1fba8358fd5ed20afe6a4ce
2025-07-18 08:06:57 +00:00
Antoine Clausse
cf668d897d [web] Create middleware and functions for checks on admin permissions (#27107)
* Create AdminCapabilities in admin-panel module

* Add `adminRolesEnabled` setting

* Use `PermissionsController.requirePermission` in admin-panel routes

* Update `adminCapabilities` to be an array

* Update frontend tests

* Rename `defaultAdminCapabilities` to `fullAdminCapabilities`

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Add tests to PermissionsManagerTests.js

* Get admin roles and capabilities from the database

* Add tests to admin-panel

* Fixup PermissionsManagerTests.js without admin-panel module

* Revert "Use `PermissionsController.requirePermission` in admin-panel routes"

This reverts commit ccbf3e3e3bca9239b786c662cba2ac6bd2f4117a.

* Revert "Fixup PermissionsManagerTests.js without admin-panel module"

This reverts commit 6d7ad207bb17c5ca4c12c489d4636a02c608926d.

* Revert "Add tests to PermissionsManagerTests.js"

This reverts commit 8f9cc911750911e1c4b74b631d8c8a1b1ca86630.

* Fix tests after the reverts

* Replace capabilities to more sensible examples ('modify-user-email' and 'view-project')

* Set `adminRolesEnabled: false` for now

* Return `[]` capabilities for non-admins

* Misc: types, test description, settings ordering

* Small refactor of AdminPermissions.mjs:

Reuse code with `getMissingCapabilities`
Throw when `requiredCapabilities` is empty

* Update tests after update

* Rename `checkAdminPermissions` to `hasAdminPermissions`

* Change role permissions to array instead of object

* Remove admin capabilities when `!Settings.adminPrivilegeAvailable`

* Return `[]` if there is no user id

* Throw if `user?._id` is missing

* Update services/web/modules/admin-panel/app/src/AdminPermissions.mjs

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Adjust to ForbiddenError constructor syntax

* Give empty capabilities for unknown role, update tests

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 1eec4f6a45e1cc3ae76a3a4603cec1ceba1c2322
2025-07-18 08:06:40 +00:00
David
2e82852ed0 Merge pull request #27125 from overleaf/ae-extension-exports
Add CodeMirror history-related exports to `UNSTABLE_editor:extensions` event

GitOrigin-RevId: 015a19f8b97075ee441dda1d42e19d7f81804ed7
2025-07-18 08:06:06 +00:00
David
b0776da02c Merge pull request #27119 from overleaf/dp-select-error-text
Make error log header text selectable

GitOrigin-RevId: f3844d20bb11abf32ee053da763531c39d63a543
2025-07-18 08:06:02 +00:00
David
ec2ab62f4d Merge pull request #27171 from overleaf/dp-make-a-copy
Update copy of copy project option

GitOrigin-RevId: 3d1cc544f3945f55600f0daf1021b07de9d207bc
2025-07-18 08:05:58 +00:00