Commit Graph

7313 Commits

Author SHA1 Message Date
dependabot[bot]
a564206538
Bump sqlparse from 0.3.0 to 0.4.4
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.3.0 to 0.4.4.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases)
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.3.0...0.4.4)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 20:51:56 +00:00
Ivan Panteleev
46d00bb0aa
Add GitHub actions (#3)
* create workflows folder
2023-04-04 12:29:12 +03:00
Ivan Panteleev
bccbf367dd
Fix dockerfile,add github actions (#2)
* Fix dockerfile,add github actions

* remove circleci
2023-04-04 12:24:43 +03:00
Shubham Jain
5b9fd40dc7
Add liveness check for workers (#5886)
* Add liveness check script for workers

closes #5885

* delete extra script

* Rename worker_healthcheck -> workers_healthcheck

---------

Co-authored-by: Arik Fraimovich <arik@arikfr.com>
2023-03-27 13:11:18 -07:00
Jeremy
0b86c76552
Fix/databend params (#5937)
* fix: databend params

* add databend logo

* fix log

* fix log

* Update redash/query_runner/databend.py

Co-authored-by: Arik Fraimovich <arik@arikfr.com>

---------

Co-authored-by: Arik Fraimovich <arik@arikfr.com>
2023-03-27 13:08:53 -07:00
David Choi
35b2430ff9
Fix group not found message. (#5935) 2023-03-24 14:55:34 -07:00
Arik Fraimovich
65d0eb72f5
Update development workflow for Apple Silicon, Node version, default port, and maildev image (#5932)
* Update ngines definition to allow for newer versions of Node.

With Node version 19 I stumbled into some issues so for now bumped it to v16, until we get to updating the libraries we use.

* docker-compose.yml updates:

1. Switch to newer maildev docker image.
2. Update local port to 5001 as 5000 seems to be used by a system process now.

* Update pymssql and pyarrow. Also commented out ibm-db until we have a way to not install it only on ARM.
2023-03-24 14:36:58 -07:00
Jeremy
8487876e7f
feat: New support databend for redash (#5902)
* feat: New support databend for redash

* fix
2023-03-21 08:21:56 -07:00
Genki Sugawara
c08ef9b502
Add "set -e" to docker_build (#5896) 2023-03-20 07:40:16 -07:00
Arik Fraimovich
28b0a2379d
Remove extensions mechanism (#5895)
* Remove extensions mechanism.

* Missing change.
2023-03-20 07:39:21 -07:00
Zach Liu
0dfe726ec8
see https://discuss.redash.io/t/redash-datasource-connection-test-fails/9989 (#5898) 2023-03-20 07:38:45 -07:00
Arik Fraimovich
a1e3369ba3
Update references from Discourse to Discussions. (#5916) 2023-03-18 08:03:20 -07:00
Peter Lee
7ec443c800
fix word spell (#5859)
Co-authored-by: guyu <guyu@fordeal.com>
2023-02-17 06:36:25 -08:00
Izumu KUSUNOKI
d6dbc64cfe
bug fix SAML_LOGIN_ENABLED setting logic (#5784) 2023-02-17 06:24:49 -08:00
tsbkw
82361e7054
fix: Support importlib_metadata v5.0.0 (#5840)
* fix: Support importlib_metadata v5.0.0

importlib_metadata removed compatibility shims for deprecated entry point interfaces.
see: https://github.com/python/importlib_metadata/blob/main/CHANGES.rst#v500

Filter result of entry_points function by group parameter.
see: https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.entry_points

* fix: Enable to run in older python version

In circleci frontend-unit-tests, old node image is used and python 3.5 is used.
Support both old version and latest version by checking ijmportlib_metadata version
2023-02-16 13:47:56 +11:00
Dmitriy
5cf13afafe
Improve visibility of error message during schema retrieval (#5879)
* handle query execution error in one place. increase ability to debug issues with schema retrieval

* split message and details for error reporting

Co-authored-by: Dmitriy Apollonin <dmitriy.apollonin@aspireiq.com>
2023-01-05 14:12:16 +02:00
kevinchiang
328099137d
Microsoft Teams Webhook alert destination (#5691)
* Microsoft Teams Webhook alert destination

* Text formatting and new image for Microsoft Teams Webhook

* Comment on how to build frontend

* Add title to clarify webhook URL

* Make the message into a configurable template.
2022-10-06 23:45:03 -07:00
Xiang Fu
a863c8c08c
Adding Apache Pinot Query Runner (#5798)
* Adding Apache Pinot integration

* address comments
2022-10-06 23:40:00 -07:00
Ikko Ashimine
71458e5697
Fix typo in users.py (#5818)
seperated -> separated
2022-09-23 23:01:31 -07:00
trigremm
75cb59f4be
Databricks ODBC Driver: follow redirects (#5814)
Use curl --location
2022-08-24 09:26:09 -05:00
luc-x41
2935844e88
README: add MariaDB to supported data sources (#5808) 2022-08-24 08:51:22 -05:00
Jesse
4186f8303e
New ElasticSearch Query Runner (#5794)
- A runner supporting the newest versions of ES,
  aggregation, nested aggregations and nested fields.
- A runner for the SQL OpenDistro flavor
- A runner for the SQL X-Pack flavor

Co-authored-by: Nicolas Le Manchet <nicolas@lemanchet.fr>
Co-authored-by: wwl717195673 <717195673@qq.com>
2022-07-20 07:47:44 -05:00
Aniket Kulkarni
0712abb359
README: update list of supported data sources (#5790)
Co-authored-by: Jesse Whitehouse <jesse@whitehouse.dev>
2022-07-15 14:29:28 -05:00
Jesse
9abc4f5f1e
Clickhouse: Multi-statements support (#5792)
ClickHouse query runner splits query into several and execute each query in turn. The result of the last execution is returned. Implementation uses ClickHouse sessions in the HTTP protocol. `session_id` is generated for the first query and then it is used with the subsequent queries (together with the `session_check` parameter).

If query runner gets a success response with empty body from ClickHouse (for example, in case of temporary table creation request) query runner returns empty response.

authored-by: Liubov Ulitina <ulitinalm@vl.ru>
2022-07-12 12:27:20 -05:00
Aniket Kulkarni
f0a390b11a
New Query Runner: Netezza Performance Server (#5771)
Co-authored-by: Jesse <jwhitehouse@airpost.net>
2022-07-08 13:10:49 -05:00
Jacek Jabłoński
3624f8f2be
Feature: allow configuration / increase of gunicorn timeout (#5783) 2022-07-06 16:00:56 -05:00
Jesse
65f7b6c5af
Sort Python safe built-ins (#5781)
Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>
Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
2022-07-06 08:16:36 -05:00
Bryan Yang
412c82940a
New Query Runner: Arango query runner (#5124)
Co-authored-by: Hugo Gresse <hugo.gresse@gmail.com>
2022-07-06 06:53:31 -05:00
Arik Fraimovich
e2bad61e5b
Add unarchive button to dashboard (#4697)
Co-authored-by: Jesse Whitehouse <jesse@whitehouse.dev>
2022-07-03 13:13:59 -05:00
Adam Zwakenberg
173cbdb2d6
Added clear button for query-based parameter inputs (#5710) 2022-07-03 13:04:09 -05:00
Jiajie Zhong
fc37c1ecfc
Remove unused params in query result GET handler (#5346) 2022-07-02 23:09:24 -05:00
Jiajie Zhong
c4bfd4f3e1
mysql: add more configuration options (#5280) 2022-07-02 23:00:56 -05:00
Leandro Lorenzini
bdd1244604
Fix: mongodb schema refresh failed when user had insufficient permissions (#5734)
Co-authored-by: ban-lee-seng <banleesengpaints.marketing@gmail.com>
2022-07-02 14:02:49 -05:00
Greg Stein
6806ebd244
Use correct names for Apache projects (#5776)
Apache's trademark policy says to use the full name for these products on their first mention, on a page.
2022-07-02 13:02:38 -05:00
Jesse
b2cc42e383
Disable auto limit for mssql query runner (#5777) 2022-07-02 11:13:00 -05:00
Ian
cabe33394b
[Fix] Broken image included in emails (#5719) 2022-06-01 11:15:18 -05:00
Gabriel A. Devenyi
46ea3b1f0b
Fix hard-coding of amd64 platform, make ARM build work. (#5687)
* Fix hard-coding of amd64 platform and make amd64 package installation conditional
* Cleanup Dockerfile for best practices
* Enable BuildKit for docker building
2022-04-28 11:20:13 -05:00
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