Commit Graph

3613 Commits

Author SHA1 Message Date
Tom
b56aec763d refactor: speed up conversion from dataframe to list of records (#12806) 2021-02-07 12:01:28 -08:00
Amit Miran
8ccf2e8f1e feat(dashboard_rbac): dashboards API support for roles create/update + roles validation (#12865) 2021-02-07 16:16:19 +02:00
Erik Ritter
2eff8608f1 chore: rename revision to match naming scheme (#12950) 2021-02-04 12:33:41 -08:00
Ville Brofeldt
ac73991913 fix(viz): improve dtype inference logic (#12933) 2021-02-04 10:47:27 -08:00
Amit Miran
b472d1841c feat(dashboard_rbac): dashboard_view access enforcement (#12875)
* test: dashboard_view_test failing

* test: tests works first time

* fix: pre-commit and  some refactoring

* fix:  after CR

* fix:  replace not_published with draft

* fix:  after CR

* fix: pre-commit fixes

* fix: pre-commit and lint fixes

* fix: remove unused

* fix: remove unused import

* fix: wrap the decorator to not block others

* chore: reuse dashboard from decorator into function
2021-02-04 13:23:53 -05:00
Ville Brofeldt
2f6d1ff4cd chore: remove SIP-38 feature flag (#12894) 2021-02-03 09:41:44 +02:00
Grace Guo
fd2d87340b fix: Config for dataset health check (#12906) 2021-02-02 22:41:25 -08:00
Jesse Yang
9fa52d3e21 fix(chart): allow null for most query object props (#12905) 2021-02-02 19:28:22 -08:00
Beto Dealmeida
ab3f4bd94b feat: add separate endpoint to fetch function names for autocomplete (#12840)
* WIP

* Add unit test for API

* Add spec

* Fix unit test

* Fix unit test

* Fix test

* Fix test

* Add period to error message
2021-02-02 18:01:01 -08:00
Erik Ritter
fab6238033 fix: comment typo (#12898) 2021-02-02 16:03:35 -08:00
Daniel Vaz Gaspar
9cc38ac1d9 fix: allow users to reset their passwords (#12886) 2021-02-02 15:19:09 +00:00
Ville Brofeldt
36c43113e7 fix(explore): missing select when groupby without metrics (#12890) 2021-02-02 17:14:30 +02:00
Daniel Vaz Gaspar
6c018c0a28 refactor: dbapi exception mapping for dbapi's (#12869)
* refactor: dbapi exception mapping for dbapi's

* fix test

* fix lint

* fix grammar on comment
2021-02-02 15:07:46 +00:00
simcha90
275e57f4f1 feat(style-theme): add support for custom superset themes (#12858)
* feat(style-theme): add support for custom superset themes

* refactor: update var names

* refactor: update name of theme
2021-02-02 13:09:49 +02:00
Rob DiCiuccio
68dae80110 build: Skip loading example data from configs in CI (#12610)
* Skip loading example data from configs in CI

* Use .test suffix for example data required by e2e tests

* Address linting error with regex
2021-02-01 16:07:28 -08:00
Ricardo Gândara Pinto
51195af4fa fix: Presto column_type_mappings time and timestamp (#12861)
* Fix presto column_type_mappings time and timestamp

* Added unit tests
2021-02-01 17:41:57 +02:00
Amit Miran
9a7fba810e feat(dashboard-rbac): dashboard lists (#12680) 2021-01-31 09:17:46 +02:00
Beto Dealmeida
dcef5e1381 fix: remove explicit cursor closing for BQ (#12836) 2021-01-29 14:32:47 -08:00
zsellami
9b007e65c2 Update config.py (#12831)
isDeverging parameters on EXTRA_SEQUENTIAL_COLOR_SCHEMES  var is wrong.
Changement Realized "isDiverging": true to "isDiverging": True,
2021-01-29 15:20:31 -05:00
Jesse Yang
e3db935c62 refactor: migrate table chart to new API (#10270)
* refactor: migrate table chart to new API

* chore: bump superset-ui to 0.17.0

* Fix Cypress tests

* Apply soft-conversion to numeric metrics

Fix time column formatting test

* Add translation to chart does not exist error

* Bump to 0.17.1
2021-01-29 13:12:09 +02:00
Beto Dealmeida
8bdd01e984 fix: don't close cursor before closing connection (#12821) 2021-01-28 14:32:00 -08:00
Daniel Vaz Gaspar
a0e05a5eff fix(reports): handle exceptions properly in scope (#12811)
* fix(reports): handle exceptions properly in scope

* list and test commit removal

* revert removing commits from tests

* lint
2021-01-28 19:06:19 +00:00
Duy Nguyen Hoang
32f2c45f93 fix(explore): preserve metric column order in bar chart (#12417)
* fix: Preserve Column Order in Bar chart

* Update tests/viz_tests.py to use f-strings style

Co-authored-by: Duy Nguyen <duy.nguyenhoang@global-fashion-group.com>
2021-01-28 10:39:00 +02:00
Beto Dealmeida
5a3c5b1f54 fix: samples should not be timeseries (#12796) 2021-01-28 10:12:30 +02:00
Daniel Vaz Gaspar
365770e7c3 feat: request ids on API related endpoints (#12663)
* feat: request ids on API related endpoints

* rename ids to include_ids
2021-01-27 20:24:49 +00:00
Grace Guo
48f37ca1db fix: Prevent dashboard with filter_values template cause incompatible indicator (#12742)
* fix: Prevent dashboard using filter_values to add incompatible indicator

* fix review comments

* fix review comments

* add extra fix per comments
2021-01-27 10:28:17 -08:00
Rob DiCiuccio
d7cbd53fce fix(async queries): Remove "force" param on cached data retrieval (#12103)
* Async queries: remove force cache param on data retrieval

* Assert equal query_object cache keys

* Decouple etag_cache from permission checks

* Fix query_context test

* Use marshmallow EnumField for validation
2021-01-27 10:16:57 -08:00
Ville Brofeldt
997befcacd fix(explore): pass partitionColumn when creating new adhoc filter (#12789)
* fix(explore): pass partitionColumn when creating new adhoc filter

* add default value to state

* remove duplicated code

* update translations
2021-01-27 15:48:54 +02:00
İbrahim Ercan
49e6e420da fix: session error fixed related to thumbnails. (#12760)
* fix: session error fixed related to thumbnails.

* compute_and_cache moved to session scope

* lint fix done
2021-01-27 11:04:14 +00:00
İbrahim Ercan
ecc1eae2c3 fix: uuid generatiion for mysql fixed (#12787) 2021-01-27 11:35:09 +02:00
Jesse Yang
55c8f9ba60 feat(explore): allow opening charts with missing dataset (#12705) 2021-01-25 15:09:03 -08:00
Craig Rueda
0fed1e04ef feat: Adding option to set_database_uri CLI command (#12740)
* Adding option to set_database_uri CLI command

* Fixing flag logic
2021-01-25 12:49:22 -08:00
Michael S. Molina
878f1238ba Update translation files after capitalization PRs (1-9) (#12696) 2021-01-25 15:15:38 +02:00
Yongjie Zhao
9e58eb809e fix(explore): deprecated x periods pattern in new time picker value (#12552) 2021-01-23 23:41:15 -08:00
Ville Brofeldt
ede879022c fix(multiline): return all chart data on initial request (#12660)
* fix(multiline): return chart data on data request

* bump package

* optimize chart retrieval and fix chart form_data
2021-01-23 15:01:50 +08:00
Beto Dealmeida
9a159b30c4 fix(load_examples): better fix for load_data (#12702)
* fix(load_examples): better fix for load_data

* Address changes
2021-01-22 16:32:39 -08:00
Beto Dealmeida
4255c22d01 feat: add decorator to guard public APIs (#12635)
* feat: add decorator to guard public APIs

* Add unit tests

* Refactor to use unit tests

* Paramterize tests

* Remove decorator
2021-01-22 13:06:14 -08:00
Karol Kostrzewa
f2b802978d fix: bar chart data order (#12665)
* fix bar chart order

* fix test_explore_json_dist_bar_order

* fix quotes
2021-01-22 12:38:33 +02:00
bryanck
5504762458 add order by for bar charts (#12661)
Co-authored-by: Bryan Keller <bkeller@netflix.com>
2021-01-22 09:00:58 +02:00
Rob DiCiuccio
e4ae17def5 fix: Stabilize and deprecate legacy alerts module (#12627)
* Add deprecation notice to superset.tasks.schedules

* Reduce retries and schedule window for alerts
2021-01-21 09:51:53 -08:00
bryanck
e7def7e0e2 fix: missing key when verifying adhoc filters in merge_extra_filters (#12620)
Co-authored-by: Bryan Keller <bkeller@netflix.com>
2021-01-20 14:22:05 -08:00
Michael S. Molina
c85b4c75b1 Fix translation files and update documentation (#12595) 2021-01-20 10:50:24 -08:00
Jesse Yang
c14ed80f28 refactor: rename DbColumnType to GenericDataType (#12617) 2021-01-20 10:07:42 -08:00
Duy Nguyen Hoang
862ddd9cb4 fix: chart disappears in standalone slice (#12606) 2021-01-19 11:56:24 -08:00
Duy Nguyen Hoang
77da4ada99 fix: error while parsing invalid json form_data (#12586)
* Fix error while parsing invalid json form_data

* Refine error returned
2021-01-19 16:15:16 +00:00
Ville Brofeldt
7e99d768af feat(bigquery): implement custom minute time grains (#12581)
* feat(bigquery): implement custom minute time grains

* address review comment
2021-01-19 14:32:33 +02:00
Yongjie Zhao
e7a5d0d01a fix: return appropriate response when payload has error (#12575) 2021-01-19 14:57:25 +08:00
Kasia Kucharczyk
ad63823d6f fix: Added message flash when chart with missing dataset is accessed. (#12468) 2021-01-18 22:42:03 -08:00
Amit Miran
0f243c6ddd refactor: extract to method is_user_admin (#12570) 2021-01-18 09:15:25 +02:00
Jesse Yang
deebd6f738 fix(viz): missing groupby and broken adhoc metrics for boxplot (#12556) 2021-01-15 17:03:12 -08:00