Ryan McKinley
1895626080
GraphNG: update the options config ( #28917 )
2020-11-18 08:46:44 -08:00
Arve Knudsen
006868339d
Backend: Fix build ( #29206 )
...
* Backend: Fix build
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 16:16:58 +01:00
Will Browne
2939caf9a2
Permissions: Validate against Team/User permission role update ( #29101 )
...
* validate against role field update
* lowercase error string
* make all msgs consistent style
* fix wording
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* sayonara simple json
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 15:36:41 +01:00
Dominik Prokop
0cfb967404
ESlint: React fixes part 1 ( #29062 )
...
* Eslint: allign with latest grafana-eslint-config
* fix ts
* Fix react/jsx-key
* Fix react/no-children-prop
* Fix react/jsx-no-target-blank
2020-11-18 15:36:35 +01:00
Hugo Häggmark
4b711372c5
Tests: Adds expects for observables ( #28929 )
...
* Tests: Adds expects for observables
* Refactor: renames matcher
* Chore: changed jest version and removed as dev dependency
* Refactor: Changes after PR review
* wip
* Chore: revert
* Chore: Adds jest-matcher-utils
* Chore: fixed merge error
* Tests: Removed inline snapshots as they are env dependent
* Tests: missed a snapshot
* Refactor: Removed type file after PR comments
2020-11-18 15:18:55 +01:00
Hugo Häggmark
112a755e18
Variables: Adds new Api that allows proper QueryEditors for Query variables ( #28217 )
...
* Initial
* WIP
* wip
* Refactor: fixing types
* Refactor: Fixed more typings
* Feature: Moves TestData to new API
* Feature: Moves CloudMonitoringDatasource to new API
* Feature: Moves PrometheusDatasource to new Variables API
* Refactor: Clean up comments
* Refactor: changes to QueryEditorProps instead
* Refactor: cleans up testdata, prometheus and cloud monitoring variable support
* Refactor: adds variableQueryRunner
* Refactor: adds props to VariableQueryEditor
* Refactor: reverted Loki editor
* Refactor: refactor queryrunner into smaller pieces
* Refactor: adds upgrade query thunk
* Tests: Updates old tests
* Docs: fixes build errors for exported api
* Tests: adds guard tests
* Tests: adds QueryRunner tests
* Tests: fixes broken tests
* Tests: adds variableQueryObserver tests
* Test: adds tests for operator functions
* Test: adds VariableQueryRunner tests
* Refactor: renames dataSource
* Refactor: adds definition for standard variable support
* Refactor: adds cancellation to OptionPicker
* Refactor: changes according to Dominiks suggestion
* Refactor:tt
* Refactor: adds tests for factories
* Refactor: restructuring a bit
* Refactor: renames variableQueryRunner.ts
* Refactor: adds quick exit when runRequest returns errors
* Refactor: using TextArea from grafana/ui
* Refactor: changed from interfaces to classes instead
* Tests: fixes broken test
* Docs: fixes doc issue count
* Docs: fixes doc issue count
* Refactor: Adds check for self referencing queries
* Tests: fixed unused variable
* Refactor: Changes comments
2020-11-18 15:10:32 +01:00
Dominik Prokop
5ae7280249
Introduce eslint-plugin-react ( #29053 )
...
* Eslint: allign with latest grafana-eslint-config
* fix ts
* Bump @grafana-eslint-congig version
2020-11-18 14:19:33 +01:00
Torkel Ödegaard
d2fb910912
Automation: Adds GitHub release action ( #29194 )
...
* Automation: Adds GitHub release action
* Updated wording
* minor update
2020-11-18 11:24:31 +01:00
Dominik Prokop
05fbc614bd
Refactor declarative series configuration to a config builder ( #29106 )
...
* Wip: refactor declarative series configuration to a config builder
* Fix plugins initialization
* Config builder reorg and tests
* Typecheck
* Update packages/grafana-ui/src/components/uPlot/context.ts
* Scales config tweak
* Temp disable tests
* Disable some tests temporarily
2020-11-18 11:14:24 +01:00
Grot (@grafanabot)
cfc8d5681a
ReleaseNotes: Updated changelog and release notes for 7.3.3 ( #29189 )
2020-11-18 10:46:32 +01:00
Miguel Carvajal
a134ed7bf9
Panels: fix positioning of the header title ( #29167 )
...
the menu toggle icon is now absolute positioned and it no longer affects the centering of the menu title
2020-11-18 10:10:43 +01:00
Carl Bergquist
15a6508d4a
trace user login and datasource name instead of id ( #29183 )
...
id's are not very helpful when debugging a system.
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-11-18 09:21:45 +01:00
Arve Knudsen
8c9bb7a215
playlist: Improve test ( #29120 )
...
* playlist: Improve test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 09:16:49 +01:00
Arve Knudsen
d6a645aae2
Drone: Fix publish-packages invocation ( #29179 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 09:00:02 +01:00
Dominik Prokop
f28ba27ca2
Table: Fix incorrect condtition for rendering table filter ( #29165 )
2020-11-18 08:46:40 +01:00
Arve Knudsen
bcb307fb1b
Chore: Upgrade grafana/build-ci-deploy image to latest Go ( #29171 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 08:40:41 +01:00
Marcus Andersson
4c0aa4acd5
DashboardLinks: will only refresh dashboard search when changing tags for link. ( #29040 )
...
* fixing so we dont run multiple dashboard links searches when changing variables.
* changed so we fetch the list when open the dashboard links dropdown.
* removed verification of unneccesary requests.
2020-11-18 07:11:36 +01:00
Grot (@grafanabot)
0fc8b5583c
ReleaseNotes: Updated changelog and release notes for 7.3.3 ( #29169 )
2020-11-17 19:29:47 +01:00
Karl Atkinson
65ed8a76a6
CloudWatch: added HTTP API Gateway specific metrics and dimensions ( #28780 )
2020-11-17 19:27:20 +01:00
Torkel Ödegaard
0ab593b58f
Release: Adding release notes for 7.3.3 ( #29168 )
...
* Release: Adding release notes for 7.3.3
* Updates
2020-11-17 18:52:48 +01:00
Alexey Zhiltsov
2212c6dbbb
SQL: Define primary key for tables without it ( #22255 )
...
The annotation_tag and alert_rule_tag tables did not have
PRIMARY KEY defined what cause problems with migration to
MariaDB with Galera setup with
innodb_force_primary_key=1
Or MySQL > 8.0.13 with
sql_require_primary_key=ON
Which can manifest as follows:
MariaDB
Error 1173: This table type requires a primary key
MySQL
ERROR 3750 (HY000): Unable to create or change a table
without a primary key, when the system variable 'sql_require_primary_key' is set.
Extra reading for curious:
https://jfg-mysql.blogspot.com/2017/08/danger-no-pk-with-RBR-and-mariadb-protection.html
Fixes #12971
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-11-17 17:58:56 +01:00
Matthew Helmke
f70fa2ceb5
changed link format from MD to HTML ( #29163 )
2020-11-17 10:19:16 -06:00
Arve Knudsen
52c154a221
Backend: Rename variables for style conformance ( #29097 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 17:09:14 +01:00
Torkel Ödegaard
94840b3a58
Docs: Fixes what'new menu and creates index page, adds first draft of release notes to docs ( #29158 )
...
* Docs: Fixes what'new menu and creates index page, adds first draft of release notes to docs
* Minor tweaks
* Fixed missing letter
* Updates
* Updated
Co-authored-by: Drone <drone@grafana.com>
2020-11-17 16:16:49 +01:00
Arve Knudsen
a6e72d5b61
Drone: Upgrade build pipeline tool and build image ( #29161 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 15:58:58 +01:00
Grot (@grafanabot)
64ff84c4aa
ReleaseNotes: Updated changelog and release notes for 7.4.0 ( #29160 )
2020-11-17 14:26:09 +01:00
Grot (@grafanabot)
87023fc444
ReleaseNotes: Updated changelog and release notes for 7.3.3 ( #29159 )
2020-11-17 13:29:50 +01:00
Arve Knudsen
4485f4d878
Chore: Upgrade Go etc in build images ( #29157 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 13:11:43 +01:00
Arve Knudsen
4dd7b7a82d
Chore: Remove unused Go code ( #28852 )
...
* Chore: Remove more unused Go code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:51:31 +01:00
Arve Knudsen
8c765e8068
API: Rewrite tests from goconvey ( #29091 )
...
* API: Rewrite tests from goconvey
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:31:35 +01:00
Arve Knudsen
2bf964c61e
Chore: Fix linting issues caught by ruleguard ( #28799 )
...
* Chore: Fix linting issues caught by ruleguard
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve error check
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:27:45 +01:00
Victor Cinaglia
967e9b39e8
Fix panic when using complex dynamic URLs in app plugin routes ( #27977 )
...
* remove unused function to interpolate URLs
* share function to add headers between ds/plugin proxies
* stop performing unnecessary plugin setting lookup
* fix bug causing runtime errors when using complex templated URLs
* lower case util functions not used outside of pluginproxy package
* change test URL to a (valid) dummy URL to make intent clearer
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 10:56:42 +01:00
Torkel Ödegaard
0f3bebb38d
Snapshots: Fixes so that dashboard snapshots show data when using Stat, Gauge, BarGauge or Table panels ( #29031 )
2020-11-17 10:25:36 +01:00
Sofia Papagiannaki
9d58a4fca2
Fix authomation text: remove hyphen ( #29149 )
2020-11-17 10:43:30 +02:00
Domas
3423ef864c
respect fronted-logging.enabled flag ( #29107 )
2020-11-17 08:49:39 +01:00
Andrew Mattheisen
4430ca2317
build paths in an os independent way ( #29143 )
...
Use filepath instead of path to manipulate filename paths in a way compatible with the target operating system-defined file paths.
2020-11-17 08:03:16 +01:00
Alexander Zobnin
4f9123ebe2
Provisioning: always pin app to the sidebar when enabled ( #29084 )
2020-11-17 09:45:40 +03:00
Torkel Ödegaard
d6d5d8cf4a
Automation: Adds new changelog actions ( #29142 )
...
* Automation: Adds new changelog actions
* Update
* Add newline
* added link
* Another fix
2020-11-16 21:34:19 +01:00
Emil Hessman
8c7e7e6d22
Chore: Rewrite preferences test from GoConvey to stdlib and testify ( #29129 )
2020-11-16 12:54:12 +01:00
Arve Knudsen
115f38f5c3
Chore: Upgrade Go dev tools ( #29124 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-16 07:50:39 +01:00
Torkel Ödegaard
a84fba5f9b
Automation: Adding version bump action
2020-11-15 11:50:43 +01:00
Ryan McKinley
88b59ae3c7
DataFrames: add utility function to check if structure has changed ( #29006 )
...
* add common flag for knowing if the structure changes
* remove property
* fix test
* fix test
* update comment
* fix jsdoc comments
2020-11-14 18:22:42 -08:00
Arve Knudsen
01df8f177c
Drone: Fix Drone config verification for enterprise on Windows ( #29118 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-14 11:44:56 +01:00
Emil Hessman
bdc6e2fe0a
Chore: Require OrgId to be specified in delete playlist command ( #29117 )
2020-11-14 09:49:07 +01:00
Arve Knudsen
fbf0d2c086
Plugin proxy: Handle URL parsing errors ( #29093 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-13 19:38:09 +01:00
Arve Knudsen
113e288668
Drone: Verify Drone config at beginning of pipelines ( #29071 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-13 19:28:46 +01:00
Torkel Ödegaard
28ce2f12ed
Legend/GraphNG: Refactoring legend types and options ( #29067 )
...
* Legend/GraphNG: Refactoring legend types and options
* Rename label
* Minor update
* Fixed legend placement crash issue
* remove unused
* Minor tweaks and fixes
2020-11-13 17:08:55 +01:00
Diana Payton
ec864f6461
Doc: Update documentation-style-guide.md ( #29082 )
...
* Update documentation-style-guide.md
* Update documentation-style-guide.md
2020-11-13 07:33:33 -08:00
Hugo Häggmark
1bdcd2f9ab
Chore: Bumps types for jest ( #29098 )
2020-11-13 14:48:11 +01:00
Andrej Ocenas
bbb1f72963
LogsPanel: Fix scrolling in dashboards ( #28974 )
2020-11-13 14:26:29 +01:00