Commit Graph
3 Commits
Author SHA1 Message Date
BlackAngelTV 8f4cc14995 fix(credentials): ask for the password before a bulk removal
The cleanup page grouped its packages by provider but never handed those
providers to the credential gate, which saw an empty list, concluded
nothing was privileged and let the request through: pacman was then
driven with an empty password. It only worked by accident, while sudo's
timestamp was still valid.

Every privileged path now goes through the same door, which the new test
walks one by one — including the two ways of acting on a single copy of a
multi-installed package — and asserts the request is refused, kept
pending for the prompt, and refused again on replay. Nothing is ever
replayed, so no test can run pacman as root.
2026-09-27 21:33:41 +02:00
BlackAngelTV 1e751c7205 feat(flatpak): install packages from a Flatpak file
Dragging a .flatpakref, .flatpakrepo or .flatpak onto the window, or
opening it with the file manager, has to reach flatpak without the user
going through a search. The provider now owns its formats: it claims the
files it handles and builds the matching command, and the core routes the
request to whichever provider recognises it, so a new provider can claim
its own formats the same way.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-27 19:39:39 +02:00
BlackAngelTV 897c174925 refactor(arch): split the app into a logic core and per-screen pages
All the business logic now lives in AppCore (providers, workers,
history, plugins, sudo and pacman-lock handling), freed from any widget
so it runs headless and is testable on its own. The Qt window becomes a
thin frame around one file per screen under pages/, wired through a
common Page contract and a shared ui-kit. CMake gains the app-core-test
target, which links Qt Core only to enforce the headless guarantee.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-13 11:45:48 +02:00