Ville Brofeldt
ada66e30dd
fix(chart-data-api): ignore missing filters ( #11112 )
2020-09-30 09:34:23 +01:00
Bogdan
03eebd3019
fix: fix table existence validation function ( #11066 )
...
* Fix table existance validation function
* Drop left over table name index in mysql db
* Do not modify model
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-29 15:01:01 -07:00
Moriah Kreeger
b8d616a9d2
feat: saved query list view + sort/filters ( #11005 )
2020-09-29 13:39:10 -07:00
Grace Guo
6633409a15
feat: enable ETag header for dashboard GET requests ( #10963 )
...
* feat: add etag for dashboard load requests
* fix review comments
2020-09-29 10:57:16 -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
Ville Brofeldt
80e395559d
fix: echarts timeseries groupby ( #11103 )
...
* fix: echarts timeseries groupby
* address review comment
2020-09-29 14:25:38 +03:00
Lily Kuang
e337355162
refactor: table selector on dataset editor ( #10914 )
...
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2020-09-28 11:16:03 -07:00
ʈᵃᵢ
1dc05d4c12
feat(charts): modify custom api filter to include more fields ( #11054 )
2020-09-28 10:18:34 -07:00
Lily Kuang
ea105bc23b
feat: add "created by" to dashboard CRUD view ( #11030 )
2020-09-24 14:33:55 -07:00
ʈᵃᵢ
eded51b2f8
feat(saved_queries): add custom api filter for all string & text fields ( #11031 )
2020-09-24 11:05:25 -07:00
Bogdan
b2fdf12f62
Support jinja templates ( #11008 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-24 10:29:44 -07:00
Ville Brofeldt
a9eab33d64
feat: add ECharts Pie chart ( #10966 )
...
* feat: introduce echarts pie chart
* lint
* remove viz.py shim
* remove tests
* fix cypress test
* fix test
2020-09-22 19:27:40 +03:00
Ville Brofeldt
bd140e018a
fix(presto): default unknown types to string type ( #10753 )
...
* fix(presto): default unknown types to string type
* lint
2020-09-22 13:16:54 +03:00
Ville Brofeldt
448a41a4e7
feat(row-level-security): add base filter type and filter grouping ( #10946 )
...
* feat(row-level-security): add filter type and group key
* simplify tests and add custom list widget
* address comments
* use enum value to ensure case sensitive value is used
2020-09-22 08:54:10 +03:00
Bogdan
56d001835e
fix: use nullpool even for user lookup in the celery ( #10938 )
...
* Use nullpool even for user lookup in the celery
* Address feedback
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-21 10:34:03 -07:00
Bogdan
801fb4063c
Allow empty observations in alerting ( #10939 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-21 08:48:02 -07:00
Daniel Vaz Gaspar
e375ed4678
fix(jinja): make context attrs private on SQL templates ( #10934 )
...
* fix(jinja): make SQLAlchemy models private on SQL templates
* add missing privates
* fix test
2020-09-18 12:56:07 +01:00
Bogdan
c3f1720456
fix: superset alerting misc fixes ( #10891 )
...
* Superset alerting misc fixes
* Test 0 threshold
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-16 11:09:11 -07:00
John Bodley
b48dd4b7d9
chore: Using cache factory method ( #10887 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-09-15 12:48:19 -07:00
Bogdan
9c420d6efe
feat: implement cache invalidation api ( #10761 )
...
* Add cache endpoints
* Implement cache endpoint
* Tests and address feedback
* Set cache config
* Address feedback
* Expose only invalidate endpoint
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-15 11:17:21 -07:00
Yongjie Zhao
38edb69d95
Feat: Adding table comment and columns comment for SQLLab ( #10844 )
...
* Adding table comment and columns comment for backend
* fix mypy
* Fix CI
* adding wider catch
* use logger
* fix lint
2020-09-14 21:11:48 -07:00
Daniel Vaz Gaspar
7b2200437e
fix(test): missing auth on tests ( #10842 )
...
* fix(test): missing auth on tests
* fix mock
* make test login more inline with other tests
2020-09-11 14:28:41 +01:00
Daniel Vaz Gaspar
136f90f87c
feat: SavedQuery REST API for bulk delete and new API fields ( #10793 )
...
* feat: SavedQuery REST API for bulk delete
* fix, singular msg and test
* remove 403 from OpenAPI spec
* filter by current user using created_by add sql_tables field
* fixes for new filter, add user field on pre_update, pre_add
* add lru cache to property
* Revert "add lru cache to property"
This reverts commit ad0d9428
2020-09-11 09:36:47 +01:00
Lily Kuang
f0545bfe50
fix(databases): test connection api endpoint ( #10824 )
...
* fix test connection with extra
* fix lint and allow_none server_cert
* update test connection tests
2020-09-10 21:49:14 +01:00
Bogdan
ac2937a6c5
fix: use nullpool in the celery workers ( #10819 )
...
* Use nullpool in the celery workers
* Address comments
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-10 13:29:57 -07:00
Daniel Vaz Gaspar
e6a4808cb7
fix(tests): export dataset tests fails with presto ( #10818 )
...
* fix(tests): export dataset tests fails with presto
* debug
* debug
* skip dataset export test on presto
* add TODO on failing test
2020-09-09 21:46:28 -07:00
Lily Kuang
8a3ac70c06
feat(databases): test connection api ( #10723 )
...
* test connection api on databases
* update test connection tests
* update database api test and open api description
* moved test connection to commands
* update error message
* fix isort
* fix mypy
* fix black
* fix mypy pre commit
2020-09-09 13:37:48 -07:00
ʈᵃᵢ
50672bb11b
feat: database delete warning ( #10800 )
2020-09-08 18:54:02 -07:00
Ville Brofeldt
3ae80d3b98
test: add rls jinja extra cache key test ( #10810 )
2020-09-08 07:42:48 +03:00
Daniel Vaz Gaspar
5199423ad1
feat: CRUD REST API for saved queries ( #10777 )
...
* feat: CRUD REST API for saved queries
* debug test
* fix test
* use pytest fixtures
2020-09-03 15:46:27 -07:00
Ville Brofeldt
70c6764780
fix: pivot table timestamp grouping ( #10774 )
...
* fix: pivot table timestamp grouping
* address comments
2020-09-03 19:49:54 +03:00
Jason Davis
54ae3b044f
fix: add validator information to email/slack alerts ( #10762 )
...
* added validator info to alerts
* adjusted format of messages
* added nits
Co-authored-by: Jason Davis <@dropbox.com>
2020-09-03 08:15:05 -07:00
John Bodley
1ee87cc4d1
fix: dashboard extra filters ( #10692 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-09-02 16:03:25 -07:00
ʈᵃᵢ
7bccb38a60
feat: SIP-34 table list view for databases ( #10705 )
2020-09-02 11:48:21 -07:00
ʈᵃᵢ
5a4370012b
refactor: convert DatasetList schema filter to use new distinct api ( #10746 )
2020-09-02 11:07:37 -07:00
Daniel Vaz Gaspar
77a3167412
feat(database): POST, PUT, DELETE API endpoints ( #10741 )
...
* feat(database): POST, PUT, DELETE API endpoints
* post tests
* more tests
* lint
* lint
* debug ci
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* cleanup
* handle db connection failures
* lint
* skip hive and presto for connection fail test
* fix typo
2020-09-02 09:58:08 -07:00
Jason Davis
b59f6b1833
feat: refractored SQL-based alerting framework ( #10605 )
...
* added new tables for alerting refractor
* reformatted inheritance structure
* added workflow for updated framework
* added suggested changes
* cleaned up changes
* added obervations to alert table to enable view
* added comments
* added requested changes
* fix tests
* added styling changes
* mypy
* added requested changes
* updated operator logic
* requested changes, 1 validator, styling changes
* refactored tests
* fix test alert workflow
* fixed create_alert in test
Co-authored-by: Jason Davis <@dropbox.com>
2020-09-01 13:36:02 -07:00
Bogdan
4572ebb600
chore: log cache keys to the logs ( #10678 )
...
* Log cache keys to the logs
* Add tests
* Use separate table for the cache keys
* Add migration for the cache lookup table
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-09-01 09:41:25 -07:00
Maxime Beauchemin
3d8857ecc8
style: rename 'Source' top nav item to 'Data' ( #10715 )
...
* style: rename 'Source' top nav item to 'Data'
* Fix tests
* tables -> datasets
* rename datasource -> dataset
* lint
* more renaming
* use npm ci
2020-08-29 18:09:47 -07:00
Bogdan
33fa9ebff1
Covert celery tests to the pytest ( #10704 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-28 17:04:30 -07:00
Ville Brofeldt
58b075bc17
fix(jinja): extract form_data from json body ( #10684 )
...
* fix(jinja): extract form_data from json body
* add test
* disable test for presto
2020-08-28 21:26:07 +03:00
Daniel Vaz Gaspar
3e374dab07
fix: change public role like gamma procedure ( #10674 )
...
* fix: change public role like gamma procedure
* lint and updating UPDATING with breaking change
* fix updating text
* add test and support PUBLIC_ROLE_LIKE_GAMMA
* fix, cleanup tests
* fix, new test
* fix, public default
* Update superset/config.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* add simple public welcome page
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-08-28 10:49:10 +01:00
Bogdan
6ed36552e6
Use test name for the custom macros testing: ( #10695 )
...
:
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-27 13:12:24 -07:00
Bogdan
19a9bcc9c5
chore: ci Initial hive support ( #10593 )
...
* Initial hive support
* Clone hive setup
* Make hive tests work locally
* Debugging presto failure
* sleep in dataset test
* Address comments
* Address comments
* Pin ipython, exclude new pylint rules
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-27 09:49:18 -07:00
Lily Kuang
bb92c1f84d
feat: chart and dashboard card list view e2e cypress test ( #10669 )
...
* card view cypress tests
* update test config
* chart filter cypress test
* move setting to superset test config
* update test description card view
2020-08-27 09:38:12 -07:00
John Bodley
502f4db6f9
feature: Adding extra_filters to warm_up_cache ( #10675 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-25 15:19:34 -07:00
Ville Brofeldt
9461f9c1e0
fix(db_engine_specs): improve Presto column type matching ( #10658 )
...
* fix: improve Presto column type matching
* add optional callback to type map and add tests
* lint
* change private to public
2020-08-24 22:42:07 +03:00
Ville Brofeldt
0177c2f591
fix(db_engine_specs): mysql longtext type should not be numeric ( #10661 )
2020-08-24 21:24:43 +03:00
Daniel Vaz Gaspar
692266f4f5
feat: dataset REST API for distinct values ( #10595 )
...
* feat: dataset REST API for distinct values
* add tests and fix lint
* fix mypy, and tests
* fix docs
* fix test
* lint
* fix test
2020-08-17 15:46:59 +01:00
Ville Brofeldt
acb00f509c
fix(chart-data-api): assert referenced columns are present in datasource ( #10451 )
...
* fix(chart-data-api): assert requested columns are present in datasource
* add filter tests
* add column_names to AnnotationDatasource
* add assertion for simple metrics
* lint
2020-08-14 20:58:24 +03:00