- 03 Jun, 2019 10 commits
-
-
xorm introduced some changes in https://github.com/go-xorm/xorm/pull/824 and https://github.com/go-xorm/xorm/pull/876 which by default will use public as the postgres schema and this was a breaking change compared to before. Grafana has implemented a custom postgres dialect so above changes wasn't a problem here. However, Grafana's custom database migration was using xorm dialect to check if the migration table exists or not. For those using a custom search_path (schema) in postgres configured on server, database or user level the migration table check would not find the migration table since it was looking in public schema due to xorm changes above. This had the consequence that Grafana's database migration failed the second time since migration had already run migrations in another schema. This change will make xorm use an empty default schema for postgres and by that mimic the functionality of how it was functioning before xorm's changes above. Fixes #16720 Co-Authored-By: Carl Bergquist <carl@grafana.com>
Marcus Efraimsson committed -
closes #17348
Carl Bergquist committed -
* Refactor: Removes replaceUrl from actions * Refactor: Moves saveState thunk to epic * Refactor: Moves thunks to epics * Wip: removes resulttype and queries once * Refactor: LiveTailing uses observer in query * Refactor: Creates epics folder for epics and move back actioncreators * Tests: Adds tests for epics and reducer * Fix: Checks for undefined as well * Refactor: Cleans up previous live tailing implementation * Chore: merge with master * Fix: Fixes url issuses and prom graph in Panels * Refactor: Removes supportsStreaming and adds sockets to DataSourcePluginMeta instead * Refactor: Changes the way we create TimeSeries * Refactor: Renames sockets to streaming * Refactor: Changes the way Explore does incremental updates * Refactor: Removes unused method * Refactor: Adds back Loading indication
Hugo Häggmark committed -
With live tailing introduced in Explore we now have a lot of actions dispatching and the Redux Dev Tools doesn't cope with the amount and rate of actions and crashes. This PR turns on redux action logging when you add logActions=true in the url and turns it off if you refresh the page or add logActions=false in the url.
Hugo Häggmark committed -
Build: Adds e2e tests back to master workflow with better error messages and with artifacts (#17374) * Refactor: Adds better error message and removes chromium download progess * Test: Adds e2e tests to pr builds for testing purpose * Tests: Changes path to screenshots * Tests: Adds failing test just to test message and artifacts * Tests: Removes failing test
Hugo Häggmark committed -
Marcus Efraimsson committed
-
* should be 'Tags' not 'All' * fix poor wording in 'Match any' tooltip * add tooltip for 'Tags' input (untested! and can probably be worded better, i just don't know enough about the implementation)
Dieter Plaetinck committed -
Fixes #17397
Matthias Steffen committed -
Johannes Schill committed
-
Carl Bergquist committed
-
- 31 May, 2019 2 commits
-
-
* batch disable users * batch revoke users tokens * split batch disable user and revoke token * fix tests for batch disable users * Chore: add BatchDisableUsers() to the bus
Alexander Zobnin committed -
This removes unused properties in explore and datasource meta data (tables and explore properties in plugin.json).
Marcus Efraimsson committed
-
- 30 May, 2019 2 commits
-
-
closes #11431
Bernard Duggan committed -
* mitigate https://www.owasp.org/index.php/CSV_Injection - prepend csv cell values that begin with -, +, = or @ with ' - trim trailing whitespace from all csv values * test for csv formula injection mitigation
Dan Cech committed
-
- 29 May, 2019 7 commits
-
-
Oleg Gaidarenko committed
-
* Enterprise: remove gofakeit dep Since we decided to use our uuid generation inside util module * Enterprise: result of execution of `go mod ...`
Oleg Gaidarenko committed -
This makes sure that refresh/update/run query are parsing a relative time range to get proper epoch time range before running queries. Fixes #17322
Marcus Efraimsson committed -
Remove some of the repetitions in the npm commands
Oleg Gaidarenko committed -
* webpack: upgrade webpack analyser * yarn.lock update
Carl Bergquist committed -
* NewDataSource: adding initial grafana cloud link * Minor update * Updated
Torkel Ödegaard committed -
When accessing the `series` property of query results, if a query is hidden, an exception is thrown. This is caused by lack of checks to verify that the query result exists before accessing the `series` property. Closes #17112
Joshua Piccari committed
-
- 28 May, 2019 9 commits
-
-
If devenv/docker-compose.yaml file is missing, `devenv-down` and subsequently `devenv` is not going to work
Oleg Gaidarenko committed -
* Build(makefile): improve error handling Ref baa55ab6
Oleg Gaidarenko committed -
Marcus Efraimsson committed
-
I dont want emails from companies who test alert notifiers :)
Carl Bergquist committed -
* Fix: change and to and so not clashing with grafana vars (#16365) * Fix: change and to and so not clashing with grafana vars (#16365) * Fix: update now to datetime (#16365) * Fix: test should look for datetime instead of now (#16365) * Fix: _az suffix to datasource convention (#16365) * Fix: convert vars to macro, update doc (#16365) * Fix: convert vars to macro, update doc (#16365) * Fix: remove support for time vars (#16365) * Fix: confilct from master * add migration on editor open * fix migration var name
Shavonn Brown committed -
Ryan McKinley committed
-
Šimon Podlipský committed
-
Šimon Podlipský committed
-
Marcus Efraimsson committed
-
- 27 May, 2019 10 commits
-
-
If a field or a label named level is returned from datasource that is used as log level for the logs result instead of parsing the log level from the message. Closes #17122
Marcus Efraimsson committed -
Adds a new [server] setting `serve_from_sub_path`. By enabling this setting and using a subpath in `root_url` setting, e.g. `root_url = http://localhost:3000/grafana`, Grafana will be accessible on `http://localhost:3000/grafana`. By default it is set to `false` for compatibility reasons. Closes #16623
Abhilash Gnan committed -
Marcus Efraimsson committed
-
Marcus Efraimsson committed
-
Hugo Häggmark committed
-
With the previous configuration `docker-compose build` was always failing. This moves the dockerfiles in the parent dir and changes paths as a result. Ref moby/moby#2745
Oleg Gaidarenko committed -
* Fix: Adds back necessary aria-labels for e2e tests * Build: Adds end-to-end-tests job to build-master workflow * Build: Changes grafana image used
Hugo Häggmark committed -
Torkel Ödegaard committed
-
Torkel Ödegaard committed
-
closes: #17107
Andrej Ocenas committed
-