Commit Graph

631 Commits

Author SHA1 Message Date
Arik Fraimovich
99b7e3126b When updating query result, set the data source id. 2014-03-20 09:20:41 +02:00
Arik Fraimovich
8d8dafade3 Allow updating data source when updating query. 2014-03-20 09:20:27 +02:00
Arik Fraimovich
ee3150fc6b Update query results for same data source only 2014-03-19 14:58:13 +02:00
Arik Fraimovich
515eb28d4d No need to pass connection string to workers 2014-03-19 13:52:19 +02:00
Arik Fraimovich
f186c8cb5f Remove get_query_result_by_id from data.Manager. 2014-03-19 13:50:52 +02:00
Arik Fraimovich
193587dcfb Move QUeyrResult logic from data.Manager to QueryResult. 2014-03-19 13:48:48 +02:00
Arik Fraimovich
3f91ebea5f Fix QueryResult factory. 2014-03-19 13:48:11 +02:00
Arik Fraimovich
7f118635b4 Fix import job to use data source with query result. 2014-03-19 13:47:35 +02:00
Arik Fraimovich
0c199431a9 Add data source to QueryResult 2014-03-19 12:57:42 +02:00
Arik Fraimovich
4fffcab8aa Fix tests to use data source 2014-03-19 12:53:51 +02:00
Arik Fraimovich
7eb849affb Data Source factory 2014-03-19 12:53:39 +02:00
Arik Fraimovich
579ca28d6d Fix importer to use data source 2014-03-19 12:53:30 +02:00
Arik Fraimovich
679921dc8e Add DataSource to models list 2014-03-19 11:45:38 +02:00
Arik Fraimovich
259ea39d55 Move Highcharts color definitions to highchart's code file 2014-03-19 11:44:50 +02:00
Arik Fraimovich
f637ddf8ca Remove definition of QueryFIddleCtrl. 2014-03-19 11:42:36 +02:00
Arik Fraimovich
08b92e1f3d Remove QueryFiddle ctrl. 2014-03-19 11:39:08 +02:00
Arik Fraimovich
d4e4afb97d Put deprecation comment for data source settings. 2014-03-19 11:37:07 +02:00
Arik Fraimovich
dad207912e Fix: query wasn't saving. 2014-03-19 11:34:26 +02:00
Arik Fraimovich
6c9322624d Use datasource when executing queries. 2014-03-19 11:23:38 +02:00
Arik Fraimovich
8ae41c0b6a Show query's data source. 2014-03-19 11:22:51 +02:00
Arik Fraimovich
b6dbc3356d dict representation for DataSource. 2014-03-19 11:22:15 +02:00
Arik Fraimovich
2e078294c9 Update angular-resource to 1.2.7 2014-03-19 11:19:43 +02:00
Arik Fraimovich
1d001407a0 Move query runner creation to worker based on data source in Job. 2014-03-18 20:45:03 +02:00
Arik Fraimovich
0b994de531 Refactor Job class to be easier to extend.
Moved the Redis logic out of it.
2014-03-18 17:48:37 +02:00
Arik Fraimovich
caa198964c Move logging setup to __init__.py so it's always available 2014-03-18 17:48:37 +02:00
Arik Fraimovich
c7ded66057 Data sources model 2014-03-18 17:48:37 +02:00
Arik Fraimovich
8c80e99d3b Merge pull request #139 from erans/master
Added support for running scripts as queries
2014-03-18 17:45:09 +02:00
Arik Fraimovich
3f2ac6ab76 Merge pull request #143 from EverythingMe/fix_stacking
Feature: import query from json file
2014-03-17 21:29:49 +02:00
Arik Fraimovich
b97c9ee3c9 Feature: import query from json file 2014-03-17 21:28:48 +02:00
Arik Fraimovich
f9fbff3fa5 Merge pull request #142 from EverythingMe/fix_stacking
Fix stacking
2014-03-17 21:24:39 +02:00
Arik Fraimovich
cdac5fbf52 Remove console.log 2014-03-17 21:24:18 +02:00
Arik Fraimovich
aa7e010342 Fix: when having categories chart and not all series had values
it wouldn't draw the chart with stacking other than none.
2014-03-17 21:22:07 +02:00
Arik Fraimovich
74d667b942 Merge pull request #140 from EverythingMe/query_filters
Feature: filters for all visualizations and not only tables
2014-03-17 21:08:58 +02:00
Arik Fraimovich
9a04535e6b Reset filterFreeze when updating data. 2014-03-17 20:25:58 +02:00
Arik Fraimovich
f3d46355af Because we draw the table without VisualizationRenderer we need to explicitly add filters here too. 2014-03-17 20:23:12 +02:00
Arik Fraimovich
44621e4f37 Switch to $watchCollection to resolve the issue of chart not updating when length of series stays the same. 2014-03-17 20:22:49 +02:00
Arik Fraimovich
a99e290bc5 Store filters on QueryResult object and use them in getQueryData. 2014-03-17 20:22:24 +02:00
Arik Fraimovich
2b5291900d Show filters directive on all visualizations. 2014-03-17 20:21:39 +02:00
Arik Fraimovich
19209d16aa Filters directive. 2014-03-17 20:20:49 +02:00
Eran Sandler
a2257999a7 moved to use the query_runner.annotate_query flag so we won't get the SQL comment 2014-03-17 18:56:50 +02:00
Eran Sandler
d3e87a3d28 added support for a 'url' source where you can supply a URL to retrieve the same JSON result used in other query runners 2014-03-17 18:44:31 +02:00
Eran Sandler
d435d122eb Added support for running scripts as queries 2014-03-17 16:36:51 +02:00
Arik Fraimovich
dd8478fe0a Merge pull request #136 from EverythingMe/logout
Logout button
2014-03-13 12:37:06 +02:00
Amir Nissim
97d614659a logout button. closes #125 2014-03-13 12:29:25 +02:00
Arik Fraimovich
3b11f010b5 Fix minification issue 2014-03-12 16:53:22 +02:00
Arik Fraimovich
607123e67a Reduce expire time to 1800, to reduce changes of test failing 2014-03-12 13:41:42 +02:00
Arik Fraimovich
67e4d24c11 Merge pull request #135 from EverythingMe/feature_roles
Fix: create table only if it doesn't exists.
2014-03-12 13:35:14 +02:00
Arik Fraimovich
0e3c6ac275 Create table only if it doesn't exists 2014-03-12 13:32:28 +02:00
Arik Fraimovich
549f9288a1 Merge pull request #134 from EverythingMe/feature_roles
Feature: control the system name
2014-03-12 13:24:45 +02:00
Arik Fraimovich
86ba16fbb8 Feature: control the system name 2014-03-12 13:22:37 +02:00