Beto Dealmeida
9c53323c93
Replace NaN/Infinity with null ( #4908 )
2018-05-01 11:18:19 -07:00
Maxime Beauchemin
8c94e1f710
Fix country_map visualization URL ( #4913 )
...
When moving the visualizations/ folder to src/ I missed this reference.
2018-05-01 08:50:47 -07:00
Maxime Beauchemin
e1d2150391
Add note about 0.25.0 upgrade in UPDATING.md ( #4883 )
2018-04-30 09:47:48 -07:00
Maxime Beauchemin
3c7feb770a
Heatmap improvements ( #4897 )
...
* allow option to normalize the color distribution
* make bounds work client side (instantaneous)
* make more controls instantaneous
2018-04-30 09:36:24 -07:00
Riccardo Magliocchetti
709a71b89a
requirements: bump gunicorn to 19.8.0 ( #4906 )
...
Fixes #3002
2018-04-30 08:58:02 -07:00
Riccardo Magliocchetti
31f426664c
translations: rename pt_BR gettext files ( #4907 )
...
To messages.{mo,po} like for the other languages.
2018-04-30 08:57:26 -07:00
John Bodley
d533ce0967
[pylint] prepping for enabling pylint for non-errors ( #4884 )
2018-04-28 20:08:09 -07:00
Maxime Beauchemin
caa72675a5
Fix 'Uncaught TypeError: pe.clamp is not a function' ( #4901 )
2018-04-27 16:15:43 -07:00
Maxime Beauchemin
0a953714ac
[sql lab] allow stoping 'pending' queries ( #4896 )
2018-04-27 16:10:29 -07:00
Jules
510ae84b3b
remove hard code http scheme of short url #4656 ( #4886 )
...
* remove hard code http scheme of short url #4656
* remove space
* add space
* remove temp var
2018-04-27 08:41:54 -07:00
Maxime Beauchemin
f3d756016e
Allow limiting rows on Pivot Table ( #4891 )
2018-04-27 08:35:12 -07:00
Maxime Beauchemin
3f48c005df
[bugfix] temporal columns with expression fail ( #4890 )
...
* [bugfix] temporal columns with expression fail
error msg: "local variable 'literal' referenced before assignment"
Error occurs [only] when using temporal column defined as a SQL
expression.
Also noticed that examples were using `granularity` instead of using
`granularity_sqla` as they should. Fixed that here.
* Add tests
2018-04-26 21:13:52 -07:00
Ville Brofeldt
fa3da8c888
Implement Snowflake engine with supported time grains ( #4882 )
...
* Implement Snowflake engine with supported time grains
* Fix typo in second grain
2018-04-25 14:44:24 -07:00
Maxime Beauchemin
17ae9ec3a8
Move a few JS files ( #4841 )
...
* Moving JS files
* Moving pointers
* lint
2018-04-24 13:35:55 -07:00
david watson
7139f1e863
Remove spurious "has" from README ( #4872 )
...
This changes "has ships" to "ships" so it's grammatically correct. Sorry for the pedantic PR.
2018-04-24 09:44:42 -07:00
Chris Hua
7193a4719d
remove DISTINCT ON statement ( #4869 )
...
unbreaks for redshift tables and output is identical
2018-04-23 17:04:36 -07:00
Conglei
2cd016f11c
[axis formatting] Override the valueformat to be percentage when contribution is selected ( #4866 )
...
* force the valueformat to be percentage when contribution is selected
* remove extra empty lines
* simplied the logic by reusing some existing code
2018-04-23 10:05:29 -07:00
Hugh A. Miles II
5927e7dfe6
Refactoring on exploreReducer.js ( #4836 )
...
* refactoring on exploreReducser
* fix building json
2018-04-23 08:29:01 -07:00
Maxime Beauchemin
590e3462d6
Fix 'pip install .' ( #4856 )
...
* Fix 'pip install .'
Fix error :
> flask-appbuilder 1.10.0 has requirement Flask-SQLAlchemy==2.1,
> but you'll have flask-sqlalchemy 2.3.2 which is incompatible.
> botocore 1.10.5 has requirement python-dateutil<2.7.0,>=2.1, but you'll
> have python-dateutil 2.7.2 which is incompatible.
* remove flask-sqlalchemy==2.1 from reqs.txt
2018-04-23 08:16:22 -07:00
michellethomas
370d8a2bbe
Safely passing data to d3.html ( #4842 )
2018-04-22 21:00:37 -07:00
Ry Walker
937a5bc85c
Add Astronomer to list of organizations using Apache Superset ( #4867 )
2018-04-22 20:51:45 -07:00
Chris Williams
66fcf9b687
[formats] add better defaults for time + number formatting ( #4843 )
...
* [formats] add better defaults for time + number formatting
* [formatDate] add tests for concise formatDate
* [nvd3] use verbose time format in tooltips
* [number format] improve number format description
* [formats] revert to .3s defaults, tweak number format preview
* [formats] default number vis to .3s
2018-04-20 15:55:25 -07:00
John Bodley
89347172d2
[sql] Using read_sql_query instead of read_sql ( #4853 )
2018-04-20 14:36:20 -07:00
Peter Lubell-Doughtie
c92b56e2f6
correct config language key to pt_BR ( #4854 )
2018-04-19 20:43:56 -07:00
Maxime Beauchemin
e88b0b6c4c
Remove obsolete TODO.md ( #4850 )
2018-04-19 15:52:26 -07:00
Kengo Seki
860a4d9123
[docs] minor file name and format fix for the setup document ( #4844 )
2018-04-19 11:34:23 -07:00
Maxime Beauchemin
a98c3cfdef
Fix time granularity-related issues ( #4821 )
...
* Fixing time grain
* Add tests
2018-04-18 16:17:28 -07:00
timifasubaa
a14dc26042
ensure directory exists before saving csv file ( #4829 )
2018-04-18 15:01:40 -07:00
Maxime Beauchemin
eac97ce9f2
[explore] proper filtering of NULLs and '' ( #4651 )
...
* [WiP] [explore] proper filtering of NULLs and ''
TODO: handling of Druid equivalents
* Unit tests
* Some refactoring
* [druid] fix 'Unorderable types' when col has nuls
Error "unorderable types: str() < int()" occurs when grouping by a
numerical Druid colummn that contains null values.
* druid/pydruid returns strings in the datafram with NAs for nulls
* Superset has custom logic around get_fillna_for_col that fills in the
NULLs based on declared column type (FLOAT here), so now we have a mixed
bag of type in the series
* pandas chokes on pivot_table or groupby operations as it cannot sorts
mixed types
The approach here is to stringify and fillna('<NULL>') to get a
consistent series.
* typo
* Fix druid_func tests
* Addressing more comments
* last touches
2018-04-17 22:26:21 -07:00
John Bodley
44c2d5bdab
[setup] Dropping 3.4 and adding 3.6 ( #4835 )
...
* [setup] Dropping 3.4 and 3.6
* Update tox.ini
* Update .travis.yml
2018-04-17 21:30:12 -07:00
Maxime Beauchemin
c0db6dbb57
Moving some JS folders ( #4820 )
...
* Moving folders
* Pointing to new locations
2018-04-17 21:05:01 -07:00
John Bodley
2900ca345d
[travis] Fixing environments ( #4828 )
2018-04-15 16:21:33 -07:00
Riccardo Magliocchetti
3b18fbf9e3
db_engine_specs: use correct sqlite week time grain ( #4831 )
...
We want the week of year %W and not the day of week %w
when using week as time grain.
Reference:
https://www.sqlite.org/lang_datefunc.html
2018-04-15 16:15:31 -07:00
Maxime Beauchemin
23a3365cd1
Update README with fresher screenshots ( #4825 )
...
* Improve screenshots in README.md
* Add border to images
* Add visualizations.png
2018-04-14 15:32:26 -07:00
Gabe Lyons
8669874ec6
[Explore] Adding custom expressions to adhoc metrics ( #4736 )
...
* adding custom expressions to adhoc metrics
* adjusted transitions and made the box expandable
2018-04-13 11:20:53 -07:00
Maxime Beauchemin
4c268ec678
[docs] many improvements to the documentation / cleanup ( #4817 )
...
* fixed RSTs so images will show up on github
* fresh screenshots on main page
* removing irrelevant portions
* moved a set of sections under 'Misc'
* rebuilt the Gallery with all screenshots
2018-04-13 10:23:27 -07:00
Riccardo Magliocchetti
daf9a3bfb5
docs: use proper dialect for redshift ( #4823 )
...
Use redshift+psycopg2 instead of the postgresql one.
2018-04-13 09:13:33 -07:00
Beto Dealmeida
fd84fd89ce
RFC: add logger that logs into browser console ( #4702 )
...
* Option for logging into browser console
* Move import
* Add lint req
* Add docs, use Flask logger
2018-04-12 21:48:17 -07:00
Hugh A. Miles II
2f5cff7d9f
[DeckGL] Added fixtures and Deck test ( #4798 )
...
* added fixtures and deck test
* linting
* linting
* add os.path
* remove para
* fix reference
2018-04-12 17:20:39 -07:00
Maxime Beauchemin
6fd4ff45ea
Improve the calendar heatmap ( #4800 )
...
* Improve xAxis ticks, thinner bottom margin (#4756 )
* Improve xAxis ticks, thinner bottom margin
* Moving utils folder
* Add isTruthy
* Addressing comments
* Set cell_padding to 0
* merging db migrations
2018-04-12 17:16:45 -07:00
Maxime Beauchemin
b04359003e
Filtering out SQLLab views out of table list view by default ( #4746 )
...
* Filtering out SQLLab views out of table list view by default
This adds a `is_sqllab_view` flag in the "tables" table, and makes the
filters those out in the Tables list view.
The filter showing on top may be a bit confusing, but certainly less
than seeing lots of user generated views.
* flake
* Addressing comments
2018-04-12 13:52:47 -07:00
John Bodley
2a95d203ad
[migrations] Fixing issue #4810 ( #4815 )
2018-04-12 10:41:36 -07:00
Maxime Beauchemin
683fb6c251
Make the bottom margin a bit taller ( #4807 )
2018-04-11 15:15:59 -07:00
Maxime Beauchemin
07a5f47c75
[bugfix] dedup groupby columns in Deck visualizations ( #4801 )
...
When specifying the same column twice as a `Extra Data for JS` and
`Categorical Color`, an error is issued. This addresses this issue.
2018-04-11 15:15:36 -07:00
Maxime Beauchemin
ae7e114621
[explore] set working default for MetricsControl ( #4803 )
...
The default setting which would look for either `count` first and then
any metric stopped working when we landed MetricsControl. This mimics
the previous behavior
2018-04-11 15:11:11 -07:00
John Bodley
dadc0574b8
[tests] cleaning up test configuration ( #4806 )
2018-04-11 14:09:20 -07:00
michellethomas
725b8f94c9
Adding tests for the time table viz ( #4659 )
2018-04-11 13:24:51 -07:00
hidetoshiito
e96590744f
BugFix( #3658 ) ( #4133 )
...
* BugFix(#3658 )
rollback to old version
* Update views.py
2018-04-11 13:21:54 -07:00
timifasubaa
20f46eede5
call next() the right way ( #4804 )
2018-04-11 13:20:14 -07:00
Hugh A. Miles II
3c29ca79ae
filter recently viewed to just have explore and dashboard types ( #4808 )
2018-04-11 13:19:20 -07:00