-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pull from upstream #3
Commits on Apr 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 563e34a - Browse repository at this point
Copy the full SHA 563e34aView commit details -
Support LDAP servers where one doesn't first have to bind to the LDAP…
… server with a username/password (#3002) * Support LDAP servers where one doesn't first have to bind to the LDAP server with a username/password * Address code climate things
Configuration menu - View commit details
-
Copy full SHA for 63e052c - Browse repository at this point
Copy the full SHA 63e052cView commit details -
Fix search ordered by best match (#3706)
* Don't force an order by created date - any usecases that want this already request it explicitly and it breaks the search function that wants to order by best match. * Fix the logic so that we fall back to a default search order when there's no search term, rather than when there is one and we should use the best-match ordering. * Remove accidentially added blank line
Configuration menu - View commit details
-
Copy full SHA for af168c6 - Browse repository at this point
Copy the full SHA af168c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab46bb - Browse repository at this point
Copy the full SHA 3ab46bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01e64db - Browse repository at this point
Copy the full SHA 01e64dbView commit details -
Update CardsList to use visual-card styling (#3679)
* Update CardsList to use old markup * CR
Configuration menu - View commit details
-
Copy full SHA for 1f43537 - Browse repository at this point
Copy the full SHA 1f43537View commit details -
Configuration menu - View commit details
-
Copy full SHA for b96094b - Browse repository at this point
Copy the full SHA b96094bView commit details
Commits on Apr 15, 2019
-
Dynamic query time limits (#3702)
* extract time limit decisions to a dynamic settings function * introduce environment variable for scheduled query time limits * pass in org_id to query_time_limit * add an interaction test that verifies that time limits are applied to jobs * really important newlines according to CodeClimate
Omer Lachish authoredApr 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 5b30d08 - Browse repository at this point
Copy the full SHA 5b30d08View commit details -
Add rate limits to user creation/update (#3709)
* Add rate limits for user resources. * Disable rate limiting in tests (except for tests that need it). * Update strings to unicode to avoid SQLA warnings
Configuration menu - View commit details
-
Copy full SHA for e485c96 - Browse repository at this point
Copy the full SHA e485c96View commit details
Commits on Apr 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9b3dd82 - Browse repository at this point
Copy the full SHA 9b3dd82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18761cf - Browse repository at this point
Copy the full SHA 18761cfView commit details -
Fix: update default CSP policy to allow KB iframe. (#3714)
## What type of PR is this? (check all applicable) - [x] Bug Fix ## Description Without this change the Help Drawer couldn't load content anymore. ## Related Tickets & Documents #3404
Configuration menu - View commit details
-
Copy full SHA for 97492d7 - Browse repository at this point
Copy the full SHA 97492d7View commit details
Commits on Apr 18, 2019
-
Split redash/__init__.py to prevent import time side-effects. (#3601)
## What type of PR is this? (check all applicable) <!-- Please leave only what's applicable --> - [x] Refactor - [x] Bug Fix ## Description This basically makes sure that when import the redash package we don't accidentally trigger import-time side-effects such as requiring Redis. Refs #3569 and #3466.
Configuration menu - View commit details
-
Copy full SHA for aa9d246 - Browse repository at this point
Copy the full SHA aa9d246View commit details
Commits on Apr 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fea082e - Browse repository at this point
Copy the full SHA fea082eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10a6ccb - Browse repository at this point
Copy the full SHA 10a6ccbView commit details
Commits on Apr 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fb48bc3 - Browse repository at this point
Copy the full SHA fb48bc3View commit details
Commits on Apr 24, 2019
-
feature: add couchbase query runner (#3658)
* feature: add couchbase query runner * fix style * fix style * fix style * fix naming due to convention * extracting protocol as parameter
Configuration menu - View commit details
-
Copy full SHA for a1e75d2 - Browse repository at this point
Copy the full SHA a1e75d2View commit details
Commits on Apr 28, 2019
-
Fix Ability to save with Multiple Dropdown Parameters (#3717)
* support multiple associations of the same query-based dropdown parameter * include several query-based parameters in association tests
Omer Lachish authoredApr 28, 2019 Configuration menu - View commit details
-
Copy full SHA for c93a905 - Browse repository at this point
Copy the full SHA c93a905View commit details
Commits on Apr 29, 2019
-
Make creating the BigQuery job data pluggable. (#3742)
This would for example allow adding custom job labels (https://cloud.google.com/bigquery/docs/adding-using-labels#job-label) for easier accounting.
Configuration menu - View commit details
-
Copy full SHA for 99bb24d - Browse repository at this point
Copy the full SHA 99bb24dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8758279 - Browse repository at this point
Copy the full SHA 8758279View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24a5748 - Browse repository at this point
Copy the full SHA 24a5748View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48955b5 - Browse repository at this point
Copy the full SHA 48955b5View commit details -
Update npm run to fix hpe_header_overflow (#3732)
Nodejs has set max header size to 8k in http_parser, need to provide a larger header size to make the proxy work.
Configuration menu - View commit details
-
Copy full SHA for c9bf412 - Browse repository at this point
Copy the full SHA c9bf412View commit details -
Fix query based parameter has value null when created (#3707)
* Fix query based parameter value null when created * Use toString to avoid having 'null' string
Configuration menu - View commit details
-
Copy full SHA for f3a653c - Browse repository at this point
Copy the full SHA f3a653cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21e22a2 - Browse repository at this point
Copy the full SHA 21e22a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b2151 - Browse repository at this point
Copy the full SHA d0b2151View commit details
Commits on Apr 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9a4433b - Browse repository at this point
Copy the full SHA 9a4433bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47cd05b - Browse repository at this point
Copy the full SHA 47cd05bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f725f - Browse repository at this point
Copy the full SHA 30f725fView commit details
Commits on May 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fbff4f9 - Browse repository at this point
Copy the full SHA fbff4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33930a5 - Browse repository at this point
Copy the full SHA 33930a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for da2d6bc - Browse repository at this point
Copy the full SHA da2d6bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b077ab - Browse repository at this point
Copy the full SHA 5b077abView commit details
Commits on May 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 72d0031 - Browse repository at this point
Copy the full SHA 72d0031View commit details
Commits on May 5, 2019
-
Add: organization setting for time format (#3754)
* Support for time format * Add selects test * Rename into date_time_format_config
Configuration menu - View commit details
-
Copy full SHA for 2cd1b07 - Browse repository at this point
Copy the full SHA 2cd1b07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17aba39 - Browse repository at this point
Copy the full SHA 17aba39View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee29cf9 - Browse repository at this point
Copy the full SHA ee29cf9View commit details
Commits on May 6, 2019
-
Poll for results in parameterized embeds (#3752)
* add an endpoint for fetching job using a query's api_key * when unauthenticated, use api_key to get job, and fetch the latest query result (as opposed to fetching the query result by ID) * add 'refresh dataset' button to parameters directive * fix scope error introduced by earlier commit * show timer when refreshing results * Show input for missing parameters in embedded visualizations (#3741) * Redirect to default parameter values when parameters are missing in embedded visualizations * Revert "Redirect to default parameter values when parameters are missing in" This reverts commit 43c6550. * load all data after page is loaded * return no data only when parameters are missing * data binding no longer required * show an error on embeds that fail to load * data binding no longer required * present full-page error when dealing with unsafe queries * don't render the execute button for each parameter * show 'missing parameter value' error * Don't reload the whole page when parameter value changes. * Set API key and load config before rendering. * Add Query#hasParameters method. * Don't show download controls for parameterized queries (they won't work). * Use getUrl to construct a correct query link. * WIP: have a single way to load results 1. This preloads the query before rendering the page, so we can benefit from using default parameters & make the logic in component simpler. 2. Use a single way to load results, to make sure we do polling when try to load the query results for the first time. * Show persistent errors and finish loading logic. * Check if query is safe and show message otherwise. * Fix test for unsafe parameters embed. * wait for query results to return before taking snapshot
Configuration menu - View commit details
-
Copy full SHA for 9fec3ca - Browse repository at this point
Copy the full SHA 9fec3caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81bc4ef - Browse repository at this point
Copy the full SHA 81bc4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for c85e097 - Browse repository at this point
Copy the full SHA c85e097View commit details -
Show non relative timestamp when printing an embed. (#3773)
(Also used for the Slack snapshots)
Configuration menu - View commit details
-
Copy full SHA for 3eddea6 - Browse repository at this point
Copy the full SHA 3eddea6View commit details -
DynamoDB: safe implementation of schema loading (#3774)
* Safe implementation of describe_all. * autopep8.
Configuration menu - View commit details
-
Copy full SHA for 0b22aa5 - Browse repository at this point
Copy the full SHA 0b22aa5View commit details
Commits on May 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b7b345d - Browse repository at this point
Copy the full SHA b7b345dView commit details -
Configuration menu - View commit details
-
Copy full SHA for feafbbe - Browse repository at this point
Copy the full SHA feafbbeView commit details
Commits on May 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d751556 - Browse repository at this point
Copy the full SHA d751556View commit details
Commits on May 12, 2019
-
Fix embeds without parameters (#3775)
* provide queryId when fetching query results in order to allow query-based api-key authentication to work properly * cypress test to verify that embeds without parameters are shared succesfully * rename Percy snapshot
Configuration menu - View commit details
-
Copy full SHA for 0ee2079 - Browse repository at this point
Copy the full SHA 0ee2079View commit details -
Fix Ability to Add Query-based Parameters to Existing Queries (#3716)
* propagate `isDirty` down to `QueryBasedParameterInput` * go to /api/:id/dropdown while editing a query, since dropdown queries might still not be associated with the parent. see #3711 * show helpful error message if dropdown values cannot be fetched * use backticks instead of line concatenation * remove requirement to have direct access to dropdown query in order validate it. parent query association checks are sufficient * remove isDirty-based implementation and allow dropdown queries through nested ACL even if they aren't associated yet (given that the user has _direct_ access to the dropdown query) * fix tests to cover all cases for /api/queries/:id/dropdowns/:id * fix indentation * require access to the query, not the data source * use require_access instead of has_access
Omer Lachish authoredMay 12, 2019 Configuration menu - View commit details
-
Copy full SHA for 50a6f72 - Browse repository at this point
Copy the full SHA 50a6f72View commit details -
Migrate Organization Settings to React (#3728)
* Migrate Organization Settings to React * Fix failing spec and replace default values from inputs * Add HelpTrigger and handleChange to SAML options * Undo changes to ant-variables.less * Add time format to OrganizationSettings
Configuration menu - View commit details
-
Copy full SHA for 76bd2e3 - Browse repository at this point
Copy the full SHA 76bd2e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3159410 - Browse repository at this point
Copy the full SHA 3159410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf764b - Browse repository at this point
Copy the full SHA 6bf764bView commit details
Commits on May 13, 2019
-
Presto: ignore blank passwords (#3791)
PyHive expects only None as no password.
Configuration menu - View commit details
-
Copy full SHA for 50f1106 - Browse repository at this point
Copy the full SHA 50f1106View commit details -
[BigQuery] Fix: in some queries there is no mode field (#3786)
Happened with INSERT/UPDATE queries.
Configuration menu - View commit details
-
Copy full SHA for 0cda036 - Browse repository at this point
Copy the full SHA 0cda036View commit details -
filtered tag remove empty name at edit query (#3784)
* filtered tag remove empty name at edit query * use filter
Configuration menu - View commit details
-
Copy full SHA for b09ae46 - Browse repository at this point
Copy the full SHA b09ae46View commit details -
Fix support for calling MySQL Stored Procedures and allow queries to …
…be cancelled (#3003) * If MySQL returns multiple resultSets (eg when executing multiple statements, or calling stored procedures) then use the last resultSet that has columns * Make cancellation of a MySQL query work (the same way the C client does it) * Address code climate moans
Configuration menu - View commit details
-
Copy full SHA for ad6f710 - Browse repository at this point
Copy the full SHA ad6f710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95f11e6 - Browse repository at this point
Copy the full SHA 95f11e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c74d469 - Browse repository at this point
Copy the full SHA c74d469View commit details
Commits on May 14, 2019
-
[Bug fix] Edit parameter mapping: error when trying to change mapping…
… type to Static; cannot change static value (#3800) * Edit parameter mapping: error when trying to change mapping type to Static * Parameter mapping editor: cannot change static value
Configuration menu - View commit details
-
Copy full SHA for b9b30a3 - Browse repository at this point
Copy the full SHA b9b30a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 733b601 - Browse repository at this point
Copy the full SHA 733b601View commit details
Commits on May 15, 2019
-
Migrate Embed Query Dialog to React (#3783)
* Update Antd * Migrate Embed Query Dialog to React * Update jest ScheduleDialog snapshot * Add Alert for unsafe queries * Add CodeBlock * Add inputs to change iframe size * Undo ant update * Update share embed spec * Update styling * Change border-radius to 2px * Update margin between Public URL and IFrame Embed
Configuration menu - View commit details
-
Copy full SHA for 4f40237 - Browse repository at this point
Copy the full SHA 4f40237View commit details -
Refresh query when parameters update (#3737)
* Add touch state to parameters and autoupdate query * Use values change event instead of $watch * Remove getQueryResultDebounced * Add Apply button * Remove Input Number spinners for Parameters * Make Apply Button optional * Update share_embed_spec * Change debounce to the Parameters component * Remove unnecessary click on Execute query * Add apply button to the remaining places * Update dashboard_spec * Use onKeyUp for InputNumber * Simplify onParametersValuesChanged * Update DateTime onChange function * Don't apply when modifier key is pressed * Remove refresh Button from Parameters * Update apply button styling * Update apply right distance * Remove debounce for testing * Use data-dirty instead of classNames for styling * Make sure $apply runs before calling onChange
Configuration menu - View commit details
-
Copy full SHA for c76955b - Browse repository at this point
Copy the full SHA c76955bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4508975 - Browse repository at this point
Copy the full SHA 4508975View commit details
Commits on May 16, 2019
-
Dashboard grid React migration #1 (#3722)
* Dashboard grid React migration * Updated tests * Fixes comments * One col layout * Tests unskipped * Test fixes * Test fix * AutoHeight feature * Kebab-cased * Get rid of lazyInjector * Replace react-grid-layout with patched fork to fix performance issues * Fix issue with initial layout when page has a scrollbar * Decrease polling interval (500ms is too slow) * Rename file to match it's contents * Added some notes and very minor fixes * Fix Remove widget button (should be visible only in editing mode); fix widget actions menu * Fixed missing grid markings * Enhanced resize handle * Updated placeholder color * Render DashboardGrid only when dashboard is loaded
Configuration menu - View commit details
-
Copy full SHA for 606cf12 - Browse repository at this point
Copy the full SHA 606cf12View commit details -
Configuration menu - View commit details
-
Copy full SHA for b263bb7 - Browse repository at this point
Copy the full SHA b263bb7View commit details
Commits on May 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d97ce15 - Browse repository at this point
Copy the full SHA d97ce15View commit details -
Plug custom Celery tasks via dynamic settings (#3819)
* plug custom celery tasks via dynamic settings * an extra blank line
Omer Lachish authoredMay 22, 2019 Configuration menu - View commit details
-
Copy full SHA for 29875e6 - Browse repository at this point
Copy the full SHA 29875e6View commit details
Commits on May 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d7b03ba - Browse repository at this point
Copy the full SHA d7b03baView commit details
Commits on May 26, 2019
-
* Create SECURITY.md * Update SECURITY.md Co-Authored-By: Gabriel Dutra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 020dc35 - Browse repository at this point
Copy the full SHA 020dc35View commit details -
when authenticated, the query shouldn't be sent over to the /jobs end…
…point (#3831)
Omer Lachish authoredMay 26, 2019 Configuration menu - View commit details
-
Copy full SHA for 4143bd3 - Browse repository at this point
Copy the full SHA 4143bd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aecd0bf - Browse repository at this point
Copy the full SHA aecd0bfView commit details -
Decouple extensions from Flask app. (#3569)
* Decouple extensions from Flask app. This separates the extension registry from the Flask app and also introduces a separate registry for preriodic tasks. Fix #3466. * Address review feedback. * Update redash/extensions.py Co-Authored-By: jezdez <[email protected]> * Minor comment in requirements. * Refactoring after getting feedback. * Uncoupled bin/bundle-extensions from Flas app instance. * Load bundles in bundle script and don’t rely on Flask. * Upgraded to importlib-metadata 0.9. * Add missing requirement. * Fix TypeError. * Added requirements for bundle_extension script. * Install bundles requirement file correctly. * Decouple bundle loading code from Redash. * Install bundle requirements from requirements.txt. * Use circleci/node for build-docker-image step, too.
Configuration menu - View commit details
-
Copy full SHA for 07c9530 - Browse repository at this point
Copy the full SHA 07c9530View commit details
Commits on May 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7679df6 - Browse repository at this point
Copy the full SHA 7679df6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28e9740 - Browse repository at this point
Copy the full SHA 28e9740View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dff5b9 - Browse repository at this point
Copy the full SHA 5dff5b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9480d89 - Browse repository at this point
Copy the full SHA 9480d89View commit details
Commits on May 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9292ae8 - Browse repository at this point
Copy the full SHA 9292ae8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 816f4d9 - Browse repository at this point
Copy the full SHA 816f4d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2e31f0 - Browse repository at this point
Copy the full SHA c2e31f0View commit details
Commits on May 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2e96e2f - Browse repository at this point
Copy the full SHA 2e96e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0c76d7 - Browse repository at this point
Copy the full SHA a0c76d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b27df21 - Browse repository at this point
Copy the full SHA b27df21View commit details
Commits on May 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0445340 - Browse repository at this point
Copy the full SHA 0445340View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10b62eb - Browse repository at this point
Copy the full SHA 10b62ebView commit details -
Use more specific CSS for public dashboard page to avoid conflicts wi…
…th other components (#3864)
Configuration menu - View commit details
-
Copy full SHA for 6f290dd - Browse repository at this point
Copy the full SHA 6f290ddView commit details
Commits on Jun 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 10b3b50 - Browse repository at this point
Copy the full SHA 10b3b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for be8dec5 - Browse repository at this point
Copy the full SHA be8dec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f8c733 - Browse repository at this point
Copy the full SHA 3f8c733View commit details -
Update PromiseRejectionError to show error message from API response (#…
Configuration menu - View commit details
-
Copy full SHA for 60b12e3 - Browse repository at this point
Copy the full SHA 60b12e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 090b570 - Browse repository at this point
Copy the full SHA 090b570View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9588ea - Browse repository at this point
Copy the full SHA a9588eaView commit details
Commits on Jun 3, 2019
-
Bump flask from 0.11.1 to 0.12.3 (#3871)
* Bump flask from 0.11.1 to 0.12.3 Bumps [flask](https://github.com/pallets/flask) from 0.11.1 to 0.12.3. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst) - [Commits](pallets/flask@0.11.1...0.12.3) * Bump to Flask 0.12.4 to fix an issue
Configuration menu - View commit details
-
Copy full SHA for e433efe - Browse repository at this point
Copy the full SHA e433efeView commit details -
Remove legacy session identifier support (#3866)
* remove legacy session identifier support * remove redundant test * redirect to login to support any invalid session identifiers * be more specific with caught errors
Configuration menu - View commit details
-
Copy full SHA for 05f6ef0 - Browse repository at this point
Copy the full SHA 05f6ef0View commit details
Commits on Jun 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0e3e2ea - Browse repository at this point
Copy the full SHA 0e3e2eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a82fd0c - Browse repository at this point
Copy the full SHA a82fd0cView commit details
Commits on Jun 6, 2019
-
Upgrade gspread 3.1.0 for supporting team drive (#3838)
* Upgrade gspread 3.1.0 for supporting team drive Signed-off-by: koooge <[email protected]> * Revert "Upgrade gspread 3.1.0 for supporting team drive" This reverts commit e53e8cb. * Upgrade gspread 3.1.0 for supporting team drive Signed-off-by: koooge <[email protected]> * Update Sheets query runner name
Configuration menu - View commit details
-
Copy full SHA for c0e8ef3 - Browse repository at this point
Copy the full SHA c0e8ef3View commit details -
Refresh Public Dashboards (#3881)
* remove legacy session identifier support * remove redundant test * redirect to login to support any invalid session identifiers * be more specific with caught errors * fix refresh for public dashboards
Configuration menu - View commit details
-
Copy full SHA for 5b780ac - Browse repository at this point
Copy the full SHA 5b780acView commit details
Commits on Jun 9, 2019
-
Drawer menu with recreated close button (#3889)
* Drawer menu with recreated close button * Added “Open in new window” drawer menu button (#3890)
Configuration menu - View commit details
-
Copy full SHA for dda75cc - Browse repository at this point
Copy the full SHA dda75ccView commit details
Commits on Jun 10, 2019
-
Remove schema after deleting data source (#3894)
* remove schema from redis after deleting data sources * switch to _pause_key to property
Configuration menu - View commit details
-
Copy full SHA for ed2ac40 - Browse repository at this point
Copy the full SHA ed2ac40View commit details
Commits on Jun 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6605f62 - Browse repository at this point
Copy the full SHA 6605f62View commit details -
Query Results: querying a column with a dictionary or array fails (#3887
Configuration menu - View commit details
-
Copy full SHA for e33ad3b - Browse repository at this point
Copy the full SHA e33ad3bView commit details
Commits on Jun 12, 2019
-
Bump cryptography from 2.0.2 to 2.3 (#3870)
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.0.2 to 2.3. - [Release notes](https://github.com/pyca/cryptography/releases) - [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst) - [Commits](pyca/cryptography@2.0.2...2.3)
Configuration menu - View commit details
-
Copy full SHA for e45f49b - Browse repository at this point
Copy the full SHA e45f49bView commit details -
Bump pyopenssl from 16.2.0 to 17.5.0 (#3872)
Bumps [pyopenssl](https://github.com/pyca/pyopenssl) from 16.2.0 to 17.5.0. - [Release notes](https://github.com/pyca/pyopenssl/releases) - [Changelog](https://github.com/pyca/pyopenssl/blob/master/CHANGELOG.rst) - [Commits](pyca/pyopenssl@16.2.0...17.5.0)
Configuration menu - View commit details
-
Copy full SHA for 3faed0f - Browse repository at this point
Copy the full SHA 3faed0fView commit details -
Authorize according to API key (if given) over cookies (#3877)
* remove legacy session identifier support * remove redundant test * redirect to login to support any invalid session identifiers * be more specific with caught errors * use authorization according to api_key (if provided) over session
Configuration menu - View commit details
-
Copy full SHA for 2af8b39 - Browse repository at this point
Copy the full SHA 2af8b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8d05dd - Browse repository at this point
Copy the full SHA f8d05ddView commit details -
Google Sheets: friendlier error message in case of an API error and m…
…ore reliable test connection (#3883) * Google Sheets: friendlier error message in case of an APIError and more reliable test connection. * Pleasing the pep8 gods
Configuration menu - View commit details
-
Copy full SHA for 1630cbb - Browse repository at this point
Copy the full SHA 1630cbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a9f4b0 - Browse repository at this point
Copy the full SHA 7a9f4b0View commit details -
Add support ssl connections to redis (#3848)
* Add support ssl connections to redis * Fix line length * Update redash/__init__.py w suggestion Co-Authored-By: Omer Lachish <[email protected]> * Cleanup init after suggestion * Move redis SSL config to settings * Do not pass celery SSL config unless necessary * Fix typo
Configuration menu - View commit details
-
Copy full SHA for 4e0a251 - Browse repository at this point
Copy the full SHA 4e0a251View commit details -
Celery task to clear schedule was added (#3801)
* Celery task to clear schedule was added * fix formating * empty_schedules task was put in separate task * worker interval changed, new tests added * past artifact deleted * test queries moved to right class, lambda was used to filter data * unnecessary changes eliminated * more unnecessary files deleted * line shortened * Line shortened more * codeclimate changes * Unused test deleted, logs added
Configuration menu - View commit details
-
Copy full SHA for 2bab144 - Browse repository at this point
Copy the full SHA 2bab144View commit details -
Support regenerating Query API Key (#3764)
* Add regenerate function of query's API Key * Add regenerate API Key button * Add regenerate Query API Key tests * Fix too long line * Replace with this * Return a simple version query * Update only API Key * Update API Key via query
Configuration menu - View commit details
-
Copy full SHA for 8e38dcd - Browse repository at this point
Copy the full SHA 8e38dcdView commit details
Commits on Jun 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ac293c7 - Browse repository at this point
Copy the full SHA ac293c7View commit details
Commits on Jun 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 21a27ee - Browse repository at this point
Copy the full SHA 21a27eeView commit details
Commits on Jun 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d617f57 - Browse repository at this point
Copy the full SHA d617f57View commit details
Commits on Jun 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 99bf6d1 - Browse repository at this point
Copy the full SHA 99bf6d1View commit details -
Add keyboard shortcut for format query (Ctrl/Cmd+Shift+F) (#3911)
* Add keyboard shortcut for format query * Added to button tooltip
Configuration menu - View commit details
-
Copy full SHA for 27c64b4 - Browse repository at this point
Copy the full SHA 27c64b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd321b - Browse repository at this point
Copy the full SHA 6dd321bView commit details
Commits on Jun 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a6960c5 - Browse repository at this point
Copy the full SHA a6960c5View commit details -
Expose celery job timeout setting to env var (#3912)
* Expose celery job timeout to env * Change variable name
Configuration menu - View commit details
-
Copy full SHA for be580b2 - Browse repository at this point
Copy the full SHA be580b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfafa97 - Browse repository at this point
Copy the full SHA cfafa97View commit details
Commits on Jun 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9ee393e - Browse repository at this point
Copy the full SHA 9ee393eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27259b5 - Browse repository at this point
Copy the full SHA 27259b5View commit details
Commits on Jun 23, 2019
-
Set unique class name for Query Control Dropdown (#3922)
This will help me target the Query Control Drodpwon in my extension.
Configuration menu - View commit details
-
Copy full SHA for a696fa5 - Browse repository at this point
Copy the full SHA a696fa5View commit details -
Dockerfile front end stage copies client side files only (#3924)
So that changing other files will not trigger the very expensive rebuild process.
Configuration menu - View commit details
-
Copy full SHA for a00c5a8 - Browse repository at this point
Copy the full SHA a00c5a8View commit details
Commits on Jun 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1743800 - Browse repository at this point
Copy the full SHA 1743800View commit details
Commits on Jun 28, 2019
-
[Bug fix] Toggling Use Dashboard Level Filter cause widgets to show r…
…eload spinner forever (#3939)
Configuration menu - View commit details
-
Copy full SHA for 92391e3 - Browse repository at this point
Copy the full SHA 92391e3View commit details
Commits on Jun 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3c1d1e3 - Browse repository at this point
Copy the full SHA 3c1d1e3View commit details -
Visualization: details view (#3778)
* Details visualization * Add PropTypes and guard against no rows
Configuration menu - View commit details
-
Copy full SHA for 7ceb68a - Browse repository at this point
Copy the full SHA 7ceb68aView commit details -
Add option to hide Pivot Table totals (#3943)
* Add option to hide Pivot Table totals * Simplify implementation using DEFAULT_OPTIONS. * Flip hide pivot controls to show pivot controls * Update client/app/visualizations/pivot/Editor.jsx Co-Authored-By: Ran Byron <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6748e9a - Browse repository at this point
Copy the full SHA 6748e9aView commit details
Commits on Jul 1, 2019
-
* supply a parameter value for text parameters to have it show up * add parameter values for date and datetime * use the current year and month to avoid pagination * use Cypress.moment() instead of preinstalled moment() * capture time before clicking on Now * use now from input * use now from input for another test
Omer Lachish authoredJul 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 2e4a69c - Browse repository at this point
Copy the full SHA 2e4a69cView commit details
Commits on Jul 3, 2019
-
Fix: waiting tasks are not shown in admin view (#3942)
* Fix: waiting tasks are not shown properly * Added a comment.
Configuration menu - View commit details
-
Copy full SHA for 300f3f6 - Browse repository at this point
Copy the full SHA 300f3f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc48de0 - Browse repository at this point
Copy the full SHA cc48de0View commit details
Commits on Jul 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 45a3b72 - Browse repository at this point
Copy the full SHA 45a3b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e5b56e - Browse repository at this point
Copy the full SHA 5e5b56eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f4325b - Browse repository at this point
Copy the full SHA 1f4325bView commit details
Commits on Jul 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for baec5d5 - Browse repository at this point
Copy the full SHA baec5d5View commit details
Commits on Jul 7, 2019
-
Allow calling query results endpoint without parameters. (#3958)
* Allow calling query results endpoint without parameters. * Fix: allow serializing empty or bad dates * Revert "Fix: allow serializing empty or bad dates" This reverts commit cc49319.
Configuration menu - View commit details
-
Copy full SHA for addecbd - Browse repository at this point
Copy the full SHA addecbdView commit details -
Add options to hide different parts of embed UI (parameters, title, l…
Configuration menu - View commit details
-
Copy full SHA for 47fc8a9 - Browse repository at this point
Copy the full SHA 47fc8a9View commit details
Commits on Jul 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1878e8b - Browse repository at this point
Copy the full SHA 1878e8bView commit details -
Support multi-byte search for query names and descriptions (#3908)
* Support multi-byte search for query names and descriptions * add multi_byte_support_enabled option to organization settings * add `ilike %...%` to query search conditions when the option is enabled * Improve description for multi_byte_search_enabled option Co-Authored-By: Arik Fraimovich <[email protected]> * Remove tsvector from search when multi_byte_search_enabled * Add a multi-byte search test case
Configuration menu - View commit details
-
Copy full SHA for 261062d - Browse repository at this point
Copy the full SHA 261062dView commit details
Commits on Jul 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for de0a44e - Browse repository at this point
Copy the full SHA de0a44eView commit details
Commits on Jul 10, 2019
-
Add explicit route for dashboards to allow embedding in iframes. (#3957)
* Add explicit route for dashboards to allow embedding in iframes. * Add missing blank lines
Configuration menu - View commit details
-
Copy full SHA for df57d22 - Browse repository at this point
Copy the full SHA df57d22View commit details -
Improvements to Query Result serialization code (#3960)
* Fix: allow serializing empty or bad dates * Improve date serialization performance * Remove duplicate assertion.
Configuration menu - View commit details
-
Copy full SHA for 93449db - Browse repository at this point
Copy the full SHA 93449dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5149bf6 - Browse repository at this point
Copy the full SHA 5149bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bf84e8 - Browse repository at this point
Copy the full SHA 7bf84e8View commit details
Commits on Jul 11, 2019
-
Build custom alert message (#3137)
* build custom alert message * fit button color tone * pass existing test * fix typos * follow code style * add webhook alert description and avoid key error * refactor: create alert template module * follow code style * use es6 class, fix template display * use alerts.options, use mustache * fix email description * alert custom subject * add alert state to template context, sanitized preview * remove console.log 🙇 * chatwork custom_subject * add alert custom message. pagerduty, mattermost, hangoutschat * Pass custom subject in webhook destination * Add log message when checking alert. * Add feature flag for extra alert options.
Configuration menu - View commit details
-
Copy full SHA for a8ff250 - Browse repository at this point
Copy the full SHA a8ff250View commit details -
* WIP: JSON Data Source * Add JSON data source to default list
Configuration menu - View commit details
-
Copy full SHA for 15a8eec - Browse repository at this point
Copy the full SHA 15a8eecView commit details
Commits on Jul 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4e9da3f - Browse repository at this point
Copy the full SHA 4e9da3fView commit details
Commits on Jul 14, 2019
-
Remove explicit kombu dependency (#3978)
We used an explicit kombu dependency to target the correct Redis version, but current version of Celery supposed to use it by default.
Configuration menu - View commit details
-
Copy full SHA for c793b5d - Browse repository at this point
Copy the full SHA c793b5dView commit details
Commits on Jul 15, 2019
-
Allow Parameters on Public Dashboards (#3659)
* change has_access and require_access signatures to work with the objects that require access, instead of their groups * use the textless endpoint (/api/queries/:id/results) for pristine queriest * Revert "use the textless endpoint (/api/queries/:id/results) for pristine" This reverts commit cd2cee7. * go to textless /api/queries/:id/results by default * change `run_query`'s signature to accept a ParameterizedQuery instead of constructing it inside * raise HTTP 400 when receiving invalid parameter values. Fixes #3394 * enqueue jobs for ApiUsers * rename `id` to `user_id` * support executing queries using Query api_keys by instantiating an ApiUser that would be able to execute the specific query * show deprecation messages for ALLOW_PARAMETERS_IN_EMBEDS. Also, move other message (email not verified) to use the same mechanism * add link to forum message regarding embed deprecation * change API to /api/queries/:id/dropdowns/:dropdown_id * split to 2 different dropdown endpoints and implement the second * add test cases for /api/queries/:id/dropdowns/:id * use new /dropdowns endpoint in frontend * first e2e test for sharing embeds * Pleasing the CodeClimate overlords * All glory to CodeClimate * remove residues from bad rebase * add query id and data source id to serialized public dashboards * add global parameters directive to public dashboards page * allow access to a query by the api_key of the dashboard which includes it * rename `object` to `obj` * simplify permission tests once `has_access` accepts groups * support global parameters for public dashboards * change has_access and require_access signatures to work with the objects that require access, instead of their groups * rename `object` to `obj` * simplify permission tests once `has_access` accepts groups * no need to log `is_api_key` * send parameters to public dashboard page * allow access to a query by the api_key of the dashboard which includes it * disable sharing if dashboard is associated with unsafe queries * remove cypress test added in the wrong place due to a faulty rebase * add support for clicking buttons in cy.clickThrough * Cypress test which verifies that dashboards with safe queries can be shared * Cypress test which verifies that dashboards with unsafe queries can't be shared * remove duplicate tests * use this.enabled and negate when needed * remove stale comment * add another Cypress test to verify that unauthenticated users have access to public dashboards with parameters * obviously, I commit 'only' the first time I use it * search for query access by query id and not api_key * no need to fetch latest query data as it is loaded by frontend from the textless endpoint * test that queries associated with dashboards are accessible when supplying the dashboard api_key * propagate `isDirty` down to `QueryBasedParameterInput` * go to /api/:id/dropdown while editing a query, since dropdown queries might still not be associated with the parent. see #3711 * show helpful error message if dropdown values cannot be fetched * use backticks instead of line concatenation * remove requirement to have direct access to dropdown query in order validate it. parent query association checks are sufficient * remove isDirty-based implementation and allow dropdown queries through nested ACL even if they aren't associated yet (given that the user has _direct_ access to the dropdown query) * fix tests to cover all cases for /api/queries/:id/dropdowns/:id * fix indentation * require access to the query, not the data source * resolve dashboard user by query id * apply new copy to Cypress tests * if only something would have prevented me from commiting an 'only' call 🤔 * very important handling of whitespace * respond to parameter's Apply button * text widgets are safe for sharing * remove redundant event * add a safety check that object has dashboard_api_keys before calling it * supply a parameter value for text parameters to have it show up * add parameter values for date and datetime * use the current year and month to avoid pagination * use Cypress.moment() instead of preinstalled moment() * explicitly create parameters * refresh query data if a querystring parameter is provided * avoid sending a data_source_id - it's only relevant to unsaved queries, since a saved query's data_source is available in the backend * remove empty query text workaround * provide default value to parameter * add a few more dashboard sharing specs * lint * wait for DynamicTable to appear to reveal that actual results are displaying * override error message for unsafely shared widgets
Omer Lachish authoredJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 51d8131 - Browse repository at this point
Copy the full SHA 51d8131View commit details -
mattermost needs whitespace to use h4 heading (#3981)
#### Even Smaller Heading - good ####Even Smaller Heading - bad
Configuration menu - View commit details
-
Copy full SHA for 9f00699 - Browse repository at this point
Copy the full SHA 9f00699View commit details -
Configuration menu - View commit details
-
Copy full SHA for bce0832 - Browse repository at this point
Copy the full SHA bce0832View commit details
Commits on Jul 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 66794ac - Browse repository at this point
Copy the full SHA 66794acView commit details -
A couple of parameters-on-public-dashboards loose ends (#3988)
* avoid catching errors on text widgets' load(), as they don't have a visualization and therefore do not return any promise * throw error when failing to load widgets on public dashboards - in case something needs to be done with it at a later time, and it's the right thing to do anyway * use Promise.resolve instead of checking for undefined
Omer Lachish authoredJul 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 5929139 - Browse repository at this point
Copy the full SHA 5929139View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3cc65a - Browse repository at this point
Copy the full SHA c3cc65aView commit details
Commits on Jul 17, 2019
-
Celery doesn't auto reload in development (#3898)
* pick up *.py file changes and restart scheduler * only watch /redash in order to avoid reloading on other file changes (e.g. tests) * add dev_scheduler entrypoint * use exec * Update bin/docker-entrypoint * rename dev_scheduler to dev_worker * use same defaults as worker
Configuration menu - View commit details
-
Copy full SHA for c83e40b - Browse repository at this point
Copy the full SHA c83e40bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01da8c1 - Browse repository at this point
Copy the full SHA 01da8c1View commit details -
Use AceEditor for Query Snippets (#3973)
Co-Authored-By: Ran Byron <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f20a020 - Browse repository at this point
Copy the full SHA f20a020View commit details
Commits on Jul 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4989bfa - Browse repository at this point
Copy the full SHA 4989bfaView commit details -
Query Result API response shouldn't include query information for non…
… authenticated users (#3985) * avoid catching errors on text widgets' load(), as they don't have a visualization and therefore do not return any promise * throw error when failing to load widgets on public dashboards - in case something needs to be done with it at a later time, and it's the right thing to do anyway * use Promise.resolve instead of checking for undefined * call serialize_query_result instead of directly calling to_dict * filter unneeded query result fields for unauthenticated users * test for serialization filtering * lint * use project instead of list comprehension
Configuration menu - View commit details
-
Copy full SHA for d1edd3d - Browse repository at this point
Copy the full SHA d1edd3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c054ae8 - Browse repository at this point
Copy the full SHA c054ae8View commit details
Commits on Jul 19, 2019
-
Avoid committing
it.only
(#3995)* remove it.only, left by mistake * use no-only-tests * 'off' should be used instead of 'none' * Dedup jest/only rule * always error for .only
Configuration menu - View commit details
-
Copy full SHA for c1f4147 - Browse repository at this point
Copy the full SHA c1f4147View commit details
Commits on Jul 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ad4a760 - Browse repository at this point
Copy the full SHA ad4a760View commit details
Commits on Jul 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9bdb341 - Browse repository at this point
Copy the full SHA 9bdb341View commit details -
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 <[email protected]> * 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 <[email protected]> * Update redash/handlers/query_results.py Co-Authored-By: Arik Fraimovich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea0e411 - Browse repository at this point
Copy the full SHA ea0e411View commit details -
Configuration menu - View commit details
-
Copy full SHA for b229519 - Browse repository at this point
Copy the full SHA b229519View commit details
Commits on Jul 22, 2019
-
Add "deprecated" flag to query runners (and alert destinations) (#3972)
* add a deprecated flag to query runners and show only non-deprecated query runners when adding a new data source * add a deprecated flag to alert destinations and show only non-deprecated alert destinations when adding a new alert destination * add a deprecated() decorator for a more succint way to deprecate * deprecate URL query runner and HipChat alert destination * use class properties instead of class methods for deprecation * I <3 newlines
Omer Lachish authoredJul 22, 2019 Configuration menu - View commit details
-
Copy full SHA for dd89bd8 - Browse repository at this point
Copy the full SHA dd89bd8View commit details -
Disable execute when params are dirty (#4001)
* Disable execute when params dirty * Removed special apply handling for query page * Updated tests
Configuration menu - View commit details
-
Copy full SHA for 64f274f - Browse repository at this point
Copy the full SHA 64f274fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f6c68b - Browse repository at this point
Copy the full SHA 6f6c68bView commit details
Commits on Jul 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8c2f51d - Browse repository at this point
Copy the full SHA 8c2f51dView commit details
Commits on Jul 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c518c7a - Browse repository at this point
Copy the full SHA c518c7aView commit details
Commits on Jul 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 78cae47 - Browse repository at this point
Copy the full SHA 78cae47View commit details -
Add Dynamic Values to Date and Date Range Parameters (#3904)
* Draft for Date Dynamic values * Use value with prefix instead of specific attr * Fix not possible to select static value * Update antd version * Cleanup and DateRangeParameter * Dynamic DateTimeRange * Add Dynamic options to Date Parameters * UI refinements * Add getDynamicValue function * Add 'This' options and prevent text clipping * Make allowClear available * Update ScheduleDialog snapshot * Add some protections and separate Date/DateRange * Accept null values on date or daterange parameters * Handle undefined values on Moment propType * Move export to end of files * Remove Today/Now option * Update with Apply Changes * Show name instead of value for dynamic values * Add comment about supporting useCurrentDateTime * Cypress Tests: Date Parameters * Cypress Tests: Date Range Parameters * Don't put null params in the url * Add workaround comments to Cypress tests Co-Authored-By: Ran Byron <[email protected]> * Fix Dynamic Value as default for global parameters * Update Back to Static Value * Add isValid to value on Date and DateRange inputs * CR suggestions * Fix Back to Static Value for Dates * Update Dynamic Value Styling * Fix failing Date tests * Fix selectedDynamicValue * Parameter spec: Remove date range clickThrough * Add transition * Fix failing Cypress tests * Back with 'width: auto' * Check value is valid on Back to Static value * CR * Update Date Range width
Configuration menu - View commit details
-
Copy full SHA for cd4daf8 - Browse repository at this point
Copy the full SHA cd4daf8View commit details
Commits on Jul 27, 2019
-
Fix Apply Changes is lost when query is edited (#4010)
Co-Authored-By: Ran Byron <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86b0608 - Browse repository at this point
Copy the full SHA 86b0608View commit details
Commits on Jul 28, 2019
-
recycle gunicorn workers (#4013)
Omer Lachish authoredJul 28, 2019 Configuration menu - View commit details
-
Copy full SHA for f165168 - Browse repository at this point
Copy the full SHA f165168View commit details -
Failed Scheduled Queries Report (#3798)
* initial work on e-mail report for failed queries * send failure report only for scheduled queries and not for adhoc queries * add setting to determine if to send failure reports * add setting to determine interval of aggregated e-mail report * html templating of scheduled query failure report * break line * support timeouts for failure reports * aggregate errors within message and warn if approaching threshold * handle errors in QueryExecutor.run instead of on_failure * move failure report to its own module * indicate that failure count is since last report * copy changes * format with <code> * styling, copy and add a link to the query instead of the query text * separate reports with <hr> * switch to UTC * move <h2> to actual e-mail subject * add explicit message for SoftTimeLimitExceeded * fix test to use soft time limits * default query failure threshold to 100 * use base_url from utils * newlines. newlines everywhere. * remove redundant import * apply new design for failure report * use jinja to format the failure report * don't show comment block if no comment is provided * don't send emails if, for some reason, there are no available errors * subtract 1 from failure count, because the first one is represented by 'Last failed' * don't show '+X more failures' if there's only one * extract subject to variable * format as text, while we're at it * allow scrolling for long exception messages * test that e-mails are scheduled only when beneath limit * test for indicating when approaching report limits + refactor * test that failures are aggregated * test that report counts per query and reason * test that the latest failure occurence is reported * force sending reports for testing purposes * Update redash/templates/emails/failures.html Co-Authored-By: Ran Byron <[email protected]> * Update redash/templates/emails/failures.html Co-Authored-By: Ran Byron <[email protected]> * Update redash/tasks/failure_report.py * add org setting for email reports * remove logo from failure report email * correctly use the organization setting for sending failure reports * use user id as key for failure reports data structure * Update redash/tasks/failure_report.py Co-Authored-By: Arik Fraimovich <[email protected]> * build comments while creating context for e-mail templates * figure out the base url when creating the e-mail * no need to expire pending failure report keys as they are deleted anyway when sent * a couple of CodeClimate changes * refactor key creationg to a single location * refactor tests to send e-mail from a single function * use beat to schedule a periodic send_aggregated_errors task instead of using countdown per email * remove pending key as it is no longer required when a periodic task picks up the reports to send * a really important blank line. REALLY important. * Revert "a really important blank line. REALLY important." This reverts commit c7d8ed8. * a really important blank line. REALLY important. It is the best blank line. * don't send failure emails to disabled users
Omer Lachish authoredJul 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 7fb33e3 - Browse repository at this point
Copy the full SHA 7fb33e3View commit details
Commits on Jul 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6f811f1 - Browse repository at this point
Copy the full SHA 6f811f1View commit details -
Updated timeago strings (#4012)
* Updated timeago strings * Moved moment config to app/config
Configuration menu - View commit details
-
Copy full SHA for 5ddad86 - Browse repository at this point
Copy the full SHA 5ddad86View commit details
Commits on Jul 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4f742ae - Browse repository at this point
Copy the full SHA 4f742aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for eae1fb7 - Browse repository at this point
Copy the full SHA eae1fb7View commit details
Commits on Jul 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for db89c4f - Browse repository at this point
Copy the full SHA db89c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b29091 - Browse repository at this point
Copy the full SHA 9b29091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4640c33 - Browse repository at this point
Copy the full SHA 4640c33View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef31d0d - Browse repository at this point
Copy the full SHA ef31d0dView commit details
Commits on Aug 1, 2019
-
Revert "Revoked widget refresh button spinners" (#4027)
This reverts commit ab5494a.
Configuration menu - View commit details
-
Copy full SHA for 8ad08a5 - Browse repository at this point
Copy the full SHA 8ad08a5View commit details
Commits on Aug 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 11cc274 - Browse repository at this point
Copy the full SHA 11cc274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eabf89 - Browse repository at this point
Copy the full SHA 9eabf89View commit details -
Support multi-select in parameters (#3952)
* Allow multiple values for enum parameter * Allow multi-select for Query dropdown parameters * CR + make sure list values are allowed * Add prefix, suffix and separator * Rename multipleValues and cast options as strings * Replicate serialization logic on frontend * Add Quote Option Select * Make sure it's enum or query before join * Add a couple of tests * Add help to quote option * Add min-width and normalize empty array * Improve behavior when changing parameter settings - Set parameter value again to pass through checks - Add setValue check for multi values * Validate enum values on setValue + CodeClimate * Ran wording suggestions * Updates after Apply Changes * Fix failing Cypress tests * Make sure enumOptions exists before split * Improve propTypes for QueyBasedParameterInput Co-Authored-By: Ran Byron <[email protected]> * CR * Cypress: Test for multi-select Enum * Fix multi-selection Cypress spec * Update Refresh Schedule
Configuration menu - View commit details
-
Copy full SHA for f0576a3 - Browse repository at this point
Copy the full SHA f0576a3View commit details
Commits on Aug 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6fc4d5b - Browse repository at this point
Copy the full SHA 6fc4d5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e41d40b - Browse repository at this point
Copy the full SHA e41d40bView commit details
Commits on Aug 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8e23f93 - Browse repository at this point
Copy the full SHA 8e23f93View commit details -
Configuration menu - View commit details
-
Copy full SHA for a167c59 - Browse repository at this point
Copy the full SHA a167c59View commit details
Commits on Aug 7, 2019
-
avoid variable shadowing (#4050)
Omer Lachish authoredAug 7, 2019 Configuration menu - View commit details
-
Copy full SHA for c4dcf01 - Browse repository at this point
Copy the full SHA c4dcf01View commit details
Commits on Aug 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 77625b2 - Browse repository at this point
Copy the full SHA 77625b2View commit details
Commits on Aug 9, 2019
-
Make sure there is an event for any query execution (#4051)
* move event recording for query executions inside run_query * include indication of cache hit or miss inside execute_query events
Configuration menu - View commit details
-
Copy full SHA for cf7aef1 - Browse repository at this point
Copy the full SHA cf7aef1View commit details -
refresh_queries requires Request Context (#4045)
* avoid using 'abort' in parameterized query - raise an exception instead * when facing invalid parameters or detached dropdown queries - continue to refresh the rest of the outdated queries * test that dropdown queries detached from data source raise an exception when fetch values is attempted * test that queries with invalid parameters arent refreshed * test that queries with dropdown query parameters which are detached from the data source are skipped * fix stale test double name * newlines. newlines everywhere. * pass org into dropdown_values * pass in org in every ParameterizedQuery usage * Update redash/tasks/queries.py Co-Authored-By: Arik Fraimovich <[email protected]> * reduce refresh_queries log noise * track failure count for queries that failed to apply parameters, and also notify the failures * Update redash/tasks/queries.py Co-Authored-By: Arik Fraimovich <[email protected]> * newlines. newlines everywhere.
Configuration menu - View commit details
-
Copy full SHA for 76fbe85 - Browse repository at this point
Copy the full SHA 76fbe85View commit details
Commits on Aug 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4e5f55a - Browse repository at this point
Copy the full SHA 4e5f55aView commit details -
Fix according to pycodestyle format (#4011)
* Fix W292 no newline at end of file * Fix extra whitespace * Fix E305 expected 2 blank lines after class or function definition * Fix W391 blank line at end of file * Fix E231 missing whitespace after * Fix E303 too many blank lines * Fix E302 expected 2 blank lines * Fix E128 continuation line under-indented for visual indent
Configuration menu - View commit details
-
Copy full SHA for a7b14bf - Browse repository at this point
Copy the full SHA a7b14bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa2bd00 - Browse repository at this point
Copy the full SHA aa2bd00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8abaf89 - Browse repository at this point
Copy the full SHA 8abaf89View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5a9087 - Browse repository at this point
Copy the full SHA c5a9087View commit details -
Dont send password reset link to disabled users (#2631)
* Dont send password reset link to disabled users * Update email subject * Update blocked email text. * Update blocked email text (plain text version). * Remove debug print.
Configuration menu - View commit details
-
Copy full SHA for 7c2acc3 - Browse repository at this point
Copy the full SHA 7c2acc3View commit details
Commits on Aug 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7dd62ef - Browse repository at this point
Copy the full SHA 7dd62efView commit details -
Prevent CSP violations by not having script URLs (#4062)
* Fix: remove inline script to avoid CSP violation Closes #4039. * Restore eslint rule that prevents javascript href attributes. * Remove all inline script links.
Configuration menu - View commit details
-
Copy full SHA for 685b536 - Browse repository at this point
Copy the full SHA 685b536View commit details -
Change the required Docker Compose version to 3.2 (#4059)
With the default Docker installed from sources on Ubuntu 19.04 it failed starting the project when asking for Compose version 3.7, but everything worked fine with 3.2.
Configuration menu - View commit details
-
Copy full SHA for aceea65 - Browse repository at this point
Copy the full SHA aceea65View commit details -
Add assume role as a credential source for AWS Athena Query runner (#…
…4028) * allowing to specify a custom work group for AWS Athena queries * Fixing title + adding correct position in the UI * Adding assume role configuration to Athena query runner. * removing extra blank lines * fixes based on comments to the PR
Configuration menu - View commit details
-
Copy full SHA for be142d6 - Browse repository at this point
Copy the full SHA be142d6View commit details
Commits on Aug 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4698408 - Browse repository at this point
Copy the full SHA 4698408View commit details -
Fix loading of periodic tasks and clean up extension loading. (#4064)
* Fix loading of periodic tasks and clean up extension loading. This does a few things: - add tests for extension loading - refactor the extension and periodic task loading - better handle assertions raised by extensions (e.g. when an extension tries to override an already registered view) - attach exception traceback to error log during loading for improved debugging * Use site.addsitedir instead of calling pip. * Use sys.path instead of site.addsitedir and also the setup.py egg_info command.
Configuration menu - View commit details
-
Copy full SHA for 7b5696d - Browse repository at this point
Copy the full SHA 7b5696dView commit details -
[Data Sources] Initial commit for adding Dgraph support (#3987)
* Initial commit for adding Dgraph support * Made suggestions from https://codeclimate.com/github/getredash/redash/pull/3964 * feedback from @arikfr * added logo for Dgraph from Twitter * Better conversion of Dgraph JSON to Redash's internal JSON * made recommendations from @arikfr * removed unused function
Configuration menu - View commit details
-
Copy full SHA for 69ba165 - Browse repository at this point
Copy the full SHA 69ba165View commit details