Daniel Lee
e77878bba8
dashfolders: on folder page, hide tabs if not has admin permission
2018-01-09 14:44:36 +01:00
Daniel Lee
f7bbfeba28
dashfolders: must have admin permission to save/see dash acl
2018-01-09 14:44:36 +01:00
Daniel Lee
5b6ee6f37b
dashfolders: prettify on tests file
2018-01-09 14:44:36 +01:00
Daniel Lee
1e496ec76c
dashfolders: permissions tab in dashboard settings
2018-01-09 14:44:36 +01:00
Daniel Lee
5400692cd4
dashfolders: permissions tab for dashboard folders
2018-01-09 14:44:36 +01:00
Daniel Lee
3ea63a1064
fix for unsaved changes popup on tab close/refresh
...
Incorrect return values in onbeforeunload event handler mean that the
unsaved changes popup is shown despite there being no changes.
2018-01-09 14:42:58 +01:00
Alexander Zobnin
04b9752932
dashboard: fix opening links in new tab ( #10465 )
2018-01-09 13:59:11 +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
AnonyV
6c9554499b
fixed the subUrl bugs from https://community.grafana.com/t/suburl-not-work-at-some-links-and-buttons/4701 with folder/settings/teams etc.
2018-01-09 18:03:43 +08:00
Torkel Ödegaard
27835f373e
cleanup: removed unused typescript typings import
2018-01-04 10:12:02 +01:00
Torkel Ödegaard
c42a232644
Merge branch 'react-mobx'
2018-01-04 09:12:57 +01:00
Trent White
ee05ea8d60
new add alert notification channel icon
2018-01-03 14:23:14 -05:00
Patrick O'Carroll
58e0bdd71f
added empty list cta to notification channels, fixes 10393 ( #10400 )
2018-01-02 12:16:38 +01:00
Torkel Ödegaard
8f50795a94
tech: url and query mobx store so now react components and containers can read and modify url path and query via mobx store
2017-12-31 22:31:11 +01:00
Alexander Zobnin
e84b6d189a
fix move dashboard variables, #10347 ( #10375 )
2017-12-31 12:24:42 +01:00
Marcus Efraimsson
11ae7d5964
dashfolders: relative links should work when root_path is specified ( #10363 )
...
Fixes #10336
2017-12-31 12:24:21 +01:00
Alexander Zobnin
d210e766e7
fix mixed datasource add query button, #10316 ( #10361 )
2017-12-31 12:21:49 +01:00
Torkel Ödegaard
4c1a67c34e
tech: began reworking alerting list to mobx
2017-12-28 18:49:33 +01:00
Torkel Ödegaard
8aff969f70
Merge branch 'master' into react-mobx
2017-12-27 11:00:37 +01:00
Torkel Ödegaard
c8f87a3d09
refactor: minor refactoring of PR #10236
2017-12-27 09:49:12 +01:00
Alexander Zobnin
77843623b2
don't save dashboard on make editable, #10236
2017-12-27 09:49:12 +01:00
Alexander Zobnin
d4ff603eb0
fix scripted dashboard loader, #10350 ( #10351 )
2017-12-27 09:36:25 +01:00
Torkel Ödegaard
3e7420320c
Merge branch 'master' into react-mobx
2017-12-26 13:53:39 +01:00
Marcus Efraimsson
39eb8f9eba
Dashboard: View JSON improvements ( #10327 )
...
* dashboard: enable copy to clipboard for view json and panel json
* dashboard: use code editor for view json under settings
2017-12-26 13:52:19 +01:00
Torkel Ödegaard
c11cf18879
refactor: tried to simplify and also minimize scope a bit for #10323
2017-12-26 13:22:01 +01:00
Torkel Ödegaard
b4ab91d651
Merge remote-tracking branch 'origin/10248_copy_panels'
2017-12-26 12:31:46 +01:00
Torkel Ödegaard
8fb0692da6
Merge remote-tracking branch 'origin/migrate-dashboard-files-to-ts'
2017-12-26 12:26:50 +01:00
Torkel Ödegaard
24723cdb3c
fix: fixed issue with optimized build, fixes #10333
2017-12-23 08:34:48 +01:00
Patrick O'Carroll
52f30f6f00
migrated file to ts ( #10328 )
2017-12-22 20:52:57 +01:00
Marcus Efraimsson
281e519fab
fix: remove unused code
2017-12-22 10:26:01 +01:00
Marcus Efraimsson
68457f5636
dashboard: copy panel to clipboard
...
Adds a new menu item to panels, Copy to Clipboard, that will both
copy the panel json to the clipboard and temporarily store the panel object
in the browsers window object. The temporarily stored panel object are
available in Add Panel from any dashboard for as long you don't refresh
the browser.
Fixes #10248 , #1004
2017-12-22 10:24:55 +01:00
Patrick O'Carroll
972c3bc635
code formatting fix
2017-12-21 13:44:34 +01:00
Patrick O'Carroll
9b63a81756
migrated files to ts + fixed specfile
2017-12-21 13:22:20 +01:00
Torkel Ödegaard
02ad2e5f0f
tech: cleaned up unused stuff
2017-12-21 12:31:04 +01:00
Torkel Ödegaard
9f7560b6f9
ux: removed unused stuff form style guide
2017-12-21 12:20:55 +01:00
Torkel Ödegaard
4181602b78
react: progress on react containers and mobx-state-tree store
2017-12-21 11:56:45 +01:00
Torkel Ödegaard
3a1f52d8a2
prettier: ran on all files again, sorry. now settings are defined in package.json
2017-12-21 08:39:31 +01:00
Marcus Efraimsson
af34f9977e
Add avatar to team and team members page ( #10305 )
...
* teams: add db migration for email column in teams table
* teams: /teams should render index page with a 200 OK
* teams: additional backend functionality for team and team members
Possibility to save/update email for teams.
Possibility to retrive avatar url when searching for teams.
Possibility to retrive avatar url when searching for team members.
* teams: display team avatar and team member avatars
Possibility to save and update email for a team
* teams: create team on separate page instead of modal dialog
2017-12-20 21:20:12 +01:00
Marcus Efraimsson
d41ce4f9ca
Various dashboard folders improvements ( #10309 )
...
* dashfolders: fix url for create dashboard from manage dashboards
Don't include folderId querystring if you don't manage a folder and
creating a new dashboard from there.
* dashfolders: don't store folderId in dashboard model
Use folderId from meta instead
#10307
* dashfolders: minor ux fix
* dashfolders: minor fix for edit folder title
2017-12-20 21:17:55 +01:00
Torkel Ödegaard
354913a704
mobx: progress on poc
2017-12-20 17:24:04 +01:00
Torkel Ödegaard
85879a7014
prettier: change to single quoting
2017-12-20 12:33:33 +01:00
Marcus Efraimsson
bbdb1cddd7
dashboard: delete row improvements
...
Possibility to delete row and all its panels or
only the row which will leave its panels in the dashboard.
2017-12-20 11:13:24 +01:00
Marcus Efraimsson
1ddcaf5b6f
minor fixes and formatting after review
2017-12-19 18:01:09 +01:00
Marcus Efraimsson
0bfedfe4d6
dashfolders: use validation service for folder creation and dashboard import. #10197
2017-12-19 18:00:59 +01:00
Marcus Efraimsson
4846125ec0
dashfolders: support creating new folder when moving dashboards. #10197
2017-12-19 18:00:47 +01:00
Marcus Efraimsson
2d0f5f06e4
dashfolders: support creating new folder when saving a dashboard. #10197
2017-12-19 18:00:38 +01:00
Marcus Efraimsson
7f9c0df464
dashfolders: support creating new folder in dashboard settings. #10197
2017-12-19 18:00:26 +01:00
Marcus Efraimsson
60d7e4308c
dashfolders: support creating new folder from the folder picker. #10197
2017-12-19 18:00:06 +01:00
Torkel Ödegaard
af1f3dd77b
poc: mobx poc
2017-12-19 17:26:51 +01:00
Torkel Ödegaard
fadfc665e4
tech: ran pretttier on all typescript files
2017-12-19 16:06:54 +01:00