Commit Graph

3546 Commits

Author SHA1 Message Date
Christine Chambers ae3fb04036 Bug: fixing async syntax for python 3.7 (#5759)
* Bug: fixing async syntax for python 3.7

Rename async to async_ so superset installs for python 3.7.

* Addressing PR comments. Use kwargs instead of explicitly specifying async_ so downstream engines (e.g. PyHive) that supports async can choose to use the async_ in pythonwq3.7 and async in <=python3.6

* addressing additional pr comments
2018-08-28 17:40:45 -07:00
Beto Dealmeida 48d220c03a
Disable input when IS (NOT) NULL selected in filters (#5766) 2018-08-28 17:05:44 -07:00
Maxime Beauchemin 6c6ea3730b
[bugfix] IS NOT NULL filter triggers KeyError: 'val' (#5764) 2018-08-28 15:26:41 -07:00
Viksit Gaur ba4b8a033b Add Myra Labs to user list in README (#5756) 2018-08-28 15:14:42 -07:00
Maxime Beauchemin 60ecd72aac [deck polygon] add support for geohash (#5712)
* [deck polygon] add support for geohash

+ improvements:
* added autozoom support
* support for metric & aggregations (only aggregates if metric is picked)
* fixed stroke
* fixed opacity
* introduced a SliderControl

* addressing comments, fixing build

* Addressing comments
2018-08-28 11:09:10 -07:00
Maxime Beauchemin f0beb3ab80 Silence error on migration 4736ec66ce19 constraint drop (#5729)
* Silence error on migration 4736ec66ce19 constraint drop

* typo + lint
2018-08-28 11:08:47 -07:00
Maxime Beauchemin 6cc52c614c Prevent deleting databases that have attached tables (#5749)
* Prevent deleting databases that have attached tables

Similar to logic preventing deleting tables that have charts attached.

* Addressing comments
2018-08-28 11:08:12 -07:00
Beto Dealmeida bd1f36d345
Merge pull request #5750 from mistercrunch/updating_0_28
UPDATING.md entry about dashboard v2 forced migration in 0.28
2018-08-28 10:50:43 -07:00
Beto Dealmeida 1a95fbc88c
Merge pull request #5732 from mistercrunch/build_docs
[docs] note as to how to build and view the docs
2018-08-28 10:48:14 -07:00
Beto Dealmeida 24a9a39e2d
Merge pull request #5731 from mistercrunch/faq_db_engines
[docs] FAQ entry 'Does Superset work with [database engine]?'
2018-08-28 10:47:55 -07:00
Krist Wongsuphasawat 506cfd1450 [SIP-5] Refactor sankey (#5701)
* extract slice and formdata from sankey

* use arrow function

* reorganize imports
2018-08-27 21:50:08 -07:00
Krist Wongsuphasawat fcf2c756c0 [SIP-5] Refactor and update heatmap (#5704)
* Extract slice and formData

* Define data shape

* update style

* organize imports

* fix heatmap axis labels

* add new line

* adjust indent
2018-08-27 21:49:54 -07:00
Maxime Beauchemin 13e48e8c8e typo-delipo 2018-08-27 21:28:04 -07:00
Beto Dealmeida 4ae08c2c64
Merge pull request #5725 from mistercrunch/label_verbose_name
[table editor] better table header for Metrics tab
2018-08-27 18:33:31 -07:00
Maxime Beauchemin ceda3092e3 UPDATING.md entry about dashboard v2 forced migration in 0.28 2018-08-27 18:01:20 -07:00
Hugh A. Miles II 46a048b300 update webpack (#5744) 2018-08-27 16:59:05 -07:00
Beto Dealmeida 1e6a3b0401
Merge pull request #5706 from mistercrunch/color_arcs
[deck arcs] add JS hooks for sourceColor & targetColor
2018-08-27 16:33:54 -07:00
Beto Dealmeida 0d6201de67
Merge pull request #5724 from mistercrunch/css_editable_input
[css] show border around editable input while editing
2018-08-27 16:24:17 -07:00
Beto Dealmeida 19062ed50e
Merge pull request #5723 from mistercrunch/fix_autocomplete_filters
[table editor] fix 'Autocomplete filters' checkbox doesn't stick
2018-08-27 16:22:33 -07:00
Krist Wongsuphasawat 0781cf2cfb [bugfix] BigNumber crash, Horizon indent and Myanmar geojson (#5746)
* fix myanmar geojson

* fix indent of horizon in dashboard

* Fix bignumber crash when color_picker is undefined
2018-08-27 15:46:52 -07:00
Krist Wongsuphasawat 8d01c84c54 [SIP-5] Refactor sunburst (#5699)
* extract slice and formData

* fix small issues

* Update visual

* update css
2018-08-27 10:43:04 -07:00
Krist Wongsuphasawat d7f06cbc26 [SIP-5] Repair and refactor Horizon Chart (#5690)
* Migrate horizon chart to react

* remove unused code

* rename files

* update props

* enable renderTrigger

* fix canvas transform issue

* Address Chris' comment
2018-08-27 10:42:42 -07:00
Hugh A. Miles II f5cc98351e remove unneeded console.log (#5738) 2018-08-26 21:01:05 -07:00
John Bodley 52b99dff78
[celery] Using preferred configuration proceedure (#5726) 2018-08-26 20:04:33 -07:00
Maxime Beauchemin 09d46a7864 Fix tests 2018-08-26 17:14:15 -07:00
Beto Dealmeida f83ea233c7 Autofocus aggregation in metric control (#5717)
* Focus button

* Move autofocus to aggregation
2018-08-26 16:36:09 -07:00
hitdemo 9a6595d0e9 make some text localizable, mainly in explore, query (#5735) 2018-08-26 11:02:56 -07:00
Maxime Beauchemin 12cc2fbe15 [docs] note as to how to build and view the docs 2018-08-25 16:31:03 -07:00
Maxime Beauchemin bddc9522e8 [docs] FAQ entry 'Does Superset work with [database engine]?' 2018-08-25 16:18:19 -07:00
Beto Dealmeida cae070467b Fix FAQ on filters (#5720) 2018-08-24 21:54:16 -07:00
Maxime Beauchemin e964d83b45 [table editor] better table header for Metrics tab 2018-08-24 18:14:59 -07:00
Maxime Beauchemin c447a970de [css] show border around editable input while editing 2018-08-24 17:57:51 -07:00
Maxime Beauchemin ba329440bc [table editor] fix 'Autocomplete filters' checkbox doesn't stick 2018-08-24 17:33:42 -07:00
Krist Wongsuphasawat 54ae215d11 [SIP-5] Refactor treemap (#5670)
* refactor treemap

* refactor treemap code

* Add proptypes

* add proptypes for tree

* Add margin prop
2018-08-24 14:15:43 -07:00
Maxime Beauchemin 14930bbddb
[bugfix] add item is missing on table editor metrics tab (#5714) 2018-08-24 11:44:40 -07:00
Beto Dealmeida 2abc941801
Merge pull request #5716 from lyft/DPTOOLS-976
Return 403 on no authorization
2018-08-24 09:28:50 -07:00
Beto Dealmeida c567a89ee7 Use 403 2018-08-23 18:40:20 -07:00
Beto Dealmeida 9827925015 Return 401 on no authorization 2018-08-23 18:32:04 -07:00
Joshua Brooks 5e6efae155 Geojson property names (#5708)
* Add geojson for Myanmar

* Adds 'myanmar.geojson' file

* Adds "iso-3166" codes

* Uppercase ISO fieldname in TL, MY geodata
2018-08-23 15:48:26 -07:00
Krist Wongsuphasawat 0448db3b8d remove console.log and change wording (#5702) 2018-08-23 15:46:32 -07:00
Krist Wongsuphasawat 9fb28b5f4e Revise markup.js and iframe.js (#5672)
* Do not call slice.xxx

* remove iframe id

* remove old code

* use import instead of require

* update iframe.js
2018-08-23 15:45:45 -07:00
timifasubaa 5c49514e2f
[sqlparse] fix sqlparse bug (#5703)
* fix sqlparse bug

* add one more test case
2018-08-23 11:20:25 -07:00
Maxime Beauchemin 71866f6a12 [deck arcs] add JS hooks for sourceColor & targetColor 2018-08-22 20:28:19 -07:00
John Bodley 89927558e8
[security] Moving set/merge perm to security manager (#5684) 2018-08-22 11:15:22 -07:00
Beto Dealmeida 54c9ceb78d
Merge pull request #5623 from mistercrunch/fix_templates
Fix menu on 'import dashboards' page
2018-08-22 10:31:04 -07:00
Hugh A. Miles II b92e73084b Allow users to select color for big number (#5694)
* allow user to choose color

* add color control

* remove rgbToHex reference

* change to color picker control

* add d3-color

* remove module

* use d3-colors

* add semicolon
2018-08-22 10:27:19 -07:00
Joshua Brooks 0e057d50f1 Adds geodata for Myanmar (#5697)
* Add geojson for Myanmar

* Adds 'myanmar.geojson' file

* Adds "iso-3166" codes
2018-08-22 09:26:15 -07:00
Joshua Brooks 1c85192c6b adds TimorLeste geodata (#5698) 2018-08-22 09:25:57 -07:00
Maxime Beauchemin b42f8a23b1
[bugfix] geohash lat/long is reversed (#5695)
* [bugfix] geohash lat/long is reversed

This allows support for reversing geohashes. Note that the default option
was the wrong way.

* addressing comments

* make reverse_geohash_decode a staticmethod
2018-08-21 22:58:47 -07:00
Beto Dealmeida 2a8cd43881 Make brush send events (#5663)
* Make brush send events

* Make sure object is date

* Send event only on brushend
2018-08-21 21:40:26 -07:00