-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify query based dropdown population #3337
Commits on Dec 27, 2018
-
stop testing
collect_query_parameters
, it's an implementation detailOmer Lachish committedDec 27, 2018 Configuration menu - View commit details
-
Copy full SHA for 4a557c7 - Browse repository at this point
Copy the full SHA 4a557c7View commit details -
add tests for
missing_query_params
Omer Lachish committedDec 27, 2018 Configuration menu - View commit details
-
Copy full SHA for 856e61c - Browse repository at this point
Copy the full SHA 856e61cView commit details
Commits on Dec 30, 2018
-
rename SQLQuery -> ParameterizedSqlQuery
Omer Lachish committedDec 30, 2018 Configuration menu - View commit details
-
Copy full SHA for 5bd751f - Browse repository at this point
Copy the full SHA 5bd751fView commit details -
rename sql_query.py to parameterized_query.py
Omer Lachish committedDec 30, 2018 Configuration menu - View commit details
-
Copy full SHA for f43c5f7 - Browse repository at this point
Copy the full SHA f43c5f7View commit details -
split to parameterized queries and parameterized SQL queries, where
parameterized queries only do templating and parameterized SQL queries add tree validation on top of it
Omer Lachish committedDec 30, 2018 Configuration menu - View commit details
-
Copy full SHA for b608c5b - Browse repository at this point
Copy the full SHA b608c5bView commit details -
Merge branch 'tests-for-find-missing-params' into run-tree-validation…
…s-only-on-sql-dialects
Omer Lachish committedDec 30, 2018 Configuration menu - View commit details
-
Copy full SHA for ced3239 - Browse repository at this point
Copy the full SHA ced3239View commit details
Commits on Dec 31, 2018
-
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish committedDec 31, 2018 Configuration menu - View commit details
-
Copy full SHA for 8798475 - Browse repository at this point
Copy the full SHA 8798475View commit details -
move missing parameter detection to ParameterizedQuery
Omer Lachish committedDec 31, 2018 Configuration menu - View commit details
-
Copy full SHA for e49884d - Browse repository at this point
Copy the full SHA e49884dView commit details
Commits on Jan 1, 2019
-
Omer Lachish committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 07df144 - Browse repository at this point
Copy the full SHA 07df144View commit details -
Omer Lachish committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 36b3045 - Browse repository at this point
Copy the full SHA 36b3045View commit details -
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish authoredJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for a72f781 - Browse repository at this point
Copy the full SHA a72f781View commit details -
Omer Lachish committed
Jan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 360f85c - Browse repository at this point
Copy the full SHA 360f85cView commit details -
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 5239eba - Browse repository at this point
Copy the full SHA 5239ebaView commit details -
Merge branch 'run-tree-validations-only-on-sql-dialects' of github.co…
…m:getredash/redash into run-tree-validations-only-on-sql-dialects
Omer Lachish committedJan 1, 2019 Configuration menu - View commit details
-
Copy full SHA for a94f5d9 - Browse repository at this point
Copy the full SHA a94f5d9View commit details
Commits on Jan 3, 2019
-
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish committedJan 3, 2019 Configuration menu - View commit details
-
Copy full SHA for b0b7164 - Browse repository at this point
Copy the full SHA b0b7164View commit details
Commits on Jan 6, 2019
-
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish authoredJan 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 23af64e - Browse repository at this point
Copy the full SHA 23af64eView commit details
Commits on Jan 13, 2019
-
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish authoredJan 13, 2019 Configuration menu - View commit details
-
Copy full SHA for a136cd0 - Browse repository at this point
Copy the full SHA a136cd0View commit details
Commits on Jan 16, 2019
-
revert the max-age-related refactoring
Omer Lachish committedJan 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 639c76f - Browse repository at this point
Copy the full SHA 639c76fView commit details -
Merge branch 'master' into run-tree-validations-only-on-sql-dialects
Omer Lachish authoredJan 16, 2019 Configuration menu - View commit details
-
Copy full SHA for c18675a - Browse repository at this point
Copy the full SHA c18675aView commit details -
Omer Lachish committed
Jan 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 6abcedf - Browse repository at this point
Copy the full SHA 6abcedfView commit details -
BaseQueryRunner is no longer a factory for ParameterizedQuery, for now
Omer Lachish committedJan 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 5a12c23 - Browse repository at this point
Copy the full SHA 5a12c23View commit details
Commits on Jan 17, 2019
-
Merge branch 'master' into validate-parameters
Omer Lachish committedJan 17, 2019 Configuration menu - View commit details
-
Copy full SHA for bf41cc9 - Browse repository at this point
Copy the full SHA bf41cc9View commit details
Commits on Jan 20, 2019
-
Merge branch 'master' into validate-parameters
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 71e249c - Browse repository at this point
Copy the full SHA 71e249cView commit details -
add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 8b7c9c4 - Browse repository at this point
Copy the full SHA 8b7c9c4View commit details -
Merge branch 'master' into textless-query-result-endpoint
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 866d4e2 - Browse repository at this point
Copy the full SHA 866d4e2View commit details -
Merge branch 'master' into textless-query-result-endpoint
Omer Lachish authoredJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 27cd9af - Browse repository at this point
Copy the full SHA 27cd9afView commit details -
Merge branch 'textless-query-result-endpoint' into validate-parameters
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for d0d0fc4 - Browse repository at this point
Copy the full SHA d0d0fc4View commit details -
adds parameter schema to ParameterizedQuery
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 61ae426 - Browse repository at this point
Copy the full SHA 61ae426View commit details -
adds parameter schema validation (currently for strings)
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 6d74494 - Browse repository at this point
Copy the full SHA 6d74494View commit details -
Omer Lachish committed
Jan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 07fb716 - Browse repository at this point
Copy the full SHA 07fb716View commit details -
Omer Lachish committed
Jan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 80b06e9 - Browse repository at this point
Copy the full SHA 80b06e9View commit details -
validate parameters on POST /api/queries/<id>/results
Omer Lachish committedJan 20, 2019 Configuration menu - View commit details
-
Copy full SHA for a685de9 - Browse repository at this point
Copy the full SHA a685de9View commit details
Commits on Jan 21, 2019
-
Omer Lachish committed
Jan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for f801b58 - Browse repository at this point
Copy the full SHA f801b58View commit details -
validate date range parameters
Omer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 42e28e2 - Browse repository at this point
Copy the full SHA 42e28e2View commit details -
validate query-based dropdowns by preprocessing them at the handler
level and converting them to a populated enum
Omer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 5829497 - Browse repository at this point
Copy the full SHA 5829497View commit details -
change _is_date_range to be a tad more succinct
Omer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for f9d1eb5 - Browse repository at this point
Copy the full SHA f9d1eb5View commit details -
a single assignment with a
map
is sufficiently explanatoryOmer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 4eb3935 - Browse repository at this point
Copy the full SHA 4eb3935View commit details -
Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e31775 - Browse repository at this point
Copy the full SHA 1e31775View commit details -
Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c0387b - Browse repository at this point
Copy the full SHA 6c0387bView commit details -
Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb81066 - Browse repository at this point
Copy the full SHA fb81066View commit details -
Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3cb6eb - Browse repository at this point
Copy the full SHA f3cb6ebView commit details -
Update redash/handlers/query_results.py
Co-Authored-By: rauchy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c23add1 - Browse repository at this point
Copy the full SHA c23add1View commit details -
Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 271cab6 - Browse repository at this point
Copy the full SHA 271cab6View commit details -
build error message inside the error
Omer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for f7bfde9 - Browse repository at this point
Copy the full SHA f7bfde9View commit details -
support all types of numbers as number parameters
Omer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 3785f09 - Browse repository at this point
Copy the full SHA 3785f09View commit details -
check for permissions when populating query-based dropdowns
Omer Lachish committedJan 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 8d8d1f8 - Browse repository at this point
Copy the full SHA 8d8d1f8View commit details
Commits on Jan 23, 2019
-
Merge branch 'master' into textless-query-result-endpoint
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 4625d31 - Browse repository at this point
Copy the full SHA 4625d31View commit details -
check for access to query before running it
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 3a8c18b - Browse repository at this point
Copy the full SHA 3a8c18bView commit details -
Merge branch 'master' into validate-parameters
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for ab60338 - Browse repository at this point
Copy the full SHA ab60338View commit details -
check for empty rows when populating query-based enums
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for d737c56 - Browse repository at this point
Copy the full SHA d737c56View commit details -
don't bother loading query results if user doesn't have access
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 944f6c1 - Browse repository at this point
Copy the full SHA 944f6c1View commit details -
💥 on unexpected parameter types
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 5e719d4 - Browse repository at this point
Copy the full SHA 5e719d4View commit details -
parameter schema default is a list, not a dictionary
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 855be00 - Browse repository at this point
Copy the full SHA 855be00View commit details -
Merge branch 'textless-query-result-endpoint' into validate-parameters
Omer Lachish authoredJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 074c872 - Browse repository at this point
Copy the full SHA 074c872View commit details -
Merge branch 'master' into validate-parameters
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 7ba9f19 - Browse repository at this point
Copy the full SHA 7ba9f19View commit details -
Merge branch 'validate-parameters' of github.com:getredash/redash int…
…o validate-parameters
Omer Lachish committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 2d841ea - Browse repository at this point
Copy the full SHA 2d841eaView commit details -
Omer Lachish committed
Jan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 8070466 - Browse repository at this point
Copy the full SHA 8070466View commit details
Commits on Jan 24, 2019
-
Omer Lachish committed
Jan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 37d0fe4 - Browse repository at this point
Copy the full SHA 37d0fe4View commit details -
introduce /dropdown.json endpoint with dummy data
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 6ac444b - Browse repository at this point
Copy the full SHA 6ac444bView commit details -
wire frontend to /dropdown.json
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for f022d2c - Browse repository at this point
Copy the full SHA f022d2cView commit details -
always return name/value combos from /dropdown.json
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 99ce0d1 - Browse repository at this point
Copy the full SHA 99ce0d1View commit details -
load actual data into /dropdown.json
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for afcc816 - Browse repository at this point
Copy the full SHA afcc816View commit details -
pluck correct values for
name
andvalue
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 7aa0c6b - Browse repository at this point
Copy the full SHA 7aa0c6bView commit details -
reuse dropdwon plucking logic in QueryResultResource
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 97b0469 - Browse repository at this point
Copy the full SHA 97b0469View commit details -
Omer Lachish committed
Jan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 3f2878f - Browse repository at this point
Copy the full SHA 3f2878fView commit details -
when doing parameter validation, we only care about the value and not
the display name
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for d8b75b3 - Browse repository at this point
Copy the full SHA d8b75b3View commit details -
Merge branch 'validate-parameters' into unify-query-based-dropdown-po…
…pulation
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 1b05156 - Browse repository at this point
Copy the full SHA 1b05156View commit details -
rename dropdown to dropdownOptions
Omer Lachish committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for b9a9086 - Browse repository at this point
Copy the full SHA b9a9086View commit details
Commits on Jan 27, 2019
-
Merge branch 'master' into unify-query-based-dropdown-population
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for ab2fa2c - Browse repository at this point
Copy the full SHA ab2fa2cView commit details -
move dropdown_values to utils/parameterized_query.py
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 1a504d3 - Browse repository at this point
Copy the full SHA 1a504d3View commit details -
stop converting queries to enums and encapsulate the work inside
ParameterizedQuery (almost - /dropdown.json would still access the dropdown_values method)
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 184f28b - Browse repository at this point
Copy the full SHA 184f28bView commit details -
re-order arguments by importance
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for affbfec - Browse repository at this point
Copy the full SHA affbfecView commit details -
test query parameter validation
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 40f4664 - Browse repository at this point
Copy the full SHA 40f4664View commit details -
Merge branch 'master' into validate-parameters
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for e261149 - Browse repository at this point
Copy the full SHA e261149View commit details -
Merge branch 'validate-parameters' into unify-query-based-dropdown-po…
…pulation
Omer Lachish committedJan 27, 2019 Configuration menu - View commit details
-
Copy full SHA for 5fa75e1 - Browse repository at this point
Copy the full SHA 5fa75e1View commit details
Commits on Jan 28, 2019
-
tests for dropdown_values logic
Omer Lachish committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 987e2e2 - Browse repository at this point
Copy the full SHA 987e2e2View commit details -
remove
.json
suffix to the dropdown endpointOmer Lachish committedJan 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 6858d82 - Browse repository at this point
Copy the full SHA 6858d82View commit details
Commits on Jan 29, 2019
-
Merge branch 'master' into unify-query-based-dropdown-population
Omer Lachish committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 63c200a - Browse repository at this point
Copy the full SHA 63c200aView commit details -
allow
BaseResource
to handle JSON stuffOmer Lachish committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 95b5610 - Browse repository at this point
Copy the full SHA 95b5610View commit details -
move _pluck_name_and_value outside its containing method
Omer Lachish committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for b9da589 - Browse repository at this point
Copy the full SHA b9da589View commit details -
case-insensitive lookup when plucking name and value
Omer Lachish committedJan 29, 2019 Configuration menu - View commit details
-
Copy full SHA for ec81933 - Browse repository at this point
Copy the full SHA ec81933View commit details
Commits on Jan 30, 2019
-
separate concerns and simplify test isolation for
dropdown_values
Omer Lachish committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for be84b27 - Browse repository at this point
Copy the full SHA be84b27View commit details -
pick the default column according to the order specified in the query
result columns attribute
Omer Lachish committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for f71962c - Browse repository at this point
Copy the full SHA f71962cView commit details -
use
current_org
instead of passingorg
Omer Lachish committedJan 30, 2019 Configuration menu - View commit details
-
Copy full SHA for d18abb4 - Browse repository at this point
Copy the full SHA d18abb4View commit details
Commits on Feb 6, 2019
-
Merge branch 'master' into unify-query-based-dropdown-population
Omer Lachish committedFeb 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 07edebf - Browse repository at this point
Copy the full SHA 07edebfView commit details
Commits on Feb 10, 2019
-
Merge branch 'master' into unify-query-based-dropdown-population
Omer Lachish committedFeb 10, 2019 Configuration menu - View commit details
-
Copy full SHA for b48f624 - Browse repository at this point
Copy the full SHA b48f624View commit details -
test that user has access to the query when calling the /dropdown
endpoint
Omer Lachish committedFeb 10, 2019 Configuration menu - View commit details
-
Copy full SHA for 7744138 - Browse repository at this point
Copy the full SHA 7744138View commit details