Commit Graph

11770 Commits

Author SHA1 Message Date
Yongjie Zhao 9fad26fa19
fix: suppress translation warning in jest (#20404) 2022-06-21 20:38:58 +08:00
Yongjie Zhao 8bbbd6f03f
fix: should raise exception when apply a categorical axis (#20451) 2022-06-21 20:37:51 +08:00
Diego Medina 93774d1860
fix: table viz sort icon bottom aligned (#20447) 2022-06-21 09:10:37 -03:00
Daniel Vaz Gaspar ba4ba0267e
fix: RLS new db migration downgrade fails on SQLite (#20449) 2022-06-21 13:07:23 +01:00
Hugh A. Miles II e3e37cb68f
chore: switching out ConnectorRegistry references for DatasourceDAO (#20380)
* rename and move dao file

* Update dao.py

* add cachekey

* Update __init__.py

* change reference in query context test

* add utils ref

* more ref changes

* add helpers

* add todo in dashboard.py

* add cachekey

* circular import error in dar.py

* push rest of refs

* fix linting

* fix more linting

* update enum

* remove references for connector registry

* big reafctor

* take value

* fix

* test to see if removing value works

* delete connectregistry

* address concerns

* address comments

* fix merge conflicts

* address concern II

* address concern II

* fix test

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-06-21 13:22:39 +02:00
Yongjie Zhao c79b0d62d0
refactor: create echarts query section (#20445) 2022-06-21 11:38:07 +08:00
Samira El Aabidi 68af5980ea
feat(chart): Enable caching per user when user impersonation is enabled (#20114)
* add username to extra cache keys when impersonation is enabled.

* don't put effective_user in extra_cache_key

* get_impersonation_key method in engine_spec class  to construct an impersonation key

* pass datasource when creating query objects

* adding an impersonation key when construction cache key

* add feature flag to control caching per user

* revert changes

* make precommit and pylint happy

* pass a User instance

* remove unnecessary import
2022-06-20 18:14:08 -07:00
Sam Firke b7eb235440
style(typo): occured -> occurred (#20116)
* Occured -> Occurred

* Occured -> Occurred

* Occured -> Occurred

* Occured - > Occurred

* Update FallbackComponent.tsx

* Update FallbackComponent.tsx

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-06-20 08:49:45 -07:00
Yongjie Zhao 111affdb02
chore: move xaxis to superset-ui (#20438) 2022-06-20 22:36:27 +08:00
Daniel Vaz Gaspar 60eb1094a4
feat: add name, description and non null tables to RLS (#20432)
* feat: add name, description and non null tables to RLS

* add validation

* add and fix tests

* fix sqlite migration

* improve default value for name
2022-06-20 13:52:05 +01:00
John Bodley 8b0bee5e8b
[fbprophet] Fix frequencies (#20326) 2022-06-19 21:53:09 -07:00
Simon Thelin 8b7262fa90
fix(20428): Address-Presto/Trino-Poll-Issue-Refactor (#20434)
* fix(20428)-Address-Presto/Trino-Poll-Issue-Refacto
r

Update linter

* Update to only use BaseEngineSpec handle_cursor

* Fix CI

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-06-19 16:28:59 -07:00
Diego Medina c2f01a676c
fix(dashboard): new created chart did not have high lighted effect when using the permalink of chart share in dashboard (#20411) 2022-06-19 08:17:06 -06:00
Lily Kuang ab9f72f1a1
fix(embedded): CSV download for chart (#20261)
* move postForm to superset client

* lint

* fix lint

* fix type

* update tests

* add tests

* add test for form submit

* add test for request form

* lint

* fix test

* fix tests

* more tests

* more tests

* test

* lint

* more test for postForm

* lint

* Update superset-frontend/packages/superset-ui-core/test/connection/SupersetClientClass.test.ts

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* update tests

* remove useless test

* make test cover happy

* make test cover happy

* make test cover happy

* make codecov happy

* make codecov happy

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-06-17 20:01:08 -07:00
Lily Kuang f53018c7c5
feat(embedded): enforce allow domains (#20251)
* feat(embedded): enforce allow domains

* check referrer in view

* remove frontend check
2022-06-17 12:57:51 -07:00
Cody Leff 9f74fb7a84
Skip flaky Cypress test. (#20417) 2022-06-17 10:24:58 -06:00
Neeraj-2307 a807290e3d
docs: Added details to Druid connection string (#20264)
* Added details to Druid connection string 

While linking Superset to Druid the correct connection string is very important however in the docs it is not well explained , so I added a little description to it

* Update druid.mdx
2022-06-17 10:55:41 -04:00
jiAng f6f93aad37
fix(cosmetic): cannot find m-r-10 class in superset.less (#20276)
* fix(cosmetic): cannot find m-r-10 class in superset.less

* fix: remove .m-r-10 class and use emotion instead

* Update superset-frontend/src/components/Datasource/CollectionTable.tsx

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

* Update superset-frontend/src/components/Datasource/DatasourceEditor.jsx

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>
2022-06-17 08:54:27 -03:00
Stephen Liu fa7f144a68
fix: rm eslint-plugin-translation-vars engine requirement (#20420) 2022-06-17 14:29:57 +08:00
Stephen Liu b32288fddf
fix(bar-chart-v2): remove marker from bar chart V2 (#20409) 2022-06-17 10:52:26 +08:00
mohittt8 41bbf62e58
fix(presto): use correct timespec for presto (#20333) 2022-06-16 16:43:17 -07:00
Beto Dealmeida 998624b1a5
feat: allow setting db UUID (#20412)
* WIP

* feat: allow passing UUID when creating a DB

* Test

* Fix field
2022-06-16 15:53:59 -07:00
Elizabeth Thompson 12436e47c9
fix key error on permalink fetch for old permalinks (#20414) 2022-06-16 15:51:17 -07:00
Cody Leff fadf0ec5ad
Update documentation on updating documentation. (#20400) 2022-06-16 15:05:37 -06:00
Smart-Codi a8a6b732e9
adding extra metrics after chart configuration (#20410) 2022-06-16 12:55:14 -06:00
Cody Leff 467d8ef89e
docs: add Matomo tracking to docs (#20398)
* Apply Prettier formatting.

* Add Matomo script to Docusaurus config.

* Add Apache license to Matomo script.
2022-06-16 10:18:59 -06:00
chuancy 11d94ce56c
Chinese translation and English translation do not match (#20405) 2022-06-16 11:27:53 -03:00
Kamil Gabryjelski c959d92dd1
feat(plugin-chart-echarts): Support stacking negative and positive values (#20408) 2022-06-16 13:58:58 +02:00
Stephen Liu 1665403484
fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work (#20396)
* fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work

* fix: test
2022-06-16 12:22:09 +08:00
Elizabeth Thompson ccba5b2f69
chore: add action to welcome new users (#20401)
* add action to welcome new users

* fix typo
2022-06-15 16:27:55 -07:00
Reese 498987a1a0
Prevent dataset edit modal closing on click-away in edit mode (#20278) 2022-06-15 14:28:13 -06:00
Atticus White 1882c6d5cc
Remove cache warming documentation (#20269)
The cache warming strategies perform unauthorized `GET` requests that are redirected to the login page #9597
2022-06-15 12:38:30 -07:00
Michael S. Molina d6f9fb5af1
chore: Removes unused vars (#20194)
* chore: Removes unused vars

* Fixes lint

* Disables no-unused-vars for the operators
2022-06-15 11:01:45 -03:00
Yongjie Zhao 0a50a9b380
feat: setting limit value when Pie chart switches (#20392) 2022-06-15 21:49:00 +08:00
Yongjie Zhao 7c252d7524
feat: adding truncate metric control on timeseries charts (#20373) 2022-06-15 20:55:10 +08:00
smileydev df8bb46ee2
fix(fonts): Show the all the A's in our workspace correctly, not funky (#20361)
* fix(fonts): make to fix the issue of broking the Inter font char A

* fix(css & fonts): make to install from npmjs.org
2022-06-15 00:28:54 -06:00
Diego Medina 3fe53f735e
fix: Unable to export multiple Dashboards with the same name (#20383) 2022-06-15 00:27:24 -06:00
Diego Medina ead10401e7
fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button (#20363)
* fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button

* PR comments
2022-06-14 17:47:37 -06:00
Phillip Kelley-Dotson 160e674b90
fix: update connection modal to use existing catalog (#20372)
* fix: update connection modal to use existing catalog

* remove console
2022-06-14 15:10:01 -04:00
Kamil Gabryjelski 86f146e217
feat(explore): Implement viz switcher redesign (#20248)
* add icons

* Implement fast viz switcher component

* Remove unnecessary keys from ControlsPanelContainer

* Rename icons

* Add unit tests

* Add licenses

* Fix test

* Change BigNumberWithTrendline to BigNumber

* fix test

* fix test

* Add currently rendered viz tile

* Move View all charts to the right side

* Add license

* Fix imports

* Fix e2e test
2022-06-14 15:20:54 +02:00
John Bodley c3fdd52697
fix(VERSIONED_EXPORTS): Ensure dashboards and charts adher to the VERSIONED_EXPORTS feature flag (#20368)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-13 18:39:15 -07:00
Elizabeth Thompson 5a137820d0
fix: catch some potential errors on dual write (#20351)
* catch some potential errors on dual write

* fix test for sqlite
2022-06-13 17:30:13 -07:00
Diego Medina e1532f63ac
fix: query execution time is not fully displayed in bubble icon (#20364) 2022-06-13 14:30:00 -06:00
Smart-Codi ee06d3d113
Fix typo issue in Error handling message (#20365) 2022-06-13 14:29:18 -06:00
Elizabeth Thompson c6b1523db5
add breaking change information about form_data datasource_type (#20321) 2022-06-13 11:48:22 -07:00
Michael S. Molina cb2ffa530f
chore: Removes no-use-before-define warnings (#20298) 2022-06-13 07:44:34 -03:00
Diego Medina 8345eb4644
fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button (#19967)
* fix: A newly connected database doesn't appear in the databases list if user connected database using the 'plus' button

* include onDatabaseAdd on successful import
2022-06-12 22:21:30 +08:00
Multazim Deshmukh 86368dd406
fix(docker): Make Gunicorn Keepalive Adjustable (#20348)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
2022-06-10 13:04:39 -07:00
Reese 11b33de61b
feat(api): Added "kind" to dataset/<pk> endpoint (#20113) 2022-06-10 13:03:48 -07:00
Josh Paulin 1918dc0455
fix: Add serviceAccountName to celerybeat pods. (#19670)
Co-authored-by: josh.paulin <josh.paulin@wheniwork.com>
2022-06-10 13:03:13 -07:00