Commit Graph
984 Commits
Author SHA1 Message Date
Thomas DurieuxandClaude Opus 5.5 d25e5336ce feat: let authors pay once per paper instead of subscribing
Most authors use the service for one paper a few times a year, so a
subscription does not fit. Add cheap one-time options (Paper pack, Extra
repository, Live updates, Extended expiration, Never expire), cap free
dated expiration at 5 months, keep cheaper subscriptions for heavy users,
and make every new conference a paid review package in three sizes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:04:31 +00:00
Thomas DurieuxandClaude Opus 5.5 643f4b87e9 feat: let authors leave their bibliography unredacted (#941) (#943)
* feat: let owners leave chosen files unredacted (#941)

Redacting self-citations in a bibliography reveals which papers are the
authors' own. Owners can now pick files whose content is served as
written; file names are still redacted. Patterns follow .gitignore rules.

The form gets a file picker fed by GitHub's tree API, and the terms box
grows with its content and only warns about regex symbols that can stop a
term from matching.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: honour !patterns, keep picked braces literal, preview unredacted README

- Patterns now apply in order and the last match wins, as in .gitignore,
  so "*.bib" then "!private.bib" excludes private.bib instead of
  preserving every other file.
- Picked paths escape glob characters, braces included, with a
  backslash; "[{]" did not survive brace expansion.
- The README preview drops terms when the README is an unredacted file,
  and refreshes when the list changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep rule order when deduplicating unredacted-file patterns

Rules apply in order and the last match wins, so dedupe keeps the last
copy of a repeated pattern instead of the first. The picker also keeps a
plain path in its place when it follows another rule, rather than moving
it to the front as a pick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: apply unredacted-file rules to folders, as in .gitignore

A rule that matches a folder now covers every file inside it, so "*.bib"
then "!private" keeps private/refs.bib redacted. A trailing "/" limits a
rule to folders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: folder unchecks win over broad rules; accept short commit hashes

- Unchecking a folder that a broader rule such as "*.bib" still covers
  appends a "!/folder/" exclusion, so its files really go back to being
  redacted.
- The tree endpoint accepts the 6+ character hashes the commit field
  allows and resolves them to a full SHA before reading the tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: picker counts folder rules exactly as the server does

Rules ending in "/" stay patterns instead of being read as picked files,
and the checkboxes now run the saved rule list (picks, then patterns)
through the server's matcher, so the dialog cannot show files as
redacted that the server leaves unredacted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: insert escaped terms literally in "Match as written"

String.replace expanded "$&", "$'" and "$1" in the term, so the fix
could corrupt the line. Splice by index instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:10:54 +01:00
Thomas Durieux accfdeef50 Merge pull request #942 from tdurieux/fix/folder-count-index-selection
perf: fix repository scans and Mongo index selection
2026-11-11 11:29:11 +01:00
Codex 3999a71583 perf: index repository lookups and billing maintenance 2026-11-11 10:18:20 +00:00
Codex 6a230f73b9 perf: select the covering index for folder counts 2026-11-11 10:04:03 +00:00
Thomas Durieux a02568e265 Merge pull request #940 from tdurieux/perf/covered-folder-counts
perf: count folder files from a covering index
2026-11-11 10:53:59 +01:00
Codex 1505fd2baa perf: count folder files from a covering index 2026-11-11 09:05:30 +00:00
Thomas Durieux a6e5696746 Merge pull request #939 from tdurieux/fix/cached-files-without-github
perf: serve cached OAuth snapshots without GitHub calls
2026-11-10 13:59:05 +01:00
Codex 0abbe34aed fix: preserve streamer error semantics for cache probes 2026-11-10 12:55:55 +00:00
Codex 07458f536a fix: preserve cache fallback and stream failures during access checks 2026-11-10 12:51:09 +00:00
Codex 4fc3c2e042 perf: serve cached OAuth snapshots without GitHub calls 2026-11-10 12:03:52 +00:00
Thomas Durieux bb13346dd7 Merge pull request #937 from tdurieux/ops/limit-bulk-file-fetches
ops: limit bulk file fetching and repeated directory polling
2026-11-10 12:39:21 +01:00
Thomas Durieux 819906aeb5 Merge pull request #938 from tdurieux/fix/coalesce-github-credential-checks
perf: reduce GitHub quota spent validating credentials
2026-11-10 12:38:34 +01:00
Codex 5267599254 perf: reduce GitHub quota spent validating credentials 2026-11-10 11:36:55 +00:00
Codex b51e5afa4a ops: limit bulk file fetching and repeated directory polling 2026-11-10 11:31:55 +00:00
Thomas Durieux 25fe9d2df7 Merge pull request #936 from tdurieux/ops/attributable-edge-logs
ops: attribute edge traffic and correlate upstream failures
2026-11-10 09:54:11 +01:00
Codex 905b8ad781 ops: attribute edge traffic and correlate upstream failures 2026-11-10 08:46:57 +00:00
Thomas Durieux ff151d5246 Merge pull request #934 from tdurieux/fix/ui-table-menu-clip
fix(ui): stop row menus being clipped by the table container
2026-11-09 11:47:09 +01:00
Thomas Durieux 459d37f6d7 Merge pull request #935 from tdurieux/fix/reject-folder-file-downloads
fix: prevent folder downloads from exposing GitHub metadata
2026-11-09 11:46:04 +01:00
Codex 7c7caa845c fix: prevent folder downloads from exposing GitHub metadata 2026-11-09 10:45:24 +00:00
Thomas DurieuxandClaude Opus 5.5 b8a6e9ff89 fix(ui): stop row menus being clipped by the table container
.paper-table hid overflow to keep its rounded corners, which cut off
row ⋯ menus on short lists (admin repositories, My work). Let the
container overflow and put the corner radius on the head and last row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:42:35 +00:00
Thomas Durieux 4834289c8e Merge pull request #933 from tdurieux/fix/ui-expiry-control
fix(ui): go-to-line popover, selection overlap, copy icon, date and checkout layout
2026-11-09 11:35:14 +01:00
Thomas DurieuxandClaude Opus 5.5 2600bfa2f6 fix(ui): go-to-line popover, selection overlap, copy icon, date and checkout layout
- Go to line: themed popover under the file toolbar (line or line:column,
  range check) instead of Ace's unthemed prompt
- Code selection: no per-box outline, so multi-line selections no longer
  overlap at the joins; single-line matches keep an inset outline
- My work: copy-link is an icon button (URL in the tooltip); phone cards
  drop the URL row and truncate long names
- Date fields: drop WebKit's native button styling so they fit their column
- Submit bar: the checkout note gets its own line under the button

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:33:06 +00:00
Thomas Durieux aaf47da4dc Merge pull request #932 from tdurieux/fix/ui-admin-mobile
fix(ui): admin errors filters, overview views, phone menu, ended projects
2026-11-09 10:19:37 +01:00
Thomas DurieuxandClaude Opus 5.5 9ba9af2b44 fix(ui): admin errors filters, overview views, phone menu, ended projects
- Admin errors: filters stack on phones (tabs, search, Sort and Group,
  refresh) instead of squeezing into one row
- Admin overview: Summary / Performance / Cache views, kept in the URL
  hash; charts take the full width on phones
- Phone menu: aligned rows with icons, neutral fill for the current page,
  account links inline, no duplicate Sign in
- My work: removed and expired projects get a labelled badge, a muted
  "Link offline" in place of the copy link, and an inline Enable/Extend

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 09:18:25 +00:00
Thomas Durieux ebcd880f4a Merge pull request #931 from tdurieux/fix/bounded-zip-finalization
fix: bound ZIP directory memory for slow downloads
2026-11-09 10:16:05 +01:00
Codex ac28c64c6c fix: bound ZIP directory memory for slow downloads 2026-11-09 08:54:26 +00:00
Thomas Durieux 4263a87399 Merge pull request #930 from tdurieux/fix/persistent-login
fix: persist login sessions across browser restarts
2026-11-08 21:51:34 +01:00
Codex 6593319c87 fix: persist login sessions across browser restarts 2026-11-08 20:32:03 +00:00
Thomas Durieux ba3382b1d7 Merge pull request #929 from tdurieux/fix/ui-mobile-bugs
fix(ui): mobile viewer, code-block redactions and anonymize preview
2026-11-08 21:30:27 +01:00
Thomas DurieuxandClaude Opus 5.5 5bad2a2597 fix(ui): mobile viewer, code-block redactions and anonymize preview
- Anonymize preview renders redactions as the viewer's numbered slots
- Code-block slots keep the width of XXXX-n and sit on the text line
- README no longer overflows on phones (grid forced two columns)
- Status bar always hides under the file header: no second Files button
  or breadcrumb on repos with a website or for owners; Open website and
  Edit anonymization move to the file menu
- Loading state no longer repeats the path visually
- Phone usage popover opens inside the screen
- Home closing band: no double divider, tighter gap above the footer
- File drawer closes after opening a file on phones

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:29:50 +00:00
Thomas Durieux 91f57879fb Merge pull request #928 from tdurieux/fix/restore-node-main
fix: restore Node deployment and keep Go on its branch
2026-11-08 20:21:06 +01:00
Codex bff2e343fd fix: restore Node deployment and keep Go on its branch 2026-11-08 19:16:38 +00:00
Thomas Durieux 1983441c68 Merge pull request #927 from tdurieux/feat/ui-polish-2
feat(ui): polish from design review rounds 92-121
2026-11-08 19:17:29 +01:00
Thomas DurieuxandClaude Opus 5.5 9872cace5e feat(ui): polish from design review rounds 92-121
- Phone viewer: Contents menu for README headings, theme toggle in the header,
  GitHub icon on sign-in, 12px Ace font
- File ⋯ menu: file details line, Find for HTML, View raw, Download ZIP,
  Copy file path
- Redaction slots inside highlighted code blocks; fix regex lastIndex reuse
  in the redaction walker
- Landing and FAQ copy: plainer headings, trust items, closing CTA band
- Explorer ZIP button label, snapshot text cleanup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:14:47 +00:00
Thomas Durieux c63d153a5f Merge pull request #926 from tdurieux/feat/ui-redesign
feat(ui): redesign the reviewer viewer, landing, author and admin screens
2026-11-08 15:08:23 +01:00
Thomas DurieuxandClaude Opus 5.5 c685d833ab Merge origin/main into feat/ui-redesign
Backend, scripts, docs and their tests take main's newer code where both
sides changed the same lines (the shared blob cache, GitHubStream and
markdown fixes landed on main after the Go migration branch was cut).
The Dockerfile keeps the Go build from the migration, plus main's
owner-alert-protocol label; .gitignore keeps both sides' entries.

Frontend keeps the redesign and folds in main's features: Stripe billing
in the New anonymization submit bar, GitHub access repair, redaction
syntax help, the preview expand toggle, configurable redaction mask,
folder counts, reviewer-route header rules, link expiry (now in the
viewer's snapshot details) and the explorer error card. main's
narrow-only wrap logic is dropped because the redesign wraps on desktop
and scrolls sideways on phones.

Tests: 1534 passing with SESSION_SECRET set (as in CI). Three main tests
were updated for the agreed viewer design (no site header in the viewer,
no repository-wide file count).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:07:33 +00:00
Thomas DurieuxandClaude Opus 5.5 53cac6ac39 feat(ui): follow-up polish from design review rounds 88-91
One-row phone toolbar, errors page opens on server errors, one-row submit
bar, publish warning after a source loads, three-column FAQ with a help
card, queue range control in the Throughput card, shared admin table cards,
dark-mode contrast and a stronger phone code scroll cue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:36:59 +00:00
Thomas DurieuxandClaude Opus 5.5 579ce970c7 feat(ui): redesign the viewer, landing, author and admin screens
Viewer: full-height app bar with a Help menu, search + ZIP sidebar, one
toolbar for README and code, reading mode with a scroll-tracking outline,
docked find for Markdown and code, and redaction slots (a blank stone slot
holding the term number) in prose, headings, code, the tree and the path.

Landing and FAQ: live redaction demo, serif display headings, teal accent.

Author screens: My work table with copy/open/edit actions, a usage meter,
a single-container New anonymization flow with a sticky submit bar, themed
form controls, and consistent GitHub connection cards.

Admin: underline tabs, severity-first errors chart and list, error tiles
that filter (older pages load until matches appear), queue and overview
health states, and shared toolbar heights and borders.

Fixes: guarded localStorage access, failed README images render a
placeholder, phone hover states no longer stick, and UI tests updated for
the new copy and markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:52:10 +00:00
Thomas Durieux 19ce699003 Merge pull request #925 from tdurieux/fix/unavailable-submodule-commit
fix: keep repositories readable with invalid submodule commits
2026-11-06 13:08:11 +01:00
Thomas Durieux 6df74e80ac fix: keep repositories readable with invalid submodule commits 2026-11-06 12:01:25 +00:00
Thomas Durieux 76e5804404 feat: migrate backend to Go with streaming and provider support 2026-11-04 14:21:36 +00:00
Thomas Durieux 6926ddbd39 Merge pull request #922 from tdurieux/fix/donation-paying-customers
fix: hide donation links for paying customers
2026-11-04 14:51:41 +01:00
Thomas Durieux 823314b5c2 fix: hide donation links for customers with paid access 2026-11-04 13:26:45 +00:00
Thomas Durieux 096b5e9a7b Merge pull request #921 from tdurieux/fix/inline-donation-link
fix: keep donations accessible without covering page content
2026-11-04 12:11:32 +01:00
Thomas Durieux c9d326142a fix: keep donation access in the header without covering content 2026-11-04 10:54:25 +00:00
Thomas Durieux b98c2c05f8 Merge pull request #920 from tdurieux/fix/website-budgets-folder-counts
fix: isolate website limits and scope explorer counts
2026-11-03 16:36:12 +01:00
Thomas Durieux 7ffbfd09d7 fix: count dollar-prefixed directories as literal paths 2026-11-03 15:09:10 +00:00
Thomas Durieux d4b9fd85e7 fix: isolate website limits and scope explorer counts 2026-11-03 15:03:23 +00:00
Thomas Durieux 77e22a87e8 Merge pull request #916 from tdurieux/feature/paid
feat: add paid author and conference hosting with Stripe
2026-11-03 09:48:06 +01:00