1225d611e9
chore(lint): fix staticcheck issues ( #3061 )
...
* chores: fix staticcheck QF1012
Fix use of fmt.Sprintf when writing to a writer.
https://staticcheck.dev/docs/checks/#QF1012
https://github.com/oauth2-proxy/oauth2-proxy/issues/3060
* chores: fix staticcheck QF1003
Use switch instead of multiple if/else.
https://staticcheck.dev/docs/checks/#QF1003
https://github.com/oauth2-proxy/oauth2-proxy/issues/3060
* chores: exclude staticcheck QF1008 for now
We aim to migrate golangci-lint to v2
Let's disable QF1008 (Omit embedded fields from selector expression)
for now.
https://staticcheck.dev/docs/checks/#QF1008
* chores: fix golangci config: run.deadline -> timeout
Rename config option to match v1 documentation: deadline -> timeout.
https://golangci.github.io/legacy-v1-doc/usage/configuration/#run-configuration
This error has been spotted by golangci-lint v2 migration tool.
* chores: fix staticcheck QF1012
2025-05-26 12:29:34 +02:00
343bd61ebb
chore(deps): Updated to ginkgo v2 ( #2459 )
...
* chore(deps): Updated to ginkgo v2
* fix basic auth test suite cleanup
* fix redis store tests
* add changelog entry
---------
Co-authored-by: Jan Larwig <jan@larwig.com >
2024-07-18 22:41:02 +02:00
7fe6384f38
Fix Linting Errors ( #1835 )
...
* initial commit: add groups to azure
Signed-off-by: andrewphamade@gmail.com <andrewphamade@gmail.com >
* fix deprecations and linting errors
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
* remove groups testing from azure provider
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
* fix test error
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
* verify-generate
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
Signed-off-by: andrewphamade@gmail.com <andrewphamade@gmail.com >
Signed-off-by: Andrew Hamade <andrewphamade@gmail.com >
2022-10-21 11:57:51 +01:00
52cf162843
added tests for basic auth alert message feature
2022-06-30 18:11:43 +03:00
befcdd9d04
Add pagewriter to upstream proxy
2021-05-10 11:14:05 +01:00
c1267bb92d
Request ID Logging ( #1087 )
...
* Add RequestID to the RequestScope
* Expose RequestID to auth & request loggers
* Use the RequestID in templated HTML pages
* Allow customizing the RequestID header
* Document new Request ID support
* Add more cases to scope/requestID tests
* Split Get vs Generate RequestID funtionality
* Add {{.RequestID}} to the request logger tests
* Move RequestID management to RequestScope
* Use HTML escape instead of sanitization for Request ID rendering
2021-03-21 18:20:57 +00:00
225ff478a1
Move all pagewriter related code to dedicated pagewriter package
2021-02-14 10:21:13 +00:00