Commit Graph

544 Commits

Author SHA1 Message Date
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
Arik Fraimovich
cb74a2c6ae Merge pull request #133 from EverythingMe/feature_roles
Feature: basic permissions system
2014-03-12 13:17:41 +02:00
Arik Fraimovich
97b163bc95 Update manage.py to use permissions 2014-03-12 13:13:06 +02:00
Arik Fraimovich
13f3a5e172 Update tests for /status.json 2014-03-12 13:08:19 +02:00
Arik Fraimovich
3bcd8bf2d5 Use permissions in the UI 2014-03-12 12:59:05 +02:00
Arik Fraimovich
b0c50bd817 send user's permissions to the view 2014-03-12 12:46:05 +02:00
Arik Fraimovich
3d95d6b8c9 Change roles to permissions 2014-03-12 12:45:12 +02:00
Arik Fraimovich
cff710ee52 Require admin role when asking for admin resource 2014-03-12 11:40:40 +02:00
Arik Fraimovich
5003f36337 require_role(s) decorators 2014-03-12 11:40:40 +02:00
Arik Fraimovich
2854a1c8c0 Add roles field to user 2014-03-12 11:40:40 +02:00
Arik Fraimovich
5eeaf6853e Remove unneeded wrapper function. 2014-03-12 11:40:40 +02:00
Arik Fraimovich
08b6141d06 Merge pull request #132 from EverythingMe/feature_import
Fix overflow CSS to be auto instead of scroll
2014-03-12 11:38:44 +02:00
Arik Fraimovich
6cbc2736d8 Fix overflow CSS to be auto instead of scroll 2014-03-12 11:38:21 +02:00
Arik Fraimovich
2db600b8d7 Merge pull request #131 from EverythingMe/feature_import
Feature: import dashboard (along with widgets, visualization and queries) from JSON
2014-03-11 19:23:24 +02:00
Arik Fraimovich
5df3dbde1a Fix: use relative file path 2014-03-11 19:15:44 +02:00
Arik Fraimovich
417571ecd6 Update importer to use mappings 2014-03-11 18:51:41 +02:00
Arik Fraimovich
6fa5668cbc Update importer to update existing objects 2014-03-11 18:40:42 +02:00
Arik Fraimovich
07b8d3d157 Update Widget and QueryResult to inherit from BaseModel 2014-03-11 18:40:24 +02:00
Arik Fraimovich
d6bd19438c Move import functions into a class, to have state 2014-03-11 18:23:25 +02:00
Arik Fraimovich
0f29506dda Import functions to import JSON representation of a dashboard 2014-03-11 18:23:25 +02:00
Arik Fraimovich
f420c91909 Merge pull request #126 from EverythingMe/query-view-page
Fixes #121: redesign query page (have separate page for editing and viewing)
2014-03-11 18:22:31 +02:00
Arik Fraimovich
6c00b8a853 Add support for ESC key in edit-in-place 2014-03-11 18:16:15 +02:00
Arik Fraimovich
38f20d7eba Fix tab size 2014-03-11 18:09:12 +02:00
Arik Fraimovich
19b97f63e5 Change fork button to default 2014-03-11 18:08:24 +02:00
Amir Nissim
fa4258f75c #121 fixes:
* fork your own query
* better redirect after saving new query
* UI fixes
2014-03-11 17:16:58 +02:00
Amir Nissim
583546a7ca rd-time-ago directive 2014-03-11 16:35:19 +02:00
Amir Nissim
a6f527bd51 #121 More UI issues:
* source as link instead of button
* fix source link when url has a hash
* new query uses the new layout
* rename url /src => /source...
* when deleting a visualization update the hash
* don't submit title/description if it hasn't changed
* mobile: fix description field wrapping
2014-03-11 15:21:53 +02:00
Amir Nissim
56672a862f #121: source button to play nice with hashes - cont'd 2014-03-11 15:20:13 +02:00
Arik Fraimovich
b5e5fb2bde Revert to urls without slash when not needed 2014-03-11 15:20:13 +02:00
Arik Fraimovich
cf82b4899a Fix routes 2014-03-11 15:20:13 +02:00
Amir Nissim
554b21241b #121: source button to play nice with hashes 2014-03-11 15:20:13 +02:00
Amir Nissim
d6068395fa #121: alerts 2014-03-11 15:20:13 +02:00
Amir Nissim
4836e5c239 #121: editing query name, description, ttl triggers save 2014-03-11 15:20:13 +02:00
Amir Nissim
0ff4de1e10 #121: /src url 2014-03-11 15:20:13 +02:00
Amir Nissim
c91368229a #121: use resolve in RouteProvider to get query and instantiate controller when resolved 2014-03-11 15:20:12 +02:00
Amir Nissim
324205ed37 #121: more layout changes 2014-03-11 15:20:12 +02:00
Amir Nissim
950989b139 #121: routing new views 2014-03-11 15:20:12 +02:00
Amir Nissim
498027301e #121: mobile tweaks 2014-03-11 15:20:12 +02:00