Commit Graph
2719 Commits
Author SHA1 Message Date
vicrodh 674990ebe5 debug(oauth): log response body on /oauth/callback failure, add app_id query param 2026-02-23 15:22:06 -06:00
vicrodh 22060d1d35 fix(oauth): correct parameter names (code_autorisation, not code)
Qobuz redirects to play.qobuz.com/discover?code_autorisation=XXX
not ?code=XXX. Both the navigation intercept and the /oauth/callback
API call were using the wrong parameter name, so the code was never
captured and the exchange request was malformed.
2026-02-23 15:18:52 -06:00
vicrodh fea13ecee7 fix(oauth): close window from navigation callback, always return true
on_navigation returning false does not reliably block HTTP 302 redirects
on WebKitGTK (Linux). Closing the window from within the callback is
more reliable than calling close() from an async Tokio thread.

Changes:
- Always return true from on_navigation (never try to block)
- Close oauth window inside on_navigation callback after code capture
- Best-effort close via app.get_webview_window() after await (fallback)
- Add logging of every URL visited for debugging
- Idempotent: ignore duplicate code captures if callback fires twice
2026-02-23 15:16:05 -06:00
vicrodh 35ac015bb7 feat(login): add OAuth browser login button and fix ToS persistence race condition 2026-02-23 14:45:34 -06:00
vicrodh e5d34ccee7 feat(commands): add v2_start_oauth_login Tauri command with WebView browser login 2026-02-23 14:45:30 -06:00
vicrodh afbe541fca feat(api): add private_key extraction, OAUTH_CALLBACK path, and login_with_oauth_code to legacy client 2026-02-23 14:45:27 -06:00
vicrodh 9d6be623d4 feat(core): add set_session to QbzCore and login_with_session to CoreBridge for OAuth 2026-02-23 14:45:24 -06:00
vicrodh 5ed96c1d2d feat(qobuz): add private_key extraction and login_with_oauth_code to qbz-qobuz client 2026-02-23 14:45:20 -06:00
vicrodh 1c3cff46a3 fix(login): await ToS persistence before backend login call
The subscribe handler in qobuzLegalStore persists acceptance fire-and-
forget. If the user checks the box and immediately clicks Login, the
async write can lose the race against require_tos_accepted() which reads
the DB synchronously. Force a synchronous persist in handleLogin() so the
backend gate always sees the correct value.
2026-02-23 14:13:00 -06:00
vicrodh 3489819841 release: merge pre-release into main for v1.1.15 2026-02-23 13:15:11 -06:00
vicrodh b8eadf9fe2 docs: add vorce queue fix credit and QA thank-you to 1.1.15 release notes 2026-02-23 13:11:58 -06:00
vicrodh 161b304c55 docs: reformat 1.1.15 TAG_DETAILS to match established release note style 2026-02-23 12:47:41 -06:00
vicrodh 305af37a67 docs: add 1.1.15 release notes (tag details, highlights, full changelog) 2026-02-23 12:25:55 -06:00
vicrodh 0df1448a69 chore(release): bump root snapcraft.yaml to 1.1.15 2026-02-23 12:19:13 -06:00
vicrodh 26db1c1728 chore(release): bump version to 1.1.15 2026-02-23 12:18:08 -06:00
vicrodh 5678032722 Merge branch 'pre-release' of github.com:vicrodh/qbz into pre-release
# Conflicts:
#	src/lib/components/views/ArtistDetailView.svelte
2026-02-23 12:15:38 -06:00
vicrodh 84709b4adc fix(navigation): expire scroll positions after 1 hour 2026-02-23 12:14:04 -06:00
vicrodh 69b60b1bd9 fix(navigation): scope scroll position by item ID to prevent bleed between different albums/artists
Previously all albums shared one scroll position key ('album'), so
opening any album would restore the scroll from the last album visited.
Now keyed as 'album:id', 'artist:id', 'playlist:id' so each item
tracks its own position independently. Back navigates to exact scroll,
fresh opens start at 0.
2026-02-23 12:09:40 -06:00
vicrodh 6b6dd54944 fix(multi-select): move BulkActionBar to bottom position, add LabelView multi-select
- Revert placement='top' to default bottom sticky across all views
- Content area already has padding-bottom: 100px in all views so no
  track is ever hidden behind the bar
- AlbumDetailView/ArtistDetailView/WeeklySuggestView: bar now after tracks
- DynamicSuggestView/FavQView/TopQView: bar now after tracks (new views)
- LabelView: complete multi-select implementation with checkbox rows,
  Select toggle button, and BulkActionBar after popular tracks list
2026-02-23 12:05:14 -06:00
vicrodh e2beba23f2 feat(multi-select): Phase 3 - AlbumDetailView, ArtistDetailView, WeeklySuggestView
AlbumDetailView:
- Select toggle button alongside AlbumMenu in action bar
- TrackRow selectable/selected/onToggleSelect props wired
- BulkActionBar with play next/later, add to playlist, add to favorites
- buildAlbumQueueTracks helper (album artwork and artist from album props)

ArtistDetailView (Popular Tracks section):
- Select button in section-header-actions alongside Play All
- Checkbox injected before track-number in custom track-row div
- click/keydown/contextmenu handlers respect multiSelectMode
- multi-selected highlight CSS
- BulkActionBar with add to favorites using toggleTrackFavorite

WeeklySuggestView:
- Select toggle button in track-controls (next to search)
- TrackRow selectable/selected/onToggleSelect props wired
- BulkActionBar with play next/later, add to playlist
- Reuses existing buildQueueTracks helper
2026-02-23 11:31:58 -06:00
vicrodh 127841a18b feat(multi-select): Phase 2 - PlaylistDetailView + BulkActionBar fixes
- Add multi-select mode to PlaylistDetailView (independent of custom order mode):
  Select toggle button in track-controls toolbar, multiSelectedKeys state,
  checkboxes per row, multi-selected highlight, BulkActionBar with play
  next/later, add to playlist, and bulk remove from playlist
- Bulk remove handles local tracks (one-by-one), Qobuz tracks with
  playlistTrackId, and fallback trackId in a single invocation each
- Add onRemoveFavorites prop to BulkActionBar (HeartOff icon, danger style)
- Fix FavoritesView: replace Add to Favorites with Remove from Favorites
  (tracks are already in favorites, remove makes sense there)
2026-02-23 11:13:09 -06:00
vicrodh b1a7ce51c7 feat(multi-select): Phase 1 - FavoritesView track multi-select
- Add BulkActionBar component (sticky-bottom bar with queue split button,
  add to playlist, add to favorites, clear selection)
- Add selectable/selected/onToggleSelect props to TrackRow with checkbox UI
- Add .selected highlight and .track-checkbox CSS to TrackRow
- Extend VirtualizedTrackList with selectable/selectedIds/onToggleSelect props
- Wire FavoritesView tracks tab: Select toggle button in toolbar,
  selectedTrackIds state, BulkActionBar with bulk queue/favorites/playlist handlers
- Add actions.select and actions.cancelSelection i18n keys to all 4 locales
2026-02-23 11:07:30 -06:00
vicrodh 9de0c3c233 feat(backend): add bulk queue and bulk favorites commands
- v2_bulk_add_to_queue: add multiple tracks to end of queue
- v2_bulk_add_to_queue_next: add multiple tracks as play next (reversed
  to preserve selection order)
- v2_bulk_add_favorites: add multiple tracks to favorites via API then
  update local cache atomically (lock not held across await points)
- v2_add_tracks_to_playlist and v2_remove_tracks_from_playlist already
  accept Vec<u64> — no changes needed for playlist bulk actions
2026-02-23 10:55:59 -06:00
vicrodh f53af39185 feat(favorites): show album artwork in track rows, add release codename
- Favorite tracks now display album art between track number and title,
  matching the layout used in PlaylistDetailView (showArtwork=true)
- VirtualizedTrackList gains showArtwork and getArtworkUrl props
- AboutModal: add release codename 'La marrano de engorda' (1.1.15)
- README: remove stale KWin native title bar manual workaround section
2026-02-23 10:25:36 -06:00
vicrodh e843cb736f fix(svelte): remove hidden t shadow and harden checker
cx
2026-02-23 10:09:41 -06:00
vicrodh 7084c49182 docs: document manual KWin SSD rule for native Plasma title bar on KDE Wayland 2026-02-23 10:01:51 -06:00
vicrodh c473b86a2d fix: cleanup stale KWin SSD rule written by 1.1.14 on startup 2026-02-23 10:00:46 -06:00
vicrodh 9db1e5ca6b perf(cache): increase L1 to 400MB and L2 to 800MB
L1 (memory): 300MB -> 400MB (+100MB)
L2 (disk):   500MB -> 800MB (+300MB)
2026-02-23 08:55:33 -06:00
vicrodh c761ff1fd7 feat(settings): add 85% and 95% UI scale options
Add finer granularity below 100% for users who prefer slightly
smaller UI without jumping from 90% to 100%.
2026-02-23 08:55:25 -06:00
vicrodh cd1a56cde6 feat(ui): sync custom image store from detail and library views
After setting/removing custom artist images in ArtistDetailView
or LocalLibraryView, update the global store so all views
reflect the change immediately. Also fix LocalLibraryView to use
the resized thumbnail path from the backend result instead of
the original unresized file path.
2026-02-23 08:55:25 -06:00
vicrodh 40060497db feat(ui): resolve custom artist images in LabelView
Insert custom image check at top of getArtistImageUrl() before
all other fallback sources. Artists on label pages show custom
images when set.
2026-02-23 08:55:25 -06:00
vicrodh c1a67c61d5 feat(ui): resolve custom artist images in FavoritesView
Add withCustomImages() helper that overrides artist image objects
before passing to groupArtists(). All 3 call sites (alpha index,
sidepanel, virtualized grid) get custom image overrides.
2026-02-23 08:55:25 -06:00
vicrodh aac411d82f feat(ui): resolve custom artist images in HomeView
Wrap toArtistCard() image resolution with custom image store
lookup. Featured artists on home page show custom images.
2026-02-23 08:55:25 -06:00
vicrodh c4c467eecd feat(ui): resolve custom artist images in SearchView
Wrap getArtistImage() to check custom image store before
falling back to Qobuz default. All 3 call sites (most popular,
search results, virtual grid) get the override automatically.
2026-02-23 08:55:25 -06:00
vicrodh 7f17d53879 feat(app): initialize custom artist image store on login
Load all custom artist image overrides on login and clear
them on logout, alongside existing blacklist store init.
2026-02-23 08:55:25 -06:00
vicrodh 6b54db1073 feat(store): create customArtistImageStore
Centralized store for resolving custom artist image overrides
globally. Loaded on login, exposes resolveArtistImage() with
normalized name matching (handles diacritics, case differences).
2026-02-23 08:55:25 -06:00
vicrodh 7c6e07908f feat(backend): add bulk fetch for custom artist images
Add get_all_custom_artist_images() database method and
v2_library_get_all_custom_artist_images command to support
loading all custom artist image overrides at once for the
global resolution store.
2026-02-23 08:55:25 -06:00
vicrodh e9ffff53f4 feat(ui): right-click context menu to change artist image 2026-02-23 08:55:25 -06:00
vicrodh 3229640a12 fix(ui): remove round mask from lightbox, show image at natural shape 2026-02-23 08:55:25 -06:00
vicrodh 01d57ca7bb feat(backend): add remove and get custom artist image commands 2026-02-23 08:55:25 -06:00
vicrodh 98d719d833 feat(backend): resize and thumbnail custom artist images 2026-02-23 08:55:25 -06:00
vicrodh f49e5a35ec feat(ui): click album artwork to view full size 2026-02-23 08:55:25 -06:00
vicrodh 668a92b3a8 feat(ui): click artist image to view full size 2026-02-23 08:55:25 -06:00
vicrodh 8deef0be10 feat(ui): add ImageLightbox component 2026-02-23 08:55:25 -06:00
vicrodh 6d38e8f6a1 docs: rewrite README to reflect current feature set and architecture
Major updates:
- Replace outdated 1.1.8 highlights with comprehensive feature list
- Add all 4 audio backends, loudness normalization, cache sizes
- Document immersive player with 14 visualization panels
- Add 26 themes, auto-theme, native KDE title bar
- Document multi-crate architecture and all 9 crates
- Add system dependencies per distro (Debian, Fedora, Arch)
- Update project structure to reflect current codebase
- Add 4-language i18n, custom artist images, recommendations
- Update tech stack table with all major dependencies
- Remove stale "Coming soon" screenshots placeholder
2026-02-23 05:30:11 -06:00
vicrodh e9c4b4ce0d perf(cache): increase L1 to 400MB and L2 to 800MB
L1 (memory): 300MB -> 400MB (+100MB)
L2 (disk):   500MB -> 800MB (+300MB)
2026-02-23 05:24:33 -06:00
vicrodh fd2457c9ff Merge branch 'feature/image-lightbox' into pre-release 2026-02-23 05:21:38 -06:00
vicrodh 9b4f0dd353 chore(window): suppress dead_code warning on remove_kwin_window_rule
Will be called when v2_set_use_system_titlebar toggles off.
2026-02-23 05:01:41 -06:00
vicrodh abb4f1de50 fix(window): use KWin window rules instead of scripting for native SSD
KWin scripting noBorder=false cannot override the xdg-decoration
protocol on Wayland. Window rules (kwinrulesrc) operate at a deeper
level and should force SSD before protocol negotiation. Uses
kwriteconfig6 to add/remove rules and qdbus6 to trigger reconfigure.
2026-02-23 04:57:58 -06:00
vicrodh 3072a135ef chore(window): remove diagnostic print() from KWin SSD script
Now that the script is confirmed working (noBorder=false set on QBZ
window, resourceClass=qbz), remove the chatty per-window log lines
that would spam journalctl on every app launch.
2026-02-23 04:54:20 -06:00