Commit Graph

2445 Commits

Author SHA1 Message Date
Maxime Beauchemin ccd5fd44cf Removing dependency on pythrifthiveapi (#3494)
Since the latest pyhive, we don't need pythrifthiveapi as they ship with
the latest version.

There's actually a conflict between the new pyhive and pythrifthiveapi
and this fixes it.
2017-09-19 11:19:49 -07:00
Maxime Beauchemin c5252d0f43 [heatmap] account for bounds = 0 (#3474)
* [heatmap] account for bounds = 0

* Fix sorting

* linting
2017-09-18 21:32:39 -07:00
timifasubaa ede1432936 Improve code quality (#3480)
* add lanscape?

* add code climate badges

* pylint first pass

* Try out yapf

* merge

* merge

* lint

* more yapf

* removed unnecessary corrections
2017-09-18 20:40:27 -07:00
fabianmenges c3c9ceb1cc Feature/Fix: Get a full times_series for your filter instead of Topn for each point in time (#3434) 2017-09-18 10:48:05 -07:00
datinho 6fe93e18c7 Getting datatype with its dialect (#3486) 2017-09-18 09:55:41 -07:00
Dmitry Goryunov c988080990 Feature: "Impersonate user" setting on Datasource (#3404)
* Add "Impersonate user" setting to Datasource

* Add tests

* Use g.user.username for all the sync cases

* use uri.username instead of uri.user

* Small refactoring
2017-09-18 09:52:29 -07:00
JulieRossi a26e65f418 Create CsvResponse to manage csv exports encoding (#3484) 2017-09-18 09:51:13 -07:00
Maxime Beauchemin e66f68d36c Better installation docs (#3469) 2017-09-18 09:49:48 -07:00
Riccardo Magliocchetti cb4d934ba5 viz: fix reversed stats_logger label (#3475) 2017-09-18 09:45:49 -07:00
Riccardo Magliocchetti 6962c76412 docs: athena can be installed from pypi (#3477)
As sqlalchemy support has been merged and available in a release
since a few.
2017-09-18 09:45:00 -07:00
Riccardo Magliocchetti b0d25a154a Miscvizcleanups (#3476)
* viz: remove unused countries import

* viz: simplify code in BaseViz.query_obj
2017-09-18 09:44:19 -07:00
fabianmenges e22aecb0d1 Adding hook for CSRF exempting flask views. (#3435) 2017-09-14 20:54:18 -07:00
Jeff Carey 32bd827b25 bugfix/3321 Ensure text appears on buttons inside tables (#3409) 2017-09-14 20:28:01 -07:00
Stephanie Rivera e399a8c613 Simple grammar and update to link (#3415) 2017-09-14 17:41:01 -07:00
JulieRossi b90d8e32f1 config: allow changing default options for writting csv (#3441) 2017-09-14 17:40:15 -07:00
Xiao Hanyu c81026ddb1 Add shopee to user list. (#3425)
Shopee (https://shopee.sg) use superset for data analytics, visualisation and reporting.
2017-09-14 17:12:54 -07:00
Jeff Niu dd72048320 Fixed filter removal bug (#3458)
* Fixed bugs when removing filter, switching operators, and switching columns

* Fixed lint errors for code style

* Added more unit tests for FilterControl

* Code format changes to meet standards
2017-09-14 17:10:38 -07:00
Grace Guo ad604aed09 fix encoding error in sql lab logging (#3424) 2017-09-14 11:18:34 -07:00
timifasubaa 31b7b9a6a0 Sqllab dont send empty queries to db (#3459)
* add lanscape?

* prevent empty queries from being sent to db

* Revert "add lanscape?"

This reverts commit b3d6e80af4.

* improve code style

* nit

* unnit

* renit
2017-09-14 09:50:06 -07:00
Jeff Niu 745784fc97 Fixed dashboard filters carrying over to explore slice (#3461) 2017-09-14 09:44:00 -07:00
fabianmenges fdee06bbf2 Adding hook for external password store for databases (#3436) 2017-09-13 20:59:03 -07:00
Maxime Beauchemin 816c517f0f Allow specifying sort criteria on Table viz (#3460)
* Allow to specify sort criteria on table viz

* Better handling of ordering
2017-09-13 20:18:47 -07:00
Maxime Beauchemin 49f24d128b [heatmap] numerous improvements (#3456)
* [heatmap] numerous improvements

* flexibility as to how to sort X and Y axis (alpha/value, desc/asc)
* option to show a legend
* fixed margins, maximize real estate
* allowed users to define bounds

* Tunning
2017-09-13 16:13:45 -07:00
Grace Guo 8223729e1e fix https://github.com/apache/incubator-superset/issues/3430 (#3431) 2017-09-12 12:06:38 -07:00
Grace Guo 2d6b9422c6 fix https://github.com/apache/incubator-superset/issues/3422 (#3440) 2017-09-12 12:06:22 -07:00
fabianmenges 3c0e85e2c0 Adding order_desc flag to explore endpoint (#3439) 2017-09-12 09:48:43 -07:00
fabianmenges 490c707eb6 Handling pandas ExtensionDtypes (#2937) 2017-09-12 09:36:28 -07:00
Maxime Beauchemin 7c1b56f3a9 [postgres] adding support to serialized timedelta (#3444) 2017-09-12 09:06:53 -07:00
Maxime Beauchemin 3e9f797949 [explore] show validation error on control panel header (#3453)
* [explore] show validation error on control panel header

* Linting
2017-09-12 09:06:29 -07:00
Maxime Beauchemin f3de758363 [heatmap] fix default sorting (#3450)
Currently the heatmap axis are sorted randomly, this PR makes it such
that it's properly sorted.

Also allowing for specifying the left and bottom margins
2017-09-12 09:06:03 -07:00
Maxime Beauchemin 90e46cb39c Fix off-by-one error with linear color scales (#3452)
* Fix off-by-one error with linear color scales

* linting
2017-09-12 09:05:26 -07:00
Maxime Beauchemin fe77534c03 [explore] checkbox control won't uncheck (#3454) 2017-09-12 09:05:07 -07:00
fabianmenges 1f135e41cd Ignore intellij files (#3446) 2017-09-12 09:04:48 -07:00
Maxime Beauchemin 147c12dddf Fixing the build (#3445)
* Bumping npm

* Fixing the build

This addresses long standing issues and hacks around react-map-gl
that have been creating all sorts of build issues over time.

It appears that recent changes broke things further.

This PR upgrades to the latest `react-map-gl` and removes related hacks.
2017-09-11 16:30:39 -07:00
Riccardo Magliocchetti 3dfdde130a setup: Bump sqlalchemy-utils to 0.32.16 (#3405)
Now sqlalchemy-utils will make explicit that we are trying
decoding the secret with the wrong key instead of a generic
UnicodeDecodeError.

Fix #2600
2017-09-01 08:30:48 -07:00
Maxime Beauchemin 255a36c280 [hotfix] user dashboard says '150 weeks' (#3403) 2017-08-31 15:00:21 -07:00
Maxime Beauchemin 66f646ac66 [hotfix] fix slices where since/until = None (#3401) 2017-08-30 20:26:58 -07:00
Maxime Beauchemin e53f3032bb [dashboard] adding an option to duplicate slices when "Saving AS" (#3391)
* [dashboard] adding an option to duplicate slices when "Saving AS"

* Fix tests
2017-08-30 14:09:29 -07:00
Maxime Beauchemin 3b4cd812ae Fix copypasta control label error 'Until' -> 'Since' (#3399) 2017-08-30 14:05:21 -07:00
Maxime Beauchemin ac5da46fb2 [line chart] add 'min_periods' control related to rolling windows (#3397)
* [line chart] add 'min_periods' control related to rolling windows

* Linting js
2017-08-30 13:32:07 -07:00
Maxime Beauchemin 497a6f1df9 [hive] fix date casting in explore view (#3394) 2017-08-30 11:56:43 -07:00
Maxime Beauchemin 1fd08a5912 [hotfix] backward compatibility on date expressions (#3396)
Previously all 'since' date expression evaluated in the future like
`30 days` would be reassigned to the past (now - `30 days`). It would
extend to fixed dates which is a bad thing and was removed.

Now we have reports and dashboards in the wild that use things like `30
days` and we'd like to not break those as we roll out the next version.

This fix should allow for that.
2017-08-30 11:18:23 -07:00
Patryk 9676f02497 Add Capital Service to organizations list (#3395) 2017-08-30 09:36:54 -07:00
mxmzdlv 42dd64e413 Fix datatable scroll height when using filter or pagination (#3377) 2017-08-29 21:10:48 -07:00
Grace Guo c3ab796734 fix date picker Select alignment (#3392) 2017-08-29 19:08:54 -07:00
Maxime Beauchemin a782d623f0 Build optimizations (#3378)
Bumping some version, removing unused libs, ...
2017-08-28 16:16:52 -07:00
Maxime Beauchemin 48b88e5241 [dashboard] load list of slices at modal enter time (#3379) 2017-08-28 14:31:43 -07:00
Maxime Beauchemin a47a512808 [explore] Improved time filters controls (#3371)
* Improved time filters controls

* lint

* Fix coverage

* Allow empty dates
2017-08-28 09:16:23 -07:00
Maxime Beauchemin aff7a82664 [sql lab] using react-split-pane (#3363)
* [sql lab] using react-split-pane

* padding
2017-08-27 15:01:24 -07:00
Maxime Beauchemin 2d237fe2ef v1.9.1 (#3376) 2017-08-26 15:07:17 -07:00