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

Support microsoft login #4850

Closed
wants to merge 2,688 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 16, 2019

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

Commits on Oct 17, 2019

  1. Configuration menu
    Copy the full SHA
    0203bea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fd78d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da8c737 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2019

  1. Configuration menu
    Copy the full SHA
    9580be2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a6ac27 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2019

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

Commits on Oct 23, 2019

  1. Configuration menu
    Copy the full SHA
    7f52d5d View commit details
    Browse the repository at this point in the history
  2. avoid loading entire job data for queued jobs (getredash#4257)

    Omer Lachish authored and arikfr committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    fabcfc1 View commit details
    Browse the repository at this point in the history
  3. Monitor general RQ queues (default, periodic and schemas) (getredash#…

    …4256)
    
    * track general RQ queues (default, periodic and schemas)
    
    * get all active RQ queues
    
    * call get_celery_queues in another place
    Omer Lachish authored and arikfr committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    a6863c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. extend the result_ttl of refresh_queries to 600 seconds to allow it t…

    …o continue running periodically even after longer executions (getredash#4283)
    Omer Lachish authored and arikfr committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    dc9b825 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6eb67f View commit details
    Browse the repository at this point in the history
  3. Migrate the application to Python 3 (getredash#4251)

    * Make core app compatible with Python 3
    
    No backward compatibility with Python 2.7 is kept.
    This commit mostly contains changes made with 2to3 and manual
    tweaking when necessary.
    
    * Use Python 3.7 as base docker image
    
    Since it is not possible to change redash/base:debian to Python 3
    without breaking future relases, its Dockerfile is temporarly
    copied here.
    
    * Upgrade some requirements to newest versions
    
    Some of the older versions were not compatible with Python 3.
    
    * Migrate tests to Python 3
    
    * Build frontend on Python 3
    
    * Make the HMAC sign function compatible with Python 3
    
    In Python 3, HMAC only works with bytes so the strings and the
    float used in the sign function need to be encoded.
    Hopefully this is still backward compatible with already generated
    signatures.
    
    * Use assertCountEqual instead of assertItemsEqual
    
    The latter is not available in Python 3.
    See https://bugs.python.org/issue17866
    
    * Remove redundant encoding header for Python 3 modules
    
    * Remove redundant string encoding in CLI
    
    * Rename list() functions in CLI
    
    These functions shadow the builtin list function which is
    problematic since 2to3 adds a fair amount of calls to the builtin
    list when it finds dict.keys() and dict.values().
    
    Only the Python function is renamed, from the perspective of the
    CLI nothing changes.
    
    * Replace usage of Exception.message in CLI
    
    `message` is not available anymore, instead use the string
    representation of the exception.
    
    * Adapt test handlers to Python 3
    
    * Fix test that relied on dict ordering
    
    * Make sure test results are always uploaded (getredash#4215)
    
    * Support encoding memoryview to JSON
    
    psycopg2 returns `buffer` objects in Python 2.7 and `memoryview`
    in Python 3. See getredash#3156
    
    * Fix test relying on object address ordering
    
    * Decode bytes returned from Redis
    
    * Stop using e.message for most exceptions
    
    Exception.message is not available in Python 3 anymore, except
    for some exceptions defined by third-party libraries.
    
    * Fix writing XLSX files in Python 3
    
    The buffer for the file should be made of bytes and the actual
    content written to it strings.
    
    Note: I do not know why the diff is so large as it's only a two
    lines change. Probably a white space or file encoding issue.
    
    * Fix test by comparing strings to strings
    
    * Fix another exception message unavailable in Python 3
    
    * Fix export to CSV in Python 3
    
    The UnicodeWriter is not used anymore. In Python 3, the interface
    provided by the CSV module only deals with strings, in and out.
    The encoding of the output is left to the user, in our case
    it is given to Flask via `make_response`.
    
    * (Python 3) Use Redis' decode_responses=True option (getredash#4232)
    
    * Fix test_outdated_queries_works_scheduled_queries_tracker (use utcnow)
    
    * Make sure Redis connection uses decoded_responses option
    
    * Remove unused imports.
    
    * Use Redis' decode_responses option
    
    * Remove cases of explicit Redis decoding
    
    * Rename helper function and make sure it doesn't apply twice.
    
    * Don't add decode_responses to Celery Redis connection URL
    
    * Fix displaying error while connecting to SQLite
    
    The exception message is always a string in Python 3, so no
    need to try to decode things.
    
    * Fix another missing exception message
    
    * Handle JSON encoding for datasources returning bytes
    
    SimpleJSON assumes the bytes it receives contain text data, so it
    tries to UTF-8 encode them. It is sometimes not true, for instance
    the SQLite datasource returns bytes for BLOB types, which typically
    do not contain text but truly binary data.
    
    This commit disables SimpleJSON auto encoding of bytes to str and
    instead uses the same method as for memoryviews: generating a
    hex representation of the data.
    
    * Fix Python 3 compatibility with RQ
    
    * Revert some changes 2to3 tends to do (getredash#4261)
    
    - Revert some changes 2to3 tends to do when it errs on the side of caution regarding dict view objects.
    
    - Also fixed some naming issues with one character variables in list comprehensions.
    
    - Fix Flask warning.
    
    * Upgrade dependencies
    
    * Remove useless `iter` added by 2to3
    
    * Fix get_next_path tests (getredash#4280)
    
    * Removed setting SERVER_NAME in tests setup to avoid a warning.
    
    * Change get_next_path to not return empty string in case of a domain only value.
    
    * Fix redirect tests:
    
    Since version 0.15 of Werkzeug it uses full path for fixing the location header instead of the root path.
    
    * Remove explicit dependency for Werkzeug
    
    * Switched pytz and certifi to unbinded versions.
    
    * Switch to new library for getting country from IP
    
    `python-geoip-geolite2` is not compatible with Python 3, instead
    use `maxminddb-geolite2` which is very similar as it includes
    the geolite2 database in the package .
    
    * Python 3 RQ modifications (getredash#4281)
    
    * show current worker job (alongside with minor cosmetic column tweaks)
    
    * avoid loading entire job data for queued jobs
    
    * track general RQ queues (default, periodic and schemas)
    
    * get all active RQ queues
    
    * call get_celery_queues in another place
    
    * merge dicts the Python 3 way
    
    * extend the result_ttl of refresh_queries to 600 seconds to allow it to continue running periodically even after longer executions
    
    * Remove legacy Python flake8 tests
    NicolasLM authored and arikfr committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    2aaebb1 View commit details
    Browse the repository at this point in the history
  4. Introduce inheritance to the Parameter structure (getredash#4049)

    * Start draft for new Parameter structure
    
    * Add the rest of the methods
    
    * EnumParameter
    
    * QueryBasedDropdownParameter
    
    * DateParameter
    
    * DateRangeParameter
    
    * Update Parameter usage on code
    
    * Merge dynamicValue into normalizedValue
    
    * Add updateLocals and omit unwanted props
    
    * Allow null NumberParameter and omit parentQueryId
    
    * Rename parameter getValue to getExecutionValue
    
    * Update $$value to normalizedValue + omit on save
    
    * Add a few comments
    
    * Remove ngModel property from Parameter
    
    * Use value directly in DateRangeParameter
    
    * Use simpler separator for DateRange url param
    
    * Add backward compatibility
    
    * Use normalizeValue null value for isEmpty
    
    * Start creating jest tests
    
    * Add more tests
    
    * Normalize null value for multi mode in Enum
    
    * Use saved value for param isEmpty
    gabrieldutra authored and arikfr committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    62621eb View commit details
    Browse the repository at this point in the history
  5. Migrate Table visualization to React Part 2: Editor (getredash#4175)

    * Migrate table editor to React: skeleton, Grid tab
    
    * Columns tab
    
    * Cleanup
    
    * Columns tab: DnD column sorting
    
    * Columns types should be JSX
    
    * New Columns tab UI/X
    
    * Use Sortable component on Columns tab
    
    * Tests: Grid Settings
    
    * Tests: Columns Settings
    
    * Tests: Editors for Text, Number, Boolean and Date/Time columns
    
    * Tests: Editors for Image and Link columns
    
    * Minor UI fix
    
    * Trigger build
    
    * Debounce inputs
    kravets-levko authored and arikfr committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    393fa62 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. use rq_redis_connection instead of redis_connection (getredash#4288)

    Omer Lachish authored and arikfr committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    334cd5e View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2019

  1. CircleCI workflow improvements (getredash#4296)

    * CircleCI workflow improvements
    
    - Don't automatically build the Docker image.
    - Make the Python lint step requirement for the follow up steps. When it fails it usually means there is a code error which will prevent the next steps anyway.
    
    * Fix YAML syntax error.
    
    * Add separate build Docker image step for master branch
    arikfr authored Oct 27, 2019
    Configuration menu
    Copy the full SHA
    65b311e View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2019

  1. Configuration menu
    Copy the full SHA
    19a0066 View commit details
    Browse the repository at this point in the history
  2. Add V8 to the CHANGELOG.

    arikfr authored Oct 28, 2019
    Configuration menu
    Copy the full SHA
    f4f56c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db011ef View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2019

  1. Migrate PermissionsEditor to React (getredash#4266)

    Co-Authored-By: Arik Fraimovich <[email protected]>
    gabrieldutra and arikfr authored Oct 29, 2019
    Configuration menu
    Copy the full SHA
    d081319 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. optimize work horse initialization by configuration mappers on the wo…

    …rker process (getredash#4314)
    Omer Lachish authored Oct 30, 2019
    Configuration menu
    Copy the full SHA
    08036cb View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2019

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

Commits on Nov 2, 2019

  1. New feature - Alert muting (getredash#4276)

    * New feature - Alert muting
    
    * pep8 fix
    
    * Fixed backend api update
    
    * whoops semicolon
    
    * Implemented mute
    ranbena authored and arikfr committed Nov 2, 2019
    Configuration menu
    Copy the full SHA
    a80e43e View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. Feature/last x days parameter (getredash#4333)

    * Add last 14, 30, 60, and 90 days to DRP.js
    
    Date Range Parameter (DRP)
    
    * Add last 14, 30, 60, and 60 day params to DRP.jsx
    
    DateRangeParameters (DRP)
    kykrueger authored and arikfr committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    9191b20 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. Adjust RQ job priorities (getredash#4301)

    * prioritize periodic jobs
    
    * declare default queues in inside worker()
    
    * separate send_email to its own queue
    Omer Lachish authored Nov 6, 2019
    Configuration menu
    Copy the full SHA
    8384214 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. RQ: periodically clear failed jobs (getredash#4306)

    * add some logging to scheduler
    
    * clean failed RQ job data from Redis
    
    * move stale job purging to tasks/general.py
    
    * provide better documentation on why we don't reject keys in FailedJobRegistry at the moment
    
    * pleasing the CodeClimate overlords
    
    * simplified clenaup by deleting both job data and registry entry
    
    * use FailedJobRegistry as source of truth for purging
    
    * remove redundant key deletion
    
    * Update redash/settings/__init__.py
    
    Co-Authored-By: Arik Fraimovich <[email protected]>
    Omer Lachish and arikfr authored Nov 7, 2019
    Configuration menu
    Copy the full SHA
    d380d7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3eb217 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2019

  1. Migrate Settings Screen to React (getredash#4323)

    * Migrate settings-screen to React
    
    * Use black instead of blue color for active item
    
    * Revert "Use black instead of blue color for active item"
    
    This reverts commit 0e4ecec.
    
    * Add selectable=false to the Menu
    gabrieldutra authored and arikfr committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    e921079 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. auto-refresh data RQ jobs admin page (getredash#4298)

    Omer Lachish authored Nov 11, 2019
    Configuration menu
    Copy the full SHA
    885eae9 View commit details
    Browse the repository at this point in the history
  2. Restarting rq-scheduler reschedules all periodics (getredash#4302)

    * add some logging to scheduler
    
    * schedule jobs only if they are not already scheduled
    
    * jobs scheduled with an interval over 24 hours were not repeated
    
    * schedule version_check using standard scheduling
    
    * clean up old jobs that are not part of the definition anymore
    
    * add some tests
    
    * add one more test to verify that reschedules are not done when not neccesary
    
    * no need to check for func existence - all jobs have a func to run
    Omer Lachish authored Nov 11, 2019
    Configuration menu
    Copy the full SHA
    38beb34 View commit details
    Browse the repository at this point in the history
  3. Admin status page's current tab does not preserve (getredash#4299)

    * handle a console warning about passing in string page options
    
    * preserve selected tab in the location hash
    Omer Lachish authored Nov 11, 2019
    Configuration menu
    Copy the full SHA
    2daf6bd View commit details
    Browse the repository at this point in the history
  4. Fix the DB migration so that the correct key is used for encrypting D…

    …S credentials. (getredash#4344)
    
    Without this upgrades from at least v5 (and earlier) won't work.
    Jakdaw authored and arikfr committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    c42cf19 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2019

  1. Migrate Cohort visualization to React (getredash#4270)

    * Migrate Cohort to React: Editor
    
    * Extract prepareData and getOptions to own files
    
    * Refine CohortRenderer Angular component (js, less, prepareData) for easier migration
    
    * Migrate Cohort to React: Renderer
    
    * Migrate Cornelius to React: styles
    
    * Migrate Cohort to React: Cornelius library
    
    * Cornelius: add licence info; remove unused style
    
    * Cornelius: use numeral to format numbers; revisit styles
    
    * Cornelius: use moment to format date labels
    
    * Cornelius: use chroma for cell backgrounds; update options; update proptypes; minor fixes
    
    * Tidy up
    
    * Tests
    kravets-levko authored and arikfr committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    423a6f0 View commit details
    Browse the repository at this point in the history
  2. Fix: number based alerts evaluation isn't working (getredash#4295)

    * Fix: correctly evaluate numeric thresholds
    
    * Missing import
    
    * More missing imports
    
    * Alert evaluation: support for booleans
    arikfr authored Nov 13, 2019
    Configuration menu
    Copy the full SHA
    a4bc4be View commit details
    Browse the repository at this point in the history
  3. CLI command to reencrypt data source options (getredash#4190)

    * Script to reencrypt data source options.
    
    * Implement reencrypt sub command under database command.
    shinsuke-nara authored and arikfr committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    9ff26a4 View commit details
    Browse the repository at this point in the history
  4. use to set the hash instead of directly manipulating it (getredash#4351)

    * use  to set the hash instead of directly manipulating it
    
    * Update Jobs.jsx
    Omer Lachish authored Nov 13, 2019
    Configuration menu
    Copy the full SHA
    047e045 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. Migrate Choropleth visualization to React (getredash#4313)

    * Migrate Choropleth to React: skeleton
    
    * Migrate Choropleth to React: Editor - skeleton
    
    * Choropleth Editor: Bounds tab
    
    * Choropleth Editor: Colors tab
    
    * Choropleth Editor: Format tab
    
    * Choropleth Editor: General tab
    
    * Some refinements
    
    * Migrate Choropleth to React: Renderer
    
    * Refine code
    
    * CR1
    kravets-levko authored and arikfr committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    539f336 View commit details
    Browse the repository at this point in the history
  2. Migrate Funnel visualization to React (getredash#4267)

    * Migrate Funnel visualization to React: Editor
    
    * Migrate Funnel visualization to React: Renderer
    
    * Replace Auto sort options with Sort Column + Reverse Order
    
    * Add option for items limit (instead of hard-coded value)
    
    * Add number formatting options
    
    * Replace d3.max with lodash.maxBy; fix bug in prepareData
    
    * Add options for min/max percent values
    
    * Debounce inputs
    
    * Tests
    
    * Refine Renderer: split components, use Ant Table for rendering, fix data handling
    
    * Extract utility function to own file
    
    * Fix tests
    
    * Fix: sometimes after updating options, funnel shows "ghost" rows from previous dataset
    
    * Sort by value column by default
    kravets-levko authored and arikfr committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    8e1de37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1bf5de0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c03638 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

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

Commits on Nov 20, 2019

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

Commits on Nov 21, 2019

  1. Remove unused npm dependencies (getredash#4380)

    * Remove ui-ace.
    
    * Remove ui-sortable.
    
    * Remove angular-base64-upload.
    
    * Remove angular-messages.
    
    * Remove jquery-ui.
    
    * Update package-lock.json.
    arikfr authored Nov 21, 2019
    Configuration menu
    Copy the full SHA
    74cf9b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2019

  1. Configuration menu
    Copy the full SHA
    c3ce761 View commit details
    Browse the repository at this point in the history
  2. Hide deprecated visualizations from query editor (getredash#4388)

    * Hide deprecated visualizations from query editor
    
    * Fix Map tests
    kravets-levko authored and arikfr committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    324b733 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    038568e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    603f6f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b48b268 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

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

Commits on Nov 26, 2019

  1. Configuration menu
    Copy the full SHA
    741f162 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    876da1e View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Remove builtins invalid in Python 3 from Python runner (getredash#4375)

    These few builtins were available in Python 2.7 but not anymore
    in Python 3, making the runner fail to start.
    NicolasLM authored and arikfr committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    0de4775 View commit details
    Browse the repository at this point in the history
  2. Amazon CloudWatch query runners (getredash#4372)

    * CloudWatch Metrics query runner
    
    * Add: query runner for CloudWatch Logs Insights
    
    * Add logos
    
    * Update Insights type
    
    * Basic test connection
    
    * Format files
    arikfr authored Nov 27, 2019
    Configuration menu
    Copy the full SHA
    b6b96e5 View commit details
    Browse the repository at this point in the history
  3. avoid logging job parameters (getredash#4311)

    Omer Lachish authored and arikfr committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    9caaff9 View commit details
    Browse the repository at this point in the history
  4. Downgrade Kombu version to 4.6.3 (getredash#4406)

    It was accidentally upgraded as part of the dependencies upgrade we did recently, but 4.6.5 has a bug...
    arikfr authored Nov 27, 2019
    Configuration menu
    Copy the full SHA
    eba5c0e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed3579c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    471f1b9 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. refreshing snowflake schema w/o waking cluster (getredash#4285)

    * refreshing snowflake schema w/o waking cluster
    
    Have also added a new internal method to not select a
    warehouse while executing query
    Using 'show columns' to fetch database schema instead of
    executing a select query in information schema
    show columns does not require a warehouse to run
    
    * modularising snowflake code to avoid repetitions
    
    fixing internal function syntax and avoiding
    code repetition
    
    * removing user object in snowflake schema query
    monicagangwar authored and arikfr committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    90e8164 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

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

Commits on Dec 4, 2019

  1. Configuration menu
    Copy the full SHA
    1b9b1aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba69cc7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd469e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    61cb8fc View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Add user/pass authentication support for Druid (getredash#4315)

    * Add support for configuring a Username/Password for the connection to Druid
    
    * Bump pydruid version for username/password support
    
    * Deal with missing/empty configuration parameters
    Jakdaw authored and arikfr committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    d890cda View commit details
    Browse the repository at this point in the history
  2. Update rds-combined-ca-bundle.pem(getredash#4290) (getredash#4304)

    Can use rds-ca-2019 and etc
    `$ curl https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem \
    > redash/query_runner/files/rds-combined-ca-bundle.pem`
    ikenji authored and arikfr committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    121cbcb View commit details
    Browse the repository at this point in the history
  3. Remove --max-old-space-size=4096 from npm build command (getredash#4381)

    * Remove --max-old-space-size=4096 from build
    
    Looks like it's no longer needed.
    
    * Update to node v12.
    
    * Add build:old-node-version for those who have Node < 12.
    arikfr authored Dec 5, 2019
    Configuration menu
    Copy the full SHA
    d255255 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Fix counter vizualization (getredash#4385)

    * crude unit tests for counter visualisation utils
    
    * improve type safety with default param values for getCounterData()
    
    * fix count rows never shows zero
    
    * remove default values for getCounterData() params
    dmudro authored and arikfr committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    76a5bd7 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Change eslint configuration and fix resulting issues (getredash#4423)

    * Remove app/service/query-string (unused) and its dependency.
    
    * Fix usage of mixed operators.
    
    * eslint --fix fixes for missing dependencies for react hooks
    
    * Fix: useCallback dependency passed to $http's .catch.
    
    * Satisfy react/no-direct-mutation-state.
    
    * Fix no-mixed-operators violations.
    
    * Move the decision of whether to render Custom chart one level up to make sure hooks are called in the same order.
    
    * Fix: name was undefined. It wasn't detected before because there is such global.
    
    * Simplify eslint config and switch to creat-react-app's eslint base.
    
    * Add prettier config.
    
    * Make sure eslint doesn't conflict with prettier
    
    * A few updates post eslint (getredash#4425)
    
    * Prettier command in package.json
    arikfr authored Dec 11, 2019
    Configuration menu
    Copy the full SHA
    2b5aae5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a98746 View commit details
    Browse the repository at this point in the history
  3. Black support for the Python codebase (getredash#4297)

    * Apply black formatting
    
    * Add auto formatting when committing to master
    
    * Update CONTRIBUTING.md re. Black & Prettier
    arikfr authored Dec 11, 2019
    Configuration menu
    Copy the full SHA
    69aea72 View commit details
    Browse the repository at this point in the history
  4. Remove Husky (getredash#4435)

    arikfr authored Dec 11, 2019
    Configuration menu
    Copy the full SHA
    24b99fd View commit details
    Browse the repository at this point in the history
  5. Prettier all the Javascript code & GitHub Action (getredash#4433)

    * Prettier all the JS files
    
    * Add GitHub Action to autoformat code pushed to master
    
    * Fix eslint violation due to formatting.
    
    * Remove GitHub actions for styling
    
    * Add restyled.io config
    arikfr authored Dec 11, 2019
    Configuration menu
    Copy the full SHA
    091864d View commit details
    Browse the repository at this point in the history
  6. allow setting of custom sentry environments (getredash#4437)

    Omer Lachish authored and arikfr committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    93d86fe View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

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

Commits on Dec 13, 2019

  1. Adding application to Azure Kusto query runner (getredash#4441)

    This is to allow for better metrics collection and tracking on the service side.
    More info can be found [here](https://docs.microsoft.com/en-us/azure/kusto/api/netfx/request-properties#the-application-x-ms-app-named-property)
    Daniel Dubovski authored and arikfr committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    d9acc64 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2019

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

Commits on Dec 16, 2019

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

Commits on Dec 17, 2019

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

Commits on Dec 20, 2019

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

Commits on Dec 24, 2019

  1. Migrate Dashboard and Public Dashboard to React (getredash#4228)

    * Initial React Rendering with useDashboard
    
    * Make sure widgets refresh + useCallback
    
    * Rename collectFilters and add refreshRate
    
    * Fix error updates not being rendered
    
    * Only render widget bottom when queryResults exists
    
    * Cleanup
    
    * Add useCallback to refreshDashboard
    
    * Make sure Promise.all have all promises done
    
    * Start migrating Dashoard to React
    - initial rendering
    - some actions
    - temporary updated less file
    
    * Fullscreen handler added
    
    * Separate refreshRateHandler hook
    
    * Add a few tooltips
    
    * Separate DashboardControl and normalize btn width
    
    * Share Button
    
    * Fix serach params not updating
    
    * Enumerate More Options
    
    * Toggle Publish options
    
    * Archive Dashboard
    
    * Parameters + Filters
    
    * Prepare Manage Permissions
    
    * Start to create edit mode
    
    * Add Edit Mode functionalities
    
    * Use previous state when updating dashboard
    
    * Mobile adjustments
    
    * PermissionsEditorDialog + Dashboard page title
    
    * Update Dashboard spec
    
    * Fix other specs
    
    * Break dashboard.less
    
    * Hide publish button on mobile
    
    * Angular Cleaning
    
    * Keep edit state when changing resolution
    
    * Bug fix: Dashboard Level Filters not updating
    
    * Remove prepareWidgetsForDashboard
    
    * Revert "Remove prepareWidgetsForDashboard"
    
    This reverts commit b434f03.
    
    * Avoid saving layout changes out of editing mode
    
    * Apply policy for enabled refresh rates
    
    * Disable loadDashboard deps
    
    * Restyled by prettier (getredash#4459)
    
    * Update title when dashboard name updates
    
    Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
    2 people authored and arikfr committed Dec 24, 2019
    Configuration menu
    Copy the full SHA
    696e6d6 View commit details
    Browse the repository at this point in the history
  2. Migrate VisualizationEmbed to React (getredash#4364)

    * Migrate VisualizationEmbed to React
    
    * Angular cleanup
    
    * Remove onClick event from TimeAgo
    
    * Check Table exists before taking snapshot
    
    * Apply Prettier
    gabrieldutra authored and arikfr committed Dec 24, 2019
    Configuration menu
    Copy the full SHA
    d5c1582 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    01827ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3d17a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c610d7f View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2019

  1. fix all occurances of B306: BaseException.message has been deprecated…

    … as of Python 2.6 and is removed in Python 3. Use str(e) to access the user-readable message. Use e.args to access arguments passed to the exception. (getredash#4482)
    Omer Lachish authored and arikfr committed Dec 25, 2019
    Configuration menu
    Copy the full SHA
    a960f58 View commit details
    Browse the repository at this point in the history
  2. Snowflake: add missing date types (getredash#4484)

    Without those the values might be miscategorized in the UI.
    arikfr authored Dec 25, 2019
    Configuration menu
    Copy the full SHA
    10ff075 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e337c4c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84e8bcf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d0c582 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    84f5bc6 View commit details
    Browse the repository at this point in the history
  7. adjust imports to match simple-salesforce 0.74.3 (getredash#4490)

    Omer Lachish authored and arikfr committed Dec 25, 2019
    Configuration menu
    Copy the full SHA
    b5eac24 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2019

  1. Configuration menu
    Copy the full SHA
    586cb1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc84fbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    025cf99 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Refine permissions usage in Redash to allow for guest users (getredas…

    …h#4492)
    
    * Allow executing query with either view_query or execute_query permissions.
    
    * Render AuthHeader according to permissions.
    
    * Don't return dashboards where you only have access to textbox widget.
    
    Closes getredash#4099.
    arikfr authored Dec 30, 2019
    Configuration menu
    Copy the full SHA
    a3b1c12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4610589 View commit details
    Browse the repository at this point in the history
  3. Fix: properly encode UTF-8 filenames in query results request (getred…

    …ash#4498)
    
    * Fix: properly encode UTF-8 filenames in query results request
    
    Ended up copying the implementation from Flask's send_file helper function, because send_file doesn't really fit our use case.
    
    * Update tests/handlers/test_query_results.py
    
    Co-Authored-By: Omer Lachish <[email protected]>
    
    Co-authored-by: Omer Lachish <[email protected]>
    arikfr and Omer Lachish authored Dec 30, 2019
    Configuration menu
    Copy the full SHA
    c77e898 View commit details
    Browse the repository at this point in the history
  4. Execute Queries in RQ (getredash#4413)

    * enforce hard limits on non-responsive work horses by workers
    
    * move differences from Worker to helper methods to help make the specialization clearer
    
    * move HardLimitingWorker to redash/tasks
    
    * move schedule.py to /tasks
    
    * explain the motivation for HardLimitingWorker
    
    * pleasing CodeClimate
    
    * pleasing CodeClimate
    
    * port query execution to RQ
    
    * get rid of argsrepr
    
    * avoid star imports
    
    * allow queries to be cancelled in RQ
    
    * return QueryExecutionErrors as job results
    
    * fix TestTaskEnqueue and QueryExecutorTests
    
    * remove Celery monitoring
    
    * get rid of QueryTask and use RQ jobs directly (with a job serializer)
    
    * Revert "remove Celery monitoring"
    
    This reverts commit 37a74ea.
    
    * reduce occurences of the word 'task'
    
    * use Worker, Queue and Job instead of spreading names that share behavior details
    
    * remove locks for failed jobs as well
    
    * did I not commit that colon? oh my
    
    * push the redis connection to RQ's stack on every request to avoid verbose connection setting
    
    * use a connection context for tests
    
    * black it up
    
    * run RQ on all queues when running in Cypress
    Omer Lachish authored Dec 30, 2019
    Configuration menu
    Copy the full SHA
    d932aac View commit details
    Browse the repository at this point in the history
  5. Run prettier on cypress folder (getredash#4510)

    * Run prettier on cypress folder
    
    * Test Restyled
    
    * Revert "Test Restyled"
    
    This reverts commit 13d4396.
    gabrieldutra authored and arikfr committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    780cbc5 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2019

  1. Fix: don't try to access message property of an exception (getredash#…

    …4516)
    
    (not supported in Python 3)
    arikfr authored Dec 31, 2019
    Configuration menu
    Copy the full SHA
    886927a View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2020

  1. Multiprocess RQ workers (using supervisor) (getredash#4371)

    * launch and monitor multiple workers using supervisor
    
    * run supervisord in non-daemon mode
    
    * redirect all output to stdout/stderr
    
    * no need to log supervisord's output because it is redirected to stdout anyway
    
    * updated and less brittle healthcheck
    
    * add supervisor healthchecks
    
    * remove redundant supervisor installation as it is installed by pip
    
    * add a 5 minute check gate
    Omer Lachish authored and arikfr committed Jan 1, 2020
    Configuration menu
    Copy the full SHA
    dfd9fb8 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. Add error boundary to catch errors in visualizations (getredash#4518)

    * Add error boundary to catch errors in visualizations
    
    * Fix: Funnel crash when step column is date/time
    
    * CR1
    
    * CR2
    kravets-levko authored and arikfr committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    66b1022 View commit details
    Browse the repository at this point in the history
  2. Migrate Query pages to React (getredash#4429)

    * Migrate Query Source View page to React: skeleton
    
    * Sync QueryView and QuerySource (getredash#4430)
    
    * Migrate schema browser to react (getredash#4432)
    
    * Restyle code with Prettier
    
    * Migrate Query page to React: Save changes (getredash#4452)
    
    * Migrate query source to React: Set of updates (getredash#4457)
    
    * Migrate Query page to React: Visualization Tabs (getredash#4453)
    
    Co-Authored-By: Levko Kravets <[email protected]>
    
    * Migrate Query Source page to React: Visualizations area (getredash#4463)
    
    * Migrate Query page to React: Delete visualization button (getredash#4461)
    
    * Migrate Query Source page to React: Visualization actions (getredash#4467)
    
    * Migrate Query pages to React: Execute query hook (getredash#4470)
    
    * Migrate Query Source page to React: Editor area (getredash#4468)
    
    * Migrate Query Source page to React: metadata, schedule and description blocks (getredash#4476)
    
    * Migrate Query page to React: Cancel query execution (getredash#4496)
    
    * Migrate Query Source page to React: refine code (getredash#4499)
    
    * Migrate Query Source page to React: alerts (getredash#4504)
    
    * Migrate Query Source page to React: unsaved changes alert (getredash#4505)
    
    * Migrate Query Source to React: resizable areas (v2) (getredash#4503)
    
    * Migrate Query page to React: Query View (getredash#4455)
    
    Co-authored-by: Levko Kravets <[email protected]>
    
    * Switch React and Angular versions of pages (until Angular version removed)
    
    * Migrate Query pages to React: fix permissions (getredash#4506)
    
    * Migrate Query Source page to React: don't reload when saving new query (getredash#4507)
    
    * Migrate Query pages to React: fix tests (getredash#4509)
    
    * Use skipParametersDirtyFlag in executeQuery
    
    * Fix: cannot fork query from Query View page
    
    * Optimize query editor: handle query text changes faster
    
    * Revert "Optimize query editor: handle query text changes faster"
    
    This reverts commit 2934e53.
    
    * Reduce debounced time to 100
    
    * Migrate Query pages to React: cleanup (getredash#4512)
    
    * Migrate Query pages to React: cleanup
    
    * Further cleanup
    
    * Remove unused dependencies
    
    * Fix embed pages
    
    * Attempt to fix flaky test
    
    * Cleanup: explicitly register the last Angular component
    
    * Move contents of /filters folder to /lib
    
    * Remove unnecessary import
    
    * Remove cy.wait from Parameters spec
    
    Co-authored-by: Gabriel Dutra <[email protected]>
    
    Co-authored-by: Levko Kravets <[email protected]>
    gabrieldutra and kravets-levko committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    9e925d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. Replace angular-sanitize with DOMPurify (getredash#4502)

    * Switch angular-sanitize package with dompurify
    
    * Replace $sanitize with DOMPurify.sanitize
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    gabrieldutra and arikfr committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    2a832d9 View commit details
    Browse the repository at this point in the history
  2. Hide unavailable page links to non-admin users in settings and header (

    …getredash#4524)
    
    * Filter unavailable menu items in SettingsWrapper
    
    * Don't show Alert Destination in header to users
    gabrieldutra authored and arikfr committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    6c483c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

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

Commits on Jan 10, 2020

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

Commits on Jan 12, 2020

  1. Configuration menu
    Copy the full SHA
    f03ccbc View commit details
    Browse the repository at this point in the history
  2. Nuke Celery (getredash#4521)

    * enforce hard limits on non-responsive work horses by workers
    
    * move differences from Worker to helper methods to help make the specialization clearer
    
    * move HardLimitingWorker to redash/tasks
    
    * move schedule.py to /tasks
    
    * explain the motivation for HardLimitingWorker
    
    * pleasing CodeClimate
    
    * pleasing CodeClimate
    
    * port query execution to RQ
    
    * get rid of argsrepr
    
    * avoid star imports
    
    * allow queries to be cancelled in RQ
    
    * return QueryExecutionErrors as job results
    
    * fix TestTaskEnqueue and QueryExecutorTests
    
    * remove Celery monitoring
    
    * get rid of QueryTask and use RQ jobs directly (with a job serializer)
    
    * Revert "remove Celery monitoring"
    
    This reverts commit 37a74ea.
    
    * reduce occurences of the word 'task'
    
    * use Worker, Queue and Job instead of spreading names that share behavior details
    
    * remove locks for failed jobs as well
    
    * did I not commit that colon? oh my
    
    * push the redis connection to RQ's stack on every request to avoid verbose connection setting
    
    * use a connection context for tests
    
    * remove Celery monitoring
    
    * 👋 Celery
    
    * remove Celery from Cypress
    
    * black it up
    
    * some more black
    
    * return all started/queued job ids (for future monitoring
    
    * Restyled by prettier (getredash#4522)
    
    * remove celery.py
    
    * remove some frontend residuals that reappeared after a merge
    
    Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
    Omer Lachish and restyled-io[bot] authored Jan 12, 2020
    Configuration menu
    Copy the full SHA
    5fbfad5 View commit details
    Browse the repository at this point in the history
  3. fix typo in azure kusto runner (getredash#4537)

    Omer Lachish authored Jan 12, 2020
    Configuration menu
    Copy the full SHA
    e0e3e1e View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2020

  1. Configuration menu
    Copy the full SHA
    0d69503 View commit details
    Browse the repository at this point in the history
  2. adjust imports to match influxdb 5.2.3 (getredash#4531)

    Omer Lachish authored and arikfr committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    7667006 View commit details
    Browse the repository at this point in the history
  3. Google Analytics runner - iterate over keys the Python 3 way (getreda…

    …sh#4538)
    
    * iterate over key names instead of dict_keys values
    
    * use dict comprehension instead of manipulating existing dict
    Omer Lachish authored Jan 13, 2020
    Configuration menu
    Copy the full SHA
    fd18f6d View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Configuration menu
    Copy the full SHA
    decf50a View commit details
    Browse the repository at this point in the history
  2. Get rid of six and fix str/unicode types regression that became activ…

    …e on Python 3. (getredash#4533)
    
    This was introduced in d38ca80.
    jezdez authored and arikfr committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    e28af55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e2fb1a View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. Add loading state to Query save button (getredash#4551)

    * Add loading state to Query save button
    
    * Hide dirty indication and icon when saving
    gabrieldutra authored and arikfr committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    a03ec70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6446653 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. Tags filter doesn't work because of wrong query params format (getred…

    …ash#4563)
    
    * getredash#4557 Tags filter doesn't work because of wrong query params format
    
    * Fix tests
    kravets-levko authored and arikfr committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    bfa5b17 View commit details
    Browse the repository at this point in the history
  2. Fix Cypress issues after React version of Query Pages (getredash#4545)

    * Update Pivot rows assertion
    
    * Allow replacing Query results with Apply Changes
    gabrieldutra authored and arikfr committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    e941d11 View commit details
    Browse the repository at this point in the history
  3. Upgrade snowflake-connector-python (getredash#4567)

    * Upgrade snowflake-connector-python
    
    * Downgrade requests
    arikfr authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    45c8fd2 View commit details
    Browse the repository at this point in the history
  4. Migrate router and <app-view> to React (getredash#4525)

    * Migrate router and <app-view> to React: skeleton
    
    * Update layout on route change
    
    * Start moving page routes from angular to react
    
    * Move page routes to react except of public dashboard and visualization embed)
    
    * Move public dashboard and visualization embed routes to React
    
    * Replace $route/$routeParams usages
    
    * Some cleanup
    
    * Replace AngularJS $location service with implementation based on history library
    
    * Minor fix to how ApplicationView handles route change
    
    * Explicitly use global layout for each page instead of handling related stuff in ApplicationArea component
    
    * Error handling
    
    * Remove AngularJS and related dependencies
    
    * Move Parameter factory method to a separate file
    
    * Fix CSS (replace custom components with classes)
    
    * Fix: keep other url parts when updating location partially; refine code
    
    * Fix tests
    
    * Make router work in multi-org mode (respect <base> tag)
    
    * Optimzation: don't resolve route if path didn't change
    
    * Fix search input in header; error handling improvement (handle more errors in pages; global error handler for unhandled errors; dialog dismiss 'unhandled rejection' errors)
    
    * Fix page keys; fix navigateTo calls (third parameter not available)
    
    * Use relative links
    
    * Router: ignore location REPLACE events, resolve only on PUSH/POP
    
    * Fix tests
    
    * Remove unused jQuery reference
    
    * Show error from backend when creating Destination
    
    * Remove route.resolve where not necessary (used constant values)
    
    * New Query page: keep state on saving, reload when creating another new query
    
    * Use currentRoute.key instead of hard-coded keys for page components
    
    * Tidy up Router
    
    * Tidy up location service
    
    * Fix tests
    
    * Don't add parameters changes to browser's history
    
    * Fix test (improved fix)
    
    Co-authored-by: Gabriel Dutra <[email protected]>
    kravets-levko and gabrieldutra authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    6efc581 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Add redshift role use option (getredash#4532)

    * Add redshift role use option
    
    * Update requirements for SSL socket wrap issue fixes
    
    * Split Redshift class into User and IAM logins
    
    * Update incorrect register
    
    * Change type names
    
    * Correct class name to inherit
    
    * Render IAM redshift image and field order correct
    
    * Update redash/query_runner/pg.py
    
    Co-Authored-By: Arik Fraimovich <[email protected]>
    
    * Update redash/query_runner/pg.py
    
    Co-Authored-By: Arik Fraimovich <[email protected]>
    
    * Remove need for specified urllib - specify pyopenssl is enough
    
    * Pyopenssl back down to 19.0.0
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    Steve Buckingham and arikfr committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    85adb7f View commit details
    Browse the repository at this point in the history
  2. delete variable (getredash#3813)

    * delete variable
    
    * delete duplicate code
    
    * add empty line
    
    * delete empty line
    taminif authored and arikfr committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    0d0c49e View commit details
    Browse the repository at this point in the history
  3. Force saml auth scheme (getredash#3614)

    * Add SAML scheme override env var
    
    * Make it pretty, please the linter
    
    * Import settings properly
    leosunmo authored and arikfr committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    7d7cf09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd17194 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Configuration menu
    Copy the full SHA
    cd37658 View commit details
    Browse the repository at this point in the history
  2. React migration cleanup (getredash#4572)

    * Revisit ANGULAR_REMOVE_ME things
    
    * Remove styles related to 3rd-party Angular and jQuery libraries
    
    * Remove some more unused styles
    
    * Revisit error handling (app-wide)
    
    * Remove unused file
    
    * CR1
    kravets-levko authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    d01a3b3 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Configuration menu
    Copy the full SHA
    f016453 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8ef0e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4411d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9fa7d56 View commit details
    Browse the repository at this point in the history
  5. Fixes several bugs on dashboard page (see description) (getredash#4571)

    * Move each hook to own file; move hooks and components to own folders
    
    * Update URL and timer only when refresh rate changes
    
    * Skip dashboard refresh if previous refresh is still running
    
    * Fix test
    kravets-levko authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    fabc552 View commit details
    Browse the repository at this point in the history
  6. Added support for running MongoDB queries on secondary in replicaset …

    …mode (getredash#1424)
    
    * - Added support to specify read preference when query a replicaset database (for example, secondaryPreferred - to try and read data from secondary before primary).
    - Removed old code that used MongoClientReplicaSet as it is now just a reference to MongoClient
    - Fixed a documentation type :-)
    
    * Moving to PyMongo 3.3.1 which also supports MongoDB 3.2
    
    * Changed the readPreference config to use an enum
    
    * Pass readPreference to MongoClient
    
    * primaryPreferred is now the default
    erans authored and arikfr committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    1ca33ac View commit details
    Browse the repository at this point in the history
  7. Fix empty values sent in dynamic form (getredash#3886)

    * remove legacy session identifier support
    
    * remove redundant test
    
    * redirect to login to support any invalid session identifiers
    
    * be more specific with caught errors
    
    * reject empty values in DynamicForm
    
    * don't submit form values if they are empty (unless they are
    intentionally set to empty string)
    
    * set empty values to null to clear out data source option in the model
    
    * check explicitly for null
    Omer Lachish authored and arikfr committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    a6a168f View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2020

  1. Refine routes definitions (getredash#4579)

    * Refine routes definitions
    
    * Replace HoC wrappers with functions to create route definition
    
    * Some updates for code consistency
    
    * ItemsList component: remove currentRoute dependency
    
    * Prepare route parametes in wrapper functions
    kravets-levko authored and arikfr committed Jan 26, 2020
    Configuration menu
    Copy the full SHA
    0d24cdf View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Change visualizations import to be static (getredash#4592)

    * getredash#4565 Change visualizations import to be static
    
    * Move visualizations-related components to own folder
    kravets-levko authored Jan 28, 2020
    Configuration menu
    Copy the full SHA
    774f601 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

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

Commits on Feb 3, 2020

  1. RQ: Missing currently executing queries view (getredash#4558)

    * add meta information to executing queries
    
    * add a table for running queries
    
    * add pagination to queues table
    
    * sort the queues table
    
    * add pagination to all tables
    Omer Lachish authored Feb 3, 2020
    Configuration menu
    Copy the full SHA
    7285730 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

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

Commits on Feb 9, 2020

  1. Configuration menu
    Copy the full SHA
    9027668 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3162cc3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a905426 View commit details
    Browse the repository at this point in the history
  4. Sort schema columns alphabetically (getredash#4595)

    * Adds logic to sort column names returned by the query runner. If `sorted`
    raises an Exception it returns the column names unaltered from the query
    runner.
    
    * Moves table name sorting from model code into schema handler.
    
    * Moves token sorting into the model code.
    
    * Replaces single-quotes with double-quotes for consistency.
    
    * Applies black formatting to changes.
    
    * Moves schema sort into separate method. Adds test.
    
    * Fixes output schema variable name. Without this the sorted cache is never returned!
    
       ____  ____  ____  _____
      / __ \/ __ \/ __ \/ ___/
     / /_/ / /_/ / /_/ (__  )
     \____/\____/ .___/____/
               /_/
    
    * Adds test case guaranteeing that the model actually _uses_ the schema sorter.
    
    Related to a31f901
    Jesse authored Feb 9, 2020
    Configuration menu
    Copy the full SHA
    77a36ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    872c788 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    161b513 View commit details
    Browse the repository at this point in the history
  7. Fix: encode/decode bytestring for base64. (getredash#4624)

    * Fix: encode/decode bytestring for base64.
    
    * Apply b64encode fix to HiveHttp
    arikfr authored Feb 9, 2020
    Configuration menu
    Copy the full SHA
    b6616cd View commit details
    Browse the repository at this point in the history
  8. Fix treasuredata endpoint (getredash#4582)

    * fix treasuredata endpoint
    
    * make endpoint as a required
    
    * fix unneccessart required parameter
    mickeey2525 authored Feb 9, 2020
    Configuration menu
    Copy the full SHA
    0dae8cf View commit details
    Browse the repository at this point in the history
  9. set correct values for ProxyFix (getredash#4630)

    Omer Lachish authored Feb 9, 2020
    Configuration menu
    Copy the full SHA
    8f92dc5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7884892 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fa2fb28 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Check for LDAP Login in Organization Settings (getredash#4359)

    * Check for LDAP Login in Organization Settings
    
    * Restyled by prettier (getredash#4570)
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
    3 people authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    9b70738 View commit details
    Browse the repository at this point in the history
  2. Snowflake: switch to simpler query for fetching columns (getredash#4634)

    Because we already call USE DATABASE before running SHOW COLUMNS adding IN DATABASE is redundant, but causes an error if the user specifies a schema along with database name.
    arikfr authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    db8e724 View commit details
    Browse the repository at this point in the history
  3. Fix: no need to encode strings anymore (getredash#4627)

    * It's 2020, we got Python 3, no need to encode strings anymore
    
    * Remove encode calls from other places
    
    * use alert.name directly
    arikfr authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    0382f3d View commit details
    Browse the repository at this point in the history
  4. Update cassandra-driver to 3.21.0. (getredash#4636)

    This provides binary wheel files and reduces Docker build times drastically.
    jezdez authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    fd4d175 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    2538ebf View commit details
    Browse the repository at this point in the history
  2. Set default query execution time limit to unlimited (getredash#4626)

    * default query execution time limit to 1 hour
    
    * use -1 (run infinitely)  as a default limit
    Omer Lachish authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    9ed0c3d View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Fix dashboard editing permissions not working (getredash#4613)

    * Use dashboard.can_edit instead of checking owner
    
    * Add owner or admin check to Manage Permissions
    
    * Remove unnecessary useMemo
    gabrieldutra authored Feb 13, 2020
    Configuration menu
    Copy the full SHA
    4af7ab8 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

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

Commits on Feb 18, 2020

  1. Avoid timing out when no timeout is set (getredash#4653)

    * soft limits should not exceed if they are set to run infinitely
    
    * use a variable to explain magic number
    Omer Lachish authored Feb 18, 2020
    Configuration menu
    Copy the full SHA
    aa26b0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49a45a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6628208 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. Query View redesign (getredash#4536)

    Co-authored-by: Arik Fraimovich <[email protected]>
    gabrieldutra and arikfr authored Feb 19, 2020
    Configuration menu
    Copy the full SHA
    b0d96aa View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

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

Commits on Feb 23, 2020

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

Commits on Feb 24, 2020

  1. Configuration menu
    Copy the full SHA
    c1f9e13 View commit details
    Browse the repository at this point in the history
  2. Query View page design adjustments (getredash#4670)

    * Realign Data Source and Refresh Schedule
    
    * Adjust execution status height
    
    * Rewrite Query Page Header flexibility
    
    * Remove margin from QuerySource parameters
    
    * Cypress: Visit visualization instead of click in tab
    
    * Fix wrong css class name in dashboard-grid
    gabrieldutra authored Feb 24, 2020
    Configuration menu
    Copy the full SHA
    b2e9d2d View commit details
    Browse the repository at this point in the history
  3. Job timeout doesn't kill the mysql query (getredash#4629)

    * forward timeout SIGALRMs to MySQL threads in order to kill any running proccesses
    
    * no need to attach to SIGALRM as RQ already does that
    Omer Lachish authored Feb 24, 2020
    Configuration menu
    Copy the full SHA
    b18f3f6 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2020

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

Commits on Feb 26, 2020

  1. Perform cleanup on job timeouts (getredash#4681)

    * move repeated query cancellation error messages to the job serializer
    
    * oerform cleanup on JobTimeoutException and DRY query cancellation exception blocks
    
    * import JobTimeoutException directly from rq
    
    * fix syntax error introduced by mistake
    
    * add missing import
    Omer Lachish authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    cc434e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ad4d09 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f5b3c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39737a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Oracle: update DSN construction to support special characters in user…

    …/password. (getredash#4659)
    
    * Update oracle.py
    
    The reason I propose this change is to fix an issue when oracle password has an @
    example of connection string: user/p@ssword@host
    
    * Update oracle.py
    
    Fixing init after comments
    
    * Remove empty constructor.
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    juanvasquezreyes and arikfr authored Feb 27, 2020
    Configuration menu
    Copy the full SHA
    679dbb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77ae699 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2020

  1. refresh_queries shouldn't break because of a single query having a ba…

    …d schedule object (getredash#4163)
    
    * move filtering of invalid schedules to the query
    
    * simplify retrieved_at assignment and wrap in a try/except block to avoid one query blowing up the rest
    
    * refactor refresh_queries to use simpler functions with a single responsibility and add try/except blocks to avoid one query blowing up the rest
    
    * avoid blowing up when job locks point to expired Job objects. Enqueue them again instead
    
    * there's no need to check for the existence of interval - all schedules have intervals
    
    * disable faulty schedules
    
    * reduce FP style in refresh_queries
    
    * report refresh_queries errors to Sentry (if it is configured)
    
    * avoid using exists+fetch and use exceptions instead
    Omer Lachish authored Mar 1, 2020
    Configuration menu
    Copy the full SHA
    491c44c View commit details
    Browse the repository at this point in the history
  2. Snowflake: use different method of showing columns if no schema speci…

    …fied in db name (getredash#4696)
    
    * Snowflake: use different method of showing columns if no schema specified in db name
    
    * Update redash/query_runner/snowflake.py
    
    Co-Authored-By: Omer Lachish <[email protected]>
    
    * Update redash/query_runner/snowflake.py
    
    Co-authored-by: Omer Lachish <[email protected]>
    arikfr and Omer Lachish authored Mar 1, 2020
    Configuration menu
    Copy the full SHA
    739d8d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3fc049f View commit details
    Browse the repository at this point in the history
  4. Table visualization: Show which columns are being used for search (ge…

    …tredash#4680)
    
    * Table visualization: Show which columns are being used for search
    
    * Fix accidental bug
    kravets-levko authored Mar 1, 2020
    Configuration menu
    Copy the full SHA
    4ab23df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9742626 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    21a905c View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    fcc9dbe View commit details
    Browse the repository at this point in the history
  2. Dynamic Form: boolean fields related fixes (getredash#4586)

    * Fix: when default value is false make sure it's still stringified.
    
    * Fix: when extra field is of type boolean make sure it's different from default value to decide if it's open.
    
    * Use isNil to check the default value
    
    * Restyled by prettier (getredash#4704)
    
    Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
    arikfr and restyled-io[bot] authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    42fbd6a View commit details
    Browse the repository at this point in the history
  3. Fix: show size of actually used Redash database (getredash#4706)

    'postgres' is a default database name in the Docker image, but if an
    external database server is used, than Redash database can have
    a different name (specified in REDASH_DATABASE_URL).
    citrin authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    15c1e4a View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    8a6140b View commit details
    Browse the repository at this point in the history
  2. Mobile experience improvements (getredash#4694)

    * Allow touch action on dashboard grid
    
    * Deactivate touch when resizing widgets
    
    * Disable touch interactions on Plotly
    
    * Update Plotly and use dragmode: false
    
    * Remove autoFocus from ItemsList search
    
    * Fix spacing for queries and dashboard favorites
    
    * Make sure admin pages don't go over 100% width
    gabrieldutra authored Mar 4, 2020
    Configuration menu
    Copy the full SHA
    b3cfd9f View commit details
    Browse the repository at this point in the history
  3. Cancel BigQuery Queries (getredash#4701)

    * cancel BigQuery queries when user requests cancellation or when the job times out
    
    * create a new bigquery client to flush exising requests
    Omer Lachish authored Mar 4, 2020
    Configuration menu
    Copy the full SHA
    ae1e9f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

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

Commits on Mar 8, 2020

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

Commits on Mar 10, 2020

  1. Remove route.resolve feature (getredash#4607)

    * Stop using route.resolve feature (pages should load all the data themselves)
    
    * Remove route.resolve feature
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    kravets-levko and arikfr authored Mar 10, 2020
    Configuration menu
    Copy the full SHA
    124452c View commit details
    Browse the repository at this point in the history
  2. Refactor dialog wrapper component (getredash#4594)

    * Dialog wrapper: stop using promises to handle results - replace with callbacks
    
    * Dialog wrapper: handle async operation on close
    kravets-levko authored Mar 10, 2020
    Configuration menu
    Copy the full SHA
    2562705 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

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

Commits on Mar 15, 2020

  1. Dashboard Performance: HtmlContent improvements (getredash#4726)

    * Dashboard Performance: Memoize HtmlContent
    
    * Only render HtmlContent if there is a description
    gabrieldutra authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    6d478a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2020

  1. Trigger CI lint failure on warnings and fix failing frontend unit tes…

    …ts (getredash#4735)
    
    * Trigger lint error on warnings on CI
    
    * Test removing pip3 command from frontend unit
    
    * Test eslint warning
    
    * Revert "Test eslint warning"
    
    This reverts commit 89d4073.
    
    * Revert "Test removing pip3 command from frontend unit"
    
    This reverts commit 424c900.
    
    * Run apt update before installing pip3
    gabrieldutra authored Mar 16, 2020
    Configuration menu
    Copy the full SHA
    3115450 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Configuration menu
    Copy the full SHA
    3a081fe View commit details
    Browse the repository at this point in the history
  2. Cohort appearance settings (getredash#4597)

    * Cohort: add settings for tooltips, value formats and placeholder
    
    * Cohort: add settings for colors
    
    * Cohort: change all settings tabs to use horizontal inputs
    
    * Cohort: show color labels in editor
    kravets-levko authored Mar 17, 2020
    Configuration menu
    Copy the full SHA
    0e6327e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    909463b View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. Set POSTGRES_HOST_AUTH_METHOD environment variable (getredash#4740)

    Redash's docker-compose file will no longer bring up an environment from
    a cold start due to recent upstream changes to the postgres image that
    force the user to either set a password for the default superuser or
    opt-in to allowing all connections without a password via environment
    variable.
    
    Upstream PR: docker-library/postgres#658
    Related Discussion: docker-library/postgres#681
    ezkl authored Mar 18, 2020
    Configuration menu
    Copy the full SHA
    e7e2ca2 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Move data source/destination deprecated handling to frontend (getreda…

    …sh#4753)
    
    * Move DS deprecated handling to frontend
    
    * Add Cypress assertion for deprecated types
    gabrieldutra authored Mar 24, 2020
    Configuration menu
    Copy the full SHA
    8fe2aee View commit details
    Browse the repository at this point in the history
  2. Fix query based param with no results crashing page (getredash#4707)

    * Fix query based param with no results crashing page
    
    * Add message for empty dropdown parameters
    
    * Handle 500 no results case with empty result set
    
    * Cypress: Make sure it shows the message
    
    * Use .ant-select-selection to open dropdown
    gabrieldutra authored Mar 24, 2020
    Configuration menu
    Copy the full SHA
    83d6601 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c20e0f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c6e746 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

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

Commits on Mar 31, 2020

  1. Sankey diagram should occupy all available area (not just the left pa…

    …rt) (getredash#4765)
    
    * Code style
    
    * Remove dead and duplcated code
    
    * getredash#4763 Sankey diagram should occupy full available area (not just the left part)
    kravets-levko authored Mar 31, 2020
    Configuration menu
    Copy the full SHA
    4b6f775 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

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

Commits on Apr 3, 2020

  1. feat: Add ssl options for Cassandra data source (getredash#4665)

    * feat: provide ssl options for Cassandra data source
    
    * remove Log and prints
    
    * Refactor to create module methods and unit tests
    
    * Switch to using Enumerator and temp file
    
    * Fix temporary file lifecycle for cert
    
    * Align with changes on master
    
    * Fix non certificate but ssl enabled usecase
    arihantsurana authored Apr 3, 2020
    Configuration menu
    Copy the full SHA
    765c29d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4da6738 View commit details
    Browse the repository at this point in the history
  3. Fix: extendedEnum breaks JSONSchema parsing (getredash#4774)

    (probably due to Python 3 migration)
    arikfr authored Apr 3, 2020
    Configuration menu
    Copy the full SHA
    ba23d80 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. Add db thread pool option to keep idle connections alive (getredash#4741

    )
    
    * Add db thread pool option to keep idle connections alive
    
    * Add SQLALCHEMY_ENABLE_POOL_PRE_PING setting
    
    * Change SQLALCHEMY_ENABLE_POOL_PRE_PING default value to false.
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    gstaykov and arikfr authored Apr 5, 2020
    Configuration menu
    Copy the full SHA
    4a2281d View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Configuration menu
    Copy the full SHA
    a88fa5c View commit details
    Browse the repository at this point in the history
  2. Upgrade Plotly (getredash#4752)

    * Upgrade Plotly
    
    * Fixes to Plotly wrapper
    
    * Decrease plot margins
    
    * Adjust plot margins
    kravets-levko authored Apr 6, 2020
    Configuration menu
    Copy the full SHA
    ebbf93a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

  1. sent stack trace to Sentry when refresh_queries fails to enqueue a ce…

    …rtain query (getredash#4780)
    Omer Lachish authored Apr 8, 2020
    Configuration menu
    Copy the full SHA
    a738dd5 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2020

  1. 4791 redshift schema bugfix (getredash#4792)

    * getredash#4791 exclude pg_ tables from redshift table schema inspection
    
    * restrictict only pg_temp
    atharvai authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    a33323f View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2020

  1. Fix Multi-Filters: "select all" makes table view unscrollable (getred…

    …ash#4782)
    
    * Limit filters to 40% of query fixed layout space
    
    * Add check for height to determine fixed layout
    
    * Add maxTagCount of 5 to Filters
    
    * Update maxTagCount settings to be similar to Parameters
    gabrieldutra authored Apr 13, 2020
    Configuration menu
    Copy the full SHA
    96530ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adf9f3d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. feature: add ability to make the restriction of api calls to private …

    …addresses optional (getredash#4790)
    
    * feature: add ability to make the restriction of api calls to private addresses optional
    
    * chore: fix typo
    
    * Update redash/settings/__init__.py
    
    Co-authored-by: lprice92 <[email protected]>
    Co-authored-by: Arik Fraimovich <[email protected]>
    3 people authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    41db43a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6af2afe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    378402a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d3a94d View commit details
    Browse the repository at this point in the history
  5. Fix test connection on mongodb datasource (getredash#4785)

    Co-authored-by: Weng Kham Kan <[email protected]>
    wengkham and Weng Kham Kan authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    8ecbeb6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8b509b0 View commit details
    Browse the repository at this point in the history
  7. use total_seconds to find stale jobs (getredash#4777)

    Omer Lachish authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    f7cc16c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cf68a4d View commit details
    Browse the repository at this point in the history
  9. Datasource Exasol: support encryption setting (getredash#4712)

    * add pyexasol datasource, ensure that integer dont overflow in javascript
    
    * support setting encryption for Exasol connections
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    stefan-mees and arikfr authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    61428b8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ae01c0b View commit details
    Browse the repository at this point in the history
  11. Disable Percy snapshot for Choropleth test (getredash#4799)

    * Disable Percy snapshot for Choropleth test
    
    * Increase wait.
    
    * Diasble Percy snapshot.
    
    * Reduce wait time to original value.
    
    * Restyled by prettier (getredash#4800)
    
    Co-authored-by: Restyled.io <[email protected]>
    
    * Update choropleth_spec.js
    
    Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
    Co-authored-by: Restyled.io <[email protected]>
    3 people authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    f0b8c70 View commit details
    Browse the repository at this point in the history
  12. Fix comparison error when scale is None (getredash#4638)

    * Fix comparison error when scale is None
    
    Prevents `'>' not supported between instances of 'NoneType' and 'int'` error when scale is `None`
    
    * Update oracle.py
    
    * Fix scale logic.
    
    Co-authored-by: Arik Fraimovich <[email protected]>
    cemremengu and arikfr authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    574a396 View commit details
    Browse the repository at this point in the history
  13. Don't immediately remove notifications from notification trays (getre…

    …dash#4773)
    
    Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern browsers generally use OS notifications so the user is in control of the notification at the OS level.
    mnoorenberghe authored Apr 14, 2020
    Configuration menu
    Copy the full SHA
    c2ee68a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. Dashboard Search bug fix (getredash#4804)

    * Move Dashboard off `subqueryload()` loader in all() method due to inconsistent results bug in SQLAlchemy when leveraging distinct within a subqueryload call through paginate.
    
    * Added source reference to Presto Query Runner connection through the pyhive client to announce to presto that the query is coming from `redash` instead of `pyhive`.
    
    * Removing source line from presto query runner to refactor based on feedback.
    Ralnoc authored Apr 19, 2020
    Configuration menu
    Copy the full SHA
    a3a5136 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. reset is_invitation_pending if someone tries to login through a reset…

    … passwrod link for the first time (getredash#4817)
    Omer Lachish authored Apr 20, 2020
    Configuration menu
    Copy the full SHA
    0efbdc2 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Reduce number of queries used to load the dashboards list (getredash#…

    …4816)
    
    * Reduce number of queries used to load the dashboards list.
    
    * Use DashboardSerializer everywhere.
    
    * Call serialize
    arikfr authored Apr 21, 2020
    Configuration menu
    Copy the full SHA
    519fe5f View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. Configuration menu
    Copy the full SHA
    db19698 View commit details
    Browse the repository at this point in the history
  2. ODBC Based Databricks Connector (getredash#4814)

    * ODBC Based Databricks connector.
    
    * Install Databricks' ODBC driver in Docker image
    
    * Add useragent string.
    
    * Add Types enum to redash.query_runner to replace the seprate constants.
    
    * Databricks connector:
    
    1. Parse types.
    2. Send additional connection options.
    3. Correctly parse errors.
    
    * Switch to TYPE constants to use code with Python 2.
    
    * Add note about the Databricks driver terms and conditions.
    
    * Show message about Databricks driver terms and conditions.
    
    * Handle cases when the query doesn't return any results.
    
    * Update redash/query_runner/databricks.py
    
    Co-Authored-By: Jesse <[email protected]>
    
    * Use new Databricks logo
    
    * Fix connection string options
    
    Co-authored-by: Jesse <[email protected]>
    arikfr and susodapop authored Apr 24, 2020
    Configuration menu
    Copy the full SHA
    7b80a9e View commit details
    Browse the repository at this point in the history
  3. Add column description to table viz (getredash#4831)

    * Add column description to table viz
    
    * Fix: misplaced super long titles tooltip.
    arikfr authored Apr 24, 2020
    Configuration menu
    Copy the full SHA
    ff552e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. fix: Make sure boto installed (getredash#4835)

    Signed-off-by: koooge <[email protected]>
    koooge authored Apr 25, 2020
    Configuration menu
    Copy the full SHA
    96c23bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4393e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06f75e9 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

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

Commits on Apr 29, 2020

  1. Specify restylers versions for restyled (getredash#4842)

    * Specify restylers versions for restyled
    
    * Trigger file change for testing
    
    * Revert "Trigger file change for testing"
    
    This reverts commit d203e37.
    gabrieldutra authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    a3109f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b621af View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. microsoft sso login supported

    yinchunyang committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    348f84a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e70140 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

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

Commits on Jun 8, 2020

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