Commit Graph

5225 Commits

Author SHA1 Message Date
John Bodley 04e3a4a72d
[caching] Using request context rather than globals (#9715)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-05-11 15:55:05 -07:00
Ville Brofeldt f369ab35d6
chore: move bullet string manipulation to frontend (#9773) 2020-05-11 11:49:27 -07:00
Ville Brofeldt a8d5a8aaa2
fix: make tests work individually (#9782) 2020-05-11 11:48:22 -07:00
Daniel Vaz Gaspar 660ea88534
tests: Fix, script to help run single tests (#9779) 2020-05-11 17:42:46 +01:00
Ville Brofeldt 42b10aecae
Add QueryContext deserialization test (#9778)
* Add QueryContext deserialization test

* deserialize using marshmallow and assert error dict
2020-05-11 14:10:14 +03:00
ʈᵃᵢ 24db9ab088
[docs] Add SSL config options for postgres (#9767)
* [docs] add postgres SSL documentation

* move caching section to where it makes more sense
2020-05-10 19:37:13 +01:00
Bogdan 903217f64d
Fix SQL Lab schema permission checks (#9756)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-05-08 14:59:49 -07:00
Bogdan 358bbe0c88
fix: Catch db_engine_spec.get_function_names exceptions (#9691)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-05-08 19:51:00 +01:00
Phillip Kelley-Dotson b6df5da195
fix bug where error at import dashboard fails to show toast in "welcome" app (#9714)
* fix bug where error at import dashboard fails

* fix: make reusable component for messages and bring to app level

* fix: add liscence

* fix: lint errors and tests

* fix

* fix: lint

* fix: lint error

* add suggestions

* add suggestions

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
2020-05-08 10:50:55 -07:00
David Aaron Suddjian 3a213916c4
use the builtin calendar control panel (#9771) 2020-05-07 21:15:03 -07:00
David Aaron Suddjian 8a49c69f38
use word cloud's built in control panel (#9770) 2020-05-07 18:28:48 -07:00
Jesse Yang 13c5b133a9
test(frontend): use absolute path for src imports (#9761)
* test(frontend): use absolute path for src imports

* Upgrade prettier, fix eslint
2020-05-07 14:18:10 -07:00
ʈᵃᵢ 6237cea952
[docs] add postgres documentation (#9766) 2020-05-07 12:17:37 -07:00
Ville Brofeldt 5b430ead42
fix: implement force refresh in chart data request (#9762)
* fix: implement force refresh in chart data request

* unrelated lint
2020-05-07 09:33:41 -07:00
David Aaron Suddjian 80f8349018
Query the new chart data api for charts that support it (#9710)
* calling new chart api (mostly working)

* can't .then when the promise has already been await-ed

* Add handling for v1 API response

* comment

* update word cloud plugin & dependencies

* testing

* try just waiting

* Revert "try just waiting"

This reverts commit 10c092effd.

* tweaking bootstrap types

* Bumping word cloud package version

* new package lock

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-05-07 01:09:28 -07:00
Evan Rusackas b93bf05bbd
fix: removing controls from incubator-superset that are now in the plugin (#9758) 2020-05-06 17:29:49 -07:00
Krist Wongsuphasawat 52de32b9d7
build: bump superset-ui to 0.13 (#9757)
* chore: bump superset-ui

* build: bump superset-ui to 0.13

* docs: remove comment
2020-05-06 15:44:18 -07:00
kxu d59e50ff1f
Update README.md (#9731)
* Update README.md

Update and reorganize README to make it easier to navigate and use for community visitors.

* Update README.md
2020-05-06 11:55:20 -07:00
Erik Ritter 4b6681bc19
Revert "FilterBox,BigNumber,WorldMap: Handle empty results (#9671)" (#9755)
This reverts commit 865a909690.
2020-05-06 11:28:03 -07:00
Grace Guo 83b4165e61
[perf logging] Add extra logging for new/editMode dash (#9745)
* [perf logging] Add extra logging for new/editMode dash

* fix review comments
2020-05-06 09:03:04 -07:00
Maxime Beauchemin 9aabafe9fe
fix: adhoc filter 'equals' doesn't let you save (#9652)
When altering a filter, when using `equals` or `does not equals`,
the save button is disabled even when it should be enalbed.
2020-05-06 08:38:10 -07:00
Bogdan 292704fec9
Use monospace (#9709)
Update superset-frontend/src/SqlLab/main.less

Co-authored-by: Evan Rusackas <evan@preset.io>

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-05-06 08:37:16 -07:00
Ville Brofeldt 5485eb993c
feat: Add controlGroups to formData (#9740) 2020-05-06 14:53:13 +03:00
Daniel Vaz Gaspar 453806fc4c
perf(dataset): improve performance on get list (#9739) 2020-05-06 11:48:32 +01:00
Ville Brofeldt 763f3529d2
fix: Add force flag to QueryContext schema (#9749)
* fix: Add force flag to QueryContext schema

* Fix comment

* Remove unnecessary required=Falses
2020-05-06 13:27:53 +03:00
Maxime Beauchemin 67d8b634b8
fix: autocomplete search in AdhocFilter operator dropdown (#9654)
Searching for 'equ' in AdhocFilter's operator dropdown doesn't find the
options who's label contain that substring.

I'd write a unit test but it's pretty tricky.
2020-05-05 21:43:33 -07:00
Erik Ritter eee6280780
fix: re-add all time grain options to the new chart API (#9744) 2020-05-05 18:03:11 -07:00
Erik Ritter 821e7e53a9
chore: update README screenshots (#9728) 2020-05-05 13:02:10 -07:00
Grace Guo 0b963bdbb6
[perf logging] Add timing event when browser tab is hidden (#9733)
* [perf logging] Add timing event when browser tab is hidden

* fix review comment
2020-05-05 10:17:22 -07:00
David Aaron Suddjian d65d29c810
fix: css prop is now overwhelmed with emotion (#9742) 2020-05-05 10:10:56 -07:00
Daniel Vaz Gaspar 0d85d25314
docs(api): improve openapi documentation for dash, charts and queries (#9724) 2020-05-05 14:42:18 +01:00
Daniel Vaz Gaspar 911f117673
fix(dependencies): Bump FAB to 2.3.4 (#9703) 2020-05-05 14:41:04 +01:00
Daniel Vaz Gaspar d373cc8074
perf(dashboards): improve API performance for dashboards (#9704) 2020-05-05 14:30:24 +01:00
Bogdan 11972ed60d
Fix bad test (#9735)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-05-04 23:52:18 -07:00
Luca Toscano 865a909690
FilterBox,BigNumber,WorldMap: Handle empty results (#9671)
This change avoids Pandas errors to pop up in chart when no data
is returned (confusing users). In this way a nicer
"No Results etc.." is returned.
2020-05-04 11:03:23 -07:00
ʈᵃᵢ 4c522ac65f
[sqllab] fix, strip comments before parsing statements (#9692) 2020-05-04 19:47:29 +03:00
serenajiang 5d167afb94
[hive][csv upload] make INTs BIGINTs (#9716) 2020-05-03 09:28:31 -07:00
Erik Ritter 7f496668cb
feat: add logging to warm_up_cache endpoint (#9712) 2020-05-01 18:01:38 -07:00
Bogdan 858082f975
Fix email reports (#9695)
* Fix email reports

* Address comments and inherit from str

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-05-01 07:42:58 -07:00
David Aaron Suddjian 9d3da79c4b
migrate bignumber to use builtin controls (#9707)
* migrate bignumber to use builtin controls

* install @babel/compat-data
2020-04-30 19:27:44 -07:00
Grace Guo 43eec67291
[table editor] hide Edit Datasource option when no onDatasourceSave (#9706)
* [table editor] hide Edit Datasource option when no onDatasourceSave

* add !! operator to get truthiness
2020-04-30 17:32:01 -07:00
Erik Ritter 5fb883e279
chore(ts): type getClientErrorObject (#9693) 2020-04-30 17:03:31 -07:00
Ville Brofeldt aad8209922
chore: Bump PyArrow to latest stable version (#9696) 2020-04-30 22:34:27 +03:00
Craig Rueda e24e6ca571
[Helm] - Allow for customization of release name (#9694)
* Updated configurations to allow for more customization

* Adding gitignore for requirements.lock

* Moving Helm chart up a level

* Adding bootstrap script / switching image

* Adding bootstrap script / switching image
2020-04-30 10:55:43 -07:00
Daniel Vaz Gaspar 2b59075d57
tests(engine_specs): full bigquery engine coverage (#9702) 2020-04-30 18:31:15 +01:00
John Bodley a908813f89
fix(security) Fixing regression in #9689 (#9705)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-04-30 10:22:03 -07:00
Daniel Vaz Gaspar 48ef619618
perf(charts): improve performance on GET list (#9619) 2020-04-30 17:15:48 +01:00
Erik Ritter e95af7f783
fix: migrate all slices off the old time grain format (#9684) 2020-04-30 08:38:13 -07:00
John Bodley 3b0f8e9c8a
[sql] Adding lighweight Table class (#9649)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-04-30 08:38:02 -07:00
ʈᵃᵢ f7f60cc75d
[Chart & Dashboard] improve listview filter ui and add expandable list support (#9651)
* better styling for select filters and search input

* add emotion babel plugin

* add spec for search input

* fix async select, add beeter error messages

* add error boundary around views

* cleanup and lint

* add expandable list to dashboards

* fix emotion babel config

* fix specs

* remove commented out code

* add selected style

* DRY up styles

* add icons

* fix type

* add apache license

* fix svgs

* fix ExpandableList type

* reduce custom css

* lint
2020-04-29 21:54:07 -07:00