Repository navigation
Abhängigkeiten: Bump the python group with 2 updates - #26
Merged
Merged
Conversation
Bumps the python group with 2 updates: [fastapi](https://github.com/fastapi/fastapi) and [ruff](https://github.com/astral-sh/ruff). Updates `fastapi` from 0.143.0 to 0.148.0 - [Release notes](https://github.com/fastapi/fastapi/releases) - [Commits](fastapi/fastapi@0.143.0...0.148.0) Updates `ruff` from 0.17.0 to 0.17.1 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.17.0...0.17.1) --- updated-dependencies: - dependency-name: fastapi dependency-version: 0.148.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python - dependency-name: ruff dependency-version: 0.17.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: python ... Signed-off-by: dependabot[bot] <support@github.com>
Schnuecks
added a commit
that referenced
this pull request
Oct 28, 2026
Release 0.11.0. ## Alarms in the history The RustDesk app reports alarms to `/api/audit/alarm`. RDAPI has stored them since the start but never showed them. A new tab **History → Alarms** (`/history/alarms`) lists them like the file transfers: newest first, 20 per page, filterable by device. Admins see all devices, regular users only their own. - Alarm types follow the app's `AlarmAuditType` (0, 1, 2, 6, 7, 8, 9, 10); unknown codes show as "Other alarm (n)". - `info` is parsed defensively (broken JSON, wrong types); shown: address, ID and name of the other side, and the `message` of a session scope violation. ## Address book import and export On the address book page, a new panel **Import and export**: - **Export** (`GET /address-book/export?book=…&format=json|csv`) for everyone who can see the book. JSON carries the tags with their colours; CSV has the columns `id, alias, note, tags, hostname, platform, username` (tags joined by `;`), starts with a UTF-8 BOM for spreadsheets, and prefixes cells starting with `= + - @` to prevent formula injection. - **Import** (`POST /address-book/import`) for books the user may change. Accepts an RDAPI JSON export or a CSV table with an `id` column (comma or semicolon separated). New IDs are added, existing entries get the fields from the file and keep their tags, nothing is deleted. Field lengths are capped like in the web form; at most 5,000 entries; files up to just under the 2 MB request limit. - Saved passwords of the app (`hash`, `password`) are never exported and never taken from an import file; existing ones stay untouched. - Both are recorded in the activity log (`ab_exported`, `ab_imported` with counts). ## Maintenance - FastAPI 0.150.0 (from Dependabot, #26/#27). - Tests use `httpx2` instead of `httpx` (Starlette's test client deprecated `httpx`); the deprecation warning is gone. - Ruff targets Python 3.14 (`requires-python >= 3.14`); the formatter switched four `except (A, B):` to the PEP 758 form. - `render()` accepts an explicit message, used for the import result. - Translations for all six languages, docs (usage EN/DE), README features, CHANGELOG. ## Tested - `pytest` (158 passed, no warnings), `ruff check`, `ruff format --check`. - New tests: alarms (labels, details, unknown codes, broken payloads, filter, per-user visibility), export (no saved passwords, CSV formula prefix, BOM, file names, activity), import (merge, kept passwords, tag colours, length caps, CSV with comma and semicolon, missing ID column, bad files, too many entries, CSRF, read-only shared book, round trip of an export). - Image built and run against a copy of a production database: all pages 200 without console errors or failed requests; alarms tab with sample alarms; CSV import with umlauts in the browser, JSON and CSV downloads; the app API returns the imported entries and tags. Not tested: the real RustDesk app sending a real alarm, and sign-in through a real OIDC provider.
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.
Bumps the python group with 2 updates: fastapi and ruff.
Updates
fastapifrom 0.143.0 to 0.148.0Release notes
Sourced from fastapi's releases.
... (truncated)
Commits
e5fc7ef🔖 Release version 0.148.0 (#16528)6f88a47📝 Update release notes3224002🐛 Fix default handling for request parameters and models (#16527)f632658🔖 Release version 0.147.0 (#16524)1875e96📝 Update release notes19c0b7a🐛 Treat omitted boolean form fields as False (#16523)e5c786d📝 Update release notes6a50699✅ Add tests for parameter defaults, nullability, and browser form behavior (#...3070b51🔖 Release version 0.146.0 (#16521)a17bd59📝 Update release notesUpdates
rufffrom 0.17.0 to 0.17.1Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
4683270Bump version to 0.17.1 (#29420)3514027[ty] Update typing conformance suite pin (#29417)8294556Update referenced PR security-review workflow (#29237)d1e1b1f[ty] Preserve recursive aliases when rebuilding intersections (#29057)9352615[perflint] Avoid invalid comprehension suggestions (PERF401,PERF403) (...83a3afcFix dedent with multiple leading comments (#29382)b42a873[ty] Clarify object attribute write-contract rationale (#29384)d01678e[ty] Clarify object attribute write-contract rationale (#29384)355b42a[ty] Avoid writable override contracts from object (#29373)e26e6d2[ty] Collect intersection inference through constraint relations (#28677)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions