Commit Graph

7276 Commits

Author SHA1 Message Date
Jesse
e6ebef1e5a Update contributor guidelines and clarify PR review process (#5714) 2022-03-10 12:00:26 -06:00
adamzwakk
b713f6b240 Update Dockerfile CHOWN into COPY (#5660)
Its more efficient to chown while COPY for large stacks of files as per https://github.com/docker/for-linux/issues/388
2022-03-02 09:34:52 -06:00
Jesse
5de85543a5 List pages: move sidebar to the left (#5698)
This change took place in steps:

1. Change order of content and sidebar.

Sidebar appears first, then content.

2. Fix padding

* Before: content was jutted against the sidebar. The sidebar was double-
padded from the edge of the content area.

After: Content has 15px pad against the sidebar. Sidebar has the same pad
as the page title.

3. Don't pad the content on small screens.

Otherwise the content appears off-center and doesn't use all of the
available space.

4. Allow Create buttons to have varying width

This makes the Query, Dashboard, and Alert list pages share the same style
2022-02-09 10:04:54 -06:00
Bruno Agutoli
175a4da49b Fix: Dashboard List page crashes when sorting by name (#5645)
Closes #5119
2022-02-09 08:57:25 -06:00
Jesse
49fe29579a Move user profile image url into the users.details field (#5697)
Makes the details field a JSONB field per pg doc recommendations.

Update model.all() method to work properly now that profile_image_url
is not an independent field.

Closes #4469
2022-02-02 14:03:02 -06:00
Steven Hao
4164a42aab Multi-filters: show all results by default (#5676) 2022-02-02 07:13:40 -06:00
Jesse
6797f32ea6 Snowflake: add option to lowercase column names (#5657)
Ported from app.redash.io codebase.

* Add option to lowercase column names
* Black the file
2022-02-01 11:09:42 -06:00
JyothiGandi
ea07e7e19b Fix: Test Connection button disabled after save (#5666)
Closes #5455
2022-02-01 09:48:07 -06:00
anshulhiran
26ac8ab1cd Firebolt Query Runner: now uses firebold-sdk python package (#5689)
* Added firebolt-sdk in place of firebolt-sqlalchemy
* fixed connection issue
* fixed connection issue
* final commit
* Moved firebolt-sdk's imports to try block

Co-authored-by: rajeshSigmoid <rajeshk@sigmoidanalytics.com>
2022-02-01 08:42:39 -06:00
Jesse
12c4750684 Fix: don't accept password login requests if password auth is disabled (#5693) 2022-01-28 08:52:31 -06:00
Jesse
2b5d1c03c1 JSON query runner: optionally skip certificate verification (#5690)
Add verify option to json datasource runner to allow query developers the option of skipping certificate verification


Co-authored-by: Kevin Chiang <kchiang@tesla.com>
Co-authored-by: kevinchiang <kevinchiang@outlook.com>
2022-01-21 15:43:42 -06:00
Tin C
f77f1b5ca1 Fix: auto limit breaks for Oracle queries (#5181)
Moves auto limit primitives to the base SQL query runner
2022-01-20 12:03:04 -06:00
Vladislav Denisov
e28e4227bf Python query runner: add function that transforms pandas dataframe to result format (#5629) 2022-01-19 13:53:27 -06:00
be30c9
4fddff104a SAML auth: allow custom service provider settings from environment variable (#5621) 2022-01-19 12:36:49 -06:00
Steven Hao
8ef9a1d398 Fix: make plotly charts have unbounded hoverlabel name length (#5661) 2022-01-19 12:17:27 -06:00
Robin Zheng
965db26cab Fix"Unable to locate package msodbcsql17"on M1 (#5638)
If you run the docker-compose on a Mac with the new M1 chip, you will get the "Unable to locate package msodbcsql17" error. Because there are currently no msodbcsql17 packages for arm64 architecture. The solution was to change the base image in the Dockerfile to change the installation to the older AMD architecture. 

FROM --platform=linux/amd64 python:3.7-slim-buster
2021-12-16 00:50:13 -08:00
Katsuya Shimabukuro
64586500a7 Improve BigQuery schema fetching when environment contains 50+ datasets (#5667) 2021-12-14 22:05:52 -06:00
Jesse
df472eb1d4 Update CircleCI configs and move advocate to main requirements file (#5658)
Ported from the 10.0.x branch
2021-11-26 18:15:10 -06:00
Jesse
7487550ad7 Update changelog to incorporate security fixes and #5632 & #5606 (#5654)
* Update changelog to incorporate security fixes and #5632 & #5606

* Added reference to sqlite fix
2021-11-23 15:24:31 -08:00
Jesse
61bbb5aa7a Merge pull request from GHSA-fcpv-hgq6-87h7 2021-11-23 14:58:20 -08:00
Jesse
ce60d20c4e Merge pull request from GHSA-g8xr-f424-h2rv 2021-11-23 14:57:24 -08:00
Jesse
da696ff7f8 Merge pull request from GHSA-vhc7-w7r8-8m34
* WIP: break the flask_oauthlib behavior

* Refactor google-oauth to use cryptographic state.

* Clean up comments

* Fix: tests didn't pass because of the scope issues.

Moved outside the create_blueprint method because this does not depend
on the Authlib object.

* Apply Arik's fixes. Tests pass.
2021-11-23 14:22:02 -08:00
Katsuya Shimabukuro
ed654a7b78 Speed up BigQuery schema fetching (#5632)
New method improves schema fetching by as much as 98% on larger schemas
2021-11-18 09:00:48 -06:00
rajeshmauryasde
3d032b69e5 Update Readme to reflect Firebolt data source (#5649) 2021-11-17 08:58:57 -06:00
Dan Goldin
86514207a3 Fix TypeScript warning: integet -> integer typo (#5637) 2021-11-15 15:43:51 -06:00
Dan Goldin
2e67227f1b Typo(#5636) 2021-10-28 14:55:48 -05:00
Jesse
86b2c4d06e Bump master to 11.0.0-dev (#5631) 2021-10-21 15:27:55 -05:00
Jesse
3c248acf21 Fix: pagination is broken on the dashboard list page (#5612)
* Fix: pagination is broken on the dashboard list page (#5516)
* Add test that reproduces issue #5466
* Fix: Duplicate dashboard rows were returned by Dashboard.all() (#5466)
* Update changelog for V10
* Update changelog for #5516
2021-10-21 11:25:30 -05:00
Aratrik Pal
39ca71c356 Fixes issue #5622 (#5623) 2021-10-18 20:26:10 +03:00
rajeshSigmoid
143d22db04 Add support for Firebolt Database (#5606) 2021-10-14 12:57:12 -05:00
zoomdot
7cac149cef Fix: Specify the protobuf version (#5608)
protobuf package with a dependency of google-api-python-client released a new version (3.18.0) on September 16, 2021. Since then, the Docker build is failing, and it is presumed that there is a conflict with other DataSource packages that use protobuf. (phoenixdb, pydgraph)
2021-10-01 16:22:44 -05:00
Tucker Leavitt
a0a28b09b4 Guard against empty totalProcessedBytes in BigQuery responses (#5592)
* Guard against empty totalProcessedBytes in BigQuery responses

This field will be empty on query responses for tables with
row level access controls enabled.

* Fix whitespace

* Update redash/query_runner/big_query.py

Co-authored-by: Jesse <jwhitehouse@airpost.net>
2021-09-24 22:12:04 +03:00
Jesse
e9bcc3c924 Fix: Edit Source button disappeared for users without CanEdit perms (#5568) 2021-08-30 10:43:00 +03:00
Levko Kravets
380345bb08 Pin python3 image version (#5570) 2021-08-18 11:04:46 -07:00
Kyunghwan Ko
0f41f25720 Fix: log message for bad auth token was malformed (#5557) 2021-08-10 11:31:26 -05:00
Levko Kravets
7445080d1a Use Yarn instead of NPM (#5541) 2021-08-02 13:16:33 +03:00
deecay
b9cb8191f5 Excel & CSV query runner (#2478)
* Excel query runner

* Param handling for read_excel

* CSV query runner

* Fix wrong module name

* Use yaml as query language

* Use yaml as query language for CSV

* Added icon and required modules

* Local address filtering

* Fix syntax error
2021-07-27 13:27:09 -07:00
Omer Lachish
ff7c5e8367 remove redundant fields from slack alert destination (#5514) 2021-06-15 17:41:36 +03:00
Shen Li
041b184d37 README.md: Add TiDB to the Supported Data Sources (#5477) 2021-05-14 06:52:29 -07:00
Omer Lachish
5085495dd4 Refine Dockerfile caching (#5484) 2021-05-14 06:48:10 -07:00
case-k-git
e62de4e4c3 fix big_query.py google api import error (#5482) 2021-05-14 06:47:38 -07:00
Jawshua
8cac6b555c Use the correct rq connection in get_queues_status (#5491) 2021-05-14 16:45:43 +03:00
adamzwakk
e4e567bbb9 Fixing failure report rendering (#5492) 2021-05-14 06:25:52 -07:00
Ben Herzberg
8e728308ab SFS-001: Adding support for the optional host connection property (#5490) 2021-05-14 06:07:30 -07:00
Omer Lachish
7ec86cf4bd Expire sessions after 6 hours of inactivity (#5159)
Configurable with environment variables
2021-05-10 13:36:34 -05:00
Omer Lachish
1c3f724f3e use ptpython instead of standard python shell (#5483) 2021-05-05 16:56:34 -07:00
Jesse
9c8c1bfa9a Adds rate limit to /forgot. (#5425)
Security vulnerability was disclosed by Sohail Ahmed <https://www.linkedin.com/in/sohail-ahmed-755776184/>
2021-04-26 12:02:47 -05:00
iwakiriK
f21f7e211f Athena: skip tables with no StorageDescriptor (#5447) 2021-04-21 15:01:57 -05:00
Nolan Nichols
a70eeb9530 Query Runner: SPARQL Endpoint Data Source (#5469) 2021-04-19 16:45:52 -05:00
Rafael Wendel
427c005c04 Replace hardcoded ids with hook (#5444)
* refactor: replace hardcoded ids with hook

* refactor: replace hard coded ids with lodash id (class)
2021-04-19 09:30:46 -03:00