Commit Graph

7816 Commits

Author SHA1 Message Date
Kamil Gabryjelski 281d637674
Don't run query when control panel has errors (#14687) 2021-05-27 08:13:17 -07:00
AAfghahi 877201f1e0
margin style (#14849) 2021-05-27 10:39:19 -04:00
cccs-jc c519efe9ad
small code review fix (#14756)
Co-authored-by: cccs-jc <cccs-jc@cyber.gc.ca>
2021-05-27 16:04:42 +03:00
Michael S. Molina a6d54b681b
chore: Improves the native filters UI/UX - iteration 4 (#14854) 2021-05-27 13:37:36 +03:00
Geido ad4ce83327
fix(native-filter): Default value multi-select height in native filters (#14816)
* Fix height

* Fix height sidebar

* Move style
2021-05-27 13:05:58 +03:00
Ville Brofeldt 2b4e0ec9e0
feat(native-filters): sort selected values on blur (#14842)
* feat(native-filters): sort selected values on blur

* remove new icons
2021-05-27 09:36:33 +03:00
Yongjie Zhao 9f54231af1
fix: filterbox apply single value (#14841)
* fix: filterbox apply single value

* fix ci

* fix e2e
2021-05-27 14:00:48 +08:00
Ville Brofeldt bd2c087f78
fix(native-filters): remove indicators outside scope (#14838)
* fix(native-filters): remove indicators outside scope

* lint
2021-05-27 07:53:52 +03:00
AAfghahi 80d22f5b33
report dropdown (#14852) 2021-05-26 17:17:35 -04:00
Hugh A. Miles II ae8378a50e
fix: Big Query Edit Form (#14850)
* fix big quert edit form

* fix test

* fix api test

* fix test
2021-05-26 16:13:26 -04:00
Ville Brofeldt e466066229
chore(native-filters): introduce experimental feature flag (#14814)
* chore(native-filters): introduce experimental feature flag

* break out util and add tests

* fix import
2021-05-26 17:20:33 +03:00
Yongjie Zhao 6bdbd2bf50
fix: the calculated columns explicit type convert into date (#14813) 2021-05-26 20:33:20 +08:00
Einat Bertenthal 3224e75193
feat: show max tag count in select filter (#14486)
Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-26 14:17:58 +03:00
Daniel Vaz Gaspar d46aa6004d
fix(docker): superset permissions and firefox config (#14736)
* fix(docker): superset permissions and firefox config

* fix lint

* user SUPERSET_HOME ENV on bootstrap script
2021-05-26 09:12:48 +01:00
Michael S. Molina 0c0eccb81a
chore: Improves the native filters UI/UX - iteration 3 (#14824) 2021-05-26 10:49:00 +03:00
jmistry 9fe0222009
feat: ability to pull from your own docker registry using a secret (#14686)
* feature: ability to pull from your own docker registry using a secret

* feature: ability to pull from your own docker registry using a secret

* fix: formating

* fix: formating

* use secret for all deployments and jobs that use the helm chart

* update chart version number

Co-authored-by: jaisheel <jaisheel.mistry@partner.bmw.co.za>
2021-05-25 23:50:40 -07:00
Beto Dealmeida 45020860d5
chore: Update docs on MySQL recommended driver (#14826)
* Update docs

* Update docs/src/pages/docs/Connecting to Databases/mysql.mdx

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>

* Update docs/src/pages/docs/Connecting to Databases/mysql.mdx

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2021-05-25 14:59:05 -07:00
Beto Dealmeida 8b1a117d24
feat: return parameters only for DB with default driver (#14803)
* WIP

* Fix sorting of DBs
2021-05-25 14:46:54 -07:00
Beto Dealmeida f1ea1d74a7
fix: OpenAPI boolean type (#14827) 2021-05-25 14:46:41 -07:00
Hugh A. Miles II c72894725e
fix: Fix Big Query API for POST w/ no parameters (#14822)
* Update schemas.py

* Update bigquery.py

* Fix tests

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-05-25 17:13:17 -04:00
Einat Bertenthal dfe030b835
feat: chart gallery search improvement (#14484)
* feat: chart gallery search improvement

* test: adding unit test for VizTypeControl

* fix: lint errors

Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-25 18:41:53 +03:00
Kamil Gabryjelski 63dc035d6a
feat(explore): Remove default for time range filter and Metrics (#14661)
* feat(explore): Remove default for time range filter and Metrics

* Merge errors with same messages

* Fix e2e test

* Rename a variable

* Bump packages

* Fix unit tests
2021-05-25 15:55:41 +02:00
Einat Bertenthal add35f9fe4
fix: set table name width to not hide icons when name is too long (#14489)
* fix: set table name width to now hide icons when name is too long

* fix: table style

Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-25 16:44:28 +03:00
Ville Brofeldt 9a96dac3a7
fix(native-filters): loop bug by simplify state handling (#14788) 2021-05-25 15:03:22 +03:00
simcha90 9bf07cc428
fix(native-filters): Manage default value of filters by superset (#14785)
* fix:fix get permission function

* feat: manage default value in superset
2021-05-25 11:25:13 +03:00
AAfghahi 252c64b397
fix: Additional ResultSet tests (#14741)
* fixing tests

* added testing

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* removed decribe

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-05-24 17:42:09 -04:00
AAfghahi 904b60e420
chore: added BasicParametersMixin to Redshift (#14752)
* redshift basic mixin and tests

* rebased

* forgot prefix
2021-05-24 17:32:53 -04:00
Maxime Beauchemin 4d3fb56e11
fix: make dataset list sort case insensitive (#14528) 2021-05-24 14:08:13 -07:00
Beto Dealmeida 65f90096fd
fix: use encodeURIComponent when getting table metadata (#14790) 2021-05-24 12:20:31 -07:00
Beto Dealmeida 33cee65c3b
fix: ensure engine is outside parameters (#14787) 2021-05-24 11:04:12 -07:00
Elizabeth Thompson fbe6f16052
database modal should close on connect with tab layout (#14771) 2021-05-24 13:13:56 -04:00
Ville Brofeldt e9657afe4b
feat(native-filters): add search all filter options (#14710)
* feat(native-filters): add search all filter options

* add tests

* fix default value

* implement ILIKE operator

* rebump packages

* fix test

* address comments

* fix state changes coming from application

* fix debouncer
2021-05-24 16:33:59 +03:00
Yongjie Zhao 8484ee653f
fix: extra query in Dashboard when native filter enabled (#14770) 2021-05-24 20:53:14 +08:00
Michael S. Molina bee6f3ba8a
chore: Improves the native filters UI/UX - iteration 2 (#14753) 2021-05-24 15:22:05 +03:00
simcha90 2b2a8c4bcd
fix(native filters): Fix explore state (#14779)
* fix:fix get permission function

* fix: fix ownState for unsaved explore chart
2021-05-24 14:00:26 +03:00
Kamil Gabryjelski d03c608ce1
fix(explore): DndColumnSelect not handling controls with "multi: false" (#14737)
* fix(explore): DndColumnSelect not handling controls with multi={false}

* Implement translations for singular and plural cases

* Fix test
2021-05-24 09:53:46 +02:00
Hugh A. Miles II 6d33432b58
feat: Create BigQuery Parameters for DatabaseModal (#14721) 2021-05-23 12:45:48 -04:00
Beto Dealmeida 9e13476714
feat: enable user impersonation in GSheets (#14767) 2021-05-22 13:46:36 -07:00
Beto Dealmeida fb662698ce
fix: add DB should not say it's Postgres (#14766) 2021-05-22 13:46:19 -07:00
Yongjie Zhao d71b8b38d6
Revert "fix(dashboard): multiple query trigger when native filter enabled (#14734)" (#14762)
This reverts commit 88de4109e7.
2021-05-22 15:11:58 +08:00
Elizabeth Thompson c7aee4e27b
feat: save database with new dynamic form (#14583)
* split db modal file

* split db modal file

* hook up available databases

* add comment
2021-05-21 18:25:56 -04:00
Beto Dealmeida dd318539fa
fix: save non-parameter DBs (#14759) 2021-05-21 15:13:36 -07:00
Michael S. Molina 04d94d2b6c
chore: Removes ColorSchemeControl.less (#14199) 2021-05-21 14:46:01 -07:00
Geido fb6d21a168
fix(explore): Icons width (#14717)
* Revert width and margin

* Adjust width

* Increase margin
2021-05-21 14:41:55 -07:00
Phillip Kelley-Dotson f96fea166c
feat: make tabs sticky in homepage (#14695)
* inital commit

* lint

* fix loading state for edit activity

* add dep

* lint fix

* add condition

* lint being lint
2021-05-21 14:37:54 -07:00
Ben Reinhart a06a2f30af
fix: Set g.user to anon user in Celery (#14742)
* Set g.user to anon user in Celery

* Add test

* Fix bug in logic
2021-05-21 14:33:08 -07:00
Ben Reinhart b38596fd96
fix: Use g.user for getting the user_id for async queries (#14702)
* fix: Use g.user for getting the user_id

* Use id form for one user.id call

* Fix references to g.user

* Correct types

* Use if over try/catch

* Switch back to try/except
2021-05-21 14:30:13 -07:00
Ben Reinhart d5c008dd99
chore: Perform feature/config condition checks at request time (#14684)
* chore: conditional Home link rendering

* chore: conditional RowLevelSecurity rendering

* chore: Conditional KV rendering

* chore: Conditional TagView rendering

* chore: Conditional import dashboards link

* chore: Conditional upload csv/excel links

* chore: Conditional log api and view rendering

* chore: Conditionally render email schedules

* chore: Conditionally render alert views

* chore: Conditionally render alerts/reports

* chore: Conditionally render access requests

* chore: Conditionally render druid views

* Remove unnecessary folder

* Consistent naming

* Cleanup

* Remove object from class

* Clean up test file

* Clean up test file

* Fix lint error

* Better naming and follow conventions

* Use assertLess over assertNotEqual

* Assert less than 400

* Fix failing test
2021-05-21 14:29:52 -07:00
Michael S. Molina 1e8b6eb848
fix: Fixes right menu layout in different screen sizes (#14689) 2021-05-21 11:21:21 -07:00
cccs-jc 590fe20a45
feat: Add a remove filter_flag to jinja filter_values function (#14507)
Implementation issue 13943

Co-authored-by: cccs-jc <cccs-jc@cyber.gc.ca>
2021-05-21 19:37:09 +03:00