Commit Graph

28 Commits

Author SHA1 Message Date
GitHub Actions
53244d77a8 feat: add CrowdSec installation and create necessary directories in Dockerfile 2025-12-01 16:22:21 +00:00
GitHub Actions
83afbbf1fc feat: Add CrowdSec management endpoints and feature flags handler
- Implemented CrowdSec process management with start, stop, and status endpoints.
- Added import functionality for CrowdSec configuration files with backup support.
- Introduced a new FeatureFlagsHandler to manage feature flags with database and environment variable fallback.
- Created tests for CrowdSec handler and feature flags handler.
- Updated routes to include new feature flags and CrowdSec management endpoints.
- Enhanced import handler with better error logging and diagnostics.
- Added frontend API calls for CrowdSec management and feature flags.
- Updated SystemSettings page to manage feature flags and CrowdSec controls.
- Refactored logs and other components for improved functionality and UI consistency.
2025-12-01 16:19:05 +00:00
GitHub Actions
00b2bc798a chore(docker): pin golang base images to 1.25.4-alpine to satisfy hadolint DL3006 2025-12-01 16:19:05 +00:00
renovate[bot]
9d3805f1ee chore(deps): update alpine docker tag to v3.22 2025-12-01 14:37:58 +00:00
GitHub Actions
fc1e37f408 build: propagate VERSION into frontend build (VITE_APP_VERSION) 2025-11-30 00:06:50 +00:00
CI
a60be34f60 chore(ci): add PR-only Trivy app-only scan and pin Caddy v2.10.2 2025-11-29 21:23:54 +00:00
Wikid82
a0b2d3ffef fix: use find to locate and move dlv binary reliably 2025-11-22 00:43:23 -05:00
Wikid82
4d8c6fbb13 fix: handle dlv binary location dynamically without GOBIN 2025-11-22 00:33:10 -05:00
Wikid82
61b13a4b2b fix: use GOBIN to force dlv installation path in Dockerfile 2025-11-22 00:31:08 -05:00
Wikid82
902a09d686 fix: ensure dlv binary is verifiable and copied correctly in multi-arch build 2025-11-22 00:23:59 -05:00
Wikid82
9914e20817 feat: optimize Dockerfile build process with cache mounts for frontend and backend 2025-11-21 10:54:03 -05:00
renovate[bot]
766075298c chore(deps): update tonistiigi/xx docker tag to v1.8.0 2025-11-21 15:24:14 +00:00
Wikid82
cdc8048590 fix: enhance Dockerfile for cross-compilation support and update Caddy build process 2025-11-21 10:22:54 -05:00
Wikid82
9d39241c61 feat: update health check API response and integrate versioning in Layout component 2025-11-20 09:54:55 -05:00
Wikid82
8420bcaad9 feat: update Dockerfile and docker-compose files for improved debugging and consistency; refactor Login and Setup components for setup status handling 2025-11-20 00:58:35 -05:00
Wikid82
0e64e96ffb feat: add Delve debugger support and update entrypoint for debugging 2025-11-20 00:09:20 -05:00
renovate[bot]
238b04da5d chore(deps): update dependency node to v24 2025-11-20 03:15:07 +00:00
Wikid82
50d710ba7b chore: rename project artifacts to CPMP 2025-11-19 18:07:36 -05:00
Wikid82
778854473a CI: Add Renovate automation and Caddy v3 monitor; fix CADDY_IMAGE ARG scope 2025-11-19 09:52:10 -05:00
Wikid82
3111421b92 CI: Pin Caddy base by digest in builds; enforce Trivy fail on CRITICAL/HIGH; pass CADDY_IMAGE build-arg 2025-11-19 09:52:10 -05:00
Wikid82
e3134a2ad7 Reduce Trivy findings: drop bash, switch to /bin/sh entrypoint, pin to caddy:2-alpine, upgrade runtime packages 2025-11-19 09:52:10 -05:00
Wikid82
37cef06634 Docker: build frontend on BUILDPLATFORM to avoid arm64 Rollup native module; keep Rollup native skipped 2025-11-19 09:52:08 -05:00
Wikid82
f2ea164717 fix(docker): set ROLLUP_SKIP_NODEJS_NATIVE=1 to avoid arm64 native Rollup error 2025-11-19 09:52:08 -05:00
Wikid82
8e641b01bd fix: Eliminate act() warnings in frontend tests and resolve Docker arm64 build
- Wrap async mutations in act() across useImport, useProxyHosts, useRemoteServers tests
- Add npm_config_rollup_skip_nodejs_native=1 in Dockerfile to bypass native binary for arm64
- Enable Go module caching in CI via cache-dependency-path on setup-go action
- All frontend tests now pass cleanly (49/49) without React Testing Library warnings
2025-11-19 09:50:08 -05:00
Wikid82
08db82d92a fix: use golang:alpine base image for backend builder
The backend-builder stage was using golang:latest (Debian) but trying to
run Alpine's apk package manager, causing build failures with 'apk: not
found'. Changed to golang:alpine for consistency with the RUN commands.

Fixes Docker build workflow failures in GitHub Actions.
2025-11-19 09:50:07 -05:00
Wikid82
5dd5036661 feat: single-container deployment & automated semantic versioning; add release workflow, version injection, health endpoint metadata, documentation 2025-11-17 19:29:25 -05:00
Wikid82
6b0dfa7085 ci: add Go/Node CI, Docker multi-stage, Makefile, and pre-commit hooks; update README 2025-11-17 18:16:03 -05:00
Wikid82
4f3b7d8f99 feat: Initial project setup with CI/CD, Docker, and issue creation script
- Added Codecov configuration to enforce 75% coverage.
- Created .dockerignore to exclude unnecessary files from Docker context.
- Implemented GitHub Actions CI workflow for linting, testing, and coverage reporting.
- Added a workflow to propagate changes between main and development branches.
- Configured pre-commit hooks for code quality checks.
- Developed a multi-stage Dockerfile for a Python web backend.
- Added MIT License to the project.
- Created README.md with project overview and setup instructions.
- Implemented a script to create GitHub issues from project planning.
- Defined development and runtime requirements in requirements.txt and requirements.dev.txt.
2025-11-17 15:52:40 -05:00