Commit Graph

1776 Commits (b94de101cd95b23f0266cd61e311f09ae8ad7592)

Author SHA1 Message Date
bergquist 11c4967bdc changes some info logging to debug 7 years ago
Torkel Ödegaard 9a598be4f7 Fixed failing unit test 7 years ago
Torkel Ödegaard a2dd6f378f fixed sqlite issue introduced by #14709 7 years ago
Mario Trangoni b7628f2060 pkg/util/{filepath.go,shortid_generator.go}: Fix golint issues 7 years ago
Mario Trangoni 8261613b51 pkg/util/{ip.go,url.go}: Fix some golint issues 7 years ago
bergquist e218cc7637 docs: updates docs to refer to using uid 7 years ago
bergquist 7c93335d28 gofmt issue 7 years ago
bergquist 809019d4ee moves test files into testdata folder 7 years ago
bergquist 8f0e65a150 renames alert_notifications -> notifiers 7 years ago
bergquist 21fff415ed removes unnessecary db request 7 years ago
bergquist 935da14f7d tab/spaces formatting 7 years ago
bergquist 364154d81f moves timeout tests to an integration test 7 years ago
Vlad Ellis 9692955d4f
Correct formatting of sqlstore_test.go 7 years ago
Mario Trangoni bf90ff87cf pkg/services/dashboards/dashboard_service.go: simplify return 7 years ago
Vlad Ellis c208186f26 Parse database host correctly when using IPv6 7 years ago
bergquist 75760aa892 dont specify domain for auth cookies 7 years ago
bergquist d6edaa1328 moves cookie https setting to [security] 7 years ago
bergquist 516037fbdd makes sure rotation is always higher than urgent rotation 7 years ago
bergquist fd0f9f2dd2 fixes broken test 7 years ago
bergquist ff483f3782 removes old cookie auth configuration 7 years ago
bergquist 56a521b264 makes auth token rotation time configurable 7 years ago
bergquist 5998646da5 restrict session usage to auth_proxy 7 years ago
bergquist c3ff3d644c fixes nil ref in tests 7 years ago
bergquist 64124b5042 add setting for how to long we should keep expired tokens 7 years ago
bergquist 12f8338977 stores hashed state code in cookie 7 years ago
bergquist d3ec8e1ccb creates new config section for login settings 7 years ago
Marcus Efraimsson 4096449aec
extract auth token interface and remove auth token from context 7 years ago
Marcus Efraimsson 366e356e08
more auth token tests 7 years ago
bergquist 777bd9ea18 adds cleanup job for old session tokens 7 years ago
Marcus Efraimsson f040f9a400
fix tests after renaming now 7 years ago
Marcus Efraimsson 38efc1d7d2
s/print/log 7 years ago
bergquist 92620af75f avoid calling now() multiple times 7 years ago
Marcus Efraimsson dd8476d81a
passing auth token tests 7 years ago
Marcus Efraimsson 565408194a
handle expired tokens 7 years ago
bergquist 697ddccd8e set userToken on request when logging in 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 766cfab374
change rotate time 7 years ago
Marcus Efraimsson 0d1e3759eb
mixor fixes 7 years ago
bergquist 2e97d39abe removes commented code 7 years ago
bergquist 47a7d93fd9 moves rotation into auth since both happens before c.Next() 7 years ago
sharkpc0813 35013a28cd add timeout test for alert handling. 7 years ago
bergquist fd937e3d95 remove maxage from session token 7 years ago
bergquist c2accfa4c0 inital code for rotate 7 years ago
bergquist aba6148c43 login users based on token cookie 7 years ago
Pavel Bakulev f461d52004 Converted notification id to uid via fmt for old alert notification settings 7 years ago
Pavel Bakulev 2de32756c2 Returned id for alert notifications which were created without uid 7 years ago
Pavel Bakulev 4bcace567b Formatted errors to err 7 years ago
Pavel Bakulev d0370ea7ad Using func InitNotifier for verifying notification settings 7 years ago
Pavel Bakulev f132e929ce Added uid for alert notifications 7 years ago