Repository navigation
feat: web app with a shared queue, plus review fixes - #7
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ServerSync speaks the ADR-0010 contract behind ISyncProvider, next to CloudSync. Sync now offers 'Connect to a Queueify web server'; a PC uses one provider at a time and the web server wins if both are set. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Core gets QueueView and PlayLinks as tested pure functions; the web app gets per-user queue, album search, language/theme prefs, the UI registration extension, PWA icons, stylesheet and design plan. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Download text is cut and uid/year/time are bounded, answers are capped at 16 MB and read as bytes, null albums are a bad reply, the first ask overlaps by 5 s, the no-redirect client lives in Core and is tested over a socket, the connect panel says keys are shared, texts say how to reconnect, SECURITY.md covers the server. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A missing or absurd serverTime is a bad reply and never stored; a stored position at the start of time no longer breaks the overlap. IOException while reading the answer maps to the offline message. Reconnect texts also fit the setup dialog. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Queueify.Web/Data/app.db was tracked and copied to every build, so a redeploy could replace live accounts. It is now created on first run as identity.db under Queueify:DataDir; *.db is ignored. The smoke test uses a scratch folder. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- BacklogStore: schema/WAL work once per file and process, busy timeout, updated_at always written as UTC, ApplyRemoteBatch (one transaction), MergeBackup states BEGIN IMMEDIATE explicitly and is guarded by a test. - ServerSync: a full page keeps the sync going even when nothing on it was new; round limit raised for 50 pages; applies each page in one batch; service ids that are not plain tokens are dropped. - AlbumYear: the single year rule (1000-3000). - Desktop Play and ExternalLinks go through PlayLinks.Only. - Matcher.Normalize uses an ordinal StartsWith. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
An owner-exists marker in the data folder remembers that the first account was made; servers that ran before it get the marker the first time the gate is asked. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Minting a token on /connect asks for the password again (counted towards lockout). Each token stores the owner's security stamp and is refused once it changes (password change or reset, sign out everywhere). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds ServerSyncEndToEndTests (two PCs and the web, conflicts both ways, deletions, tombstone-only first page, >1000 albums, shared keys, revoked token) and SyncEngine edge cases found by pseudo-mutation (purge of unstamped tombstones, settings re-stamp, duplicate uids, surrogate-pair cut). Uploads no longer split a surrogate pair at the 500-character limit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Behind a proxy that is not a trusted hop the app sees plain http and issued sign-in, antiforgery, language and theme cookies without Secure. Outside Development every request now counts as https; Queueify:AllowInsecureCookies opts out for plain-http LANs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Exact scores for the year bands, single penalty and typo edges, the twelve-result cap and the same-title merge rule. A title with no letters or digits no longer merges unrelated albums. Sleeps that only waited for the clock are spin-waits on the stamp itself; restated constants are gone. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The window kept its own copies, which had drifted (sort culture). The queue now sorts by the app language like the web pages do. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The setup dialog's connect logic moves to Core with unit tests (it had none). While it runs, the debounced sync is stopped and SyncNowAsync declines, so an older run cannot clear the dirty marks the trial needs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Photo, Sync, Updates and Settings move to MainWindow.*.cs unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Both workflows run Queueify.Web.Tests, publish Queueify.Web as a smoke step, cap each job and upload test reports when a step fails. The NuGet cache is keyed on the project and props files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
connect-src is now only the site itself; blob: images are allowed so the photo preview renders (checked in a real browser: the circuit connects and the preview loads). The inline import map, which script-src blocked anyway, is gone. Queueify:PublicBaseUrl feeds the connect text instead of Host. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Nullable and implicit usings live in one place; with CI=true nullable warnings and NuGet audit findings (NU1901-NU1904) fail the build. Package versions move to Directory.Packages.props. Core is IsAotCompatible. The app version stays in the app and Core projects for the packaging scripts. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
401 carries WWW-Authenticate: Bearer, 429 carries Retry-After. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
SyncEngine kept the user's file as prepared after the folder was deleted, so the next sync on the page-made file failed with a 500 until restart. Deleting now takes the user's gate and forgets the prepared file; the sync endpoint passes RequestAborted so a gone client stops waiting. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A change now updates the one album in UserQueue instead of reloading and re-parsing the whole queue. The filter uses search keys worked out once per album, waits for a pause in typing, and the list draws 100 albums at a time with a More button. Sort and covers come back in one browser call. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Local range until Core's AlbumYear rule is merged, then use that. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A web version of Queueify that shares one queue with the Windows app, so an album recommended away from home can be added from a phone and appear on the PCs.
Queueify.Web: Blazor Web App on .NET 10 (Fluent look, phone-first, installable PWA). Sign-in with passkeys or password, first account owns the server and registration then closes. Queue, Listened, Add (Spotify/Tidal search server-side), Photo (Tesseract OCR), Settings, Help with a quick tour, JSON/CSV export and defensive import of the desktopqueueify.db.POST /api/syncwith personal access tokens made in the web app (ADR-0010). The desktop app gets "Connect to a Queueify web server" next to Firestore sync.net10.0; only Windows OCR and the app launcher stay Windows-only.dotnet/skills: sync correctness (paging, UTC stamps, one transaction per page), WAL and write-first transactions, end-to-end tests of the real client against the real server,MainWindowsplit into partial classes and de-duplicated againstQueueView.Dockerfileanddocs/HOSTING.md.Tests
Queueify.Tests 464 passed, 10 skipped (Firestore emulator); Queueify.Web.Tests 479 passed, 2 skipped (real Tesseract needs the binary). Release publish of the web app succeeds; the WinUI app builds.
Notes for the maintainer
Data/app.dbis no longer tracked; it stays in git history (it held no emails or password hashes per the review).🤖 Generated with Claude Code