Quentin McGaw
|
76a4bb5dc3
|
chore: use gofumpt for code formatting
|
2024-10-11 19:27:29 +00:00 |
|
Quentin McGaw
|
abe9dcbe33
|
chore(lint): add new linters and update codebase
- add canonicalheader
- add copyloopvar
- add fatcontext
- add intrange
|
2024-10-11 18:28:00 +00:00 |
|
Quentin McGaw
|
3c8e80a1a4
|
chore(lint): upgrade linter from v1.56.2 to v1.61.0
- Remove no longer needed exclude rules
- Add new exclude rules for printf govet errors
- Remove deprecated linters `execinquery` and `exportloopref`
- Rename linter `goerr113` to `err113`
- Rename linter `gomnd` to `mnd`
|
2024-10-11 18:05:54 +00:00 |
|
Quentin McGaw
|
a2e76e1683
|
feat(server): role based authentication system (#2434)
- Parse toml configuration file, see https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication
- Retro-compatible with existing AND documented routes, until after v3.41 release
- Log a warning if an unprotected-by-default route is accessed unprotected
- Authentication methods: none, apikey, basic
- `genkey` command to generate API keys
Co-authored-by: Joe Jose <45399349+joejose97@users.noreply.github.com>
|
2024-09-18 13:29:36 +02:00 |
|
Quentin McGaw
|
ff7cadb43b
|
chore(server): move log middleware to internal/server/middlewares/log
|
2024-08-23 13:46:52 +00:00 |
|