Skip to content

feat: v0.13.0 — Arch PKGBUILD, backup notifications, log watcher, and release polish - #5

Merged
LokiRothbrook merged 18 commits into
mainfrom
dev
Jun 15, 2026
Merged

LokiRothbrook merged 18 commits into
mainfrom
dev

Conversation

@LokiRothbrook

Copy link
Copy Markdown
Owner

Summary

  • Arch Linux / CachyOS support — packaging/arch/PKGBUILD + lokiasam.install builds from source using system-native libraries, installs binary/icon/.desktop via pacman, and runs cache hooks on install/upgrade/remove. AppImage is noted as incompatible with rolling-release distros in the README.
  • Install method detection — new get_install_method Tauri command returns "appimage", "pkgbuild", or "binary". The PKGBUILD writes a marker file (/usr/lib/lokiasam/install-method) that the app reads to show correct manual update instructions instead of attempting a broken auto-install.
  • Backup notifications — all backup types (server, player, full) now fire backup_completed/backup_failed desktop/Discord/email/in-app notifications on completion. Enabled by default in the notification matrix.
  • Background backup tick — scheduled backups run entirely in Rust so they fire when the window is hidden in the tray.
  • Log watcher — LogWatcherManager monitors server log files in the background; live logs, crash detection, and player login events work without the window being visible.
  • TimeShift tiers — hourly/daily/weekly/monthly retention tiers with per-tier keep counts and automatic pruning.
  • Player connection tracking — login events recorded; optional per-login player backups.
  • Graceful restart — countdown with configurable RCON broadcast warnings to online players.
  • Server action dialogs — toggles for file deletion and firewall rule management.
  • Scheduler reliability — sync improvements prevent overwriting in-flight schedule entries.
  • README rewrite — per-distro install instructions (deb/rpm/pkgbuild/AppImage-generic/Windows), correct auto-update statement (deb, rpm, and AppImage all supported), Arch AppImage warning.
  • Version bump — tauri.conf.json, Cargo.toml, and package.json all aligned at 0.13.0.

Arron Ohnemus added 18 commits June 11, 2026 13:42
- Implemented a progress timeout for backup operations in ServerCard to clear stale progress.
- Added a new LoginBackupRow component in AutomationTab for managing login backup settings.
- Updated BackupTab to include a sync feature for importing backups from disk, with user confirmation dialog.
- Introduced PlayersPanel in LogsTab to display player connection history, known IPs, and possible alts.
- Added database migrations for player connection history and updated backup schedule cron expressions.
- Enhanced Tauri commands to support new backup functionalities and file management.
- Added `backup_all_players` command to back up all player profiles in one call.
- Updated `SchedulerManager` to support unified tier configuration for backups, including parsing and handling both new and legacy formats.
- Implemented pruning of manual backups based on user-defined keep settings for server and player backups.
- Enhanced UI components to reflect backup progress and status, including visual indicators for ongoing backups.
- Consolidated backup schedule rows in the database to streamline management and improve performance.
- Introduced a new `ManualBackupRow` component for configuring manual backup settings.
- Updated various components to utilize the new backup management features and ensure consistent behavior across the application.
- Implemented countdown management for server restarts and updates, allowing players to be warned before actions are taken.
- Added new settings for restart and update warnings in the server configuration, including message templates and warning durations.
- Introduced CountdownManager component to handle countdown events and update the UI accordingly.
- Enhanced ServerCard and OverviewTab components to display countdown information and provide options to proceed or cancel.
- Updated database schema to support new warning settings for server restarts and updates.
- Modified Tauri commands to initiate graceful restarts and updates with countdowns.
…ration

- Added notification dispatching for server start, stop, crash, and start failure events in `server.rs`.
- Introduced a new `db.rs` module for direct SQLite interactions, including functions for managing servers, backups, and notifications.
- Updated `AppState` to store the database path for use in Rust-side logic.
- Refactored `init_stats_recorder` to set the database path in `AppState`.
- Removed redundant frontend notification handling in `NotificationManager` and replaced it with Rust-side dispatching.
- Simplified `SchedulerManager` by offloading backup handling to Rust, removing unnecessary frontend logic.
- Updated `ServerCard` to listen for backup completion events from Rust.
- Enhanced log management to record player connections and trigger login backups in Rust.
@LokiRothbrook
LokiRothbrook merged commit a20417b into main Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant