Commit Graph

305 Commits

Author SHA1 Message Date
Daniel Vaz Gaspar
694f93326d fix: methods incorrect type and update deprecated targets (#23935) 2023-05-05 18:57:27 +01:00
Ville Brofeldt
f1fa1a733d chore(key-value): use json serialization for main resources (#23888) 2023-05-04 08:04:05 +03:00
Hugh A. Miles II
3528f4140c fix: remove feature flag for tags on Dashboard API for Tags (#23909) 2023-05-02 17:02:42 -04:00
Sebastian Liebscher
b31efbae7c chore: remove RemovedInMarshmallow4 warnings (#23704) 2023-04-21 09:11:46 +03:00
John Bodley
d0fda60c85 feat(native-filters): Add legacy (filter-box) to native filter migration script (#23269) 2023-04-21 15:12:33 +12:00
Jack Fragassi
326c0587fe chore: Migrate copy_dash endpoint to api v1 (#23112)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-04-06 11:32:10 -04:00
Beto Dealmeida
f78798149a fix: load examples as anon user (#23600) 2023-04-06 08:23:00 -07:00
Jack Fragassi
70344018b6 fix(dash import): Ensure old datasource ids are not referenced in imported charts (#23582) 2023-04-05 13:38:41 -07:00
Diego Medina
f2be53dd53 chore: Migrate /superset/favstar to API v1 (#23165)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-03-29 16:42:23 -04:00
Beto Dealmeida
022213972b fix(dashboard): show_native_filters leftover (#23389) 2023-03-17 16:50:26 -07:00
Zef Lin
870bf6d0b9 fix: revert back to use security manager authz for dashboard when get by uuid (#23330) 2023-03-16 15:27:02 +00:00
Beto Dealmeida
ec6318b379 fix: permission checks on import (#23200) 2023-03-15 08:31:09 -07:00
Hugh A. Miles II
b820eb8235 chore: Update pre-commit packages (#23173) 2023-03-13 17:05:13 -06:00
Daniel Vaz Gaspar
b99d38dfef fix: dashboard DAO small code improvement (#23348) 2023-03-13 18:03:02 +00:00
John Bodley
5f0c320415 chore: Deprecate show_native_filters (#23228) 2023-03-02 07:29:51 +13:00
Antonio Rivero
3484e8ea7b feat(ssh_tunnel): Import/Export Databases with SSHTunnel credentials (#23099) 2023-02-24 09:36:21 -08:00
Ville Brofeldt
89576f8a87 fix(rbac): show objects accessible by database access perm (#23118) 2023-02-24 10:45:16 +02:00
cccs-RyanK
a40c12d63e feat: Frontend tagging (#20876)
Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com>
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-02-21 13:38:23 -08:00
Josh Soref
dec6ac49f6 chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-17 10:48:24 -07:00
Cody Leff
684b8888b1 fix(dashboard): Stop updating chart owners for charts removed from dashboard (#21720)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-02-09 12:50:06 -05:00
Daniel Vaz Gaspar
d00ba15c78 chore: add statsd support to base API and refactor (#22887) 2023-01-27 17:52:08 +00:00
Geido
9ed2326a20 feat: Move cross filters to Dashboard (#22785) 2023-01-25 18:01:06 +01:00
Daniel Vaz Gaspar
3761694d72 fix: dashboard get by id or slug access filter (#22358) 2023-01-05 17:10:40 +00:00
Ville Brofeldt
037deb9a1d feat(rbac): add customizable related filters (#22526) 2023-01-05 16:42:08 +02:00
Daniel Vaz Gaspar
7926a43aed refactor: rename filter_rel_fields to base_related_field_filters (#22508) 2022-12-24 00:39:53 +00:00
Ville Brofeldt
aa0cae9b49 feat(thumbnails): add support for user specific thumbs (#22328) 2022-12-14 15:02:31 +02:00
Geido
25114a7b97 feat: Horizontal filter bar states (#22064)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-18 14:15:28 +02:00
EugeneTorap
394fb2f2d0 fix: slug is empty if filename is non-ASCII (#22118) 2022-11-16 10:53:30 -08:00
Kamil Gabryjelski
68e8b00cde feat(dashboard): Support changing filter bar location (#22004) 2022-11-03 16:50:34 +02:00
Daniel Vaz Gaspar
c9470cac91 fix: dashboard api cache decorator (#21964) 2022-10-31 10:26:48 +00:00
Shubham Sinha
7edf1fbdf0 fix(superset): Fixed API for bulk delete of embedded dashboards (#21911) 2022-10-22 12:25:17 +01:00
Daniel Vaz Gaspar
3057e4270c feat: deprecate created_slices API endpoint (#21664)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-10-04 09:13:11 +01:00
Daniel Vaz Gaspar
ab7cfec975 feat: new config to filter specific users from dropdown lists (#21515) 2022-09-29 12:30:07 +01:00
John Bodley
eac6fdcd29 chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
Lily Kuang
05354a96bf feat: filter with created_by for charts and dashboards (#21199)
* feat: filter with created_by for charts and dashboards

* add tests

* update tests

* update tests
2022-08-30 12:27:38 -07:00
Lily Kuang
c33af83823 chore: always get dashboard_id on dashboard API get endpoint (#20894)
* chore: always get dashboard_id on dashboard API get endpoint

* lint

* pylint

* fix pylint

* lint
2022-08-03 17:20:20 -07:00
Yongjie Zhao
718bc3062e fix: invalid metric should raise an exception (#20882) 2022-07-28 08:15:43 +08:00
Diego Medina
8b354b4b69 fix: Published Dashboard without charts don't show up for non admin users (#20638) 2022-07-27 12:40:59 -06:00
Jesse Yang
4d192e6e4d feat(report): capture dashboard reports in specific states (#20552) 2022-07-26 17:01:56 -07:00
Geido
6b0c3032b2 chore: Update color scheme when deleted or changed (#20589)
* 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

* Fallback to default color scheme

* Fix dashboard id autofill

* Fix lint

* Fix test

* Fix hydrate action

* Update dashboard colors

* Add color scheme domain

* Add check for default scheme

* Make me pretty

* Clean up

* Nit

* Clean up

* Pretty

* Fix missing sequential

* Lint

* Enhance test

* Lint

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-25 18:50:49 -04:00
John Bodley
7a1aa79c52 fix: Ensure consistent rollback logic (#20811) 2022-07-25 08:18:53 -07:00
Yongjie Zhao
3fb5c79d77 fix: invalid dataset schema (#20826) 2022-07-23 08:34:15 +08:00
Beto Dealmeida
e60083b45b chore: upgrade SQLAlchemy to 1.4 (#19890)
* chore: upgrade SQLAlchemy

* Convert integration test to unit test

* Fix SQLite

* Update method names/docstrings

* Skip test

* Fix SQLite
2022-07-18 15:21:38 -07:00
Jesse Yang
c3ac61271a feat(dashboard): make permalink deterministic (#20632) 2022-07-12 16:33:18 -07: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
Jesse Yang
cadd259788 feat: save active tabs in dashboard permalink (#19983) 2022-06-29 09:43:52 -07:00
John Bodley
3483446c28 refactor: Cleanup user get_id/get_user_id (#20492)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-24 17:57:04 -07:00
Hugh A. Miles II
e3e37cb68f chore: switching out ConnectorRegistry references for DatasourceDAO (#20380)
* rename and move dao file

* Update dao.py

* add cachekey

* Update __init__.py

* change reference in query context test

* add utils ref

* more ref changes

* add helpers

* add todo in dashboard.py

* add cachekey

* circular import error in dar.py

* push rest of refs

* fix linting

* fix more linting

* update enum

* remove references for connector registry

* big reafctor

* take value

* fix

* test to see if removing value works

* delete connectregistry

* address concerns

* address comments

* fix merge conflicts

* address concern II

* address concern II

* fix test

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-06-21 13:22:39 +02:00
Diego Medina
3fe53f735e fix: Unable to export multiple Dashboards with the same name (#20383) 2022-06-15 00:27:24 -06:00
Ville Brofeldt
64c4226817 fix(temporary-cache): when user is anonymous (#20181)
* fix(temporary-cache): fail on anonymous user

* make exceptions generic

* fix test

* remove redundant bool return

* fix unit tests
2022-05-26 14:45:20 +03:00