Commit graph

7 commits

Author SHA1 Message Date
44e18ca3a5 Implement consent management
The primary change in this commit is the introduction of consent management.

A few minor improvements have been made:

- move common header to ui/templates/base.gohtml
- add an I18NService to unify localization
- add a handlers.getLocalizer function
- fix translation extraction and merging in Makefile
- add a new AuthMiddleware to centralize client certificate authentication
- move client certificate handling to internal/handlers/security.go
- improver error handling, allow localization of HTTP error messages
2023-08-07 15:15:45 +02:00
0b59ad9fd4 Add packaging configuration
- add gorelease config
- add commented example configuration
- add service file and postinst script
- rename cmd/idp.go to cmd/idp/main.go
2023-07-24 17:55:41 +02:00
9fad7ef3a6 Embed translation bundle into binary 2023-05-15 16:47:37 +02:00
e828b30b21 Add linting support
- add lint target in Makefile
- add golangci-lint configuration
2023-05-13 10:16:49 +02:00
695f5cae6b Use embed.fs for self-contained build 2022-08-22 18:50:59 +02:00
0effaaa586 Use CGO_ENABLED=0 for static binary 2022-08-19 16:48:32 +02:00
2affaa2150 Add Makefile
This commit adds a Makefile to automate the steps required to build the
cacert-idp binary.
2022-08-17 20:25:00 +02:00