Commit Graph

7517 Commits

Author SHA1 Message Date
Ville Brofeldt 680c96ec54
feat(explore): collapse time section if no ts columns (#14493)
* feat(explore): collapse time section if no ts columns

* fix viz change bug

* fix test
2021-05-07 11:55:54 +03:00
Mayur 05c24056b5
add new plugin (#14516) 2021-05-07 10:21:00 +03:00
Ville Brofeldt 19b408b08d
chore: bump superset-ui to 0.17.44 (#14515) 2021-05-07 09:31:34 +03:00
Geido 10a53b7f5d
fix: Add extra check to loggerMiddleware (#14492)
* Add extra check

* Update superset-frontend/src/middleware/loggerMiddleware.js

Co-authored-by: Evan Rusackas <evan@preset.io>

* Fix linting issue

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-05-06 22:39:58 -07:00
David Aaron Suddjian 52dbe311c7
fix: parameterize titles correctly (#14509) 2021-05-06 15:30:49 -07:00
Hugh A. Miles II 1df93848d2
fix: disable pylint error breaking CI (#14506) 2021-05-06 15:11:07 -04:00
Hugh A. Miles II 96289e93d7
feat: add `make format` command (#14491)
* Update Makefile

* fix makefile
2021-05-06 11:16:49 -04:00
cccs-rc f55882e756
fix: SQL Statement on QUERY_LOGGER prints none to log (#14358) 2021-05-06 17:50:19 +03:00
Ville Brofeldt 4ac90ddaee
refactor(utils): replace strtobool with parse_boolean_string (#14494) 2021-05-06 15:57:02 +03:00
Michael S. Molina 68058b0ad9
chore: Moves spec files to the src folder - iteration 4 (#14380) 2021-05-05 22:01:05 -07:00
Michael S. Molina 331310db9b
refactor: Bootstrap to AntD - Form - iteration 2 (#14379) 2021-05-05 22:00:37 -07:00
Michael S. Molina fa510df624
chore: Adds QueryParamProvider to testing helper (#14195) 2021-05-05 21:58:40 -07:00
Rob DiCiuccio fa0915d9e6
Attempt to reduce asyncEvent test flakiness (#14497) 2021-05-05 19:34:13 -07:00
Elizabeth Thompson 9b42eec064
feat: db modal split (#14470)
* refactor: split db modal file (#14436)

* split db modal file

* fix tests

* fix extra options

* update database id methodology
2021-05-05 19:03:19 -04:00
AAfghahi 12baba03cc
fix: Query History (#14498)
* fix for QUery History

* fixed
2021-05-05 17:00:32 -04:00
Michael S. Molina f9567efe81
fix: Fix #13831 (#14490) 2021-05-05 13:48:48 -07:00
Ajay M c832542570
fix(dashboard): Prevent char overflow when displaying chart description (#14467)
* Force refresh the chart on toggle display description

* Use forceUpdate instead of forceRefresh

* Instead of forceUpdate, add a state for desciption height

Co-authored-by: Ajay Mancheery <ajaymancheery@Ajays-MacBook-Pro.local>
2021-05-05 13:30:10 -07:00
Jesse Yang ae256a9119
chore: bump sankey and pivot table chart to 0.17.43 (#14477) 2021-05-05 11:17:18 -07:00
Evan Rusackas 8ccd19629a
fix: explore flex layout is sometimes too short (#14481) 2021-05-05 10:21:15 -07:00
Michael S. Molina 7182a1b390
chore: Removes common storybook (#14418) 2021-05-05 09:53:14 -07:00
Kamil Gabryjelski b030c9801c
chore: Move styles from .less stylesheet to emotion in Explore (#14485)
* Move some styles from .less stylesheet to emotion in Explore

* Replace Global styles with local styled components

* Address comments
2021-05-05 15:36:52 +02:00
Ville Brofeldt 93c7f5bb44
fix(annotations): pass force param to annotation request (#14483)
* fix(annotations): pass force param to annotation request

* use strtobool

* add util for parsing bools
2021-05-05 13:52:17 +03:00
Ville Brofeldt 5aef6bccd1
feat(viz): add funnel chart (#14480) 2021-05-05 14:26:12 +08:00
Ben Reinhart 90a72bf8d2
chore: Update WebSocket server code from feedback (#14417) 2021-05-04 22:07:53 -07:00
Erik Ritter a816655715
fix: dashboard datasources filter None (#14471) 2021-05-04 15:34:38 -07:00
Jesse Yang 23014e9233
chore: upgrade @emotion (#14454) 2021-05-04 15:26:16 -07:00
Michael S. Molina d138b4407d
fix: Ignore database extra fields when saving (#14465) 2021-05-04 20:03:36 +01:00
Elizabeth Thompson 2242f74818
Revert "refactor: split db modal file (#14436)" (#14466)
This reverts commit 2d991ec359.
2021-05-04 14:40:58 -04:00
David Aaron Suddjian 21cf12a480
chore(dashboard): Integrate dashboard app into the SPA bundle (#14356)
* chore(dashboard): Integrate dashboard app into the SPA bundle

* fix url params

* change variable name

* change title correctly

* custom css

* lint

* remove unused file

* remove content assertions from dashboard tests

* fix case with missing bootstrap data

* fix: respect crud views flag

* crud views -> spa

* remove unused dashboard templates

* fix: remove unused variable

* fix: missed a spot with the crudViews -> spa

* router link to dashboard from dashboard list page

* link using the router when in card mode

* lint

* fix tests, add memory router

* remove  dashboard app files

* split up the bundle a little more

* use webpack preload
2021-05-04 08:51:17 -07:00
Amit Miran 158ac302d8
chore: bump table plugin to 0.17.42 (#14460) 2021-05-04 17:41:02 +03:00
simcha90 582900c170
perf(native-filters): Load native filters after charts (#14443)
* fix:fix get permission function

* refactor: filter default value

* refactor: update default value loading

* refactor: apply defaultValues

* lint: fix lint

* lint: fix lint

* test: fix test

* refactor: use extraFormData for reload charts

* feat: load native filters after after charts

* feat: load filters after charts

* fix: revert changes

* test: fix timers

* test: fix tests
2021-05-04 16:07:40 +03:00
Duy Nguyen Hoang 9a22fb00d9
fix: CSV Export permission is not consistent (#13713) 2021-05-04 10:19:58 +03:00
Jesse Yang a75e4af99b
fix(viz): bump superset-ui to fix bugs in table and graph chart (#14438) 2021-05-03 16:23:42 -07:00
Elizabeth Thompson 2d991ec359
refactor: split db modal file (#14436)
* split db modal file

* fix tests
2021-05-03 17:00:41 -04:00
Erik Ritter e05a70fc82
fix: dashboard changed on calculation (#14450) 2021-05-03 13:55:34 -07:00
ʈᵃᵢ 0b9fd24cf3
fix(logging): log unexpected exceptions as exceptions (#14399) 2021-05-03 12:33:02 -06:00
Ville Brofeldt 2f9efb2e23
add migration (#14446) 2021-05-03 15:32:48 +03:00
simcha90 bbb1f2d757
perf(native-filters): avoid unnecessary reloading of charts (#14408)
* fix:fix get permission function

* refactor: filter default value

* refactor: update default value loading

* refactor: apply defaultValues

* lint: fix lint

* lint: fix lint

* test: fix test

* refactor: use extraFormData for reload charts

* test: fix tests

* test: fix tests

* test: fix tests
2021-05-03 14:56:41 +03:00
simcha90 abbf4bf05a
refactor(native-filters): allow cascading only for filter_select (#14441)
* fix:fix get permission function

* refactor: allow cascading only for filter_select
2021-05-02 13:16:10 +03:00
simcha90 1f8de1d06c
test(maximize-chart): Add tests to maximize chart action (#14371)
* fixed FullSize charts broken #13600

* Update ChartHolder.jsx

* fix:fix get permission function

* test: adding tests to full screen

* lint: fix lint

* fix: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

Co-authored-by: toop <mytoop@163.com>
2021-05-02 09:27:38 +03:00
AAfghahi 7466595563
fix: fixing mysql error message (#14416)
* fixing mysql error message

* Update tests/db_engine_specs/mysql_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update tests/db_engine_specs/mysql_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update tests/db_engine_specs/mysql_tests.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/db_engine_specs/mysql.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* fixed broken test

* changed error type

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-30 15:15:37 -07:00
AAfghahi e507508b48
feat: Logic added to limiting factor column in Query model (#13521)
* Sqllab limit

* Add migration script

* Set default values

* initial push

* revisions

* Update superset/views/core.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* moving migration to separate PR

* with migration

* revisions

* Fix apply_limit_to_sql

* all but tests

* added unit tests

* revisions

* Update superset/sql_lab.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/sql_parse.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* fixed black issue

* Update superset/views/core.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* updated logic

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-30 15:15:18 -07:00
Hugh A. Miles II efcdc8cb9b
change relationship (#14435) 2021-04-30 17:27:05 -04:00
Daniel Vaz Gaspar b4e527a8c4
fix: bootstrap data permissions (#14348) 2021-04-30 12:02:01 -06:00
Sam Faber-Manning b147fa84e2
fix: parse simple string error message values (#14360)
* fix parsing error messages that are formatted as single strings

* fix other instances of error typing
2021-04-30 09:30:53 -07:00
Sam Faber-Manning 11260b3117
chore: add stack trace to all calls of logger.error (#14382) 2021-04-30 09:22:05 -07:00
Srini Kadamati 13cfc421d5
update README with new docs and recordings (#14432) 2021-04-30 11:59:08 -04:00
Jagadish 9097c29d39
Renamed impyla from implya in impala.mdx and Renamed PIP package impyla from impala in index.mdx (#14425) 2021-04-30 19:51:32 +08:00
Ville Brofeldt 319125ec3b
fix(native-filters): fix filter scope error (#14426) 2021-04-30 12:20:02 +03:00
AAfghahi 982a91ee62
feat: Adding limiting_factor column to Query model (#14234)
* add limiting factor to query model

* varchar instead of enum
2021-04-29 14:37:22 -07:00