6 Commits
Author SHA1 Message Date
BlackAngelTV cd5bed0f4d feat(ui): stream search results and show real download progress
Search now publishes provider results in small batches as they arrive, so
the first matches appear in the table while slower providers keep running.

The bottom status-bar bar is now a determinate indicator: pacman output is
streamed live and its (n/Total) package counter is parsed into a percentage
that fills the bar during install/update, instead of an indeterminate spinner.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 20:17:45 +02:00
BlackAngelTV 6aef549eb0 fix(flatpak): per-user install fallback and real error reporting
Installing through a system-wide remote fails under polkit and, when a
remote exists in both installations, flatpak refuses non-interactive
installs ("Multiple remotes have refs matching"). Retry with an explicit
`--user flathub` target, refresh appstream metadata before giving up on
stale refs, and let update/refresh fall back to the user installation as
well. Expose the last command output through IPackageManager::lastError
and show it in a dialog on failure instead of failing silently.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:57:03 +02:00
BlackAngelTV 5cc85cac4a feat(ui): sort search results by provider then name
Group aggregated search results per provider (in query order, pacman
first) and sort each group alphabetically, case-insensitively.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:56:27 +02:00
BlackAngelTV d8a70eabf8 feat(ui): merge duplicate packages across providers
When the same package name comes from several providers (pacman, flatpak,
plugins), collapse the rows into one: the Fournisseur column lists every
provider offering it and installed/updateAvailable are combined, while
the first provider stays the routing default. Applies to search and to
the aggregated installed/updates lists.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:55:56 +02:00
BlackAngelTV a2cef3d256 feat(providers): add provider plugin system
Introduce a registry (PluginManager) that owns package managers and can
load additional providers at runtime from shared-library plugins dropped
in a plugins directory. Providers declare their metadata and a factory
through a C ABI (provider-plugin.h); requiresPassword() tells the UI
whether a provider needs sudo. Ships a sample external plugin as a
template for adding new backends.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:34:29 +02:00
BlackAngelTV 5054f04c54 refactor: replace plugin system with native pacman manager
Remove the dynamic plugin loader (pacman/apt/pkg/universal) and drive
the UI directly through PacmanManager. Rename sources and headers to
kebab-case to match the project's file naming convention.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 19:29:24 +02:00