Commit graph

23021 commits

Author SHA1 Message Date
yu-i-i
3461c105f4 Fix: always include repository prefix in sandboxed compiles image name 2025-07-22 19:22:12 +02:00
yu-i-i
bfc75552a5 Fix template publishing to align with upstream project context changes 2025-07-22 19:22:12 +02:00
yu-i-i
a66cfc15ec Remove LDAP admin check via group search in ldap-passport 2025-07-22 19:22:11 +02:00
yu-i-i
9f8136d13a toggleSymbolPalette now in useEditorPropertiesContext 2025-07-22 19:22:11 +02:00
yu-i-i
5e527b9a61 Set use-ai capability to false 2025-07-22 19:22:11 +02:00
yu-i-i
88283f054d Track changes: convert to mjs 2025-07-22 19:22:11 +02:00
yu-i-i
e9efde94b7 Track changes: use getTrackedChangesUserIds introduced in the mainstream 2025-07-22 19:22:11 +02:00
yu-i-i
e8813f89cb Remove OVERLEAF_OIDC_DISABLE_JIT_ACCOUNT_CREATION in favor of OVERLEAF_OIDC_ALLOWED_EMAIL_DOMAINS 2025-07-22 19:22:11 +02:00
Synésio Neto
07a66fe94c Introduce an environment variable to allow JIT OIDC users creation based on their email address domain. 2025-07-22 19:22:11 +02:00
yu-i-i
08d22264c6 Introduce an environment variable to control user creation in OIDC authentication, closes #47 2025-07-22 19:22:11 +02:00
yu-i-i
94c0234284 Avoid DEP0174 by removing async from callback-based getGroupPolicyForUser 2025-07-22 19:22:10 +02:00
yu-i-i
3ce4381768 Fix missing Templates link on login page 2025-07-22 19:22:10 +02:00
yu-i-i
7de6dffb3c Fix login page 2025-07-22 19:22:10 +02:00
yu-i-i
8af4a2996a Symbol Palette: make close button visible 2025-07-22 19:22:10 +02:00
yu-i-i
73ff0a0eee Template Gallery: replace markdown-it with marked 2025-07-22 19:22:10 +02:00
yu-i-i
571735fd8f 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-07-22 19:22:10 +02:00
yu-i-i
2253ec577e Refactor Sandboxed Compiles 2025-07-22 19:22:10 +02:00
yu-i-i
26521730ef Symbol Palette: improve keyboard input experience 2025-07-22 19:22:09 +02:00
yu-i-i
7bb14e7e9d Symbol Palette: get rid of @reach/tabs 2025-07-22 19:22:09 +02:00
yu-i-i
9e0792f665 Add 'poll' to clsi seccomp profile, fixes minted. Thanks, David. 2025-07-22 19:22:09 +02:00
yu-i-i
ae99d681bb Make Template Gallery optional; rename environment variables 2025-07-22 19:22:09 +02:00
yu-i-i
b035613237 Add Template Gallery support 2025-07-22 19:22:09 +02:00
yu-i-i
2a0d304b70 Enable From External URL feature 2025-07-22 19:22:08 +02:00
yu-i-i
f38be34f46 Track changes / comments: update backend to support frontend changes 2025-07-22 19:22:08 +02:00
yu-i-i
d86d6519e6 Allow EXTERNAL_AUTH to be undefined, fixes #26 2025-07-22 19:22:08 +02:00
yu-i-i
d0b38798d8 Symbol palette: switch to 'OL' UI components and apply minor cosmetic changes 2025-07-22 19:22:08 +02:00
yu-i-i
bfecca5eb3 Make OVERLEAF_OIDC_USER_ID_FIELD support 'email' as a value 2025-07-22 19:22:08 +02:00
yu-i-i
b6f4eaf1df See upstream commit 42ee56e 2025-07-22 19:22:08 +02:00
yu-i-i
747b021030 Fix glitches in symbol palette after switching to Bootstrap 5 2025-07-22 19:22:07 +02:00
yu-i-i
db3f0d08dc Whitelist /oidc/login endpoint, fixes #21 2025-07-22 19:22:07 +02:00
yu-i-i
f90b086f32 Add ENV variables to control SAML signature validation 2025-07-22 19:22:07 +02:00
yu-i-i
41d0404df4 Re-export doLogout (was removed from exports in commit b9fb636). 2025-07-22 19:22:07 +02:00
yu-i-i
beff3fdb07 Refactor authentication code; add OIDC support 2025-07-22 19:22:07 +02:00
yu-i-i
f5859e373f Allow adding extra flags to LaTeX compiler through environment variable 2025-07-22 19:22:06 +02:00
yu-i-i
47cefe1c45 Enable LDAP and SAML authentication support 2025-07-22 19:22:06 +02:00
yu-i-i
c15930080c Enable Symbol Palette 2025-07-22 19:22:06 +02:00
yu-i-i
3b3fc01308 Allow selecting a TeX Live image for a project 2025-07-22 19:22:06 +02:00
yu-i-i
010192506b Enable autocomplete of reference keys feature 2025-07-22 19:22:06 +02:00
yu-i-i
9821e64994 Enable track changes and comments feature 2025-07-22 19:22:05 +02:00
yu-i-i
3eb637d999 Redirect non-existing links to Overleaf page 2025-07-22 19:22:05 +02:00
Jakob Ackermann
0546fb7233 [third-party-datastore] improve error handling (#26881)
* [third-party-datastore] use generic serializer for dropboxError

The `err` serializer will not pick up all the dropbox fields.

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>

* [third-party-datastore] handle user_suspended like insufficient_space

Unlink dropbox and display a notification (same key to clear later).

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>

* [third-party-datastore] skip retries when rejected with disallowed_name

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>

* [web] sort translations

* [web] update copy for dropbox_unlinked_because_suspended

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

---------

Co-authored-by: Thomas Mees <thomas.mees@overleaf.com>
Co-authored-by: Kamal Arkinstall <kamal.arkinstall@overleaf.com>
GitOrigin-RevId: 8fbb9074d1d6eb879e904d79dd4b2a2c952ff902
2025-07-22 08:07:13 +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
Jakob Ackermann
81f0807fc6 [web] prepare filestore migration for Server Pro/CE (#27230)
* [web] prepare filestore migration for Server Pro/CE

* [history-v1] remove unused USER_FILES_BUCKET_NAME env var from script

* [server-ce] tests: write default docker-compose.override.yml on startup

* [server-ce] tests: extend access logging of host-admin for response

* [server-ce] tests: test text and binary file upload

* [server-ce] tests: add tests for filestore migration

* [web] simplify feature gate for filestore/project-history-blobs logic

Co-authored-by: Brian Gough <brian.gough@overleaf.com>

* [server-ce] test: fix flaky test helper

---------

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: f89bdab2749e2b7a49d609e2eac6bf621c727966
2025-07-22 08:06:58 +00:00
Jakob Ackermann
bf43d4f709 [history-v1] make back_fill_file_hash_fix_up compatible with Server Pro (#27280)
* [history-v1] move MockFilestore into shared place

Co-authored-by: Brian Gough <brian.gough@overleaf.com>

* [history-v1] make back_fill_file_hash_fix_up compatible with Server Pro

---------

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: 70ea57e1503031d9f14dcd60c4c110e746450587
2025-07-22 08:06:41 +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
Antoine Clausse
30b0cabbbc [web] Update tests to add emails with 6-digits flow (#27076)
* In tests, post to `/user/emails/secondary` (6-digits) instead of the deprecated `/user/emails` (link-token)

* Update `addEmailAndConfirm` so it calls the right endpoint

* Remove unnecessary `userId` from `confirmEmail` and `addEmailAndConfirm` args

* Use `updateUser` to add unconfirmed email to user

* Confirm, then unconfirm emails, in order to test on unconfirmed emails

* Lowercase emails in `unconfirmSecondaryEmail`, so they get matched correctly

* Update UserEmailsTests.mjs with 6-digits flow, fetch, no `npm:async`

GitOrigin-RevId: 71b9ed65daebea5f22272240559caab375515f0c
2025-07-22 08:06:23 +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
Domagoj Kriskovic
d5b5710d01 Add docModified hook in ds-mobile-app module (#27196)
* Add docModified hook in ds-mobile-app module

* use Object.entries when iterating over promises

* avoid project lookup

* update tests

GitOrigin-RevId: 88676746f56558a97ce31010b57f5eeb254fefef
2025-07-22 08:05:56 +00:00
Domagoj Kriskovic
868d562d96 Support password-fallbackPassword array in requireBasicAuth (#27237)
GitOrigin-RevId: 33b15a05996bfa0190041f347772867a9667e2ca
2025-07-22 08:05:51 +00:00