Commit Graph
11934 Commits
Author SHA1 Message Date
19247cc92a Fixes datatable crash when dimension is empty (#20680)
Fixes #20679

Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2022-07-13 14:54:33 +08:00
Cody LeffandGitHub b1020e3062 chore(explore): Update chart save to use API endpoints (#20498)
* Update SaveModal to use v1 API instead of POST /explore.

* Refactor SaveModal tests and remove obsolete ones.

* Fix redirect to /explore on save.

* Add toasts (but they don't work).

* Move logic inside try block, clarify unary-plus use.

* Add tests.

* Fix owners bug in updateSlice, enable navigation to dashboard w/o reload.

* Fix toasts.

* Fix translated strings.

* Fix unintended removal from dashboard bug.

* Fix native filters bug.

* Don't refresh Explore page after saving

* Use JSON payload shorthand.

* Prevent current dashboards being overwritten on viz type change.
2022-07-13 06:36:31 +02:00
Jesse YangandGitHub c3ac61271a feat(dashboard): make permalink deterministic (#20632) 2022-07-12 16:33:18 -07:00
Kamil GabryjelskiandGitHub 5317462b49 Revert "feat: Reuse Dashboard redux data in Explore (#20668)" (#20689)
This reverts commit ff5b4bc0e4.
2022-07-12 16:48:08 -03:00
Kamil GabryjelskiandGitHub ff5b4bc0e4 feat: Reuse Dashboard redux data in Explore (#20668) 2022-07-12 19:17:25 +02:00
Phillip Kelley-DotsonandGitHub c795dc23b9 feat: have user go to explore after dataset creation (#19965)
* feat: have user go to explore after dataset creation

* change flow to create chart

* fix lint

* update with suggestions and add store for toasts

* fix ts

* fix test

* lint
2022-07-12 09:11:31 -07:00
Yongjie ZhaoandGitHub 8d4994a899 fix: superset-ui/core code coverage (#20676) 2022-07-12 13:34:27 +08:00
wiktor2200andGitHub d4b59ff1ea chore(docs): custom and built-in event logging class at the same time (#20098)
* chore: custom and built-in event logging class at the same time

* fix whitespaces

* Update Event Logging docs
2022-07-12 08:30:44 +03:00
Yongjie ZhaoandGitHub 7f918a4ec0 fix: annotation broken (#20651)
* fix: annotation broken

* fix UT

* add annotation data to mixed timeseries chart
2022-07-11 16:23:57 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6ee9be203a chore(deps-dev): bump jsdom from 16.4.0 to 20.0.0 in /superset-frontend (#20649)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:46 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9484600b9a chore(deps): bump moment from 2.29.2 to 2.29.4 in /superset-frontend (#20644)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:22 -06:00
Milosz BednarzakandGitHub ae306d6d1f feat(HelmChart): Add securityContext on pod level (#20666)
* feat(HelmChart): securityContext - container level

* build(helmchart): bump chart to 0.6.5
superset-helm-chart-0.6.5
2022-07-11 08:30:17 -07:00
wiktor2200andGitHub 0a316a8ed3 chore(docs): feature flags setting is misleading in docs (#20622) 2022-07-11 08:43:13 -03:00
Diego MedinaandGitHub c29261b63d fix: X Axis should be called Y Axis when using the Bar Chart V2 on Horizontal mode (#20659) 2022-07-09 12:36:16 +08:00
John BodleyandGitHub 542fdb23bb docs: Remove unnecessary line item (#20657) 2022-07-09 10:02:25 +08:00
Elizabeth ThompsonandGitHub c2be54c335 fix: pandas bug when data is blank on post-processing (#20629)
* fix pandas bug when data is blank on post-processing

* account for multiple queries when data is blank
2022-07-08 16:33:53 -07:00
Jack FragassiandGitHub dfab521f50 fix(embedded): Ensure guest token is passed to log endpoint (#20647)
* Pass guest token to sendBeacon

* Add tests
2022-07-08 15:17:01 -07:00
Phillip Kelley-DotsonandGitHub e1a918f141 fix: enable admin to edit dataset in explore (#20613)
* add conditional

* add test

* fix lint
2022-07-08 11:22:45 -07:00
AAfghahiandGitHub 0ce0c6e1eb chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql

* removing having_druid

* addressing comments, linting

* fixed all tests

* addressing comments

* redirected to ui-core TimeGranularity type

* query form metric linting

* fixed broken chart type

* implementing feedback
2022-07-08 17:57:03 +02:00
9856d88c03 feat(handlebars plugin): adding handlebars helpers for common math operations (#20648)
* feat(plugin-chart-handlebars): add common helpers

* add import

* add declare module

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-07-08 08:10:29 -06:00
Yongjie ZhaoandGitHub 4e6e87f62e feat: Area viz migration (#20359) 2022-07-08 19:56:03 +08:00
Antonio Rivero MartinezandGitHub e33164024a Database Modal: (#20637)
- Since our DatabaseConnectionForm is wrapped in a AntD Form, we need to ensure our custom design is applied in the upload input instead of AntD default one for file input type=file.
2022-07-07 14:49:56 -06:00
cccs-RyanKandGitHub 1109fe5fb7 chore: Split Select component into Async and Sync components (#20466)
* Created AsyncSelect Component
Changed files to reference AsyncSelect if needed

* modified import of AsyncSelect, removed async tests and prefixes from select tests

* fixed various import and lint warnings

* fixing lint errors

* fixed frontend test errors

* fixed alertreportmodel tests

* removed accidental import

* fixed lint errors

* updated async select
2022-07-07 15:51:37 -03:00
6132d78efb docs: add WikiMedia Foundation to users list (#20578)
* Add WikiMedia to INTHEWILD.md

* docs: add WikiMedia Foundation to users list

Co-authored-by: ʈᵃᵢ <tai@apache.org>

Co-authored-by: ʈᵃᵢ <tai@apache.org>
2022-07-07 12:45:41 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ae8c9319a6 chore(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#20643)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:41:59 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30c1631350 chore(deps): bump got in /superset-frontend/cypress-base (#20469)
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:35:13 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c91c5643c4 chore(deps): bump parse-url from 6.0.0 to 6.0.2 in /superset-frontend (#20614)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:12:31 -06:00
f0ca158989 fix: Refactor ownership checks and ensure consistency (#20499)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-07 11:04:27 -07:00
Smart-CodiandGitHub e7b965a3b2 fix: Bad date type in email text report for table chart (#20119)
* fix bad date type in email text report for table chart

* fix test, pylint issue

* add test case for date type
2022-07-07 11:31:50 -06:00
Smart-CodiandGitHub 962252030b fix: Add database search in available charts on dashboard. (#19244)
* add database search

* resolve lint issue

* add test for sliceEntities actions

* fix lint issue

* add licence into test

* fix pipeline broken

* fix sort by recent

* resolve comment
2022-07-07 11:24:47 -06:00
Daniel Vaz GasparandGitHub 4bfa622d02 fix: migration revisions from #19532 (#20641) 2022-07-07 15:33:11 +01:00
Daniel Vaz GasparandGitHub 3b4924f0b0 docs: small fixes for OAuth (#20640) 2022-07-07 15:01:36 +01:00
Yongjie ZhaoandGitHub 7626c31372 feat: TreeMap migration (#20346) 2022-07-07 19:37:18 +08:00
Kamil GabryjelskiandGitHub de4f7db57e feat(dashboard): Transition to Explore with React Router (#20606)
* feat(dashboard): Use react-router for transition to Explore + cmd click to open in new tab

* Update tooltip

* Add a feature flag

* Update edit chart onclick event

* Fix lint

* Fix tests

* Change feature flag name

* Add tooltip to Edit chart
2022-07-07 11:52:03 +02:00
Yongjie ZhaoandGitHub 34e1336bca fix: controls validator glitch (#20623) 2022-07-07 17:21:14 +08:00
Eugene BikkininandGitHub d16f274991 feat(database): Add user_id and dttm composite index to Log model. (#19532)
* feat: Added user_id and dttm composite index to Log model.

* fix: Refactored migration to a general view.

* fix: Changed down revision.

* fix: Formatted with black.

* fix: Removed odd Index import.
2022-07-06 22:24:44 -06:00
stevetracvcandGitHub 7e504ff680 feat: truncate long values in table viz, a per-column setting (#19383)
* feat: truncate long values, a per-column setting

* fix: lint

* fix: removed width for column control

* fix: removed truncate option for time, bool, and numeric columns

* prevent extra div if not truncating
2022-07-06 22:16:48 -06:00
Diego MedinaandGitHub ac01a1b02f chore: Set table viz default row limit to 1000 (#20475) 2022-07-06 22:09:23 -06:00
Yongjie ZhaoandGitHub 414cc99ca2 fix: datetime.data in series (#20618) 2022-07-07 09:33:44 +08:00
smileydevandGitHub c992ff3be4 fix(import): Show the error message with db install guide when exist the importing db issue (#20573)
* fix(import): make to update the error display when importing resurce

* fix(import): make to update the error message
2022-07-06 13:51:42 -06:00
David Aaron SuddjianandGitHub db088e9e2f chore: rename "uiOverrideRegistry" -> "extensionsRegistry" (#20628)
* uiOverrideRegistry -> extensionsRegistry

* better comments

* missed a spot

* missed another spot

* url
2022-07-06 11:35:19 -07:00
ReeseandGitHub f9109583ce fix: Allow dataset owners to explore their datasets (#20382)
* fix: Allow dataset owners to explore their datasets

* Re-order imports

* Give owners security manager permissions to their datasets

* Update test suite

* Add SqlaTable to is_owner types

* Add owners to datasource mock

* Fix VSCode import error

* Fix merge error
2022-07-06 11:27:50 -03:00
Daniel Vaz GasparandGitHub b39a3d8f78 docs: fix link for Apache Superset source code (#20620) 2022-07-06 13:49:39 +01:00
Daniel Vaz GasparandGitHub 183871b002 chore: bump FAB to 4.1.3 (#20621) 2022-07-06 12:55:24 +01:00
Daniel Vaz GasparandGitHub f38dd1d42d feat: add hooks on set_perm for new data permissions (#20600)
* feat: add hooks on set_perm for new data permissions

* fix lint
2022-07-06 09:54:18 +01:00
818962cc89 fix(embedded): Retry when executing alert queries to avoid sending transient errors to users as alert failure notifications (#20419)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-07-05 13:23:05 -07:00
662bab1e6d feat: Renders Explore in SPA (#20572)
* feat: Renders Explore in SPA

* Adds permalink support

* Replaces navigation from Welcome page

* Fix initializing feature flags

* Remove redundant import

* Adds saveSlice workaround

* Fixes paths

* Fixes lint error

* Fixes tests

* Fix url to explore from Datasets view

* Fix explore page height

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-05 16:58:09 -03:00
Milosz BednarzakandGitHub 1a806687fc feat(HelmChart): Configurable securityContext in Pods (#20509)
* feat(Helm Chart): add customizable securityContext

* build(Helm Chart): bump Chart to 0.6.4

* feat(Helm Chart): add support for securityContext
superset-helm-chart-0.6.4
2022-07-05 12:14:35 -07:00
94b3d2f0f0 refactor: Deprecate ensure_user_is_set in favor of override_user (#20502)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:57:40 -07:00
ad308fbde2 chore(rls): Remove passing global username (#20344)
* chore(rls): Remove passing global username

* Update manager.py

* Update manager.py

* Update manager.py

* Update manager.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:51:24 -07:00