Commit Graph
27 Commits
Author SHA1 Message Date
sanapachandClaude Opus 5.5 2c0c3d21aa Proxy podcast audio from publishers on request
Browsers stream episode audio from the publisher by default. For
publishers they cannot play directly (CORS, mixed content), the
administrator can enable podcast_audio_proxy_enabled (admin Settings,
FURU_PODCAST_AUDIO_PROXY_ENABLED). The endpoints live in a new app at
/api/podcasts:

- GET /episodes/{episode_id}/audio streams an episode of the signed-in
  account. The URL comes from the account's catalog, never from the
  request. Requests go through SafeHttp with one sanitized byte Range and
  no client headers; 200/206/416 pass through, only audio content types
  are served, with nosniff and a sandbox CSP, and responses stop at 1 GiB
  or 4 hours.
- GET /episodes/{episode_id}/source returns the publisher URL and, when
  enabled, the proxy URL.
- POST /{podcast_id}/refresh refreshes one subscribed feed now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:38 +02:00
sanapachandClaude Opus 5.5 bf9a6abc3f Refresh subscribed podcast feeds in a background job
The podcast_refresh job runs every five minutes and refreshes the podcasts
whose next check is due: conditional requests (ETag, Last-Modified), 32 MiB
and 60 s limits, the shared music-dht parser and PodcastStore::apply_feed.
A chain of permanent redirects moves the feed and becomes an alias.
Healthy feeds are checked hourly with a stable spread; failures back off
from 15 minutes up to a day, honouring Retry-After. Accounts subscribed to
the same feed URL share one request, at most four run at once, and one
run at a time holds an advisory lock. runner::refresh_now is the manual
refresh for one subscribed podcast, at most every 30 seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:38 +02:00
sanapachandClaude Opus 5.5 7f07cb206a Add a PostgreSQL podcast store with relay import
PodcastStore implements the music_dht::podcast contract per account:
catalog, feed aliases, episodes with a derived season view, the
subscription, share and progress registers, listening sessions and the
local-only fetch state. Received operations, snapshot records and local
actions share one apply path (materializers plus merge functions) under
a per-account advisory lock. Local actions append their operation to the
device-sync log with the next stamp of the web device and apply exactly
that operation in the same transaction.

Migration m_0056 creates the tables; m_0057 imports the registers that
0.13 kept in furumusic__fed_podcast_relay and the catalog rows of the
episode references in the operation log. The relay table is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:12:38 +02:00
Aleksandr Bogomiakov 939fc00e4c Reworked new users login, improved share feature, enabled track downloads 2026-11-18 14:40:16 +00:00
Aleksandr Bogomiakov 4141562e33 Added stat page 2026-11-12 11:52:38 +00:00
ab a8bbb4b603 Fix connected devices 2026-09-10 18:15:55 +03:00
Ultradesu 1ab53e3898 Fixed ytdl retries 2026-08-14 12:56:03 +01:00
Ultradesu 5402d9595d Added socks proxy, reworked download manager configuration 2026-08-14 10:54:56 +01:00
Aleksandr Bogomiakov 943191a0ff Added youtube import. Reworked Download Manager 2026-08-14 01:21:51 +01:00
Aleksandr Bogomiakov 77cbb62d84 Added similarity search 2026-08-10 01:44:40 +01:00
Ultradesu 4381750c6e Extend DHT scheme 2026-07-20 16:29:21 +03:00
Ultradesu 0615356785 Added federation 2026-07-17 13:30:55 +03:00
Ultradesu 624cadab64 Fixed sone jobs 2026-06-08 11:22:52 +01:00
Ultradesu 952d11e6f5 added mobile auth support 2026-06-05 03:37:51 +03:00
Ultradesu 3a9240b82c Add music sharing and mobile player polish
Add track, release, and queue sharing with post-login redirects; support shared playlist links and highlighted shared tracks.

Add local synchronized playback for jams, constrain HTTP metrics to known routes, and refine mobile player controls/layout.
2026-06-03 17:48:30 +03:00
ab 27ee56c5b7 CORE: added prom metrics on /metrics 2026-06-01 16:08:49 +03:00
Ultradesu c43ee02b00 CORE: Improve media paths and player reliability 2026-05-27 18:52:17 +03:00
Ultradesu 476b300a6c CORE: reworked artwork_backfill.rs task 2026-05-27 18:07:02 +03:00
Ultradesu 015d75c701 CORE: Added Last.FM scrobbling 2026-05-27 16:40:06 +03:00
ab 04c30bc4b8 added image resizer 2026-05-27 00:28:39 +03:00
Ultradesu 4b8797bb2e Added lastfm statistics 2026-05-26 18:16:34 +03:00
Ultradesu cae77e9401 Added OIDC users group filter 2026-05-25 16:26:45 +03:00
Ultradesu bf0a2a553c Added torrent client and upload feature. reworked mobile UI. 2026-05-25 15:40:07 +03:00
ab dcc665563a Reworked Reviews page 2026-05-25 13:50:24 +03:00
ab 8912c51165 Furumi init 2026-05-23 13:08:09 +03:00
ab b8afaa1864 Init 2026-05-21 16:21:42 +03:00
abandClaude 16abe754af Initial commit: web-app boilerplate with auth, OIDC/SSO, admin panel, i18n
Rust (cot framework) + PostgreSQL boilerplate providing:

- Session-based auth with Admin/User roles
- OIDC/SSO login with PKCE, group-to-role mapping, auto-provisioning
- Admin panel: user management, settings, debug/config inspector
- 3-tier config system (compiled default → DB → FURU_* env vars)
- i18n (English + Russian) with compile-time translations macro
- JSON API skeleton (GET /api/me)
- DB-backed sessions (survive server restarts)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-21 14:22:33 +03:00