redash/tests/handlers
Omer Lachish ea0e411053
Return unsafe sharing error from backend (#3990)
* return message explaining unsafe sharing

* use backend-generated message for public dashboards

* use backend-generated message for embeds

* Update redash/handlers/query_results.py

Co-Authored-By: Arik Fraimovich <arik@arikfr.com>

* refactor simple (non-interpolated) query result handler error messages to a single location

* use error_messages to test out unsafe error messages (along with a couple of others)

* Update redash/handlers/query_results.py

Co-Authored-By: Ran Byron <ranbena@gmail.com>

* Update redash/handlers/query_results.py

Co-Authored-By: Arik Fraimovich <arik@arikfr.com>
2019-07-21 09:21:45 +03:00
..
__init__.py Remove unused code 2016-12-07 02:13:20 -06:00
test_alerts.py Fix: when setting rearm on a new alert, it wasn't persisted. 2017-06-28 16:34:50 +03:00
test_authentication.py Add rate limits to user creation/update (#3709) 2019-04-15 13:58:30 +03:00
test_dashboards.py Consistently use simplejson to loading and dumping JSON. (#2817) 2018-10-09 15:38:06 +02:00
test_data_sources.py Use flask-talisman for handling backend response headers (#3404) 2019-03-27 17:24:15 +02:00
test_destinations.py Add error message when destination name already exists (#3597) 2019-03-27 18:09:56 +02:00
test_embed.py Sharing embeds with safe parameters (#3495) 2019-04-02 11:45:38 +03:00
test_favorites.py Use flask-talisman for handling backend response headers (#3404) 2019-03-27 17:24:15 +02:00
test_groups.py Fix cases where we used User.groups instead of User.group_ids 2016-12-08 16:02:51 +02:00
test_paginate.py test_paginate 2016-12-07 02:13:20 -06:00
test_permissions.py test_permissions, test_changes, test_queries 2016-12-07 02:13:20 -06:00
test_queries.py Support regenerating Query API Key (#3764) 2019-06-12 13:09:21 +03:00
test_query_results.py Return unsafe sharing error from backend (#3990) 2019-07-21 09:21:45 +03:00
test_query_snippets.py Update QuerySnippets code to SQLA 2016-12-07 12:01:03 +02:00
test_settings.py Use flask-talisman for handling backend response headers (#3404) 2019-03-27 17:24:15 +02:00
test_users.py Manage user groups in UserEdit (#3450) 2019-03-27 16:29:48 -03:00
test_visualizations.py Fix: remove widgets when deleting a visualization. (#3423) 2019-02-17 10:30:23 +02:00
test_widgets.py Fix: update tests. 2018-04-30 11:16:27 +03:00