Commit Graph

4560 Commits

Author SHA1 Message Date
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
Kate
f3181ca6dc Add Intercom to Superset users (#7687)
Add Intercom in the list of organisations that use Superset.
2019-06-12 09:18:22 -07:00
CoryChaplin
4e3975e229 Adding 6play as users (#7688) 2019-06-12 09:17:17 -07:00
John Bodley
8d6257afcd
[epoch] Remove non-UTC epoch logic (#7667) 2019-06-11 22:34:53 -07:00
John Bodley
541db94133
Update index.rst (#7672) 2019-06-11 09:46:27 -07:00
John Bodley
49390b3232
Revert "Allow bigint to be used as time column in Presto" #7670 (#7678) 2019-06-10 16:10:20 -07:00
John Bodley
c6179b195f
[connectors] Make cluster/database and datasource/table unselectable in CRUD view (#7073) 2019-06-10 10:25:13 -07:00
Marcus
f486f435b4 adding command for seeing changes reflected. (#7598) 2019-06-09 19:13:43 -07:00
Daniel Vaz Gaspar
6eb60ed89d Bump FAB to 2.1.4 (#7478)
* Bump FAB to 2.1.0

* Bump FAB to 2.1.1

* Bump FAB to 2.1.2

* Test revert to 2.1.1

* again to 2.1.2

* Bump FAB to 2.1.4
2019-06-09 18:25:31 -07:00
Evan Rusackas
514c308bcf Fixed SQL Lab Query Search scrolling issue(#7526) (#7674) 2019-06-09 16:05:43 -07:00
Ville Brofeldt
95291facff
Break up db_engine_specs (#7676)
* Refactor db_engine_specs into package

* Rename bigquery class and add epoch funcs

* Fix flake8 errors

* Dynamically load all engine specs

* Fix linting errors and unit tests

* Implement Snowflake epoch time funcs

* Implement Teradata epoch time func

* Fix presto datasource query and remove unused import

* Fix broken datasource query

* Add mypy ignore for false positive

* Add missing license files

* Make create_time_grains_tuple public

* Fix flake8 quote

* Fix incorrect licence header
2019-06-08 11:27:13 -07:00
Thoralf Gutierrez
f3e5805b92 Remove duplicate paragraph in celery tasks documentation (#7392) 2019-06-08 09:20:49 -07:00
Ville Brofeldt
38abf4e073
Add epoch funcs for BigQuery (#7567) 2019-06-07 20:01:58 -07:00
Erik Ritter
f7812a3f27 [SQL Lab] Clarify SQL Lab query and display limits (#7641) 2019-06-07 17:16:38 -07:00
Grace Guo
f3091c525e
[dashboard] pass dashboard filters to share chart url in dropdown (#7642) 2019-06-07 15:22:56 -07:00
Grace Guo
39d67cbc59
[SQL Lab] Show warning when user used up localStorage (#7572) 2019-06-07 14:27:57 -07:00
Derek Flionis
883a02ae19 docs: Add Tenable to the List of Users (#7610) 2019-06-07 08:28:39 -07:00
Rahul Rahul
2793bdd294 Apply DashboardFilter to the dashboards in SliceModeView (#7475)
* Apply dashboardFilter to dashboards

* added missing comma
2019-06-06 23:20:42 -07:00
1AB9502
271612cfec Add new escape characters to OnPasteSelect (#7638)
* Add new escape characters to OnPasteSelect

* Add Unit Tests to onPasteSelect_spec

* Update new line to tab escape character

* Fix indentation in 2 cases
2019-06-06 22:24:50 -07:00
Daniel Vaz Gaspar
de9f61e934 [docs] Fix, deprecate fabmanager cli (#7660) 2019-06-06 22:15:00 -07:00
Kim Truong
d62c37b895 Revert "Boxplot should not require a datetime column (#5096)" (#7655)
This reverts commit 1ae000a262.
2019-06-05 15:05:26 -07:00
Enrico Berti
1cd0e7f3f4 [SQL Lab] CTAS now uses the right async configuration (#7175)
Closes #6224
2019-06-04 22:59:36 -07:00
Erik Ritter
25da4c773b [Profile] Fix react gravitar size prop type warning (#7647) 2019-06-04 22:46:05 -07:00
Derek Flionis
5470d10155 Add Filter on DatabaseView that filters DBs Based on Role Access (#7618)
* Add Filter on DatabaseView that filters DBs Based on Role Access

* Update with mistercrunch's feedback
2019-06-04 22:37:22 -07:00
Grace Guo
f99ae1ad24
[dashboard] click tab anchor link (#7640) 2019-06-03 16:57:21 -07:00
Beto Dealmeida
ddd7f8fb17
Fix colors in ellipsis (#7632)
* Fix colors in ellipsis

* Change method name to align with convention

* Fix js lint
2019-06-03 15:40:36 -07:00
michellethomas
6d1f6e9df9
Adding codecov targets and thresholds (#7433)
* Adding codecov targets and thresholds

* Changing diff coverage rules to 1% threshold

* Changing codecov threshold to 0 and removing ignore
2019-06-03 15:26:42 -07:00
John Bodley
45b41aadcc
[fix] SQL parsing of table names (#7490) 2019-06-03 11:07:57 -07:00
Jim Horng
78c1674dc7 make filter_values() macro to properly accept value from filter box with single value setting (#7494) 2019-06-03 09:54:07 -07:00
Maxime Beauchemin
45b9880516
fix: SqlaColumn.type overflow on mysql (#7606)
* fix: SqlaColumn.type overflow on mysql

Hitting a new error when loading examples around a datatype that exceeds
the 32 chars limit on SqlaColumn.type

Type includes the 'COLLATE utf8mb4_general_ci' suffix which is too
verbose and not needed in that context.

* fix tests
2019-06-03 09:52:25 -07:00
Daniel Vaz Gaspar
7dd66358f6 [query] Fix, remove not possible to order columns (#7636) 2019-06-02 12:10:59 -07:00