Commit Graph

7395 Commits

Author SHA1 Message Date
Ville Brofeldt
5aef6bccd1 feat(viz): add funnel chart (#14480) 2021-05-05 14:26:12 +08:00
Ben Reinhart
90a72bf8d2 chore: Update WebSocket server code from feedback (#14417) 2021-05-04 22:07:53 -07:00
Erik Ritter
a816655715 fix: dashboard datasources filter None (#14471) 2021-05-04 15:34:38 -07:00
Jesse Yang
23014e9233 chore: upgrade @emotion (#14454) 2021-05-04 15:26:16 -07:00
Michael S. Molina
d138b4407d fix: Ignore database extra fields when saving (#14465) 2021-05-04 20:03:36 +01:00
Elizabeth Thompson
2242f74818 Revert "refactor: split db modal file (#14436)" (#14466)
This reverts commit 2d991ec359.
2021-05-04 14:40:58 -04:00
David Aaron Suddjian
21cf12a480 chore(dashboard): Integrate dashboard app into the SPA bundle (#14356)
* chore(dashboard): Integrate dashboard app into the SPA bundle

* fix url params

* change variable name

* change title correctly

* custom css

* lint

* remove unused file

* remove content assertions from dashboard tests

* fix case with missing bootstrap data

* fix: respect crud views flag

* crud views -> spa

* remove unused dashboard templates

* fix: remove unused variable

* fix: missed a spot with the crudViews -> spa

* router link to dashboard from dashboard list page

* link using the router when in card mode

* lint

* fix tests, add memory router

* remove  dashboard app files

* split up the bundle a little more

* use webpack preload
2021-05-04 08:51:17 -07:00
Amit Miran
158ac302d8 chore: bump table plugin to 0.17.42 (#14460) 2021-05-04 17:41:02 +03:00
simcha90
582900c170 perf(native-filters): Load native filters after charts (#14443)
* fix:fix get permission function

* refactor: filter default value

* refactor: update default value loading

* refactor: apply defaultValues

* lint: fix lint

* lint: fix lint

* test: fix test

* refactor: use extraFormData for reload charts

* feat: load native filters after after charts

* feat: load filters after charts

* fix: revert changes

* test: fix timers

* test: fix tests
2021-05-04 16:07:40 +03:00
Duy Nguyen Hoang
9a22fb00d9 fix: CSV Export permission is not consistent (#13713) 2021-05-04 10:19:58 +03:00
Jesse Yang
a75e4af99b fix(viz): bump superset-ui to fix bugs in table and graph chart (#14438) 2021-05-03 16:23:42 -07:00
Elizabeth Thompson
2d991ec359 refactor: split db modal file (#14436)
* split db modal file

* fix tests
2021-05-03 17:00:41 -04:00
Erik Ritter
e05a70fc82 fix: dashboard changed on calculation (#14450) 2021-05-03 13:55:34 -07:00
ʈᵃᵢ
0b9fd24cf3 fix(logging): log unexpected exceptions as exceptions (#14399) 2021-05-03 12:33:02 -06:00
Ville Brofeldt
2f9efb2e23 add migration (#14446) v2021.18.0 2021-05-03 15:32:48 +03:00
simcha90
bbb1f2d757 perf(native-filters): avoid unnecessary reloading of charts (#14408)
* fix:fix get permission function

* refactor: filter default value

* refactor: update default value loading

* refactor: apply defaultValues

* lint: fix lint

* lint: fix lint

* test: fix test

* refactor: use extraFormData for reload charts

* test: fix tests

* test: fix tests

* test: fix tests
2021-05-03 14:56:41 +03:00
simcha90
abbf4bf05a refactor(native-filters): allow cascading only for filter_select (#14441)
* fix:fix get permission function

* refactor: allow cascading only for filter_select
2021-05-02 13:16:10 +03:00
simcha90
1f8de1d06c test(maximize-chart): Add tests to maximize chart action (#14371)
* fixed FullSize charts broken #13600

* Update ChartHolder.jsx

* fix:fix get permission function

* test: adding tests to full screen

* lint: fix lint

* fix: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

Co-authored-by: toop <mytoop@163.com>
2021-05-02 09:27:38 +03:00
AAfghahi
7466595563 fix: fixing mysql error message (#14416)
* fixing mysql error message

* Update tests/db_engine_specs/mysql_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update tests/db_engine_specs/mysql_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update tests/db_engine_specs/mysql_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/db_engine_specs/mysql.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* fixed broken test

* changed error type

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-30 15:15:37 -07:00
AAfghahi
e507508b48 feat: Logic added to limiting factor column in Query model (#13521)
* Sqllab limit

* Add migration script

* Set default values

* initial push

* revisions

* Update superset/views/core.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* moving migration to separate PR

* with migration

* revisions

* Fix apply_limit_to_sql

* all but tests

* added unit tests

* revisions

* Update superset/sql_lab.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/sql_parse.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* fixed black issue

* Update superset/views/core.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* updated logic

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-30 15:15:18 -07:00
Hugh A. Miles II
efcdc8cb9b change relationship (#14435) 2021-04-30 17:27:05 -04:00
Daniel Vaz Gaspar
b4e527a8c4 fix: bootstrap data permissions (#14348) 2021-04-30 12:02:01 -06:00
Sam Faber-Manning
b147fa84e2 fix: parse simple string error message values (#14360)
* fix parsing error messages that are formatted as single strings

* fix other instances of error typing
2021-04-30 09:30:53 -07:00
Sam Faber-Manning
11260b3117 chore: add stack trace to all calls of logger.error (#14382) 2021-04-30 09:22:05 -07:00
Srini Kadamati
13cfc421d5 update README with new docs and recordings (#14432) 2021-04-30 11:59:08 -04:00
Jagadish
9097c29d39 Renamed impyla from implya in impala.mdx and Renamed PIP package impyla from impala in index.mdx (#14425) 2021-04-30 19:51:32 +08:00
Ville Brofeldt
319125ec3b fix(native-filters): fix filter scope error (#14426) 2021-04-30 12:20:02 +03:00
AAfghahi
982a91ee62 feat: Adding limiting_factor column to Query model (#14234)
* add limiting factor to query model

* varchar instead of enum
2021-04-29 14:37:22 -07:00
Erik Ritter
bc47bc8f66 feat: Add etag caching to dashboard APIs (#14357) 2021-04-29 14:14:26 -07:00
Michael S. Molina
a52ff13b5d chore: Moves Card to the components folder (#14139) 2021-04-29 11:51:41 -07:00
Geido
545e257537 feat: Dynamic imports for the Icons component (#14318)
* Add aria-label and twotone

* Enhance LazyIcon

* Fix tests and solve ject warnings

* Add new line

* Revert package-lock to master

* Fix failing test

* Implement icon overrides

* Fix failing storybook

* Clean up

* Improve var name
2021-04-29 11:49:39 -07:00
Ben Reinhart
a2831382a9 feat: Support env vars configuration for WebSocket server (#14398) 2021-04-29 09:37:57 -07:00
Daniel Vaz Gaspar
6541a03d0b fix: SQLLab role permissions (#14372)
* fix: SQLLab role permissions

* add missing perm

* fix tests

* fix security test

* fix security test

* fix tests
2021-04-29 15:58:08 +01:00
Ville Brofeldt
1c16261651 fix(native-filters): always show filters without dataset (#14409) 2021-04-29 14:25:39 +03:00
eriendeng
2dc3fa3f21 fix error getting partitionQuery from table.partition (#14369)
Co-authored-by: eriendeng <eriendeng@tencent.com>
2021-04-29 10:42:11 +03:00
Michael S. Molina
1d6a746a09 refactor: Boostrap to AntD - Tabs (#14048) 2021-04-28 23:49:50 -07:00
Ville Brofeldt
4410fd047e fix(native-filters): default value not populated on second opening (#14401) 2021-04-29 09:09:47 +03:00
Michael S. Molina
b38aadf9e4 chore: Moves the branding folder to the assets folder (#14166) 2021-04-28 22:17:21 -07:00
Ben Reinhart
e7f5100833 fix: Fix unintended cache misses with async queries (#14291)
* bug: Fix unintended cache misses with async queries

* Ensure sort order

* Ensure columns are sorted

* Update failing tests
2021-04-28 12:14:55 -07:00
Srini Kadamati
b78b7b3fad docs: improved clickhouse connection details (#14394)
* docs: multiple small fixes around databases

* add link to postgres SSL options

* docs: added more Clickhouse connection details

* minor tweak
2021-04-28 13:06:49 -04:00
Ville Brofeldt
183b5ae362 fix(sqllab): fix error due to anonymous user (#14390) 2021-04-28 19:57:45 +03:00
Srini Kadamati
bbdb4ee24f docs: multiple small fixes around databases (#14321)
* docs: multiple small fixes around databases

* add link to postgres SSL options
2021-04-28 10:30:28 -04:00
Ville Brofeldt
43ee52be57 fix(native-filters): force update control value on change (#14385)
* fix(native-filters): force update control value on change

* fix test
2021-04-28 11:41:22 +03:00
simcha90
fc0c1155c2 fix(native-filters): fix lint (#14387)
* fix:fix get permission function

* lint: fix types
2021-04-28 10:16:21 +03:00
simcha90
2486fd4f6d feat(native-filters): Show/Hide filter bar by metdata ff (#14261)
* fix:fix get permission function

* feat: hide native filters by metadata

* fix: fix show_native_filters name

* fix: metadata

* chore: add migration to hide native_filters in all existing dashboards

* chore: fix pre-commit

* fix: make migration migration dashboard with filter_box only

* fix: pre-commit

* feat: hide filter bar if no permission edit and no filters

* fix: remove migration

Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-04-28 07:49:03 +03:00
John Bodley
d8bb2d3e62 refactor(db_engine_specs): Removing top-level import of app (#14366)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-04-28 15:47:32 +12:00
Aakash Nand
77d17152bc Update trino connection docs (#14219) 2021-04-27 19:51:00 -04:00
ʈᵃᵢ
86d2a616c1 fix(emotion): add separate namespace for menu app (#14362) 2021-04-27 15:53:55 -06:00
Evan Rusackas
8e6803f65f chore: Bumping lodash version in Superset (#14203)
* Bumping lodash in main package

* new package lock with updated lodash
2021-04-27 14:54:56 -06:00
Hugh A. Miles II
44c09b5383 feat: Setup supersetText configuration to overwrite errors (#14256)
* Setup error message overwrite config`

* fix

* bad reabse

* bad rebase 2

* remove unneeded comment

* working dynamic importing

* saveeee

* working textUtil file

* add ignore tslint

* fix linting

* fix linting

* import order

* setup guard statements

* linting again

* linting again

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-04-27 15:03:35 -04:00