Commit Graph

1141 Commits

Author SHA1 Message Date
Arik Fraimovich
e20a00566a Merge pull request #1007 from vorakumar/issue-1006
Issue#1006:  Make bottom margin editable for Chart visualization
2016-05-18 23:18:12 +03:00
Arik Fraimovich
e10ecd2dad Merge pull request #1058 from AntoineAugusti/patch-1
Bring back filters if dashboard filters are enabled
2016-05-18 22:50:31 +03:00
tomerb
0bb3fb9c40 added datetime to the yaxis scale options 2016-05-18 18:41:08 +03:00
Raymond Machira
6c822d1e4b Force area charts to recalculate on click of legend items.
This fixes issue #948 where stacked area plots do not update once series are enabled/disabled using the legend.
It also fixes the behaviour of percentage stack area plots, so as to have similar behaviour to percentage stacked bar charts.
2016-05-17 15:49:25 -05:00
Antoine Augusti
48c85645c6 Bring back filters if dashboard filters are enabled 2016-05-17 09:57:08 +02:00
Kumar Vora
d2ba0cb6cf Let plotly calculate the height based on provided margin values 2016-05-09 16:11:51 -05:00
Arik Fraimovich
e602b8cf2b Don't render visualizations in the background 2016-05-08 10:34:30 +03:00
Arik Fraimovich
0b806e2e7d Fix: link in pivot tab was broken 2016-05-08 10:34:14 +03:00
Arik Fraimovich
aa837ed09b Update for new design 2016-05-07 22:20:06 +03:00
Arik Fraimovich
f07e7273c1 Fix: add destination to list of static routes 2016-05-07 22:19:53 +03:00
Arik Fraimovich
e069374232 Merge w/ latest master 2016-05-07 17:49:49 +03:00
dheerajrav
83a03a22b1 multifilter bug fix 2016-05-05 18:51:41 +05:30
Arik Fraimovich
f3a274a5c0 Add optional block for more scripts in template 2016-05-05 11:26:02 +03:00
Arik Fraimovich
056ae4f63e Fix: only ask for notification permissions if wasn't denied 2016-05-04 16:57:58 +03:00
Kumar Vora
303e158eb1 Issue#1006: allowing user to change bottom margin for Chart visualizations 2016-04-22 13:16:00 -05:00
Arik Fraimovich
dbfe6c385c Fix: don't show viz edit button if user can't edit 2016-04-19 14:11:50 +03:00
Arik Fraimovich
e63220cc3a Merge pull request #998 from getredash/fix/embed_title
Fix #994: query description was rendered with bigger font than name
2016-04-18 22:10:30 +03:00
Arik Fraimovich
07ccd0986d Show query description only if enabled 2016-04-18 22:08:32 +03:00
Arik Fraimovich
a9ccdc79a4 Fix #996: only show edit controls if user can edit 2016-04-18 18:43:56 +03:00
Arik Fraimovich
3ad726e87f Fix #994: query description was rendered with bigger font than name 2016-04-18 18:36:42 +03:00
Arik Fraimovich
d38ab20c45 Feature: running queries (tasks) monitor
- Refactored tasks module into a package.
- Add new admins screens (running queries & outdated queries).
2016-04-18 13:46:31 +03:00
Arik Fraimovich
ff641440aa Avoid drawing chart before there is data 2016-04-17 18:12:12 +03:00
Arik Fraimovich
505f807e5a use ng-src to avoid errors before scope is available 2016-04-17 18:08:09 +03:00
Arik Fraimovich
eb61caa6b8 Show message if dashboard is archived 2016-04-17 18:05:15 +03:00
Arik Fraimovich
cbc58ba594 Fix: new user form was in wrong scope 2016-04-17 17:57:25 +03:00
Arik Fraimovich
8b4e8729dd Fix: embeds got broken due to missing inject 2016-04-17 14:30:02 +03:00
Arik Fraimovich
3925c48d14 Add material font to gulpfile 2016-04-17 12:26:48 +03:00
Arik Fraimovich
cf2407b69b Fix #779: use the default chart type for new series 2016-04-17 11:58:29 +03:00
Arik Fraimovich
c51779708e Remove angular-plotly and use Plotly's autoresize 2016-04-17 11:58:00 +03:00
Arik Fraimovich
9cded144e6 Remove Plotly legend height workaround and use official support for scrolling. 2016-04-17 11:12:33 +03:00
Arik Fraimovich
1dd8b6293b Switch to official Plotly.js bower distribution and use latest version. 2016-04-17 11:12:09 +03:00
Arik Fraimovich
3881eaa72e bower.json: move bootstrap version to correct location 2016-04-17 11:12:03 +03:00
Arik Fraimovich
38b603b28c Change logoUrl to logo_url to comply w/ code style 2016-04-14 22:31:02 +03:00
Arik Fraimovich
44f8ccfd75 New design 🎉 and UX improvements! In more detail:
- Based on the SuperFlat admin theme (I bought the extended license).
- All pages are now full-width to give your data the room it deserves.
- Various UX improvements (althuogh there is still room for improvement).
2016-04-14 22:27:26 +03:00
Arik Fraimovich
6cc2cf765d Merge pull request #987 from AntoineAugusti/inject-app-context
Feature: ability to change logo
2016-04-14 22:18:32 +03:00
Antoine Augusti
2d578247ef Inject variables with app context and ability to change the logo 2016-04-14 11:50:00 +02:00
tdawber
bde60d5919 Add link to embeds to open query in new window 2016-04-12 12:02:02 +10:00
Arik Fraimovich
39a832aff5 Fix #958: group members/datasources were cached. 2016-04-10 11:26:33 +03:00
Arik Fraimovich
db56818a52 Allow toggling dashboard full screen from URL 2016-04-06 18:02:42 +03:00
Arik Fraimovich
43078f60cf Use ng-if instead of ng-show for schema 2016-04-03 12:06:52 +03:00
Arik Fraimovich
941657fbbc Fix: on first save, make sure we load alredy existing data 2016-04-03 10:42:48 +03:00
Arik Fraimovich
07a53d6aa8 Fix mobile state of query page 2016-04-03 10:30:53 +03:00
Arik Fraimovich
4cc8dd1df8 When opening a query page, don't automatically execute it 2016-03-30 11:33:55 +03:00
Arik Fraimovich
1768778d1d Fix: show notifications only when page in background 2016-03-30 11:01:11 +03:00
Arik Fraimovich
f5abb47d89 Ask for notification permissions only on query execution 2016-03-30 11:01:01 +03:00
Arik Fraimovich
ffe23fc59c Split colors palette to base and additional 2016-03-30 10:30:15 +03:00
chiragkparmar@gmail.com
d6a474b9f1 Update color palette to add more pretty colors
Inspired from ggplot2 color palette, update ColorPalette to make charts
more pretty.
2016-03-30 10:27:38 +03:00
Arik Fraimovich
aab2da2f4c Move buttons in the query page 2016-03-30 10:06:48 +03:00
Alex DeBrie
d43d5731ee Prevent schemas from expanding on search 2016-03-24 17:00:45 +00:00
Andrea Leesley
1701d6cb60 Adjust query info ui. 2016-03-24 16:59:14 +00:00
Andrea Leesley
a9fbb1ccb2 Make query results full width. 2016-03-24 16:59:14 +00:00
Andrea Leesley
c096a133c5 Move the schema container to the right.
- Clean up ui on the new query page.
2016-03-24 16:55:49 +00:00
atharva.inamdar
be90353cca updated query search bar visibility threshold to 500 2016-03-24 16:39:19 +00:00
Alex DeBrie
4bcb705a2a Hide user subscriptions if email is not enabled 2016-03-24 14:28:47 +00:00
Alex DeBrie
ee29f07802 Clean up after rebase 2016-03-24 02:46:59 +00:00
Alex DeBrie
df2067eec1 Make subscription display more clear 2016-03-23 20:57:19 +00:00
Alex DeBrie
6c3b713b3d Add destination subscriptions to Alert page 2016-03-23 20:57:19 +00:00
Alex DeBrie
faf2f7dede Add user subscriptions back to Alert page 2016-03-23 20:57:19 +00:00
Alex DeBrie
70b4f9d447 Create dynamicForm directive 2016-03-23 20:57:18 +00:00
Alex DeBrie
63786c98df Remove unnecessary code 2016-03-23 20:51:10 +00:00
Alex DeBrie
54f3df6988 Move destination icons to BaseDestination 2016-03-23 20:49:20 +00:00
Alex DeBrie
ed7f9ea5f0 Create UI for adding/removing alert subscriptions 2016-03-23 20:49:20 +00:00
Alex DeBrie
4938f8e013 Add ability to choose destination when creating alert 2016-03-23 20:47:50 +00:00
Alex DeBrie
f2d5d52310 Remove destination groups; use ConfigurationContainer for options; Add user field on NotificationDestination 2016-03-23 20:44:14 +00:00
Alex DeBrie
3844483776 Add destination elements to rd_ui 2016-03-23 20:35:50 +00:00
Thomas Sibley
e61a5f3567 Support for remote user authentication via a trusted request header
This allows redash to use nearly any custom authentication setup.
Authentication via the REMOTE_USER environment variable is not provided
as it's deemed unlikely to ever be used.

Note that, like existing authentication providers, if you disable
password authentication and the remote user auth is unsuccessful
(probably due to a misconfiguration), then you'll get a redirect
loop of /login ⇄  /remote_user/login.
2016-03-21 17:00:16 -07:00
Arik Fraimovich
2ce6b567ca Include public.html in frontend build 2016-03-21 13:12:01 +02:00
Arik Fraimovich
fbb81b62d6 Make signed out layout more modular 2016-03-20 10:07:10 +02:00
Arik Fraimovich
9e6e913347 Merge pull request #928 from getredash/extensibility
Add extension points to override frontend elements
2016-03-15 22:49:45 +02:00
Arik Fraimovich
fde36298ce Add extension points to override frontend elemnts 2016-03-15 22:46:36 +02:00
Arik Fraimovich
82871f606a Fix: format API not working for non defualt organization 2016-03-15 15:25:52 +02:00
Arik Fraimovich
0fcf232b5e Move footer to include file 2016-03-15 14:22:12 +02:00
Arik Fraimovich
df180a2cb8 Allow admin to reset password instead of resend invite 2016-03-15 10:56:37 +02:00
Arik Fraimovich
0dccaa9ca4 Show warning if email server isn't configured 2016-03-15 10:37:33 +02:00
Arik Fraimovich
7a943f62b3 Password reset & invite links functionality. 2016-03-14 18:33:17 +02:00
Arik Fraimovich
abde67f2d9 Fix: gulp wasn't building app_layout.html 2016-03-13 22:58:12 +02:00
Arik Fraimovich
841805496e Better full screen support 2016-03-10 14:05:34 +02:00
Arik Fraimovich
fad8f2b7be UI for controlling access to dashboard 2016-03-10 11:28:39 +02:00
Arik Fraimovich
be65582da9 Remove explicit header setting as we do it in the config 2016-03-09 13:43:52 +02:00
Arik Fraimovich
52ad1f1ba1 Public dasboards feature. 2016-03-09 13:38:02 +02:00
Arik Fraimovich
863365a412 Feature: print layout for dashboards 2016-02-29 21:07:07 +02:00
Arik Fraimovich
d06d1ada28 Fix: data source loaded without properties 2016-02-28 18:54:20 +02:00
Arik Fraimovich
84f71d1837 Fix: properly show date/time in filters 2016-02-28 11:04:08 +02:00
Arik Fraimovich
86f2a0172f Fix #851: embed doesn't load due to missing module. 2016-02-24 21:53:12 +02:00
Arik Fraimovich
954e63a41f Fix: dashboard query results links broken 2016-02-23 11:33:13 +02:00
Arik Fraimovich
553c6ac8d7 Improve layout of download links 2016-02-22 11:50:42 +02:00
toyama0919
78511fd0ce add feature, Excel download from dashboard. 2016-02-17 14:48:23 +09:00
Arik Fraimovich
a50ae19236 Merge pull request #823 from mobiledefense/add-widescreen-toggle
Feature: Button toggle to display dashboard in at full screen width
2016-02-16 10:23:16 +02:00
yohei.naruse
32824f7575 apply reviews 2016-02-16 10:56:06 +09:00
yohei.naruse
2f16c8ae5f #801 Download DataSheets as Excel file 2016-02-15 23:47:31 +09:00
Arik Fraimovich
1ceddc9e91 Fix: we were sending wrong timestamp to Plotly 2016-02-14 20:38:32 +02:00
Arik Fraimovich
cec4e71d99 Fix #797: user redirected to homepage when changing permission type 2016-02-14 16:01:36 +02:00
Arik Fraimovich
e3420acd4b Feature: pivots are now regular visualizations that can be *saved*. 2016-02-14 15:17:52 +02:00
Arik Fraimovich
d21e2a79cc Close #772: upgrade to latest PivotTable.js lib 2016-02-14 14:40:01 +02:00
Arik Fraimovich
0ea0ba3fbe Fix #802: switching to/from query source view resets chart colors 2016-02-14 13:52:53 +02:00
Arik Fraimovich
0c93fe12ba Amend jshint settings 2016-02-14 13:51:32 +02:00
Arik Fraimovich
19766cf4ce Fix: sorting X values had no effect. 2016-02-14 13:24:14 +02:00
Arik Fraimovich
5e2727cfdf Use unminified d3.js in development. 2016-02-14 12:25:16 +02:00
Arik Fraimovich
3da326009b Bump Plot.ly version to a more recent one. 2016-02-14 12:24:56 +02:00
Matt Sochor
240739a445 Add dashboard toggle to display dashboard in at full screen width 2016-02-11 16:39:40 -05:00
Arik Fraimovich
cda1068ff1 Show logo in embdes 2016-02-10 15:39:02 +02:00
Arik Fraimovich
8cf7314dc0 Fix embed URL & move logic into a directive 2016-02-10 15:34:31 +02:00
Arik Fraimovich
3e58d8798a Copy additional files on gulp build 2016-02-09 15:09:31 +02:00
Arik Fraimovich
bab4080430 Switch to Gulp from Grunt 2016-02-09 14:59:19 +02:00
Arik Fraimovich
197bbde788 Fix #785: remove admin check box and direct users to use the groups
admin.
2016-01-24 11:08:02 +02:00
Arik Fraimovich
c6a06bd40a Remove debugging text 2016-01-19 18:01:35 +02:00
Arik Fraimovich
ed2e06a787 Fix: counter visualization doesn't update when editing 2016-01-16 21:17:23 +02:00
Arik Fraimovich
47d3faae92 Fix: dashboard editor doesn't include last added widget 2016-01-16 21:11:25 +02:00
Arik Fraimovich
031cb63f67 Rename peronal.html -> index.html 2016-01-13 10:03:52 +02:00
Arik Fraimovich
3befab7244 Remove client side performance collection 2016-01-13 10:00:06 +02:00
Arik Fraimovich
8c006238c5 Remove old IndexCtrl 2016-01-13 09:56:58 +02:00
Arik Fraimovich
ebe032070e Fix: update dashboard after layout change 2016-01-12 16:25:10 +02:00
Arik Fraimovich
566cda359e Fix: infinite digest loop in coutner visualization 2016-01-12 15:13:23 +02:00
Arik Fraimovich
901cf6f017 Fix: new data source should be assigned to default group? 2016-01-12 13:39:54 +02:00
Arik Fraimovich
83458ab25e increase opacity of overlay 2016-01-12 12:08:02 +02:00
Arik Fraimovich
89ac67555e Make groups listing only available for users with list_users permission 2016-01-11 15:46:41 +02:00
Arik Fraimovich
14c4203593 Show meaningful message when no data sources defined yet 2016-01-11 12:47:17 +02:00
Arik Fraimovich
9cedb3bb66 Merge pull request #749 from getredash/unique_ds
Data sources should have unique names per organization
2016-01-09 22:37:40 +02:00
Arik Fraimovich
9751d3584b Remove forgotten console.log 2016-01-08 20:45:13 +02:00
=
174f7c0b1a Add an option to update a query every 30 days for use with things like monthly reports. 2016-01-07 08:24:34 -08:00
Arik Fraimovich
c004274108 Merge pull request #742 from getredash/feature/permissions
Add option to enforce HTTPs at the "Flask level"
2016-01-07 12:25:01 +02:00
Arik Fraimovich
caff2e5caa Fix logo URL for multi-org 2016-01-07 12:03:28 +02:00
Arik Fraimovich
55f80695b0 Merge pull request #707 from ryotarai/bower-in-dockerfile
Build dependencies during building Docker image
2016-01-06 23:11:14 +02:00
Arik Fraimovich
7c6b95e71d Change multi-org implementation:
To avoid complications with how Google Auth works, when enabling organization
multi-tenancy on a single instance, each organization becomes a "sub folder"
instead of a sub-domain.
2016-01-04 00:03:49 +02:00
Arik Fraimovich
f7b57fa580 Feature: new permissions system
This is one huge change for the permissions system and related:

* (Backward incompatible:) Remove the table based permissions in favour of the new model.
* Manage permission to view or query datasources based on groups.
* Add the concept of Organization. It's irrelevant for most deployments, but allows for
  multi-tenant support in re:dash.
* Replace ActivityLog with Event based rows (old data in activity_log table is retained).
* Enforce permissions on the server-side. There were some permissions that were only enforced
  on the client side. This is no more. All permissions are enforced by the server.
* Added new permission: 'super-admin' to access the status and Flask-Admin interface.
* Make sure that html is never cached by the browser - this is to make sure that the browser
  will always ask for the new Javascript/CSS resources (if such are available).
2015-12-31 10:43:33 +02:00
yohei.naruse
068ce57b24 make right axis enabled if there are stacked bars on right axis and lines on right axis. 2015-12-24 17:34:29 +09:00
Arik Fraimovich
af61784a28 Merge pull request #664 from akariv/master
Feature: ability to embed visualizations in external sites
2015-12-21 22:07:32 +02:00
Arik Fraimovich
871d8d6b6a Merge pull request #716 from getredash/fix/perf
Fix #708: dashboard breaks when removing widgets and adding again
2015-12-21 16:34:13 +02:00
Adam Kariv
ea1fac76a3 Adapt to changes in upstream 2015-12-21 09:01:44 +02:00
Adam Kariv
ed380fefaa CR fixes 2015-12-21 09:01:44 +02:00
Adam Kariv
e9aeb11685 Embedding of visualizations in external sites 2015-12-21 09:01:44 +02:00
Arik Fraimovich
bfb73166c6 Merge pull request #713 from alexanderlz/master
Fix: don't add "Copy of" when saving a query
2015-12-20 14:36:46 +02:00
Arik Fraimovich
30adfccd79 Fix #708: dashboard breaks when removing widgets and adding again 2015-12-20 13:15:58 +02:00
Alexander Leibzon
b337a50fcc fix queryname when forking, add forked query_id to the name 2015-12-20 01:24:24 +02:00
Arik Fraimovich
3d178f9a60 Merge pull request #711 from alexanderlz/master
Feature: update forked query name
2015-12-16 20:56:06 +02:00
Ryota Arai
f31ec7b1dd Stop to install bower and grunt-cli globally. 2015-12-17 00:07:56 +09:00
Alexander Leibzon
31b6e6ff0f Merge remote-tracking branch 'upstream/master' 2015-12-16 15:17:58 +02:00
Alexander Leibzon
67118ee1aa add 'Copy of' to forked query 2015-12-15 01:15:03 +02:00
Alon Horev
e863d83bf4 #692: Enable scrolling for pie charts with long legend 2015-12-14 11:24:56 +02:00
Arik Fraimovich
450631d6ce Merge pull request #680 from alexanderlz/master
Feature: show rows count per table
2015-12-14 10:31:08 +02:00
Alon Horev
49848a193a #692: Fix scrolling issue with plotly charts (didn't always work) 2015-12-13 17:06:07 +02:00
Alexander Leibzon
8e432200aa Merge remote-tracking branch 'upstream/master' 2015-12-12 12:10:35 +02:00
Alon Horev
fc3fc0e84a Chart: pie chart colors should use our custom palette and not the default plotly palette 2015-12-12 01:02:22 +02:00
Alon Horev
24b70e66af Chart: regular area stacking (not percent) now shows both the value and sum per point. 2015-12-11 23:22:22 +02:00
Arik Fraimovich
76a1b9fdbe Merge pull request #701 from alonho/fix/694_2
Fix: #694: When stacking is enabled show both the relative value (in %) and the absolute value (attempt #2)
2015-12-11 17:02:34 +02:00
Arik Fraimovich
e310f9d522 Merge pull request #700 from alonho/fix/692
Fix: #692: Chart legend was cut off with a large number of series. The wrapping div now scrolls to make it visible.
2015-12-11 14:18:19 +02:00
Alon Horev
86a0e74db8 #694: When stacking is enabled show both the relative value (in %) and the absolute value 2015-12-10 23:00:49 +02:00
Alon Horev
30a70338ba #692: Chart legend was cut off with a large number of series. The wrapping div now scrolls to make it visible. 2015-12-10 22:16:58 +02:00
Arik Fraimovich
b242dbb531 Merge pull request #698 from alonho/fix/694
Fix: When stacking is enabled show both the relative value (in %) and the absolute value
2015-12-10 21:59:38 +02:00
Arik Fraimovich
ca47b0e6f7 Merge pull request #699 from alonho/fix/695
Fix: Charts: when stacking is enabled we should use one yaxis otherwise they overlap
2015-12-10 18:57:14 +02:00