Commit Graph

4240 Commits

Author SHA1 Message Date
Maxime Beauchemin 5c7a50c104
Improvements related to ASF release process (#7539)
* [WiP] Improvements related to ASF release process

* Removing translation binaries (.mo)
* Working on 2 docker files to help package and validate releases
  * Dockerfile.from_tarball: takes a VERSION as input, downloads
    official source release fro svn and bakes it into a functional
    docker image that can be validated
  * Dockerfile.make_tarball: helps a maintainer to package and sign a
    release candidate or release

* Address COPYRIGHT + LICENSE issues

(cherry picked from commit 5ae2836b25)

* Add Roboto font to LICENSE, remove glyphicons files

(cherry picked from commit 9615f39f7a556afe217b4e3288c9116f8ffaab91)

* remove unused LICENSE entries

* Change babytux to open image in birth dashboard

(cherry picked from commit 2776d11893596a029b8af37b96fd6ce1a9f12059)

* Improve instructions

* Docker tweaks

(cherry picked from commit df6e6462458ea8cff1482c142921b20f5607ad8e)

* Include image
2019-07-03 22:33:14 -07:00
Maxime Beauchemin 08b4a1735a
fix: unicode word cloud example (#7747)
closes #7339
2019-07-03 22:32:30 -07:00
Daniel Serkowski 8c17c19279 Added possibility to translate the phrase 'No results found' in FilterBox (#7796) 2019-07-03 21:52:34 -07:00
Maxim Sukharev 2fa071a3ac fix: Better error message for dashboard import (#7621)
Common mistake is trying to import dashboard without creating
datasources first. Currently it causes error 500 with a message

> sqlalchemy.orm.exc.NoResultFound: No row was found for one()

which is difficult to understand.

This commit catches NoResultFound error and returns human readable error
using flash('danger').

Ref: #2992
2019-07-03 21:52:00 -07:00
Grace Guo 9b8996038e
[dashboard] Fix URLShortLinkButton position after click anchor link (#7812) 2019-07-03 15:05:51 -07:00
John Bodley 9dac805e7e
[schema] Deprecating the table_columns.database_expression column (#7653) 2019-07-03 14:05:59 -07:00
Ville Brofeldt 346638a339
Add second and minute grains (#7810) 2019-07-03 23:04:34 +03:00
Ville Brofeldt 0125ba40ef
Improve documentation (#7813)
* Improve documentation and add type annotations for jinja context

* Fix linting errors

* Move requirements to correct place and remove redundant line change

* Make example query more ANSI SQL
2019-07-03 19:54:03 +03:00
John Bodley 6d7701e684
[fix] Updating Pandas resample logic (#7799) 2019-07-02 11:10:50 -07:00
Marcus 56eac687f8 Add Table List Refresh Button (#7502)
* Keep Search button because previously it disappeared + formatting.

* more stylistic consistency.

* more reliable event listener

* revert auto-formatting
2019-07-01 18:29:12 -07:00
John Bodley ffa7c617ad
[travis] Adding Black tox environment (#7809) 2019-07-01 18:05:15 -07:00
Yongjie Zhao 459276f00d [Viz] transpose pivot table (#7325) 2019-07-01 15:44:01 -07:00
Jesus EKIE 3b2ac20396 Update messages.json (#7435) 2019-07-01 15:28:11 -07:00
Kim Truong 963dce6421 Autocomplete in the table browser in SQL lab is broken - Fix part 2 (#7770)
* fix: table autocomplete and update unit tests

* fix: linting issues

* fix: disable tests properly

* empty commit

* fix: align structure across fe and be
2019-07-01 12:44:46 -07:00
John Bodley e0d040c377
[fix] Handling of non-existent datasource (#7755) 2019-07-01 11:55:25 -07:00
Erik Ritter 15426febbe Improve performance for add slice container (#7791) 2019-07-01 10:55:12 -07:00
Chris d1158d6f4b add new user (#7801) 2019-07-01 10:53:36 -07:00
Beto Dealmeida 34ca2aefbe
Truncate data that is expanded (#7777)
* Truncate data that is expanded

* Fix object check

* Small optimizations
2019-07-01 10:36:40 -07:00
Erik Ritter fc6a53eda9 [SQL Lab] Add hard time limit fallback for async queries (#7783) 2019-07-01 10:02:37 -07:00
Christopher Guan 61281d1836 Fix SQL editor tooltip to not cut off long column names (#7788) 2019-06-28 12:07:01 -07:00
Rahul Rahul 4740086bd7 Change kv content-type to text/plain (#7467)
* Change kv content-type to text/plain

* use single quote to fix linter errors
2019-06-28 18:24:11 +03:00
michellethomas d27fbd6718
Updating legacy-plugin-chart-heatmap to fix an issue with heatmap (#7787) 2019-06-27 15:33:38 -07:00
Kim Truong 5994e432d4 feat: query based on all partitions (#7782)
* feat: query based on all partitions

* fix: address Beto's comments
2019-06-27 11:19:55 -07:00
Ville Brofeldt ebb7fbc5f0
bugfix: Oracle timegrains fail to render when wrapped in outer query (#7767)
* Add check if TimegrainExpression col is None

* Clean up TimestampExpression proxying logic

* Remove redundant optionality from init
2019-06-26 08:56:19 +03:00
John Bodley 5c58fd1802
[format] Using Black (#7769) 2019-06-25 13:34:48 -07:00
John Bodley 0c9e6d0985
[testconn] Fixing response (#7753) 2019-06-24 23:07:41 -07:00
Rahul Rahul d06b77c3fd Show generic error msg and hide stacktrace if feature flag is enabled (#7764)
* Show generic error msg and hide stacktrace if feature flag is enabled

* SHOW_STACKTRACE should not modify msg
2019-06-24 21:11:04 -07:00
Maxime Beauchemin 859d6e7c6a
chore: taking db dependencies out of requirements-dev.txt (#7605)
* chore: taking db dependencies out of requirements-dev.txt

The deps on mysqlclient and psycopg2

* Fix unit tests

* fix tox.ini

* fix tests
2019-06-23 22:37:41 -07:00
Ville Brofeldt 1df4fa26c2 Fix deck.gl sample charts with js (#7749)
* Fix js_data_mutator

* Remove redundant line change

* Add missing line changes
2019-06-23 15:53:26 -07:00
jiten-github 9c0c16c71b fix(filterbox): fixed runtime exception in filterbox for allow multiple selection is false (#7011) 2019-06-23 14:22:07 -07:00
Ville Brofeldt 1c4092c61c Add csv upload support for BigQuery (#7756)
* Add extra_require for bigquery to setup.py

* Refactor df_to_db and add df upload capability for BigQuery

* Fix unit tests and clarify kwarg logic

* Fix flake8 errors

* Add minimum versions for bigquery dependencies

* wrap to_gbq in try-catch block and raise error if pandas-gbq is missing

* Fix linting error and make error more generic
2019-06-23 14:20:09 -07:00
Daniel Vaz Gaspar 90d156f186 [security] [ui] Make security views use superset's list widget (#7724) 2019-06-21 14:25:48 -07:00
Daniel Vaz Gaspar f09c916879 Bump FAB to 2.1.5 (#7750) 2019-06-21 19:43:10 +03:00
Erik Ritter 0d248fe630 [SQL Lab] Add JSON modal when clicking on cells with JSON objects (#7720) 2019-06-21 09:12:09 -07:00
Beto Dealmeida 9abcdccf96
[fix] Force refresh table list broken (#7745) 2019-06-20 21:50:36 -07:00
Kim Truong 17c4b72183 Revert "Autocomplete in the table browser in SQL lab is broken (#7736)" (#7743)
* Revert "Autocomplete in the table browser in SQL lab is broken (#7736)"

This reverts commit d1b81e04ac.

* Kick off build
2019-06-20 19:47:39 -07:00
Kim Truong d1b81e04ac Autocomplete in the table browser in SQL lab is broken (#7736)
* fix: explicitly provide value and label strings

* fix: spacing
2019-06-19 16:59:39 -07:00
Ville Brofeldt 43ea51b701
compile column names (#7646) 2019-06-19 21:48:45 +03:00
Erik Ritter cddce63cad [SQL Lab] Polish side pane animation (#7722) 2019-06-19 10:44:06 -07:00
michellethomas 7a575ce20a
Fixing time comparison to look for past deltas (#7616)
* Fixing time comparison to look for past deltas

* Adding note to updating about time_compare
2019-06-19 10:10:18 -07:00
Ville Brofeldt 437ca09f94 Bump sqla to 1.3.5 (#7729) 2019-06-19 09:50:10 -07:00
michellethomas 5864ddc079
Allowing withVerification to remove all options if none are valid (#7652) 2019-06-18 14:06:05 -07:00
Maxime Beauchemin f278faa8be
css: add margin-top to ResultSet (#7679) 2019-06-17 22:57:40 -07:00
Erik Ritter 0b1a875708 [CSV Upload] Fix Index Column input filter (#7723) 2019-06-17 22:34:29 -07:00
Grace Guo 925b8dbb90
[dashboard] fix nested tab component visible logic (#7700) 2019-06-14 13:39:48 -07:00
Daniel Vaz Gaspar b6ab691ebd [docker] Fix docker-init missing FLASK_APP (#7709) 2019-06-14 09:02:11 -07:00
Erik Ritter 0d122431b2 Update @superset-ui/legacy-preset-chart-nvd3 (#7701) 2019-06-13 10:58:09 -07:00
Daniel Vaz Gaspar 4b1452e15a [docs] Fix, flask fab cli does not need app parameter (#7696) 2019-06-13 09:34:52 -07:00
Erik Ritter 2a453e1878 [SQL Lab] Fix proptypes warning (#7691) 2019-06-12 21:54:47 -07:00
Beto Dealmeida 5cf06331fe
Render columns dynamically on wide tables (#7693)
* Use grid for wide tables

* WIP

* Fix CSS issues

* Add unit test

* Add constant

* Improve ref

* Remove wrong refs; no longer need extra height

* Revert number of columns
2019-06-12 10:09:04 -07:00