Commit Graph

24 Commits

Author SHA1 Message Date
4358de87ba **feat(docs):** add Dockerfile and Nginx config for static site deployment
All checks were successful
CI / build-test (push) Successful in 1m1s
- Introduce `Dockerfile` for building and serving static site using Bun and Nginx
- Add `nginx.conf` for configuring static file caching and routing rules
- Expose port 80 for containerized deployment
2026-02-27 15:33:04 +01:00
d664e88fff **docs:** expand index.md with architecture, quick start, and tech stack
All checks were successful
CI / build-test (push) Successful in 1m2s
- Add detailed architecture and workflow diagram to explain dashboard functionality
- Include a "Quick Start" section with Docker Compose setup instructions
- Document tech stack and layers used in the project
- Enhance feature descriptions for better clarity and user guidance
2026-02-27 15:31:49 +01:00
eeddd812fa **chore(docs):** add .gitignore for docs and introduce bun.lock file
All checks were successful
CI / build-test (push) Successful in 1m2s
- Add `.gitignore` to exclude `node_modules/`, `.vitepress/cache/`, and `.vitepress/dist/` directories
- Include `bun.lock` for dependency management with Bun
2026-02-27 15:28:17 +01:00
bf77142641 **feat(compose):** add separate deploy and dev Docker Compose files
All checks were successful
CI / build-test (push) Successful in 1m3s
- Introduced `compose.yml` for deployment, pulling the image from the registry
- Added `compose.dev.yml` for local development, building the image from source
- Updated `README.md` and `.claude/CLAUDE.md` with instructions for both configurations
- Introduced `DB_PATH` environment variable to customize SQLite database file location
- Updated `main.go` to use `DB_PATH` with a default fallback (`./diun.db`)
2026-02-27 15:11:47 +01:00
c0746a7f02 **feat(webhook):** add WEBHOOK_SECRET for token authentication support
All checks were successful
CI / build-test (push) Successful in 1m28s
- Protect `/webhook` endpoint using the `Authorization` header
- Update `README.md` with setup instructions and examples for authentication
- Warn when `WEBHOOK_SECRET` is not configured
- Add tests for valid, missing, and invalid token scenarios
- Update `docker-compose.yml` to support `WEBHOOK_SECRET` configuration
2026-02-27 14:58:43 +01:00
db9f47649d **docs:** update README.md and .claude/CLAUDE.md with new features, architecture, and API changes
All checks were successful
CI / build-test (push) Successful in 1m3s
- Reflect addition of React SPA, SQLite persistence, and tag management
- Update quick start guide for backend and frontend setup
- Document full API routes and database schema
- Revise project structure for recent refactor
- Improve production and testing notes for clarity
2026-02-25 21:58:22 +01:00
399168e4eb **feat(ci):** enhance release workflow with changelog generation and detailed release body
All checks were successful
CI / build-test (push) Successful in 1m2s
- Add `jq` dependency for JSON manipulation
- Automatically generate changelog from Git history for releases
- Refactor release body to include Docker image details and formatted changelog

Changelog: other
2026-02-25 21:39:39 +01:00
44cad49855 **fix(ci):** improve version bump script for robustness and compatibility
All checks were successful
CI / build-test (push) Successful in 1m2s
- Handle empty tag results gracefully using fallback in `grep`
- Use `${GITHUB_ENV:-$GITEA_ENV}` for environment variable assignment to ensure broader compatibility
v0.0.1
2026-02-25 21:31:09 +01:00
0c456d9c78 **feat(ci):** introduce release workflow with version bump, Docker image build, and Gitea release automation
All checks were successful
CI / build-test (push) Successful in 1m2s
2026-02-25 21:12:40 +01:00
8af8131c9f - **fix(ci):** replace docker buildx with docker build in CI workflow for compatibility
All checks were successful
CI / build-test (push) Successful in 1m2s
CI / docker (push) Successful in 2m33s
2026-02-25 20:48:52 +01:00
1983a3bed9 - **fix(errors):** ensure proper error handling with errors.Is instead of direct comparison for http.ErrServerClosed
Some checks failed
CI / build-test (push) Successful in 1m4s
CI / docker (push) Failing after 2s
- **fix(sql):** wrap `rows.Close` in a `defer` function to safely handle potential close errors
- **fix(api):** handle JSON encoding errors in API responses to prevent unhandled edge cases
- **docs:** correct typos and improve phrasing in `.claude/CLAUDE.md`
- **test:** add error handling for `UpdateEvent` in test cases
2026-02-25 20:44:18 +01:00
6094edc5c8 - **refactor(main):** migrate static HTML to React components
Some checks failed
CI / build-test (push) Successful in 1m25s
CI / docker (push) Failing after 1s
- **feat(ui):** implement `AcknowledgeButton` component for acknowledging images
- **feat(stats):** add dashboard stats for total images, pending updates, and acknowledged status
- **chore(deps):** introduce `bun` dependency management and add required libraries
- **style(ui):** enhance UI with Tailwind-based components and modularity improvements
- **chore:** add drag-and-drop tag assignment using `@dnd-kit/core`
2026-02-25 20:37:15 +01:00
54478dcd4f changed docker image from latest to specific tag
Some checks failed
CI / build-test (push) Successful in 48s
CI / docker (push) Failing after 2s
2026-02-23 21:25:30 +01:00
e4f32132e3 Refactor project structure: enhance tests, improve server shutdown, expand CI checks, and update UI for better event presentation.
Some checks failed
CI / build-test (push) Failing after 4s
CI / docker (push) Has been skipped
2026-02-23 21:12:39 +01:00
d38a0e7044 Move CLAUDE.md to .claude/ directory
Some checks failed
CI / build-test (push) Failing after 4s
CI / docker (push) Has been skipped
2026-02-23 20:49:08 +01:00
d3c15648f7 Set GOTOOLCHAIN environment variable to local in CI workflow
Some checks failed
CI / build-test (push) Failing after 4s
CI / docker (push) Has been skipped
Changelog: other
2026-02-23 20:40:35 +01:00
cb6e56180a Update CI workflow to use custom Docker image for build and streamline Docker push job
Some checks failed
CI / build-test (push) Failing after 55s
CI / docker (push) Has been skipped
2026-02-23 20:23:26 +01:00
1876fc4eed Simplify CI workflow by replacing setup-go with Docker container using Go 1.26 image
Some checks failed
CI / build-test (push) Failing after 37s
CI / docker (push) Has been skipped
2026-02-23 18:52:02 +01:00
b28b966651 Add CLAUDE.md with project guidance and update CI workflow for improved coverage and Docker build
Some checks failed
CI / docker (push) Has been cancelled
CI / build-test (push) Has been cancelled
2026-02-23 18:47:43 +01:00
a9e468e2bb Update CI workflow to use latest actions and Go version
Some checks failed
CI / build-test (push) Failing after 5m59s
Updated `actions/checkout` to v6 and `actions/setup-go` to v6 with Go version set to 1.26 for improved compatibility and functionality.

Changelog: other
2026-02-23 17:47:36 +01:00
2da6cf8023 Update CI workflow to target develop branch for push and pull request events
Some checks failed
CI / build-test (push) Has been cancelled
2026-02-23 17:33:21 +01:00
1564c48bcf Update CI workflow to use Docker for build and test jobs 2026-02-23 17:32:39 +01:00
9432bf6758 Refactor project structure: modularized code into pkg and cmd directories, added unit tests, improved CI/CD pipeline, and enhanced documentation. 2026-02-23 17:17:01 +01:00
2077d4132b Initialize project with DIUN Webhook Dashboard: core Go app, Docker setup, static assets, and documentation. 2026-02-23 16:47:50 +01:00