Commit Graph

335 Commits (d666defaea5786aca9672cff8b497b31d6ee1254)

Author SHA1 Message Date
Oleg Gaidarenko 62b85a886e
LDAP Refactoring to support syncronizing more than one user at a time. (#16705) 6 years ago
Oleg Gaidarenko db584b3d28
Chore: remove session storage references (#16445) 6 years ago
Oleg Gaidarenko 318182ccc9 Chore: refactor auth proxy (#16504) 6 years ago
Oleg Gaidarenko 67cbc7d4cf
Chore: use remote cache instead of session storage (#16114) 6 years ago
Leonard Gram 6589a4e55f teams: better names for api permissions. 6 years ago
Hugo Häggmark 782b5b6a3a teams: viewers and editors can view teams 6 years ago
Leonard Gram 22e098b830 teams: editors can work with teams. 6 years ago
Marcus Efraimsson 8029e48588
support get user tokens/revoke all user tokens in UserTokenService 6 years ago
Johannes Schill a81d5486b0 Viewers with viewers_can_edit should be able to access /explore (#15787) 6 years ago
bergquist 8a3a3cccc3 moves metric package to /infra 6 years ago
bergquist e163aadfe4 use authtoken for session quota restrictions 6 years ago
bergquist 1310d356fc removes unused session code 6 years ago
Marcus Efraimsson 836501186f
fix 6 years ago
Marcus Efraimsson 8678620730
move UserToken and UserTokenService to models package 6 years ago
Marcus Efraimsson a60124a88c
change UserToken from interface to struct 6 years ago
Marcus Efraimsson 44275d9660
middleware fix 6 years ago
Marcus Efraimsson 871c84d195
changes needed for api/middleware due to configuration settings 6 years ago
Marcus Efraimsson d53e64a32c
move auth token middleware/hooks to middleware package 6 years ago
bergquist 88ca54eba9 renames signout function 6 years ago
bergquist 43ac79685a delete auth token on signout 6 years ago
Mario Trangoni b7628f2060 pkg/util/{filepath.go,shortid_generator.go}: Fix golint issues 6 years ago
bergquist 9ae306e417 use defer to make sure we always release session data 6 years ago
bergquist f257101c41 removes unused/commented code 6 years ago
bergquist 5998646da5 restrict session usage to auth_proxy 6 years ago
bergquist c3ff3d644c fixes nil ref in tests 6 years ago
Marcus Efraimsson 59d0c19ba8
passing middleware tests 6 years ago
Marcus Efraimsson 4096449aec
extract auth token interface and remove auth token from context 6 years ago
bergquist 55b3013eb3 moves initWithToken to auth package 6 years ago
Marcus Efraimsson 734a7d38b2
set cookie name from configuration 6 years ago
Marcus Efraimsson 0d1e3759eb
mixor fixes 6 years ago
Marcus Efraimsson f3125b447b
dead code 6 years ago
bergquist 47a7d93fd9 moves rotation into auth since both happens before c.Next() 6 years ago
bergquist fd937e3d95 remove maxage from session token 6 years ago
Marcus Efraimsson 81879f0162
fix broken code 6 years ago
Marcus Efraimsson 97c7963f17
fix cannot set cookie when response is written 6 years ago
bergquist c2accfa4c0 inital code for rotate 6 years ago
bergquist aba6148c43 login users based on token cookie 6 years ago
Jacob Richard 34d3086ec8 Adding tests for auth proxy CIDR support 7 years ago
Jacob Richard 0b50582b56 Adding CIDR capability to auth_proxy whitelist 7 years ago
Torkel Ödegaard 34c70ca7ce fix for issue with error view in production builds 7 years ago
Torkel Ödegaard b415d82611 fixed to template PR issues, #13938 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
Mario Trangoni dde650905d Fix megacheck issue unused code. 7 years ago
bergquist 12c9860882 string formating fixes 7 years ago
Marcus Efraimsson 8af5da7383
Revert "auth proxy: use real ip when validating white listed ip's" 7 years ago
Dan Cech 3056d9a80e support passing api token in Basic auth password (#12416) 7 years ago
Marcus Efraimsson b418e14bd9
make sure to use real ip when validating white listed ip's 7 years ago
Torkel Ödegaard 80d694d205
Backend image rendering as plugin (#11966) 7 years ago