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
Daniel Lee
ccd86873e7
dashfolders: autosave permissions on change (remove update button)
2018-01-26 14:02:22 +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
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
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
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
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
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
Torkel Ödegaard
889bc29330
ux: minor change, added import dashboard link to dashboard search side view
2018-01-24 15:29:16 +01:00
Torkel Ödegaard
12b08b61d7
Merge remote-tracking branch 'origin/graphite-query-editor-enhancements'
2018-01-23 16:02:46 +01:00
Marcus Efraimsson
b5a6a9ab3b
dashboards: Fix issue with first click when expanding folder in search
...
Fixes #10580
2018-01-22 16:12:52 +01:00
Jonathan McCall
88e1ec3382
Add lumens unit
2018-01-19 19:12:30 -05:00
Torkel Ödegaard
66edb29f53
fix: multi valued query variables did not work correctly, fixes #10539
2018-01-17 09:41:35 +01:00
Torkel Ödegaard
38f4d5d06d
fix: restored previous behavior of form_dropdown, this fixes all my observerd bugs with the dropdown behavior
2018-01-16 17:02:03 -05:00
Dan Cech
ebad19b232
work on tag dropdown behavior
2018-01-16 17:02:03 -05:00
Torkel Ödegaard
11ba8070b8
Tag filters in search ( #10521 )
...
* tag filter: initial react component
* dashboard: move tag filter to filterbox
* tag filter: customize value rendering
* tag filter: get color from name
* tag filter: custom option renderer
* tag filter: mode with tags in different container
* tag filter: refactor
* refactoring PR #10519
* tag filter: refactor of PR #10521
2018-01-16 12:52:13 +01:00
Daniel Lee
a5830c6dbc
Merge remote-tracking branch 'upstream/master' into dashboard_permissions
2018-01-16 12:02:13 +01:00
Daniel Lee
58293ce5cc
dashfolders: bugfix after rename
2018-01-15 10:15:52 +01:00
Daniel Lee
4948d4fd75
dashfolders: bugfix after rename
2018-01-15 10:14:10 +01:00
Daniel Lee
21b5ded75b
dashfolder: refactor breadcrumbs in PageHeader
...
Combines title and breadcrumbs in PageHeader instead of having to
set title to empty and add it as a breadcrumb.
2018-01-11 17:53:06 +01:00
Daniel Lee
545d7b9477
dashfolders: convert folder settings to React
2018-01-11 15:42:45 +01:00
Torkel Ödegaard
b76958f07b
ux: minor change to alert list page
2018-01-10 14:18:58 +01:00
Torkel Ödegaard
686548a6ed
fix: updated snapshot test
2018-01-10 13:16:16 +01:00
Torkel Ödegaard
7854f80f5a
Merge remote-tracking branch 'origin/10289_user_picker'
2018-01-10 13:14:43 +01:00
Johannes Schill
79bad41843
fix: Remove conflict file #10289
2018-01-10 12:00:28 +01:00
Johannes Schill
e4a2bda4f2
10389 react tooltip components ( #10473 )
...
* poc: Use react-popper for tooltips #10389
* poc: Add popover component and use a hoc() for Tooltip + Popover to avoid code duplication #10389
* jest: Add snapshot tests to Popover and Tooltip #10389
* poc: Move target from hoc into Popover/Tooltip-component #10389
* poc: Clean up unused styles and use the existing Grafana style/colors on popper tooltip #10389
* poc: Remove test code before PR
* poc: Remove imports used in poc but shouldn't be included anymore #10389
2018-01-10 10:27:33 +01:00
Johannes Schill
ffda5eef95
test: Updated snapshot for UserPicker jest test #10289
2018-01-09 15:48:02 +01:00
Johannes Schill
aac1b250af
ux: When adding a new panel we should scroll to top until we figure o… ( #10417 )
...
* ux: When adding a new panel we should scroll to top until we figure out a better solution #10299
* ux: Use jquery to add smooth scrolling when scrolling up to add a panel, and make sure to pass the scope to the event emitter, #10299
* ux: Add a close button to the "New panel"-box and make sure you scroll to top every time you click "Add panel" #10299
2018-01-09 15:27:53 +01:00
Daniel Lee
e1aff1d5ff
dashfolders: show/hide create folder or dashboard buttons
...
depending on the user role and the permissions the user has for a
folder.
2018-01-09 14:44:36 +01:00
Johannes Schill
c62a6aa7df
fix: Clean up logging and remove unused css #10289
2018-01-09 14:42:23 +01:00
Johannes Schill
c297a1c5a5
fix: Rename directive user-pickerr (yes two r's) to select-user-picker
2018-01-09 14:42:23 +01:00
Johannes Schill
76ba7d1f8c
test: Add snapshot tests for UserPicker and UserPickerOption ( #10289 )
2018-01-09 14:39:10 +01:00
Johannes Schill
68d43b865f
fix: Add interface for props to UserPickerOption ( #10289 )
2018-01-09 14:39:10 +01:00
Johannes Schill
5931d6c87d
ux: POC on new select box for the user picker ( #10289 )
2018-01-09 14:39:10 +01:00
Marcus Efraimsson
3ecec8e0d2
More fixes for relative urls when running Grafana under a different sub path ( #10470 )
...
* Add nginx proxy docker container
Ease test/verification of running Grafana thru a reverse proxy
* Add apache proxy docker container
Ease test/verification of running Grafana thru a reverse proxy
* Fix relative urls for reset password page
* Fix relative urls for signup page
* Fix relative urls for login page
* Fix relative urls edit plugin page
2018-01-09 13:56:41 +01:00
Torkel Ödegaard
62165f91bf
fix: added back colors to rootScope, fixes #10462
2018-01-09 11:13:37 +01:00