Commit Graph

11534 Commits

Author SHA1 Message Date
AAfghahi
4bf4d58423
fix: update Permissions for right nav (#19051)
* draft pr

* finished styling

* add filter

* added testing

* added tests

* added permissions tests

* Empty-Commit

* new test

* Update superset-frontend/src/views/components/MenuRight.tsx

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* revisions

* added to CRUD view

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-04-11 16:50:59 -04:00
Geido
d693f4e970
Update font-sizes (#19593) 2022-04-11 16:46:06 +03:00
Geido
5d418b21a3
Remove font-size hacky usage (#19611) 2022-04-11 16:45:52 +03:00
Geido
d1e17646e2
Remove hacky usage of font-size (#19615) 2022-04-11 16:45:25 +03:00
Geido
03a80d5d2f
chore: Update font-sizes in QueryPreviewModal (#19620)
* Remove hacky font-sizes

* Remove hacky font-size SavedQueryPreviewModal
2022-04-11 16:45:09 +03:00
Stephen Liu
d49fd01ff3
feat(CRUD): add new empty state (#19310)
* feat(CRUD): add new empty state

* fix ci

* add svg license
2022-04-11 12:04:45 +02:00
Ville Brofeldt
f21ba68a30
chore: clean up dynamic translation strings (#19641) 2022-04-11 13:02:20 +03:00
Stephen Liu
a6bf041edd
feat(plugin-chart-echarts): add aggregate total for the Pie/Donuct chart (#19622) 2022-04-11 13:56:45 +08:00
Jesse Yang
b45f89b954
refactor: consistent migration tests organization (#19635) 2022-04-09 07:50:52 -07:00
Jesse Yang
ce2bd98442
test: freeze time for dashboard export test (#19634) 2022-04-09 07:49:39 -07:00
Jesse Yang
a975af3e9e
chore: clean up unused imports in db migration scripts (#19630) 2022-04-09 07:48:59 -07:00
Jesse Yang
738bd04b4f
fix(test): make test_clean_requests_after_schema_grant more idempotent (#19625) 2022-04-09 07:48:37 -07:00
Ville Brofeldt
9a9e3b6e3b
test(jinja): refactor to functional tests (#19606) 2022-04-08 20:32:38 +03:00
Lyndsi Kay Williams
d52e3867ac
feat: Move Database Import option into DB Connection modal (#19314)
* rebase

* more progress

* Fix unintended changes

* DB import goes to step 3

* debugging

* DB list refreshing properly

* import screens flowing properly

* Code cleanup

* Fixed back button on import flow

* Remove import db tooltip test

* Fix test

* Password field resets properly

* Changed import modal state dictators and removed unneeded comment

* Removed unneeded param pass and corrected modal spelling

* Fixed typos

* Changed file to fileList

* Clarified import footer comment

* Cleaned passwordNeededField and confirmOverwriteField state checks

* debugging

* Import state flow fixed

* Removed unneeded importModal check in unreachable area

* Fixed import db footer behavior when pressing back on step 2

* Import db button now at 14px

* Removed animation from import db button

* Fixed doble-loading successToast

* Fixed errored import behavior

* Updated import password check info box text

* Connect button disables while importing db is loading

* Connect button disables while overwrite confirmation is still needed

* Connect button disables while password confirmation is still needed

* Removed gray line under upload filename

* Hide trashcan icon on import filename

* Modal scroll behavior fixed for importing filename

* Changed errored to failed

* RTL testing for db import
2022-04-08 10:03:40 -07:00
Ville Brofeldt
1ad82af058
fix(select): render when empty multiselect (#19612)
* fix(select): render when empty multiselect

* disable flaky test
2022-04-08 16:40:14 +03:00
Geido
16f193c813
Catch colors when theme top level (#19571) 2022-04-08 15:20:23 +03:00
Yongjie Zhao
761d5c4208
chore: cleanup as unknown conversion (#19587) 2022-04-08 17:32:29 +08:00
Daniel Vaz Gaspar
d6d2777ada
feat: deprecate old API and create new API for dashes created by me (#19434)
* feat: deprecate old API and create new API for dashes created by me

* add tests

* fix previous test

* fix test and lint

* fix sqlite test

* fix lint

* fix lint

* lint

* fix tests

* fix tests

* use dashboards get list instead

* clean unnecessary marshmallow schema

* Update superset/views/core.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-08 09:05:22 +01:00
Zimo Li
8da2c9b96a
Fix spelling: following (#19594) 2022-04-07 21:02:22 -07:00
Phillip Kelley-Dotson
44e3103fc9
feat: add success toast to alerts and reports (#19482)
* feat: add success toast to alerts and reports

* remove console

* add suggestions
2022-04-07 18:45:35 -07:00
Michael S. Molina
d511e4fbc4
refactor: Removes the CSS files from the Horizon plugin (#19562)
* refactor: Removes the CSS files from the Horizon plugin

* Removes the CSS file

* Uses font-size from the theme
2022-04-07 18:47:41 -03:00
Michael S. Molina
f91f83d011
refactor: Removes the CSS files from the Paired T-Test plugin (#19563)
* refactor: Removes the CSS files from the Paired T Test plugin

* Adjusts some colors
2022-04-07 11:51:22 -03:00
Michael S. Molina
38fbca10e3
refactor: Removes the CSS files from the Parallel Coordinates plugin (#19539)
* refactor: Removes the CSS files from the Parallel Coordinates plugin

* Adds test

* Fixes indentation
2022-04-07 11:51:08 -03:00
Michael S. Molina
97850a80c8
refactor: Removes the CSS files from the Partition plugin (#19521)
* refactor: Removes the CSS files from the Partition plugin

* Fixes bullet

* Always use the color of the partitions
2022-04-07 11:50:51 -03:00
Michael S. Molina
06dee825a4
chore: Removes hard-coded colors from legacy-plugin-chart-sankey (#19493)
* chore: Removes hard-coded colors from legacy-plugin-chart-sankey

* Gets opacity from the theme
2022-04-07 11:50:31 -03:00
Beto Dealmeida
83c3779a6c
feat: add a where_in filter for Jinja2 (#19574) 2022-04-07 07:27:23 -07:00
Geido
6d5771af34
chore: Remove FilterBox.less (#19462)
* Remove FilterBox less

* Fix test

* Add theme top level

* Use styledMount
2022-04-07 17:17:50 +03:00
Geido
e8f3e8a24e
chore: Remove crud.less from Datasource (#19438)
* Remove crud less

* Remove unused classname

* Remove unused import

* Add theme top level
2022-04-07 15:18:01 +03:00
Geido
e5bab00cb9
chore: Enhance ReactChord style with theme vars (#19517)
* Enhance style with theme vars

* Update superset-frontend/plugins/legacy-plugin-chart-chord/src/ReactChord.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-04-07 15:17:40 +03:00
Ville Brofeldt
0d331f5bd8
chore: remove redundant adodbapi warning (#19557) 2022-04-07 14:30:36 +03:00
Ville Brofeldt
d9343a4639
fix(dataset): handle missing python_type gracefully (#19553)
* fix(dataset): handle missing python_type gracefully

* refactor TEMPORAL_TYPES
2022-04-07 14:30:11 +03:00
Ville Brofeldt
34b55765c4
fix(sqla): apply jinja to metrics (#19565) 2022-04-07 14:04:51 +03:00
Ville Brofeldt
db2135109a
fix(dataset): avoid crash if database missing (#19582) 2022-04-07 13:43:17 +03:00
Ville Brofeldt
1c1beb653a
docs: release notes for 1.5 (#19530)
* docs: release notes for 1.5

* rephrase and remove secret key from 1.4

* address review comments
2022-04-07 12:52:20 +03:00
Elizabeth Thompson
aa419b8119
fix: check type of url before performing string actions (#19569)
* ensure url is a string

* return url if param is a url
2022-04-06 17:32:10 -07:00
Beto Dealmeida
6136942759
fix: sqloxide optional (#19570) 2022-04-06 16:11:38 -07:00
Elizabeth Thompson
444b4f5832
merge multiple db heads (#19577) 2022-04-06 15:14:39 -07:00
Diego Medina
350f21d9d3
fix: cannot delete a database if team member has SQL editor tab that uses that db (#19243)
* fix: update sql lab models constraints to support db deletion

* update with master

* solve db migration conflict

* fix tests
2022-04-06 08:46:21 -07:00
Geido
73e93911ac
chore: Remove TimeTable.less (#19463)
* Remove TimeTable less

* Remove className

* Update superset-frontend/src/visualizations/TimeTable/TimeTable.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-04-06 18:43:25 +03:00
Smart-Codi
f6d550b7fc
fix: weight tooltip issue (#19397)
* fix: weight tooltip issue

* remove console
2022-04-06 09:28:24 -06:00
dependabot[bot]
4680580c40
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-embedded-sdk (#19550)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 18:20:02 +03:00
dependabot[bot]
fff9dc1181
chore(deps): bump node-forge from 1.2.1 to 1.3.1 in /docs (#19566)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 18:16:02 +03:00
dependabot[bot]
f9534b25c7
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (#19552)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:26 +03:00
dependabot[bot]
f29d92867c
chore(deps): bump minimist in /superset-frontend/cypress-base (#19549)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:11 +03:00
Diego Medina
c6c9188a24
fix(sql lab): increase the size of the action icons in the history tab (#19313) 2022-04-06 08:21:07 -06:00
Fatos Morina
1cd8b41061
Remove too many "to"s (#19559) 2022-04-06 09:27:09 -04:00
Stephen Liu
0e29871493
fix(explore): clean data when hidding control (#19039) 2022-04-06 20:25:32 +08:00
Yongjie Zhao
2daa071633
fix: big number with trendline can't calculate cumsum (#19542) 2022-04-06 19:23:01 +08:00
Michael S. Molina
c4baa826d5
refactor: Removes the CSS files from the Country Map plugin (#19538) 2022-04-06 07:39:16 -03:00
Michael S. Molina
356a03833b
chore: Removes hard-coded opacity and spacing from BigNumber (#19536) 2022-04-06 07:38:33 -03:00