timifasubaa
a14dc26042
ensure directory exists before saving csv file ( #4829 )
2018-04-18 15:01:40 -07:00
Timi Fasubaa
e47d8a59a4
help sqllab forget the past
2018-04-18 14:09:33 -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
Ariel Shemtov
adf9ec0bb1
adding option for multiple metrics, group by, opacity, legends ( #4525 )
2018-04-10 21:21:24 -07:00
John Bodley
7f1d7543d0
[logs] Dropping dt column ( #4587 )
2018-04-10 18:34:32 -07:00
Grace Guo
02a9e37f04
[homepage] Fix Favorites chart list ( #4802 )
2018-04-10 17:07:28 -07:00
John Bodley
1627fd096b
[travis/tox] Restructuring configuration ( #4552 )
2018-04-10 15:59:44 -07:00
Maxime Beauchemin
14bf45da7c
[bugfix] when num_period_compare is not set ( #4799 )
...
Fixing issues where y_axis_format is set and not num_period_compare
2018-04-10 14:49:22 -07:00
Maxime Beauchemin
1e7a294c1f
Improve xAxis ticks, thinner bottom margin ( #4756 )
...
* Improve xAxis ticks, thinner bottom margin
* Moving utils folder
* Add isTruthy
2018-04-10 13:37:34 -07:00
David Hassan
64459efebd
Add Ascendica Development in organizations list who use Superset ( #4792 )
...
Add Ascendica Development in organizations list who use Superset
2018-04-09 22:07:52 -07:00
Maxime Beauchemin
9bbe50f2f6
[explore] forcing .1% number format when using 'Period Ratio' ( #4774 )
2018-04-09 14:02:43 -07:00
Beto Dealmeida
47c085fd00
Add play slider to screengrid ( #4647 )
...
* Improved granularity parsing
* Add unit tests
* Explicit cast to int
* Screengrid play slider
* Clean code
* Refactor common code
2018-04-09 14:02:20 -07:00
John Bodley
41c158edac
Rename UPDATING.MD to UPDATING.md ( #4781 )
2018-04-07 19:01:02 -07:00
Maxime Beauchemin
17e673ec87
[line] fix verbose names in time shift ( #4765 )
...
* [line] fix verbose names in time shift
* Addressing comments
2018-04-07 15:19:58 -07:00
Maxime Beauchemin
ee15fc8aa8
[doc] module header for controls.jsx and visTypes.jsx ( #4777 )
...
* Provide much needed module header for the controls.jsx module
* Typos
2018-04-07 12:56:29 -07:00
Maxime Beauchemin
627bdb2eb3
[dashboard] open in edit mode when adding a chart ( #4772 )
...
* [dashboard] open in edit mode when adding a chart
* Move dashboard unit tests to their own file
* fix tests
* Better URL management
2018-04-07 12:55:05 -07:00
EvelynTurner
bd2cb9aada
[Bug fix] Resolving key conflicts in Timeseries Annotation Layer when key is a string ( #4768 )
...
* Fix how the annotation layer interpretes the timestamp string without timezone info; use it as UTC
* [Bug fix] Fixed/Refactored annotation layer code so that non-timeseries annotations are applied based on the updated chart object after adding all data
* [Bug fix] Fixed/Refactored annotation layer code so that non-timeseries annotations are applied based on the updated chart object after adding all data
* Fixed indentation
* Fix the key string value in case series.key is a string
* Fix the key string value in case series.key is a string
2018-04-06 16:22:20 -07:00
Maxime Beauchemin
4f2c2069f1
Improve controls layout for Table visualization ( #4767 )
2018-04-06 16:19:37 -07:00
Beto Dealmeida
426c34ee86
Pass granularity from backend to frontend as ISO duration ( #4755 )
...
* Add ISO duration to time grains
* Use ISO duration
* Remove debugging code
* Add module to yarn.lock
* Remove autolint
* Druid granularity as ISO
* Remove dangling comma
2018-04-06 16:19:17 -07:00
Beto Dealmeida
1a26485da4
Fix brush with annotations ( #4773 )
...
* Make annotation work with brush
* Add dispatch for events
* Fix lint
* Use xScale.clamp
2018-04-06 16:18:49 -07:00
Tamika Tannis
91366799d3
Add notes to contrib file about testing and code coverage ( #4778 )
2018-04-06 16:14:14 -07:00
Maxime Beauchemin
59cabe7d8f
[explore] set control default for *showminmax = false ( #4766 )
...
Let's make the defaults less crowded on the axes by not showing the min
and max values on the axes (bounds)
2018-04-06 15:46:38 -07:00
DAOReady
92230b8535
Add context to templates / respect slice timeout ( #4673 )
...
* added context to templates to be able to use filters in SQL
* respect slice timeout in favor of others
* added trailing comma
2018-04-05 09:58:11 -07:00
John Bodley
df4ff05441
[druid] Excluding refreshing verbose name ( #4761 )
2018-04-04 17:16:53 -07:00
Maxime Beauchemin
68999b1407
[deck_multi] fixing issues with deck_multi ( #4754 )
...
* [deck_multi] fixing issues with deck_multi
* removing eslint comment
2018-04-04 16:52:14 -07:00
Maxime Beauchemin
adda30bf66
Set longer CSRF token duration (one week) ( #4741 )
...
Default is one hour (3600), also this entry makes the setting a bit more
discoverable
http://flask-wtf.readthedocs.io/en/stable/config.html?highlight=csrf
2018-04-04 15:55:32 -07:00
Maxime Beauchemin
3b7e0a951a
[sql lab] preserve schema through visualize flow ( #4742 )
...
* [sql lab] preserve schema through visualize flow
https://github.com/apache/incubator-superset/pull/4696 got tangled
into refactoring views out of views/core.py and onto views/sql_lab.py
This is the same PR without the refactoring.
* Fix lint
2018-04-04 13:38:37 -07:00
fabianmenges
9a79d33e0d
[BUGFIX]: JavaScripts max int is 2^53 - 1, longs are bigger ( #4005 )
...
* [BUGFIX]: Java scripts max int is 2^53 - 1 longs are bigger and frequently used as IDs this is a hacky fix.
* Keep tuple as tuple
2018-04-04 00:36:23 -07:00
Prashant
7a497e2f6b
[sql_lab]Disabled run query button if sql query editor is empty ( #4728 )
...
* Disabled run query button if sql query editor is empty
* Removing unnecessary white space
* Fix failing test for sql props
* Adding sql variable into propTypes and defaultProps
2018-04-03 14:58:23 -07:00