Commit Graph

624 Commits

Author SHA1 Message Date
Amir Nissim
3670c7c3a7 [#138] onQuerySave callback 2014-03-25 14:04:18 +02:00
Amir Nissim
3dc8d9a842 Navigation service 2014-03-25 12:28:18 +02:00
Amir Nissim
fbb8943eeb [#138] update queryText when query is saved 2014-03-25 11:38:52 +02:00
Arik Fraimovich
84d07903f6 Merge pull request #153 from EverythingMe/feature_data_source
Shell wrapper to source env before running command
2014-03-25 10:25:12 +02:00
Arik Fraimovich
1571676d7a Shell wrapper to source env before running command 2014-03-25 10:22:50 +02:00
Arik Fraimovich
8cb0472497 Add manage.py command to print settings 2014-03-25 10:22:21 +02:00
Arik Fraimovich
de41dc84af Remove migrate make command 2014-03-25 10:19:11 +02:00
Arik Fraimovich
5ae2b88cec Merge pull request #152 from EverythingMe/feature_data_source
Make task to run a migration
2014-03-25 09:34:19 +02:00
Arik Fraimovich
0a22fb61dc Make task to run a migration 2014-03-25 09:33:44 +02:00
Amir Nissim
5d37f1a34b KeyboardShortcuts service 2014-03-24 17:51:57 +02:00
Amir Nissim
bbe17f3a09 [#138] fix ui-codemirror bug when used as directive 2014-03-24 16:13:59 +02:00
Amir Nissim
21ad5bbb4a [#138] simplify saveQuery, drop $route dependency 2014-03-24 16:07:24 +02:00
Amir Nissim
977193b009 fix getColumns failures when QueryResult has no data 2014-03-24 14:33:03 +02:00
Amir Nissim
16a83f6134 getQueryResult only if query.data_source_id exists 2014-03-24 14:33:03 +02:00
Amir Nissim
e0af1f20af [#138] cherry pick rebase conflicts:
366cdbf616 Remove reference to query result when changing data source
 872cee2228 Unless data source set already, set it to the first one.
 8ae41c0b6a Show query's data source.
2014-03-24 14:33:02 +02:00
Amir Nissim
ca415c50ad [#138] store original query text to detect changes 2014-03-24 14:33:02 +02:00
Amir Nissim
c4cbe06c12 [#138] Query.newQuery 2014-03-24 14:33:02 +02:00
Amir Nissim
34fb58d403 typo: cancelInterval -> clearInterval 2014-03-24 14:33:02 +02:00
Amir Nissim
cddf69e422 [#138] rebase fixes (cherry pick f3d4635) 2014-03-24 14:33:02 +02:00
Amir Nissim
6a1c5aeae7 [#138] move saveQuery to ViewCtrl 2014-03-24 14:33:02 +02:00
Amir Nissim
f3411a46a5 [#138] alert-unsaved-changes directive 2014-03-24 14:33:02 +02:00
Amir Nissim
7616738fc6 [#138] QueryEditCtrl cleanup 2014-03-24 14:33:02 +02:00
Amir Nissim
5d03ce6b50 [#138] QueryViewCtrl cleanup and formatting 2014-03-24 14:33:02 +02:00
Amir Nissim
3ad8114a28 [#138] query directives 2014-03-24 14:33:02 +02:00
Amir Nissim
37d56a2bf6 [#138] editCtrl inheriting viewCtrl 2014-03-24 14:33:02 +02:00
Arik Fraimovich
cff07a3e3d Merge pull request #151 from EverythingMe/feature_data_source
Fix issue with serializing unicode queries.
2014-03-24 14:31:13 +02:00
Arik Fraimovich
a1f81705dd Unicode test case for Job 2014-03-24 14:26:57 +02:00
Arik Fraimovich
b8dba48759 Fix issue with serializing unicode queries 2014-03-24 14:18:03 +02:00
Arik Fraimovich
ae8706ab85 Merge pull request #149 from EverythingMe/feature_data_source
Feature: Support multiple data sources (databases) for querying (#12)
2014-03-23 17:02:55 +02:00
Arik Fraimovich
af85943c08 Add comment about moving logic to the model 2014-03-23 12:52:22 +02:00
Arik Fraimovich
d7a453e8b1 Fix tests (were rightfully failing on system with clock set to utc) 2014-03-20 20:57:35 +02:00
Arik Fraimovich
725a8f2bb5 Reverse comparison 2014-03-20 20:16:23 +02:00
Arik Fraimovich
5979d91875 Reduce Peewee's logging level to INFO in tests. 2014-03-20 19:45:16 +02:00
Arik Fraimovich
86b95a404a Apply filters only when available 2014-03-20 19:38:05 +02:00
Arik Fraimovich
366cdbf616 Remove reference to query result when changing data source 2014-03-20 19:30:05 +02:00
Arik Fraimovich
addaf97489 Add results verification 2014-03-20 18:49:38 +02:00
Arik Fraimovich
6989c7d2fd Script to test concurrency issues 2014-03-20 18:16:09 +02:00
Arik Fraimovich
166b1a7c6b Switch to using peewee models in Manager + fix bugs + add tests (#8). 2014-03-20 13:22:37 +02:00
Arik Fraimovich
2d3a0cc917 Update peewee version to be able to use window functions. 2014-03-20 13:18:32 +02:00
Arik Fraimovich
f58ffd884b Remove data.manager.QueryResult class. 2014-03-20 10:47:07 +02:00
Arik Fraimovich
afb1b3f16f Merge pull request #147 from EverythingMe/fix_141_digest_called_every_second
Fix #141: prevent the timer directive call digest loop every second
2014-03-20 09:33:46 +02:00
Arik Fraimovich
93f87f0922 Fix #141: prevent the timer directive call digest loop every second
By using setInterval & $scope.$digest instead of $timeout which uses
$scope.$apply, which in turn calls $rootScope.$digest.
2014-03-20 09:29:27 +02:00
Arik Fraimovich
872cee2228 Unless data source set already, set it to the first one. 2014-03-20 09:21:01 +02:00
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