Commit Graph
256 Commits
Author SHA1 Message Date
yu-i-i a28e6445dd Authentication: Fix import after upstream converted PermissionsManager, RateLimiterMiddleware, UserCreator and SAMLIdentityManager to ESM 2026-09-22 02:41:36 +02:00
yu-i-i 80f7ad1f31 Track changes: Fix import after upstream converted ChatManager, UserInfoManager and UserInfoController to ESM 2026-09-22 02:41:36 +02:00
yu-i-i 0e54cc56d5 Fix import after upstream converted AuthorizationMiddleware to ESM 2026-09-22 02:41:36 +02:00
yu-i-i 886014d466 Track changes: Use getProjectRanges introduced in the upstream 2026-09-22 02:41:36 +02:00
yu-i-i 89d73ac7a7 Fix imports after upstream converted UserController and CaptchaMiddleware to ESM 2026-09-22 02:41:36 +02:00
yu-i-i 64529664ca Fix import after upstream converted ErrorController to ESM 2026-09-22 02:41:36 +02:00
yu-i-i 8f8f8992f0 Symbol palette: ui components were moved to shared folder 2026-09-22 02:41:36 +02:00
yu-i-i 7e2224dd70 Move Sympol Palette code to modules, closes #63 2026-09-22 02:41:36 +02:00
yu-i-i f60d5db8c2 passport-saml was updated to v5.1.0 2026-09-22 02:41:35 +02:00
yu-i-i 361b03b44b Remove LDAP admin check via group search in ldap-passport 2026-09-22 02:41:35 +02:00
yu-i-i 8d05573e96 Set use-ai capability to false 2026-09-22 02:41:35 +02:00
yu-i-i 8d6dbd1aab Track changes: convert to mjs 2026-09-22 02:41:35 +02:00
yu-i-i 3f1e136d50 Track changes: use getTrackedChangesUserIds introduced in the mainstream 2026-09-22 02:41:35 +02:00
yu-i-i 9e7209fd31 Remove OVERLEAF_OIDC_DISABLE_JIT_ACCOUNT_CREATION in favor of OVERLEAF_OIDC_ALLOWED_EMAIL_DOMAINS 2026-09-22 02:41:35 +02:00
Synésio Neto dce0c52f1b Introduce an environment variable to allow JIT OIDC users creation based on their email address domain. 2026-09-22 02:41:35 +02:00
yu-i-i 40a45e6dc9 Introduce an environment variable to control user creation in OIDC authentication, closes #47 2026-09-22 02:41:35 +02:00
yu-i-i 44c25117d4 Avoid DEP0174 by removing async from callback-based getGroupPolicyForUser 2026-09-22 02:41:35 +02:00
yu-i-i 119258ea95 Refactor Sandboxed Compiles 2026-09-22 02:41:34 +02:00
yu-i-i 59b9cc740a Template Gallery: add support
Make Template Gallery optional; rename environment variables
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
Template Gallery: replace markdown-it with marked
Fix template publishing to align with upstream project context changes
Template gallery: ui components were moved to shared folder
Fix style of Templates button in navbar
Template gallery: Fix `OLModal` usage (see upstream commit 19b3834)
Template gallery: Fix import after upstream converted `CompileManager`, `ClsiManager` and `RateLimiterMiddleware` to ESM
Template gallery: Fix import after upstream converted `AuthenticationController`, `ProjectGetter`, ProjectLocator` and `DocumentUpdaterHandler` to ESM
Template Gallery: migration to 6.1.0
  - enable menu for editor redisign
  - move frontend code to modules
Template gallery: add template management authorization middleware
  - middleware to enforce template access rules
  - introduce template manager role
  - fix minor issues
Template Gallery: fix for 6.2.0
Template Gallery: fix for 6.3.0 and show language in the details
2026-09-22 02:38:49 +02:00
yu-i-i 870bf7c3a7 Track changes / comments: update backend to support frontend changes 2026-09-18 23:10:17 +02:00
yu-i-i b102d1e401 Allow EXTERNAL_AUTH to be undefined, fixes #26 2026-09-18 23:09:13 +02:00
yu-i-i 0c8d307575 Make OVERLEAF_OIDC_USER_ID_FIELD support 'email' as a value 2026-09-18 23:09:13 +02:00
yu-i-i f3e5ca9e26 See upstream commit 42ee56e 2026-09-18 23:09:13 +02:00
yu-i-i 48c4af7545 Whitelist /oidc/login endpoint, fixes #21 2026-09-18 23:09:12 +02:00
yu-i-i 5e4965e784 Add ENV variables to control SAML signature validation 2026-09-18 23:09:12 +02:00
yu-i-i 51e1c3e08b Re-export doLogout (was removed from exports in commit b9fb636). 2026-09-18 23:09:12 +02:00
yu-i-i f3d4a51e79 Refactor authentication code; add OIDC support 2026-09-18 23:02:41 +02:00
yu-i-i 6097d93c90 Enable LDAP and SAML authentication support 2026-09-18 20:48:52 +02:00
yu-i-i 3a8ef14900 Enable Symbol Palette 2026-09-18 20:42:16 +02:00
yu-i-i 236f577974 Enable track changes and comments feature 2026-09-18 20:41:26 +02:00
Jakob Ackermann de0d1a7226 Merge pull request #36219 from overleaf/jpa-zod-web-platform
[web] platform: adopt strict zod schema and extend test coverage

GitOrigin-RevId: e3a0b7b4c52ac116f28be0d284284e3bd3994cda
2026-09-17 11:55:40 +00:00
Jakob Ackermann e2564f356c Merge pull request #36222 from overleaf/jpa-zod-web-core-1
[web] core-1: adopt strict zod schema and extend test coverage

GitOrigin-RevId: 6dc74a100989e6eca1565480a9ecb5f24404ef96
2026-09-17 11:55:33 +00:00
Jakob Ackermann 784b9c64ec Merge pull request #36220 from overleaf/jpa-zod-web-b2b
[web] b2b: adopt strict zod schema and extend test coverage

GitOrigin-RevId: ae9bb04cfe1034ff36dec33ba5e77aceecd71db7
2026-09-17 11:55:27 +00:00
Alf Eaton b4d2d11c7b Add search_project tool to the AI assistant (#31879)
GitOrigin-RevId: 257b59bea43bd8ee3ff81b2f5439455c4a6ea403
2026-09-17 11:34:23 +00:00
Rebeka Dekany b384c06b99 Fix keyboard shortcut handlers to use event.key instead of event.code (#35187)
* Use event.key instead of event.code in keyboard shortcut handlers

* Fix remaining event.code usages in modules/ keyboard handlers

GitOrigin-RevId: 51ad1f3442f9ecfe900b75a3e2631abb4199bb8f
2026-09-17 11:23:49 +00:00
Rebeka Dekany e2a8bf768b Merge intermediate component wrappers into OL-prefixed components (#34996)
* Merge intermediate component wrappers into OL-prefixed components

* Replace all intermediate wrapper consumers with OL-prefixed components directly

* Fix jsx/js files still importing deleted shim components

* Remove duplicate OLNotification imports left by first pass

* Rename OLTagIcon to TagIcon, remove OL prefix

* Rename OLDropdownMenuItem to DropdownMenuItem, remove OL prefix

* Remove OLNotification, use Notification directly

* Move Notification to the main shared component folder

* Update tag-icon import path out of ol/

* Move TagIcon to the main shared component folder

* Update dropdown-menu-item import path out of ol/

* Move DropdownMenuItem to the main shared component folder

* Fix dropdown-menu-item import path to dropdown/ subfolder

* Remove BS5 alias prefixes from shared components

* Restore notification-list wrapper in Notification component

* Add translation for loading button

* Remove redundant import aliasing

* Resolve conflicts

* Restore notification container `notification-list`

GitOrigin-RevId: 24a5af18599a3e02ac6fd61c09cf5a49ef6e0020
2026-09-17 11:19:34 +00:00
Andrew Rumble e0d91517e8 Merge pull request #35225 from overleaf/copilot/set-globals-false-vitest
Set `globals: false` in web vitest configuration

GitOrigin-RevId: 3b809d0b5c47910f56ce81fa229292065b4527f0
2026-09-17 11:19:16 +00:00
Jakob Ackermann d44e862a0c [web] throw early in UserCreator.createNewUser with missing analyticsId (#34664)
* [web] throw early in UserCreator.createNewUser with missing analyticsId

* [migrations] rerun back-fill of db.users.analyticsId

GitOrigin-RevId: eabf16326192fca4dbea00ad643cee4315c426c6
2026-06-17 08:06:59 +00:00
Mathias Jakobsen b85702f169 Merge pull request #34592 from overleaf/mj-full-project-search-redesign-cleanup
[web] Clean up full-project-search styles post-editor redesign

GitOrigin-RevId: a93660b48f8b088244f5d99db41752402032953f
2026-06-16 08:06:12 +00:00
Mathias Jakobsen fa36cd508b Merge pull request #34310 from overleaf/mj-handle-lazy-errors-for-search-and-share
[web] Handle errors while loading full project search and share modal

GitOrigin-RevId: 29d863324a54fa872022002f612498335f88f377
2026-06-05 08:07:10 +00:00
Miguel Serrano 107189cd5f [web] Clear hardcoded password in external SP auth (#33597)
registerExternalAuthAdmin() now generates a random password on admin registration.

A migration clears the password for existing installs only in CE/SP

GitOrigin-RevId: 94a82d35dc8cd46915c31fb24f477c19367025eb
2026-05-21 08:06:07 +00:00
Alf Eaton ce4ca192ee Upgrade Storybook to v10 (#30442)
GitOrigin-RevId: 9f51624bc2b34b6746d1854969173b44c9c9cf9a
2026-04-22 08:06:26 +00:00
Jakob Ackermann 917d2700c8 [web] use a global shared mock for the metrics module (#32799)
GitOrigin-RevId: 72874ba6c06c2a602b01cc029bc9c71ce3ce8892
2026-04-15 08:05:38 +00:00
Rebeka Dekany 7e327ee548 Remove autofocus from full project search when opened via rail tab navigation (#32645)
GitOrigin-RevId: b7ee177e0dc7273c70ca824718ff22b7df190acb
2026-04-08 08:04:57 +00:00
Davinder Singh d6e745c156 Merge pull request #31909 from overleaf/ds-removing-useIsNewEditorEnabled-2
[Part 2] Removing the usage of `useIsNewEditorEnabled` for editor tear down

GitOrigin-RevId: 864652da0edcedab4f3b1ba47d8d42fb65260118
2026-03-06 09:15:30 +00:00
Davinder Singh 281dc16a6d removing the usage of useIsNewEditorEnabled from first set of files (#31800)
GitOrigin-RevId: 821885295f4dab046d9abf552d7fbd7a21d86fb5
2026-03-06 09:14:55 +00:00
Jimmy Domagala-Tang fc8d564320 Editor Redesign Cleanup: main layout, toolbar, and rail (#31031)
* feat: integrate  main layout, toolbar, and rail from redesign into main ide-react folder

* feat: remove additional files no longer used after ide redesign

GitOrigin-RevId: 8fd77f63cb9c67be91995a9dde13b0fe2376d80f
2026-02-03 09:06:37 +00:00
Domagoj Kriskovic a108552df6 [web] add schema validation for downloadZipOfVersion endpoint
GitOrigin-RevId: ec69b9aa09cf52b544283be6acf29f706807a4b4
2026-02-02 09:04:50 +00:00
ilkin-overleaf 291f882aa2 Merge pull request #30514 from overleaf/ii-cms-launchpad-typescript
[web] Convert cms and launchpad to TypeScript

GitOrigin-RevId: d2b38671a2389206dafc7bd50c28cf0bb9683601
2026-01-15 09:05:54 +00:00
Jakob Ackermann 425e7b1e5b [web] enable mongo notablescan in CI (#29501)
* [monorepo] record ERROR/FATAL log messages in junit report

* [web] put SaaS specific code behind feature flag

* [web] use split test cache for getting user assignments

The unit tests needed updating as they did not replicate any of the
 mongo filtering. The acceptance tests cover this logic.

* [web] make better use of existing indexes

* [web] avoid col-scan in tests of notifications module

* [web] remove cleanup of empty feedbacks collection

* [web] add assertion for reason of rejected request in launchpad test

* [web] add missing indexes

* [web] enable mongo notablescan

* [web] make emailNotifications tests compatible with notablescan

GitOrigin-RevId: b888f2feeb3a0e915f068ae1c4ea23ec17821221
2026-01-13 09:06:38 +00:00