873ea789f1
chore: move postman guide into postman folder as README.md
...
- docs/postman-guide.md → docs/postman/README.md (auto-loads on folder view)
- Updated main README.md links
2026-07-15 18:10:02 +00:00
8cfd403c14
chore: reorganise docs/ folder for Postman, examples, and OpenAPI spec
...
- Moved into docs/:
docs/postman/collection.json ← authelia-api.postman_collection.json
docs/postman/environment.json ← authelia-api.postman_environment.json
docs/postman-guide.md ← POSTMAN_GUIDE.md
docs/openapi.yml ← openapi.yml
docs/examples/bulk-request.json ← example_bulk_request.json
- Updated README.md with new paths and docs/ structure
- Updated .dockerignore to reflect new layout
- Removed stale pre-built binary from working tree
2026-07-15 18:03:52 +00:00
35bc7566ea
chore: update README for policy management, Docker image rename, and corrected repo URLs
2026-07-15 18:01:44 +00:00
92f0e7ea25
chore: update Postman collection and guide with policy endpoints
...
Postman collection now has 12 endpoints:
- Health Check, List/Get/Bulk Create/Delete Users
- List/Create/Get/Update/Delete Policy
- Verify Policy (dry-run)
- Get User Policies
POSTMAN_GUIDE.md updated with all endpoints, examples,
policy field reference, matching rules, and testing workflow.
2026-07-15 17:59:57 +00:00
00165e9fef
chore: 3-stage Docker build from source, rename image to authelia-api
...
- Dockerfile builds Go source in stage 2 (golang:1.22) instead of
copying pre-built binary
- Image renamed to git24hcom/authelia-api:latest
- docker-compose.yml: updated image name, added build directive
- .gitignore: ignore root-level authelia-api binary
- Removed pre-built binary from git tracking (now built in Docker)
2026-07-15 16:55:28 +00:00
4ab00e0761
feat: add policy management endpoints
...
New API endpoints matching openapi.yml spec:
GET /api/policies - List policies
POST /api/policies - Create policy
GET /api/policies/{policy_id} - Get policy
PUT /api/policies/{policy_id} - Update policy
DELETE /api/policies/{policy_id} - Delete policy
POST /api/policies/verify - Dry-run policy matching
GET /api/users/{username}/policies - User policy evaluation
New files:
src/internal/policies/models.go - Policy/input/response structs
src/internal/policies/store.go - DB CRUD operations
src/internal/policies/engine.go - Domain/resource/method/subject matching
src/internal/policies/handler.go - HTTP handlers for all 7 endpoints
src/migrations/002_policies.sql - policies table schema
Modified:
src/internal/database/database.go - Register migration 2
src/cmd/server/main.go - Wire up policies handler + routes
2026-07-15 14:33:09 +00:00
fae2363360
chore: add OpenAPI 3.0.3 spec for API documentation
2026-07-15 14:28:54 +00:00
38a69937d5
chore: add Go source code to src/ directory
...
- Source code for authelia-api (Go 1.22)
- cmd/server/main.go - entry point
- internal/api, auth, bootstrap, config, database, smtp, sync packages
- migrations/001_initial.sql - database schema
- go.mod with dependencies (x/crypto, yaml.v3, modernc/sqlite)
2026-07-15 14:27:40 +00:00
root
49a5ab0cb8
Clarify mirror: developed on git.lohmar.co.uk, mirrored to Codeberg
2026-06-24 19:37:12 +00:00
root
fcc541064b
Clarify mirror relationship in README
2026-06-24 19:34:36 +00:00
root
6c98d8a62f
Add Codeberg mirror note to README
2026-06-24 19:33:04 +00:00
root
6558a40435
Add POSTMAN_GUIDE.md with setup, endpoints, and troubleshooting
2026-06-24 19:17:39 +00:00
root
45a29b7641
Restore bearer token section under Installation, remove dead POSTMAN_GUIDE.md link
2026-06-24 19:16:25 +00:00
root
5c9c5d06ef
Remove redundant Quick Start section - bearer token already covered in each deployment section
2026-06-24 19:14:23 +00:00
root
79efef3ac2
Rewrite Quick Start: split bearer token instructions for Docker vs bare metal
2026-06-24 19:12:33 +00:00
root
5859de5fdf
Restructure README: Docker first, bare metal collapsed, remove obsolete Production Deployment section
2026-06-24 19:05:46 +00:00
root
48d083c355
Expand Docker deployment docs with bearer token explanation and link to Authelia config reference
2026-06-24 18:59:40 +00:00
root
0d86609798
Add Docker container combining Authelia + Authelia-API
...
- Multi-stage Dockerfile (Authelia v4.39.20 + authelia-api binary)
- Entrypoint script with bootstrap, health monitoring, graceful shutdown
- docker-compose.yml for volume-based deployment
- Example config and user DB placeholder
- README updated with Docker deployment docs
2026-06-24 18:54:27 +00:00
ac0a741c66
chore: sync: ClausL-MacBook-Pro.local 2026-05-04 19:00
2026-05-04 19:00:55 +01:00
a7fa3bc15a
chore: sync: ClausL-MacBook-Pro.local 2026-05-04 17:58
2026-05-04 17:58:53 +01:00
bab208bedd
chore: sync: ClausL-MacBook-Pro.local 2026-05-04 17:56
2026-05-04 17:56:57 +01:00
d6307ed19b
chore: sync: ClausL-MacBook-Pro.local 2026-05-04 17:55
2026-05-04 17:55:10 +01:00
ad26c899b9
chore: sync: ClausL-MacBook-Pro.local 2026-05-04 17:52
2026-05-04 17:52:54 +01:00
f72f2ac4e2
chore: sync: ClausL-MacBook-Pro.local 2026-05-04 17:50
2026-05-04 17:50:26 +01:00