John Bodley
a156816064
chore(command): Condense delete/bulk-delete operations ( #24607 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2023-07-12 15:45:29 -07:00
John Bodley
7409289762
chore(dao): Condense delete/bulk-delete operations ( #24466 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2023-07-06 09:21:08 -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
Beto Dealmeida
45f045def2
fix: prevent ForeignKeyViolation error on delete ( #23414 )
2023-03-21 15:48:55 -07:00
Daniel Vaz Gaspar
3f2e894af3
fix: dataset name change and permission change ( #21161 )
...
* fix: dataset name change and permission change
2022-08-31 18:11:03 +01: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
John Bodley
be7065faf8
chore(pylint): Reenable raise-missing-from check ( #16266 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-17 10:26:10 +12:00
Sam Faber-Manning
11260b3117
chore: add stack trace to all calls of logger.error ( #14382 )
2021-04-30 09:22:05 -07:00
Daniel Vaz Gaspar
5d08a426d3
fix(api): unable to delete virtual dataset, wrong permission name ( #11019 )
...
* fix(api): unable to delete virtual dataset because of wrong permission name
* Still delete the dataset even when no permission was found
* migration script to fix possible existing faulty permissions on the db
* black
* fix db migration and one more test
* add more comments to the migration script
* freeze a partial schema of the model on the migration step
* fix mig script
* Update superset/migrations/versions/3fbbc6e8d654_fix_data_access_permissions_for_virtual_.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-09-29 12:33:07 +01:00
Daniel Vaz Gaspar
11da6ee812
fix: dataset delete and perm delete ( #10578 )
2020-08-13 10:18:13 +01:00
Ville Brofeldt
980dd2fd41
pylint: accept specific 2 character names by default ( #9460 )
...
* lint: accept 2 letter names by default
* Address review comments
* Remove e and d from good-names
2020-04-08 20:32:26 +03:00
Daniel Vaz Gaspar
4be827544e
[datasets] Add strict type annotation ( #9437 )
...
* [datasets] Add strict type annotation
* Fix refresh endpoint
* Improve logic on update
2020-04-07 16:22:57 +01:00
Daniel Vaz Gaspar
ccb22dc976
[dataset] columns and metrics API (nested) ( #9268 )
...
* [dataset] columns and metrics API (nested)
* [dataset] tests and validation
* [datasets] Fix, revert list field name to database_name
2020-03-24 17:24:08 +00:00
Daniel Vaz Gaspar
c34df6b7b3
[dashboard] Refactor API using SIP-35 ( #9315 )
...
* [dashboard] Refactor API using SIP-35
* [dashboard] Fix, import
* [dashboard] more tests
* [dashboards] a misc of improvements
* [charts] Fix, DAO and tests
* [dashboards] small exceptions refactor
* [dashboards] lint
* [dashboards] Improves comments on base classes
* [dashboards] lint
2020-03-20 16:32:03 +00:00
Daniel Vaz Gaspar
52c59d6890
[datasets] new, API using command pattern ( #9129 )
...
* [datasets] new, API using command pattern
* [datasets] tests and improvements
* [datasets] lint
* [database] address comments
* [datasets] lint
* [datasets] Address PR comments
* [dataset] Fix, dataset expects a Dict now
* [dataset] lint and optional commits
* [dataset] mypy
* [dataset] Fix, license and parent class
* [dataset] Make CRUD DAO raise exceptions
2020-03-08 09:13:08 +00:00