Commit Graph

112 Commits (65dbd7cadcc91f8677ab673cef5ef1bba538afd3)

Author SHA1 Message Date
Marcus Efraimsson d0a80c59f3
Rendering: Store render key in remote cache (#22031) 6 years ago
Marcus Efraimsson fd52570b7f
API: Improve recovery middleware when response already been written (#22256) 6 years ago
Carl Bergquist fe16028e02
Auth: Don't rotate auth token when requests are cancelled by client (#22106) 6 years ago
Anthony Woods f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347) 6 years ago
Jeffrey Descan c5f906f472 Security: refactor 'redirect_to' cookie to use 'Secure' flag (#19787) 6 years ago
Arve Knudsen 35e0e078b7
pkg/util: Check errors (#19832) 6 years ago
kay delaney fb0cec5591
Backend: Adds support for HTTP/2 (#18358) 6 years ago
Sofia Papagiannaki 4e29357d15
Backend: Do not set SameSite cookie attribute if cookie_samesite is none (#18462) 6 years ago
Oleg Gaidarenko d88fdc86fc Auth: Do not search for the user twice (#18366) 6 years ago
Oleg Gaidarenko 82661b9f69 Auth: consistently return same basic auth errors (#18310) 6 years ago
gotjosh 332920954e
SAML: Show SAML login button even if OAuth is disabled (#17993) 7 years ago
Sofia Papagiannaki dc9ec7dc91
Auth: Allow expiration of API keys (#17678) 7 years ago
Kyle Brandt bd08d8ce8e
middleware: fix Strict-Transport-Security header (#17644) 7 years ago
Yann Verry ed613194ac HTTPServer: Fix X-XSS-Protection header formatting (#17620) 7 years ago
Oleg Gaidarenko 1b1d951495 LDAP: refactoring (#17479) 7 years ago
Kyle Brandt 599514ad68
middleware: add security related HTTP(S) response headers (#17522) 7 years ago
Oleg Gaidarenko 35f227de11
Feature: LDAP refactoring (#16950) 7 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 7 years ago
Marcus Efraimsson 1c1427520d
Security: Add new setting allow_embedding (#16853) 7 years ago
Marcus Efraimsson f778c1d971
Security: Responses from backend should not be cached (#16848) 7 years ago
Carl Bergquist 9660356638
Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 7 years ago
Oleg Gaidarenko 67cbc7d4cf
Chore: use remote cache instead of session storage (#16114) 7 years ago
Marcus Efraimsson 8678620730
move UserToken and UserTokenService to models package 7 years ago
Marcus Efraimsson a60124a88c
change UserToken from interface to struct 7 years ago
Marcus Efraimsson 44275d9660
middleware fix 7 years ago
Marcus Efraimsson 871c84d195
changes needed for api/middleware due to configuration settings 7 years ago
Marcus Efraimsson d53e64a32c
move auth token middleware/hooks to middleware package 7 years ago
bergquist f257101c41 removes unused/commented code 7 years ago
bergquist 5998646da5 restrict session usage to auth_proxy 7 years ago
Marcus Efraimsson 4096449aec
extract auth token interface and remove auth token from context 7 years ago
bergquist 55b3013eb3 moves initWithToken to auth package 7 years ago
Marcus Efraimsson 734a7d38b2
set cookie name from configuration 7 years ago
Marcus Efraimsson 0d1e3759eb
mixor fixes 7 years ago
Marcus Efraimsson f3125b447b
dead code 7 years ago
bergquist 47a7d93fd9 moves rotation into auth since both happens before c.Next() 7 years ago
bergquist fd937e3d95 remove maxage from session token 7 years ago
Marcus Efraimsson 97c7963f17
fix cannot set cookie when response is written 7 years ago
bergquist c2accfa4c0 inital code for rotate 7 years ago
bergquist aba6148c43 login users based on token cookie 7 years ago
Marcus Efraimsson cfb061ddab
refactor datasource caching 7 years ago
Mario Trangoni e673337cb9 pkg/middleware/middleware.go: Fix empty branch warning. 7 years ago
Torkel Ödegaard abef94b0da made it possible to have frontend code in symlinked folders that can add routes 7 years ago
Torkel Ödegaard 80d694d205
Backend image rendering as plugin (#11966) 8 years ago
Dan Cech 1c5afa731f
shared library for managing external user accounts 8 years ago
Dan Cech c0ecdee375
rename Context to ReqContext 8 years ago
Dan Cech 338655dd37
move Context and session out of middleware 8 years ago
Torkel Ödegaard 0e61a670bb fix: error handling now displays page correctly, fixes #10777 8 years ago
Torkel Ödegaard a8a5f8181b fix: viewers can edit now works correctly 8 years ago
bergquist 2de94d6548 convert old metrics to prom metrics 8 years ago
Torkel Ödegaard e8a20643d6 feat: store last seen date for users and present in stats and user lists, closes #9007 8 years ago