Commit Graph

2207 Commits

Author SHA1 Message Date
Balthazar Rouberol afdf0389a3
fix(presto preview): re-enable schema previsualization for Trino/Presto table/schemas (#26782) 2024-05-13 15:16:12 -07:00
Daniel Vaz Gaspar 356a58d5f6
fix: jwt extended broken by flask bump (#28451) 2024-05-13 17:51:29 +01:00
Craig Rueda 89dbb9888c
chore(models): Adding encrypted field checks (#28436) 2024-05-13 09:29:52 -07:00
JUST.in DO IT 02478e5b95
feat(dashboard): Add metadata bar to the header (#27857) 2024-05-10 10:28:57 -07:00
Beto Dealmeida f29e1e4c29
feat: catalog support for Databricks native (#28394) 2024-05-09 17:41:15 -04:00
Vitor Avila 307ebeaa19
chore(Databricks): New Databricks driver (#28393) 2024-05-09 14:58:03 -04:00
Beto Dealmeida e6a85c5901
fix: export/import catalogs (#28408) 2024-05-09 14:42:03 -04:00
Beto Dealmeida ba2cf5dbbc
chore: unit tests for `catalog_access` (#28406) 2024-05-09 14:41:33 -04:00
Daniel Vaz Gaspar 9c065951e7
fix: tests on database, dataset, saved_queries apis (#28397) 2024-05-09 13:43:31 +01:00
Michael S. Molina 55f3b46f41
fix: Contribution percentages for ECharts plugins (#28368) 2024-05-08 15:54:21 -03:00
Vitor Avila 1bf04015c6
feat(reports): Set a minimum interval for each report's execution (#28176) 2024-05-07 18:28:12 -07:00
Maxime Beauchemin c618767c6b
fix: don't strip SQL comments in Explore (#28363) 2024-05-07 14:49:46 -07:00
John Bodley 467e612533
fix: Remedy logic for UpdateDatasetCommand uniqueness check (#28341) 2024-05-07 06:42:37 -07:00
Maxime Beauchemin c10cee3a39
fix: use pessimistic json encoder in SQL Lab (#28266) 2024-05-06 12:23:50 -07:00
John Bodley 27c93f438a
chore: Add Apache Spark Jinja template processor (#28335) 2024-05-06 09:24:25 -07:00
Beto Dealmeida e90246fd1f
feat(SIP-95): permissions for catalogs (#28317) 2024-05-06 11:41:58 -04:00
Daniel Vaz Gaspar 9a339f08a7
feat: new Columnar upload form and API (#28192) 2024-05-06 15:51:42 +01:00
John Bodley 27952e7057
fix: Ignore USE SQL keyword when determining SELECT statement (#28279) 2024-05-02 11:25:55 -07:00
Maxime Beauchemin 513852b7c3
fix: all_database_access should enable access to all datasets/charts/dashboards (#28205) 2024-05-02 09:25:14 -07:00
Maxime Beauchemin 3ac387bb66
chore: enable ruff's isort equivalent (#28267) 2024-04-30 18:29:49 -07:00
Beto Dealmeida fe37d914e5
fix: % replace in `values_for_column` (#28271) 2024-04-30 16:15:56 -07:00
John Bodley c5e7d870f0
fix(sql_parse): Provide more lenient logic when extracting latest[_sub]_partition (#28152) 2024-04-25 22:02:25 -07:00
Beto Dealmeida 6cf681df68
feat(SIP-95): new endpoint for table metadata (#28122) 2024-04-25 12:23:49 -04:00
Maxime Beauchemin 2d63722150
chore: set up ruff as a new linter/formatter (#28158) 2024-04-24 17:19:53 -07:00
John Bodley bc65c245fe
chore(tests): Remove unnecessary/problematic app contexts (#28159) 2024-04-24 13:46:35 -07:00
Daniel Vaz Gaspar de82d90b9c
chore: refactor file upload commands (#28164) 2024-04-23 08:42:19 +01:00
Maxime Beauchemin cfc440c56c
feat: improve event logging for queries + refactor (#27943)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2024-04-22 16:30:50 -07:00
Daniel Vaz Gaspar e465876ed4
feat: new Excel upload form and API (#28105) 2024-04-19 14:19:42 +01:00
John Bodley 2f11f66167
fix(sql_parse): Support Jinja format() filter when extracting latest[_sub]_partition (#28117) 2024-04-18 10:23:09 -07:00
Beto Dealmeida 68a982dfe6
feat(sip-95): new endpoint for extra table metadata (#28063) 2024-04-18 10:42:53 -04:00
Maxime Beauchemin e9c0ca545f
feat: Slack Avatar integration (#27849) 2024-04-16 08:40:27 -07:00
Maxime Beauchemin de9daf7ad9
chore: stabilize MySQL tests by aligning isolation levels (#28028) 2024-04-15 15:49:09 -07:00
Maxime Beauchemin c225e17a75
chore: consolidate the Superset python package metadata (#27884) 2024-04-15 14:44:47 -07:00
Guen Prawiroatmodjo 08aaebbf7c
feat(dbview): Add token request button to DuckDB and MotherDuck database modal (#27908)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2024-04-15 09:02:19 -04:00
Daniel Vaz Gaspar 54387b4589
feat: new CSV upload form and API (#27840) 2024-04-15 09:38:51 +01:00
Beto Dealmeida 99a1601aea
refactor: rename get_sqla_engine_with_context (#28012) 2024-04-12 13:31:05 -04:00
Antonio Rivero 6844735a45
fix(time_offset): improved LIMIT-handling in advanced analytics (#27934) 2024-04-12 00:54:21 +02:00
John Bodley 481a63da55
chore(tests): Remove ineffectual login (#27149) 2024-04-09 09:52:02 -07:00
Beto Dealmeida 9377227e06
chore(OAuth2): refactor for custom OAuth2 clients (#27880) 2024-04-05 12:17:39 -04:00
John Bodley 5ed48760fb
chore(sqllab): Do not strip comments when executing SQL statements (#27725) 2024-04-03 19:24:39 -07:00
John Bodley 30bc8f06dc
chore: Default to engine specification regarding using wildcard (#27843) 2024-04-03 09:09:37 -07:00
John Bodley c38529741e
chore(sql_parse): Provide more meaningful SQLGlot errors (#27858) 2024-04-03 07:10:52 -07:00
Beto Dealmeida 9022f5c519
feat(SIP-85): OAuth2 for databases (#27631) 2024-04-02 22:05:33 -04:00
John Bodley 5ab95aaf7d
chore(sql_parse): Strip leading/trailing whitespace in Jinja macro extraction (#27842) 2024-04-02 17:08:42 -07:00
Craig Rueda 8bdf457dfa
feat(db): Adding DB_SQLA_URI_VALIDATOR (#27847) 2024-04-02 09:00:32 -07:00
github-actions[bot] 0d0e47acf7
chore(🦾): bump python flask-session 0.5.0 -> 0.8.0 (#27751)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2024-04-01 20:00:42 -07:00
Michael S. Molina 356b0d8ee5
feat: Adds Heatmap chart migration logic (#27771) 2024-03-29 12:08:43 -03:00
Guen Prawiroatmodjo fcf90dffa8
feat(db_engine): Add custom_user_agent when connecting to MotherDuck (#27665) 2024-03-28 18:05:28 -07:00
John Bodley 3ae74d1f2d
fix: Provide more inclusive error handling for saved queries (#27644) 2024-03-26 16:22:14 -03:00
Maxime Beauchemin 12921e6ec3
chore(🤖): bump python "flask==2.3.3" (#27657) 2024-03-26 12:18:36 -07:00
John Bodley 28cbedb82f
fix: Leverage actual database for rendering Jinjarized SQL (#27646) 2024-03-27 08:12:25 +13:00
Vitor Avila d87422527b
feat(jinja): metric macro (#27582) 2024-03-25 15:07:17 +00:00
Jack 30b497e758
feat(alerts-reports): adding pdf filetype to email and slack reports (#27497) 2024-03-22 17:54:30 +01:00
Beto Dealmeida cd7972d05b
feat: support for KQL in `SQLScript` (#27522) 2024-03-22 12:48:20 -04:00
Kamil Gabryjelski 5083ca0e81
fix: Persist query params appended to permalink (#27601) 2024-03-22 10:24:31 +01:00
John Bodley b25dd0c055
fix(sql_parse): Ensure table extraction handles Jinja templating (#27470) 2024-03-22 13:39:28 +13:00
Sam Firke d4d8625ab8
fix(utils): fix off-by-one error in how rolling window's min_periods truncates dataframe (#27388) 2024-03-21 16:06:36 -06:00
Beto Dealmeida 72a41c1642
fix: sqlglot SQL Server (#27577) 2024-03-21 17:09:40 -04:00
Michael S. Molina 6e528426dd
feat: Adds option to disable drill to detail per database (#27536) 2024-03-21 15:51:09 -03:00
hlcianfagna fcceaf081c
fix(db_engine_specs): Update convert_dttm to work correctly with CrateDB (#27567) 2024-03-21 11:35:40 -07:00
Michael S. Molina 718cd64657
fix: Skips Hive tests that are blocking PRs (#27605) 2024-03-21 13:26:24 -03:00
Beto Dealmeida f274c4785d
fix: skip another Hive test (#27595) 2024-03-20 16:59:27 -04:00
Beto Dealmeida 5e8459bb91
fix: Hive integration test (#27523) 2024-03-20 13:55:35 -04:00
Beto Dealmeida 36290ce72f
fix: guest queries (#27566) 2024-03-19 11:20:52 -04:00
JUST.in DO IT f4bdcb5743
perf(sqllab): reduce bootstrap data delay by queries (#27488) 2024-03-18 12:52:23 -07:00
Beto Dealmeida 376bfd05bd
fix: pass valid SQL to SM (#27464) 2024-03-18 15:38:58 -04:00
Beto Dealmeida 36fd3c0bf8
feat: `improve _extract_tables_from_sql` (#26748) 2024-03-18 13:02:58 -04:00
Ville Brofeldt 7f19d296b1
fix(postprocessing): resample with holes (#27487) 2024-03-14 12:02:01 -07:00
Beto Dealmeida 26d8077e97
chore: improve SQL parsing (#26767) 2024-03-13 18:27:01 -04:00
Beto Dealmeida 735b895dd5
fix: check if guest user modified query (#27484) 2024-03-12 21:28:06 -04:00
Beto Dealmeida 6a7e5c2faf
chore: add unit test for `values_for_column` (#27469) 2024-03-12 12:40:48 -04:00
Geido 89e89de341
fix: SSH Tunnel configuration settings (#27186) 2024-03-11 16:56:54 +01:00
JUST.in DO IT 5107cc0fd9
fix(sqllab): Close already removed tab (#27391) 2024-03-06 08:59:56 -08:00
Vitor Avila 66bf70172f
fix(API): Updating assets via the API should preserve ownership configuration (#27364) 2024-03-06 16:40:41 +00:00
Daniel Vaz Gaspar a3d2e0bf44
fix: improve explore REST api validations (#27395) 2024-03-05 17:44:51 +00:00
Yongjie Zhao 2c00cc534c
feat: support to fetch multiple date time in time_range endpoint (#27370)
Co-authored-by: Yongjie Zhao <yongjie.zhao@burda-forward.de>
2024-03-04 11:50:05 +01:00
Yongjie Zhao e89ec4d593
feat: datediff in datetime_parser (#27368)
Co-authored-by: Yongjie Zhao <yongjie.zhao@burda-forward.de>
2024-03-04 11:49:48 +01:00
Michael S. Molina 8a46694ce9
fix: Missing SQL Lab permission (#27361) 2024-03-01 13:08:39 -05:00
Vitor Avila 9beee92da1
feat(logs context): Adding dashboard id to logs context (#27298) 2024-02-29 13:28:54 -08:00
Jongwoo Han 234a139fb2
chore: Replace deprecated command with environment file (#27304) 2024-02-29 15:16:20 +00:00
Vitor Avila 1d571ec9e6
feat(jinja): current_user_email macro (#27197) 2024-02-23 15:28:30 -08:00
John Bodley 2c564817f1
fix(sqlglot): Address regressions introduced in #26476 (#27217) 2024-02-24 08:47:36 +13:00
Beto Dealmeida c54fbe6e96
fix: no limit in SELECT * for TOP dbs (#27215) 2024-02-22 17:01:29 -05:00
Antonio Rivero 127df24c08
refactor(plugins): Time Comparison Utils (#27145) 2024-02-22 14:43:43 +01:00
Stepan 2e4f6d3f38
perf(export): export generates unnecessary files content (#26765) 2024-02-21 16:28:38 -07:00
Daniel Vaz Gaspar ceda51617b
fix: CSRF exempt unit_tests (#27168) 2024-02-20 16:18:30 +00:00
Daniel Vaz Gaspar 3eedcb4a2f
fix: unlock and bump werkzeug (#27164) 2024-02-20 10:42:32 +00:00
John Bodley 8749d9f386
chore(tests): Remove unnecessary explicit Flask-SQLAlchemy session expunges (#27136) 2024-02-17 07:05:22 +13:00
Geido 7c7deb960d
fix: ID param for DELETE ssh_tunnel endpoint (#27130)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2024-02-15 22:09:51 +02:00
Daniel Vaz Gaspar c96e38c07c
fix: removes old deprecated sqllab endpoints (#27117) 2024-02-15 15:58:48 +00:00
lodu 9514300da5
fix(docker): *-dev tags target right stage from Dockerfile (#27116) 2024-02-14 16:58:47 -08:00
John Bodley 847ed3f5b0
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) (#26909) 2024-02-14 06:20:15 +13:00
Geido 595c6ce3e6
chore: Add granular permissions for actions in Dashboard (#27029) 2024-02-09 16:25:32 +02:00
Maxime Beauchemin 13915bbb54
feat(docker): allow for docker release builds to be multi-platform (#27055) 2024-02-08 20:58:36 -08:00
Beto Dealmeida cf84f36a6c
chore: prevent prophet from logging non-errors as errors (#27053) 2024-02-08 17:33:07 -05:00
Vitor Avila 01e2f8ace3
fix(security manager): Users should not have access to all draft dashboards (#27015) 2024-02-07 09:20:41 -07:00
Geido d8e26cfff1
chore: Remove database ID dependency for SSH Tunnel creation (#26989) 2024-02-07 18:03:19 +02:00
Daniel Vaz Gaspar 5b34395689
fix: chart import validation (#26993) 2024-02-06 12:14:02 +00:00
Beto Dealmeida d8a9847503
fix: column values with NaN (#26946) 2024-02-02 12:56:02 -05:00
Maxime Beauchemin 6b0d8ed265
feat: docker image tags documentation + tweaks (#26923)
Co-authored-by: Sam Firke <sfirke@users.noreply.github.com>
2024-02-01 18:04:23 -08:00
Usiel Riedl 56069b05f9
fix(cache): remove unused webserver config & handle trailing slashes (#22849) 2024-02-01 10:34:07 -05:00
Daniel Vaz Gaspar 36ce9e26f0
fix: dashboard import validation (#26887) 2024-02-01 10:09:59 +00:00
Michael S. Molina 8a2f7d378a
refactor: Removes the deprecated GENERIC_CHART_AXES feature flag (#26372) 2024-01-31 09:45:57 -05:00
Maxime Beauchemin 4b77129cc9
fix(docker): improve docker tags to be cleared and avoid conflicts (#26787) 2024-01-30 23:03:25 -08:00
Erich 484901f483
fix(pinot): typo in the name for epoch_ms_to_dttm (#26906) 2024-01-30 20:49:55 -08:00
Evan Rusackas 785e832e8d
chore(actions): generate FOSSA report on master, and ALWAYS check for… (#26857) 2024-01-29 16:18:50 -07:00
Elizabeth Thompson 78dc6ce6c9
feat: add chart id and dataset id to global logs (#26443) 2024-01-29 10:03:24 -08:00
Beto Dealmeida fade4806ce
fix: prevent guest user from modifying metrics (#26749) 2024-01-29 12:59:33 -05:00
Geido 6c029ce2e8
chore: Add permission to view and drill on Dashboard context (#26798) 2024-01-29 18:28:10 +01:00
Vitor Avila 4f56f5ee84
fix(tags): Filter system tags from the tags list (#26701) 2024-01-26 12:00:27 -08:00
Michael S. Molina 5e633d2bb0
fix: Row limit hardcoded (#26807) 2024-01-26 08:57:21 -05:00
Vitor Avila 4592dd13fa
fix(BigQuery): Support special characters in column/metric names used in ORDER BY (#26461) 2024-01-23 20:26:53 -07:00
mapledan c2ab9bba29
fix: change the validation logic for python_date_format (#25510)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2024-01-24 10:44:36 +13:00
Maxime Beauchemin 363a8e6b07
build: Parallelize the CI image builds (continued) (#26698) 2024-01-23 13:44:07 -08:00
Vitor Avila 5eb4e82d27
fix(db2): Improving support for ibm db2 connections (#26744) 2024-01-22 17:05:58 -05:00
Maxime Beauchemin f46121dba9
chore: silence SECRET_KEY warning when running tests (#26703) 2024-01-22 09:20:48 -08:00
Beto Dealmeida c0b57bd1c3
feat(sqlparse): improve table parsing (#26476) 2024-01-22 11:16:50 -05:00
Maxime Beauchemin e86d4d3c92
fix(import): only import FORMULA annotations (#26652) 2024-01-19 15:13:18 -08:00
Maxime Beauchemin 1283803844
chore: add unique constraint to tagged_objects (#26654) 2024-01-19 15:12:54 -08:00
Michael S. Molina 69b57016b3
refactor: Removes the deprecated DASHBOARD_NATIVE_FILTERS feature flag (#26329) 2024-01-19 17:07:38 -03:00
Michael S. Molina f63e66be01
refactor: Removes the deprecated VERSIONED_EXPORT feature flag (#26347) 2024-01-19 15:21:14 -03:00
Michael S. Molina a84d86fe26
refactor: Removes the deprecated redirect endpoint (#26377) 2024-01-19 11:39:04 -03:00
Michael S. Molina d9a3c3e1dd
refactor: Removes the Filter Box code (#26328)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2024-01-19 09:54:53 -03:00
Michael S. Molina 8f8c435d7c
refactor: Removes the Profile feature (#26462) 2024-01-18 15:36:40 -03:00
Michael S. Molina cf20b3439c
refactor: Removes the deprecated ENABLE_EXPLORE_JSON_CSRF_PROTECTION feature flag (#26344) 2024-01-18 10:29:51 -03:00
John Bodley df79522160
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (#26200) 2024-01-18 08:27:29 +13:00
Igor Khrol 80a6e25a98
fix: Avoid 500 if end users write bad SQL (#26638) 2024-01-18 06:48:50 +13:00
Daniel Vaz Gaspar 8e19f59dd2
fix: create virtual dataset validation (#26625) 2024-01-17 09:11:15 +00:00
John Bodley 7af82ae87d
refactor: Ensure Celery leverages the Flask-SQLAlchemy session (#26186) 2024-01-17 17:06:22 +13:00
Elizabeth Thompson aaa4a7b371
feat: global logs context (#26418) 2024-01-16 14:44:30 -08:00
Michael S. Molina 9387c4c16f
refactor: Removes the filters set feature (#26369) 2024-01-16 12:42:35 -03:00
Beto Dealmeida e36c014290
fix(database): allow filtering by UUID (#26469) 2024-01-12 11:18:39 -05:00
Igor Khrol 3daa038f5f
fix: Trino - handle table not found in SQLLab (#26355)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2024-01-11 13:37:18 +13:00
Ville Brofeldt ff025b78f3
fix(post-processing): handle missing values in cumulative operator (#26429) 2024-01-09 08:56:19 -03:00
Zef Lin efdeb9df05
feat(embedded+async queries): support async queries to work with embedded guest user (#26332) 2024-01-08 17:11:45 -08:00
Ville Brofeldt 219c4a14b3
fix(plugin-chart-echarts): support forced categorical x-axis (#26404) 2024-01-08 12:04:22 -08:00
John Bodley 77bd7cf1c6
chore: Reenable SQLite tests which leverage foreign key constraints et al. (#24605) 2024-01-09 06:33:47 +13:00
Lily Kuang 3391e29093
fix(tagging): adding tags containing a “:” to dashboards (#26324)
will add more tests in a separated PR
2023-12-22 10:30:08 -08:00
gaurav7261 60abf7e2af
fix(redshift): convert_dttm method for redshift dataset and tests (#26283)
Co-authored-by: GauravM <gaurav@ip-192-168-0-100.ap-south-1.compute.internal>
2023-12-21 09:55:34 +13:00
John Bodley aafb54d042
chore: Ensure Mixins are ordered according to the MRO (#26288) 2023-12-16 14:11:58 +13:00
Vitor Avila 3a6fe9f105
chore(tests): Add tests to the column denormalization flow (#26220) 2023-12-12 14:34:50 -07:00
Jack Fragassi 386d4e0541
fix(embedded): Hide sensitive payload data from guest users (#25878) 2023-12-04 14:52:59 -08:00
Ville Brofeldt 0b477e3f7c
chore: harmonize and clean up list views (#25961) 2023-12-04 11:51:18 -08:00
Michael S. Molina 3ab27c6ec9
chore: Clean up the examples dashboards (#26158) 2023-12-04 16:05:08 -03:00
Ross Mabbett b7a9c220e1
fix(Alerts/Reports): allow use of ";" separator in slack recipient entry (#25894)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-12-01 16:32:08 -08:00
Vitor Avila c033ca959d
fix(database-import): Support importing a DB connection with a version set (#26116) 2023-12-01 16:20:27 -05:00
Hugh A. Miles II ee308fbc64
chore(tags): Allow for lookup via ids vs. name in the API (#25996) 2023-11-29 10:59:59 -08:00
Ville Brofeldt 91a8b69d36
fix: flaky test_explore_json_async test v2 (#26106) 2023-11-28 10:21:13 -03:00
John Bodley 07bcfa9b5f
chore(command): Organize Commands according to SIP-92 (#25850) 2023-11-22 16:55:54 -03:00
Michael S. Molina 2b88225ee1
fix: Flaky test_explore_json_async test (#26059)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-22 09:11:09 -03:00
John Bodley 843c7ab58a
chore: Allow only iterables for BaseDAO.delete() (#25844) 2023-11-22 08:52:30 -03:00
Jiwen liu 97121465dd
feat: Add Apache Doris support (#24714)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-11-21 12:42:10 -07:00
John Bodley 07551dc3d4
chore(connector): Cleanup base models and views according to SIP-92 (#24773) 2023-11-21 10:11:50 -08:00
Michael S. Molina 68e5e1afea
feat: Add Bubble chart migration logic (#26033)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-21 15:05:41 -03:00
John Bodley dd58b31cc4
chore(sqlalchemy): Remove erroneous SQLAlchemy ORM session.merge operations (#24776) 2023-11-20 17:25:41 -08:00
Rob Moore 8d73ab9955
feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs (#25809) 2023-11-20 10:59:10 -07:00
Gnought 2499a1cf5a
chore: cleanup unused code in pandas 2.0+ (#26013) 2023-11-18 19:17:15 -08:00
John Bodley bece2ea3e4
chore: Remove unnecessary autoflush from tagging and key/value workflows (#26009) 2023-11-16 19:04:04 -08:00
Michael S. Molina 97d89d7340
feat: Adds Area chart migration logic (#25952) 2023-11-16 14:28:09 -03:00
Sebastian Liebscher d20b60edd4
chore: Remove more redundant code in utils/core (#25986) 2023-11-15 15:42:48 -08:00
Sebastian Liebscher c3249dd97d
test: Reduce flaky integration tests triggered by `test_get_tag` (#25958) 2023-11-13 08:40:52 -08:00
John Bodley 10205d0b50
chore: Singularize tag models (#25819) 2023-11-09 08:22:08 -08:00
Beto Dealmeida 2bd611916d
feat: safer insert RLS (#20323) 2023-11-08 22:52:25 -05:00
Elizabeth Thompson 1d0b86ae94
chore: add more migration tests (#25262) 2023-11-07 17:06:23 -08:00
Beto Dealmeida 80caba3fd1
feat: method for dynamic `allows_alias_in_select` (#25882) 2023-11-07 14:28:28 -05:00
Hugh A. Miles II 80cf710dbe
fix: add validation on tag name to have name + onDelete refresh list view (#25831)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-11-04 10:09:54 -04:00
Beto Dealmeida 60e1526f6a
fix: remove `update_charts_owners` (#25843) 2023-11-03 13:06:31 -04:00
mapledan ae619b169c
fix: the temporal x-axis results in a none time_range. (#25429)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-11-03 09:57:47 -07:00
JUST.in DO IT 24a2213445
feat(sqllab): Format sql (#25344) 2023-11-03 09:38:11 -07:00
Jeremy 5690946b1a
feat: support databend for superset (#23308) 2023-11-02 12:00:11 -07:00
John Bodley 1e37f0b417
chore(celery): Cleanup config and async query specifications (#25314) 2023-10-31 10:17:51 -07:00
John Bodley ae703b48fc
fix: Revert "fix: Apply normalization to all dttm columns (#25147)" (#25801) 2023-10-31 10:21:47 -03:00
Beto Dealmeida 5659c87ed2
fix: DB-specific quoting in Jinja macro (#25779) 2023-10-30 09:50:44 -04:00
Beto Dealmeida c7f8d11a7e
fix: dataset update uniqueness (#25756) 2023-10-25 16:49:32 -04:00
Mikel Vuka 9972ac6908
refactor: use DATE_TRUNC for Elasticsearch time grain (#25717)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-20 10:05:05 -07:00
Rob Moore 4e94fc4cff
fix(sqllab): reinstate "Force trino client async execution" (#25680) 2023-10-19 16:38:13 +03:00
Mikel Vuka e7cdfeeb2c
feat: Add week time grain for Elasticsearch datasets (#25683)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-18 19:39:16 -07:00
Elizabeth Thompson 26498fc099
chore: add latest-official docker tag (#25322) 2023-10-18 16:59:30 -07:00
Daniel Vaz Gaspar f473d13d0d
fix: improve upload ZIP file validation (#25658) 2023-10-17 18:28:09 +01:00
Igor Khrol 99f79f5143
fix: avoid 500 errors with SQLLAB_BACKEND_PERSISTENCE (#25553) 2023-10-13 13:30:19 -06:00
Hugh A. Miles II 9074f72959
fix(tags): Polish + Better messaging for skipped tags with bad permissions (#25578) 2023-10-13 13:13:59 -04:00
JUST.in DO IT b370c66308
fix(sqllab): template validation error within comments (#25626) 2023-10-13 11:07:54 -06:00
Ville Brofeldt e56e0de458
fix: revert fix(sqllab): Force trino client async execution (#24859) (#25541) 2023-10-13 11:58:20 +00:00
Rui Zhao be3714e131
fix(Presto): catch DatabaseError when testing Presto views (#25559)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2023-10-11 11:31:07 -06:00
Daniel Vaz Gaspar 549abb542b
fix: REST API CSRF exempt list (#25590) 2023-10-10 12:53:37 +01:00
Kamil Gabryjelski 58fcd292a9
fix: Apply normalization to all dttm columns (#25147) 2023-10-06 09:47:00 -07:00
Hugh A. Miles II dcfebfce9d
fix(tags): fix clears delete on Tags Modal (#25470)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2023-10-05 13:37:53 -04:00
JUST.in DO IT 5ab1e7eae4
feat(sqllab): SPA migration (#25151) 2023-10-04 15:21:41 -04:00
Kamil Gabryjelski ff95d0face
feat: Implement using Playwright for taking screenshots in reports (#25247) 2023-10-04 06:51:58 +02:00
Beto Dealmeida 3e63c82ecc
feat: generic marshmallow error component (#25303) 2023-10-03 11:35:28 -07:00
Craig Rueda db7f5fed31
chore(async): Initial Refactoring of Global Async Queries (#25466) 2023-10-02 17:22:07 -07:00
John Bodley 36ed617090
fix: Address Mypy issue which is causing CI to fail (#25494) 2023-10-02 14:32:21 -07:00
Ville Brofeldt 7eab59af51
fix(mysql): handle string typed decimal results (#24241) 2023-09-29 10:48:08 -07:00
Beto Dealmeida a4d8f36863
fix: chart import (#25425) 2023-09-26 19:31:34 -07:00
Beto Dealmeida 5ebcd2a5f6
fix: datetime with timezone excel export (#25318)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-09-21 13:11:59 -07:00
Craig Rueda 515452c7e2
chore(async): Making create app configurable (#25346) 2023-09-20 10:04:58 -07:00
JUST.in DO IT 7aaae06c9d
fix(sqllab): invalid persisted tab state (#25308) 2023-09-19 15:58:34 -07:00
Jack Fragassi f672d5da5c
fix: Improve the reliability of alerts & reports (#25239) 2023-09-19 09:40:13 -07:00
Hugh A. Miles II 090ae64dfa
feat(tag): fast follow for Tags flatten api + update client with generator + some bug fixes (#25309) 2023-09-18 11:56:08 -07:00
Jack Fragassi fba66c6250
fix: Use RLS clause instead of ID for cache key (#25229) 2023-09-18 11:37:35 -07:00
Zef Lin c8c94825ce
fix(chart): Supporting custom SQL as temporal x-axis column with filter (#25126)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2023-09-18 11:30:52 -07:00
Stepan 14c324950a
feat(datasource): Checkbox for always filtering main dttm in datasource (#25204)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-09-14 15:57:08 -07:00
Beto Dealmeida bb002d6147
fix: is_select with UNION (#25290) 2023-09-14 09:05:19 -07:00
Hugh A. Miles II 55ac01b675
feat: Tags ListView Page (#24964) 2023-09-12 14:48:07 +02:00
Beto Dealmeida 749274e635
fix: granularity_sqla and GENERIC_CHART_AXES (#25213) 2023-09-06 20:09:15 -07:00
Rob Moore cfda30c81a
fix(sqllab): Force trino client async execution (#24859) 2023-09-06 14:20:26 -07:00
Beto Dealmeida 2f68010729
fix: `is_select` (#25189) 2023-09-06 11:54:25 -07:00
Ethan M Lewis 321d968504
fix: add format for timestamp in crdb to correctly use times values (#24711)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-31 10:23:32 -07:00
Michael S. Molina 9df1b26654
fix: Bumps Flask Caching to fix RCE vulnerability (#25090) 2023-08-31 08:44:48 -03:00
Sebastian Liebscher e585db85b6
chore: use contextlib.surpress instead of passing on error (#24896)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-29 10:09:01 -06:00
Jack Fragassi 2b8d8da22a
fix: Allow embedded guest user datasource access with dashboard context (#25081) 2023-08-28 09:48:21 -07:00
Jack Fragassi b240b795b5
fix(assets import): Ensure old datasource ids are not referenced in imported charts (#25086) 2023-08-28 09:47:19 -07:00
Erich c2a21d2da0
refactor(pinot): The `python_date_format` for a temporal column was not being passed to `get_timestamp_expr` (#24942) 2023-08-27 18:46:39 +02:00
Hugh A. Miles II 69fb309ec3
feat: Update Tags CRUD API (#24839) 2023-08-25 21:16:35 +02:00
Lily Kuang 6ac906f388
chore: remove CssTemplate and Annotation access from gamma role (#24826) 2023-08-24 16:39:56 -07:00
Daniel Vaz Gaspar a9efd4b2e3
fix: dataset safe URL for explore_url (#24686) 2023-08-23 09:31:44 -03:00
John Bodley 60889d27ed
fix: Native filter dashboard RBAC aware dataset permission (#25029) 2023-08-22 09:58:43 -07:00
Craig Rueda c7a3bf0f4b
chore(tests): Adding missing __init__.py files to various test packages (#25045) 2023-08-21 12:39:31 -07:00
Yuval Moshe 66eabc253f
fix(mssql): avoid trying to return a resultset for DML queries with not resultset (#24999) 2023-08-21 08:33:26 -03:00
Daniel Vaz Gaspar 357986103b
fix: CTE queries with non-SELECT statements (#25014) 2023-08-19 15:49:15 +01:00
Beto Dealmeida 6b660c86a4
feat: a native SQLAlchemy dialect for Superset (#14225) 2023-08-18 12:21:36 -07:00
Beto Dealmeida bbf0aaec5d
chore: rename `get_iterable` (#24994) 2023-08-18 11:59:43 -07:00
John Bodley 3f93755be2
fix: Address regression introduced in #24789 (#25008) 2023-08-18 09:27:34 -07:00
Jack Fragassi 258e56285a
fix: Don't let users see dashboards only because it's favorited (#24991) 2023-08-17 17:35:37 -07:00
Jack Fragassi 4a59a265fb
chore: Update DAOs to use singular deletion method instead of bulk (#24894) 2023-08-17 17:00:33 -07:00
Michael S. Molina 712e1f760c
feat: Moves Profile to Single Page App (SPA) (#25001) 2023-08-17 11:01:24 -03:00
JUST.in DO IT 10abb68288
feat(sqllab): Add /sqllab endpoint to the v1 api (#24983) 2023-08-16 16:09:10 -07:00
Ville Brofeldt f94dc49fd0
fix(snowflake): opt-in denormalization of column names (#24982) 2023-08-15 16:32:54 -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
Michael S. Molina be11556799
feat: Adds options to show subtotals in Pivot Table (#24960) 2023-08-14 09:20:32 -03:00
JUST.in DO IT a44c99899a
chore(sqllab): Relocate get bootstrap data logic (#24936) 2023-08-11 13:23:07 -07:00
John Bodley ed0d288ccd
chore(dao): Replace save/overwrite with create/update respectively (#24467) 2023-08-11 12:55:39 -07:00
Beto Dealmeida a3d72e0ec7
fix(gsheets): add column names on file upload (#24963) 2023-08-11 12:51:21 -07:00
Beto Dealmeida 4bc46003b5
chore: rate limit requests (#24324) 2023-08-11 09:35:31 -07:00
Beto Dealmeida f5ed4072e4
feat(gsheets): file upload (#24921) 2023-08-11 06:35:00 -07:00
Beto Dealmeida 6f24a4e7a8
fix: calls to `_get_sqla_engine` (#24953) 2023-08-11 12:54:01 +02:00
Beto Dealmeida aca006f38b
fix: timezone issue in Pandas 2 (#24955) 2023-08-11 00:25:33 -07:00
Beto Dealmeida 41ca4a00b9
fix: `to_datetime` in Pandas 2 (#24952) 2023-08-10 19:32:15 -07:00
John Bodley 94c595093b
chore: Add explicit ON DELETE CASCADE for dashboard_slices (#24938) 2023-08-10 10:56:11 -03:00
Beto Dealmeida 9c54280d85
feat: add MotherDuck DB engine spec (#24934) 2023-08-09 16:42:14 -07:00
John Bodley f6c3f0cbbb
fix: Dashboard aware RBAC "Save as" menu item (#24806) 2023-08-09 13:37:52 -07:00
John Bodley 5522facdc6
chore: Refactor dashboard security access (#24804) 2023-08-09 09:25:58 -07:00
Beto Dealmeida 85a7d5cb3e
feat: improve SQLite DB engine spec (#24909) 2023-08-07 15:59:56 -07:00
Jack Fragassi 07992c11e7
fix: Migration to fix out of sync schema_perm in charts and datasets (#24884) 2023-08-07 09:34:47 -07:00
John Bodley 7397ab36f2
fix: Dashboard aware RBAC dataset permission (#24789) 2023-08-04 11:53:34 -07:00
John Bodley 9f7f2c60d6
fix: revert "fix(embedded): adding logic to check dataset used by filters (#24808) (#24892) 2023-08-04 11:14:57 -07:00
Elizabeth Thompson d23b20ea75
chore: add talisman env var to config (#24774) 2023-08-04 09:04:14 -07:00
Vitor Avila 7f9b0380e0
fix(embedded): adding logic to check dataset used by filters (#24808) 2023-07-31 14:10:57 -07:00
EugeneTorap 5f103072b0
fix: Python3.11 (str, Enum) issue (#24803) 2023-07-31 09:04:09 -07:00
Stepan 64ced60f62
fix(datasets): give possibility to add dataset with slashes in name (#24796) 2023-07-28 14:33:08 -03:00