Commit Graph

7236 Commits

Author SHA1 Message Date
Hugh A. Miles II
9f53c6c5bc
chore: add success log whenever a connection is working (#13811) 2021-03-29 13:22:09 -04:00
Ville Brofeldt
9fa52b50ed
fix(native-filters): improve loading styles for filter component (#13794)
* fix(native-filters): improve loading styles for filter component

* round up fractional grid unit

* remove LoadingBox
2021-03-29 10:23:01 +03:00
Lily Kuang
18ff484186
chore: update change log with cherry-picks for release 1.1 (#13824)
* add 1.1 cherries to change log

* one more cherry
2021-03-26 15:58:27 -07:00
cccs-jc
24f805ebc4
feat: added support to configure the default explorer viz (#13610)
* added support to configure the default explorer viz

* code review fix

* lint

Co-authored-by: cccs-jc <cccs-jc@cyber.gc.ca>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-03-26 15:27:36 -07:00
Ben Reinhart
55ba47ec2e
fix(#13734): Properly escape special characters in CSV output (#13735)
* fix: Escape csv content during downloads

* Reuse CsvResponse object

* Use correct mimetype for csv responses

* Ensure that headers are also escaped

* Update escaping logic
2021-03-26 15:22:00 -07:00
Cemre Mengu
5842cb1b12
chore(git): ignore superset/app/ folder (#13767)
upload generate this folder in the form of /app/static/uploads
2021-03-26 15:14:14 -07:00
David Aaron Suddjian
db1d598f50
fix(cypress): avoid referencing detached dom nodes (#13825) 2021-03-26 14:46:31 -07:00
David Aaron Suddjian
a45a5e1060
chore(cypress): Make the e2e tests more behavior-driven (#13784)
* chore(cypress): make the load dashboard test behavior driven

* remove bootstrap usage from controls test, + new utils

* fix save test to not use bootstrap dat

* remove bootstrap usage from the filter test

* fix race condition

* remove bootstrap from url params test

* fix lint

* remove unused const

* add chart specs for the tab test

* attempt removing bootstrap data from tabs tests

* fix cypress async/sync confusion

* remove redundant assertions

* attempt fixing tab test

* attempt fixing tabs test

* cleanup commented code

* better aliases so you can tell what they are in the logs

* remove unused imports

* get the line chart alias before clicking the tab

* simplify getChartGridComponent

* wait for all the charts before force refresh

* fix tabs test

* one more time with the tabs test

* another edit to tabs test

* fix flaky test

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-03-26 09:20:13 -07:00
Ville Brofeldt
5ae91e2dd8
feat(rls): enable row level security by default (#13772) 2021-03-26 17:40:41 +02:00
Andreas Eberle
3cfeb43878
Add extraSecrets config to allow specifying extra secret files (#13728) 2021-03-26 08:04:21 -07:00
AAfghahi
b247279ffe
fix: select table overlay (#13694) 2021-03-26 10:39:39 -04:00
AAfghahi
64f967cb2d
refactor: New schedule query button (#13797) 2021-03-26 09:56:59 -04:00
Michael S. Molina
be8f8d9c1f
test: Adds storybook and tests to PopoverDropdown component (#13547)
* test: Adds storybook and tests to PopoverDropdown component

* Changes to use gridUnit and theme hook
2021-03-26 05:29:03 -07:00
Jesse Yang
e61f5a924b
chore(CI): dont run Hive tests on Py 3.7 (#13757) 2021-03-25 23:03:58 -07:00
Bruno Motta
416f188328
test: SelectAsyncControl (#13638)
* SelectAsyncControl tests

* fix: lint error

* applying factory to  props
2021-03-25 22:07:05 -07:00
Bruno Motta
2aedaaa03e
test: DatabaseSelector (#13581)
* Moving DatabaseSelector to a folder

* Tests for DatabaseSelector

* Using factory for props

* Update superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* apply waitFor and remove act

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-25 22:01:13 -07:00
Elizabeth Thompson
086238fb10
feat: sort time grain configs (#13720)
* sort time grain configs

* Fix lint

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-03-25 18:00:52 -07:00
Geido
930cbea2e1
test: Tests, dedicated directory and Storybook for the ProgressBar component (#13534)
* Move to own dir and add storybook

* Add tests
2021-03-25 15:44:00 -07:00
Ben Reinhart
3ad9c910f9
docs: update setup instructions (#13781) 2021-03-25 15:32:15 -07:00
Ben Reinhart
52b5ea33d7
fix: restart superset container in test script (#13780) 2021-03-25 15:31:50 -07:00
Beto Dealmeida
7c23dfc195
fix: bad copy-and-paste in API spec (#13790) 2021-03-25 13:27:39 -07:00
Phillip Kelley-Dotson
3e4c3bddb9
feat(homescreen and cards): Toggle thumbnails off or on and feature flag (#13683) 2021-03-25 13:21:04 -04:00
AAfghahi
1d5c58d005
refactor: SouthPane into functional component (#13676) 2021-03-24 23:00:12 -04:00
Hugh A. Miles II
71ca5aca5b
refactor: Revert "refactor: ScheduleQueryButton into functional component (#134… (#13785)
This reverts commit 2c3d9e9b1e.
2021-03-24 22:50:59 -04:00
Beto Dealmeida
fd63ac3687
chore: Update docs for 1.1 (#13732)
* Update docs for 1.1

* Update CONTRIBUTING.md

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update UPDATING.md

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update UPDATING.md

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update UPDATING.md

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-24 19:23:56 -07:00
AAfghahi
2c3d9e9b1e
refactor: ScheduleQueryButton into functional component (#13443) 2021-03-24 17:46:24 -04:00
Srini Kadamati
7efe5a8485
docs: added release notes for 1.1 (#13777)
* docs: added release notes for 1.1

* fixed link

* incorporated villes excellent feedback
2021-03-24 10:13:47 -07:00
Hugh A. Miles II
3ea2311b87
chore: Update presto.mdx (#13738) 2021-03-24 13:13:22 -04:00
AAfghahi
6137a200a3
test: changing logger.exception to logger.errors in databases api (#13751) 2021-03-24 13:13:10 -04:00
Ville Brofeldt
5a50120f9c
fix(dashboard): rename native filter configuration property (#13769) 2021-03-24 18:47:49 +02:00
Cemre Mengu
ff0c9e93c3
feat: use cross-env when running dev-server (#13743)
* feat: use cross-env when running dev-server

* use cross-env for other inline env vars
2021-03-24 09:19:00 -07:00
Cemre Mengu
c72c5c735b
docs(contributing): fix backend port (#13770)
8080 -> 8088
2021-03-24 09:18:05 -07:00
Yaozong Liu
f18d14a51a
fix(explore): make horizontal scroll appears in data panel (#13566)
* fix(explore): make horizontal scroll appear

* fix(explore): 34px -> 33px

* fix(lint): dataTablesPane lint

* fix(lint): prettier dataTablesPane

* fix(explore): use gridUnit rather than hardcode

Co-authored-by: liuyaozong <liuyaozong@baijiahulian.com>
2021-03-24 17:47:57 +02:00
Jesse Yang
9773aba522
fix(CI): use presto docker image from starburst (#13756) 2021-03-23 20:11:58 -07:00
Bruno Motta
fd7c9eb71e
test: DatasourcePanelDragWrapper (#13627)
* Tests for DatasourcePanelDragWrapper

* Absolute import path
2021-03-23 09:54:06 -07:00
Rob DiCiuccio
452b53092b
feat: Refactor asyncEvent middleware and add websocket support (#13696) 2021-03-23 07:23:23 -07:00
김세환
5b79f84e1b
chore: Improve Korean translation (#13722)
* chore: Improve Korean translation

* chore: Improve Korean translation
* delete wrong end line

* chore: Improve Korean translation
* delete wrong end line
* apply pre-commit
2021-03-22 17:35:54 -07:00
Phillip Kelley-Dotson
bbc306c64f
chore(homepage): separate out api calls to make homepage load more dynamically (#13500)
* separate out api calls

* add new loading states

* remove consoles

* update tests

* fix types and lint

* make code more robust and add test

* address comments

* address comments

* fix lint
2021-03-22 15:10:42 -07:00
Andreas Eberle
54b2bda2b0
Use stringData instead of data in Secrets and remove manual base64 encoding (#13730) 2021-03-22 15:02:06 -07:00
ʈᵃᵢ
3e646799a1
fix(datasets): log create exceptions as warning (#13652) 2021-03-22 14:46:18 -07:00
Jack Fragassi
2deb9c294e
build: implement codecov carryforward flags (#13677)
* Test small config change for carryforward flags

* redo print statement

* newline

* Remove print statement
2021-03-22 14:21:30 -07:00
simcha90
aa92c1e7eb
refactor(native-filters): refactor filter bar (#13723)
* fix: fix removeing native filter

* fix: fix native-cross filters

* fix: fix native-cross filters

* fix: fix native-cross filters

* fix: fix function declaration

* refactor: before pull

* refactor: refactor filter bar

* chore: add lic

* lint: fix lint
2021-03-22 17:03:44 +02:00
Anthony Corletti
6c3bfe80dc
docs: update helm documentation (#12932)
* docs: update helm documentation

* docs: fix for end-of-file-fixer pre-commit-config

* update: bump chart apiVersion to v2 and remove requirements.yaml
2021-03-21 14:32:24 -07:00
Andreas Eberle
daefebb49d
feat: Make initial user configurable in helm chart (#12862)
* Make initial user configurable in helm chart

* Update helm/superset/values.yaml

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>

* Update helm/superset/values.yaml

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>

Co-authored-by: Craig Rueda <craig@craigrueda.com>
Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
2021-03-20 23:23:05 +02:00
Ville Brofeldt
1a67f1564c
fix(cross-filters): only apply filters if ff is set (#13704)
* fix(cross-filters): only apply filters if ff is set

* fix missing parent
2021-03-20 10:56:02 +02:00
Maxime Beauchemin
95a017aa2d
feat: add 'extra' column to saved_queries GET (#13662)
This column contains schedule information when the feature flag
`SCHEDULED_QUERIES` is enabled. Adding it here makes it available
through the REST API.
2021-03-19 21:38:06 +02:00
Grace Guo
fa072cd74e
fix: dashboard filter scope bug (#13695)
* fix: dashboard filter scope bug

* fix comments

* fix function/variables name
2021-03-19 10:39:09 -07:00
Ville Brofeldt
87d1afcc65
fix(cross-filters): expand relevant indicator sections (#13703) 2021-03-19 11:52:03 +02:00
Bruno Motta
375ded92ef
test: usePrevious hook (#13554) 2021-03-18 18:30:50 -07:00
AAfghahi
ebd4a917f7
refactor: Share sql lab query (#13630) 2021-03-18 17:07:24 -04:00