Torkel Ödegaard
c3181552f8
ux: added max width to dashboard settings views
2018-02-01 15:45:15 +01:00
bergquist
734a2e59aa
add gofmt as precommit hook
2018-02-01 15:23:52 +01:00
Daniel Lee
22a349051c
Merge pull request #10719 from grafana/add_permissions_10676
...
Grafana 5.0: Add permissions modal for the permissions pages
2018-02-01 14:20:04 +00:00
Daniel Lee
a77c656033
dashfolders: adds test for permission store
2018-02-01 14:48:11 +01:00
Carl Bergquist
3b4e487662
Merge pull request #10715 from grafana/7883_alerting
...
Implement new url format in alerting
2018-02-01 14:38:28 +01:00
Daniel Lee
cc55ab6bc8
dashfolders: adds permission modal to dashboard settings
2018-02-01 14:32:19 +01:00
bergquist
90207bcb7d
register handler for get dashboards by slug
2018-02-01 14:17:14 +01:00
bergquist
fcd86fb24f
make it easier for dashboards to generate ur;
2018-02-01 14:08:51 +01:00
bergquist
74ca6f6dbf
changes dashboard url in alertlist
2018-02-01 14:08:51 +01:00
bergquist
992fd37010
alert: use new url format
2018-02-01 14:08:51 +01:00
Mikael Olenfalk
c0f100f1b5
Improve logging in the phantomjs renderer ( #10697 )
...
* Add add adapter between io.Writer and log.Logger
* Add phantomjs output to grafana log
* Unexport LogWriterImpl
* Add test for LogWriter
* Make it possible to get phantomjs debug output
* Make it possible to get the configured log level
2018-02-01 14:04:52 +01:00
Daniel Lee
9cdc1428d7
Merge remote-tracking branch 'upstream/master' into add_permissions_10676
2018-02-01 14:02:14 +01:00
Marcus Efraimsson
d8d82c1769
Merge pull request #10706 from grafana/7883_frontend_step2
...
WIP: Dashboard & Persistent urls - Frontend Step 2
2018-02-01 13:55:03 +01:00
Marcus Efraimsson
cdf2fd64b7
route params from angular to view store should be updated on routeChangeSuccess
2018-02-01 13:28:04 +01:00
Alexander Zobnin
16e1640ba4
repeat panel: process repeats when row is expanding ( #10712 )
2018-02-01 13:23:45 +01:00
Marcus Efraimsson
ee9c408188
folders: changes needed due to merge
2018-02-01 13:21:24 +01:00
Torkel Ödegaard
50bd9eee55
docs: removed section with session table sql, that is not needed anymore
2018-02-01 13:16:39 +01:00
Torkel Ödegaard
d08a829b69
ux: fix for responsive breakpoints and solo mode showing sidemenu
2018-02-01 11:29:04 +01:00
Marcus Efraimsson
ef90b3e49c
Merge branch '7883_new_url_structure' into 7883_frontend_step2
2018-02-01 11:08:39 +01:00
Torkel Ödegaard
b55ce1dd72
docs: moved whats new article to master
2018-02-01 10:55:29 +01:00
Marcus Efraimsson
b135df9a6c
Merge remote-tracking branch 'upstream/master' into 7883_new_url_structure
2018-02-01 10:48:06 +01:00
Torkel Ödegaard
e985a9cd7c
ux: fixed issue with zoom on graph caused scroll, fixes #10696
2018-02-01 10:36:55 +01:00
Carl Bergquist
eff687bece
Merge pull request #10694 from grafana/7883_backend
...
backend for new url structure.
2018-02-01 09:35:00 +01:00
Carl Bergquist
1303dc7ac0
Merge pull request #10704 from alexanderzobnin/fix-backend-plugin-table-rows
...
plugins: return table with empty rows array insteaf of nil
2018-02-01 09:17:29 +01:00
Marcus Efraimsson
90933b0621
dashboard: refactor logic for retrieving url for folder/dashboard
2018-01-31 23:14:48 +01:00
Marcus Efraimsson
40c83e3e22
dashboards: update dashboard/folder url if browser url is not the same as from backend
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
c0c3f17d84
dashboards: when restoring a dashboard to an older version, set current uid
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
8fc648ac43
dashboards: fix updating folder so that correct url is returned
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
035b724725
dashboards: remove slug property in dashboard search responses
...
Removes slug property in dashboard search responses since this property isn't needed
anymore and it haven't been released to any stable release.
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
92a0171a9b
folders: change the front end route for browsing folders
...
Change the front end route for folders to /dashboards/f/<uid>/<slug of folder title>.
Use new route for deleting dashboard/folder by uid.
Retrieve dashboard/folder by uid when moving or deleting dashboards/folders.
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
b23560ed5a
dashboards: add validation to delete dashboard by slug
...
Validates that there are only one folder/dashboard having that slug,
otherwise returns 412 Precondition Failed
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
95d063621e
dashboards: new route for deleting dashboards by uid
2018-01-31 18:40:54 +01:00
Marcus Efraimsson
c19f4a866f
Merge pull request #10695 from grafana/7883_frontend_step
...
WIP: Dashboard & Persistent urls - Frontend Step
2018-01-31 18:37:05 +01:00
Alexander Zobnin
db7890ec1e
plugins: return table with empty rows array insteaf of nil
2018-01-31 19:59:15 +03:00
bergquist
58cfb23625
retry uid generation
2018-01-31 17:29:17 +01:00
Torkel Ödegaard
75cf9ae27d
fix: use replace when redirecting to new url
2018-01-31 17:26:35 +01:00
Johannes Schill
2e0cc2e347
ux: Change input width of UserPicker and TeamPicker in AddPermissions component #10676
2018-01-31 17:01:04 +01:00
Daniel Lee
3a0459e425
Merge branch 'dashboard_permissions'
2018-01-31 16:53:07 +01:00
Daniel Lee
a5197046e8
viewstore: fix test after merge
2018-01-31 16:49:41 +01:00
Johannes Schill
780c7f8775
tests: Add TeamPicker test and update TeamPicker/UserPicker snapshots so they match the latest classNames update #10676
2018-01-31 16:48:45 +01:00
Daniel Lee
a9e2273064
Merge remote-tracking branch 'upstream/master' into dashboard_permissions
2018-01-31 16:45:32 +01:00
Daniel Lee
a0fc5383fd
dashfolders: fix for folder picker
...
If the selected folder is not in the options then manually create it. This
can happen in some edge cases (if an user has been given access to a
dashboard but does not have access to its parent folder)
2018-01-31 16:44:55 +01:00
Johannes Schill
a73af39056
ux: Add an optional className to the UserPicker and TeamPicker #10676
2018-01-31 16:44:14 +01:00
Daniel Lee
7e2e57c306
dashfolders: fixes #10671 . Allow Editors default access to Root.
...
Editors should be able to create dashboards in root and should be
able to create folders. They cannot administrate permissions though
and these dashboards and folders will get the default permissions.
2018-01-31 16:43:21 +01:00
Torkel Ödegaard
4ac21d2e8f
docs: added redirect from old provision page, #10691
2018-01-31 16:20:14 +01:00
Johannes Schill
20052150ba
tests: Move tests from Permissions to AddPermissions #10676
2018-01-31 16:15:05 +01:00
Johannes Schill
1b9e02e4cc
tests: Update tests in PermissionsStore and rem out the Permissions-tests for now #10676
2018-01-31 16:12:51 +01:00
bergquist
9aa488c084
Merge remote-tracking branch 'origin/7883_frontend_step' into 7883_backend
...
* origin/7883_frontend_step:
dashboards: make scripted dashboards work using the old legacy urls
dashboards: redirect from old url used to load dashboard to new url
dashboards: add new default frontend route for rendering a dashboard panel
dashboards: fix links to recently viewed and starred dashboards
dashboards: use new *url* prop from dashboard search for linking to dashboards
dashboards: when saving dashboard redirect if url changes
dashboards: add new default frontend route for loading a dashboard
dashboards: return url in response to save dashboard. #7883
2018-01-31 15:57:03 +01:00
Daniel Lee
2409d129c2
dashfolders: text change
2018-01-31 15:41:52 +01:00
Daniel Lee
9ef64d3056
dashfolders: special case for folders in root
...
Allow users to change permissions inherited from root.
2018-01-31 15:34:05 +01:00