Michael S. Molina
a971a28a34
fix: DashboardRoles cascade operation ( #25349 )
2023-09-20 13:08:07 -03:00
John Bodley
d54e827bb9
fix: Add explicit ON DELETE CASCADE for dashboard_roles ( #25320 )
2023-09-18 09:49:51 -03:00
John Bodley
adaab3550c
fix: Ensure SQLAlchemy sessions are closed ( #25031 )
2023-08-23 11:57:36 -07:00
Vitor Avila
cacad56172
chore(dashboard import/export): include additional fields to export/import commands ( #24941 )
2023-08-14 13:50:31 -07:00
Beto Dealmeida
4bc46003b5
chore: rate limit requests ( #24324 )
2023-08-11 09:35:31 -07:00
John Bodley
94c595093b
chore: Add explicit ON DELETE CASCADE for dashboard_slices ( #24938 )
2023-08-10 10:56:11 -03:00
John Bodley
5522facdc6
chore: Refactor dashboard security access ( #24804 )
2023-08-09 09:25:58 -07:00
Gyuil Han
ff7c1528db
fix(dashboard): increase json_metadata field ( #24510 )
2023-07-25 15:30:43 -03:00
John Bodley
ae00489779
chore(dao): Add explicit ON DELETE CASCADE for ownership ( #24628 )
2023-07-11 11:39:03 -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
Maxime Beauchemin
b70808d071
chore: cleanup sqlalchemy warnings ( #24403 )
2023-06-16 15:30:47 -07:00
Daniel Vaz Gaspar
23bb1c48a1
chore: remove deprecated apis and ENABLE_BROAD_ACTIVITY_ACCESS ( #24400 )
2023-06-15 22:11:24 +01: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
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Geido
66fb4867dc
chore: Remove unnecessary information from response ( #24056 )
2023-05-17 20:07:47 +03:00
Hugh A. Miles II
a4d4084d08
fix: tags features flag on base models ( #23548 )
2023-04-04 10:32:24 -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
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06: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
Jack Fragassi
050cbe938f
chore: Migrate /superset/recent_activity/<user_id>/ to /api/v1/ ( #22789 )
2023-01-25 09:26:50 +00:00
John Bodley
92cdb8c282
chore: Add explicit bidirectional performant relationships for SQLA model ( #22413 )
2023-01-21 10:17:56 +13:00
Ville Brofeldt
aa0cae9b49
feat(thumbnails): add support for user specific thumbs ( #22328 )
2022-12-14 15:02:31 +02:00
Hugh A. Miles II
e23efefc46
feat: refactor all get_sqla_engine to use contextmanager in codebase ( #21943 )
2022-11-15 13:45:14 -05:00
cccs-Dustin
2e564897f8
feat: Add dataset tagging to the back-end ( #20892 )
...
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2022-09-23 11:01:17 +03:00
Jesse Yang
4d192e6e4d
feat(report): capture dashboard reports in specific states ( #20552 )
2022-07-26 17:01:56 -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
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
Jesse Yang
6139057dcf
test: make tabbed dashboard a little more complex ( #19966 )
2022-05-13 17:31:23 -07:00
Elizabeth Thompson
060b5c0e17
chore: remove druid datasource from the config ( #19770 )
...
* remove druid datasource from the config
* remove config related references to DruidDatasource
* Update __init__.py
* Update __init__.py
* Update manager.py
* remove config related references to DruidDatasource
* raise if instance type is not valid
2022-05-04 12:48:48 -07: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
Beto Dealmeida
c7f9060a2f
feat: import external management columns ( #19315 )
...
* feat: import flags
* Add tests
2022-03-24 10:41:22 -07:00
Beto Dealmeida
1c0b141e2d
feat: allow assets to be managed externally ( #18093 )
...
* feat: allow assets to be managed externally
* Use server_default
2022-01-24 11:03:01 -08:00
Geido
83e49fc9ee
feat: Certify Charts and Dashboards ( #17335 )
...
* Certify charts
* Format
* Certify dashboards
* Format
* Refactor card certification
* Clear details when certified by empty
* Show certification in detail page
* Add RTL tests
* Test charts api
* Enhance integration tests
* Lint
* Fix dashboards count
* Format
* Handle empty value
* Handle empty slice
* Downgrade migration
* Indent
* Use alter
* Fix revision
* Fix revision
2021-11-24 13:42:52 +02:00
ofekisr
84f7614e97
feat(filter-set): Add filterset resource ( #14015 )
...
* Add filterset resource
* fix: fix pre-commit
* add tests
* add tests and fixes based of failures
* Fix pre-commit errors
* chore init filterset resource under ff constraint
* Fix migration conflicts
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* Fix pylint and migrations issues
* add tests and fixes based of failures
* Fix missing license
* fix down revision
* update down_revision
* fix: update down_revision
* chore: add description to migration
* fix: type
* refactor: is_user_admin
* fix: use get_public_role
* fix: move import to the relevant location
* chore: add openSpec api schema
* chore: cover all openspec API
* fix: pre-commit and lint
* fix: put and post schemas
* fix: undo superset_test_config.py
* fix: limit filterSetsApi to include_route_methods = {"get_list", "put", "post", "delete"}
* renaming some params
* chore: add debug in test config
* fix: rename database to different name
* fix: try to make conftest.py harmless
* fix: pre-commit
* fix: new down_revision ref
* fix: bad ref
* fix: bad ref 2
* fix: bad ref 3
* fix: add api in initiatior
* fix: open spec
* fix: convert name to str to include int usecases
* fix: pylint
* fix: pylint
* Update superset/common/request_contexed_based.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* chore: resolve PR comments
* chore: resolve PR comments
* chore: resolve PR comments
* fix failed tests
* fix pylint
* Update conftest.py
* chore remove BaseCommand to remove abstraction
* chore remove BaseCommand to remove abstraction
* chore remove BaseCommand to remove abstraction
* chore remove BaseCommand to remove abstraction
* chore fix migration
Co-authored-by: Ofeknielsen <ofek.israel@nieslen.com >
Co-authored-by: amitmiran137 <amit.miran@nielsen.com >
Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2021-09-23 11:27:59 +03:00
Ville Brofeldt
ac1d779a30
chore(ci): bump pylint to 2.10.2 ( #16463 )
2021-08-26 20:30:41 +03:00
John Bodley
7e4c940314
chore(pylint): Enable useless-suppression check ( #16388 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-24 03:58:41 +12:00
Grace Guo
85329c374e
refactor: remove unnecessary dataset queries from dashboard requests ( #16110 )
...
* refactor: remove unnecessary dataset queries from dashboard requests
* fix comments
2021-08-06 19:01:05 -07:00
John Bodley
b3e699b767
perf: Refactor Dashboard.datasets_trimmed_for_slices ( #15648 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-07-14 15:00:57 +12:00
Ville Brofeldt
f24264ccdc
feat(native-filters): add support for import/export dashboard ( #15253 )
...
* feat(native-filters): add support for import/export
* fix test and non-dataset filters
* lint
2021-06-19 08:29:40 +03:00
Hugh A. Miles II
1df93848d2
fix: disable pylint error breaking CI ( #14506 )
2021-05-06 15:11:07 -04:00
Erik Ritter
a816655715
fix: dashboard datasources filter None ( #14471 )
2021-05-04 15:34:38 -07:00
Ben Reinhart
2a1235c0c2
fix: Cleanup serialization and hashing code ( #14317 )
2021-04-26 14:04:40 -07:00
David Aaron Suddjian
91ba897f8e
fix(dashboard): Add caching for dashboard datasets ( #14306 )
...
* fix(dashboard): [WIP] add caching back in to the dashboard dataset api
* caching works! remove log message
* remove unused full_data method
* add caching to the charts endpoint as well
* spread the cache love
* lint
* Revert "spread the cache love"
This reverts commit ef322a3b0df7d35446a60141ad98288102547a52.
* Revert "add caching to the charts endpoint as well"
This reverts commit d3d1584989324efe56d08c081570149454ddf212.
* it's a list
2021-04-23 21:04:45 -07:00
Jesse Yang
2dd20df03d
fix(dashboard): draft dashboards should be viewable ( #14207 )
...
* fix(dashboard): draft dashboards should have open access
* Remove a duplicate test
2021-04-21 09:54:51 -07:00
Daniel Vaz Gaspar
1e88408418
fix: better handle datasource exceptions ( #13578 )
...
* fix: handle datasource injected security exception
* add tests
* fix error text on create update dbs
* fix lint
* revert create update message
* fix test
* add sqlalchemy exceptions
2021-03-15 22:46:51 +00:00
David Aaron Suddjian
491fbd16f7
fix(dashboard): Get dashboard by slug ( #13352 )
...
* refactor out id_or_slug filter logic
* fix(dashboard): accept slug in place of id in url
* remove unnecessary show fields
* fixes and tests
* linting
* linter compliance
* change requests
* names
2021-03-05 10:11:21 -08:00
bolkedebruin
99a0c8a8a1
refactor: Move raise_for_dashboard_access to security manager ( #13235 )
...
raise_for_dashboard_access is part of dashboard and cannot
be overridden by a security manager.
2021-02-23 10:52:34 +00: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