Commit Graph

232 Commits

Author SHA1 Message Date
techartdev dd6b7eca6c bump version 2026-03-10 21:13:24 +02:00
techartdev c6232b6f5d feat(mcp): add auto-configuration for Home Assistant and enhance documentation 2026-03-10 21:12:21 +02:00
TechArtDev e6cad868ab Merge pull request #92 from techartdev/bot/openclaw-bump-2026.3.7
Bump OpenClaw to 2026.3.7
2026-03-08 13:12:00 +02:00
root 8f91cdc23e Bump OpenClaw to 2026.3.7 (add-on 0.5.58) 2026-03-08 09:00:08 +02:00
TechArtDev 04ffef8f9f Merge pull request #91 from techartdev/fix/issue-89-nodesource-install-stability
fix(build): stabilize NodeSource Node 22 install in Docker image
2026-03-07 15:39:09 +02:00
root 60fb692e7d fix(build): address follow-up Copilot review on NodeSource step
- remove NodeSource repo/key after Node install
- avoid duplicate node -v call via NODE_VERSION variable
2026-03-07 15:38:45 +02:00
root 7d8f7d524d fix(build): address Copilot review for NodeSource repo setup
- ensure nodesource keyring is world-readable for _apt
- assert installed Node major is v22 to avoid Debian Node 18 fallback
2026-03-07 14:48:50 +02:00
root 6707c4ed28 fix(build): make Node 22 install deterministic in Dockerfile
- replace NodeSource setup_22.x pipe script with keyring + apt source
- prevent intermittent apt exit 100 during nodejs install
- bump add-on version to 0.5.57

Fixes #89
2026-03-07 12:44:46 +02:00
TechArtDev 2c5fa46572 Merge pull request #88 from techartdev/fix/issue-87-controlui-device-auth-toggle
feat(addon): make lan_https device-auth toggle configurable
2026-03-07 12:32:21 +02:00
root 31656139c0 chore(release): bump add-on version to 0.5.56 2026-03-06 09:17:20 +02:00
root 3aaed98ac0 feat(addon): make lan_https device auth toggle configurable
Fixes #87
2026-03-06 08:16:43 +02:00
TechArtDev 9259ce16a6 Merge pull request #85 from techartdev/bot/openclaw-bump-2026.3.2
Bump OpenClaw to 2026.3.2
2026-03-03 13:00:03 +02:00
root 206cf75889 Bump OpenClaw to 2026.3.2 (add-on 0.5.55) 2026-03-03 09:00:09 +02:00
TechArtDev c0e83c3aac Add image to README and update integration link 2026-02-25 23:38:54 +02:00
techartdev 45bad5f76b Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-25 18:13:58 +02:00
techartdev 615ea2f1a4 agentic instructions and guidelines 2026-02-25 18:13:45 +02:00
TechArtDev 9181b4d22a Add image and integration link to README
Updated the README to include a new image and integration link.
2026-02-25 17:15:28 +02:00
techartdev ab07454051 docs update 2026-02-25 16:34:07 +02:00
techartdev a82df8c851 Update OpenClaw to 2026.2.24 and enhance gateway configuration options
- Added `gateway_remote_url` and `gateway_additional_allowed_origins` options for improved remote gateway support.
- Updated startup guidance for `gateway_auth_mode=trusted-proxy`.
- Adjusted token retrieval instructions in the landing page.
- Updated translations for new configuration options.
- Fixed various issues related to gateway settings and TLS certificate generation.
2026-02-25 16:24:21 +02:00
techartdev 90607c867d relocate release workflow 2026-02-24 17:44:36 +02:00
techartdev dd14dd0f7d docs update 2026-02-24 17:36:36 +02:00
techartdev 55d678c7ef Bump OpenClaw to 2026.2.23 2026-02-24 17:36:00 +02:00
techartdev b5a3e3ccde discord announcement per release 2026-02-24 00:45:58 +02:00
TechArtDev 8d7caf7ad5 Merge pull request #73 from techartdev/chore/add-question-issue-template
chore(github): add question/help issue template
2026-02-24 00:23:30 +02:00
root ec5adcb297 chore(github): add question/help issue template 2026-02-24 00:22:03 +02:00
TechArtDev f22c273599 Merge pull request #72 from techartdev/chore/add-issue-templates
chore(github): add issue templates for bug and feature requests
2026-02-24 00:20:23 +02:00
root 24ec277043 chore(github): update addon discord invite link 2026-02-24 00:19:19 +02:00
TechArtDev 02a4393822 Update Discord server link in README 2026-02-24 00:17:44 +02:00
root 6629013d81 chore(github): add addon docs and addon discord links to issue config 2026-02-24 00:15:44 +02:00
root 8bfc304009 chore(github): add issue templates for bug reports and feature requests 2026-02-24 00:08:28 +02:00
TechArtDev e014805b4b Merge pull request #70 from megamen32/main
feat: support gateway environment variables via add-on config
2026-02-23 22:05:59 +02:00
TechArtDev 5117d7c561 Fix increment of env_count variable 2026-02-23 22:04:29 +02:00
macm1 1c2694c526 -denylist includes low-level env injection vectors too: LD_, DYLD_, BASH_ENV, ENV, BASH_FUNC_*
-fixed changelog
2026-02-23 20:34:36 +03:00
macm1 9908db2f99 feat: support list based gateway env vars 2026-02-23 18:53:09 +03:00
macm1 e64a85bb3a updated version to 0.5.52, and added a note about reserved keys in gateway_env_vars. 2026-02-23 18:21:30 +03:00
macm1 0dea325473 put some guards at critical runtime env vars 2026-02-23 18:17:14 +03:00
macm1 5003263eef Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	openclaw_assistant/CHANGELOG.md
#	openclaw_assistant/config.yaml
#	openclaw_assistant/run.sh
#	openclaw_assistant/translations/bg.yaml
#	openclaw_assistant/translations/de.yaml
#	openclaw_assistant/translations/en.yaml
#	openclaw_assistant/translations/es.yaml
#	openclaw_assistant/translations/pl.yaml
#	openclaw_assistant/translations/pt-BR.yaml
2026-02-23 18:08:09 +03:00
techartdev c16b938674 feat: Update changelog and configuration for version 0.5.51
- Set default `force_ipv4_dns` to true to prevent web_fetch timeouts in HAOS VMs.
- Introduced `nginx_log_level` option to control access log verbosity.
- Updated translations for new configuration options.
2026-02-23 15:50:07 +02:00
techartdev 78353c336f update docs 2026-02-23 11:48:08 +02:00
techartdev 6eb2e11862 conf update 2026-02-23 10:11:54 +02:00
techartdev 22c7d8ff4f feat: Add nginx configuration rendering and HTTPS proxy support
- Introduced a new script `render_nginx.py` to generate nginx configuration and landing page HTML from templates based on environment variables.
- Updated `run.sh` to handle new access modes and configure HTTPS proxy settings for the gateway.
- Implemented TLS certificate generation for the built-in HTTPS proxy in `lan_https` mode.
- Enhanced disk usage reporting in the landing page.
- Updated translations for various languages to include new configuration options for access modes and authentication modes.
2026-02-23 10:07:25 +02:00
macm1 6990b07d79 feat: add gateway env vars option 2026-02-23 06:38:40 +03:00
macm1 94fab5b260 added translation 2026-02-23 06:31:41 +03:00
macm1 872a52221e refactor: remove env vars from oc_config_helper, keep validation in run.sh
Environment variables are fully handled by run.sh:
- run.sh reads gateway_env_vars from options.json
- run.sh validates variable names (alphanumeric + underscore)
- run.sh enforces max 50 variables and 255 char name limit
- run.sh exports to process environment

oc_config_helper.py now only manages gateway config (mode, port, bind).

Removes:
- env_vars parameter from apply_gateway_settings()
- All env var parsing and validation from Python helper
- MAX_ENV_VARS constants
- env_vars CLI argument
2026-02-23 06:06:20 +03:00
macm1 b45d2e685a refactor: remove env vars persistence, only validate and export
Environment variables should NOT be saved to openclaw.json config.
Instead, they are injected directly into the gateway process via run.sh.

Flow:
  options.json (gateway_env_vars) → run.sh (export) → gateway process env

Changes:
- Remove cfg["env"] initialization from apply_gateway_settings
- Only validate env vars format and size limits in oc_config_helper.py
- Log validated vars but don't persist them to config
- run.sh remains responsible for parsing and exporting to process env
- Cleaner separation of concerns: helpers validates, run.sh exports
2026-02-23 06:00:01 +03:00
macm1 47631c1968 fix: store env vars in cfg[env][vars] not cfg[gateway][env] 2026-02-23 05:55:59 +03:00
macm1 30d95b8798 refactor: use YAML map for gateway environment variables instead of string parsing
Benefits:
- More idiomatic configuration format for Home Assistant add-ons
- config.yaml: Change default from empty string to empty YAML map
- config.yaml: Update schema type from str? to map(str)?
- config.yaml: Improve documentation to explain YAML map usage
- run.sh: Parse JSON object from jq using to_entries instead of semicolon splitting
- oc_config_helper.py: Accept JSON string and parse as dict instead of semicolon-separated values
- Better error handling for invalid JSON
- Cleaner and more maintainable parsing logic

This allows users to configure environment variables more naturally:
  gateway_env_vars:
    OPENAI_API_KEY: sk-abc123
    SERVICE_URL: https://api.example.com
2026-02-23 05:40:32 +03:00
macm1 9b402d3130 refactor: improve gateway env vars security and limits
- Add max limits (50 vars, 255 char names, 10000 char values)
- Validate variable names with regex
- Warn about duplicate variables
- Show var names in logs (not just count)
- Improve bash parsing with process substitution
- Better config documentation with examples
2026-02-23 05:36:07 +03:00
macm1 5086b88a00 feat: Add gateway environment variables support
- Add 'gateway_env_vars' configuration option to addon config
- Parse semicolon-separated KEY=VALUE pairs from add-on options
- Export environment variables to gateway process at startup
- Store parsed env vars in openclaw.json (gateway.env)

Allows users to pass custom environment variables to the gateway via
Home Assistant add-on configuration, e.g.:
  gateway_env_vars: 'SERVICE_API_KEY=123;SERVICE2_API=1231'

These variables are exported to the gateway process and can be used
for API authentication, feature flags, or other configuration needs.
2026-02-23 05:28:32 +03:00
TechArtDev 9d0332a36a Merge pull request #67 from megamen32/main
Add configurable outbound proxy support via add-on http_proxy option
2026-02-22 23:19:28 +02:00