Repository navigation
Releases: driversti/HoLA
Releases · driversti/HoLA
Release list
v0.4.0
What's New
- File Manager — Full file manager accessible from the Android app: browse with metadata (size, date, file type), create files/directories, rename/move, and delete with confirmation dialogs.
- Text File Editor — View and edit text files with a monospace editor, line number gutter, save with
.bakbackup, and discard-changes safety dialog. - Agent Update UI — ServerDetailScreen now shows agent version and a one-tap Update button when a new release is available.
New API Endpoints
| Method | Path | Description |
|---|---|---|
GET |
/api/v1/fs/read?path= |
Read text file contents (1MB limit, binary detection) |
PUT |
/api/v1/fs/write |
Write file with .bak backup |
POST |
/api/v1/fs/mkdir |
Create directory |
POST |
/api/v1/fs/rename |
Rename/move file or directory |
DELETE |
/api/v1/fs/delete?path= |
Delete file or directory |
Enhanced
GET /api/v1/fs/browsenow returnssize,modified_at, andfile_typefor each entry- Browse skips
.bakbackup files - File type icons in the Android file browser (code, config, script, image, etc.)
Fixed
- Self-update now works on servers where the binary directory is not writable by the service user (e.g.
/usr/local/binowned by root). Downloads to system temp dir with cross-filesystem copy fallback.
Safety
- Binary file detection (null-byte check, returns 415)
- 1MB size limit for read/write
- System directory deletion protection (post-symlink-resolution)
- Path traversal prevention on the client side
v0.3.0
What's New
- Agent self-update — Agent can now check GitHub Releases for new versions, download the correct binary for your platform, verify SHA256 checksum, and replace itself. Systemd auto-restarts with the new version.
New API Endpoints
| Method | Path | Description |
|---|---|---|
GET |
/api/v1/agent/update |
Check if a newer version is available |
POST |
/api/v1/agent/update |
Download, verify, and apply the update |
Deployment Note
For self-update to work, ensure the binary is owned by the service user:
sudo chown erepublik:docker /usr/local/bin/hola-agent