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
Ville Brofeldt
5113b01031
feat(trino): add query cancellation ( #21035 )
2022-08-12 07:48:29 +03:00
Hugh A. Miles II
e13c5b2b7b
fix: take form_data reference for metrics for pivot_v2 table reports ( #21029 )
...
* take form_data reference for form_data
* better
* remove comments
* remove comments
* Update superset/charts/post_processing.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* add test
* test
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-08-11 12:08:40 -04:00
EugeneTorap
a2b21b55be
fix: Validate required fields in sql_json API ( #21003 )
...
* fix: Validate required params for sql_json API
* Test required params in sql_json API
* Refactoring: use marshmallow Schema for validation sql_json API
* Update SqlJsonPayloadSchema
* Update SqlJsonPayloadSchema
* Refactoring
* Refactoring
* Refactoring
2022-08-11 23:37:53 +08:00
Elizabeth Thompson
7445eab5a2
add test for tab state ( #20949 )
2022-08-10 16:45:31 -04:00
Bogdan
17b58037f8
perf: Implement model specific lookups by id to improve performance ( #20974 )
...
* Implement model specific lookups by id to improve performance
* Address comments e.g. better variable names and test cleanup
* commit after cleanup
* even better name and test cleanup via rollback
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-09 09:59:31 -07:00
Beto Dealmeida
bb3871ddaf
feat: per-db add metrics ( #20990 )
...
* feat: per-db add metrics
* Add unit tests
2022-08-08 12:07:16 -07:00
Yongjie Zhao
802b69f97b
feat: supports mulitple filters in samples endpoint ( #21008 )
2022-08-08 22:42:14 +08:00
Beto Dealmeida
7e501cd816
fix: BigQuery get_parameters_from_uri ( #20966 )
2022-08-03 17:27:40 -07:00
Jesse Yang
7e836e9b04
test: autouse app_context in unit tests ( #20911 )
2022-08-02 15:42:50 -07:00
Diego Medina
9291ad5d4c
fix: Change dataset name affect data access role set to this dataset ( #20574 )
2022-08-02 14:06:53 -06:00
Daniel Vaz Gaspar
bfd2a3d79f
fix: database permissions on update and delete (avoid orphaned perms) ( #20081 )
...
* fix: database permissions on update and delete (avoid orphaned perms)
* fix event transaction
* fix test
* fix lint
* update datasource access permissions
* add tests
* fix import
* fix tests
* update slice and dataset perms also
* fix lint
* fix tests
* fix lint
* fix lint
* add test for edge case, small refactor
* add test for edge case, small refactor
* improve code
* fix lint
2022-08-02 18:28:46 +01:00
Hugh A. Miles II
bc435e08d0
fix: overwrite update override columns on PUT /dataset ( #20862 )
...
* update override columns
* save
* fix overwrite with session.flush
* write test
* write test
* layup
* address concerns
* address concerns
2022-07-29 21:51:35 -04:00
Jesse Yang
e739ff5076
feat: allow more HTML tags in report description ( #20908 )
2022-07-29 08:27:39 -07:00
Yongjie Zhao
718bc3062e
fix: invalid metric should raise an exception ( #20882 )
2022-07-28 08:15:43 +08:00
Jesse Yang
77db0651d8
feat(sql lab): display presto and trino tracking url ( #20799 )
2022-07-26 20:20:08 -07:00
Elizabeth Thompson
cd578d2865
add having_druid back into the schema ( #20879 )
2022-07-26 17:54:46 -07:00
Jesse Yang
4d192e6e4d
feat(report): capture dashboard reports in specific states ( #20552 )
2022-07-26 17:01:56 -07:00
Jesse Yang
6e6d4e3169
test: suppress unnecessary fab and sqla logs ( #20870 )
2022-07-26 10:36:24 -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
Yongjie Zhao
f011abae2b
feat: the samples endpoint supports filters and pagination ( #20683 )
2022-07-22 20:14:42 +08:00
Hugh A. Miles II
84b852c457
fix: properly set owners
to Sqlatable.owners_data inside payload ( #20794 )
...
* properly set owners_data for sqlatabl
* fix test
2022-07-20 14:56:08 -04:00
Cody Leff
84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation ( #20673 )
...
* Update explore URLs.
* More URL fixes.
* Make frontend accept true/false query params case-insensitively.
* Fix URL mistake.
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
John Bodley
8c0ac9017f
fix: Presto _show_columns return type ( #20757 )
2022-07-19 09:52:22 -07:00
Jesse Yang
e2d3ea831a
fix(db): use paginated_update for area chart migration ( #20761 )
2022-07-19 07:20:46 -07:00
Beto Dealmeida
e60083b45b
chore: upgrade SQLAlchemy to 1.4 ( #19890 )
...
* chore: upgrade SQLAlchemy
* Convert integration test to unit test
* Fix SQLite
* Update method names/docstrings
* Skip test
* Fix SQLite
2022-07-18 15:21:38 -07:00
Elizabeth Thompson
bbaa4cc65d
use existing row when id is found ( #20661 )
2022-07-16 00:00:39 -07: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
Elizabeth Thompson
c2be54c335
fix: pandas bug when data is blank on post-processing ( #20629 )
...
* fix pandas bug when data is blank on post-processing
* account for multiple queries when data is blank
2022-07-08 16:33:53 -07:00
AAfghahi
0ce0c6e1eb
chore: removing Druid from front- and back- end ( #20338 )
...
* first pass at removing native Druid nosql
* removing having_druid
* addressing comments, linting
* fixed all tests
* addressing comments
* redirected to ui-core TimeGranularity type
* query form metric linting
* fixed broken chart type
* implementing feedback
2022-07-08 17:57:03 +02:00
Yongjie Zhao
4e6e87f62e
feat: Area viz migration ( #20359 )
2022-07-08 19:56:03 +08: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
Smart-Codi
e7b965a3b2
fix: Bad date type in email text report for table chart ( #20119 )
...
* fix bad date type in email text report for table chart
* fix test, pylint issue
* add test case for date type
2022-07-07 11:31:50 -06:00
Yongjie Zhao
7626c31372
feat: TreeMap migration ( #20346 )
2022-07-07 19:37:18 +08:00
Yongjie Zhao
414cc99ca2
fix: datetime.data in series ( #20618 )
2022-07-07 09:33:44 +08:00
Reese
f9109583ce
fix: Allow dataset owners to explore their datasets ( #20382 )
...
* fix: Allow dataset owners to explore their datasets
* Re-order imports
* Give owners security manager permissions to their datasets
* Update test suite
* Add SqlaTable to is_owner types
* Add owners to datasource mock
* Fix VSCode import error
* Fix merge error
2022-07-06 11:27:50 -03:00
Daniel Vaz Gaspar
f38dd1d42d
feat: add hooks on set_perm for new data permissions ( #20600 )
...
* feat: add hooks on set_perm for new data permissions
* fix lint
2022-07-06 09:54:18 +01:00
Rui Zhao
818962cc89
fix(embedded): Retry when executing alert queries to avoid sending transient errors to users as alert failure notifications ( #20419 )
...
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-07-05 13:23:05 -07:00
Michael S. Molina
662bab1e6d
feat: Renders Explore in SPA ( #20572 )
...
* feat: Renders Explore in SPA
* Adds permalink support
* Replaces navigation from Welcome page
* Fix initializing feature flags
* Remove redundant import
* Adds saveSlice workaround
* Fixes paths
* Fixes lint error
* Fixes tests
* Fix url to explore from Datasets view
* Fix explore page height
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-05 16:58:09 -03:00
John Bodley
94b3d2f0f0
refactor: Deprecate ensure_user_is_set in favor of override_user ( #20502 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:57:40 -07:00
John Bodley
ad308fbde2
chore(rls): Remove passing global username ( #20344 )
...
* chore(rls): Remove passing global username
* Update manager.py
* Update manager.py
* Update manager.py
* Update manager.py
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:51:24 -07:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function ( #20582 )
2022-07-01 19:17:55 +08:00
Jesse Yang
cadd259788
feat: save active tabs in dashboard permalink ( #19983 )
2022-06-29 09:43:52 -07:00
John Bodley
3483446c28
refactor: Cleanup user get_id/get_user_id ( #20492 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-24 17:57:04 -07:00
Michael S. Molina
20163361b9
feat: Adds the /explore endpoint to the v1 API ( #20399 )
...
* feat: Adds the /explore endpoint to the v1 API
* Fixes pylint errors
* Fixes tests
* Changes the tests logic
* Removes ABC reference
* Improves indentation
* Addresses review comments
* Rebases code
* Improves dataset and slice assertions
* Fixes tests
* Removes schema and table name assertions
* Removes fixed IDs
* Fixes datasource ID
2022-06-24 08:23:30 -03:00
Elizabeth Thompson
44f0b511dd
remove autoflush for queries during dual write ( #20460 )
2022-06-23 14:50:30 -07:00
Beto Dealmeida
f3b289d3c3
fix: ensure column name in description is string ( #20340 )
...
* fix: ensure column name in description is string
* Add unit test
2022-06-21 10:10:46 -03: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
Daniel Vaz Gaspar
60eb1094a4
feat: add name, description and non null tables to RLS ( #20432 )
...
* feat: add name, description and non null tables to RLS
* add validation
* add and fix tests
* fix sqlite migration
* improve default value for name
2022-06-20 13:52:05 +01:00
John Bodley
8b0bee5e8b
[fbprophet] Fix frequencies ( #20326 )
2022-06-19 21:53:09 -07:00
Lily Kuang
ab9f72f1a1
fix(embedded): CSV download for chart ( #20261 )
...
* move postForm to superset client
* lint
* fix lint
* fix type
* update tests
* add tests
* add test for form submit
* add test for request form
* lint
* fix test
* fix tests
* more tests
* more tests
* test
* lint
* more test for postForm
* lint
* Update superset-frontend/packages/superset-ui-core/test/connection/SupersetClientClass.test.ts
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
* update tests
* remove useless test
* make test cover happy
* make test cover happy
* make test cover happy
* make codecov happy
* make codecov happy
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-06-17 20:01:08 -07:00
mohittt8
41bbf62e58
fix(presto): use correct timespec for presto ( #20333 )
2022-06-16 16:43:17 -07:00
Beto Dealmeida
998624b1a5
feat: allow setting db UUID ( #20412 )
...
* WIP
* feat: allow passing UUID when creating a DB
* Test
* Fix field
2022-06-16 15:53:59 -07:00
Elizabeth Thompson
12436e47c9
fix key error on permalink fetch for old permalinks ( #20414 )
2022-06-16 15:51:17 -07:00