New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix werkzeug instance was created twice in Debug Mode (#2135) #2136

Merged
merged 6 commits into from Feb 14, 2017

Conversation

Projects
None yet
2 participants
@asdf2014
Member

asdf2014 commented Feb 8, 2017

Fix werkzeug instance was created twice in Debug Mode (#2135)

(superset) [root@edeppreapp01 superset-0.15.4]# ./bin/python ./lib/python2.7/site-packages/superset/cli.py runserver -d -p 8888
/root/superset-0.15.4/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.script is deprecated, use flask_script instead.
  .format(x=modname), ExtDeprecationWarning
/root/superset-0.15.4/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead.
  .format(x=modname), ExtDeprecationWarning
/root/superset-0.15.4/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.sqlalchemy._compat is deprecated, use flask_sqlalchemy._compat instead.
  .format(x=modname), ExtDeprecationWarning
/root/superset-0.15.4/lib/python2.7/site-packages/flask_cache/__init__.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled.
  warnings.warn("Flask-Cache: CACHE_TYPE is set to null, "
/root/superset-0.15.4/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
  .format(x=modname), ExtDeprecationWarning
2017-02-08 15:40:07,200:INFO:flask_appbuilder.base:Registering class MyIndexView on menu 
2017-02-08 15:40:07,205:INFO:flask_appbuilder.base:Registering class UtilView on menu 
2017-02-08 15:40:07,209:INFO:flask_appbuilder.base:Registering class LocaleView on menu 
2017-02-08 15:40:07,213:INFO:flask_appbuilder.base:Registering class ResetPasswordView on menu 
2017-02-08 15:40:07,230:INFO:flask_appbuilder.base:Registering class ResetMyPasswordView on menu 
2017-02-08 15:40:07,244:INFO:flask_appbuilder.base:Registering class UserInfoEditView on menu 
2017-02-08 15:40:07,258:INFO:flask_appbuilder.base:Registering class AuthDBView on menu 
2017-02-08 15:40:07,267:INFO:flask_appbuilder.base:Registering class UserDBModelView on menu List Users
2017-02-08 15:40:07,313:INFO:flask_appbuilder.base:Registering class RoleModelView on menu List Roles
2017-02-08 15:40:07,355:INFO:flask_appbuilder.base:Registering class UserStatsChartView on menu User's Statistics
2017-02-08 15:40:07,383:INFO:flask_appbuilder.base:Registering class PermissionModelView on menu Base Permissions
2017-02-08 15:40:07,418:INFO:flask_appbuilder.base:Registering class ViewMenuModelView on menu Views/Menus
2017-02-08 15:40:07,452:INFO:flask_appbuilder.base:Registering class PermissionViewModelView on menu Permission on Views/Menus
2017-02-08 15:40:08,112:INFO:flask_appbuilder.base:Registering class TableColumnInlineView on menu 
2017-02-08 15:40:08,158:INFO:flask_appbuilder.base:Registering class DruidColumnInlineView on menu 
2017-02-08 15:40:08,193:INFO:flask_appbuilder.base:Registering class SqlMetricInlineView on menu 
2017-02-08 15:40:08,223:INFO:flask_appbuilder.base:Registering class DruidMetricInlineView on menu 
2017-02-08 15:40:08,265:WARNING:flask_appbuilder.models.filters:Filter type not supported for column: password
2017-02-08 15:40:08,269:INFO:flask_appbuilder.base:Registering class DatabaseView on menu Databases
2017-02-08 15:40:08,308:WARNING:flask_appbuilder.models.filters:Filter type not supported for column: password
2017-02-08 15:40:08,311:INFO:flask_appbuilder.base:Registering class DatabaseAsync on menu 
2017-02-08 15:40:08,337:WARNING:flask_appbuilder.models.filters:Filter type not supported for column: password
2017-02-08 15:40:08,340:INFO:flask_appbuilder.base:Registering class DatabaseTablesAsync on menu 
2017-02-08 15:40:08,374:INFO:flask_appbuilder.base:Registering class TableModelView on menu Tables
2017-02-08 15:40:08,421:INFO:flask_appbuilder.base:Registering class AccessRequestsModelView on menu Access requests
2017-02-08 15:40:08,472:INFO:flask_appbuilder.base:Registering class DruidClusterModelView on menu Druid Clusters
2017-02-08 15:40:08,605:INFO:flask_appbuilder.base:Registering class SliceModelView on menu Slices
2017-02-08 15:40:08,640:INFO:flask_appbuilder.base:Registering class SliceAsync on menu 
2017-02-08 15:40:08,670:INFO:flask_appbuilder.base:Registering class SliceAddView on menu 
2017-02-08 15:40:08,699:INFO:flask_appbuilder.base:Registering class DashboardModelView on menu Dashboards
2017-02-08 15:40:08,737:INFO:flask_appbuilder.base:Registering class DashboardModelViewAsync on menu 
2017-02-08 15:40:08,767:INFO:flask_appbuilder.base:Registering class LogModelView on menu Action Log
2017-02-08 15:40:08,809:INFO:flask_appbuilder.base:Registering class QueryView on menu Queries
2017-02-08 15:40:08,851:INFO:flask_appbuilder.base:Registering class DruidDatasourceModelView on menu Druid Datasources
2017-02-08 15:40:08,891:INFO:flask_appbuilder.base:Registering class R on menu 
2017-02-08 15:40:08,896:INFO:flask_appbuilder.base:Registering class Superset on menu 
2017-02-08 15:40:08,986:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates
2017-02-08 15:40:09,026:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu 
2017-02-08 15:40:09,121:INFO:werkzeug: * Running on http://0.0.0.0:8888/ (Press CTRL+C to quit)

(superset) [root@edeppreapp01 superset-0.15.4]# ps -ef | grep superset | grep -v grep
root 31522 1632 28 15:40 pts/0 00:00:03 ./bin/python ./lib/python2.7/site-packages/superset/cli.py runserver -d -p 8888

@mistercrunch

This comment has been minimized.

Contributor

mistercrunch commented Feb 8, 2017

Doesn't this prevent the debug server to auto-restart when files are modified?

@asdf2014

This comment has been minimized.

Member

asdf2014 commented Feb 9, 2017

I see. Could u give me a solution about the case that remote debug superset with pydevd in pycharm?

@asdf2014

This comment has been minimized.

Member

asdf2014 commented Feb 9, 2017

Just like i said in #2135, we cannot remote debug with multi processes cuz the reloader function in werkzeug or gunicorn etc...

@mistercrunch

This comment has been minimized.

Contributor

mistercrunch commented Feb 10, 2017

Maybe make reloader as a switch in the superset runserver CLI command. Make sure the default is to reload as most people probably aren't using PyCharm

@asdf2014

This comment has been minimized.

Member

asdf2014 commented Feb 10, 2017

@mistercrunch Like this?
The type of the result from config.get("FLASK_USE_RELOAD") is bool, however the type of the result from @manager.option is str, so i just convert them into str and compare with 'True'.

Now, Test results:

a) (superset) [root@edeppreapp01 superset-0.15.4]# ./bin/python ./bin/superset runserver -d -p 8888

/root/superset-0.15.4/lib/python2.7/site-packages/flask_cache/init.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled.
warnings.warn("Flask-Cache: CACHE_TYPE is set to null, "
2017-02-10 10:38:30,629:INFO:flask_appbuilder.base:Registering class MyIndexView on menu
2017-02-10 10:38:30,634:INFO:flask_appbuilder.base:Registering class UtilView on menu
// ...
2017-02-10 10:38:32,606:INFO:flask_appbuilder.base:Registering class Superset on menu
2017-02-10 10:38:32,693:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates
2017-02-10 10:38:32,731:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu
2017-02-10 10:38:32,826:INFO:werkzeug: * Running on http://0.0.0.0:8888/ (Press CTRL+C to quit)
2017-02-10 10:38:32,827:INFO:werkzeug: * Restarting with stat
// ...
2017-02-10 10:38:35,491:INFO:flask_appbuilder.base:Registering class Superset on menu
2017-02-10 10:38:35,578:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates
2017-02-10 10:38:35,617:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu
2017-02-10 10:38:35,712:WARNING:werkzeug: * Debugger is active!
2017-02-10 10:38:35,713:INFO:werkzeug: * Debugger pin code: 199-876-771

b) (superset) [root@edeppreapp01 superset-0.15.4]# ./bin/python ./bin/superset runserver -d -r True -p 8888

/root/superset-0.15.4/lib/python2.7/site-packages/flask_cache/init.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled.
warnings.warn("Flask-Cache: CACHE_TYPE is set to null, "
2017-02-10 10:38:42,739:INFO:flask_appbuilder.base:Registering class MyIndexView on menu
2017-02-10 10:38:42,744:INFO:flask_appbuilder.base:Registering class UtilView on menu
// ...
2017-02-10 10:38:44,748:INFO:flask_appbuilder.base:Registering class Superset on menu
2017-02-10 10:38:44,832:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates
2017-02-10 10:38:44,871:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu
2017-02-10 10:38:44,962:INFO:werkzeug: * Running on http://0.0.0.0:8888/ (Press CTRL+C to quit)
2017-02-10 10:38:44,963:INFO:werkzeug: * Restarting with stat
// ...
2017-02-10 10:38:47,743:INFO:flask_appbuilder.base:Registering class Superset on menu
2017-02-10 10:38:47,831:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates
2017-02-10 10:38:47,869:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu
2017-02-10 10:38:47,959:WARNING:werkzeug: * Debugger is active!
2017-02-10 10:38:47,960:INFO:werkzeug: * Debugger pin code: 199-876-771

c) (superset) [root@edeppreapp01 superset-0.15.4]# ./bin/python ./bin/superset runserver -d -r False -p 8888

/root/superset-0.15.4/lib/python2.7/site-packages/flask_cache/init.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled.
warnings.warn("Flask-Cache: CACHE_TYPE is set to null, "
2017-02-10 10:40:13,928:INFO:flask_appbuilder.base:Registering class MyIndexView on menu
2017-02-10 10:40:13,933:INFO:flask_appbuilder.base:Registering class UtilView on menu
// ...
2017-02-10 10:40:16,036:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates
2017-02-10 10:40:16,074:INFO:flask_appbuilder.base:Registering class CssTemplateAsyncModelView on menu
2017-02-10 10:40:16,171:INFO:werkzeug: * Running on http://0.0.0.0:8888/ (Press CTRL+C to quit)

@@ -31,6 +31,9 @@ def init():
'-d', '--debug', action='store_true',
help="Start the web server in debug mode")
@manager.option(

This comment has been minimized.

@mistercrunch

mistercrunch Feb 10, 2017

Contributor

It's not well documented but it's similar to argparse, so you can action='store_true' as in

@manager.option(
    '-n', '--no-reload', action='store_true', dest='no_reload',
    help="Don't use the reloader in debug mode")

This comment has been minimized.

@mistercrunch

mistercrunch Feb 10, 2017

Contributor

then no_reload has to be in the function args and will be bool

This comment has been minimized.

@asdf2014

asdf2014 Feb 11, 2017

Member

Great! Thx.

@asdf2014

This comment has been minimized.

Member

asdf2014 commented Feb 11, 2017

I changed it into action='store_false' to look more reasonable :-)

@mistercrunch mistercrunch merged commit a5a931a into apache:master Feb 14, 2017

3 of 4 checks passed

code-quality/landscape Code quality decreased by -0.03%
Details
codeclimate no new or fixed issues
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.007%) to 80.623%
Details

@asdf2014 asdf2014 deleted the asdf2014:twice_werkzeug branch Feb 14, 2017

rlei added a commit to rlei/superset that referenced this pull request Feb 24, 2017

Fix werkzeug instance was created twice in Debug Mode (apache#2135) (a…
…pache#2136)

* Fix werkzeug instance was created twice in Debug Mode (apache#2135)

* add reloader option for flask (apache#2136)

* using --no-reload option for flask

* divide a line of code into two lines for PEP8

SalehHindi pushed a commit to SalehHindi/superset that referenced this pull request Jun 9, 2017

Fix werkzeug instance was created twice in Debug Mode (apache#2135) (a…
…pache#2136)

* Fix werkzeug instance was created twice in Debug Mode (apache#2135)

* add reloader option for flask (apache#2136)

* using --no-reload option for flask

* divide a line of code into two lines for PEP8

SalehHindi pushed a commit to SalehHindi/superset that referenced this pull request Jun 9, 2017

Using the time zone with specific name for querying Druid (#2143)
* Using the time zone with specific name for querying Druid

* Revert DRUID_TZ into tz.tzutc() (#2143)

[vis] render line breaks in TableViz (#2118)

* convert line breaks to br tags in table vis

* use css!

Keep order of axis data when storing df (#2092)

Implement caching and dynamic data fetching. (#1466)

* Rename rv => o in the decorator.

* Address comments.

* Permissions cleanup: remove none and duplicates. (#1967)

* Updates

* Rename var and dropdown text

* Cleanup

* Resolve comments.

* Add user to the perm check.

Add parsing for nested json objects in resultset (#2163)

Set default time range of query search to the past month (#2162)

Fix werkzeug instance was created twice in Debug Mode (#2135) (#2136)

* Fix werkzeug instance was created twice in Debug Mode (#2135)

* add reloader option for flask (#2136)

* using --no-reload option for flask

* divide a line of code into two lines for PEP8

Return original state for query if query was stopped (#2164)

Add command to refresh datasources (#2180)

use pre-wrap for long lines (#2181)

Adding branding assets in the repo

Moving branding assets to folder

add css to the data object to be saved (#2188)

[WiP] Deprecate Explore v1 (#2064)

* Simplifying the viz interface (#2005)

* Working on dashes

* Making this a collaborative branch

* Fixing some bugs

* Fixing bugs

* More improvements

* Add datasource back in bootstrap data

* Decent state

* Linting

* Moving forward

* Some more linting

* Fix the timer

* Triggering events through state

* Lingint

* Put filters in an array instead of flt strings (#2090)

* Put filters in an array instead of flt strings

* Remove query_filter(), put opChoices into Filter

* Update version_info.json

* Fix migrations

* More renderTrigger=true

* Fixing bugs

* Working on standalone

* getting standalone to work

* Fixed forcedHeight for standalone =view

* Linting

* Get save slice working in v2 (#2106)

* Filter bugfix

* Fixing empty series limit bug

* Fixed dashboard view

* Fixing short urls

* Only allow owners to overwrite slice (#2142)

* Raise exception when date range is wrong

* Only allow owner to overwrite a slice

* Fix tests for deprecate v1 (#2140)

* Fixed tests for control panels container and filters

* Fixed python tests for explorev2

* Fix linting errors

* Add in stop button during slice querying/rendering (#2121)

* Add in stop button during slice querying/rendering

* Abort ajax request on stop

* Adding missing legacy module

* Removing select2.sortable.js because of license

* Allow query to display while slice is loading (#2100)

* Allow query to display while slice is loading

* Put latestQueryFormData in store

* Reorganized query function, got rid of tu[le return values

* Merging migrations

* Wrapping up shortner migration

* Fixing tests

* Add folder creation to syncBackend

* Fixing edit URL in explore view

* Fix look of Stop button

* Adding syntax highlighting to query modal

* Fix cast_form_data and flase checkbox on dash

* Bugfix

* Going deeper

* Fix filtering

* Deleing invalid filters when changing datasource

* Minor adjustments

* Fixing calendar heatmap examples

* Moving edit datasource button to header's right side

* Fixing mapbox example

* Show stack trace when clicking alert

* Adding npm sync-backend command to build instruction

* Bumping up JS dependencies

* rm dep on select2

* Fix py3 urlparse

* rm superset-select2.js

* Improving migration scripts

* Bugfixes on staging

* Fixing Markup viz

v0.16.0

Bumping up some of the python lib deps

[hotfix] Trends example slice is broken

[hotfix] dashboard won't load, error in fields.js

[hotfix] incompatible diamond flask-sqlalchemy version

Better error handling for presto (#2161)

* Better error handling for presto

* Move to db_engine_spec

Bumping react-select to 1.0.0-rc.3

Fixing the build

Reverting react-select to rc2

Fixing typo

Cleaning up CLI stdout on startup

on startup, FAB spits out a bunch of logging messages that aren't useful
in most cases. This shuts them down by default. They can be turned back
on with `config.SILENCE_FAB = True`

Also shushing a flask-cache warning around setting up a null (default) cache

Fixing the CACHING (#2203)

Caching wasn't working after deprecate_v1, this addresses it. Also surfacing
whether the data is served from cache in explore view and a way to force
run the query bypassing the cache.

Renaming field to control (#2210)

v0.16.0rc1

Update cache for the command line command. (#2213)

  **Allow user to put dbname in url (#2209)

**Parse dbid from url to integer

Fixing filtering issues (#2223)

* Fixing filtering issues

* Fixing off by one error

0.16.0rc2

Check if the query is in state first. (#2226)

Fixing exploring a table (#2233)

0.16.0rc3

[docs] more specific about python versions

Fetch schemas separately. (#2227)

Add trailing slash (#2236)

Support more druid postaggregations. (#2235)

[bugfix] avoid caching errors (#2244)

[v0.16.1] bump version for prod release (#2250)

Default action to overwrite for users with overwrite permissions (#2257)

fix index error for bar charts (#2258)

v0.16.1rc1 (#2260)

fixes
apache#2255
apache#2252

[hotfix] separator renders markdown

Do not add slice_name when slice doesn't exist (#2265)

Parse filter values for possible integers and floats (#2263)

Introducing support for pre-depercate_v1 URL scheme (#2267)

[Hotfix] access slice_id when slice exists (#2268)

d is not defined, fix (#2270)

v0.16.1rc2 (#2272)

[hotfix] Table view doesn't allow SELECT (no group by) (#2274)

0.16.1rc3

[hotfix] not grouped by -2

Add Udemy to INTHEWILD (#2275)

[bugfix] css editor dooesn't pop up (#2243)

Fixing multi value parsing on old URL (#2277)

0.16.1rc5

Fixed a bug when querying with schema path to Redshift/Postgresql (#1789)

Fixing bar charts x_axis labels (#2280)

0.16.1rc6

added gcc-c++ for RHEL OS dependencies (#2286)

[hotfix] add regex for druid filters (#2288)

[hotfix] filters broken on multi-datasource dashboards

rc7

[table viz] allow showing time granularity in table (#2284)

The time granularity currently does not show up in table viz. Now
defining a granularity will add an extra ISO-formatted time column in
the table. The column will be added for both grouped by and not grouped
by.

Fixing bugs in Sankey diagrams (#2290)

* NULL values for name breaks the chart
* negative rect svg height values

[table viz] allow showing time granularity in table (#2284) (#2291)

The time granularity currently does not show up in table viz. Now
defining a granularity will add an extra ISO-formatted time column in
the table. The column will be added for both grouped by and not grouped
by.

Revert "[hotfix] Fix druid filters" (#2292)

[hotfix] Fix filter for sqlalchemy and druid (#2293)

* [table viz] allow showing time granularity in table (#2284)

The time granularity currently does not show up in table viz. Now
defining a granularity will add an extra ISO-formatted time column in
the table. The column will be added for both grouped by and not grouped
by.

* Changes based on comments

[table] Allowing to show the time grain in table view (#2294)

Explicitely request to show the time grain in the table view as
a checkbox

v0.17.0

v0.17.0 (#2298)

Temp hack to make druid filters work in dashboard (#2300)

Updating CHANGELOG

Fix bug with breakdown (#2312)

* Fix bug with breakdown

* allow distribution graph to scroll horizontally

* don't stringify i

v0.17.1 (#2333)

[version] use rc for production only releases (#2334)

[sqllab] reserved words should be upper case (#2316)

fix version (#2336)

0.17.1rc1

remove unneeded tooltip/description text (#2303)

Allow running Flask Blueprints alongside Superset (#2337)

* Allowing environments to import Blueprints

* Docs entry

* Fix typos

[hotfix] fix world map

Fix for RuntimeError: dictionary changed size during iteration (#2320)

[filter_box] option to delay filtering with apply button (#2338)

* [filter_box] delayed filtering with apply button

* Remove lingering console.log statement

Fix duplicate property DruidDatasource.database (#2348)

fixes apache#2347

Fixes filters emitted from table viz (#2335)

Add hive to superset + monkey patch the pyhive (#2134)

* Initial hive implementation

* Fix select star query for hive.

* Exclude generated code.

* Address code coverage and linting.

* Exclude generated code from coveralls.

* Fix lint errors

* Move TCLIService to it's own repo.

* Address comments

* Implement special postgres case,

Remove duplicate (#2351)

Fix partition query (#2353)

0.17.1rc2

Add more tests to Filter spec (#2315)

[table] metric ordering is wrong in some cases (#2373)

Refactoring Druid & SQLa into a proper "Connector" interface (#2362)

* Formalizing the Connector interface

* Checkpoint

* Fixing views

* Fixing tests

* Adding migrtion

* Tests

* Final

* Addressing comments

Fix monthly time grain in sqllite (#2380)

Keep column order in .csv (#2377)

Implement stop query functionality. (#2387)

* Implement stop query functionality.

* Address comments

Do not silence error message for query. (#2396)

fix unicode issues (#2308 #2282) (#2401)

Add more tests to Save Modal specs (#2313)

[filter_box] fix time filter and inverted instantFilter (#2402)

* [filter_box] fix time filter and inverted instantFilter

* Added a few comments

Fix bad d3.format metric setting and/or value === Infinity (#2399)

[explore ] templating can now reference query elements (#2388)

Second take on
mistercrunch#3

Preprocess the where clauses. (#2405)

Display full name. (#2378)

Revert "Preprocess the where clauses." (#2411)

* Revert "Display full name. (#2378)"

This reverts commit 5b19528.

* Revert "Preprocess the where clauses. (#2405)"

This reverts commit 357773c.

Use list instead of numpy array (#2412)

[hotfix] handle missing or empty column type

Use connector registry to fetch the table column class. (#2419)

Replace query once query response returned (#2415)

* Replace query once query response returned

* Fix bug with refresh druid datasources

Use connector registry for metrics (#2420)

[hotfix on dist_bar] bringing back overwritten handling of ints and tuples

v0.17.1

Allow users to alter column types (#2424)

Display the first partition. (#2425)

Add verbose name to db and druid cluster (#2429)

* Add verbose name field to the databases

* Add migration

* Display verbose name in the view.

make dualline thumbnail have consistent size as other thumbnails (#2434)

Prevent alarming users with stacktrace when using sqlite

fix a bug in pie chart (#2423)

* fix a bug in pie chart

* remove unnecessary line

[explore] improved filters (#2330)

* Support more filter operators

* more filter operators [>, <, >=, <=, ==, !=, LIKE]
* Fix need to escape/double `%` in LIKE clauses
* spinner while loading values when changing column
* datasource config elements to allow to applying predicates when
  fetching filter values
* refactor

* Removing doubling parens

* rebasing

* Merging migrations

Fix documentation for adding a Redshift database (#2447)

When adding a Redshift database, the docs said to use a connection
string that started with `redshift+psycopg2://...`, but this results
in a Python error from how SQLAlchemy executes the `get_schema_names`
method (first reported [here](apache#2364 (comment))).

The fix is to use `postgresql+psycog2://...` for the Redshift connection
string.

[dist_bar] fix x scroll when overflowing (#2440)

[hotfix] merging db migration scripts (#2448)

[sql-lab] make results table scroll in static container (#2426)

* only scroll result set horizontally

* only scroll results table, keep rest of ui static

* use hard coded values

* fix linting

[explore] remove 'SQL Clauses' section when using Druid (#2449)

Update INTHEWILD.md (#2455)

[sql-lab] improve table select performance (#2457)

* use fast filter for tables select

* react-virtualized needs this package, throws error otherwise...

* continue to use async select and this.getTableNamesBySubStr when a schema is not selected

* import styles in same place as react-select css import

Speeding up polling by not checking access (#2466)

* Speeding up polling by not checking access

* Fix tests

[WiP] making doubling '%' not required (#2459)

* Making doubling '%' not required

Now passing the sqlalchemy query object to pandas's read_sql_query

* Fix test/lint

[sqllab] assign types for visualize flow (#2458)

* [sqllab] assign types for visualize flow

Somehow when using the visualize flow, the types were not
assigned at all, creating some bugs downstream. This PR attempts to get
the information required based on what pandas is knows and the types in
the data itself.

* Fixing tests

* Fixing tests

* Fixing more tests

* Fixing the last py3 tests

[hotfix] fixing checkboxes in Tables->Columns

[hotfix] 'NoneType' object has no attribute 'upper'

Refactoring more in the connector base classes (#2431)

Fixed CSS syntax for background linear-gradient (#2482)

[hotfix] bumping QUERY_UPDATE_FREQ from 1000 to 2000ms

[sql-lab] performance updates - make ui more responsive (#2469)

* remove network status feature

* only fetch queries if there are started or running queries

* don't use local storage

* remove last network status from actions

* don't remove support for local storage

* address pr comments and linting

* use .some rather than .forEach

[sql-lab] revert react-virtualized-select (#2489)

* revert react-virtualized-select

* add space between selects

* Label is not needed

only fetch tables if we have a schema, otherwise reset options. (#2490)

Revert "[sql-lab] revert react-virtualized-select (#2489)" (#2491)

This reverts commit 7eafbab.

[hotfix] druid queries 'There was no query executed' issue

[release] update to 0.17.2rc1 (#2492)

[hotfix] SqlaTable has no attribute column_cls

v0.17.2rc2

[docs] adding notes on the Public role (#2486)

Stabilizing master (#2478)

Fixing out-of-sync security (#2493)

0.17.2rc3

Add ibm_db_sa TimeStamp and Datatime Grain Spec. (#2500)

* Add ibm_db_sa TimeStamp and Datatime Grain Spec.

* Add ibm_db_sa TimeStamp and Datatime Grain Spec. + Typo Err

Fixing filter_box css padding (#2498)

[explore] fixing bugs in controls (#2496)

Handle errors when the MQ is down (#2494)

0.17.2rc4

[explore] remove grey background in standalone mode (#2503)

* [explore] remove grey background in standalone mode

* Going with background-transparent

Adding a .pylintrc file and a bit of linting (#2507)

Track both query start time and button push time to track delay (#2502)

* Track both query start time and button push time to track delay

* Fix

* Setting the proper precision

* More logging

[hotfix] missing logging import in db_engined_specs

v0.17.2

Updating CHANGELOG

forgotten query_datasources_by_name function (#2497)

* forgotten query_datasources_by_name function

* use normal formats

0.17.3rc1

[hotfix]  queries trigger polling (#2517)

v0.17.3rc2

Adding  to polling states

v0.17.3rc3

[hotfix] fix pending queries race condition

added tobii (#2526)

[hotfix] fixing the (one js lint err in the) build

Redirect to explore view when saving a table (#2479)

Deprecate is_featured as a datasource attribute (#2485)

[sql lab] address lingering spinner in schema select (#2512)

[dashboard] allow bar charts to scroll on x axis (#2513)

0.17.3

WIP: Initial commit to support the athena DB (#2531)

* Initial commit to support the athena DB

This work was done at tobii.com (in collaboration with knowit.se), and depends on:

- A patched version of PyAthenaJDBC (https://github.com/dwa/PyAthenaJDBC/tree/dwa-tobii-dict_formatter)
- A patched version of PyHive (https://github.com/dwa/PyHive/tree/dwa-tobii-sqlalchemy-athena)

And can be used like so:
athena://<user>:<password>@athena.us-east-1.amazonaws.com/?region_name=<region>&s3_staging_dir=s3%3A//<staging_bucket_of_choice>

* Rebased, and fixed two lint issues

* rename athena engine: athena -> awsathena

installation instructions for AWS Athena (#2538)

druid: use six.string_types instead of basestring (#2541)

Which is not available in python3

Fix #2539

serve roboto font locally (#2519)

* serve roboto locally

* add trailing comma

* fix long line for linter

Some column description clarifications (#2536)

pylint errors will now break the build (#2543)

* Linting pylint errors

* Backing off of an unecessary change

[sql lab] fix table dropdown with large schema make UI unresponsive (#2547)

Indexing was done on render, moving to doing it only when the data
changes.

[hotfix] adding filterable to DruidColumnInlineView.edit_columns

[sql-lab] make query history scrollable (#2499)

* make query history scrollable

* not around results

[vis] bug num improvements (#2523)

* fix js error, make should render viz more readable, add tooltips, style axis and add min/max to xaxis

* put getTextWidth in utils

* add document to eslint globals config

[sql lab] allow users to save their queries (#2528)

* Allow users to save their queries

Fixing tests .

* Adding placeholder for Query Description

* initJQueryCSRF -> initJQueryAjaxCSRF

v0.17.4rc1

[bug num vis] fix sizing for single digits (#2548)

* fix sizing for single digits

* measure x axis labels too and use the longest to determine margins

Revert "measure x axis labels too and use the longest to determine margins" (#2550)

This reverts commit cc640c1.

Db2 Grain Correct Data Format (#2545)

* Db2 Grain Correct Data Format

* Db2 Grain Correct Data Format.

* Db2 Grain Correct Data Format + typo

* Db2 Grain Correct Data Format +typo

[hotfix] [sql lab] fix sqlite errors when schema is selected

Clarify docs on Redis package required for caching (#2557)

URL Params macro (#2537)

[hotfix] dashboard fails when a slice is missing its datasource

[hotfix] slice with missing datasource related

[bugfix] save dash fails with CSRF related error (#2552)

v0.17.4rc2

[big num] make sure scatterplot dots align properly (#2559)

* use cardinal so scatterplot lines up properly

* use min 30 for margins, accounts for small y axis labels

0.17.4rc3

[hotfix] iframe viz is broken

INTHEWILD: added Endress+Hauser (#2562)

Alternative PR for: Some bytes/str issues in py3 w/ zlib and json (#2558)

* sql_lab.py: compress via utils

* utils.py: added zlib_compress and zlib_compress_to_string

* core.py: converted to use zlib_decompress_to_string; renamed uncompress to decompress in utils.py

* utils_tests.py: added test for compress/decompress

* fixed broken utils test; removed redundant code and empty lines from utils.py

* utils.py: corrected docstrings, removed unnecessary 'else'

* removed yet another superfluous else

[revert] reverting big num changes (#2567)

* Revert "[big num] make sure scatterplot dots align properly (#2559)"

This reverts commit f24ddfd.

* Revert "Revert "measure x axis labels too and use the longest to determine margins" (#2550)"

This reverts commit fe68bc3.

* Revert "[bug num vis] fix sizing for single digits (#2548)"

This reverts commit 3d2c791.

* revert all big num changes.

* fix linting

* make document global, fix linting

0.17.4rc5

[bugfix] saved query restore wouldn't pick the db (#2568)

Fixing CSRF issues (#2569)

* 0.17.4

* Fixing CSRF issues

Since turning CSRF across the site with Flask-WTF, a few POST request
have been failing. This PR addresses these issues.

[hotfix] casting db_id to int

Changelog for 0.17.4

[hotfix] add csrf_token api endpoint

[hotfix] add csrf_token api endpoint

Fixing confusion when selecting schema across engines (#2572)

Adding Vertica to installation docs (#2581)

Bumping a set of Python libraries to the latest release (#2575)

* Bumping a set of Python libraries to the latest release

* fixing flask-sqlalchemy==2.0

Adding macros current_user_id & current_username (#2582)

* Adding macros current_user_id & current_username

* Addressing comments

[explore] force control validation before runQuery (#2544)

* [explore] force control validation before runQuery

* Addressing comments

[bugfix] clarifying how to create a slice (#2565)

* [bugfix] clarifying how to create a slice

First time users [rightfully] think that the proper way to create a
slice is to click the `+` button on the `Slices` CRUD page.

Changing / simplifying the redirect logic and message flashing that was
failing here somehow.

* Changing message from danger to info

Make form_data dict a macro (#2585)

Add missing flask-wtf dependency (#2586)

handle percentage case for tooltips (#2570)

Use correct dialect for escaping functions. (#2593)

Column functions are currently escaped with the
same dialect that is being used by Superset for its
metadata storage.  Instead the dialect of the target
table should be used when escaping column names.

Fix backend-sync

Fix backend-sync 2

Adding docs/ to .eslintignore

Fix metric formating in Dashboard view + some refactoring (#2598)

* Fix metric formating in Dashboard view + some refactoring

* Fixing build

Fix for merge string as array (#2597)

0.17.5.dev0

add tooltips to big number vis (#2599)

0.17.5-alpha.0

validationErrors is undedfined

0.17.5-alpha.1

[hotfix] fix iframe viz

0.17.5-alpha.2

Bumping the JS libs to fix the build (#2616)

* bumping the js libs

* New linting rules

* More linting

* More

* Done linting

* npm >=4.5.0

* Bumping node

* Tweaking the build

* Fixing the damn build

* Fixing the apps

[dashboard] fix css padding for markup viz (#2602)

[sql lab] fixes issues specific to Sqlite (#2606)

[sql lab] sorting database names in dropdowns (#2611)

[explore] fix query text modal while loading (#2596)

* [explore] fix and clean

Currently it's not possible to view queries while they are running, the
spinner appears endlessly. I decided to rearrange things a bit while
debugging so I could see clearly through it.

* Adding NotImplemented methods to base classes

* Fixing

* Piling up

[sql lab] fix alt-enter runs out-of-date SQL (#2603)

[hotfix] fixing the build

[hotfix] legacy url not handled properly

0.17.5-alpha.3

Fix separator widget CSS (#2623)

fix filters on dashboard (#2619)

Adding owner(s) to dashboard makes them own underlying slices (#2610)

[hotfix] missing explore's main.css

Add UNIX socket option to runserver (#2627)

* Add UNIX socket option to runserver

Added an optional parameter to runserver to server from a UNIX socket instead of an address:port. I believe it is fairly common to server from sockets when using a web server like Nginx on the same host.

* Collapsed if/else logic for address or socket

Also wrapped help description for socket parameter

Slice level cache_timeout isn't taken into consideration (#2631)

A nice CacheLabel React component (#2628)

Introducing a nice component as a label that show when data was
loaded from cache, when the cache was taken (in humanize duration as in
`a few minutes ago`) in a tooltip, and it can act as a button that
can trigger a force-refresh.

While working on it, it became clear that it was going to be hard to
use this component in the Dashboard view since it's not pure React.
I'm planning on refactoring the dashboard view with proper React/Redux
and introducing the CachedLabel component at that point.

While digging around in the Dashboard view I realized that there was a
bunch on unused code around managing timers that was used in explorev1
and decided to rip it out.

0.17.5-alpha.4

[hotfix] using UTC for caching timestamps

0.17.5-alpha.5

[hotfix] fix  endpoint

0.17.5-alpha.6

[hotfix/sqllab] setting up the connection in the try: block

Setting adjust_database_uri for HiveEngineSpec (#2636)

* Setting adjust_database_uri for HiveEngineSpec

* fix tests

Remove metrics control non-null validator in Table context (#2635)

Improving Presto error message in explore/dashboard (#2633)

* Improving Presto error message in explore/dashboard

* lint

Fix dashboard edit button is disabled (#2634)

* Fix dashboard edit button is disabled

* Addressing comments

[dashboard] improve error handling on dashboard (#2624)

* [dashboard] improve error handling on dashboard

* lint

* More wordy error msg

[sqllab] table refactor (#2587)

* make react-virtualized table work
use dynamic sizing for cell width
enable filtering
require height prop for result set component

* fix tests and linting

* move some state to props

* move getTextWidth to visUtils

* make striped rows optional

* fix striped proptype

* update name to FilterableTable

* add basic test and fix linting

* accept array of columns keys rather than an array of objects that needs to be mapped

* move container div inside the component

* rename styles

* fit table component to width if it's smaller than parent container

* move stylesheet to javascript folder otherwise it throws an error on npm run prod

* move css to index.jsx

* fix result set spec

* fix linting and test

* fix result set props

* keep list immutable

[vis] fix line chart when slice is really narrow (#2620)

* only show legend if larger than small breakpoint

* fix text length getter, it was returning -Infinity

0.17.5-alpha.7

Moving the warning message to the navbar (#2640)

At Airbnb we use these WARNING_MSG configuration element to make it
clear that we're in the staging environment.

Before this PR it would render under the navbar and mess up some of the
heights configurations, where you wouldn't be able to scroll all the way
to the bottom of the page. This fixes it.

0.17.5-alpha.8

[sql-lab] fix scrolling in left hand panel for table meta data (#2641)

* fix scrolling in left hand panel for table meta data

* add height prop

* this prop is not used

0.17.5-alpha.9

update core.py label and zh po file (#2642)

[query-search] fix scrolling on query search and pagination styling (#2646)

* fix scrolling for query search, getHeight was returning NAN

* add styling for query search pagination

* remove console.log

* make pagination buttons match bootstrap theme small buttons

[hotfix] Presto's latest_sub_partion rendering fail

don't default sort by to first column (#2653)

fix scrolling on markup vis (#2644)

v0.17.5-alpha.10 (#2654)

0.17.5

Updating CHANGELOG

superset: fix argument swap for SqliteEngineSpec.get_table_names (#2664)

Fix #2660

add the missing right bracket (#2662)

Optimizing the standalone view (#2663)

The standalone view doesn't need to fetch the datasources asynchronously
to fill in the dataources dropdown, it also doesn't need to render any
of the controls.

[druid] fix FilterBox viz gets timestamps as values if granularity <> all (#2647)

[druid] fixing the having clause in the explore view (#2648)

* [druid] fixing the having clause in the explore view

* Backend

* Lint

* Fixing tests

Fixing PropTypes warning messages (#2670)

* Fixing PropTypes warning message

React recently started warning on the upcoming deprecation of
React.PropTypes, the new approach is to use the `prop-types`
npm package instead.

* Fixing the tests

Showing slices on datasource edit form (#2645)

* Showing slices on datasource edit form

* fixing build

fix csrf error on import_dashboards (#2672)

add option for pulling favourited dashboards by username (#2661)

* add option for pulling favourited dashboards by username

add tests

* fix too many lines pep8 error

[vis] fix pivot table scrolling when using more than 1 groupy col (#2674)

* fix scrolling when more than 1 groupby

* generalize function arguments

* fix pivot table scrolling in js

* add padding rules back

* linting

Alternate fix for #2665 (#2671)

* Alternate fix for #2665

* Addressing comments

* Fix doctest

0.17.6-alpha.1

Pinning cryptography lib to 1.7.2

Specifying cryptography version in install docs

Mark a few more string for translation (#2651)

* Mark some more string for translations

Fix #2629

* Rebuild translations

* Please codeclimate

[sql lab] Update event handler name (#2680)

Update SqlEditor database change event handler name to be more specific.

fix a bug in 'getMaxLabelSize' and x axis label not shown problem (#2694)

* fix

* fix code climate

fix (#2692)

Fix js warnings (#2693)

* react: using prop-types package to fix deprecated React.PropTypes property warning

https://facebook.github.io/react/warnings/dont-call-proptypes.html

* removing babel devDependency because has been deprecated in favor of babel-cli

this fixes a warning during `npm install`:
```
npm WARN deprecated babel@6.23.0:
In 6.x, the babel package has been deprecated in favor of babel-cli.
Check https://opencollective.com/babel to support the Babel maintainers
```

* js: setting ExploreActionButtons.queryEndpoint PropType as required

because it's required in the child component DisplayQueryButton

* js(tests): using object in expandedSlices prop type of SliceCell tests

* js(tests): adding required props to SqlEditor mockedProps

* js(tests): adding required prop editorHeight to TabbedSqlEditors mockedProps

* js: removing unused moments dependency

Adding tails.com to inthewild (#2685)

fix x axis label (#2691)

hack to dynamically adjust y axis left margin (#2689)

* hack to dynamic adjust y axis margin

* merge into the previous hack

* render for both hack

Fix orm query in HiveEngineSpec.handle_cursor (#2699)

Fix #2643

Fix test's warnings (#2697)

* tests: adding required props to FilterableTable mockedProps

* tests: adding required prop `height` to QuerySearch mockedProps

* tests: adding required prop `height` to ResultSet mockedProps

* tests: adding required prop `height` to SqlEditorLeftBar mockedProps

* tests: fix warning in Timer component

[explore] fix empty chart when changing viz type (#2698)

* [explore] fix empty chart when changing viz type

* Lint

fix (#2696)

[sql lab] visualization flow: fixing the groupby parameter (#2681)

Fix for referring specific svg (#2612)

* Fix for referring specific svg

* Remove trailing space

[vis] bar values should match y axis format (#2701)

It passes the user yAxis format value to the totalValue function to render the label text accordingly

improve csrf expiration error handling (#2695)

* add message

* re run query on result set mount if there is session time out error

0.17.6-alpha.2

0.17.6

Fix missing curUserId from SliderAdder.jsx (#2705)

Basic integration with ClickHouse (#1844)

* db_engine_specs: added engine spec for clickhouse

* models: group by time without join on subquery

if this is enabled, it will remove the subquery when grouping by time,
and group by time will be rewritten as group by timeslot, ...

this particularly fixes clickhouse backend

* docs: added clickhouse

* models: allow using secondary dttm columns as constraints

* superset/forms: configurable default slice since time

* superset/models: respect dialect quoting

* dttm handling, codeclimate tweaks

Remove unecessary handling of %% (#2714)

[sql lab] fix csv export where `%` in query (#2711)

* [sql lab] fix csv export where  in query

* Prgoress

Removing uneeded results_backends.py (#2717)

[sql lab]Add autoSelect (#2713)

In sql editor database dropdown list, we want to auto-select the first available option.

[dashboard] fix missing datasource issue (#2718)

Addresses a bug that happens when rendering a dashboard for which
a datasource behind one of the slices has been deleted

chore: remove unused methods with invalid models.Query usage (#2721)

* fix: models.Query is not defined

* chore: remove unused Query and methods

[sql lab] fix CREATE TABLE AS (#2719)

refactor: recentActions ajax call is redundant (#2722)

[table] fixing CSS glitches on table view (#2725)

Somehow the CSS trick we use to display histogram-type visual elements
in table views started showing some odd glitches since
what I believe was a not-so-recent version of webkit.

The bug is around the `linear-gradient` call under `background-image`
prop being used to show non-gradient or "hard" colors, while using
transparency.

I was able to find a workaround that addresses things in chrome by using
a fake [minimal] gradient instead of a flat color.

0.18.0-alpha.1

Decimal is a valid numeric type (#2720)

* Decimal is a valid numeric type

This will allow automatic creation of sum__ and avg__ metrics

* formatting for line length at 80 chars

* Reformating again, for the mandatory 79 chars maximum.

[sql lab] improvements to the left panel (#2709)

* [sql lab] improvements to the left panel

* better error handling with error notifications
* table is added instantly with a loading image

* Fixing tests

* Fixed tests

[SQL Lab] fix gamma metadata access (#2702)

0.18.0-alpha.2

Making the stop button instantaneous (#2738)

0.18.0-alpha.3

fix dual line chart margin (#2737)

fix auto select override pre-selected value bug (#2745)

auto select should only apply to cases where select control doesn't have pre-selected value prop. If select control has pre-selected value (passed in from value prop), auto select first avaliable options should not apply.

Speed up all CRUD list views (#2747)

Load times on list view pages like Slices, Dashboards, Tables and Database
have grown to be terrible over time.

After a bit of digging, I found that the not specifying `search_columns`
in ModelViews actually means "all columns" and that for each filter,
FAB goes and fetches a list of all values to prepopulate the
filter dropdowns. That means that the list of tables would fetch all
slices and all users upfront which is horrible. Worse, database list
view would fetch all queries with is insane.

This picks a subset of columns for search/filters and changes the
default to show only 100 elements per page instead of 500

[sql lab] fix partitionned table has no partitions (#2740)

[sql lab] fix responsivity of grid (#2742)

* [sql lab] fix responsivity of grid

* Lint

0.18.0-alpha.4

make margin consistent (#2753)

add number format to pivot table (#2703)

* modify pivot table number format

* lint code

* lint code

* lint

* lint

* change variable name

* add number format to pivot table

* clean

* fix code climate

Change hardcoded references to 'User' security model to allow custom class override (#2728)

Fix issues around % signs and Presto (#2755)

* Fix issues around % signs and Presto

* Fix mysql

fix percentage change viz (#2757)

0.18.0

Remove duplicate text (#2761)

fixed 500 error when export dashboard (#2760)

https://github.com/airbnb/superset/blob/master/superset/views/core.py#L474

http://flask-appbuilder.readthedocs.io/en/latest/actions.html?highlight=action

```
@action("mulexport", __("Export"), __("Export dashboards?"), "fa-database")
    def mulexport(self, items):
        ids = ''.join('&id={}'.format(d.id) for d in items)
```
change to
```
@action("mulexport", __("Export"), __("Export dashboards?"), "fa-database")
    def mulexport(self, items):
        if not isinstance(items, list):
            items = [items]
        ids = ''.join('&id={}'.format(d.id) for d in items)
```

fixed:

[explore] a bit less margin in left panel (#2758)

* [explore] a bit less margin in left panel

* fix tests

* forcing react-select 1.0.0-rc.3

0.18.1-alpha.1

Show clear and actionable query timeout error message (#2763)

* Show clear and actionable query timeout error message

1. Instead of waiting for a long time or server-side response 504 Gateway timeout, explore view now add a query timeout threshold. After timeout it will show specific querytimeout message.
2. fix alert box close button position.

* Show clear and actionable query timeout error message

1. Instead of waiting for a long time or server-side response 504 Gateway timeout, explore view now add a query timeout threshold. After timeout it will show specific querytimeout message.
2. fix alert box close button position.
3. fix a linting error.

Adding `end_result_backend_time` to Query model (#2766)

This will help us keep track on how long it takes to push the data
into the results backend.

[hotfix] 'No numeric types to aggregate'

0.18.1-alpha.2

0.18.2

[sql lab] fix user timestamp is off (#2774)

[sql lab] make database ordering alphabetical in left panel (#2769)

Adding some STATSD logging (#2715)

Enable filter value autocomplete in examples (#2781)

[docs] more details on how filters are applied (#2778)

0.18.3-alpha.1

Logging a few more actions (#2783)

* Logging a few more actions

* adding statsd dep

Updating permission when refreshing druid datasource (#2655)

* Updating permission when refreshing druid datasource

* Adding test

* Fix style

* Deletion view_menu after db, table, cluster, ds deletion

* Update table model

* Linting

* Override _delete instead of post_delete

* fix

* lint

* fix multi delete

* fix

* Refactoring

* Amending

[hotfix] 'filter box from and to date filter #2649' (#2785)

Added Country Map : New Visualization tools (#2708)

* feat(visualization): Create new visualization's tools that display country with geojson file. Currently only  france and Spain are loaded

* refacto(visualization): fix issues created by codeclimate

* refacto(visualization): fix issues created by travis for mysql databases

* refacto(visualization): fix issues created by codeclimate

* refacto(visualization): fix issues created by codeclimate

* refacto(visualization): fix issues created by codeclimate

* refacto(visualization): fix issues created by codeclimate

* fix(visualization): fix issues

* doc(visualization): Init visualization documentation

* doc(visualization): init visualization documentation for country

* fix(visualization): implement iso 3166-2 for id of country

* fix(visualization): implement iso 3166-2 for id of country

* doc(visualization): init visualization documentation for country

* fix(visualization): implement iso 3166-2 for id of country

* feat(country_map): add ukraine map in component

* fix(visualization): Test dont working and add color based on metrics

* refacto(visualization): fix issues for es6 and color component

Fixing country maps (#2801)

apply redux for VisualizeModal (#2795)

* redux visualize modal

* redux visualize modal

- apply redux
- add unit test for connect container component
- fix lint error

* redux visualize modal

- apply redux
- add unit test for connect container component
- fix lint error

filter_box: allow creatable entries (#2804)

The reason is that it should be able to create arbitrary filters
over attributes with very high cardinality, where loading all
possible combinations into the filter box is infeasible,
e.g. IPv6 addresses.

[clarity/consistency] rename /explorev2/ -> /explore/ (#2802)

* rename /explorev2/ -> /explore/

* add redirect for existing explorev2 urls

* fix long line

* remove extra line

* fix missed ref in spec

[explore] include ControlHeader as part of Control interface (#2809)

* [explore] include ControlHeader as part of Control interface

* Adressing comments

reduce clientside timeout limit (#2820)

it was set to 60 seconds. But it seems gateway will return 504 around 50 seconds.
Will reduce client side timeout limit to 45 seconds.

0.18.3-alpha.2

Fix filter values populating for views (#2816)

Applying specified limit in bubble plot (#2815)

* Applying specified limit in bubble plot

* Keeping bubbles proportinate

[explore] viz type selector as modal (#2787)

* [explore] viz type selector as modal

* Addressing comments

* Adressing comments

[bars] fix sort numeric bar on x axis (#2812)

0.18.3-alpha.3

Improve visualize modal test coverage (#2811)

add unit tests for VisualizeModal component

[js-testing] more tests for SelectControl (#2877)

* rename spec folder

* remove special handling for viz_type control since it now uses VizTypeControl

* add test for getOptions

* linting

* add test for cwp

* linting

[explore] 'Save as' -> 'Save' as it can be used to overwrite (#2875)

* [explore] 'Save as' -> 'Save' as it can be used to overwrite

* Fix tests

[explore] adding y_axis_bounds to force Y axis bounds (#2878)

* [explore] adding y_axis_bounds to force Y axis

* Handling comments

Add visualize advise for long query (#2879)

in SqlLab view, if query takes over 45 seconds, we will show advise to store a summarized data set before user clicks on Visualize button.
This advise will not block Visualize button.

fixes apache#2733

Fix a type error in rst' sub list. (#2881)

Sub list in rst requires a blank line above and below.

Ref:
- http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#bullet-lists

[bugfix] allow database macro to work when CSRF is diabled (#2884)

delete DataPreviewModal, it doesn't get used anywhere (#2882)

Converting filter argument to number if column is number (#2891)

0.18.3

Updating CHANGELOG.md to 0.18.3

fix js error on explore view (#2894)

* fix js error on explore view

* bump version

fix a linting error (#2895)

0.18.4

travis: no need to install python3.5 (#2904)

As we are testing on 3.4 and 2.7.

update contributing a bit re contributing code (#2903)

* CONTRIBUTING: document starter_task label

* CONTRIBUTING: PR should work travis python versions

* CONTRIBUTING: move PR guidelines at the top

* CONTRIBUTING: no need to open a new pr after review

[docs faq] how do I add new columns to an existing table (#2888)

update for the italian translation (#2902)

* italian translation

* update for the italian translation

fix visualize modal checkbox alignment (#2897)

in Visualize Modal, table headers are left-aligned. So columns checkboxes should also be left-aligned.

Removed __time column from druid metadata refresh, added long and double schema support (#2911)

* Removed __time column from load, added long/double schema support

* Format fix

[explore] fix IN filter on numeric field (#2908)

[dashboard]Add timeout message on Dashboard view (#2910)

Same as explore view, if query takes > 45 seconds not returned, we will show Query timeout warning message. Otherwise user will see 504 Gateway timeout error.

0.18.5-alpha.1

Ignore pyenv files in .gitignore. (#2906)

Some python developers use Python version manager to create and switch Python
enviroments, pyenv (http://github.com/yyuu/pyenv) is one of the version managers.

When you use `pyenv local x.x.x`, `pyenv` will put a `.python-version` file in
project directory, which, in general, should not be commited to git.

updating react-alert dependency to v2.0.1 (#2923)

[slices] add simple new slice form (#2800)

* initial structure for add new slice page

* simplify add slice form

* add a test

* fix long line

* use underscore for template name

* fix controls path

* fix vis types select

add more tests for Timer (#2889)

[js-testing] type checking for dates.js (#2893)

* tests for dates.js

* linting

* test fduration output

* ignore warnings in code climate

* use eslint-2 otherwise defaults to eslint-3

* test eslint 1

* remove channel rule

* disable checks

* checks for eslint engine

[hotfix] only apply SQLAlchemy limit where needed

Observed issue in dev environment where SQL queries were emitted with
`LIMIT 0`. This fix addresses it.

v 0.18.5-alpha.2

Fix #2814 - json serialization edge case (#2924)

[big number] various improvements (#2912)

* [big number] various improvements

* dynamic number of X axis ticks based on width to prevent label overlap
* corrected overflow on the x axis
* improved tooltips (precise arrow and visible data point circle on hover)

* Fixing tooltips in heatmap viz

add new slice form improvements (#2928)

* dont set first datasource as default

* not used

* add a disabled class if datasource is not selected

* sort datasources alphabettically

* make btn disabled is no datasource is selected

* fix linting

v 0.18.5-alpha.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment