Commit Graph
25716 Commits
Author SHA1 Message Date
Tobias Hallmen 5b6154bcde Track-changes: read all docs for the review panel Overview and change authors (#262)
* track-changes: list ranges of all docs in the review panel Overview

GET /project/:project_id/ranges returned document-updater's
/project/:id/ranges, which only covers docs currently loaded in Redis.
Comments and tracked changes in any doc nobody had opened since it was
last unloaded (or since document-updater restarted) were missing from
the Overview tab until that file was opened.

Flush the project's loaded docs to docstore first (POST
/project/:id/flush writes them back without unloading them), then read
the ranges of all non-deleted docs from docstore. After the flush
docstore is complete and current, so there is nothing to merge; this is
simpler than overlaying document-updater's live ranges on docstore's.
The response keeps the shape the frontend decodes ([{ id, ranges }]),
and docs without ranges get {} as document-updater returned for them.

The flush makes the request cost proportional to the number of loaded
docs with unflushed changes, and docstore unarchives the project's docs
if they were archived; on very large projects opening the Overview may
therefore be slower than before.

* track-changes: flush before listing tracked change authors

getChangesUsers read docstore directly. A tracked change still in
document-updater (not yet flushed to Mongo) was not seen, so the review
panel could not name its author once they left the project. Flush the
project first, as getAllRanges does since the previous commit.

Reported in ayaka-notes/ayakaleaf-pro#108.
2026-11-04 14:12:27 +01:00
Tobias Hallmen 21165d882e Git-bridge: reject personal access tokens of suspended users (#261)
Suspended users cannot log in to web, but their git-bridge personal
access tokens kept working for clone/pull/push. Treat a token whose
owner is suspended like an unknown token in GitBridgePATManager.getUserId,
which backs both /oauth/token/info and the token checks on the
/api/v0/docs routes, so git-bridge gets a 401.
2026-11-04 14:11:24 +01:00
Baiqiao Zhang f1b9809f35 Fix: set analyticsId when registering via the Sign Up page (#256)
registerNewUser() requires analyticsId (UserCreator throws
'bug: attributes.analyticsId is missing'), so every sign-up through the
registration-page module failed with a 500. Same fix as #208 for admin-tools.

Fixes #255
2026-10-07 14:45:40 +02:00
yu-i-i 80e3226d64 Enable by default editor tabs and review mode switcher in toolbar 2026-09-27 18:25:22 +02:00
yu-i-i 7601071d18 Python script runner: initial commit
- restore upstream code removed by commit b90a850
  - migrate restored code to modules
  - improve Run / Stop button design
2026-09-27 18:25:05 +02:00
yu-i-i 7bc2c7f2fa Enable themed modals 2026-09-27 18:11:28 +02:00
hnd0hng f0ac2f4051 Feat: add word and sentence counts for selected text 2026-09-27 18:11:27 +02:00
yu-i-i 79b145a852 Image for conversion should not depend on TEX_LIVE_DOCKER_IMAGE_ROOT 2026-09-27 18:11:27 +02:00
yu-i-i e5a7e28291 Remove copyright note and 'Digital Science' 2026-09-27 18:11:27 +02:00
yu-i-i 0e520296e8 Linked URL: fix deps 2026-09-27 18:11:27 +02:00
yu-i-i dc36597117 Zotero: fix for 6.3.0 2026-09-27 18:11:27 +02:00
yu-i-i ccc1c57ccd Github Sync: fix for 6.3.0 2026-09-27 18:11:27 +02:00
yu-i-i 404623dc25 Admin Tools: fix for 6.3.0 2026-09-27 18:11:27 +02:00
Juan Zuloaga 4552eef3f6 OIDC: enable non standard claims in admin check (#230)
* OIDC: enable non standard claims in admin check

* give priority to UserInfo
2026-09-27 18:11:26 +02:00
yu-i-i 8e95ddfec1 Remove parasitic @misc{noauthor_notitle_nodate} entries 2026-09-22 02:41:44 +02:00
yu-i-i dcb2eb1b80 Sandboxed compiles: fix cannot compile cyrillic 2026-09-22 02:41:44 +02:00
Rudy Ercek b840b6524c Fix: zip archive max uncompressed size 2026-09-22 02:41:44 +02:00
yu-i-i cd516bdc12 Reference picker: fix show existing key as unexistent in Insert mode 2026-09-22 02:41:44 +02:00
yu-i-i fb567698f6 Add syscalls to seccomp profile, fixes #194 2026-09-22 02:41:44 +02:00
yu-i-i 94f3c564a6 Admin tools: improve Active Projects UI
- do not show the project owner, email and connections number columns
 - add mailto: all active users of a project when clicking the project title
 - fix error handling
2026-09-22 02:41:44 +02:00
yu-i-i 08bc4c65dc Fix: hide Git Bridge, GitHub Sync and Zotero UI elements when the corresponding feature is disabled 2026-09-22 02:41:43 +02:00
yu-i-i 07a77cafd9 Reference picker: improve usability
- show tags for nonexistent references
- click a badge to find the corresponding reference
2026-09-22 02:41:43 +02:00
yu-i-i f93211fd24 Add variables to enable experimental features: pandoc conversion and editor tabs 2026-09-22 02:41:43 +02:00
yu-i-i fea291b72e Registration page: the initial commit 2026-09-22 02:41:43 +02:00
yu-i-i 479c9fce50 Git bridge, Template gallery: remove integration with the old editor code 2026-09-22 02:41:43 +02:00
yu-i-i 590bf506ac Admin tools: handle bad SMTP configuration error on account creation 2026-09-22 02:41:43 +02:00
yu-i-i 539e155d6b Admin tools: remove themed pages env var; style admin header
- themed pages now is enabled by default upstream
  - make the header background red on admin manage urers/projects pages
  - fix minor bug
2026-09-22 02:41:43 +02:00
yu-i-i bd5507262e Github Sync: enhance token handling and post-sync indexing
- support file-based token cipher
  - reindex references after sync
  - fix typo and clean up code
2026-09-22 02:41:43 +02:00
yu-i-i 9afab5ade1 Zotero: improve integration and reference import
- use OAuth instead of tokens
  - add an integration card
  - improve error handling
  - add BibLaTeX format support
  - fix indexing of linked .bib files on creation
2026-09-22 02:41:43 +02:00
yu-i-i a262362712 Linked URL: adapt for yarn; bump node to 24.14.1 2026-09-22 02:41:42 +02:00
David Rotermund 345bc57e36 Fix admin socket metadata handling and footer HTML rendering in admin-tools 2026-09-22 02:41:42 +02:00
Pierpaolo Vittorini 24e2fdaab5 Admin tools, Authentication: Fix: set analyticsId when creating a new user 2026-09-22 02:41:42 +02:00
yu-i-i f71de2eacc Zotero: allow collaborators to refresh files imported from Zotero; show importer's name in the header 2026-09-22 02:41:42 +02:00
yu-i-i d5e240b4b5 Admin tools: move styles to modules directory; fix form for dark theme 2026-09-22 02:41:42 +02:00
yu-i-i de2744f834 Github Sync: initial commit 2026-09-22 02:41:42 +02:00
yu-i-i ac73b428ff Git integration: use named export for settings page widget
remove stray console.log
2026-09-22 02:41:42 +02:00
Synésio Neto aa40894fb0 Fix a greyed out create file button after the Zotero Integration was merged. 2026-09-22 02:41:42 +02:00
yu-i-i 04b76c7f84 Sandboxed compiles: cwd argument was added to CommandRunner
see upstream commit ce6f9b8
2026-09-22 02:41:41 +02:00
yu-i-i 425594757e Revert "[clsi] remove locking from docker actions (#32373)"
This reverts commit d66a856baa.
2026-09-22 02:41:41 +02:00
yu-i-i 2fd95a172b Reference picker: normal search instead of fuzzy; overleafying modal 2026-09-22 02:41:41 +02:00
David Rotermund d0e78d61d9 Reference picker 2026-09-22 02:41:41 +02:00
yu-i-i 30e127603e Authentication: fix ldap searchAttributes for passport-ldapauth 3.0.1 2026-09-22 02:41:41 +02:00
David Rotermund 22c294fa3a Zotero Integration (#164) 2026-09-22 02:41:41 +02:00
yu-i-i 8426f59658 Git Bridge: fix incorrect token creation date display 2026-09-22 02:41:41 +02:00
David Rotermund 5185548301 Admin tools: introduce Activ Projects tab on the Manage Site page
- code moved to modules/admin-tools (yu-i-i)
2026-09-22 02:41:41 +02:00
yu-i-i 8fa8b0dd83 Git Bridge: route PAT validation endpoint to correct router 2026-09-22 02:41:40 +02:00
yu-i-i bce42463b6 Sandboxed compiles: avoid destroying containers of recently accessed projects
see upstream commit a9c4138
  here is an appropriate DockerRunner.mjs patch
2026-09-22 02:41:40 +02:00
yu-i-i 36a09efb6a Admin tools: themed dashboard 2026-09-22 02:41:40 +02:00
yu-i-i 31f8bec536 Linked URL: bump node to 24.13.0 2026-09-22 02:41:40 +02:00
yu-i-i dac79ec9eb Git Bridge: integrations-panel code was moved 2026-09-22 02:41:40 +02:00