Jack Fragassi
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-Dotson
e1a918f141
fix: enable admin to edit dataset in explore ( #20613 )
...
* add conditional
* add test
* fix lint
2022-07-08 11:22:45 -07:00
AAfghahi
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
Evan Rusackas
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 Zhao
4e6e87f62e
feat: Area viz migration ( #20359 )
2022-07-08 19:56:03 +08:00
Antonio Rivero Martinez
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-RyanK
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]
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]
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]
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
John Bodley
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-Codi
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-Codi
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 Gaspar
4bfa622d02
fix: migration revisions from #19532 ( #20641 )
2022-07-07 15:33:11 +01:00
Daniel Vaz Gaspar
3b4924f0b0
docs: small fixes for OAuth ( #20640 )
2022-07-07 15:01:36 +01:00
Yongjie Zhao
7626c31372
feat: TreeMap migration ( #20346 )
2022-07-07 19:37:18 +08:00
Kamil Gabryjelski
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 Zhao
34e1336bca
fix: controls validator glitch ( #20623 )
2022-07-07 17:21:14 +08:00
Eugene Bikkinin
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
stevetracvc
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 Medina
ac01a1b02f
chore: Set table viz default row limit to 1000 ( #20475 )
2022-07-06 22:09:23 -06:00
Yongjie Zhao
414cc99ca2
fix: datetime.data in series ( #20618 )
2022-07-07 09:33:44 +08:00
smileydev
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 Suddjian
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
Reese
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 Gaspar
b39a3d8f78
docs: fix link for Apache Superset source code ( #20620 )
2022-07-06 13:49:39 +01:00
Daniel Vaz Gaspar
183871b002
chore: bump FAB to 4.1.3 ( #20621 )
2022-07-06 12:55:24 +01:00
Daniel Vaz Gaspar
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
Rui Zhao
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
Michael S. Molina
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 Bednarzak
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
2022-07-05 12:14:35 -07:00
John Bodley
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
John Bodley
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
Daniel Vaz Gaspar
92bf1b8ef6
fix: welcome page user authentication check ( #20605 )
2022-07-05 17:04:47 +01:00
Phillip Kelley-Dotson
9da7c1f7b8
feat: hack db connection modal ctabtns ( #20017 )
...
* add flow for dbconnmodal to datasetmodal
* fix bug
* second part
* fix dataset to sql lab
* fix lint
* more lint
* add key value
* fix type
* add new styling
* remove undefined from types
2022-07-05 08:56:12 -07:00
Rahul Raj
4137fe03a0
fix(schedule-query): getUISchema function called in SchemaForm component ( #20256 )
...
* Revert "Superset - Release and Improvements (12-05-2022)"
* merging conflic changes
* Revert "Revert "Superset - Release and Improvements (12-05-2022)""
This reverts commit 6d18661e03
.
* fixed breaking changes
* sync with master
* fixed breaking flows
* fixed getUISchema function call
* added default placeholder and updated docs
* fixed format and comments
* changed flag to configuration
* fix: indentation of SCHEDULED_QUERIES dict
* fix: changed intendation for SCHEDULED_QUERIES
* fix: updated docs for SCHEDULED_QUERIES
* fix: replaced button to menu item for SCHEDULED_QUERIES
* fix: updated docs for SCHEDULED_QUERIES
* fix: trailing whitespace
2022-07-05 14:16:37 +02:00
Yongjie Zhao
59491f5396
chore: rename drop missing columns to show empty columns ( #20602 )
2022-07-05 16:09:16 +08:00
Yongjie Zhao
309327dcbd
feat: drop missing columns control ( #20586 )
2022-07-04 18:08:12 +08:00
Stephen Liu
c0a00fd302
feat(deck.gl): add color range for deck.gl 3D ( #19520 )
2022-07-04 11:54:04 +08:00
Antonio Rivero Martinez
8a57a71bed
fix(sql lab): Save Dataset Modal Autocomplete should display list when overwritting ( #20512 )
...
* Save Dataset Modal:
- Use our Select component as substitute of the Autocomplete one so options are loaded initially without the user having to trigger a search and we are mosre consistent with the rest of the app
- Changing datasetId to lowercase so when custom props get into the DOM we don't get warning related to invalid formatting
- We extracted the dropdown out of the radio because it causes invalid click handling when an option is selected
- Updated tests
* Save Dataset Modal:
- Update missing test for DatasourceControl
* Save Dataset Modal:
- Remove conditional from load options function since only guest users dont have userId, and if that is the case they wont reach this part of the application
* Save Dataset Modal:
- Remove unused comment
* Save Dataset Modal:
- Add getPopupContainer as prop for Select component
* Save Dataset Modal:
- Add tests for our new getPopupContainer prop in Select component. So if passed it gets called.
* Save Dataset Modal:
- use lowercased property when calling post form data
* Save Dataset Modal:
- Update tests so there is no need to define a null returning func
* Save Dataset Modal:
- Including getPopupContainer from PickedSelectProps instead
- Updating definition in SelectFilterPlugin
2022-07-01 14:40:13 -06:00
Lily Kuang
2389871556
feat: add extension point to the top of welcome page ( #20575 )
...
* welcome top extension
* show database modal
* add test
* Delete lines.svg
* rename to banner
* remove lines
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-07-01 12:21:13 -07:00
David Aaron Suddjian
7f70de30fb
one action, one file ( #20554 )
2022-07-01 11:18:04 -07:00
nisheldo
7275805e95
chore: updating python docker image to 3.8.13 ( #20550 )
2022-07-01 11:16:17 -07:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function ( #20582 )
2022-07-01 19:17:55 +08:00
Yongjie Zhao
290b89c7b4
feat: apply standardized form data to deckgl ( #20579 )
2022-07-01 14:51:59 +08:00
Cody Leff
b99482dfb1
Try making skipped Cypress test less flaky and un-skip. ( #20568 )
2022-06-30 16:30:32 -06:00
Evan Rusackas
ac8e502228
fix: Respecting max/min opacities, and adding tests. ( #20555 )
...
* Respecting max/min opacities, and adding tests.
* revising tests
* Adding missing test case for maximum coverage :)
* removing unnecessary logic and test
* adding another unit test for (hopefully) full coverage.
* no more ternary operator
* New approach with Math.min - take THAT codecov.
* one more stab at making codecov happy... ignoring the file next.
* lint fixes
2022-06-30 16:09:03 -06:00
Evan Rusackas
f5f8ddec3e
Revert "feat(plugin-chart-echarts): Support stacking negative and positive values ( #20408 )" ( #20571 )
...
This reverts commit c959d92dd1
.
2022-06-30 13:52:43 -06:00
Kamil Gabryjelski
b30f6a5db1
chore(explore): Get Explore data from endpoint instead of bootstrap_data ( #20519 )
...
* feat(explore): Use v1/explore endpoint data instead of bootstrapData
* Add tests
* Fix ci
* Remove redundant dependency
* Use form_data_key in cypress tests
* Add auth headers to for data request
* Address comments
* Remove displaying danger toast
* Conditionally add auth headers
* Address comments
* Fix typing bug
* fix
* Fix opening dataset
* Fix sqllab chart create
* Run queries in parallel
* Fix dashboard id autofill
* Fix lint
* Fix test
2022-06-30 21:06:51 +02:00