e9ab4feeb0
link to github instead
2018-08-29 09:58:08 +02:00
955e5afa45
recheck timecolumn when changing table
2018-08-29 09:51:01 +02:00
84ec1ce624
update filter macro on time column change
2018-08-29 09:04:33 +02:00
30fce34d9c
make default mode for table panels raw editor
2018-08-28 12:10:55 +02:00
62d82920e6
improve description for timescaledb option
2018-08-27 23:20:17 +02:00
7177f19436
Merge branch 'master' into postgres-query-builder
2018-08-27 11:23:55 +02:00
da8696ed95
fix handling of variable interpolation for IN expresions
2018-08-26 22:43:03 +02:00
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
21e7b0b92d
add min interval to postgres datasource
2018-08-25 18:14:39 +02:00
02c5d36c0b
fix tableSegment and timeColumnSegment after table suggestion
2018-08-21 20:12:45 +02:00
e04127e430
unify quoting
2018-08-18 16:09:12 +02:00
49319fbdea
prefill editor with first metric table
2018-08-18 13:21:08 +02:00
ff2564900f
only allow 1 filter macro in where clause
2018-08-18 12:34:19 +02:00
c1890dbb6d
fix timeColumnType assignment
2018-08-18 12:28:05 +02:00
9699d7a166
make suggested filter macro depend on type
2018-08-18 12:11:10 +02:00
18ce6fc280
use unixEpochGroup macro for unix timestamp
2018-08-18 12:04:32 +02:00
998bb6ebe3
Merge branch 'master' into postgres-query-builder
2018-08-18 11:54:39 +02:00
313a8bd033
Merge pull request #12891 from svenklemm/unixepochgroup
...
add $__unixEpochGroup and $__unixEpochGroupAlias to sql datasources
2018-08-17 14:41:33 +02:00
8e4db8cc3a
suggest operators depending on datatype
2018-08-17 10:38:23 +02:00
28f97a2450
update persisted parts on param change
2018-08-16 13:23:38 +02:00
e84a1cbcc5
persist datatype information
2018-08-16 12:50:32 +02:00
8ced29a0e7
Don't do value suggestions for numeric and timestamp
2018-08-16 11:48:36 +02:00
735c4abe6c
rename postgres_query.jest.ts to .test.ts
2018-08-15 12:06:32 +02:00
907e8fd77c
fix variable escaping
2018-08-15 11:37:30 +02:00
a2f4441f9d
autodetect timescaledb when version >= 9.6
2018-08-15 10:42:15 +02:00
2d12801186
detect postgres version for saved datasources
2018-08-15 09:48:06 +02:00
2606f6e715
use pointer cursor for buttons in query editor
2018-08-15 09:21:17 +02:00
6d8ad3b076
require postgres 9.4+ for ordered set aggregate functions
2018-08-14 15:49:37 +02:00
9d022766ee
add postgres version to datasource config
2018-08-14 15:45:55 +02:00
c90eb45cef
only show first/last aggregate when timescaledb is enabled
2018-08-14 15:29:29 +02:00
e12d07dd68
keep jsonData in PostgresDatasource
2018-08-14 15:27:58 +02:00
5b3b0295e8
Merge branch 'master' into postgres-query-builder
2018-08-14 15:10:16 +02:00
660530a3a6
Merge pull request #12914 from dehrax/12224-final
...
Karma to Jest: rename and cleanup
2018-08-14 12:55:23 +02:00
15c8ef6c95
Merge branch 'master' into postgres-query-builder
2018-08-14 12:51:03 +02:00
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
bfe28ee061
Add $__unixEpochGroup macro to postgres datasource
2018-08-13 12:08:14 +02:00
c9bbdf244c
get timecolumn datatype on timecolumn change
2018-08-13 11:29:35 +02:00
1dd8192d51
fix datatype query
2018-08-13 09:57:46 +02:00
a4a33d80db
mention time_bucket in timescaledb tooltip
2018-08-09 17:30:46 +02:00
c3aad10047
change timescaledb to checkbox instead of select
2018-08-09 10:05:35 +02:00
b987aee7cf
add timescaledb option to postgres datasource
...
This adds an option to the postgres datasource config for
timescaledb support. When set to auto it will check for
timescaledb when testing the datasource.
When this option is enabled the $__timeGroup macro will
use the time_bucket function from timescaledb to group
times by an interval.
This also passes the datasource edit control to testDatasource
to allow for setting additional settings, this might be useful
for other datasources aswell which have optional or version
dependant features which can be queried.
2018-08-09 10:05:35 +02:00
13d0fa4b9a
add previous fill mode to query builder
2018-08-08 12:23:41 +02:00
3b6454ab88
Merge branch 'master' into postgres-query-builder
2018-08-08 12:09:17 +02:00
52c7edf2f4
rename last fillmode to previous
2018-08-07 21:11:51 +02:00
6d07d825e9
dont break default parameters for functions
2018-08-03 18:38:40 +02:00
e4ae8be9fa
fix suggestion query
2018-08-03 14:09:41 +02:00
aa830211fe
dont order for aggregate
2018-08-03 10:15:28 +02:00
dabfd88cd9
add moving average to query builder
2018-08-03 07:44:36 +02:00
0b57e88f9e
adjust frontend test
2018-08-03 06:19:53 +02:00
2cae966e6c
use $__timeGroupAlias macro
2018-08-02 21:40:15 +02:00