Torkel Ödegaard
1cc5349bfd
docs: fixed order of sidemenu
2018-01-31 08:49:04 +01:00
bergquist
8fed56e334
test: fixes failing test in go1.10
2018-01-31 08:49:04 +01:00
Marcus Efraimsson
7734df1d18
dashboards: fix links to recently viewed and starred dashboards
...
Use new property url from dashboard search for linking to dashboards
#7883
2018-01-31 00:48:36 +01:00
Marcus Efraimsson
f2014223b4
dashboards: use new *url* prop from dashboard search for linking to dashboards
...
#7883
2018-01-31 00:42:17 +01:00
Marcus Efraimsson
8009307c16
dashboards: when saving dashboard redirect if url changes
...
Redirect if new dashboard created or existing url changes.
#7883
2018-01-31 00:32:51 +01:00
Marcus Efraimsson
aefcff26a6
dashboards: add new default frontend route for loading a dashboard
...
New default route /d/<uid>/<slug of dashboard title> where dashboard
are loaded by unique identifier.
If old route /dashboard/db/<slug of dashboard tile> are used,
try to lookup dashboard by slug and redirect to new default route.
#7883
2018-01-31 00:27:51 +01:00
Marcus Efraimsson
369597f7b2
dashboards: return url in response to save dashboard. #7883
2018-01-31 00:09:14 +01:00
Marcus Efraimsson
6ab526881a
dashboards: ensure that uid is returned from getSaveModelClone
...
Without this the uid will not be sent to the backend when saving a
dashboard.
#7883
2018-01-31 00:06:31 +01:00
Daniel Lee
eb765d288c
alertlist: disable pause button when user does not have permission
2018-01-30 23:35:27 +01:00
Marcus Efraimsson
fd59241e35
dashboards: revert adding api for retrieving uid by slug
...
Since we're already have possibility to get a dashboard by slug
it makes little sense to have a separate endpoint in api for
retrieving uid by slug.
#7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
4829ea0e9f
util: remove retry logic in shortid_generator
...
Use shortid.MustGenerate() instead of shortid.Generate(). Instead
of returning errors it will panic.
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
9fb7b887db
dashboards: add url property to dashboard meta and search api responses
...
#7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
7ee691dc48
dashboards: api for retrieving uid by slug. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
13d5db7d19
dashboards: add support for retrieving a dashboard by uid
...
Introduces new url in api /dashboards/<uid> for fetching dashboard by unique id
Leave the old dashboard by slug url /dashboards/db/<slug> for backward
compatibility and for supporting fallback
WIP for #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
c1cff3849e
dashboard: change unique index for uid to include org_id
...
Make the max length of uid longer in case we want to change it later
#7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
46e1296700
dashboards: return uid in response to creating/updating a dashboard. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
e229f8aea8
dashboards: extract short uid generator to util package. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
fc7bab8bf0
dashboard: fix failing test. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
5b35c694dc
dashboard: generate and include uid in dashboard model. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
025a14ec24
db: add migrations for creating a unique index for uid. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
50aa9ec69c
db: add migrations for generating uid for existing dashboards. #7883
2018-01-30 23:18:34 +01:00
Marcus Efraimsson
401b01e1e6
db: add new column uid to the dashboard table. #7883
2018-01-30 23:18:34 +01:00
Patrick O'Carroll
2c8e448559
moved icon ( #10681 )
2018-01-30 20:01:12 +01:00
Daniel Lee
4bc5945c17
dashfolders: remove inline styles
2018-01-30 17:26:44 +01:00
Patrick O'Carroll
8ecf2d127c
fixed width of images and removed gifs and fixed text a bit in search
2018-01-30 17:12:12 +01:00
Torkel Ödegaard
7cd379ac9f
docs: fixed order of sidemenu
2018-01-30 16:14:28 +01:00
bergquist
8c8328eac5
test: fixes failing test in go1.10
2018-01-30 16:00:32 +01:00
Patrick O'Carroll
411c81fee8
new gifs for search
2018-01-30 15:34:09 +01:00
bergquist
40832e6d71
docs: adds more info about whats new in v5
2018-01-30 15:25:18 +01:00
Torkel Ödegaard
f67bd368d4
Merge branch 'master' into docs_v5.0
2018-01-30 15:10:03 +01:00
Torkel Ödegaard
cca050ea14
docs: updated versions.json
2018-01-30 15:07:52 +01:00
Daniel Lee
f5107d5023
alerting: add permission check in api for pausing alerts
2018-01-30 14:41:25 +01:00
Daniel Lee
87d6d791d5
dashfolders: adds comment for dashboard api tests
2018-01-30 14:09:30 +01:00
Torkel Ödegaard
b4aa92e7ff
docs: added versions file
2018-01-30 13:28:16 +01:00
Daniel Lee
2b7984355a
dashfolders: adds comment for dashboard acl test
2018-01-30 13:28:00 +01:00
Daniel Lee
a00a42d9ee
api: extract api test code to common_test.go
2018-01-30 13:17:48 +01:00
Alexander Zobnin
f8faa7dbba
Merge branch 'ilgizar-10672_outside_the_row'
2018-01-30 14:20:24 +03:00
Alexander Zobnin
526960058a
repeat panel: minor refactor
2018-01-30 14:19:10 +03:00
Patrick O'Carroll
c29e75e9bc
changed img for shortcuts
2018-01-30 10:51:50 +01:00
Daniel Lee
0fb05bcf59
Merge remote-tracking branch 'upstream/master' into dashboard_permissions
2018-01-30 09:26:23 +01:00
Patrick O'Carroll
ec3ba86a02
replaced img in export_import and sharing
2018-01-30 09:20:55 +01:00
ilgizar
1c95da8f23
Fix horizontal panel repeat. Fix #10672 .
2018-01-30 09:52:30 +05:00
Johannes Schill
ee57ed10f9
dashfolders: Add min-width to align icons in permissions list and some margin between icon and text #10275
2018-01-29 17:10:25 +01:00
Johannes Schill
0573545d5a
ui: Fix Firefox align issue in dropdowns #10527 ( #10662 )
2018-01-29 17:06:16 +01:00
Torkel Ödegaard
b1cf4cf01c
fix: InfluxDB Query Editor and selecting template variable in where clause caused issue, fixes #10402 , fixes #10663
2018-01-29 17:04:29 +01:00
Daniel Lee
d74a98feff
dashfolders: link to folder for inherited permissions
...
In the permissions view in dashboard settings, this adds a
link to the parent folder for inherited permissions. Which
allows the user to easily navigate to the folder and change
inherited permissions.
2018-01-29 16:10:47 +01:00
Johannes Schill
7900fd4a79
test: Update Tooltip test to check for className support
2018-01-29 15:54:59 +01:00
Patrick O'Carroll
3fa2f8a411
changed img-link for timerange imgs and some text
2018-01-29 15:45:28 +01:00
Alexander Zobnin
479658489a
fix: remove repeated rows when repeat was disabled. ( #10653 )
2018-01-29 15:17:27 +01:00
Johannes Schill
e6c161d897
test: Update Popover test to check for className support
2018-01-29 15:10:05 +01:00