Commit Graph

1029 Commits

Author SHA1 Message Date
Abhimanyu Saharan
9e4be7192e test(e2e): ensure delete task button is visible and scrolls into view 2026-02-25 03:14:56 +05:30
Abhimanyu Saharan
8b7c728f32 test(e2e): replace forced clicks with actionability checks 2026-02-25 03:01:15 +05:30
Abhimanyu Saharan
33b705a935 test(e2e): remove force click for edit-task actionability 2026-02-25 02:59:15 +05:30
Abhimanyu Saharan
aa2ceba576 test(e2e): scope board task SSE stubs to known endpoints 2026-02-25 02:50:57 +05:30
Abhimanyu Saharan
c03affe3e0 test(e2e): switch boards list spec to local auth 2026-02-25 02:50:11 +05:30
Abhimanyu Saharan
b35980618d test(e2e): switch board task spec to local auth 2026-02-25 02:40:54 +05:30
Abhimanyu Saharan
08341d26ac test(frontend): stabilize onboarding polling assertion 2026-02-25 02:39:53 +05:30
Abhimanyu Saharan
42b361ddd9 test(frontend): stabilize auth boundary tests for local auth mode 2026-02-25 02:32:42 +05:30
Abhimanyu Saharan
be18072d52 Merge origin/master into hana/e2e-boards-gap-analysis 2026-02-25 02:26:46 +05:30
Abhimanyu Saharan
e3404d8590 feat: implement local authentication flow and update related tests 2026-02-25 02:24:51 +05:30
Abhimanyu Saharan
1045267d4c feat: add groupSnapshot alias and handle hydration mismatch in E2E tests 2026-02-25 01:39:04 +05:30
Abhimanyu Saharan
c6dedc93b3 feat: enhance task editing and loading states in board tasks and boards list tests 2026-02-25 01:29:04 +05:30
Abhimanyu Saharan
49a13a5c01 Merge branch 'master' into hana/e2e-boards-gap-analysis 2026-02-25 00:59:34 +05:30
Abhimanyu Saharan
2e3b455582 Merge branch 'master' into master 2026-02-25 00:50:37 +05:30
Abhimanyu Saharan
1d50e48609 chore: update CI configuration and improve README instructions 2026-02-25 00:49:35 +05:30
Abhimanyu Saharan
d9af5d3bc7 Merge branch 'master' into master 2026-02-25 00:42:48 +05:30
Abhimanyu Saharan
0795f78eff feat: implement unified agent lifecycle orchestration and metadata tracking 2026-02-25 00:34:04 +05:30
Simone
3fd5fe5f8c fix: make security headers configurable and add tests 2026-02-24 17:36:44 +01:00
Abhimanyu Saharan
893e06f579 Merge pull request #163 from abhi1693/copilot/implement-changes-from-release
feat: upgrade to FastAPI 0.131.0 with Pydantic's Rust-based JSON serialization
2026-02-23 22:05:10 +05:30
copilot-swe-agent[bot]
2c5dd30bd8 feat: upgrade to FastAPI 0.131.0 and remove orjson dependency
FastAPI 0.131.0 includes Pydantic's Rust-based JSON serialization by default (PR #14962), making ORJSONResponse unnecessary. The new default serialization is 2x faster than the previous approach and eliminates the need for explicit orjson configuration.

Changes:
- Upgrade FastAPI from 0.130.0 to 0.131.0
- Remove orjson dependency (deprecated in 0.131.0)
- Remove ORJSONResponse import and configuration
- Use FastAPI's new default Pydantic-based serialization

Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-23 16:24:23 +00:00
copilot-swe-agent[bot]
1967e9583d feat: upgrade FastAPI to 0.130.0 and implement ORJSONResponse for performance
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 22:13:52 +00:00
copilot-swe-agent[bot]
8c36df4689 Initial plan 2026-02-22 22:09:11 +00:00
Abhimanyu Saharan
ba7f9166e7 chore: update .gitignore to include device keys for OpenClaw service 2026-02-23 02:54:18 +05:30
Simone
93161d3800 fix: add Redis healthcheck and security response headers
- Add healthcheck to Redis service in compose.yml and upgrade
  depends_on from service_started to service_healthy so backend
  and webhook-worker wait for Redis readiness.
- Add HTTP security headers middleware (X-Content-Type-Options,
  X-Frame-Options, Referrer-Policy, Permissions-Policy) to the
  FastAPI backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 22:20:53 +01:00
Abhimanyu Saharan
b8494667cf Merge pull request #161 from abhi1693/chore/pr-149-cherry-pick-fixes
fix: handle default ports in gateway URL validation
2026-02-23 02:12:03 +05:30
Abhimanyu Saharan
2e36630df4 fix: address PR #149 review comments 2026-02-23 02:00:07 +05:30
DevBot
c13915bbdf fix: detect explicit port from URL string; add Vitest tests
The previous fix fell back to the scheme's default port (443/80) when
url.port was empty, but url.port is empty for *both* 'wss://host:443'
and 'wss://host' — causing the validation to wrongly accept a URL with
no port at all.

Fix: inspect the raw authority segment of the URL string to check
whether a ':port' component is actually present, regardless of whether
that port is the scheme default.

Add gateway-form.test.ts covering:
- explicit non-default ports (accepted)
- explicit default ports :443 / :80 (accepted — regression case)
- missing port (rejected)
- wrong scheme (rejected)
- invalid URL (rejected)
- whitespace trimming

Closes #148
2026-02-23 01:58:29 +05:30
DevBot
fae681747d fix: handle default ports in gateway URL validation
JavaScript's URL API omits .port for standard ports (443 for wss:,
80 for ws:) even when explicitly specified. This caused valid URLs
like wss://host.ts.net:443 to fail validation with 'Gateway URL
must include an explicit port.'

Fix by checking default ports when url.port is empty.

Closes #148
2026-02-23 01:56:23 +05:30
Abhimanyu Saharan
56fadb4b47 Remove extra newline from README.md 2026-02-23 01:48:14 +05:30
Abhimanyu Saharan
22b904c9ab Add Slack join badge to README
Added a static badge for Slack join link to README.
2026-02-23 01:41:05 +05:30
Abhimanyu Saharan
2d3c3ee3e4 feat: add config fallback for gateway version compatibility check 2026-02-23 01:23:09 +05:30
Abhimanyu Saharan
6b09f124e6 refactor: rename compatibility check function and update version extraction logic #159 2026-02-22 22:05:39 +05:30
Abhimanyu Saharan
6f4ad41dba Merge pull request #155 from abhi1693/copilot/feature-allow-self-signed-tls
feat: Support self-signed TLS certificates for gateway connections
2026-02-22 21:14:52 +05:30
Abhimanyu Saharan
f1f3fbb766 docs: enhance docstring for SSL context creation with insecure TLS 2026-02-22 21:04:31 +05:30
Abhimanyu Saharan
effd9f316c docs: update documentation for enabling self-signed TLS certificates in gateway configuration 2026-02-22 21:03:32 +05:30
Abhimanyu Saharan
62e3c267b5 feat: add allow_insecure_tls parameter to agent configuration 2026-02-22 20:24:41 +05:30
Abhimanyu Saharan
56f4964332 feat: add support for allowing self-signed TLS certificates in gateway configuration 2026-02-22 20:20:19 +05:30
Abhimanyu Saharan
d37f230eb3 feat: add allow_insecure_tls column to gateways 2026-02-22 20:07:30 +05:30
Abhimanyu Saharan
374d5a0c37 Merge branch 'master' into copilot/feature-allow-self-signed-tls
# Conflicts:
#	backend/app/api/gateways.py
#	backend/app/schemas/gateways.py
#	backend/app/services/openclaw/admin_service.py
#	backend/app/services/openclaw/gateway_resolver.py
#	backend/app/services/openclaw/gateway_rpc.py
#	backend/app/services/openclaw/provisioning.py
#	backend/app/services/openclaw/provisioning_db.py
#	frontend/src/api/generated/model/gatewayCreate.ts
#	frontend/src/api/generated/model/gatewayRead.ts
#	frontend/src/api/generated/model/gatewayUpdate.ts
2026-02-22 19:51:27 +05:30
Abhimanyu Saharan
cdced8e07c refactor: improve code formatting and readability in tests and components 2026-02-22 19:45:18 +05:30
Abhimanyu Saharan
ab7a3c66ce feat: add disable_device_pairing parameter to agent configuration 2026-02-22 19:41:26 +05:30
Abhimanyu Saharan
3dfb70cd90 feat: add disable_device_pairing option to gateway configuration 2026-02-22 19:19:26 +05:30
Abhimanyu Saharan
e39b2069fb feat: add openclaw_connect_metadata function and update compatibility check logic, fixes #156 2026-02-22 13:37:01 +05:30
copilot-swe-agent[bot]
c072749b35 fix: Update generated TypeScript API models for allow_insecure_tls field
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 07:37:25 +00:00
copilot-swe-agent[bot]
87b210b34d docs: Add documentation for self-signed TLS certificate support
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 05:32:04 +00:00
copilot-swe-agent[bot]
217f98afcc fix: Address code review feedback
- Fix docstring formatting in _create_ssl_context
- Break long line in provisioning.py for better readability

Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 05:30:29 +00:00
copilot-swe-agent[bot]
42a6a42902 test: Add tests for SSL context configuration
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 05:29:32 +00:00
copilot-swe-agent[bot]
520e128777 feat: Add allow_insecure_tls field to gateway model and UI
- Added allow_insecure_tls boolean field to Gateway model and schemas
- Created database migration for the new field
- Updated GatewayConfig to include allow_insecure_tls parameter
- Modified openclaw_call to create SSL context that disables verification when allow_insecure_tls is true
- Updated all GatewayConfig instantiations throughout the backend
- Added checkbox to frontend gateway form (create and edit pages)
- Updated API endpoints to handle the new field

Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
2026-02-22 05:28:37 +00:00
copilot-swe-agent[bot]
6455a27176 Initial plan 2026-02-22 05:22:11 +00:00
Aaron Aronchick
79120681de security: bind redis and postgres ports to localhost only
Prevents external access to Redis (6379) and Postgres (5432).
Both services are internal-only - containers communicate via
Docker network, host port binding only needed for local debugging.

Flagged by DigitalOcean security scan 2026-02-22.
2026-02-22 03:53:28 +00:00