Daniel Lee
92388f7faf
session: update defaults for ConnMaxLifetime
...
to be the same as the 5.0.3 release defaults
2018-03-20 19:31:01 +01:00
Daniel Lee
3ca1e06509
session: fork Macaron mysql session middleware
...
This changes forks the mysql part of the Macaron session middleware.
In the forked mysql file:
- takes in a config setting for SetConnMaxLifetime (this solves wait_timeout
problem if it is set to a shorter interval than wait_timeout)
- removes the panic when an error is returned in the Exist function.
- retries the exist query once
- retries the GC query once
2018-03-16 01:19:28 +01:00
Daniel Lee
fe49182b9d
snapshots: fixes cleanup of old snapshots
...
Snapshot cleanup did not work due to time.Now syntax error. Added test
for it as well to catch any future errors.
Added error and debug logging so that it is possible to see any errors in the future.
Removed an unused configuration value and deprecated the remove expired snapshots
setting.
2018-02-22 16:12:16 +01:00
Marcus Efraimsson
3d1c624c12
WIP: Protect against brute force (frequent) login attempts ( #10031 )
...
* db: add login attempt migrations
* db: add possibility to create login attempts
* db: add possibility to retrieve login attempt count per username
* auth: validation and update of login attempts for invalid credentials
If login attempt count for user authenticating is 5 or more the last 5 minutes
we temporarily block the user access to login
* db: add possibility to delete expired login attempts
* cleanup: Delete login attempts older than 10 minutes
The cleanup job are running continuously and triggering each 10 minute
* fix typo: rename consequent to consequent
* auth: enable login attempt validation for ldap logins
* auth: disable login attempts validation by configuration
Setting is named DisableLoginAttemptsValidation and is false by default
Config disable_login_attempts_validation is placed under security section
#7616
* auth: don't run cleanup of login attempts if feature is disabled
#7616
* auth: rename settings.go to ldap_settings.go
* auth: refactor AuthenticateUser
Extract grafana login, ldap login and login attemp validation together
with their tests to separate files.
Enables testing of many more aspects when authenticating a user.
#7616
* auth: rename login attempt validation to brute force login protection
Setting DisableLoginAttemptsValidation => DisableBruteForceLoginProtection
Configuration disable_login_attempts_validation => disable_brute_force_login_protection
#7616
2018-01-26 10:41:41 +01:00
bergquist
49673c509d
fixes broken phantomjs rendering
...
when migrating from govendor to dep we broke the phantomjs rendering.
ref #10602
2018-01-25 13:27:24 +01:00
bergquist
a4e4b76785
fixes log typo
2017-12-28 15:51:31 +01:00
bergquist
b840514797
imguploader: log if the configuration is invalid
2017-12-28 15:48:19 +01:00
Carl Bergquist
35106537f2
Replace Read Only Editor role with ViewersCanEdit setting ( #10166 )
...
* removes readonly editor role
* adds viewersCanEdit setting
This enable you to allow viewers to edit/inspect
dashboards in grafana in their own browser without
allowing them to save dashboards
* remove read only editor option from all dropdowns
* migrates all read only viewers to viewers
* docs: replace readOnlyEditor with viewersCanEdit
2017-12-13 18:53:42 +01:00
bergquist
2e610cb256
dashboards as cfg: move dash/ds config files to /provisioning/*
2017-12-07 15:27:01 +01:00
bergquist
361acd3fa1
dashboards as cfg: include cfg files in dist packages
2017-12-07 15:27:01 +01:00
bergquist
d69b63cbc0
dashboards as cfg: read first cfg version
2017-12-07 15:27:01 +01:00
Torkel Ödegaard
aaa465a100
Merge branch 'feat-9671' of https://github.com/alexanderzobnin/grafana into alexanderzobnin-feat-9671
2017-11-17 14:16:49 +01:00
bergquist
ebbfc529e0
datasource as cfg: support globbing
2017-11-15 14:30:32 +01:00
bergquist
665df676a5
datasource as cfg: rename feature to provisioning
2017-11-15 14:30:32 +01:00
bergquist
c9bfa781fd
datasource as cfg: improve name for this feature
2017-11-15 14:30:32 +01:00
bergquist
ba4bbd1d47
datasource as cfg: refactor tests to use yaml files
2017-11-15 14:30:32 +01:00
bergquist
3f0eb52389
datasource as cfg: ignore datasource all ready exist for inserts
2017-11-15 14:30:32 +01:00
bergquist
5910411845
datasource as cfg: add support for securedata field
2017-11-15 14:30:32 +01:00
bergquist
930da63173
datasource as cfg: setting for purging datasources not in cfg
2017-11-15 14:30:32 +01:00
bergquist
0f29b8ac83
datasources as cfg: tests for insert/updating datasources
2017-11-15 14:30:32 +01:00
bergquist
39b6c04643
datasource as cfg: basic implementation
2017-11-15 14:30:32 +01:00
Alexander Zobnin
a0a1f4aacd
dashboard history: refactor after review
2017-11-15 13:36:36 +03:00
Alexander Zobnin
08e2bbef83
dashboard history: clean up dashboard version history
2017-11-14 18:22:18 +03:00
Matt Bostock
16c5d0e4b7
Always verify TLS unless explicitly told otherwise
...
TLS was not being verified in a number of places:
- connections to grafana.com
- connections to OAuth providers when TLS client authentication was
enabled
- connections to self-hosted Grafana installations when using the CLI
tool
TLS should always be verified unless the user explicitly enables an
option to skip verification.
Removes some instances where `InsecureSkipVerify` is explicitly set to
`false`, the default, to help avoid confusion and make it more difficult
to regress on this fix by accident.
Adds a `--insecure` flag to `grafana-cli` to skip TLS verification.
Adds a `tls_skip_verify_insecure` setting for OAuth.
Adds a `app_tls_skip_verify_insecure` setting under a new `[plugins]`
section.
I'm not super happy with the way the global setting is used by
`pkg/api/app_routes.go` but that seems to be the existing pattern used.
2017-10-06 17:09:27 +01:00
Torkel Ödegaard
0c86241c5b
Webpack ( #9391 )
...
* webpack poc, this is not going to work for plugins, dam
* tech: webpack and systemjs for plugins starting to work
* tech: webpack and systemjs combo starting to work
* tech: webpack + karma tests progress
* tech: webpack + karma progress
* tech: working on tests
* tech: webpack
* tech: webpack + karma, all tests pass
* tech: webpack + karma, all tests pass
* tech: webpack all tests pass
* webpack: getting closer
* tech: webpack progress
* webpack: further build refinements
* webpack: ng annotate fixes
* webpack: optimized build fix
* tech: minor fix for elasticsearch
* tech: webpack + ace editor
* tech: restored lodash move mixin compatability
* tech: added enzyme react test and upgraded to react v16
* tech: package version fix
* tech: added testdata to built in bundle
* webpack: sass progress
* tech: prod & dev build is working for the sass
* tech: clean up unused grunt stuff and moved to scripts folder
* tech: added vendor and manifest chunks, updated readme and docs
* tech: webpack finishing touches
2017-10-01 20:02:25 +02:00
Tobias Hintze
af79d046db
introduce smtp config option for EHLO identity
2017-09-24 20:48:20 +02:00
Torkel Ödegaard
73563d087c
feat: more work on #8768
2017-07-31 14:39:33 +02:00
Torkel Ödegaard
23558c61d4
feat: wip work on #8768
2017-07-31 13:03:42 +02:00
Daniel Lee
8973b48f96
setting: add tests for windows
2017-06-28 09:35:33 +02:00
Anton Yackushev
bab21c9069
misspell: Corrected some misspelled words
2017-06-05 15:20:34 +03:00
Torkel Ödegaard
c34db77f04
grafana_com: changed name of oauth grafana_net integration (old settings names still work), and updated login button look, closes #8415
2017-05-22 14:56:50 +02:00
Mitja Z
c92d719a72
added support for listening on unix socket #4030 ( #8221 )
2017-04-27 08:54:21 +02:00
Dan Cech
b489e93d94
Config Array Syntax ( #8204 )
...
* refactor util encryption library so it doesn't have to import log
* add util.SplitString to handle space and/or comma-separated config lines
* go fmt
2017-04-25 09:14:29 +02:00
Seuf
319b8d8fca
Configurable signout menu activation ( #7968 )
2017-03-29 11:33:28 +02:00
Torkel Ödegaard
4d4e165be7
links: updated links from grafana.net to grafana.com
2017-03-20 10:20:32 +01:00
Jacob Bednarz
90cbfacacf
Add FromName
to SmtpSettings struct
...
Updates the `SmtpSettings` struct to include a value for setting the
name of the email sender.
2017-02-15 07:45:28 +11:00
bergquist
5dd961c0f5
settings: remove commented code
2017-02-10 07:39:26 +01:00
Torkel Ödegaard
40d39f8a3e
refactor(): renaming alerting hide ui option, #7318
2017-01-25 13:32:26 +01:00
Torkel Ödegaard
fee4846429
Merge branch 'alerting_ui' of https://github.com/smalik03/grafana into smalik03-alerting_ui
2017-01-25 13:16:48 +01:00
smalik
9862c9ff40
feat(alerting): Show/hide alerting UI using configuration variable
...
Use configuration variable "show_alerting_ui" to show/hide alerting UI
2017-01-20 10:43:29 -05:00
bergquist
06440ef57b
tech(dataproxy): moves cfg to [dataproxy]
2017-01-16 12:43:59 +01:00
bergquist
839eb97061
Merge branch 'feature/dataProxyAuditLog' of https://github.com/Ricky-N/grafana into Ricky-N-feature/dataProxyAuditLog
2017-01-16 12:02:43 +01:00
Ricky Niemi
0b48e48e3d
Small whitespace fix on setting file
2017-01-11 07:51:46 -08:00
Ricky Niemi
269d16301a
Rename to audit logging to data proxy logging
2017-01-11 07:40:06 -08:00
Ricky Niemi
0fee7c863a
Gate data proxy audit logging behind audit_logging server setting
2017-01-11 07:22:57 -08:00
Mitsuhiro Tanda
7e4c101d02
S3 IAM support ( #7058 )
...
* add s3 dependencly
* rewrite image uploader by aws-sdk-go
* improve backward compatibility of s3 image uploading
* set default for expires option
* remove acl and expires
2017-01-11 14:00:49 +01:00
Torkel Ödegaard
6e27db148c
Merge branch 'authproxy_ldap' of https://github.com/seuf/grafana into seuf-authproxy_ldap
2016-12-14 21:45:15 +01:00
Seuf
ae27c17c68
Auth Proxy improvements
...
- adds the option to use ldap groups for authorization in combination with an auth proxy
- adds an option to limit where auth proxy requests come from by configure a list of ip's
- fixes a security issue, session could be reused
2016-12-12 09:43:17 +01:00
Torkel Ödegaard
88e1d56bc2
fix(logging): added extra logging when default config file is not found (ie homepath is not correct), fixes #6829
2016-12-06 07:36:10 +01:00
bergquist
ab2f109443
fix(config): error message for broken config file
...
closes #6731
2016-11-28 17:55:18 +01:00
Torkel Ödegaard
ea5cb0d076
fix(server side rendering): Fixed address used when rendering panel via phantomjs and using non default http_addr config, fixes #6660
2016-11-23 15:35:43 +01:00
bergquist
5dea0fda51
fix(settings): remove nil pointer exception
2016-11-18 16:43:14 +01:00
Eric Uldall
658fc1a67a
added hosted domain suppport to google oauth login ( #6372 )
2016-10-28 12:00:47 +02:00
Carl Bergquist
7bdedff89c
feat(plugins): make sure windows data plugin path is absolute ( #6264 )
2016-10-13 15:36:35 +02:00
Dan Cech
6b16fcea52
Oauth2 Updates ( #6226 )
...
* break out go and js build commands
* support oauth providers that return errors via redirect
* remove extra call to get grafana.net org membership
* removed GitHub specifics from generic OAuth
* readded ability to name generic source
* revert to a backward-compatible state, refactor and clean up
* streamline oauth user creation, make generic oauth support more generic
2016-10-11 08:51:44 +02:00
bergquist
04f417a423
feat(alerting): enabled by default. configurable elert engine
...
closes #6210
2016-10-10 13:09:16 +02:00
Eric Perrino
d3b0905899
Added allow_sign_up setting to auth.ldap to be able to disable automatic user creation for LDAP logins ( #6191 )
2016-10-07 08:49:58 +02:00
Torkel Ödegaard
5f5bbfbda5
Merge branch 'master' of github.com:grafana/grafana
2016-09-28 21:12:37 +02:00
Torkel Ödegaard
c28d004731
Merge branch 'go_routines'
2016-09-28 21:06:07 +02:00
Torkel Ödegaard
71e2c6f6ef
refactor(backend): refactoring management of go routines in backend
2016-09-28 21:06:00 +02:00
Dan Cech
6d7061dcaf
fix typo in config loader
2016-09-28 13:10:31 -04:00
Torkel Ödegaard
2750c8a801
feat(config): changed name of allow_user_login_pass to disable_login_form, changed the section of the config option to [auth], impacts merged PR #5423
2016-09-28 15:27:08 +02:00
Torkel Ödegaard
e5fc4332cd
feat(oauth): refactoring PR #6077
2016-09-28 15:10:50 +02:00
Torkel Ödegaard
5ccdbf01fd
merge with master
2016-09-28 13:02:15 +02:00
bergquist
dbb7852f21
feat: purge old files and snapshots
...
closes #4087
closes #2172
2016-09-26 14:33:40 +02:00
Dan Cech
fc17ed351c
support logging in with grafana.net credentials
2016-09-19 16:48:07 -04:00
Torkel Ödegaard
23de094a81
feat(alerting/annotations): fixed broken test
2016-09-08 13:22:30 +02:00
bergquist
4646723cbb
Merge branch 'custom-github-style-oauth' of https://github.com/kfitzpatrick/grafana into kfitzpatrick-custom-github-style-oauth
2016-09-07 08:15:44 +02:00
paulroche
5ba6bab237
redact provider_config ( #5915 )
2016-08-27 09:50:35 +02:00
bergquist
26c6437846
Merge branch 'master' into alerting
2016-08-22 12:27:08 +02:00
bergquist
c663e32ea8
Merge branch 'database_url' of https://github.com/Scalingo/grafana into Scalingo-database_url
2016-08-19 13:15:44 +02:00
bergquist
99e99922b4
feat(alerting): add support for uploading images to webdav.
...
closes #5770
2016-08-11 16:48:54 +02:00
Torkel Ödegaard
2b276d5cd1
feat(alerting): working on alert notification and image rendering
2016-07-30 13:36:21 +02:00
Torkel Ödegaard
d9096110f8
Merge branch 'master' into alerting
...
Conflicts:
pkg/api/dashboard.go
pkg/models/dashboards.go
pkg/services/sqlstore/dashboard.go
2016-07-11 18:28:07 +02:00
Andris Raugulis
1c293781e3
Log to default log directory, only if custom configuration failed. ( #5393 )
2016-06-30 16:37:06 -07:00
Kevin Fitzpatrick
b4646b6c3a
Allow users to use a generic oauth that conforms to the github style.
...
Enables users to set their own link text.
2016-06-30 15:07:55 -07:00
Soulou
aa064b18e8
Test environment override for secret and url with credentials
2016-06-29 13:49:41 +02:00
bergquist
690a74c6b7
feat(login): invert naming for dissallow user pass login
2016-06-25 16:30:41 +02:00
Kevin Fitzpatrick
040586604b
Allow configuration to disable the username and password login interface.
...
Used for when admins only want users to login via OAuth.
2016-06-23 10:09:13 -07:00
bergquist
8ec311ade4
Merge branch 'master' into alerting
2016-06-16 16:29:41 +02:00
Torkel Ödegaard
ec0b09450c
Merge branch 'export-dashboard'
...
Conflicts:
conf/defaults.ini
pkg/setting/setting.go
public/app/core/components/grafana_app.ts
public/app/core/core.ts
public/app/features/dashboard/dashboardCtrl.js
2016-06-16 08:06:43 +02:00
Torkel Ödegaard
0667d73660
Merge branch 'new-logger' into alerting_definitions
...
Conflicts:
pkg/api/api.go
pkg/setting/setting.go
2016-06-07 13:31:56 +02:00
Torkel Ödegaard
a02cf5beb7
feat(logging): added loging filters
2016-06-07 12:11:41 +02:00
Torkel Ödegaard
9741af2031
feat(logging): progress on new logging #4590
2016-06-07 09:29:47 +02:00
Torkel Ödegaard
22778e6efd
feat(logging): a lot of progress on moving to new logging lib, #4590
2016-06-06 23:06:44 +02:00
Torkel Ödegaard
f36a44c49a
Merge branch 'master' into alerting_definitions
...
Conflicts:
conf/defaults.ini
pkg/api/dashboard.go
2016-06-06 08:43:01 +02:00
Torkel Ödegaard
6b2a4fe8e8
feat(instrumentation): work on settings model for internal metrics publishing, #4696
2016-06-02 14:32:17 +02:00
Torkel Ödegaard
540def2c39
feat(import): working on unit tests for import ctrl
2016-05-27 13:52:19 +02:00
bergquist
ef4f5147be
Merge branch 'master' into alerting_definitions
2016-05-19 08:05:35 +02:00
Torkel Ödegaard
b6dcf6bd02
Merge branch 'v3.0.x'
2016-05-18 14:23:59 +02:00
Torkel Ödegaard
d474eba53a
fix(logging): fixed reading config level from config file, fixes #5079
2016-05-18 14:18:08 +02:00
Torkel Ödegaard
495404ef73
Merge branch 'master' into alerting_definitions
2016-05-16 14:12:56 +02:00
Anton Chevychalov
c6744925c4
Add new parameter to config: default_theme.
2016-05-12 18:21:11 +03:00
bergquist
6d66d9f42d
feat(alerting): adds fearture toogle for alerting
2016-04-29 14:35:58 +02:00
Torkel Ödegaard
b4a8c227cc
feat(update checks): started work on update checks
2016-04-11 12:21:48 -04:00
Tom Dyas
d557beb5f1
redact settings containing 'secret' besides 'password'
...
Ensure that settings with the word 'secret' in the name are redacted just
as ones with 'password' in the name are. For example, the Google Auth
client secret should be redacted now.
2016-03-01 13:50:45 -05:00
Robert McLeod
4c3048964d
removed unused import: errors
2016-02-19 16:09:40 +13:00
Robert McLeod
cacf14a41e
Fixed bug that wasn't showing the StaticRootPath when validation failed
2016-02-19 16:00:51 +13:00
bergquist
4fe72ebf69
feat(macaron): upgrades macaron version
2016-01-13 15:11:23 +01:00
Carl Bergquist
333f9101a0
Merge pull request #3458 from improbable-io/use-memcache-for-session
...
Add memcache as session provider
2015-12-17 15:56:15 +01:00
Torkel Ödegaard
f83d5f4280
cleanup(influxdb_08): removed influxdb 0.8 data source as an built in official data source, moved it to an external plugin repo, https://github.com/grafana/datasource-plugin-influxdb-08 , closes #3523
2015-12-15 11:21:00 +01:00
Torkel Ödegaard
2ec5bc77d7
Merge branch 'external-plugins'
2015-12-15 10:10:48 +01:00
Carl Bergquist
280f9befae
Merge pull request #2949 from shoonoise/master
...
Add option to hide raintank share button
Fixes #2727
2015-12-14 17:29:09 +01:00
Torkel Ödegaard
201f50b121
Merge branch 'master' into external-plugins
...
Conflicts:
pkg/api/login.go
public/app/core/routes/all.js
public/app/core/table_model.ts
public/app/panels/table/table_model.ts
public/app/plugins/panels/table/editor.ts
public/app/plugins/panels/table/table_model.ts
2015-12-14 17:28:57 +01:00
carl bergquist
fab1062c0b
Merge branch 'ldap_login_hints' of https://github.com/tmonk42/grafana into tmonk42-ldap_login_hints
...
Conflicts:
conf/defaults.ini
pkg/setting/setting.go
closes #2571
closes #2494
2015-12-11 15:16:57 +01:00
Carl Bergquist
225e7a6a32
Merge pull request #3161 from mischief/syslog
...
syslog support closes #3160
2015-12-11 14:03:21 +01:00
Daniel Low
ed16914715
Add memcache as session provider
2015-12-08 13:35:09 +00:00
Torkel Ödegaard
67dc761344
fix(security): do not print ENV config values when they are passwords, fixes #3337
2015-12-04 10:38:27 +01:00
Torkel Ödegaard
65a7fa320a
feat(plugins): made plugins that live outside public work
2015-11-19 16:50:17 +01:00
Nick Owens
60e797ccc4
pkg/setting: integrate syslog logger settings
2015-11-07 18:35:57 -08:00
shoonoise
b4a2b96e32
Add options to manage snapshot publishing
2015-10-29 16:40:03 +03:00
ctdk
d37e18fdcf
Add config option to strip (most) colors from console logs
2015-10-01 13:16:23 -07:00
Torkel Ödegaard
6a30511fc4
Merge branch 'quotas' of https://github.com/raintank/grafana into raintank-quotas
2015-09-15 14:23:13 +02:00
woodsaj
86ed85aa6e
move toMap function to be a method on the quota structs
2015-09-15 17:18:26 +08:00
Torkel Ödegaard
64973f1d57
fix(settings): another attempt at fixing, #2736
2015-09-14 15:54:35 +02:00
Torkel Ödegaard
d7bfb727b0
fix(settings): reverted prev settings fix for detecting public_gen folder in dev, caused issue for prod build
2015-09-14 13:42:23 +02:00
Torkel Ödegaard
d17f8538b2
fix(backend): made public_gen detection more bullet proof, #2731
2015-09-13 15:23:23 +02:00
woodsaj
6488324cf1
enhance quota support.
...
now includes:
- perOrg (users, dashboards, datasources, api_keys)
- perUser (orgs)
- global (users, orgs, dashboards, datasources, api_keys, sessions)
2015-09-11 23:17:10 +08:00
Torkel Ödegaard
8174b9f041
fix(tests): fixed failling backend test
2015-09-11 08:58:45 +02:00
Torkel Ödegaard
286b4c0e46
Merge branch 'typescript'
2015-09-11 08:01:11 +02:00
woodsaj
852f9bd277
refactor quota settings
2015-09-11 01:47:33 +08:00
Torkel Ödegaard
0b5f40e66c
tech(): made config system check for generated css or javascript files and panic if there are none, also if there is a public_gen directory it will use that, even if static root is set to public
2015-09-10 13:34:32 +02:00
Torkel Ödegaard
9603dce469
feat(dataproxy): added whitelist setting and feature for data proxies, closes #2626
2015-09-09 17:21:25 +02:00
Mat Schaffer
6c04ee1abd
Iterate over the right env override list variable
2015-09-01 11:11:54 +09:00
Torkel Ödegaard
d19e101e6b
feat(signup): almost done with new sign up flow, #2353
2015-08-31 11:35:07 +02:00
Torkel Ödegaard
d25624a8ad
feat(signup): began work on new / alternate signup flow that includes email verification, #2353
2015-08-27 13:59:58 +02:00
Torkel Ödegaard
3d37c9c9a3
feat(tagmanager): support to add google tagmanager id, closes #2569
2015-08-21 09:30:39 +02:00
Haneysmith, Nathan
235bbc9c7e
custom login hints via config file
2015-08-20 11:15:36 -07:00
woodsaj
c138f390ac
close all existing loggers before re-initilizing loggers. fixes #2533
2015-08-17 15:59:40 +08:00
Brandon Turner
1e2e65b40d
Allow default org role to be Read Only Editor
2015-08-05 23:04:47 -05:00
Dieter Plaetinck
0f7a77f45b
fix unknown key error formatting
2015-07-24 12:29:03 +02:00
Torkel Ödegaard
0b5ba55131
feat(ldap): work on reading ldap config from toml file, #1450
2015-07-15 10:08:23 +02:00
Torkel Ödegaard
a7b1df34c5
feat(ldap): more unit tests for ldap to grafana user sync
2015-07-14 10:20:30 +02:00
Torkel Ödegaard
2fa9311eee
Progress on ldap support, #1450
2015-07-13 16:45:47 +02:00
Torkel Ödegaard
14f439f8ba
refactor(ldap): refactoring ldap code, #1450
2015-07-13 15:37:25 +02:00
Torkel Ödegaard
bfe7b77313
More work on ldap auth, got memberOf working in the docker ldap test server, playing with config options and structures, #1450
2015-07-13 14:23:59 +02:00
Torkel Ödegaard
db1847bc1d
More work on ldap, gotten ldap search (read attributes) to work
2015-07-10 15:29:34 +02:00
Torkel Ödegaard
0ef7271326
Started work on LDAP again, #1450
2015-07-10 11:10:48 +02:00
Torkel Ödegaard
aedaae852b
Fixed minor mistake in last commit
2015-06-30 12:14:13 +02:00
Torkel Ödegaard
ae0f8c77d1
Auth: You can now authenicate against api with username / password using basic auth, Closes #2218
2015-06-30 09:37:52 +02:00
Torkel Ödegaard
5962bcbc6c
Do not show create org link when allow_org_create is set to false, Fixes #2135
2015-06-11 08:16:09 +02:00
Torkel Ödegaard
bb2d810709
Final work password reset email, Closes #1456
2015-06-08 18:25:04 +02:00
Torkel Ödegaard
db0c442eaf
Added configuration options for smtp
2015-06-08 17:56:56 +02:00
Torkel Ödegaard
89418a155a
More work on email and notification infra #1456
2015-06-05 11:08:19 +02:00
Torkel Ödegaard
3706d0dedd
More work on email and notification infra #1456
2015-06-04 17:23:46 +02:00
Torkel Ödegaard
3f5ab189cd
Began work on emailing service #1456
2015-06-04 14:29:39 +02:00
Torkel Ödegaard
eb793f7feb
Initial work on ldap support, #1450
2015-06-04 09:34:42 +02:00
Torkel Ödegaard
85c3a0aa14
Panel menu now hides edit actions for users with role Viewer, Closes #1826
2015-06-01 16:36:15 +02:00
Torkel Ödegaard
1c9993f185
Backend configuration: When unknown key was detected the log error was not visible in log file due to logging was initialized after user config file is loaded, logging is now initialized twice, once based on defaults and command line arguments, then then again after user config file, Fixes #1992
2015-05-14 10:15:46 +02:00
Torkel Ödegaard
a40299b4dc
Progress on json file index and search #960
2015-05-12 12:20:03 +02:00
Torkel Ödegaard
34539c0c13
Enforce domain, host header validation against domain setting, Refactoring of PR #1866 , Closes #1732
2015-05-05 11:21:06 +02:00
Torkel Ödegaard
f416e2d1ac
More middleware unit test, starting to look really good
2015-05-01 22:26:16 +02:00
Torkel Ödegaard
cb8110cd48
Refactoring, worked on middleware unit tests, and began thinking about api unit tests, #1921
2015-05-01 16:23:36 +02:00
Torkel Ödegaard
d1e9b6d6ae
Began work on auth_proxy feature ( #1932 ), and began work on testing http api, and auth middleware
2015-05-01 11:55:59 +02:00
Torkel Ödegaard
5de9230924
Security: New config option to disable the use of gravatar for profile images, Closes #1891
2015-05-01 08:40:13 +02:00
Torkel Odegaard
1edb13d715
Fixed gofmt formating
2015-04-19 09:29:08 +02:00
Torkel Ödegaard
aa8beda4ec
Merge pull request #1800 from alienth/allowsignup
...
Add allow_sign_up setting for auth.google/github.
2015-04-19 09:16:48 +02:00
Torkel Odegaard
7178dcad35
Windows: Fixed runtime issue with file logging config that casued errors on startup
2015-04-19 09:14:50 +02:00
Jason Harvey
ddaac50a25
Add allow_sign_up override for auth.google/github.
2015-04-16 13:43:18 -08:00
Torkel Ödegaard
e9afd30b47
Updated changelog with, Github OAuth: Now works with Github for Enterprise, thanks @williamjoy
2015-04-15 10:31:56 +02:00
Torkel Ödegaard
6de584aafc
Updated to config file finding, and added homepath command line option
2015-04-12 09:15:49 +02:00
Torkel Ödegaard
d32c03ed11
Rpm working again, systemd working on centos 7
2015-04-10 16:20:01 +02:00
Torkel Ödegaard
2020fedfdb
Fixed issue with overriding default config values via command line
2015-04-10 10:58:32 +02:00
Torkel Ödegaard
d1767144a8
Reworking configuration loading and overriding
2015-04-09 12:16:59 +02:00
Torkel Ödegaard
a991cda233
Began work on refactoring reading config values
2015-04-08 20:31:42 +02:00
Torkel Ödegaard
96ee1c17a3
Worked on new deb & rpm packaging and init.d scripts
2015-04-08 14:10:04 +02:00
Torkel Ödegaard
059db533d5
HTTP API: grafana /render calls nows with api keys, Fixes #1649
2015-04-08 08:59:12 +02:00
Torkel Ödegaard
c07d48d930
A big refactoring for how sessions are handled, Api calls that authenticate with api key will no longer create a new session
2015-04-07 19:21:14 +02:00
Torkel Ödegaard
eb575685aa
OAuth: Specify allowed email address domains for google or and github oauth logins, Closes #1660
2015-04-06 14:16:22 +02:00
Torkel Ödegaard
cf877e6567
added postgres and redis session options
2015-04-01 09:45:42 +02:00
Torkel Ödegaard
80c771c945
Added googla analytics id setting
2015-03-27 17:13:44 +01:00
Torkel Ödegaard
d987532262
Added server metrics
2015-03-22 15:14:00 -04:00
Torkel Ödegaard
c1d7bef768
added cert_key and cert_file to defaults.ini
2015-03-11 19:44:31 +01:00
Torkel Ödegaard
f3d4d2782f
Simplified single org settings, now auto_assign_org, and auto_assign_org_role, new [users] config section, Closes #1585
2015-03-11 16:19:29 +01:00
Torkel Ödegaard
c6d4b5cc86
Working on build steps
2015-03-03 17:42:50 +01:00
Torkel Ödegaard
0db55b6194
Work on deb and rpm packages, both seem to work now, #1476
2015-03-03 17:14:58 +01:00
Torkel Ödegaard
7e0f1a57af
Progress on deb and rpm packaging, renamed config files, added file logging, #1476
2015-03-03 10:18:37 +01:00
Torkel Ödegaard
26e4809e2e
Big Backend Refatoring: Renamed Account -> Org
2015-02-23 20:07:49 +01:00
Torkel Ödegaard
83d798dbad
Small update to grafana.ini describe server options
2015-02-16 08:12:07 +01:00
Torkel Ödegaard
56d8fe4a22
Small changes to CLI commands PR
2015-02-16 07:40:21 +01:00
Jason Wilder
b6428b08d0
CLI: Fix config flag being ignored
...
Passing --config had no effect when passed. It will now be applied as
the last config file and before any env var overrrides.
2015-02-15 15:06:02 -07:00
Torkel Ödegaard
79f798f67b
Configuration file options can now be overriden using environment variables using GF_<SectionName>_<KeyName> syntax, if Section name contains dots in config they are replaced with underscores, and the section name and keyname needs to be all upper case, #1473
2015-02-12 13:31:41 +01:00
Torkel Ödegaard
2c16b0f0f3
added unit test for loading configuration file
2015-02-12 11:55:55 +01:00
Torkel Ödegaard
397dfc54cd
Fixed bug in png rendering when having changed public url
2015-02-06 14:17:40 +01:00
Torkel Ödegaard
10820f31c2
Changed go package path
2015-02-05 10:37:13 +01:00
Torkel Ödegaard
60541a455f
Worked on search filter flag IsStarred, and updated frontend with new dashboard list panel
2015-02-04 11:35:59 +01:00
Torkel Ödegaard
20c6925470
Fixed sub url setting bug
2015-01-30 14:21:32 +01:00
Torkel Ödegaard
04d03f73b3
Added disable user sign up feature
2015-01-29 15:46:54 +01:00
Torkel Ödegaard
d95c5e6674
Basic import of json dashboards is working, needs more work to handle updates, and continous watching, #22
2015-01-29 14:33:50 +01:00
Torkel Ödegaard
a5e450a0dd
Worked on anonymous access
2015-01-27 15:45:27 +01:00
Torkel Ödegaard
757b185398
Worked on ease of use for non multi tenant scenarios, Closes #20
2015-01-27 15:14:53 +01:00
Torkel Ödegaard
95305e7e11
Changed from goconfig to its new counter part go-ini
2015-01-27 10:09:54 +01:00
Torkel Ödegaard
4786e0f882
Changed name for vendor folder
2015-01-20 17:53:20 +01:00
Torkel Ödegaard
fdfcc3ab2a
Admin flagged users, create a default admin user on startup if missing
2015-01-15 14:44:15 +01:00
Torkel Ödegaard
166ce7d2ae
Added Gzip option and the macaron Gzip middleware, but does not seem to work
2015-01-14 10:34:14 +01:00
Torkel Ödegaard
35326e1d92
Worked a little on anonymous access, needs more work
2015-01-07 16:37:24 +01:00
Torkel Ödegaard
d06174fb56
Added build script written in go that adds build symbols for version, commit and build date
2015-01-05 10:46:58 +01:00
Torkel Ödegaard
4cc8a9bd18
More work on getting grafana pro to work in sub url
2015-01-05 07:59:18 +01:00
Torkel Ödegaard
f25a415a9e
Work on making grafana work in sub url
2015-01-04 21:03:40 +01:00
Torkel Ödegaard
29c9330965
Changes to config file loading
2015-01-01 15:29:10 +01:00