Commit Graph

1620 Commits

Author SHA1 Message Date
Hugh A. Miles II
9b26794419
chore: Update dataset_id & dataset_type datasource_id & datasource_type for SPA explore (#22461) 2022-12-22 19:46:00 -05:00
Stan
7d8fff87b5
fix(assets api): import replaces dashboard (#22208)
Co-authored-by: Stan Houcke <stan.houcke@skyscanner.net>
2022-12-21 15:36:40 -08:00
Ville Brofeldt
b954f8f560
feat(welcome): make examples tab customizable (#22302) 2022-12-21 09:28:41 +02:00
John Bodley
71982ee174
chore: Re-add inheritance of Presto macros for Trino et al. (#22435) 2022-12-20 08:27:20 +13:00
Beto Dealmeida
bdeedaaf80
chore: set Snowflake user agent (#22432) 2022-12-15 17:08:34 -08:00
Michiel De Smet
90d79c78d2
fix(trino): Fix Trino timestamp conversion (#21737) 2022-12-14 10:49:14 -07:00
Ville Brofeldt
aa0cae9b49
feat(thumbnails): add support for user specific thumbs (#22328) 2022-12-14 15:02:31 +02:00
Beto Dealmeida
481b020e9d
chore: show database UUID in API (#22411) 2022-12-13 15:55:27 -08:00
Rui Zhao
d1989a4766
fix(report): Capture unexpected errors in report screenshots. Fixes #21653 (#21724)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-12-13 14:31:36 -07:00
Elizabeth Thompson
c3a6327ff0
fix: correct exception level in log and add error message (#22381) 2022-12-12 10:58:58 -08:00
Antonio Rivero Martinez
60a617eaba
fix(bigquery): Properly display errors for BigQuery DBs (#22349) 2022-12-07 13:34:30 -05:00
Geido
e1ffdb95b1
chore: Add Horizontal FilterBar e2e tests (#22305) 2022-12-06 15:01:31 +02:00
Ville Brofeldt
1ad5147016
fix(sqla): use same template processor in all methods (#22280) 2022-12-03 06:19:25 +02:00
Elizabeth Thompson
1c20206057
fix: convert <NA> values to None instead of stringifying (#22321) 2022-12-02 17:15:20 -08:00
Elizabeth Thompson
5c77f1ad2a
feat: add databricks form (#21573) 2022-12-02 10:36:27 -08:00
EugeneTorap
7bc5f04368
chore: Bump bigquery libs (#21466) 2022-12-02 12:48:36 +02:00
Antonio Rivero Martinez
fb3e717573
fix(file_upload): Fix columnar and Excel upload forms (#22249) 2022-11-29 11:27:50 -05:00
Yongjie Zhao
22fab5e58c
feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
Mayur
a8bc53d805
fix(reports): force data generation in csv reports (#22196) 2022-11-26 13:30:26 +08:00
Daniel Vaz Gaspar
a77b2d6ebf
chore: remove annotation layer FAB CRUD model view (#22178) 2022-11-22 16:19:57 +00: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
Antonio Rivero Martinez
6bb4d87deb
feat: CSV File Upload form updates (#21922) 2022-11-21 10:51:18 -05:00
John Bodley
7e54b88a51
chore: Change get_table_names/get_view_names return type (#22085) 2022-11-18 12:41:21 -08:00
Ville Brofeldt
c3f9f0bf69
fix(alerts): execute query as report executor (#22167) 2022-11-18 14:22:56 +02:00
EugeneTorap
394fb2f2d0
fix: slug is empty if filename is non-ASCII (#22118) 2022-11-16 10:53:30 -08:00
EugeneTorap
38a3fbdc33
feat: use a new official CH driver: clickhouse-connect (#22039) 2022-11-16 10:53:15 -08:00
John Bodley
e8a0a5ee5c
fix: Missing applied filters indicator (#22137) 2022-11-16 08:07:42 -08: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
Peng Ren
b32de3dd9e
feat: Add a new database driver for Amazon DynamoDB (#22077) 2022-11-14 20:57:04 -08:00
Elizabeth Thompson
ce145c676c
refactor: use exception status for logging (#21971) 2022-11-14 14:14:24 -08:00
Elizabeth Thompson
86d52fcbc4
chore: remove shadow write of new sip 68 dataset models (#21986) 2022-11-14 09:55:53 -08:00
Antonio Rivero Martinez
95b4c7b7fe
chore(bigquery): Add extra logging for BigQuery exceptions so we can have better insight on exceptions (#22024) 2022-11-09 22:56:08 -05:00
John Bodley
9f7bd1e63f
fix(presto/trino): Ensure get_table_names only returns real tables (#21794) 2022-11-09 14:30:49 -08:00
Daniel Vaz Gaspar
e33a08693b
fix: datasource save, improve data validation (#22038) 2022-11-07 10:33:24 +00:00
Daniel Vaz Gaspar
358a4ecedd
fix: deprecate approve and request_access endpoint (#22022)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-07 08:55:15 +00:00
John Bodley
6bbf4f8718
fix: JSON serializers (#22029) 2022-11-03 17:29:10 -07:00
Yongjie Zhao
a9b229dd1d
feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
Ville Brofeldt
a02a778cc3
feat(reports): execute as other than selenium user (#21931)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-31 14:32:49 +02:00
AAfghahi
33fc57854d
fix: error_parsing (#21946) 2022-10-28 19:43:37 -04:00
Antonio Rivero Martinez
203b289021
feat(bigquery): Custom message when Service Account doesnt have the correct Roles and Permissions (#21838) 2022-10-26 19:44:09 -04:00
Beto Dealmeida
a88dfe24c7
fix: check that imports are ZIPs (#21875) 2022-10-26 12:15:46 -07:00
Hugh A. Miles II
7600da8041
feat: create function for get_sqla_engine with context (#21790) 2022-10-25 14:12:48 -04:00
Beto Dealmeida
1388f21ee3
fix: accept old database payload (#21923) 2022-10-25 10:29:29 -07:00
AAfghahi
76c865fc56
chore: additional logging in alerts and reports (#21802) 2022-10-24 17:07:21 -04:00
Shubham Sinha
7edf1fbdf0
fix(superset): Fixed API for bulk delete of embedded dashboards (#21911) 2022-10-22 12:25:17 +01:00
Geido
c2834cc14c
chore: Remove CROSS_REFERENCES feature flag (#21815) 2022-10-21 15:11:49 +03:00
Shubham Sinha
decb2fb591
feat(datasets): Change in API to create virtual datasets (#21840) 2022-10-19 15:05:21 +01:00
Ville Brofeldt
52d33b05fd
chore(sqla): refactor query utils (#21811)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-17 10:40:42 +01:00
Ville Brofeldt
4c1777f20d
fix(alerts): restrict list view and gamma perms (#21765) 2022-10-15 10:03:26 +03:00
John Bodley
b1bf25e98c
fix(explore): Persist URL params to form-data (#21792) 2022-10-13 14:25:46 -07:00
Mayur
d1a6f0ebc4
fix: allow adhoc columns in non-aggregate query (#21729) 2022-10-10 12:08:33 +08:00
Elizabeth Thompson
f58227a912
feat: add denylist for db engines (#21486) 2022-10-08 19:45:21 -07:00
Reese
a5ff0949a6
feat(api): Add option to enable sync on import (#20312) 2022-10-07 15:28:38 -03:00
Michael S. Molina
200bed6f7e
feat: Shows related dashboards in Explore (#21685) 2022-10-07 12:59:49 -03:00
Mayur
61319fd759
feat(sqllab): save query parameters in database (#21682) 2022-10-07 12:49:14 +05:30
Hugh A. Miles II
882bfb67ae
fix: gsheets editing with dynamic forms (#21710) 2022-10-06 19:57:12 -07:00
Yongjie Zhao
05648eb489
feat: support None operand in EQUAL operator (#21713) 2022-10-06 16:45:59 +08: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
Elizabeth Thompson
e98943e580
refactor: pass all properties to validate_parameters (#21487) 2022-10-03 17:48:54 -07:00
Elizabeth Thompson
4417c6e3e2
chore: add 4xx error codes where applicable (#21627) 2022-10-03 15:19:47 -07:00
Elizabeth Thompson
ef78ec6b30
fix: catch error when masking encrypted extra is none (#21570) 2022-10-02 19:49:01 -07:00
Mayur
5ea9249059
fix: respect chart cache timeout setting (#21637) 2022-09-29 08:26:19 -06:00
Daniel Vaz Gaspar
ab7cfec975
feat: new config to filter specific users from dropdown lists (#21515) 2022-09-29 12:30:07 +01:00
Antonio Rivero Martinez
b36bd3f083
fix(databases): GSheets and Clickhouse DBs are not allowed to upload files (#21065) 2022-09-26 10:08:11 -07:00
Erik Cederstrand
82bd5a31b8
chore(deps): Unpin sqlparse dependency (#21581)
Co-authored-by: Erik Cederstrand <erik@adamatics.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-09-26 17:41:04 +03:00
Michael S. Molina
2ec744da21
feat: Increments charts endpoint with related dashboards (#21518) 2022-09-23 13:21:19 -03: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
Yongjie Zhao
737d4dcf0c
refactor: refine timestamp expr function (#21510) 2022-09-20 18:51:01 +08:00
Daniel Vaz Gaspar
7e2e8b8ad9
fix: dataset after insert when db relation does not exist (#21492) 2022-09-17 17:16:18 +01:00
Yongjie Zhao
2dfcba04b0
fix: Time Offset in SQLite and refine logic in Date Type conversion (#21378) 2022-09-16 12:02:22 +08:00
Michael S. Molina
2c7323a87d
fix: Supports form_data param in old Explore endpoint (#21469) 2022-09-14 18:00:11 -03:00
Daniel Vaz Gaspar
64d216adb3
fix: permission sqlalchemy events (#21454) 2022-09-13 13:56:59 -07:00
Bogdan
44654e5abc
perf: Memoize the common_bootstrap_payload and include user param (#21018) (#21439)
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-09-13 08:52:08 -07:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
Ville Brofeldt
05b97fff4d
fix(cache): respect default cache timeout on v1 chart data requests (#21441) 2022-09-13 15:56:04 +02:00
Ville Brofeldt
e1e9fda72b
fix: remove extras from all adhoc_filters controls (#21450)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-13 15:52:21 +03:00
Daniel Vaz Gaspar
094400c308
fix: cached common bootstrap Revert (#21018) (#21419) 2022-09-10 01:02:24 +01:00
Hugh A. Miles II
14cd8a2160
chore: add test for SPA explore endpoints around missing datasets (#21303) 2022-09-09 10:54:39 -07:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
Zef Lin
286474c3d8
fix: revert permission refactoring PR (#21313) 2022-09-06 19:18:22 +01:00
Zef Lin
9be4870c7f
feat: only show active user for chart/dashboard/datasource owner drop… (#20837) 2022-09-06 19:17:50 +01:00
Daniel Vaz Gaspar
c3f8417139
fix: disallow users from viewing other user's profile on config (#21302) 2022-09-05 13:32:48 +01:00
Beto Dealmeida
34a79add04
feat: filter parameters from DB API (#21248) 2022-09-02 11:50:04 -07:00
Yongjie Zhao
f71ee2e7bc
fix: flaky test when sync metadata (#21306) 2022-09-02 17:22:49 +08:00
Zef Lin
c4b6fc5a6a
chore: migrate available_domains to api/v1 (#21173) 2022-09-01 16:38:02 +01:00
Daniel Vaz Gaspar
9fd752057e
feat: adds TLS certificate validation option for SMTP (#21272) 2022-09-01 10:51:34 +01: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
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
ʈᵃᵢ
04dd8d414d
fix(celery cache warmup): add auth and use warm_up_cache endpoint (#21076) 2022-08-30 09:24:24 -07:00
Beto Dealmeida
8772e2cdb3
fix: improve get_db_engine_spec_for_backend (#21171)
* fix: improve get_db_engine_spec_for_backend

* Fix tests

* Fix docs

* fix lint

* fix fallback

* Fix engine validation

* Fix test
2022-08-29 11:42:42 -07:00
Geido
f017f98b88
chore: E2E tests for the Drill to detail modal (#21187)
* Add example ECharts Dashboard

* [WIP] E2E test

* Add echarts interactions

* Lint

* DRY
2022-08-29 11:25:27 +03:00
Đặng Minh Dũng
ccb293a083
fix(Trino): create PrestoBaseEngineSpec base class to share common code between Trino and Presto (#21066)
* chore: create `PrestoBaseEngineSpec` class that share common functions between Presto and Trino

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* feat(Trino): support CertificateAuthentication

* chore(Presto): move `get_function_names` to `PrestoBaseEngineSpec`

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* chores(Presto): remove `is_readonly_query`

* feat(Trino): implement `extra_table_metadata`

* feat(Trino): specify `User-Agent`

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* fix: pylint

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* chores(Presto): move `PrestoBaseEngineSpec` to `presto.py`

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* fix(Presto): typing annotations

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-08-29 10:21:28 +03:00
Reese
16032ed3e2
feat: Virtual dataset duplication (#20309)
* Inital duplicate functionality

* Fix formatting

* Create dedicated duplicate API

* Make use of new API

* Make use of new api permissions

* Add integration tests for duplicating datasets

* Add licenses

* Fix linting errors

* Change confirm button to 'Duplicate'

* Fix HTTP status code and response

* Add missing import

* Use user id instead of user object

* Remove stray debug print

* Fix sqlite tests

* Specify type of extra

* Add frontend tests

* Add match statement to test
2022-08-26 16:07:56 -06:00
Bogdan
ed6212a1f9
Reimplement permissions fetching to do it in a single transaction (#21156)
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-23 18:45:39 -07:00
Yongjie Zhao
11bf7b9125
feat: generate label map on the backend (#21124) 2022-08-22 21:00:02 +08:00
Diego Medina
15b9f83150
chore: support trailing slashes in database api (#21123) 2022-08-22 15:15:04 +08:00
AAfghahi
dda1dcf8ee
feat: add header_data into emails (#20903)
* test sparkpost

* added logging info

* header function implementation

* added test

* daniel revisions

* daniel revision

* elizabeth review
2022-08-18 10:32:25 -04:00
Yongjie Zhao
1afcdfb9fa
fix: datetime value should be seconds in sqlite (#21113) 2022-08-18 11:42:58 +08:00
Bogdan
495a205dec
Memoize the common_bootstrap_payload (#21018)
Try patch

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-16 08:27:12 -07:00
Moriah Kreeger
83dd85166f
feat: add extension point for workspace home page (#21033)
* updates to allow insertion of workspace home sidescroll/table UI

* fix types

* fix User type import

* add welcome message to ui registry

* add extra fields to individual chart/query GET results (for workspace home required info)

* update list view card to support a subtitle

* add id to individual chart fetch

* update chart api test

* another test fix

* fix saved query test

* update extension types + insert point

* fix typing

* fix type name
2022-08-15 12:16:40 -07:00