Carl Bergquist
862cd473eb
HttpServer: Make read timeout configurable but disabled by default ( #31575 )
...
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-03-19 11:21:52 +01:00
Tania B
ea484312a0
Fix loading timezone info on windows ( #32029 )
...
* Fix loading timezone info on windows
* Move setting zoneinfo to config load
* Construct proper file path
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-19 11:14:49 +02:00
Ryan McKinley
9dd1d5f553
Cloudwatch: use shared library for aws auth ( #29550 )
...
* use sdk for handling auth
* fix broken test
* lint fixes
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2021-03-12 14:30:21 +01:00
Arve Knudsen
47f13abf7a
Backend: Migrate to using non-global configuration ( #31856 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-10 12:41:29 +01:00
Arve Knudsen
04e9f6c24f
UsageStatsService: Don't use global state ( #31849 )
...
* UsageStatsService: Don't use global state
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-10 10:14:00 +01:00
Erik Sundell
d512c5a1b4
Cloudwatch: ListMetrics API page limit ( #31788 )
...
* add list metrics api page limit
* Update docs/sources/datasources/cloudwatch.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-03-10 07:41:22 +01:00
Carl Bergquist
3b36636318
Annotations: Make the annotation clean up batch size configurable ( #31487 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-03-08 14:16:07 +01:00
Arve Knudsen
b79e61656a
Introduce TSDB service ( #31520 )
...
* Introduce TSDB service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-03-08 07:02:49 +01:00
Erik Sundell
1b149523ed
AWS: Add aws plugin configuration ( #31312 )
...
* add new conf and make sure its passed to frontend
* change auth provider name
* goimports
* fixed after feedback
* more updates after feedback
* Update docs/sources/administration/configuration.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update conf/sample.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* updates after pr feedback
* Update conf/defaults.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update conf/defaults.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update conf/sample.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-24 18:08:13 +01:00
Agnès Toulet
7f1f559929
Permissions: Fix team and role permissions on folders/dashboards not displayed for non Grafana Admin users ( #31132 )
...
* Cfg: fix hidden users initialization
* add tests
* do not call isHiddenUser function for non-user permission
* do not call isHiddenUser function for non-user permission
2021-02-12 16:08:18 +01:00
Arve Knudsen
b99127be82
PluginManager: Remove some global state ( #31081 )
...
* PluginManager: Remove global state
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-10 13:31:47 +01:00
Carl Bergquist
d1b9fddb4f
Usage stats: Adds source/distributor setting ( #31039 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-02-10 10:07:32 +01:00
Torkel Ödegaard
64254eaa82
CDN: Fixes cdn path when Grafana is under sub path ( #30822 )
2021-02-02 12:34:59 +01:00
Torkel Ödegaard
c04bc805b5
CDN: Adds support for serving assets over a CDN ( #30691 )
...
* CDN: Initial poc support for serving assets over a CDN
* Minor fix
* added build path and test
* fix lint error
* Added edition to cdn path
* Move master builds to a separate path
* Added error handling for the url parsing, changed setting name, and added docs
* Updated sample.ini
* Some property renames
* updated
* Minor update to html
* index template improvements
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Added ContentDeliveryPrefix to Licence service
* updated docs
* Updated test mock
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-02-01 10:13:09 +01:00
Sofia Papagiannaki
9ada4b6052
Expressions: Add option to disable feature ( #30541 )
...
* Expressions: Add option to disable feature
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-01-22 19:27:33 +02:00
Kyle Brandt
d4edcd1838
Expressions: Remove feature toggle ( #30316 )
...
* Expressions: remove feature toggle, add experimental badge
* Make button only show for backend and mixed data sources
Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-01-19 14:18:06 -05:00
Arve Knudsen
50b649a869
Middleware: Add CSP support ( #29740 )
...
* Middleware: Add support for CSP
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored by @iOrcohen
2021-01-12 07:42:32 +01:00
Arve Knudsen
25048ebdf8
Chore: Add CloudWatch HTTP API tests ( #29691 )
...
* CloudWatch: Add HTTP API tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-07 11:36:13 +01:00
Sofia Papagiannaki
fd1b2904cd
Fix default maximum lifetime an authenticated user can be logged in ( #30030 )
2021-01-07 09:58:46 +02:00
Dafydd
08fbe345a9
Instrumentation: re-enable database wrapper feature to expose counter and histogram for database queries ( #29662 )
...
ref https://github.com/grafana/grafana/issues/29489
2021-01-07 08:21:35 +01:00
ying-jeanne
375e8e4fd0
SQLStore: customise the limit of retrieved datasources per organisation ( #29358 )
...
* SQLStore: customise the limit of retrieved datasources per organisation
* update all suggestions regarding nil or 0 as default
* Apply suggestions from code review
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* correct default.ini description + adding unittest
* Apply suggestions from code review
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
* modify unittest name
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-12-28 12:24:42 +01:00
Arve Knudsen
dd2d206d99
Backend: Remove more globals ( #29644 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-15 19:09:04 +01:00
Arve Knudsen
c2cad26ca9
Chore: Disable default golangci-lint filter ( #29751 )
...
* Disable default golangci-lint filter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Fix linter warnings
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-15 09:32:06 +01:00
Arve Knudsen
12661e8a9d
Move middleware context handler logic to service ( #29605 )
...
* middleware: Move context handler to own service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Emil Tullsted <sakjur@users.noreply.github.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-12-11 11:44:44 +01:00
Domas
7d9a528184
Logging: rate limit fronted logging endpoint ( #29272 )
...
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-12-09 16:22:24 +01:00
Arve Knudsen
f326b79cc1
Security: Add gosec G304 auditing annotations ( #29578 )
...
* Security: Add gosec G304 auditing annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* space
Signed-off-by: bergquist <carl.bergquist@gmail.com>
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: bergquist <carl.bergquist@gmail.com>
2020-12-03 22:13:06 +01:00
Hugo Häggmark
1581d04e65
Chore: Adds Panel Library featuretoggle ( #29521 )
2020-12-02 08:47:04 +01:00
Agnès Toulet
22788d1d86
Add an option to hide certain users in the UI ( #28942 )
...
* Add an option to hide certain users in the UI
* revert changes for admin users routes
* fix sqlstore function name
* Improve slice management
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
* Hidden users: convert slice to map
* filter with user logins instead of IDs
* put HiddenUsers in Cfg struct
* hide hidden users from dashboards/folders permissions list
* Update conf/defaults.ini
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* fix params order
* fix tests
* fix dashboard/folder update with hidden user
* add team tests
* add dashboard and folder permissions tests
* fixes after merge
* fix tests
* API: add test for org users endpoints
* update hidden users management for dashboard / folder permissions
* improve dashboard / folder permissions tests
* fixes after merge
* Guardian: add hidden acl tests
* API: add team members tests
* fix team sql syntax for postgres
* api tests update
* fix linter error
* fix tests errors after merge
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
2020-11-24 12:10:32 +01:00
Carl Bergquist
702cb90846
make it possible to hide change password link in profile menu ( #29246 )
...
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-11-20 17:01:10 +01:00
Arve Knudsen
4dd7b7a82d
Chore: Remove unused Go code ( #28852 )
...
* Chore: Remove more unused Go code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:51:31 +01:00
Arve Knudsen
cb62e69997
Chore: Convert API tests to standard Go lib ( #29009 )
...
* Chore: Convert tests to standard Go lib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-11-13 09:52:38 +01:00
Domas
76df096791
Logging: Log frontend errors ( #28073 )
...
* basic frontend Sentry integration
* backend endpoint to capture sentry events
* WIP!
* log user email for frontend logs
* remove debug logging
* lint fixes
* Fix type exports & property names
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* additional struct naming fix
* rename log endpoint, config section & interface
* add sentry sample rate to config
* refac to use EchoSrv
* log user id
* backend tests
* tests for SentryEchoBackend
* sentry echo backend tests
* CustomEndpointTransport tests
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update conf/defaults.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* don't export unnecesasrily
* update go.sum
* get rid of Convey in tests, use stdlib
* add sentry config to sample.ini
* cleanup to set orig logging handler in test
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* PR feedback changes
* lock sentry version
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 12:29:43 +01:00
Arve Knudsen
ef2de2d357
setting: Fix tests on Mac ( #28886 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-09 14:39:56 +01:00
Arve Knudsen
676d393ec9
Chore: Fix issues reported by staticcheck; enable stylecheck linter ( #28866 )
...
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply suggestions from code review
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-05 15:37:11 +01:00
Arve Knudsen
3d3a7cbba8
Chore: Fix staticcheck issues ( #28860 )
...
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Fix issues reported by staticcheck
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 13:07:06 +01:00
Alex Khomenko
9b90ff2961
Disable selecting enterprise plugins with no license ( #28758 )
...
* Add unlicensed property to plugins
* Disable selecting unlicensed plugin
* Add customizable plugin market place url
* License: workaround enabled only in enterprise
* linter
* Move licensing info to front end
* Update pkg/services/licensing/oss.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/licensing/oss.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/api/frontendsettings.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update sample.ini
* Update docs
* Update packages/grafana-runtime/src/config.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/datasources/state/buildCategories.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update pkg/api/frontendsettings.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/setting/setting.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix spelling
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-11-05 12:55:40 +02:00
Arve Knudsen
dff84f6a31
Chore: Remove dead code ( #28664 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 11:00:00 +01:00
Arve Knudsen
494c20db5f
gtime: Add ParseDuration function ( #28525 )
...
* gtime: Make calculations independent of current time
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Introduce gtime.ParseDuration function
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* gtime: Fix ParseDuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-02 19:26:19 +01:00
Carl Bergquist
edbaa9d681
Instrumentation: Add histogram for request duration ( #28364 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-10-20 09:44:38 +02:00
Carl Bergquist
74d1d3c6a8
Instrumentation: Add counters and histograms for database queries ( #28236 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 20:06:12 +02:00
Carl Bergquist
89ebb97fca
Instrumentation: Adds environment_info metric ( #28355 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 16:58:16 +02:00
Will Browne
a189cd1832
Users: Expire old user invites ( #27361 )
...
* expire with existng cleanup service
* expire with new temp user service
* make Drone happy :)
* add expiry status
* remove other approach
* cleanup
* add test for idempotency
* add migration from datetime to unix ts
* update cmd names
* change lifetime config to duration
* remove unnecessart formatting
* add comment
* update docs
* remove max bound and introduce min error
* simplify sql
* remove comment
* allow any outstanding to exist for at least 24 hours
* revert created ts change
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* add extra state check to cleanup step
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-13 12:30:09 +02:00
Sofia Papagiannaki
4acbcd7053
AlertingNG: POC of evaluator under feature flag. ( #27922 )
...
* New feature toggle for enabling alerting NG
* Initial commit
* Modify evaluate alert API request
* Check for unique labels in alert execution result dataframes
* Remove print statement
* Additional minor fixes/comments
* Fix lint issues
* Add API endpoint for evaluating panel queries
* Push missing renaming
* add refId for condition to API
* add refId for condition to API
* switch dashboard based eval to get method
* add from/to params to dashboard based eval
* add from/to params to eval endpoint
Co-authored-by: kyle <kyle@grafana.com>
2020-10-12 21:51:39 +03:00
Kyle Hinton
92c2a6c239
Fix: Add additional settings for dataproxy to help with network proxy timeouts ( #27841 )
...
* adding additional settings for datasource cache transport
* added documentation for the new changes
* fixing small typo in defaults.ini comment
* fixing small typo in configuration.md comment
* Update conf/defaults.ini keepalive comment per review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update conf/defaults.ini idle conn comment per review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update conf/defaults.ini anon user comment per review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/administration/configuration.md idle conn comment per review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* adding suggestions from papagian
* fixing configuration.md
* fixing configuration.md typo
* Apply suggestions from code review aknuds1
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* updating sample.ini
* Apply suggestions for docs from code review papagian
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
* Update docs/sources/administration/configuration.md fix typo
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-10-12 11:36:47 +03:00
Alexander Zobnin
b55a51e270
SAML Single Logout ( #27995 )
...
* SAML: single logout WIP
* SAML: sign SAML requests
* SAML: remove unnecessary logs
* fix go mod file
* Docs: Single Logout
* SAML: use api endpoint for single logout
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* SAML: save context for single logout
* Chore: add SAML dependencies
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-08 17:42:55 +03:00
Will Browne
7d63b2c473
Auth: Add Sigv4 auth option to datasources ( #27552 )
...
* create transport chain
* add frontend
* remove log
* inline field updates
* allow ARN, Credentials + Keys auth in frontend
* configure credentials
* add tests and refactor
* update frontend json field names
* fix tests
* fix comment
* add app config flag
* refactor tests
* add return field for tests
* add flag for UI display
* update comment
* move logic
* fix config
* pass config through props
* update docs
* pr feedback and add docs coverage
* shorten settings filename
* fix imports
* revert docs changes
* remove log line
* wrap up next as round tripper
* only propagate required config
* remove unused import
* remove ARN option and replace with default chain
* make ARN role assume as supplemental
* update docs
* refactor flow
* sign body when necessary
* remove unnecessary wrapper
* remove newline
* Apply suggestions from code review
* PR fixes
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-08 10:03:20 +02:00
Arve Knudsen
a078e40238
Settings: Rename constants/variables to follow Go naming standards ( #28002 )
...
* settings: Rename constants/variables to follow Go naming standards
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-02 15:45:45 +02:00
Arve Knudsen
a5d9196a53
Chore/fix lint issues ( #27704 )
...
* Chore: Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-22 16:22:19 +02:00
Wouter Smeenk
39eba5065b
Dashboard: Support configuring default timezone via config file ( #27404 )
...
Add a default timezone that the administrator can set in the settings.
This setting is be used as default for the users timezone preference.
Can be used when creating Grafana instances without administrator
intervention, in order to give user the correct default timezone.
Fixes #25654
2020-09-15 15:20:53 +02:00
Hansuuuuuuuuuu
8d971ab2f2
Auth: Replace maximum inactive/lifetime settings of days to duration ( #27150 )
...
Allows login_maximum_inactive_lifetime_duration and
login_maximum_lifetime_duration to be configured using
time.Duration-compatible values while retaining backward compatibility.
Fixes #17554
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-09-14 15:57:38 +02:00