Commit Graph

196 Commits

Author SHA1 Message Date
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
macm1 d118102c11 Add NO_PROXY defaults for http_proxy and document behavior 2026-02-22 21:21:11 +03:00
macm1 cb71b0faca changed docs 2026-02-22 20:00:43 +03:00
macm1 ab33e6702f added proxy configuration to haos addon config ui 2026-02-22 19:54:51 +03:00
macm1 c3ba720d0b added proxy support 2026-02-22 19:51:17 +03:00
TechArtDev e33bcf030a Merge pull request #66 from techartdev/fix_config_0.5.48
Fix config 0.5.48
2026-02-22 18:19:43 +02:00
TechArtDev 249f98161a Merge branch 'main' into fix_config_0.5.48 2026-02-22 18:19:31 +02:00
techartdev b552684b49 version skip 2026-02-22 18:17:55 +02:00
techartdev 335a99b88b fix config ver 2026-02-22 18:16:44 +02:00
techartdev 05aff8c766 bump config 2026-02-22 18:14:34 +02:00
techartdev a5363b9cfc feat: Update OpenClaw to version 2026.2.21-2; add share and media mounts; update documentation and translations 2026-02-22 17:59:08 +02:00
techartdev 8d577356b3 Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-21 18:27:17 +02:00
techartdev 04a71cbf23 feat: Expand gateway_bind_mode options to include 'auto' and 'tailnet'; update documentation and translations 2026-02-21 18:25:33 +02:00
TechArtDev 6b9699d4cc Merge pull request #62 from nathang21/feat/tailnet-bind-mode
feat: add tailnet and auto bind mode support
2026-02-21 18:16:10 +02:00
TechArtDev 7625d370c4 Update README with OpenClaw integration details
Added a note about OpenClaw Home Assistant integration.
2026-02-21 01:39:37 +02:00
Nathan Guenther adbfcfee72 feat: add tailnet and auto bind mode support
OpenClaw natively supports 'tailnet' and 'auto' bind modes but the
addon rejected them in oc_config_helper.py validation and the config.yaml
schema didn't list them as valid options.

- oc_config_helper.py: expand bind_mode validation to accept 'tailnet'
  and 'auto' in addition to 'loopback' and 'lan'
- config.yaml: add 'tailnet' and 'auto' to schema and document them
  in the options comments

Users running Tailscale as a separate HA addon (non-userspace mode)
can now set gateway_bind_mode: tailnet to restrict gateway access
exclusively to their Tailscale network — no iptables rules needed.

Closes #59
2026-02-20 11:44:43 -05:00
TechArtDev 13417f4439 Merge pull request #57 from techartdev/force_ipv4_oc_bump
chore: Add force_ipv4_dns option and update translations; bump OpenCl…
2026-02-18 18:07:41 +02:00
techartdev 2f01fa2007 Merge branch 'force_ipv4_oc_bump' of https://github.com/techartdev/OpenClawHomeAssistant into force_ipv4_oc_bump 2026-02-18 18:07:20 +02:00
techartdev ff4a5c62eb docs update 2026-02-18 18:07:17 +02:00
TechArtDev 0c4187c119 Update openclaw_assistant/run.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 18:06:00 +02:00
techartdev d5fae52ad6 chore: Add force_ipv4_dns option and update translations; bump OpenClaw to 2026.2.17 2026-02-18 15:38:06 +02:00
TechArtDev 7cdf7a2694 Update copyright holder name in LICENSE file 2026-02-16 23:38:22 +02:00
techartdev 7118e77913 chore: Bump OpenClaw to 2026.2.15 and update version to 0.5.45 in changelog and config 2026-02-16 12:16:33 +02:00
techartdev 248e0be97f update docs 2026-02-14 16:19:33 +02:00
techartdev 437884654e chore: Bump OpenClaw to 2026.2.13 and update version to 0.5.44; add star history to README 2026-02-14 16:14:44 +02:00
techartdev 0d7b4ff760 chore: Update version to 0.5.43 and bump OpenClaw to 2026.2.12; add Brazilian Portuguese translation 2026-02-13 22:32:35 +02:00
TechArtDev 0596d5b70c Merge pull request #44 from medeirosiago/feature/brazilian-portuguese-translation
feat: Add Portuguese (Brazil) translations for configuration options.
2026-02-13 20:18:11 +02:00
Iago Medeiros 286afa7f26 feat: Add Portuguese (Brazil) translations for configuration options. 2026-02-13 00:12:33 -03:00
techartdev 53772be2bd Update CHANGELOG.md for version 0.5.42 with recent changes and improvements 2026-02-12 12:06:53 +02:00
techartdev 893911d6b6 Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-12 12:02:26 +02:00
techartdev c8e67cb0ba Update ports and persist Homebrew installation across updates 2026-02-12 12:02:23 +02:00
TechArtDev 2c619ffc7a Merge pull request #42 from lukcz/add-changelog
Add CHANGELOG.md for Home Assistant update dialog
2026-02-11 19:05:18 +02:00
Zgredek 8f172630bc Add CHANGELOG.md for Home Assistant update dialog 2026-02-11 17:42:52 +01:00
techartdev 2f6ac10f94 Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-11 15:45:58 +02:00
techartdev f23079c4fa Update oca_addon.png image for improved quality 2026-02-11 15:45:54 +02:00
TechArtDev cbc9f89263 Update title in README for clarity 2026-02-11 15:42:20 +02:00
techartdev a1f9afc08a Update Dockerfile, config.yaml, and run.sh for enhancements
- Added rsync to Dockerfile for improved file synchronization.
- Bumped version to 0.5.41 in config.yaml.
- Implemented skill synchronization and persistent storage management in run.sh.
2026-02-11 15:28:35 +02:00