Daniel Lee
a7fba593df
dashfolders: add help popover. Add folder title for inherited permissions
2018-01-27 18:16:21 +01:00
Daniel Lee
50b20a0e5a
dashfolders: use react component for dashboard permissions
...
Switch out the angular component for the new react component on the
dashboard permissions editview on the settings page.
2018-01-27 17:26:40 +01:00
Patrick O'Carroll
5f81f401e3
replaced input with gf-form-dropdown
2018-01-26 17:25:12 +01:00
Patrick O'Carroll
ffff75b01a
reverted media queries
2018-01-26 16:59:16 +01:00
bergquist
c34d458b94
Merge branch 'go1.9.3'
...
* go1.9.3:
tech: upgrade to golang 1.9.3
2018-01-26 16:00:31 +01:00
Alexander Zobnin
e6c19eb8e9
graphite: fix nested alerting queries ( #10633 )
2018-01-26 15:05:05 +01:00
Patrick O'Carroll
2f891726c3
fix for sm
2018-01-26 14:57:55 +01:00
Patrick O'Carroll
08822fbdca
added media break for md and sm
2018-01-26 14:46:52 +01:00
Daniel Lee
83548f98b9
dashfolders: add disabled Admin permission to list
...
This is a fake entry that is used to signal to the user that an Admin
user always has Admin rights and they cannot be removed.
2018-01-26 14:38:27 +01:00
bergquist
33beacff0a
tech: upgrade to golang 1.9.3
2018-01-26 14:34:47 +01:00
Leonard Gram
d85b9c28c1
Locks down prometheus1 to v1.8.2 in live-test.
2018-01-26 14:32:20 +01:00
hannes
eefcb3080a
fix typo in parameter. ( #10613 )
...
* options.scopedVars was called without 'd', so a undefined was passed
to the function convertDimensionFormat()
2018-01-26 14:10:17 +01:00
Daniel Lee
ccd86873e7
dashfolders: autosave permissions on change (remove update button)
2018-01-26 14:02:22 +01:00
bergquist
0c6a90db08
changelog: move all 4.7 changes into 5.0
2018-01-26 11:16:09 +01:00
bergquist
a17dbf9af8
changelog: be more explicit about backwards compatibility
2018-01-26 10:51:31 +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
Daniel Lee
08c78ab8b7
dashfolders: fix tests for ViewStore after merge
2018-01-26 09:55:03 +01:00
James Westover
475febd004
Fix typeahead to avoid generating new backend request on each keypress. ( #10596 )
...
* Fix typeahead to not generate new request on each keypress.
* Change to debounce method
2018-01-26 09:27:06 +01:00
Alexander Zobnin
cffbb6afd5
fix vertical panel repeat ( #10619 )
2018-01-26 09:24:56 +01:00
Alexander Zobnin
b79017e4a4
graph: fix series sorting issue ( #10617 )
2018-01-26 09:23:56 +01:00
Carl Bergquist
ac2b36c271
Merge pull request #10610 from grafana/phantomjs_fix
...
fixes broken phantomjs rendering
2018-01-25 21:25:02 +01:00
Johannes Schill
49634593cf
dashfolders: New snapshot since we changed from defaultValue to value per latest React documentation #10275
2018-01-25 15:37:49 +01:00
Johannes Schill
1255a0a356
refactor: Replace _.find with Array.prototype.find()
2018-01-25 15:37:27 +01:00
Johannes Schill
34f27f6b15
dashfolders: Convert mobx observable to js objects and remove the observer() since we want to use the component outside the react/mobx world #10275
2018-01-25 15:37:15 +01:00
Johannes Schill
0722ea04a6
dashfolders: Clean up more variables and move newType, aclTypes and permissionOptions to the store #10275
2018-01-25 15:37:05 +01:00
Johannes Schill
4ea9f3027a
dashfolders: Remove variables not used and pass in the real dashboardId #10275
2018-01-25 15:36:56 +01:00
Johannes Schill
02a3951f95
dashfolders: Remove those 2-line-components from PageHeader to make it easier to read and make sure components listening to the mobx state are wrapped with observer() #10275
2018-01-25 15:36:45 +01:00
Johannes Schill
766ab69143
dashfolders: Add support for breadcrumbs in NavStore #10275
2018-01-25 15:36:34 +01:00
Johannes Schill
3a94918b8f
dashfolders: Rename UserPicker folder => Picker. Inject the permission-store in the FolderPermissions-container instead of the Permissions component, add the PermissionsStore to the RootStore and and the error-message to the Permissions-store #10275
2018-01-25 15:36:04 +01:00
Johannes Schill
126607de83
dashfolders: Add Permissions information box #10275
2018-01-25 15:33:56 +01:00
Johannes Schill
6b421b80a6
dashfolders: Fix page max width #10275
2018-01-25 15:33:45 +01:00
Johannes Schill
c3664e1d87
dashfolders: Update jest tests with backendSrv #10275
2018-01-25 15:33:36 +01:00
Johannes Schill
5a9fe9aff9
dashfolders: Add a Team Picker component and use it on the dashboard permissions page #10275
2018-01-25 15:33:11 +01:00
Johannes Schill
6b9858c1d3
dashfolders: Working user picker on the dashboard permissions page #10275
2018-01-25 15:30:43 +01:00
Johannes Schill
2de0489868
dashfolders: Send down backendSrv to the react components #10275
2018-01-25 15:30:15 +01:00
Johannes Schill
b79a15b057
dashfolders: Re-use the API of the angular user picker instead, which is reusable #10275
2018-01-25 15:29:21 +01:00
Johannes Schill
1d8ce3673e
dashfolders: Remove the PermissionsInner-strategy since we have a container for this route now #10275
2018-01-25 15:20:56 +01:00
Johannes Schill
a5d441e78e
dashfolders: Permissions are injected via MST so it needs to be defined as optional #10275
2018-01-25 15:20:37 +01:00
Johannes Schill
f23fb740a9
dashfolders: Add FolderPermissions container and make sure isFolder is passed to PermissionsStore #10275
2018-01-25 15:20:00 +01:00
Johannes Schill
7e13d0f773
dashfolders: Always get dashboardid and backendsrv from props #10275
2018-01-25 15:19:41 +01:00
Johannes Schill
3490c44636
dashfolders: Rem code to avoid tests to fail #10275
2018-01-25 15:19:30 +01:00
Johannes Schill
44ea8e58e2
wip: More on the permissions. Left are team picker and user picker, tests and error messages #10275
2018-01-25 15:19:17 +01:00
Johannes Schill
460cbe98a1
fix: mobx-react-devtools is a dev dependancy #10275
2018-01-25 15:18:46 +01:00
Johannes Schill
c8193e10b9
dashfolder: wip: More wip on acl.html2permissions.tsx #10275
2018-01-25 15:18:16 +01:00
Johannes Schill
7616cfb5f0
dashfolders: wip - Move Permissions into React #10275
2018-01-25 15:14:59 +01:00
Daniel Lee
bc5fae5367
dashfolders: merge conflict
2018-01-25 14:54:50 +01:00
Daniel Lee
4cfe179f47
variables: lint fix
2018-01-25 14:49:51 +01:00
Daniel Lee
8aa55ee352
variables: fix when datasource returns error
2018-01-25 14:16:06 +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
Patrick O'Carroll
eb2d4b20bc
added varibale to table hover, lightend colors for table light theme, fixes #10609 ( #10611 )
2018-01-25 12:17:16 +01:00