Commit Graph

10 Commits

Author SHA1 Message Date
UNITRONIX bdadbe592b v2.1.2: update checksums and add relay server
Bump release to v2.1.2: update version strings and SHA256 checksums in docs and installer scripts (betterdesk.sh, betterdesk.ps1, CHECKSUMS.md). Replace several hbbs/hbbr binaries under hbbs-patch-v2. Add a new relay_server.rs implementing the relay logic: websocket support, blacklist/blocklist, per-device ban check (fixes banning whole IPs), bandwidth limiting, usage metrics, admin commands via loopback, and runtime tuning via environment variables. Minor metadata/date updates included.
2026-02-13 06:46:06 +01:00
UNITRONIX 3125d2a69d feat(i18n): Add internationalization system with language settings
- Add i18n.py module with translation management and Flask integration
- Add language files: en.json (English), pl.json (Polish)
- Add i18n.js client-side translation loading
- Add i18n.css for language selector styling
- Add Language Settings section in Settings page
- Add custom language pack upload/delete functionality
- Add CSRF exemption for i18n POST endpoints
- Add i18n documentation to README
- Add CONTRIBUTING_TRANSLATIONS.md guide
2026-02-11 23:58:31 +01:00
UNITRONIX 59216f7620 Refactor BetterDesk PowerShell and Dockerfile
Major refactor of betterdesk.ps1: convert to modern PowerShell script with Param/Help, enforce RunAsAdministrator, introduce script-scoped variables, structured logging, Print-* helper functions, auto-mode handling, public IP and password helpers, improved path detection and defaults, binary verification (Verify-*), dependency installation, venv setup for the web console, service setup using NSSM with scheduled-task fallback, and database migration/initialization logic. UI and status output were cleaned up and many functions renamed for clarity. Dockerfile.console: make resolv.conf DNS edits conditional (skip on read-only / Oracle Cloud VCNs) to avoid modifying immutable resolv.conf. .github/copilot-instructions.md: update project status date. These changes improve robustness, non-interactive automation, and Windows service management for BetterDesk.
2026-02-11 23:04:28 +01:00
UNITRONIX b4e5c2ca05 Fix Client Generator: add all platforms, translate Polish to English 2026-02-08 15:14:18 +01:00
UNITRONIX 177eb042fa Upgrade installers to v2.1.1 with SHA256 verification and auto mode
- Added SHA256 checksum verification for all binaries
- Added --auto/-Auto flag for non-interactive installation
- Added --skip-verify/-SkipVerify to bypass verification
- Updated systemd services with correct API port (21120)
- Added API_PORT environment variable support
- Improved service templates with documentation links
- Updated VERSION to 2.1.1
2026-02-08 13:00:47 +01:00
UNITRONIX 7d163a16bf Add v2.0 ALL-IN-ONE install scripts & docs
Introduce BetterDesk v2.0.0 by adding interactive ALL‑IN‑ONE installer/manager scripts for Docker, Linux and Windows (betterdesk-docker.sh, betterdesk.sh, betterdesk.ps1). Bump VERSION to 2.0.0 and update README and .github/copilot-instructions.md to document the new workflows and quickstart. Move older helpers into scripts/legacy/, add a legacy README and adjust template paths. The new docker script includes compose generation, image build/start/stop, backup/restore, repair/validation, admin password management, diagnostics and uninstall routines.
2026-02-08 00:37:13 +01:00
UNITRONIX b14a8cf162 Add CI, build scripts, docs, and dev utilities
Add a full automated build pipeline, interactive build scripts, documentation and development utilities.

- Add GitHub Actions workflow (.github/workflows/build.yml) to build BetterDesk (hbbs/hbbr) for Linux x64, Linux ARM64 and Windows x64, upload artifacts, optionally create a release and update repository binaries.
- Add interactive build scripts for Windows and Unix (build-betterdesk.ps1, build-betterdesk.sh) supporting download, patch application, cross-build and checksum generation.
- Add build and status docs (docs/BUILD_GUIDE.md, docs/STATUS_TRACKING_v3.md) and update project README/instructions (.github/copilot-instructions.md) with new items and updated timestamp.
- Add development utilities under dev_modules/ (multiple database/patch/test helpers) and move test_generator.py into dev_modules/test_generator.py.
- Update .gitignore to exclude archive/ folder.
- Modify hbbs-patch-v2 sources (database.rs, http_api.rs, main.rs, peer.rs and add rendezvous_server.rs) and remove legacy fixed files; update web UI backend and static files (web/app.py, web/static/*, web/templates/index.html).

These changes set up CI/CD for multi-platform builds, provide local build tooling, expand docs for v3 status tracking and ID-change features, and add developer test/patch utilities.
2026-02-06 23:34:35 +01:00
UNITRONIX c97cf0b2c1 Add DB migrations and update installers/docs
Introduce automatic database migrations and auth table creation across installers, update documentation and docker entrypoint.

Changes include:
- Docs: update installation guidance, mark primary installers (install-improved.sh/.ps1) as recommended, clarify Docker usage, add troubleshooting flags and note about automatic DB migrations.
- install-improved.ps1: bump to v1.5.2; add Invoke-DatabaseMigration which runs an embedded Python migration to add required peer columns, create users/sessions/audit_log tables, and run during install and after -Fix.
- install-improved.sh: add creation of a "note" column in the peer table as part of run_database_migration (schema hardening for new fields).
- docker-entrypoint.sh: perform safe schema checks and ALTERs for peer columns, create indexes, ensure authentication tables and default admin user are present; improved logging and idempotent migration behavior.

Purpose: make installs and upgrades more robust by automatically bringing existing SQLite schemas up to date, provisioning auth infrastructure, and documenting the recommended installation flows and recovery options.
2026-02-06 20:36:54 +01:00
UNITRONIX 18dac36661 Use local BetterDesk binaries; fix Docker build
Update Dockerfiles and compose to use local BetterDesk (hbbs-patch-v2) binaries, avoid pulling unpublished images, and improve build reliability. Dockerfile.hbbr/hbbs now copy patched binaries, set executable symlinks and run the BetterDesk binaries by default. Dockerfile.console adds DNS fallback entries to mitigate resolver failures during build. docker-compose.yml sets image names and pull_policy: never and runs the enhanced binaries directly. Documentation updated (DOCKER_TROUBLESHOOTING.md, README, .github/copilot-instructions.md) with troubleshooting steps for "no such table: peer", pull access denied, and DNS build issues.
2026-02-06 20:28:28 +01:00
UNITRONIX cf219a3e5a Add diagnostics, Docker build notes & hbbs v2
Add an offline-diagnosis script and Copilot guidelines, update Docker flow to require local image builds, and promote hbbs-patch-v2 binaries with checksums.

Highlights:
- New dev_modules/diagnose_offline_status.sh to detect and fix "all devices offline" issues.
- Added .github/copilot-instructions.md with project state and build guidelines for Copilot.
- Emphasized local Docker builds in DOCKER_SUPPORT.md, DOCKER_TROUBLESHOOTING.md, docker-compose.yml and docker-quickstart.sh (replace pull with build/rebuild).
- Updated docs/TROUBLESHOOTING_EN.md and README to document offline-status causes/fixes and Windows/Linux v2 binaries (API port 21114).
- Added hbbs-patch-v2 Windows binaries, updated CHECKSUMS.md, and removed legacy hbbs-patch v1 files.
- Bumped VERSION to 1.5.5 and adjusted installer scripts (install-improved.sh/ps1) accordingly.

These changes improve diagnostics, clarify deployment (Docker/local builds), and roll out the v2 BetterDesk server binaries with verification info.
2026-02-04 21:34:17 +01:00