Commit Graph

7 Commits (cdaed2f4e442b3ca2500ce2b248faf294c7b999d)

Author SHA1 Message Date
Jan Dittberner 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
11 months ago
Jan Dittberner 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
12 months ago
Jan Dittberner 9fad7ef3a6 Embed translation bundle into binary 1 year ago
Jan Dittberner e828b30b21 Add linting support
- add lint target in Makefile
- add golangci-lint configuration
1 year ago
Jan Dittberner 695f5cae6b Use embed.fs for self-contained build 2 years ago
Jan Dittberner 0effaaa586 Use CGO_ENABLED=0 for static binary 2 years ago
Jan Dittberner 2affaa2150 Add Makefile
This commit adds a Makefile to automate the steps required to build the
cacert-idp binary.
2 years ago