Commit Graph

126 Commits

Author SHA1 Message Date
Pulse Monitor 8f962957c1 chore: bump version to v4.0.10-rc.1 for testing 2025-08-07 11:17:09 +00:00
Pulse Monitor 7f74fb05fc chore: remove test files 2025-08-07 11:16:11 +00:00
Pulse Monitor 1c0d131cae fix: update UI channel selection and apply update file extraction
- Frontend now passes currently selected channel when checking for updates
- Backend accepts channel parameter to check specific channel without saving
- Fixed applyUpdateFiles to handle flat tarball structure (not nested in pulse-* directory)
- Fixed extraction logic to properly copy pulse binary, frontend, and VERSION file
- Users no longer need to toggle channels and save to see update button
2025-08-07 11:16:02 +00:00
Pulse Monitor f017bd542a chore: bump version to v4.0.9 2025-08-07 10:01:59 +00:00
Pulse Monitor 5ee4b79c88 fix: resolve critical issues from GitHub
- Fix cpulimit parsing bug (#256): Add float support to FlexInt for LXC containers with cpulimit
- Fix PBS connection error (#260): Improve error handling and port configuration for PBS
- Fix 'no healthy nodes' error (#257): Add better cluster endpoint validation and fallback
- Add better error logging for cluster connection failures
2025-08-07 08:37:47 +00:00
Pulse Monitor 74e0105760 fix: update all dependencies to latest versions
Go:
- Upgraded to Go 1.23.0
- golang.org/x/crypto v0.14.0 → v0.40.0
- golang.org/x/net v0.10.0 → v0.30.0
- golang.org/x/sys v0.25.0 → v0.34.0
- golang.org/x/term v0.13.0 → v0.33.0
- golang.org/x/text v0.13.0 → v0.19.0
- github.com/rs/zerolog v1.33.0 → v1.34.0
- Other minor updates

Frontend:
- Updated npm packages to latest compatible versions

Fixes GitHub security vulnerability alerts
2025-08-06 22:02:35 +00:00
Pulse Monitor 8ffb58daf1 chore: bump version to v4.0.8 2025-08-06 21:57:41 +00:00
Pulse Monitor b34eecea5c chore: clean up repository
- Remove test binaries (pulse-test, test-pulse)
- Remove internal DOCKER_PUSH_INSTRUCTIONS.md
- Remove empty testing-tools folder
- Update .gitignore to exclude test files and internal docs
- Clean up unnecessary files from repo
2025-08-06 21:55:36 +00:00
Pulse Monitor 8c9e9d659a docs: fix hallucinated features and scripts
- Removed non-existent PBS agent install script references
- Removed unverified Unraid Community Applications claim
- Fixed PBS agent documentation to reflect reality
- Kept only verifiable features and commands
2025-08-06 21:52:05 +00:00
Pulse Monitor 4d60eff794 docs: remove hallucinated Discord link 2025-08-06 21:50:50 +00:00
Pulse Monitor 586d09caf1 docs: remove fluff and simplify all documentation
- README reduced from 256 to 188 lines
- FAQ reduced from 133 to 66 lines
- PBS-AGENT simplified to essentials only
- Removed marketing language, obvious advice, redundant sections
- Focused on practical information users actually need
2025-08-06 21:50:09 +00:00
Pulse Monitor efefe4e4e5 docs: generalize documentation guidelines and restore useful encryption details 2025-08-06 21:47:27 +00:00
Pulse Monitor 10843b6735 docs: simplify security documentation to essentials only 2025-08-06 21:44:47 +00:00
Pulse Monitor a32afed1d5 docs: remove unnecessary checklist and placeholder email from security docs 2025-08-06 21:44:19 +00:00
Pulse Monitor 294f132181 docs: comprehensive security documentation for v4 security features 2025-08-06 21:42:49 +00:00
Pulse Monitor 28f9d9db53 feat: add comprehensive security system for API protection
Security Features Added:
- Secure-by-default configuration export/import with ALLOW_UNPROTECTED_EXPORT environment variable
- Rate limiting (5 attempts/minute) to prevent brute force attacks on sensitive endpoints
- Comprehensive audit logging for all export/import attempts with IP tracking
- Frontend Security tab showing API protection status and configuration guidance
- Frontend now shows when export is blocked and disables buttons appropriately
- Strong passphrase requirement (minimum 12 characters) for exports

Technical Implementation:
- New RateLimiter component with automatic cleanup and middleware support
- Security status API endpoint showing protection state
- Enhanced error messaging with specific guidance for homelab vs production use
- Proper authentication flow with API token validation
- Updated documentation reflecting new security model

Breaking Changes:
- Export/import now requires API_TOKEN unless ALLOW_UNPROTECTED_EXPORT=true is set
- Minimum passphrase length increased from none to 12 characters

Additional Improvements:
- Fixed architecture-specific updates for better cross-platform support
- Removed RC label from UI header
- Updated security documentation with clear setup instructions
2025-08-06 21:39:52 +00:00
Pulse Monitor 9bc050371b fix: Docker persistence actually fixed this time
The ConfigHandlers were calling config.SaveConfig() which uses
globalPersistence initialized at startup with potentially wrong path.
Now handlers use their own persistence instance directly which is
initialized with the correct DataPath.

This was causing Docker configurations to still save to /etc/pulse
even though we thought we fixed it in v4.0.6.

Fixes #253 (for real this time)
2025-08-06 17:14:34 +00:00
Pulse Monitor 9c77f6e7db fix: Docker persistence and Windows VM memory reporting
- Fix Docker persistence bug where config was saved to /etc/pulse instead of /data
- Fix Windows VM memory reporting with balloon drivers
- Add GetVMStatus method to get detailed VM info including balloon memory
- Update diagnostics endpoint to use correct config paths

Fixes #253 (Docker persistence)
Fixes #258 (Windows VM memory reporting)
2025-08-06 16:00:22 +00:00
Pulse Monitor 1210d8efdb feat: add diagnostics UI in settings
- Add 'Run Diagnostics' button in Settings → Diagnostics tab
- Shows connection status for all nodes and PBS instances
- Displays auth method, errors, and system info
- Users can now easily troubleshoot connection issues
2025-08-06 15:32:56 +00:00
Pulse Monitor 6609c7a962 feat: add diagnostics endpoint and improve error handling
- Add /api/diagnostics endpoint for detailed troubleshooting info
- Shows connection status, auth methods, errors for each node
- Auto-fix PBS hosts missing https:// prefix instead of crashing
- Skip invalid PBS instances instead of failing to start
- Fixes issue #251 where invalid PBS config crashed the service
2025-08-06 15:24:06 +00:00
Pulse Monitor 8ab544ef81 cleanup: remove temporary helper script
No longer needed now that official community script supports Pulse v4
2025-08-06 12:45:04 +00:00
Pulse Monitor c38329d284 docs: reorder installation methods - community script first
Community script is the easiest option for Proxmox users
2025-08-06 12:43:08 +00:00
Pulse Monitor c3c04c970e docs: update README with Proxmox community script
The official Proxmox helper script now supports Pulse v4
2025-08-06 12:39:42 +00:00
Pulse Monitor ad625a9237 chore: bump version to v4.0.5
- Fix version detection for community script installs
- Fix orange uptime highlighting for recent boots
- Fix cpulimit JSON parsing issue
- Improve PVE 9 compatibility
2025-08-06 12:32:31 +00:00
Pulse Monitor f380f4a717 fix: version detection and display
- Fix hardcoded fallback version (was 4.0.3, now 4.0.4)
- Look for VERSION file in multiple locations (/opt/pulse/VERSION)
- Fixes version display when installed via community script
2025-08-06 12:29:41 +00:00
Pulse Monitor 2ba5e91fcd fix: UI and backend fixes
- Add orange highlighting for recently booted containers (< 1 hour)
- Handle cpulimit causing JSON unmarshaling error with FlexInt type
- Improve PVE 9 compatibility in temporary helper script
- Fixes issues #251 and #256
2025-08-06 10:44:35 +00:00
Pulse Monitor de85b861be fix: improve PVE 9 compatibility in temporary helper script
- Remove --password parameter that may cause issues on PVE 9
- Add explicit error handling for container creation
- Separate container creation and start steps
- Add proper wait loop for container startup
- Better error messages if IP detection fails
2025-08-06 08:20:56 +00:00
Pulse Monitor 5cef2fb4a9 chore: remove RELEASE_CHECKLIST.md from repo and re-ignore it
- This is an internal document, not for public repo
- Re-added to .gitignore
2025-08-06 07:33:22 +00:00
Pulse Monitor 92f83d23a5 docs: add consistent release notes template and track RELEASE_CHECKLIST.md
- Standardized release notes format for all releases
- Removed emoji from headers (keep it professional)
- Only mention specific Docker version tag (not all variants)
- Clear sections for Features, Fixes, Improvements, Breaking Changes
- Consistent installation instructions format
- Remove RELEASE_CHECKLIST.md from gitignore so it's tracked
2025-08-06 07:32:59 +00:00
Pulse Monitor 4711b6f81c docs: clarify testing means manual verification by Claude Code 2025-08-06 07:25:15 +00:00
Pulse Monitor 903d4acec1 chore: bump version to v4.0.4 2025-08-06 07:10:22 +00:00
Pulse Monitor 287742ef91 fix: resolve config path confusion causing read-only errors
- Fix utils.GetDataDir() to default to /etc/pulse instead of /var/lib/pulse
- Add explicit PULSE_DATA_DIR=/etc/pulse to systemd service
- This fixes issue #254 where alerts were trying to use wrong directory
- Ensures consistency: Docker uses /data, manual installs use /etc/pulse
2025-08-06 07:09:47 +00:00
Pulse Monitor 47f1163420 refactor: simplify data directory structure
- Single directory for all data (config + runtime)
- Docker uses /data (via PULSE_DATA_DIR env var)
- Manual installs use /etc/pulse (default)
- Removed unnecessary /var/lib/pulse directory creation
- Updated docs to clarify data storage locations

This eliminates confusion about multiple directories and follows
the principle of keeping things simple.
2025-08-05 21:53:36 +00:00
Pulse Monitor e72b698a13 fix: restore default config path to /etc/pulse
The default was accidentally changed to /var/lib/pulse which broke
existing installations. Docker uses PULSE_DATA_DIR=/data so is unaffected.
2025-08-05 21:49:19 +00:00
Pulse Monitor 1109276fd3 feat: add encrypted config export/import for automation
- Added secure config export/import with passphrase-based encryption
- CLI commands: pulse config export/import with AES-256-GCM encryption
- Auto-import on Docker startup via PULSE_INIT_CONFIG_FILE/DATA env vars
- API endpoints /api/config/export and /api/config/import (require API_TOKEN)
- Configs remain encrypted throughout export/import process
- Perfect for GitOps, CI/CD, and infrastructure as code workflows

This allows users to configure Pulse once via UI, export the encrypted
config, and deploy it automatically to multiple instances without
manual reconfiguration.

Addresses #249 - Config management for automation enthusiasts
2025-08-05 21:45:25 +00:00
Pulse Monitor ebb512c023 fix: webhook persistence using wrong directory
ConfigPersistence was initialized with empty string instead of cfg.DataPath,
causing webhooks to save to /etc/pulse instead of PULSE_DATA_DIR.
This affected Docker deployments where /data is the persistent volume.

Fixes #249
2025-08-05 21:37:56 +00:00
Pulse Monitor eeefee1d72 chore: bump version to v4.0.3 2025-08-05 21:15:16 +00:00
Pulse Monitor 68a75019ee fix: include VERSION file in Docker final stage
- VERSION file was copied to build stage but not to final image
- This caused version API to fall back to hardcoded value
2025-08-05 21:13:40 +00:00
Pulse Monitor 1177412fdf fix: Docker persistence and version display issues
- Fixed VERSION file not being included in Docker image
- Fixed config persistence using wrong directory in Docker (/etc/pulse instead of /data)
- Config now correctly uses PULSE_DATA_DIR environment variable
2025-08-05 21:07:29 +00:00
Pulse Monitor c8d22e9bb1 docs: add explanation for why config export/import is not supported
- Explain security reasons for not allowing credential export
- Add best practices for configuration management
- Clarify that this is intentional, not a missing feature
2025-08-05 20:46:15 +00:00
Pulse Monitor c2c0dabf9d chore: remove unnecessary Docker install script 2025-08-05 20:40:01 +00:00
Pulse Monitor 78945dce16 chore: bump version to v4.0.2 2025-08-05 20:34:45 +00:00
Pulse Monitor 8d8ae65028 fix: correct Docker compose port mapping and remove unnecessary config volume (#249)
- Fix port mapping from 7655:3000 to 7655:7655
- Fix healthcheck to use correct port 7655
- Remove pulse_config volume as it's not needed in v4
- All configuration is stored in /data directory
2025-08-05 20:29:48 +00:00
Pulse Monitor 1ffbee5243 fix: improve PBS token authentication handling (#250)
- Parse user@realm from token name if provided in full format
- Better handle various token input formats
- Require user info for token auth (either in token name or user field)
- Fix realm defaulting logic for different auth types
2025-08-05 20:29:07 +00:00
Pulse Monitor e25a0993a5 fix: update fallback version to 4.0.1 to fix Docker tag issue (#253) 2025-08-05 20:20:20 +00:00
Pulse Monitor d0b35363bc fix: urgent - install script Go download URL
- Fixed broken Go 1.23 URL (doesn't exist)
- Changed to Go 1.22.5 which is stable and available
- Fixes installation failures reported in #252
2025-08-05 16:42:00 +00:00
Pulse Monitor 868e984353 chore: clean up temporary documentation files
- Remove temporary action items, issue responses, and Docker Hub description
- Move PROXMOX_HELPER_ISSUE.md to docs/ folder
- Add TODO comment to temporary-helper.sh for future removal
- Keep only essential files in root directory
2025-08-05 15:16:42 +00:00
Pulse Monitor 9e720eafd1 docs: add Docker Hub description with migration warnings 2025-08-05 15:13:46 +00:00
Pulse Monitor dfb224337f feat: add temporary helper script for Proxmox installations
- Creates proper v4 installation while official script is being updated
- Addresses issues #251 and #252
- Provides easy installation path for users
2025-08-05 14:46:21 +00:00
Pulse Monitor 78c5fef966 docs: update helper script status and add issue response templates
- Note that PR for Proxmox helper script has been submitted
- Create response templates for all open issues
- Update README to reflect fix is in progress
2025-08-05 09:03:26 +00:00