John Bodley
ae00489779
chore(dao): Add explicit ON DELETE CASCADE for ownership ( #24628 )
2023-07-11 11:39:03 -07:00
John Bodley
75543af550
chore(dao): Add explicit ON DELETE CASCADE when deleting datasets ( #24488 )
2023-06-28 16:03:25 -07:00
John Bodley
3e76736874
chore(dao): Organize DAOs according to SIP-92 ( #24331 )
...
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-06-18 18:32:32 -07:00
Daniel Vaz Gaspar
23bb1c48a1
chore: remove deprecated apis and ENABLE_BROAD_ACTIVITY_ACCESS ( #24400 )
2023-06-15 22:11:24 +01:00
Daniel Vaz Gaspar
ca478bd5c4
chore: remove deprecated apis copy_dash, save_dash and add_slices ( #24353 )
2023-06-13 15:08:47 +01:00
John Bodley
a3aacf2527
fix: Address dashboard permission regression in #23586 ( #24350 )
2023-06-12 11:15:27 -07:00
Michael S. Molina
a7f7f6645d
feat: Convert ENABLE_BROAD_ACTIVITY_ACCESS and MENU_HIDE_USER_INFO into feature flags ( #24345 )
2023-06-12 10:40:22 -07:00
Jack Fragassi
e791ba5876
fix: Copy dashboard filters when copying dashboard ( #24303 )
2023-06-08 15:49:30 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Ville Brofeldt
2222073778
fix(ci): remove username from owner ( #24114 )
2023-05-18 15:38:14 +03:00
Ville Brofeldt
7114bba718
chore(thumbnails): change default executor to logged in user ( #22801 )
2023-05-17 20:32:20 +03:00
Geido
66fb4867dc
chore: Remove unnecessary information from response ( #24056 )
2023-05-17 20:07:47 +03:00
Daniel Vaz Gaspar
97482c57b5
chore: bump werkzeug and Flask ( #23965 )
2023-05-12 15:01:30 +01:00
Ville Brofeldt
a8230336ff
fix(dashboard-rbac): use normal rbac when no roles chosen ( #23586 )
2023-04-07 09:53:35 +03: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
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
Hugh A. Miles II
a4d4084d08
fix: tags features flag on base models ( #23548 )
2023-04-04 10:32:24 -04: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
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
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
Geido
9ed2326a20
feat: Move cross filters to Dashboard ( #22785 )
2023-01-25 18:01:06 +01:00
Jack Fragassi
050cbe938f
chore: Migrate /superset/recent_activity/<user_id>/ to /api/v1/ ( #22789 )
2023-01-25 09:26:50 +00: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
Ville Brofeldt
ac0ff78616
fix: chart id mapping in dashboard api ( #22179 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-11-21 18:30:08 +02: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
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
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
Jesse Yang
2cb4fd31f1
refactor(test): add login_as_admin in global conftest ( #20703 )
2022-07-14 18:10:31 -07:00
Jesse Yang
c3ac61271a
feat(dashboard): make permalink deterministic ( #20632 )
2022-07-12 16:33:18 -07:00
Jesse Yang
cadd259788
feat: save active tabs in dashboard permalink ( #19983 )
2022-06-29 09:43:52 -07:00
Diego Medina
3fe53f735e
fix: Unable to export multiple Dashboards with the same name ( #20383 )
2022-06-15 00:27:24 -06:00
Jesse Yang
6139057dcf
test: make tabbed dashboard a little more complex ( #19966 )
2022-05-13 17:31:23 -07:00
David Aaron Suddjian
ae70212df3
fix: deactivate embedding on a dashboard ( #19626 )
...
* fix tests
* commit it properly
* unnecessary commit, correct type in docstring
* unused import
2022-04-15 16:15:27 -07:00
Jesse Yang
ce2bd98442
test: freeze time for dashboard export test ( #19634 )
2022-04-09 07:49:39 -07: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
David Aaron Suddjian
8e29ec5a66
feat: Embedded dashboard configuration ( #19364 )
...
* embedded dashboard model
* embedded dashboard endpoints
* DRY up using the with_dashboard decorator elsewhere
* wip
* check feature flags and permissions
* wip
* sdk
* urls
* dao option for id column
* got it working
* Update superset/embedded/view.py
* use the curator check
* put back old endpoint, for now
* allow access by either embedded.uuid or dashboard.id
* keep the old endpoint around, for the time being
* openapi
* lint
* lint
* lint
* test stuff
* lint, test
* typo
* Update superset-frontend/src/embedded/index.tsx
* Update superset-frontend/src/embedded/index.tsx
* fix tests
* bump sdk
2022-03-30 12:34:05 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Beto Dealmeida
d304849b46
feat: disable edits on external assets ( #19344 )
...
* feat: disable edits on external assets
* Update tests
2022-03-28 16:32:57 -07:00
Ville Brofeldt
f4b71abb22
feat: introduce hashids permalink keys ( #19324 )
...
* feat: introduce hashids permalink keys
* implement dashboard permalinks
* remove shorturl notice from UPDATING.md
* lint
* fix test
* introduce KeyValueResource
* make filterState optional
* fix test
* fix resource names
2022-03-24 21:53:09 +02:00
Daniel Vaz Gaspar
f37fc1a7f0
chore: bump majors on celery and Flask ( #19168 )
...
* chore: bump celery, Flask, flask-jwt-extended, pyJWT
* fix pyJWT breaking change
* fix pyJWT breaking change 2
* test
* fixed test
* fixed test
* fixed test
* revert since mypy won't pick the correct signature
* lint 1
* fix test
* fix test
* docs and celery config migration
* bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES
* update docs for new celery config keys
* downgrade celery to 5.2.2
* ref FAB to final 4.0.0 release
* remove conflict left over
2022-03-24 09:16:53 +00:00
Stephen Liu
dc575080d7
feat: improve color consistency (save all labels) ( #19038 )
2022-03-21 15:20:04 +08:00
David Aaron Suddjian
97abc28a1f
chore!: remove ENABLE_REACT_CRUD_VIEWS
feature flag (permanently enable) ( #19231 )
...
* remove ENABLE_REACT_CRUD_VIEWS feature flag
* docs
* deal with problematic tests
* empty test suite
* skip test
* test conditions changed
* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
AAfghahi
c345029fbc
chore!: turn on Versioned Export in config.py ( #19142 )
...
* turning off versioned export
* deleted two tests that required version export false
* added tests
* test suggestions
2022-03-17 13:32:50 -04:00
Ville Brofeldt
b7a0559aaf
feat: add permalink to dashboard and explore ( #19078 )
...
* rename key_value to temporary_cache
* add migration
* create new key_value package
* add commands
* lots of new stuff
* fix schema reference
* remove redundant filter state from bootstrap data
* add missing license headers
* fix pylint
* fix dashboard permalink access
* use valid json mocks for filter state tests
* fix temporary cache tests
* add anchors to dashboard state
* lint
* fix util test
* fix url shortlink button tests
* remove legacy shortner
* remove unused imports
* fix js tests
* fix test
* add native filter state to anchor link
* add UPDATING.md section
* address comments
* address comments
* lint
* fix test
* add utils tests + other test stubs
* add key_value integration tests
* add filter box state to permalink state
* fully support persisting url parameters
* lint, add redirects and a few integration tests
* fix test + clean up trailing comma
* fix anchor bug
* change value to LargeBinary to support persisting binary values
* fix urlParams type and simplify urlencode
* lint
* add optional entry expiration
* fix incorrect chart id + add test
2022-03-17 01:15:52 +02:00
Beto Dealmeida
d01fdad1d8
feat: add export_related flag ( #19215 )
...
* feat: add export_related flag
* Fix lint
2022-03-16 16:03:06 -07:00
Ville Brofeldt
a04f1d4c87
chore(cache): default to SimpleCache in debug mode ( #18976 )
...
* chore(cache): default to SimpleCache in debug mode
* lint
* clean up type
* use util
* fix integration test cache configs
* remove util from cache manager
* remove trailing comma
* fix more tests
* fix truthiness check
* fix tests and improve deprecation notice
* fix default cache threshold
* move debug check to cache_manager
* remove separate getter
* update docs
* remove default cache config
2022-03-02 19:38:34 +02:00