Commit Graph
11 Commits
Author SHA1 Message Date
git stash f508a970f5 On main: cline checkpoint session=1789059923966_jj6g7 run=7 2026-09-10 21:15:54 +02:00
BlackAngelTV 8658855cca feat(plugin): support generic addon plugins and build Flatpak by default
The Plugins page replaces the Providers tab and lists every plugin alike:
package-manager providers and generic C++ addons, which can be any extension
(UI tweak, helper, ...) via IPlugin (onLoad/onUnload/onUiReady) exported with
the new FWS_ADDON_PLUGIN macro. Flatpak now ships as a plugin built by
default (FWS_BUILD_FLATPAK_PLUGIN=ON), so a plain build is Flatpak-enabled.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-10 18:49:46 +02:00
BlackAngelTV 44a7e5b396 feat(update): add self-update check via Gitea releases API
tests / build-test (push) Has been cancelled
Adds an UpdateManager that queries the Gitea releases API once per day,
stores the last check state in a JSON file, and offers to pull + rebuild
the source repository when a newer version exists. The running binary is
left untouched until the next launch.

Also sets the app version from the version file at build time instead of
the hardcoded 1.0.0, and copies the version file next to the executable.
2026-09-09 19:49:45 +02:00
BlackAngelTV 48ed73bdba build(flatpak): stop compiling the flatpak provider into the app
Removes FlatpakManager from the built-in sources and from MainWindow's
registration, so only pacman ships inside the binary. Flatpak is now
provided exclusively by the external plugin.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 20:33:45 +02:00
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 bc737d356e feat(ui): browse every provider from one search
Search now queries all active providers at once and each row shows its
origin in a Provider column; installed and updates pages are aggregated,
and install/remove/update are routed to the owning manager automatically.
Add a Providers page listing built-in and plugin managers with
enable/disable, plugin rescan, and an install-tool button that pulls the
missing backend through pacman (e.g. flatpak).

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:34:41 +02:00
BlackAngelTV ad31e5c597 fix(crashes): stop destroying QThread workers while still running
Deleting SearchWorker/ListWorker/InstallWorker from the `finished` ->
`deleteLater` connection aborted the app with
"QThread: Destroyed while thread is still running" (SIGABRT) whenever a
list loaded or a package op finished. The deferred delete raced the
thread teardown because these workers have no event loop to process it
after run() returns.

Wait for the thread to complete (wait() clears the running flag, and by
then run() already emitted finished) before scheduling deleteLater, and
bind every cross-thread signal to the MainWindow context object so the
handlers run queued on the GUI thread instead of inside the worker.

Also drop the intrusive popups (removal confirmation, pacman/sudo
unavailable, empty-search notice) in favour of status bar messages, and
let sudo take the password via -S so no per-op polkit dialog is shown.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-28 15:13:15 +02:00
BlackAngelTV 5df9f2c22a feat(ui): use SVG icons and open package details from dashboard
Adopt the embedded SVG icon set across the interface: sidebar links,
action buttons, stat cards, search/filter fields, table status cells
and badges, replacing the inline emoji glyphs. Inline emoji inside
status-bar and history text are dropped since an SVG cannot be embedded
mid-sentence.

Also let a click on a package in the dashboard's recent activity open
its details on the Installed page with remove/update actions available,
by auto-selecting the package after the list loads.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 21:45:56 +02:00
BlackAngelTV 9043632ba9 feat(ui): rebuild interface from scratch with dashboard page
Redesign the whole UI around a dashboard with stat cards, quick
actions and recent activity, a header bar with contextual page
titles, and a denser table-based package listing with an instant
local filter on the installed page and a filterable history table.
Register the std::vector<PackageInfo> metatype so worker results
actually reach the UI thread instead of being dropped silently.
2026-08-27 20:39:22 +02:00
BlackAngelTV 0f7c3a6c2b feat(ui): redesign main window with sidebar navigation
Replace the single-screen layout with a sidebar and stacked pages:
Search, Installed, Updates, History and Logs. Also fix the update-all
and refresh actions, which previously called install with an empty
package name instead of running the proper pacman commands.

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