Skip to content
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

Merged
merged 206 commits into from
Aug 13, 2019
Merged

Pull from upstream #3

merged 206 commits into from
Aug 13, 2019

Commits on Apr 14, 2019

  1. Fixed public dashboard footer (#3703)

    ranbena authored and arikfr committed Apr 14, 2019
    Configuration menu
    Copy the full SHA
    563e34a View commit details
    Browse the repository at this point in the history
  2. 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
    Jakdaw authored and arikfr committed Apr 14, 2019
    Configuration menu
    Copy the full SHA
    63e052c View commit details
    Browse the repository at this point in the history
  3. 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
    Jakdaw authored and arikfr committed Apr 14, 2019
    Configuration menu
    Copy the full SHA
    af168c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ab46bb View commit details
    Browse the repository at this point in the history
  5. Fix Decimal128 error (#3684)

    aidarbek authored and arikfr committed Apr 14, 2019
    Configuration menu
    Copy the full SHA
    01e64db View commit details
    Browse the repository at this point in the history
  6. Update CardsList to use visual-card styling (#3679)

    * Update CardsList to use old markup
    
    * CR
    gabrieldutra authored and arikfr committed Apr 14, 2019
    Configuration menu
    Copy the full SHA
    1f43537 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b96094b View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2019

  1. 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 authored Apr 15, 2019
    Configuration menu
    Copy the full SHA
    5b30d08 View commit details
    Browse the repository at this point in the history
  2. 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
    arikfr authored Apr 15, 2019
    Configuration menu
    Copy the full SHA
    e485c96 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. Configuration menu
    Copy the full SHA
    9b3dd82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18761cf View commit details
    Browse the repository at this point in the history
  3. 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
    arikfr authored and jezdez committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    97492d7 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. 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.
    jezdez authored Apr 18, 2019
    Configuration menu
    Copy the full SHA
    aa9d246 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2019

  1. Configuration menu
    Copy the full SHA
    fea082e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10a6ccb View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2019

  1. Configuration menu
    Copy the full SHA
    fb48bc3 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2019

  1. 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
    AntonZarutsky authored and arikfr committed Apr 24, 2019
    Configuration menu
    Copy the full SHA
    a1e75d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2019

  1. 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 authored Apr 28, 2019
    Configuration menu
    Copy the full SHA
    c93a905 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. 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.
    jezdez authored and arikfr committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    99bb24d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8758279 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24a5748 View commit details
    Browse the repository at this point in the history
  4. Use monospace font in query output log (#3743)

    Closes #3739
    otsaloma authored and arikfr committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    48955b5 View commit details
    Browse the repository at this point in the history
  5. 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.
    guwenqing authored and arikfr committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    c9bf412 View commit details
    Browse the repository at this point in the history
  6. 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
    gabrieldutra authored and arikfr committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    f3a653c View commit details
    Browse the repository at this point in the history
  7. add get_by_id to Organization (#3712)

    Omer Lachish authored and arikfr committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    21e22a2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d0b2151 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2019

  1. Configuration menu
    Copy the full SHA
    9a4433b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47cd05b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30f725f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2019

  1. Configuration menu
    Copy the full SHA
    fbff4f9 View commit details
    Browse the repository at this point in the history
  2. Remove unused import statements (#3751)

    ariarijp authored and arikfr committed May 1, 2019
    Configuration menu
    Copy the full SHA
    33930a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da2d6bc View commit details
    Browse the repository at this point in the history
  4. Support for Presto password (#3619)

    aidarbek authored and arikfr committed May 1, 2019
    Configuration menu
    Copy the full SHA
    5b077ab View commit details
    Browse the repository at this point in the history

Commits on May 2, 2019

  1. Configuration menu
    Copy the full SHA
    72d0031 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. Add: organization setting for time format (#3754)

    * Support for time format
    
    * Add selects test
    
    * Rename into date_time_format_config
    yusukegoto authored and arikfr committed May 5, 2019
    Configuration menu
    Copy the full SHA
    2cd1b07 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17aba39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee29cf9 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. 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
    Omer Lachish authored and arikfr committed May 6, 2019
    Configuration menu
    Copy the full SHA
    9fec3ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81bc4ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c85e097 View commit details
    Browse the repository at this point in the history
  4. Show non relative timestamp when printing an embed. (#3773)

    (Also used for the Slack snapshots)
    arikfr authored May 6, 2019
    Configuration menu
    Copy the full SHA
    3eddea6 View commit details
    Browse the repository at this point in the history
  5. DynamoDB: safe implementation of schema loading (#3774)

    * Safe implementation of describe_all.
    
    * autopep8.
    arikfr authored May 6, 2019
    Configuration menu
    Copy the full SHA
    0b22aa5 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2019

  1. Configuration menu
    Copy the full SHA
    b7b345d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    feafbbe View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. Fix: Filter empty tags (#3780)

    taminif authored and ranbena committed May 10, 2019
    Configuration menu
    Copy the full SHA
    d751556 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2019

  1. 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
    Omer Lachish authored and arikfr committed May 12, 2019
    Configuration menu
    Copy the full SHA
    0ee2079 View commit details
    Browse the repository at this point in the history
  2. 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 authored May 12, 2019
    Configuration menu
    Copy the full SHA
    50a6f72 View commit details
    Browse the repository at this point in the history
  3. 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
    gabrieldutra authored and arikfr committed May 12, 2019
    Configuration menu
    Copy the full SHA
    76bd2e3 View commit details
    Browse the repository at this point in the history
  4. Restrict markdown image dimensions (#3789)

    ranbena authored and arikfr committed May 12, 2019
    Configuration menu
    Copy the full SHA
    3159410 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6bf764b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2019

  1. Presto: ignore blank passwords (#3791)

    PyHive expects only None as no password.
    arikfr authored May 13, 2019
    Configuration menu
    Copy the full SHA
    50f1106 View commit details
    Browse the repository at this point in the history
  2. [BigQuery] Fix: in some queries there is no mode field (#3786)

    Happened with INSERT/UPDATE queries.
    arikfr authored May 13, 2019
    Configuration menu
    Copy the full SHA
    0cda036 View commit details
    Browse the repository at this point in the history
  3. filtered tag remove empty name at edit query (#3784)

    * filtered tag remove empty name at edit query
    
    * use filter
    taminif authored and arikfr committed May 13, 2019
    Configuration menu
    Copy the full SHA
    b09ae46 View commit details
    Browse the repository at this point in the history
  4. 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
    Jakdaw authored and arikfr committed May 13, 2019
    Configuration menu
    Copy the full SHA
    ad6f710 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95f11e6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c74d469 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. [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
    kravets-levko authored May 14, 2019
    Configuration menu
    Copy the full SHA
    b9b30a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    733b601 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. 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
    gabrieldutra authored and arikfr committed May 15, 2019
    Configuration menu
    Copy the full SHA
    4f40237 View commit details
    Browse the repository at this point in the history
  2. 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
    gabrieldutra authored and arikfr committed May 15, 2019
    Configuration menu
    Copy the full SHA
    c76955b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4508975 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. 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
    ranbena authored and arikfr committed May 16, 2019
    Configuration menu
    Copy the full SHA
    606cf12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b263bb7 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. refactor format semi-colon (#3812)

    taminif authored and arikfr committed May 22, 2019
    Configuration menu
    Copy the full SHA
    d97ce15 View commit details
    Browse the repository at this point in the history
  2. Plug custom Celery tasks via dynamic settings (#3819)

    * plug custom celery tasks via dynamic settings
    
    * an extra blank line
    Omer Lachish authored May 22, 2019
    Configuration menu
    Copy the full SHA
    29875e6 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. Configuration menu
    Copy the full SHA
    d7b03ba View commit details
    Browse the repository at this point in the history

Commits on May 26, 2019

  1. Create SECURITY.md (#3823)

    * Create SECURITY.md
    
    * Update SECURITY.md
    
    Co-Authored-By: Gabriel Dutra <[email protected]>
    arikfr and gabrieldutra authored May 26, 2019
    Configuration menu
    Copy the full SHA
    020dc35 View commit details
    Browse the repository at this point in the history
  2. when authenticated, the query shouldn't be sent over to the /jobs end…

    …point (#3831)
    Omer Lachish authored May 26, 2019
    Configuration menu
    Copy the full SHA
    4143bd3 View commit details
    Browse the repository at this point in the history
  3. include bigquery_gce.png in db-logos (#3825)

    rueian authored and Omer Lachish committed May 26, 2019
    Configuration menu
    Copy the full SHA
    aecd0bf View commit details
    Browse the repository at this point in the history
  4. 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.
    jezdez authored and arikfr committed May 26, 2019
    Configuration menu
    Copy the full SHA
    07c9530 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Configuration menu
    Copy the full SHA
    7679df6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28e9740 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5dff5b9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9480d89 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2019

  1. CSV: correctly serialize booleans and dates. (#3841)

    * CSV: correctly serialize booleans and dates.
    
    Closes #3736, closes #2751.
    
    * pep8 fixes
    
    * Move column iteration to a helper function.
    
    * Use elif, as types are mutually exclusive.
    
    * Refactor parsing implementation.
    
    * Move the csv generation fucntion
    arikfr authored May 29, 2019
    Configuration menu
    Copy the full SHA
    9292ae8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    816f4d9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2e31f0 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. Configuration menu
    Copy the full SHA
    2e96e2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0c76d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b27df21 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2019

  1. Configuration menu
    Copy the full SHA
    0445340 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10b62eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f290dd View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2019

  1. Configuration menu
    Copy the full SHA
    10b3b50 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be8dec5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f8c733 View commit details
    Browse the repository at this point in the history
  4. Update PromiseRejectionError to show error message from API response (#…

    …3868)
    
    * Update PromiseRejectionError to show error message from API response
    
    * Update version to 8.0.0-beta.
    
    * Revert "Update version to 8.0.0-beta."
    
    This reverts commit c8fa749.
    arikfr authored Jun 2, 2019
    Configuration menu
    Copy the full SHA
    60b12e3 View commit details
    Browse the repository at this point in the history
  5. Rearrange README badges.

    arikfr authored Jun 2, 2019
    Configuration menu
    Copy the full SHA
    090b570 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a9588ea View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. 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
    dependabot[bot] authored and arikfr committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    e433efe View commit details
    Browse the repository at this point in the history
  2. 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
    Omer Lachish authored and arikfr committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    05f6ef0 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Configuration menu
    Copy the full SHA
    0e3e2ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a82fd0c View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. 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
    koooge authored and arikfr committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    c0e8ef3 View commit details
    Browse the repository at this point in the history
  2. 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
    Omer Lachish authored and arikfr committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    5b780ac View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2019

  1. Drawer menu with recreated close button (#3889)

    * Drawer menu with recreated close button
    
    * Added “Open in new window” drawer menu button (#3890)
    ranbena authored Jun 9, 2019
    Configuration menu
    Copy the full SHA
    dda75cc View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2019

  1. Remove schema after deleting data source (#3894)

    * remove schema from redis after deleting data sources
    
    * switch to _pause_key to property
    Omer Lachish authored and arikfr committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    ed2ac40 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. add api_key to embed download urls (#3896)

    Omer Lachish authored and arikfr committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    6605f62 View commit details
    Browse the repository at this point in the history
  2. Query Results: querying a column with a dictionary or array fails (#3887

    )
    
    * flatten lists and dicts to json to be used with SQLite's json_extract functions
    
    * add test that verifies that lists and dicts are saved
    
    * add test that verifies that lists and dicts are saved
    Omer Lachish authored and arikfr committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    e33ad3b View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. Configuration menu
    Copy the full SHA
    e45f49b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3faed0f View commit details
    Browse the repository at this point in the history
  3. 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
    Omer Lachish authored and arikfr committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    2af8b39 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8d05dd View commit details
    Browse the repository at this point in the history
  5. 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
    arikfr authored Jun 12, 2019
    Configuration menu
    Copy the full SHA
    1630cbb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a9f4b0 View commit details
    Browse the repository at this point in the history
  7. 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
    nason authored and arikfr committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    4e0a251 View commit details
    Browse the repository at this point in the history
  8. 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
    aidarbek authored and arikfr committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    2bab144 View commit details
    Browse the repository at this point in the history
  9. 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
    kyoshidajp authored and arikfr committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    8e38dcd View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2019

  1. Configuration menu
    Copy the full SHA
    ac293c7 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2019

  1. Fix OverflowError on celery worker (#3899)

    guyco33 authored and Omer Lachish committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    21a27ee View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Increase celery job timeout (#3903)

    ranbena authored and arikfr committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    d617f57 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2019

  1. Custom Map Markers (#3840)

    deecay authored and ranbena committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    99bf6d1 View commit details
    Browse the repository at this point in the history
  2. Add keyboard shortcut for format query (Ctrl/Cmd+Shift+F) (#3911)

    * Add keyboard shortcut for format query
    
    * Added to button tooltip
    arikfr authored Jun 18, 2019
    Configuration menu
    Copy the full SHA
    27c64b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6dd321b View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2019

  1. Configuration menu
    Copy the full SHA
    a6960c5 View commit details
    Browse the repository at this point in the history
  2. Expose celery job timeout setting to env var (#3912)

    * Expose celery job timeout to env
    
    * Change variable name
    deecay authored and arikfr committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    be580b2 View commit details
    Browse the repository at this point in the history
  3. Fixed boolean filter (#3915)

    ranbena authored and arikfr committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    cfafa97 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2019

  1. Configuration menu
    Copy the full SHA
    9ee393e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27259b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2019

  1. Set unique class name for Query Control Dropdown (#3922)

    This will help me target the Query Control Drodpwon in my extension.
    openjck authored and arikfr committed Jun 23, 2019
    Configuration menu
    Copy the full SHA
    a696fa5 View commit details
    Browse the repository at this point in the history
  2. Dockerfile front end stage copies client side files only (#3924)

    So that changing other files will not trigger the
    very expensive rebuild process.
    ktmud authored and arikfr committed Jun 23, 2019
    Configuration menu
    Copy the full SHA
    a00c5a8 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Configuration menu
    Copy the full SHA
    1743800 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. Configuration menu
    Copy the full SHA
    92391e3 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Configuration menu
    Copy the full SHA
    3c1d1e3 View commit details
    Browse the repository at this point in the history
  2. Visualization: details view (#3778)

    * Details visualization
    
    * Add PropTypes and guard against no rows
    arikfr authored Jun 30, 2019
    Configuration menu
    Copy the full SHA
    7ceb68a View commit details
    Browse the repository at this point in the history
  3. 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]>
    arikfr and ranbena authored Jun 30, 2019
    Configuration menu
    Copy the full SHA
    6748e9a View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Parameter spec fixes (#3932)

    * 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 authored Jul 1, 2019
    Configuration menu
    Copy the full SHA
    2e4a69c View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Fix: waiting tasks are not shown in admin view (#3942)

    * Fix: waiting tasks are not shown properly
    
    * Added a comment.
    arikfr authored Jul 3, 2019
    Configuration menu
    Copy the full SHA
    300f3f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc48de0 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Configuration menu
    Copy the full SHA
    45a3b72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e5b56e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f4325b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Configuration menu
    Copy the full SHA
    baec5d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2019

  1. 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.
    arikfr authored Jul 7, 2019
    Configuration menu
    Copy the full SHA
    addecbd View commit details
    Browse the repository at this point in the history
  2. Add options to hide different parts of embed UI (parameters, title, l…

    …ink to query) (#3955)
    
    * Move closing tag to correct location
    
    * Add options to hide elements in query embed UI
    
    * Fix for headless top padding (#3959)
    arikfr authored Jul 7, 2019
    Configuration menu
    Copy the full SHA
    47fc8a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. Configuration menu
    Copy the full SHA
    1878e8b View commit details
    Browse the repository at this point in the history
  2. 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
    sekiyama58 authored and arikfr committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    261062d View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Configuration menu
    Copy the full SHA
    de0a44e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

  1. 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
    arikfr authored Jul 10, 2019
    Configuration menu
    Copy the full SHA
    df57d22 View commit details
    Browse the repository at this point in the history
  2. Improvements to Query Result serialization code (#3960)

    * Fix: allow serializing empty or bad dates
    
    * Improve date serialization performance
    
    * Remove duplicate assertion.
    arikfr authored Jul 10, 2019
    Configuration menu
    Copy the full SHA
    93449db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5149bf6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7bf84e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. 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.
    k-tomoyasu authored and arikfr committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    a8ff250 View commit details
    Browse the repository at this point in the history
  2. JSON Data Source (#3805)

    * WIP: JSON Data Source
    
    * Add JSON data source to default list
    arikfr authored Jul 11, 2019
    Configuration menu
    Copy the full SHA
    15a8eec View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2019

  1. Configuration menu
    Copy the full SHA
    4e9da3f View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2019

  1. 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.
    arikfr authored Jul 14, 2019
    Configuration menu
    Copy the full SHA
    c793b5d View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2019

  1. 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 authored Jul 15, 2019
    Configuration menu
    Copy the full SHA
    51d8131 View commit details
    Browse the repository at this point in the history
  2. mattermost needs whitespace to use h4 heading (#3981)

    #### Even Smaller Heading - good
    ####Even Smaller Heading - bad
    ygrishaev authored and arikfr committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    9f00699 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bce0832 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

  1. Configuration menu
    Copy the full SHA
    66794ac View commit details
    Browse the repository at this point in the history
  2. 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 authored Jul 16, 2019
    Configuration menu
    Copy the full SHA
    5929139 View commit details
    Browse the repository at this point in the history
  3. Viz embed logo alignment (#3956)

    ranbena authored and arikfr committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    c3cc65a View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. 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
    Omer Lachish authored and arikfr committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    c83e40b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01da8c1 View commit details
    Browse the repository at this point in the history
  3. Use AceEditor for Query Snippets (#3973)

    Co-Authored-By: Ran Byron <[email protected]>
    gabrieldutra and ranbena authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    f20a020 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. Configuration menu
    Copy the full SHA
    4989bfa View commit details
    Browse the repository at this point in the history
  2. 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
    Omer Lachish authored and arikfr committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    d1edd3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c054ae8 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. 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
    Omer Lachish authored and arikfr committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    c1f4147 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2019

  1. Search dropdown parameters (#3796)

    fmy authored and ranbena committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    ad4a760 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2019

  1. Move query runners/destinations import from redash.app to redash. (#3993

    )
    
    * Move query runners/destinations import from redash.app to redash.
    
    * Add missing argument
    arikfr authored Jul 21, 2019
    Configuration menu
    Copy the full SHA
    9bdb341 View commit details
    Browse the repository at this point in the history
  2. 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]>
    Omer Lachish and arikfr authored Jul 21, 2019
    Configuration menu
    Copy the full SHA
    ea0e411 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b229519 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. 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 authored Jul 22, 2019
    Configuration menu
    Copy the full SHA
    dd89bd8 View commit details
    Browse the repository at this point in the history
  2. Disable execute when params are dirty (#4001)

    * Disable execute when params dirty
    
    * Removed special apply handling for query page
    
    * Updated tests
    ranbena authored and arikfr committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    64f274f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f6c68b View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Configuration menu
    Copy the full SHA
    8c2f51d View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2019

  1. Configuration menu
    Copy the full SHA
    c518c7a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2019

  1. Configuration menu
    Copy the full SHA
    78cae47 View commit details
    Browse the repository at this point in the history
  2. 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
    gabrieldutra authored and arikfr committed Jul 26, 2019
    Configuration menu
    Copy the full SHA
    cd4daf8 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2019

  1. Configuration menu
    Copy the full SHA
    86b0608 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2019

  1. recycle gunicorn workers (#4013)

    Omer Lachish authored Jul 28, 2019
    Configuration menu
    Copy the full SHA
    f165168 View commit details
    Browse the repository at this point in the history
  2. 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 authored Jul 28, 2019
    Configuration menu
    Copy the full SHA
    7fb33e3 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2019

  1. Configuration menu
    Copy the full SHA
    6f811f1 View commit details
    Browse the repository at this point in the history
  2. Updated timeago strings (#4012)

    * Updated timeago strings
    
    * Moved moment config to app/config
    ranbena authored and arikfr committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    5ddad86 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2019

  1. Configuration menu
    Copy the full SHA
    4f742ae View commit details
    Browse the repository at this point in the history
  2. Force readonly inputs click (#4016)

    gabrieldutra authored and ranbena committed Jul 30, 2019
    Configuration menu
    Copy the full SHA
    eae1fb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2019

  1. Configuration menu
    Copy the full SHA
    db89c4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b29091 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4640c33 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef31d0d View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2019

  1. Revert "Revoked widget refresh button spinners" (#4027)

    This reverts commit ab5494a.
    ranbena authored and arikfr committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    8ad08a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2019

  1. Configuration menu
    Copy the full SHA
    11cc274 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9eabf89 View commit details
    Browse the repository at this point in the history
  3. 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
    gabrieldutra authored and arikfr committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    f0576a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2019

  1. Configuration menu
    Copy the full SHA
    6fc4d5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e41d40b View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. Configuration menu
    Copy the full SHA
    8e23f93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a167c59 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2019

  1. avoid variable shadowing (#4050)

    Omer Lachish authored Aug 7, 2019
    Configuration menu
    Copy the full SHA
    c4dcf01 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2019

  1. Configuration menu
    Copy the full SHA
    77625b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. 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
    Omer Lachish authored and arikfr committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    cf7aef1 View commit details
    Browse the repository at this point in the history
  2. 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.
    Omer Lachish authored and arikfr committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    76fbe85 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2019

  1. Configuration menu
    Copy the full SHA
    4e5f55a View commit details
    Browse the repository at this point in the history
  2. 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
    yoshiken authored and arikfr committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    a7b14bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa2bd00 View commit details
    Browse the repository at this point in the history
  4. Add tag management commands (#3168)

    ariarijp authored and arikfr committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    8abaf89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c5a9087 View commit details
    Browse the repository at this point in the history
  6. 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.
    oldPadavan authored and arikfr committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    7c2acc3 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2019

  1. Configuration menu
    Copy the full SHA
    7dd62ef View commit details
    Browse the repository at this point in the history
  2. 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.
    arikfr authored Aug 12, 2019
    Configuration menu
    Copy the full SHA
    685b536 View commit details
    Browse the repository at this point in the history
  3. 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.
    arikfr authored Aug 12, 2019
    Configuration menu
    Copy the full SHA
    aceea65 View commit details
    Browse the repository at this point in the history
  4. 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
    ialeinikov authored and arikfr committed Aug 12, 2019
    Configuration menu
    Copy the full SHA
    be142d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2019

  1. Configuration menu
    Copy the full SHA
    4698408 View commit details
    Browse the repository at this point in the history
  2. 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.
    jezdez authored and arikfr committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    7b5696d View commit details
    Browse the repository at this point in the history
  3. [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
    The-Alchemist authored and arikfr committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    69ba165 View commit details
    Browse the repository at this point in the history