Commit Graph

428 Commits

Author SHA1 Message Date
Arik Fraimovich
3066327b0e Use permissions in the UI 2014-03-12 12:59:05 +02:00
Arik Fraimovich
52d7650d61 send user's permissions to the view 2014-03-12 12:46:05 +02:00
Arik Fraimovich
aaa38689b3 Change roles to permissions 2014-03-12 12:45:12 +02:00
Arik Fraimovich
bf62b52183 Require admin role when asking for admin resource 2014-03-12 11:40:40 +02:00
Arik Fraimovich
0961d13ac2 require_role(s) decorators 2014-03-12 11:40:40 +02:00
Arik Fraimovich
e976f39d2b Add roles field to user 2014-03-12 11:40:40 +02:00
Arik Fraimovich
c34889ced9 Remove unneeded wrapper function. 2014-03-12 11:40:40 +02:00
Arik Fraimovich
a569a2c2c1 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
356128fbf5 Fix overflow CSS to be auto instead of scroll 2014-03-12 11:38:21 +02:00
Arik Fraimovich
a1ac2d512b 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
c3fc9879e0 Fix: use relative file path 2014-03-11 19:15:44 +02:00
Arik Fraimovich
126d6f7f60 Update importer to use mappings 2014-03-11 18:51:41 +02:00
Arik Fraimovich
3d726fe7b0 Update importer to update existing objects 2014-03-11 18:40:42 +02:00
Arik Fraimovich
c6ba21ad4c Update Widget and QueryResult to inherit from BaseModel 2014-03-11 18:40:24 +02:00
Arik Fraimovich
be3bad7b90 Move import functions into a class, to have state 2014-03-11 18:23:25 +02:00
Arik Fraimovich
2f53c7924d Import functions to import JSON representation of a dashboard 2014-03-11 18:23:25 +02:00
Arik Fraimovich
08d46bbbe3 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
db94db2957 Add support for ESC key in edit-in-place 2014-03-11 18:16:15 +02:00
Arik Fraimovich
c87dcf8aac Fix tab size 2014-03-11 18:09:12 +02:00
Arik Fraimovich
0e1dbc9624 Change fork button to default 2014-03-11 18:08:24 +02:00
Amir Nissim
0b90b7ea79 #121 fixes:
* fork your own query
* better redirect after saving new query
* UI fixes
2014-03-11 17:16:58 +02:00
Amir Nissim
2b652cac1f rd-time-ago directive 2014-03-11 16:35:19 +02:00
Amir Nissim
6c40610d34 #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
f1aec05835 #121: source button to play nice with hashes - cont'd 2014-03-11 15:20:13 +02:00
Arik Fraimovich
4860ea1b4e Revert to urls without slash when not needed 2014-03-11 15:20:13 +02:00
Arik Fraimovich
53dcd8b7b2 Fix routes 2014-03-11 15:20:13 +02:00
Amir Nissim
e8e2aab8e3 #121: source button to play nice with hashes 2014-03-11 15:20:13 +02:00
Amir Nissim
8d1b523b94 #121: alerts 2014-03-11 15:20:13 +02:00
Amir Nissim
31c59467db #121: editing query name, description, ttl triggers save 2014-03-11 15:20:13 +02:00
Amir Nissim
54c5a7dcb3 #121: /src url 2014-03-11 15:20:13 +02:00
Amir Nissim
d4287558f9 #121: use resolve in RouteProvider to get query and instantiate controller when resolved 2014-03-11 15:20:12 +02:00
Amir Nissim
da496975bc #121: more layout changes 2014-03-11 15:20:12 +02:00
Amir Nissim
aaafb0f465 #121: routing new views 2014-03-11 15:20:12 +02:00
Amir Nissim
7618fc97d2 #121: mobile tweaks 2014-03-11 15:20:12 +02:00
Amir Nissim
f01d224bdf #121: layout change - query editor on top 2014-03-11 15:20:12 +02:00
Amir Nissim
08355ff8af #121: edit refresh schedule, move alerts to right column 2014-03-11 15:20:12 +02:00
Arik Fraimovich
f2ebfaba3e Fix: no more flickering when switching visualization tabs. 2014-03-11 15:20:12 +02:00
Amir Nissim
67f4c78d61 #121: editable query name and description 2014-03-11 15:20:12 +02:00
Amir Nissim
02cf984711 #121: 'show query' button for non-owners 2014-03-11 15:20:12 +02:00
Amir Nissim
ef86f44215 organizing /app files 2014-03-11 15:20:12 +02:00
Amir Nissim
315803dde2 #121: QueryView page edit mode 2014-03-11 15:20:11 +02:00
Amir Nissim
f8280552a0 #121: QueryViewCtrl with 'strict mode' 2014-03-11 15:20:11 +02:00
Amir Nissim
4adfc4353b #121 query view page 2014-03-11 15:20:11 +02:00
Arik Fraimovich
7d9a7eafc6 Merge pull request #130 from EverythingMe/fix_category_chart_sorting
Fix: (in category charts) don't sort values when there is more than one category
2014-03-11 15:16:51 +02:00
Arik Fraimovich
97b727dcc0 Fix: don't sort values when there is more than one category 2014-03-11 15:14:32 +02:00
Arik Fraimovich
81525fa61b Fix: compile all views. 2014-03-09 12:52:33 +02:00
Arik Fraimovich
87bb092c9d Merge pull request #128 from EverythingMe/fix_visualizations_issues
Several visualizations related fixes.
2014-03-06 22:09:43 +02:00
Arik Fraimovich
02f376b6d3 Hackish way to show dates as dates in the table and timestamps
as date+timestamp.
2014-03-06 19:58:04 +02:00
Arik Fraimovich
10f2bc3df5 Fix: custom visualization name was ignored (ref #127) 2014-03-06 19:23:56 +02:00
Arik Fraimovich
3e7b1cdc15 Pie chart: show value and not only % 2014-03-06 19:21:13 +02:00