Đặng Minh Dũng
0b67fe1beb
feat: Trino Authentications ( #17593 )
...
* feat: support Trino Authentications
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* docs: Trino Authentications
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 21:02:47 -08:00
Beto Dealmeida
51090c3f1b
feat: shorter timeout on test_connection ( #18001 )
...
* feat: shorter timeout on test_connection
* pip-compile-multi --no-upgrade
* Fix for SQLite
* Return 408
* Add test
2022-01-12 13:01:34 -08:00
Ajay M
bdc35a2214
feat(alerts): Select tabs to send backend ( #17749 )
...
* Adding the extra config and validation
* wip
* reports working
* Tests working
* fix type
* Fix lint errors
* Fixing type issues
* add licence header
* fix the fixture deleting problem
* scope to session
* fix integration test
* fix review comments
* fix review comments patch 2
Co-authored-by: Grace Guo <grace.guo@airbnb.com>
2022-01-11 10:48:50 -08:00
ofekisr
7fc6a2f36c
refactor: examples data loading for tests ( #17893 )
...
* refactor: replace the way the birth_names data is generated
* refactor: replace the way the birth_names data is generated
* refactor structure
add tests for common
2022-01-11 14:16:09 +02:00
Michael S. Molina
3a9bd12e3d
fix: Returns 404 instead of 500 for unknown dashboard filter state keys ( #17878 )
...
* fix: Returns 404 instead of 500 for unknown dashboard filter state keys
* Reduces hierarchies of if-expression
* Removes unnecessary check
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Removes unused variable
* Fixes type error
* Removes unused import
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-10 14:24:22 -03:00
Daniel Vaz Gaspar
d35da1fc73
fix: css template API response, less data ( #17980 )
...
* fix: css template API response, less data
* add test
2022-01-10 13:00:39 +00:00
Amit Miran
4954d52329
ci: make presto hive tests to cover only chartData and sqljson ( #17782 )
...
* chore: make presto hive tests to cover only chartData and sqljson
* fix: single quote
* fix: add eval for arguments
* fix: add double quotes on args
* chore: add @pytest.mark.sql_json_flow
* fix: pre-commit
2021-12-31 07:17:54 +02:00
Michael S. Molina
8ebec6016e
fix: Removes duplicated import in dashboard filter state tests ( #17887 )
2021-12-29 13:10:56 -03:00
ofekisr
886e4ef7f5
fix: tests can failed on different order executions ( #17885 )
2021-12-29 17:54:12 +02:00
Beto Dealmeida
2cd8054358
feat: add force option to report screenshots ( #17853 )
...
* Update existing tests
* Add backend test
* feat: add force option to report screenshots
* Add tests
* Rebase fixes
* Do not force screenshot on dashboard alerts
2021-12-22 12:16:04 -08:00
Beto Dealmeida
c49545aec1
fix: dataset extra import/export ( #17740 )
...
* fix: dataset extra import/export
* Update superset/datasets/commands/importers/v1/utils.py
2021-12-22 09:41:31 -08:00
Beto Dealmeida
b7707e8ff7
feat: bypass cache on screenshots for alerts ( #17695 )
...
* feat: bypass cache on screenshots for alerts
* Update existing tests
* Add backend test
* Add frontend test
2021-12-22 08:26:38 -08:00
Elizabeth Thompson
b82da5c016
accept null params for validation ( #17788 )
2021-12-17 10:52:00 -08:00
Grace Guo
c5af7a48df
fix: [alert] allow decimal for alert threshold value ( #17751 )
...
* fix: [alert] add tooltip message for alert threshold value
* support decimal value for alert condition threshold
* add integration test
2021-12-16 22:51:23 -08:00
Bogdan
afd2e9f2ca
chore: update fixtures scope that are loading data into the analytical db ( #17780 )
...
* Update db setup fixture scope
* Load data into db only once
* Update fixture scopes for data loading
* cleanup imports
* try import
* Update scope
* fix cleanup
* Import all fixtures
* Separate data log and metadata creation
* Retain table description
* fix dtype
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 16:11:47 -08:00
Grace Guo
a01c4c95db
fix: [alert] should run alert query from report account ( #17499 )
...
* fix: [alert] should run alert query from report account
* add solution2: override username for get_df
* add integration test
2021-12-16 12:12:43 +00:00
Beto Dealmeida
c18d4862c4
chore: skip flaky test ( #17772 )
2021-12-15 17:06:40 -08:00
Evan Rusackas
3aa11614b5
fix: change 401 response to a 403 for Security Exceptions ( #17768 )
...
* fix: change 401 to 403 for Security Exceptions
* updating tests to reflect new (proper) status code
* another test update
2021-12-15 17:11:04 -07:00
Beto Dealmeida
0d2299cb60
fix: migration out-of-scope bind ( #17728 )
...
* fix: migration out-of-scope bind
* Bypass flaky test
2021-12-13 13:04:35 -08:00
Beto Dealmeida
3873cdff4d
feat: convert dataframe tests ( #17655 )
2021-12-09 09:47:53 -08:00
Geido
12bd1fcde5
fix: Save properties after applying changes in Dashboard ( #17570 )
...
* Refactor PropertiesModal
* Update json_metadata fully
* Clean up
* Verify values
* Catch changed to metadata
* Always updated dashboard info on update
* Avoid unnecessary fetches
* Formt
* Fix copy dashboards
* Fixes onUpdate onCopy handlers
* Pylint
* Update tests
* Clean up
* Handle data on show
* Change Save to Apply
* Update Cypress save test
* Update Cypress edit prop test
* Update PropertiesModal test
* Fix duplicate request with cross filters
* Improve code style
* Fix typo
* Lint
2021-12-09 10:03:07 -07:00
Ville Brofeldt
3a42071e0f
chore(sql): clean up invalid filter clause exception types ( #17702 )
...
* chore(sql): clean up invalid filter clause exception types
* fix lint
* rename exception
2021-12-09 17:49:32 +02:00
Beto Dealmeida
b7ae7f976a
chore: convert feature flag tests to unit tests ( #17689 )
...
* chore: convert feature flag tests to unit tests
* Fix test
2021-12-08 14:51:47 -08:00
Geido
46cdc77ae6
fix: Redirect on 401 ( #17597 )
...
* Redirect on 401
* Bump FAB
* Format
* Update Cypress save test
* Revert Cypress change
* Bump FAB 3.4.1rc2
* Update test
* Update return statement
* Update api test
* Update datasets api test
* Update datasets api 401s to 403s
* Add typeguard
* Use Promise.resolve
* Update callApiAndParseWithhTimeout test
* Disable parseResponse test
* Try catch
* Handle npm 8 issues
2021-12-08 13:14:30 -07:00
Beto Dealmeida
8c25f2f356
fix: extract tables doesn't work with reserved keywords ( #17654 )
2021-12-08 05:50:42 -08:00
Ville Brofeldt
c4b04952d0
feat: customize recent activity access ( #17589 )
...
* feat: customize recent activity access
* address comments
* fix and add tests
* add alert assertion and UPDATING.md entry
* replace .get_id() with .id
* fix updating comment
* update config name
2021-12-08 11:30:23 +02:00
Shiva Raisinghani
cd88b8e81e
feat(prophet): enable confidence intervals and y_hat without forecast ( #17658 )
...
* enable confidence intervals and y_hat without forecast
* fix if statement
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-12-08 09:56:18 +02:00
Michael S. Molina
2ae83fac86
fix: Allows PUT and DELETE only for owners of dashboard filter state ( #17644 )
...
* fix: Allows PUT and DELETE only for owners of dashboard filter state
* Converts the values to TypedDict
* Fixes variable name
2021-12-05 22:13:09 -03:00
Kamil Gabryjelski
07e8837093
feat(explore): export csv data pivoted for Pivot Table [ID-9] ( #17512 )
...
* feat(explore): export csv data pivoted for Pivot Table
* Implement dropdown with download csv options
* Change label to "Original"
* Add tests
* Add form data to query context
* Add form data to query context generator
* Explicitly make form_data optional
2021-12-03 12:42:28 +01:00
Ville Brofeldt
b2ffa268cd
fix(sqla): make text clause escaping optional ( #17641 )
2021-12-03 12:35:26 +02:00
AAfghahi
b13d953b34
chore: Added unit test to query context change ( #17624 )
...
* a lot of console logs
* added unit test
2021-12-02 08:46:25 -08:00
Ville Brofeldt
0544bee74e
fix(api): incorrect api schema definitions ( #17620 )
2021-12-01 21:47:22 +02:00
Michael S. Molina
78c5d9ac27
fix: Dashboard API flaky test ( #17611 )
2021-12-01 10:36:13 -03:00
Michael S. Molina
2f2e8fe412
feat: Adds a key-value endpoint to store the state of dashboard filters ( #17536 )
...
* feat: Adds a key-value endpoint to store the state of dashboard filters
* Fixes pylint issues
* Adds openapi schemas
* Adds more tests, move logic to commands and use singular form for the endpoint name
* Fixes model description
* Removes database model
* Adds open api specs
* Simplifies the commands
* Adds more tests
* Validates the value content and submits the correct http status code
* Fixes import order
* Skips flakky test
* Fixes tests
* Updates UPDATING.md
2021-12-01 09:06:49 -03:00
AAfghahi
d7e3a601b6
fix: Ch31968query context ( #17600 )
...
* a lot of console logs
* import and export of query context
2021-11-30 16:51:00 -08:00
Karthikeyan Singaravelan
11cf15f8dc
chore: Fix deprecated unittest aliases for Python 3.11 compatibility. ( #17562 )
...
* chore: Fix deprecated unittest aliases for Python 3.11 compatibility.
* chore: Cache pip dependencies.
* chore: Cache more pip dependencies.
2021-11-26 18:21:01 +02:00
Đặng Minh Dũng
ebb34196f2
feat: trino support server-cert ( #16346 )
...
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2021-11-26 13:28:15 +02:00
Hugh A. Miles II
2e29f36e78
fix: RBAC for export for dashboard viewers ( #17527 )
...
* set out export
* update test
* use default dataset
* update test
* these test work
* fix test
* update
* fix
* fix test
* make the test better
2021-11-25 20:10:41 -08:00
aniaan
5a1c68177e
fix(elasticsearch): time_zone setting does not work for cast datetime expressions ( #17048 )
...
* fix(elasticsearch): cast does not take effect for time zone settings
* test(elasticsearch): add test
* fix(test): fix typo
* docs(elasticsearch): add annotation
* docs(elasticsearch): add time_zone desc
* docs(elasticsearch): fix typo
* refactor(db_engine): change convert_dttm signature
* fix(test): fix test
* fix(es): add try catch
* fix(test): fix caplog
* fix(test): fix typo
2021-11-25 11:58:44 +02:00
Geido
83e49fc9ee
feat: Certify Charts and Dashboards ( #17335 )
...
* Certify charts
* Format
* Certify dashboards
* Format
* Refactor card certification
* Clear details when certified by empty
* Show certification in detail page
* Add RTL tests
* Test charts api
* Enhance integration tests
* Lint
* Fix dashboards count
* Format
* Handle empty value
* Handle empty slice
* Downgrade migration
* Indent
* Use alter
* Fix revision
* Fix revision
2021-11-24 13:42:52 +02:00
Michael S. Molina
76024313c6
fix: Dashboard access when DASHBOARD_RBAC is disabled ( #17511 )
...
* fix: Dashboard access when RBAC is disabled
* Sends 403 when forbidden
* Fixes issort
* Changes assertion
* Allow access to unpublished dashboards that don't have roles
* Fixes the test_get_dashboard_changed_on test
2021-11-23 11:45:32 -03:00
Long Le Xich
bc855f4040
fix(hive): Update _latest_partition_from_df in HiveEngineSpec to work on tables with multiple indexes ( #14302 )
...
* Fix _latest_partition_from_df in HiveEngineSpec
* Add test HiveEngineSpec._latest_partition_from_df
* Fix formatting to pass black
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 10:07:47 +02:00
ofekisr
16e012fe5d
refactor(chart.commands): separate commands into two different modules ( #17509 )
...
refactor: move imports under TYPE_CHECKING
2021-11-22 19:57:52 +02:00
Kamil Gabryjelski
1f8eff72de
fix: Always use temporal type for dttm columns [ID-2] ( #17458 )
...
* fix: Always use temporal type for dttm columns
* move inference and implement in chart postproc
* fix test
* fix test case
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-22 15:40:38 +01:00
ofekisr
66d756955b
refactor(QueryContext): separate all processing concerns into QueryContextProcessor ( #17497 )
2021-11-22 10:01:01 +02:00
Rafał Ganczarek
8da982bc7c
fix(presto): expand data with null item ( #17470 )
...
* fix(presto): expand data with null item
* Fixed pre-commit check
2021-11-21 20:10:35 +02:00
AAfghahi
69c3cc712d
chore(sql_lab): Added Unit Test for stop query exception ( #17464 )
...
* added unit test
* feedback implemented
2021-11-19 12:58:12 -05:00
Daniel Vaz Gaspar
69f9ee8f5e
fix: feature flags typing ( #15254 )
...
* fix: feature flags typing
* fix tests
* add note in UPDATING.md
* fix frontend
* also move SCHEDULED_QUERIES to top level
* fix test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-19 15:56:16 +00:00
ofekisr
683d1dab13
refactor(QueryObject): decouple from superset ( #17479 )
...
* refactor: queryObject - decouple from superset
* refactor: queryObject - decouple from superset
2021-11-18 19:53:56 +02:00
ofekisr
377db1bd71
refactor: queryObject - add QueryObjectFactory ( #17466 )
2021-11-18 17:38:17 +02:00