Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body:
attributes:
label: Atrium version
description: Settings, then About.
placeholder: "1.11.0"
placeholder: "1.12.0"
validations:
required: true

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ the home Wi-Fi or out in the world.

**[Website][site]** - screenshots and a tour, no install needed.

> **Status:** v1.11.0. Install from [F-Droid][fdroid], or grab a signed APK
> **Status:** v1.12.0. Install from [F-Droid][fdroid], or grab a signed APK
> from the [releases page][releases].

## Why
Expand Down Expand Up @@ -63,7 +63,7 @@ each one covers:
| Sonarr | 7 tabs incl. full Settings editor, sort/filter with the server's custom filters, calendar |
| Radarr | same depth as Sonarr, movie flavored, with collection monitoring |
| Lidarr | artists, albums and tracks, wanted, activity, settings, log reader |
| Prowlarr | indexers, search + grab, history, settings, system |
| Prowlarr | indexers, search by type with indexer and category filters + grab, history, settings, system |
| Bazarr | series/movies, wanted, manual subtitle search, system |
| Seerr | discover, search, requests management filtered by status, sign in as a Seerr, Jellyfin or Emby user |
| Ombi | requests with approve/deny/delete, search, discover |
Expand All @@ -73,7 +73,7 @@ each one covers:
| Emby | same depth as Jellyfin |
| Plex | libraries, detail, seasons, music, genres, now-playing controller, plex.tv sign-in |
| Navidrome | artists, albums and tracks, playlists, ratings and favorites, search |
| qBittorrent | realtime list, add/manage, torrent detail, tracker editing, private/public badges, queue reorder, full settings, execution log, external IP |
| qBittorrent | realtime list, add/manage, torrent detail, category and tracker editing, session totals, private/public badges, queue reorder, full settings, execution log, external IP |
| Deluge | torrent list with a filter drawer, add/manage, queue moves, speed limits, torrent detail (beta) |
| Transmission | the web UI's filters in a drawer, actions and inspector, full settings, turtle mode |
| rTorrent | torrent list, add/manage, priorities, speed limits, torrent detail (beta) |
Expand Down
10 changes: 6 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

## Supported versions

Atrium is pre-1.0. Only the latest commit on `main` is supported.
Only the latest release is supported. Please check that an issue still
happens on it before reporting.

## Reporting a vulnerability

Please report security issues privately - do **not** open a public issue.

- Email: see the maintainer's GitHub profile.
- Or use GitHub's "Report a vulnerability" private disclosure flow on the
repository.
Use GitHub's private reporting form:
[Report a vulnerability](https://github.com/retransmit/Atrium/security/advisories/new)
(also under the repository's **Security** tab). Only the maintainers can
see what you send there.

Please include:

Expand Down
34 changes: 27 additions & 7 deletions STATUS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Atrium - Status

> Snapshot of what genuinely works and what is left, as of 2026-11-18.
> Snapshot of what genuinely works and what is left, as of 2026-11-24.
> Atrium is published on F-Droid and on the GitHub releases page. It is
> still in early development and every module is work in progress; nothing
> here is a release promise.
Expand Down Expand Up @@ -32,7 +32,9 @@ Atrium is a **controller** app. Video playback was removed by design
airings/releases with status dots (downloaded in the theme's tertiary
colour since PR #213, upcoming in primary, missing in error), or a list;
the view picked is kept
across launches (Bhavyashah94, PR #205, #203)
across launches (Bhavyashah94, PR #205, #203). The list opens at today,
or at the next day with releases (the latest one when the whole month is
past), and builds only the rows near the screen (PR #254, #203)
- **Dashboard widgets**, reorderable from Customize dashboard: Active
downloads, Now streaming, Upcoming releases, Recently added, Recently
downloaded, Requests (Seerr and Ombi), Glances, Dashdot, Speedtest
Expand Down Expand Up @@ -61,7 +63,10 @@ Atrium is a **controller** app. Video playback was removed by design
instance that allows a self-signed certificate has it accepted for its
artwork too, not only its API (per host, 2026-10-19, #189); the
instance form needs one valid URL and rejects a malformed one in either
field (PR #213)
field (PR #213); artwork from Radarr, Sonarr, Lidarr, Plex, Jellyfin and
Emby carries the instance's key or session token as a header, never in
the URL, and only to the instance the image belongs to (PR #262, reported
privately through #258)
- **qBittorrent**: cookie login (qBit 5.x 204 fix), realtime polling of
only what changed (per-instance interval, default 5s), add
magnet/file (with skip hash check), categories, tag and tracker
Expand All @@ -80,7 +85,13 @@ Atrium is a **controller** app. Video playback was removed by design
server says which: in the list from qBittorrent 5.0, on a torrent's own
screen from 4.5.1, and nowhere while a magnet has no metadata. Settings >
System shows the external IPv4 and IPv6 address qBittorrent reports, from
5.0 (PR #210, #204)
5.0 (PR #210, #204). Session totals (what a torrent moved since
qBittorrent started) sit beside the all-time ones on its screen, and on
the cards while sorted by session upload or download (PR #256, #250); the
card's bottom row wraps rather than overflowing on narrow phones and large
text (PR #257). A torrent's category is changed from its Overview tab,
in the same picker as the list's hold menu and multi-select, which ticks
the current one (PR #263, #259)
- **Sonarr** (the canonical *arr module): poster/banner grid with
client-side sort & filter (status, network, airing, added, size on
disk) and per-series disk sizes, the custom filters saved on the
Expand All @@ -105,15 +116,20 @@ Atrium is a **controller** app. Video playback was removed by design
(missing and cutoff unmet), queue/history/blocklist, the full settings
tree (profiles, download clients, indexers, import lists, notifications,
metadata, media management, quality definitions), system diagnostics and
an in-app log viewer with level filtering and search. Album releases also
an in-app log viewer with level filtering and search, whose download saves
the file through the API rather than opening the browser on a keyed URL
(PR #262). Album releases also
appear in the shared calendar. The add sheet remembers the last choices
per instance; until the first add, the root folder's own defaults apply
(#234). Artwork loads through `api/v1/mediacover`
from the address the app connected to, so it works under a URL Base and
behind a sign-in portal that only lets `/api` through (#222)
- **Prowlarr**: indexers (add/edit/test from schema), manual search
across indexers with grab-to-client, history, full settings menu,
system
system. Search takes a filter sheet: indexers (single ones, or all torrent
or all Usenet), categories with their subcategories (PR #252, #248), and a
search type (TV, Movie, Audio, Book) whose parameters come as chips that
insert `{ImdbId:}`-style tokens (PR #253, #249)
- **Bazarr**: series/movies with per-episode subtitle status, manual
provider search/download/delete, wanted, history, blacklist, system
- **Seerr** (Jellyseerr / Overseerr): discover (trending/upcoming/genres),
Expand Down Expand Up @@ -345,7 +361,11 @@ Atrium is a **controller** app. Video playback was removed by design
asked to load an http(s) `.torrent` by URL, over both http and https, so the
app downloads the file itself and sends the bytes, which does work. That
fetch deliberately uses a bare Dio rather than the instance one, so an
instance's credentials are never sent to whatever host a pasted link names
instance's credentials are never sent to whatever host a pasted link names.
Test connection looks beneath the given address for ruTorrent's httprpc
plugin and `RPC2`, and offers "Use this address" when rTorrent answers
there; httprpc requests go to the address itself, without the trailing
slash nginx answers with a 404 (PR #246, #247)

- **aria2** (beta; contributed by Bhavyashah94 in PR #202, #167; added 2026-10-21, modernized 2026-10-22, live-verified against 1.37.0): the
client that speaks its own protocol rather than a REST API - JSON-RPC over
Expand Down
6 changes: 5 additions & 1 deletion app/lib/src/connection_test/connection_test_result.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ enum ConnectionOutcome { connected, authFailed, unreachable }

/// One URL test result: an [outcome] and a short human message.
class ConnectionTestResult {
const ConnectionTestResult(this.outcome, this.message);
const ConnectionTestResult(this.outcome, this.message, {this.suggestedUrl});

final ConnectionOutcome outcome;
final String message;

/// An address the service did answer at, when the one tested was close but
/// not it. The form offers to switch to it.
final String? suggestedUrl;
}

/// Maps a [Health] verdict from a lightweight probe to a [ConnectionTestResult].
Expand Down
69 changes: 69 additions & 0 deletions app/lib/src/connection_test/connection_tester.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'package:service_emby/service_emby.dart';
import 'package:service_jellyfin/service_jellyfin.dart';
import 'package:service_plex/service_plex.dart';
import 'package:service_qbittorrent/service_qbittorrent.dart';
import 'package:service_rtorrent/service_rtorrent.dart';
import 'package:service_seerr/service_seerr.dart';

import 'connection_test_result.dart';
Expand Down Expand Up @@ -114,6 +115,8 @@ class ConnectionTester {
return _testSlskd(forced);
case ServiceKind.seerr:
return _testSeerr(forced);
case ServiceKind.rtorrent:
return _testRtorrent(forced);
default:
final HealthProbe probe =
HealthProbe(dioFactory: _ref.read(dioFactoryProvider));
Expand Down Expand Up @@ -245,6 +248,72 @@ class ConnectionTester {
}
}

/// Verifies an rTorrent candidate, and looks for its XML-RPC nearby when
/// the address answers with something else.
///
/// People mostly have the ruTorrent page to hand, and on a seedbox rTorrent
/// is only reachable through ruTorrent's httprpc plugin beneath it. That
/// page answers fine, so without looking further the test could only say
/// the check did not pass.
Future<ConnectionTestResult> _testRtorrent(Instance forced) async {
switch (await _rtorrentAnswer(forced)) {
case RtorrentEndpointAnswer.xmlRpc:
return const ConnectionTestResult(
ConnectionOutcome.connected,
'Connected',
);
case RtorrentEndpointAnswer.refused:
return const ConnectionTestResult(
ConnectionOutcome.authFailed,
'Reachable, but the credentials were rejected',
);
case RtorrentEndpointAnswer.unreachable:
return const ConnectionTestResult(
ConnectionOutcome.unreachable,
'Could not reach the server',
);
case RtorrentEndpointAnswer.notXmlRpc:
break;
}
final bool external = forced.urlMode == UrlMode.forceExternal;
final String url = external ? forced.externalUrl : forced.localUrl;
for (final String path in rtorrentEndpointGuesses) {
final String? guess = rtorrentGuessUrl(url, path);
if (guess == null) {
break;
}
final Instance there = external
? forced.copyWith(externalUrl: guess)
: forced.copyWith(localUrl: guess);
if (await _rtorrentAnswer(there) == RtorrentEndpointAnswer.xmlRpc) {
return ConnectionTestResult(
ConnectionOutcome.authFailed,
'Reachable, but rTorrent is not at this address. It answers at '
'$guess',
suggestedUrl: guess,
);
}
}
return const ConnectionTestResult(
ConnectionOutcome.authFailed,
'Reachable, but rTorrent did not answer here. Behind ruTorrent, as on '
'most seedboxes, the address ends in /plugins/httprpc/action.php. '
'Otherwise rTorrent is usually at /RPC2 or on port 8000',
);
}

Future<RtorrentEndpointAnswer> _rtorrentAnswer(Instance instance) async {
Dio? dio;
try {
dio = await _ref.read(dioFactoryProvider).create(instance);
return await checkRtorrentEndpoint(dio);
} on Object {
return RtorrentEndpointAnswer.unreachable;
} finally {
dio?.close(force: true);
}
}

Future<ConnectionTestResult> _testSeerr(Instance forced) async {
Dio? dio;
try {
Expand Down
Loading
Loading