Commit Graph

813 Commits

Author SHA1 Message Date
John Bodley 7af82ae87d
refactor: Ensure Celery leverages the Flask-SQLAlchemy session (#26186) 2024-01-17 17:06:22 +13:00
Michael S. Molina 9387c4c16f
refactor: Removes the filters set feature (#26369) 2024-01-16 12:42:35 -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
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
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
John Bodley 07551dc3d4
chore(connector): Cleanup base models and views according to SIP-92 (#24773) 2023-11-21 10:11:50 -08:00
John Bodley dd58b31cc4
chore(sqlalchemy): Remove erroneous SQLAlchemy ORM session.merge operations (#24776) 2023-11-20 17:25:41 -08: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
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
JUST.in DO IT 24a2213445
feat(sqllab): Format sql (#25344) 2023-11-03 09:38: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
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
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
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
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
Kamil Gabryjelski 58fcd292a9
fix: Apply normalization to all dttm columns (#25147) 2023-10-06 09:47:00 -07: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
Craig Rueda db7f5fed31
chore(async): Initial Refactoring of Global Async Queries (#25466) 2023-10-02 17:22:07 -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
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
Hugh A. Miles II 55ac01b675
feat: Tags ListView Page (#24964) 2023-09-12 14:48:07 +02: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
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
JUST.in DO IT a44c99899a
chore(sqllab): Relocate get bootstrap data logic (#24936) 2023-08-11 13:23:07 -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 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
Vitor Avila 7f9b0380e0
fix(embedded): adding logic to check dataset used by filters (#24808) 2023-07-31 14:10:57 -07:00
Stepan 64ced60f62
fix(datasets): give possibility to add dataset with slashes in name (#24796) 2023-07-28 14:33:08 -03:00
Hugh A. Miles II 3b46511439
feat(Tags): Allow users to favorite Tags on CRUD Listview page (#24701) 2023-07-27 13:17:26 -04:00
EugeneTorap fc89718d48
chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-24 17:13:49 -07:00
Zef Lin 0631a8086c
chore(view_api): return application/json as content-type for api/v1/form_data endpoint (#24758) 2023-07-21 16:31:41 -07:00
Sebastian Liebscher 91e6f5cb9f
chore(deps): bump pandas >=2.0 (#24705)
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-07-20 11:04:17 -07:00
Daniel Vaz Gaspar cb9b865a53
fix: import database engine validation (#24697) 2023-07-20 13:08:07 +01:00
John Bodley 5f49e0fdd0
fix(cache): Add cache warmup for non-legacy charts (#24671) 2023-07-19 11:12:36 -07:00
John Bodley 1b5a6790f0
chore: Remove obsolete legacy visualizations (#24694) 2023-07-18 08:17:52 -07:00
Beto Dealmeida 9844b15e07
fix: embedded dashboard check (#24690) 2023-07-13 10:33:12 -07:00
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 ae00489779
chore(dao): Add explicit ON DELETE CASCADE for ownership (#24628) 2023-07-11 11:39:03 -07:00
Jack Fragassi 4caf33b41d
fix: Chart can be added to dashboard by non-owner via save as option (#24630) 2023-07-11 11:58:29 -04:00
Antonio Rivero 6657353bca
feat(database): Database Filtering via custom configuration (#24580) 2023-07-06 16:48:46 -04: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 383dac6a5e
fix: Bump prophet, re-enable tests, and remedy column eligibility logic (#24129) 2023-07-05 12:33:52 -07:00
Ville Brofeldt a4880cabd4
chore(metastore-cache): add codec support (#24586) 2023-07-04 15:55:22 +03:00
Hugh A. Miles II 226c7f807d
fix: SSH Tunnel creation with dynamic form (#24196) 2023-07-02 23:48:48 -04:00
John Bodley 75543af550
chore(dao): Add explicit ON DELETE CASCADE when deleting datasets (#24488) 2023-06-28 16:03:25 -07:00
Kamil Gabryjelski 83ff4cd86a
feat: Implement currencies formatter for saved metrics (#24517) 2023-06-28 20:51:40 +02:00
John Bodley e402c94a9f
fix: Use Celery task ETA for alert/report schedule (#24537) 2023-06-28 10:53:13 -07:00
Daniel Vaz Gaspar 0ddc0a6738
chore: remove marshmallow-enum dependency and bump FAB (#24499) 2023-06-27 08:37:43 +01:00
Hugh A. Miles II 93e1db4bd9
fix: save columns reference from sqllab save datasets flow (#24248) 2023-06-20 13:54:19 -04:00
Jack Fragassi 5af298e1f6
chore: Migrate warm up cache endpoint to api v1 (#23853) 2023-06-20 12:08:29 +01: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
Ville Brofeldt 20e0036336
fix(sql-lab): remove redundant onChange schema property (#24422) 2023-06-16 17:38:26 +03:00
Daniel Vaz Gaspar 23bb1c48a1
chore: remove deprecated apis and ENABLE_BROAD_ACTIVITY_ACCESS (#24400) 2023-06-15 22:11:24 +01:00
Daniel Vaz Gaspar c69634df27
chore: remove deprecated apis on superset, get_or_create_table, sqllab_viz (#24375) 2023-06-14 08:48:29 +01:00
Daniel Vaz Gaspar c8e958fb7e
chore: remove deprecated apis stop_query, queries, search_queries (#24360) 2023-06-13 15:56:06 +01:00
Daniel Vaz Gaspar ca478bd5c4
chore: remove deprecated apis copy_dash, save_dash and add_slices (#24353) 2023-06-13 15:08:47 +01:00
Daniel Vaz Gaspar 6f145dfe36
chore: remove deprecated apis on superset, testconn, validate_sql_json, schemas_access_for_file_upload, extra_table_metadata (#24354) 2023-06-13 11:03:19 +01:00
Daniel Vaz Gaspar 93ba59d868
chore: remove deprecated apis estimate_query_cost, results, sql_json, csv (#24359) 2023-06-13 09:31:16 +01:00
John Bodley 2b364898a5
fix: Address regression introduced in #22853 (#24121) 2023-06-12 15:32:40 -07:00
John Bodley a3aacf2527
fix: Address dashboard permission regression in #23586 (#24350) 2023-06-12 11:15:27 -07:00
Michael S. Molina a7f7f6645d
feat: Convert ENABLE_BROAD_ACTIVITY_ACCESS and MENU_HIDE_USER_INFO into feature flags (#24345) 2023-06-12 10:40:22 -07:00
Daniel Vaz Gaspar e0253a4b25
chore: remove deprecated api /superset/tables/<int:db_id>/... (#24342) 2023-06-12 15:31:48 +01:00
Daniel Vaz Gaspar 2df699c99c
chore: remove deprecated api /superset/filter/... (#24335) 2023-06-12 14:17:23 +01:00
John Bodley 0e3f1f638c
chore: Remove deprecated ENABLE_ACCESS_REQUEST workflow (#24266) 2023-06-09 18:54:31 -07:00
John Bodley 9adb023880
chore(druid): Remove legacy Druid NoSQL logic (#23997) 2023-06-09 15:33:23 -03:00
Jack Fragassi e791ba5876
fix: Copy dashboard filters when copying dashboard (#24303) 2023-06-08 15:49:30 -07:00
John Bodley 69c2cd5f40
chore: Remove unused sliceCanEdit logic (#24312) 2023-06-08 09:19:39 -07:00
Michael S. Molina 522eb97b65
feat: Migrates Pivot Table v1 to v2 (#23712) 2023-06-08 10:13:39 -03:00
John Bodley a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
Ville Brofeldt 8375baac99
fix(dataset-api): allow undefined schema in post (#24242) 2023-05-30 17:48:54 +03:00
Ville Brofeldt 71d0543f28
fix(permalink): migrate to marshmallow codec (#24166) 2023-05-22 13:35:58 +03:00
Ville Brofeldt 5424b95138
chore: deprecate rls base related filters (#24128) 2023-05-19 21:55:05 +03:00
John Bodley d583ca9ef5
chore: Embrace the walrus operator (#24127) 2023-05-19 00:37:13 -07:00
Ville Brofeldt 2222073778
fix(ci): remove username from owner (#24114) 2023-05-18 15:38:14 +03:00
Ville Brofeldt 7114bba718
chore(thumbnails): change default executor to logged in user (#22801) 2023-05-17 20:32:20 +03:00
Geido 66fb4867dc
chore: Remove unnecessary information from response (#24056) 2023-05-17 20:07:47 +03:00
Daniel Vaz Gaspar 97482c57b5
chore: bump werkzeug and Flask (#23965) 2023-05-12 15:01:30 +01:00
Ville Brofeldt f7dd52b8f5
feat: implement time grain in temporal filters (#24035) 2023-05-12 14:41:09 +03:00
EugeneTorap 4a828f57f4
chore: Update mypy and fix stubs issue (#24033) 2023-05-12 08:47:14 +01:00
Ville Brofeldt f1fa1a733d
chore(key-value): use json serialization for main resources (#23888) 2023-05-04 08:04:05 +03:00
Daniel Vaz Gaspar e5f512e348
fix: check sqlalchemy_uri (#23901) 2023-05-03 11:14:03 +01:00
Kamil Gabryjelski 60046ca1cc
chore: Add Cypress tests for drill by (#23849) 2023-04-28 17:33:45 +02:00
John Bodley f3a6754858
fix(tests): Ensure deterministic SELECT ordering for CSV upload tests (#23856) 2023-04-28 10:24:36 +12:00
Elizabeth Thompson 71106cfd97
feat: create dtype option for csv upload (#23716) 2023-04-24 12:53:53 -07:00
Michael S. Molina f7810b6020
feat(revert): Re-introduces the RLS page (#23777) 2023-04-24 13:10:58 -03:00
Daniel Vaz Gaspar 6ae5388dcf
fix: allow db driver distinction on enforced URI params (#23769) 2023-04-23 15:44:21 +01:00
Hugh A. Miles II c441a7050d
chore: add check constraint to restrict `Slice` models datasource_type != "table" (#23614) 2023-04-20 12:43:59 -07:00
Daniel Vaz Gaspar f80e738196
fix: get or create db with an existing invalid URL (#23737) 2023-04-20 09:50:57 +01:00
Ville Brofeldt 306fb22021
chore(chart-data): add post processing error message to response (#23734) 2023-04-19 18:49:33 +03:00
Jack Fragassi 44557f5a23
chore(api v1): Deprecate datasource/save and datasource/get endpoints (#23678) 2023-04-18 17:51:24 -07:00
Daniel Vaz Gaspar 0ad6c879b3
feat: add enforce URI query params with a specific for MySQL (#23723) 2023-04-18 17:07:37 +01:00
Michael S. Molina 04bd528bed
chore: Removes the UX_BETA feature flag (#23651) 2023-04-13 10:32:34 -03:00
John Bodley b35b5a6e05
chore(db_engine_specs): Refactor get_index (#23656) 2023-04-13 09:23:16 +12:00
Hugh A. Miles II d581d698b6
chore: Refactor ExploreMixin to power both Datasets (SqlaTable) and Query models (#22853) 2023-04-10 16:32:52 -04:00
Ville Brofeldt a8230336ff
fix(dashboard-rbac): use normal rbac when no roles chosen (#23586) 2023-04-07 09:53:35 +03:00
Beto Dealmeida e2e0ad5ef5
feat(presto): `get_catalog_names` (#23599) 2023-04-06 09:27:49 -07:00
Jack Fragassi 326c0587fe
chore: Migrate copy_dash endpoint to api v1 (#23112)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-04-06 11:32:10 -04:00
Jack Fragassi 70344018b6
fix(dash import): Ensure old datasource ids are not referenced in imported charts (#23582) 2023-04-05 13:38:41 -07:00
Beto Dealmeida 7a1aa6387c
feat(bigquery): `get_catalog_names` (#23461) 2023-04-05 13:32:28 -07:00
John Bodley b58d17f4b8
fix(revert): "fix: cache warmup solution non legacy charts. (#23012)" (#23579) 2023-04-06 06:16:34 +12:00
Hugh A. Miles II a4d4084d08
fix: tags features flag on base models (#23548) 2023-04-04 10:32:24 -04:00
Diego Medina cdc7af11bf
chore: Migrate /superset/user_slices and /superset/fave_slices to API v1 (#22964)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-04-03 13:29:02 -04:00
Ville Brofeldt 500d90058f
feat: add ability to disable cache (#23439) 2023-03-31 11:41:57 +03:00
Ville Brofeldt 330e79bc5d
ci: disable flaky async test (#23527) 2023-03-31 07:59:49 +03:00
Hugh A. Miles II 81b32d1045
chore: allow logs to show error levels for ssh tunnel (#23536) 2023-03-30 18:23:22 -04:00
Diego Medina f2be53dd53
chore: Migrate /superset/favstar to API v1 (#23165)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2023-03-29 16:42:23 -04:00
Rémy DUBOIS 07a632891c
fix(chart): non existent time grain no longer breaks the application (#23441)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-03-23 16:36:50 +02:00
Beto Dealmeida 8588f81855
feat(DB engine spec): `get_catalog_names` (#23447) 2023-03-22 13:40:14 -07:00
Hugh A. Miles II 8fa77adf9a
chore: Hugh/migrate estimate query cost to v1 (#23226)
Co-authored-by: Diego Medina <diegomedina24@gmail.com>
2023-03-17 18:02:25 -06:00
Zef Lin 870bf6d0b9
fix: revert back to use security manager authz for dashboard when get by uuid (#23330) 2023-03-16 15:27:02 +00:00
Beto Dealmeida ec6318b379
fix: permission checks on import (#23200) 2023-03-15 08:31:09 -07:00
Hugh A. Miles II 9920ab3fd9
chore: Migrate /superset/schemas_access_for_file_upload to v1 (#23227)
Co-authored-by: Diego Medina <diegomedina24@gmail.com>
2023-03-14 19:21:10 -06:00
Hugh A. Miles II b820eb8235
chore: Update pre-commit packages (#23173) 2023-03-13 17:05:13 -06:00
Kamil Gabryjelski 42980a69a7
fix(dashboard): Charts crashing when cross filter on adhoc column is applied (#23238)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-03-04 07:57:35 +01:00
Ville Brofeldt 5a099e0762
fix(dao): use explicit id filter (#23246) 2023-03-01 13:32:04 +02:00
Daniel Vaz Gaspar 79274eb5bc
fix: memoized decorator memory leak (#23139) 2023-02-27 15:59:11 +00:00
Antonio Rivero 3484e8ea7b
feat(ssh_tunnel): Import/Export Databases with SSHTunnel credentials (#23099) 2023-02-24 09:36:21 -08:00
Ville Brofeldt 89576f8a87
fix(rbac): show objects accessible by database access perm (#23118) 2023-02-24 10:45:16 +02:00
cccs-RyanK a40c12d63e
feat: Frontend tagging (#20876)
Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com>
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-02-21 13:38:23 -08:00
Daniel Vaz Gaspar 8f8fba2056
fix: gamma sql_json test (#23135) 2023-02-21 15:34:25 +00:00
Daniel Vaz Gaspar d4362a3676
fix: reorganize role permissions (#23096) 2023-02-21 10:19:42 +00:00
Geido c7823e32ff
fix: Validate jinja rendered query (#22851) 2023-02-21 11:01:12 +01:00
Josh Soref dec6ac49f6
chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-17 10:48:24 -07:00
Daniel Vaz Gaspar 4b03d2553c
fix: missing __init__ on module sqllab commands (#23107) 2023-02-17 11:08:14 +00:00
Elizabeth Thompson 434b445e31
chore: increment statsd as warn (#23041) 2023-02-16 15:43:18 -08:00
Elizabeth Thompson 4ddf67fc14
chore: move dashboard screenshot standalone logic (#23003) 2023-02-15 14:35:08 -08:00
Daniel Vaz Gaspar c39cf36d27
fix: css template permissions for gamma role (#23083) 2023-02-15 15:26:02 +00:00
Diego Medina e5a4c78dc7
chore: Migrate /superset/csv/<client_id> to API v1 (#22913) 2023-02-15 10:48:24 +00:00
Jack Fragassi 3fae7dbc34
chore: Migrate get_or_create_table endpoint to api v1 (#22931) 2023-02-15 10:38:51 +00:00
Dheeraj Jaiswal e755b4f417
fix: cache warmup solution non legacy charts. (#23012) 2023-02-14 23:27:32 +02:00
Cody Leff 684b8888b1
fix(dashboard): Stop updating chart owners for charts removed from dashboard (#21720)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2023-02-09 12:50:06 -05:00
Artem Shumeiko efe6d22d4a
fix(dashboard): export & import chart description and certification details (#22471) 2023-02-06 16:30:22 -07:00
Josh Soref 78ede590ee
chore(frontend): Spelling (#19676)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
JUST.in DO IT ad1ffbd723
fix(explore): unable to update linked charts (#22896) 2023-02-03 07:07:17 +13:00
Diego Medina 02cd75be8d
chore: Migrate /superset/tables/* to API v1 (#22501) 2023-02-01 12:45:57 +00:00
Ville Brofeldt cd6fc35f60
chore(db_engine_specs): clean up column spec logic and add tests (#22871) 2023-01-31 15:54:07 +02:00
Daniel Draper e18bf3f449
fix(dependency): update cryptography import (#22744)
Co-authored-by: Daniel Draper <daniel.draper@understand.ai>
2023-01-31 10:11:26 +00:00
Elizabeth Thompson f2b61fca15
fix: edit pyarrow stringify to better handle emojis and accents (#22881) 2023-01-30 12:29:19 -08:00
Diego Medina b94052e438
chore: migrate /sql_json and /results to apiv1 (#22809) 2023-01-30 11:02:34 -05:00
Jack Fragassi 54f7a248a6
chore: deprecate /superset/filter/... endpoint, migrate to apiv1 (#22882) 2023-01-30 11:02:49 +00:00
Igor Șincariov 6cf434e5c1
feat: Add excel export (#22006)
Co-authored-by: Igor Șincariov <igorsinc@pm.me>
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-01-27 11:23:10 -07:00
Diego Medina 14878a160f
chore: Migrate /superset/queries/<last_updated_ms> to API v1 (#22611) 2023-01-27 13:20:56 -05:00
Mayur 8226110be8
fix: revert RESTful apis and react view for RLS (#22818) 2023-01-26 18:04:00 -08:00
Antonio Rivero Martinez d6a4a5da79
feat(ssh_tunnel): Add feature flag to SSH Tunnel API (#22805) 2023-01-26 16:53:36 -08:00
Evan Rusackas 6998f65e1d
chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852) 2023-01-26 11:48:41 -07:00
Josh Soref 02e5dcbbf2
chore(misc): Spelling (#19678)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-01-25 16:35:08 -07:00
Geido 9ed2326a20
feat: Move cross filters to Dashboard (#22785) 2023-01-25 18:01:06 +01:00
Jack Fragassi 050cbe938f
chore: Migrate /superset/recent_activity/<user_id>/ to /api/v1/ (#22789) 2023-01-25 09:26:50 +00:00
Beto Dealmeida 6f0fed77cf
feat: export/import `allow_dml` flag (#22806) 2023-01-24 19:16:46 -08:00
John Bodley 0b31b2cb87
fix(hive): Regression in #21794 (#22794) 2023-01-21 13:00:36 +13:00
John Bodley 92cdb8c282
chore: Add explicit bidirectional performant relationships for SQLA model (#22413) 2023-01-21 10:17:56 +13:00
Antonio Rivero Martinez ad758c0802
feat(ssh_tunnel): Rename allow_ssh_tunneling and change the default value to False (#22723) 2023-01-17 19:11:41 -08:00
Elizabeth Thompson c58dbf8b9c
fix: pass in slack error messages properly (#22727) 2023-01-17 13:30:51 -08:00
Elizabeth Thompson 0a2fc9cdde
fix: change order of webdriver timeout checks (#22698) 2023-01-17 10:00:51 -08:00
Daniel Vaz Gaspar edcbf597f5
chore: re add upload tests (#22753) 2023-01-17 17:33:23 +00:00
Diego Medina 3ed288d4ee
chore: Migrate /superset/stop_query/ to API v1 (#22624) 2023-01-16 14:07:52 +00:00
Usiel Riedl d5ecfbb901
fix(embed): fix server error due to breaking change on flask-login (#22462)
Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2023-01-12 11:48:01 +02:00
Antonio Rivero Martinez 539936522f
feat(ssh_tunnel): SQLAlchemy Form UI (#22513)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-11 19:29:52 +00:00
Mayur 159dcd7e62
feat(RLS): RESTful apis and react view for RLS (#22325) 2023-01-09 13:34:20 -07:00
Ville Brofeldt 5b2ca97341
fix(sqllab): remove link to sqllab if missing perms (#22566) 2023-01-09 14:02:36 +02:00
EugeneTorap 30dab3a00a
chore: Bump flask libs (#22355) 2023-01-09 10:10:31 +00:00
Elizabeth Thompson 7591acba54
fix: change type of slack error (#22443) 2023-01-06 17:50:43 -05:00
Hugh A. Miles II d18c7d6128
fix(ssh-tunnel): fix dataset creation flow through modal for DB with tunnel (#22581) 2023-01-06 13:52:05 -05:00
Daniel Vaz Gaspar 3761694d72
fix: dashboard get by id or slug access filter (#22358) 2023-01-05 17:10:40 +00:00
Ville Brofeldt 037deb9a1d
feat(rbac): add customizable related filters (#22526) 2023-01-05 16:42:08 +02:00
Hugh A. Miles II ebaad10d6c
feat(ssh-tunnelling): Setup SSH Tunneling Commands for Database Connections (#21912)
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-03 17:22:42 -05:00
Hugh A. Miles II 9c0d6c51f1
chore(ssh-tunnel): Refactor establishing raw connection with contextmanger (#22366) 2022-12-29 14:20:45 -05:00
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
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
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 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
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 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
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
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