dependabot[bot]
af71e0ec13
Bump serialize-javascript from 6.0.1 to 6.0.2 in /viz-lib
...
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases )
- [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: serialize-javascript
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-05 14:32:00 +00:00
Tsuneo Yoshioka
594e2f24ef
Upgrade plotly.js to version 2 to fix the UI crashing issue ( #7359 )
...
* Upgrade plotly.js to version 2
* Fix styling error reported by styled
2025-03-05 14:30:28 +00:00
github-actions[bot]
3275a9e459
Snapshot: 25.03.0-dev
2025-03-01 00:35:44 +00:00
Shunki
3bad8c8e8c
TiDB: Exclude INFORMATION_SCHEMA ( #7352 )
...
Co-authored-by: snickerjp <snickerjp@gmail.com >
2025-02-28 11:09:46 +09:00
Tsuneo Yoshioka
d0af4499d6
Sanitize NaN, Infinite, -Infinite causing error when saving as PostgreSQL JSON #7339 (2nd try) ( #7348 )
...
* Sanitize NaN, Infinite, -Infinite causing error when saving as PostgreSQL JSON #7339 (2nd try)
* Move json nsanitaize to on the top of json_dumps
* Fix comment
2025-02-27 01:40:43 -08:00
Ran Benita
4357ea56ae
Fix UnboundLocalError when checking alerts for query ( #7346 )
...
This fixes the following exception:
```
UnboundLocalError: local variable 'value_is_number' referenced before assignment
File "rq/worker.py", line 1431, in perform_job
rv = job.perform()
File "rq/job.py", line 1280, in perform
self._result = self._execute()
File "rq/job.py", line 1317, in _execute
result = self.func(*self.args, **self.kwargs)
File "redash/tasks/alerts.py", line 36, in check_alerts_for_query
new_state = alert.evaluate()
File "redash/models/__init__.py", line 1002, in evaluate
new_state = next_state(op, value, threshold)
File "redash/models/__init__.py", line 928, in next_state
elif not value_is_number and op not in [OPERATORS.get("!="), OPERATORS.get("=="), OPERATORS.get("equals")]:
```
2025-02-25 09:15:20 -05:00
Tsuneo Yoshioka
5df5ca87a2
add NULLS LAST option for Query order ( #7341 )
2025-02-25 10:58:48 +08:00
Tsuneo Yoshioka
8387fe6fcb
Fix the issue that chart(scatter, line, bubble...) having same x-value have wrong y-value ( #7330 )
2025-02-18 20:04:12 +00:00
snickerjp
e95de2ee4c
Update oracledb package to version 2.5.1 and adjust Python version compatibility ( #7316 )
2025-02-18 23:00:09 +09:00
Lee2532
71902e5933
FIX : redash docker image TAG ( #7280 )
...
Co-authored-by: snickerjp <snickerjp@gmail.com >
2025-02-15 01:38:23 +09:00
Tsuneo Yoshioka
53eab14cef
Make autocomplete always available ( #7326 )
2025-02-13 15:25:39 -05:00
Eric Radman
925bb91d8e
Use absolute path for image resources ( #7322 )
...
When MULTI_ORG is enabled, 'static/' resolves to '<org>/static/'
2025-02-12 08:37:40 -05:00
Tsuneo Yoshioka
ec2ca6f986
BigQuery: show column type on Schema Browser ( #7257 )
2025-02-05 18:25:39 +00:00
Matt Nelson
96ea0194e8
Fix errors in webex alert destination. Add formatting support for QUERY_RESULT_TABLE. ( #7296 )
...
* prevent text values in payload being detected as 'set' on send.
Webex send ERROR:: Object of type set is not JSON serializable
Signed-off-by: Matt Nelson <metheos@gmail.com >
* add support for formatted QUERY_RESULT_TABLE in webex card
Signed-off-by: Matt Nelson <metheos@gmail.com >
* don't try to send to blank destinations
Signed-off-by: Matt Nelson <metheos@gmail.com >
* fix handling of the encoded QUERY_RESULTS_TABLE text
Signed-off-by: Matt Nelson <metheos@gmail.com >
* re-sort imports for ruff
Signed-off-by: Matt Nelson <metheos@gmail.com >
* change formatter to black
Signed-off-by: Matt Nelson <metheos@gmail.com >
* Add additional tests for Webex notification handling
ensure blank entries are handled for room IDs and person emails.
ensure that the API is not called when no valid destinations are provided.
ensure proper attachment formatting for alerts containing 2D arrays.
Signed-off-by: Matt Nelson <metheos@gmail.com >
* Add test for Webex notification with 1D array handling
This commit introduces a new test case to verify that the Webex
notification function correctly handles a 1D array input in the alert body.
The test ensures that the expected payload is constructed properly and that
the requests.post method is called with the correct parameters.
Signed-off-by: Matt Nelson <metheos@gmail.com >
---------
Signed-off-by: Matt Nelson <metheos@gmail.com >
2025-02-04 11:05:13 +00:00
github-actions[bot]
2776992101
Snapshot: 25.02.0-dev
2025-02-01 00:33:52 +00:00
Arik Fraimovich
85f001982e
GitHub Actions Workflow updates ( #7298 )
...
* Split out secrets requiring workflows
* Update target
* Update Cypress run command
2025-01-31 10:20:04 +02:00
Motoi Washida
d03a2c4096
Fix error in rehash DB migration with Elasticsearch queries ( #7292 )
...
Fixes #7272
2025-01-22 21:19:59 -05:00
SeongTae Jeong
8c5890482a
Use ARM64 runners instead of virtualization for ARM64 image builds ( #7291 )
2025-01-19 16:00:19 +10:00
Ezra Odio
10ce280a96
Default to not allow HTML content in tables ( #7064 )
...
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
2025-01-15 10:09:24 -05:00
dependabot[bot]
0dd7ac3d2e
Bump virtualenv from 20.25.0 to 20.26.6 ( #7276 )
2025-01-14 01:45:58 +00:00
github-actions[bot]
4ee53a9445
Snapshot: 25.01.0-dev
2025-01-01 00:35:12 +00:00
SeongTae Jeong
c08292d90e
Use Codecov token ( #7265 )
2024-12-30 21:06:09 +00:00
SeongTae Jeong
3142131cdd
Bump actions/upload-artifact from v3 to v4 ( #7266 )
...
Related: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
2024-12-30 15:31:03 -05:00
Daisuke Taniwaki
530c1a0734
Support result reuse in Athena data sources ( #7202 )
...
* Support result reuse
* Update pyathena to 2.25.2
* Separate options
* Regenerate the Poetry lock file
---------
Co-authored-by: SeongTae Jeong <seongtaejg@gmail.com >
2024-12-28 05:50:16 +09:00
dependabot[bot]
52dc1769a1
Bump jinja2 from 3.1.4 to 3.1.5 ( #7262 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-27 13:55:21 +10:00
Eric Radman
b9583c0b48
Create workflow trigger for publishing release image ( #7259 )
...
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-12-27 12:19:32 +10:00
Arik Fraimovich
89d7f54e90
Handle the case when query runner configuration is an empty dict. ( #7258 )
2024-12-24 09:42:39 -05:00
Tsuneo Yoshioka
d884da2b0b
BigQuery: add date, datetime type mapping ( #7252 )
2024-12-18 14:24:45 +02:00
dependabot[bot]
f7d485082c
Bump nanoid from 3.3.6 to 3.3.8 ( #7249 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.3.6 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.3.6...3.3.8 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-13 17:57:05 +09:00
Eric Radman
130ab1fe1a
Update to paramiko-3.4.1 ( #7240 )
...
Solves the deprecation warning for TripleDES
Related: https://github.com/paramiko/paramiko/issues/2419
2024-12-07 11:23:45 +09:00
github-actions[bot]
2ff83679fe
Snapshot: 24.12.0-dev
2024-12-01 00:40:40 +00:00
Eric Radman
de49b73855
Replace ptvsd with debugpy to match modern VS Code ( #7234 )
2024-11-27 08:19:05 +10:00
thiagogds
c12e68f5d1
Only evaluate the next state if there's a value ( #7222 )
...
I've experience this on my Redash in production. I'm not sure what can cause the value to exist, but be None. I guess it depends on the SQL query.
I followed the same idea of returning a self.UNKNOWN_STATE for cases that we can't know what's happening.
2024-11-26 12:57:34 -05:00
Eric Radman
baa9bbd505
Use head.sha for restyled checkout ( #7227 )
2024-11-22 10:34:16 +10:00
Arik Fraimovich
349cd5d031
Bring back version check & beacon reporting ( #7211 )
...
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-06 01:21:03 +00:00
github-actions[bot]
49277d27f8
Snapshot: 24.11.0-dev
2024-11-01 00:35:04 +00:00
Yeger
2aae5705c9
don't crash when there is no data ( #7208 )
...
* don't crash when there is no data
* Add test
2024-10-31 08:49:57 +00:00
dependabot[bot]
38d0579660
Bump elliptic from 6.5.7 to 6.6.0 ( #7214 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 02:41:33 +00:00
Ezra Odio
673ba769c7
Fix issue with scheduled queries ( #7111 )
...
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2024-10-29 10:36:05 +00:00
Eric Radman
b922730482
Docker build: use heredoc for multi-line actions ( #7210 )
2024-10-29 10:23:15 +10:00
Arik Fraimovich
ba973eb1fe
Fixes #6767 : correctly rehash queries in a migration ( #7184 )
2024-10-25 01:00:29 +00:00
dependabot[bot]
d8dde6c544
Bump cryptography from 42.0.8 to 43.0.1 ( #7205 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 00:27:23 +00:00
dependabot[bot]
d359a716a7
Bump http-proxy-middleware from 2.0.6 to 2.0.7 ( #7204 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 23:56:09 +00:00
dependabot[bot]
ba4293912b
Bump snowflake-connector-python from 3.12.0 to 3.12.3 ( #7203 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 23:23:28 +00:00
thiagogds
ee359120ee
Use correct redis connection ( #7077 )
2024-10-24 17:54:09 +10:00
thiagogds
04a25f4327
Fix RQ wrongly moving jobs to FailedJobRegistry ( #7186 )
...
Something changed in python-rq and the old code was behaving in a way that if a job ran for longer than 2 min it would be automatically set as failed, but it would continue running.
This causes a problem in the UI because it is as if the job stopped, but it actually didn't
2024-10-17 13:30:02 -04:00
Eric Radman
7c22756e66
Move restyled to a github action ( #7191 )
2024-10-16 09:45:25 +03:00
dependabot[bot]
a03668f5b2
Bump restrictedpython from 6.2 to 7.3 ( #7181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 13:22:44 +10:00
github-actions[bot]
e4a841a0c5
Snapshot: 24.10.0-dev
2024-10-01 00:34:37 +00:00
Zach Liu
38dc31a49b
Get rid of the strange looking 0 following "Running..." and "runtime" ( #7099 )
...
* Snapshot: 24.08.0-dev
* no more Running...0 or runtime0
* also missing a space
* Restyled by prettier
* check if data_scanned is defined
otherwise we could get "Data Scanned ?" if it's not supported
by some data sources
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2024-09-19 13:25:05 +03:00
Justin Clift
c42b15125c
Automatically remove orphans when running make up ( #7164 )
2024-09-17 05:11:51 +00:00
dependabot[bot]
590d39bc8d
Bump dompurify from 2.0.17 to 2.5.4 in /viz-lib ( #7163 )
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.0.17 to 2.5.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.17...2.5.4 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 13:54:32 +10:00
Justin Clift
79bbb248bb
Update make up to automatically initialise the db ( #7161 )
...
It does this by (very quickly) checking if the organization table
is present, running `make create_database` if not.
2024-09-14 16:29:04 +08:00
Zach Liu
5cf0b7b038
Better error msg for token validation ( #7159 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-14 12:03:20 +10:00
Justin Clift
fb1a056561
Add REDASH_HOST to the docker compose file ( #7157 )
...
This ensures emails generated in the development environment have the port number included in their urls.
2024-09-12 10:06:52 +00:00
dependabot[bot]
75e1ce4c9c
Bump body-parser from 1.20.1 to 1.20.3 ( #7156 )
...
Bumps [body-parser](https://github.com/expressjs/body-parser ) from 1.20.1 to 1.20.3.
- [Release notes](https://github.com/expressjs/body-parser/releases )
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md )
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.1...1.20.3 )
---
updated-dependencies:
- dependency-name: body-parser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 15:33:59 +10:00
dependabot[bot]
d6c6e3bb7a
Bump express from 4.19.2 to 4.21.0 ( #7155 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.19.2 to 4.21.0.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 14:46:25 +10:00
dependabot[bot]
821c1a9488
Bump path-to-regexp from 3.2.0 to 3.3.0 ( #7154 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 12:42:27 +10:00
Zach Liu
76eeea1f64
Make schema refresh timeout configurable via env var ( #7114 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-09 01:40:35 +00:00
Justin Clift
2ab07f9fc3
Remove left over compose.base.yaml file ( #7142 )
2024-09-06 17:47:56 +10:00
Justin Clift
a85b9d7801
Update pymssql to fix some problems with macOS ARM64 (2.3.1) ( #7140 )
...
Related: https://github.com/pymssql/pymssql/blob/master/ChangeLog.rst
2024-09-04 17:27:02 +09:00
github-actions[bot]
3330815081
Snapshot: 24.09.0-dev
2024-09-01 00:35:07 +00:00
dependabot[bot]
c25c65bc04
Bump webpack from 5.88.2 to 5.94.0 in /viz-lib ( #7135 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 13:48:45 +10:00
Eric Radman
79a4c4c9c9
Revert "Adding ability to fix table columns in place ( #7019 )" ( #7131 )
2024-08-26 22:57:47 +10:00
Justin Clift
58a7438cc8
Bump python-rapidjson to 1.20 ( #7126 )
2024-08-20 08:35:54 +00:00
Zach Liu
c073c1e154
Fix mismatched poetry version ( #7122 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-16 16:01:53 +10:00
Justin Clift
159a329e26
Bump elliptic to version 6.5.7 to fix a Dependabot warning ( #7120 )
2024-08-14 14:11:38 +10:00
Ezra Odio
9de135c0bd
Add option to choose color scheme for charts ( #7062 )
2024-08-08 13:08:49 -04:00
Zach Liu
285c2b6e56
Add data type to athena query runner ( #7112 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-07 03:36:58 +00:00
dependabot[bot]
b1fe2d4162
Bump sentry-sdk from 1.28.1 to 2.8.0 ( #7069 )
...
The Dependabot alert for sentry-sdk says that the security fix has
been backported to the 1.x series as well, in version 1.45.1.
So, lets use that as it should be more compatible that jumping to
a new major series version.
2024-08-06 10:05:21 +10:00
Zach Liu
a4f92a8fb5
Add data type to redshift query runner ( #7109 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-06 08:43:13 +10:00
Ezra Odio
51ef625a30
Fix alert evaluation logic and issue with calculating min and max of columns without numbers ( #7103 )
2024-08-05 15:20:26 +00:00
Masayuki Takahashi
a2611b89a3
Fix a display order bug in MongoDB Query Runner ( #7106 )
2024-08-04 04:22:59 +10:00
SeongTae Jeong
a531597016
Add the option to take new custom version for Snapshot ( #7096 )
2024-08-02 06:08:16 +00:00
Justin Clift
e59c02f497
Bump bootstrap to 3.4.1
...
Related:
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/
- https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/
2024-08-02 13:37:17 +09:00
github-actions[bot]
c1a60bf6d2
Snapshot: 24.08.1-dev
2024-08-02 02:49:08 +00:00
Ariel Richtman
72203655ec
update rds trust ( #7100 )
2024-08-02 11:09:11 +10:00
Eric Radman
5257e39282
Revert "Removed unused configuration class ( #6682 )" ( #7071 )
2024-08-01 23:08:09 +00:00
Justin Clift
ec70ff4408
Bump cryptography to 42.0.x & snowflake-connector-python to 3.12.0 ( #7097 )
2024-08-02 08:35:36 +10:00
Masayuki Takahashi
ed8c05f634
Fix columns duplication on MongoDB Query Runner #6640 ( #6641 )
...
Co-authored-by: Konstantin Smirnov <46676677+konnectr@users.noreply.github.com >
2024-08-01 22:34:50 +00:00
Zach Liu
86b75db82e
get data size in memory for better logs ( #7090 )
2024-08-01 12:17:54 -04:00
Ezra Odio
660d04b0f1
Adding Evaluate button for alerts to test them ( #7032 )
2024-08-01 15:02:12 +00:00
Ezra Odio
fc1e1f7a01
Add min/max/first selector for alerts ( #7076 )
2024-08-01 10:30:57 -04:00
SeongTae Jeong
8725fa4737
Add support for 'linux/arm64' platforms ( #7094 )
...
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-08-01 08:52:45 +00:00
Justin Clift
ea0b3cbe3a
Add the asdf .tool-versions file to .gitignore ( #7095 )
2024-08-01 08:19:11 +00:00
Justin Clift
714b950fde
Match FROM and AS capitalisation in Dockerfile ( #7093 )
2024-08-01 17:48:57 +10:00
github-actions[bot]
a9c9f085af
Snapshot: 24.08.0-dev
2024-08-01 00:30:32 +00:00
Ezra Odio
a69f7fb2fe
Add new text pattern parameter ( #7025 )
...
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
Co-authored-by: Restyled.io <commits@restyled.io >
2024-07-24 13:20:33 -04:00
Daisuke Taniwaki
c244e75352
Support Arbitrary Catalog IDs on Athena Data Source ( #7059 )
...
Co-authored-by: SeongTae Jeong <seongtaejg@gmail.com >
2024-07-24 16:57:27 +10:00
Ezra Odio
80f7ba1b91
Added option to toggle sort on pie charts ( #7055 )
...
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
Co-authored-by: Eric Radman <eradman@starfishstorage.com >
2024-07-22 15:13:00 +00:00
SeongTae Jeong
d2745e5acc
Add a label for Restyler's PR and Bump component version ( #7037 )
2024-07-18 22:00:29 +00:00
Ezra Odio
4114227471
Remove defaults set during schema upgrade/downgrade ( #7068 )
2024-07-18 16:05:34 -04:00
Ezra Odio
8fc4ce1494
Conditionally render tooltip for Edit alert button ( #7054 )
...
* Made Edit alert tooltip render conditionally
2024-07-18 14:31:31 +00:00
Ezra Odio
ebb0e2c9ad
Adding ability to fix table columns in place ( #7019 )
...
This change involved adding an extra option to the GridSettings editor,
adding the "fixed" option to columns, and adding styling for the fixed
columns. In order to change the number of fixed columns, which will
default to 0, one has to go to Edit visualization -> Grid -> Choose
number of columns to fix -> Save.
2024-07-17 13:59:47 +00:00
dependabot[bot]
57a79bc96b
Bump setuptools from 69.0.3 to 70.0.0 ( #7060 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.0.3 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.0.3...v70.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 05:45:28 +10:00
Justin Clift
77f108dd09
Bump requests to 2.32.3 ( #7057 )
2024-07-15 09:39:14 +09:00
dependabot[bot]
dd1a9b96da
Bump zipp from 3.17.0 to 3.19.1 ( #7051 )
...
Bumps [zipp](https://github.com/jaraco/zipp ) from 3.17.0 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases )
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst )
- [Commits](https://github.com/jaraco/zipp/compare/v3.17.0...v3.19.1 )
---
updated-dependencies:
- dependency-name: zipp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-07-12 09:25:12 +00:00
Ezra Odio
d9282b2688
Add usedforsecurity=False flag to md5 hashes ( #7049 )
...
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-07-12 03:34:53 +10:00
Eric Radman
28c39219af
Update requests module to 2.32.2 ( #7053 )
...
2.32.0 was yanked
2024-07-11 16:24:18 +00:00
Ezra Odio
a37ef3b235
Fixed frontend test deprecation warnings ( #7013 )
...
Created Moment in ISO 8601 format instead of using
the default Date() constructor.
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
2024-07-08 14:29:41 +00:00
dependabot[bot]
0056aa68f8
Bump certifi from 2023.11.17 to 2024.7.4 ( #7047 )
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2023.11.17 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.11.17...2024.07.04 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 22:57:01 +10:00
dependabot[bot]
76b5a30fd9
Bump ws from 5.2.3 to 5.2.4 in /viz-lib ( #7040 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 01:19:54 +00:00
github-actions[bot]
db4fdd003e
Snapshot: 24.07.0-dev
2024-07-01 00:31:06 +00:00
Ezra Odio
4cb32fc1c3
Map() implementation fix for chart labels ( #7022 )
...
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
Co-authored-by: Eric Radman <eradman@starfishstorage.com >
2024-06-18 18:05:37 +00:00
dependabot[bot]
a6c728b99c
Bump ws from 5.2.3 to 5.2.4 ( #7021 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 02:25:45 +00:00
dependabot[bot]
01e036d0a9
Bump urllib3 from 1.26.18 to 1.26.19 ( #7020 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 01:55:21 +00:00
Eric Radman
17fe69f551
PG: Only list tables where schema has USAGE permission ( #7000 )
...
This covers cases where partitioned tables are part of a schema that is
not accessible by the current user.
CREATE SCHEMA xyz;
CREATE TABLE xyz.tab (
id bigint GENERATED ALWAYS AS IDENTITY,
ts timestamp NOT NULL
) PARTITION BY LIST ((ts::date));
CREATE TABLE xyz.tab_default PARTITION OF xyz.tab DEFAULT;
2024-06-06 10:49:00 +10:00
Ezra Odio
bceaab0496
Update to Python 3.10 ( #6991 )
...
Updated from Python 3.8 to 3.10. Python 3.10 is the default for Ubuntu 22. This change necessitated upgrading to
SQLAlchemy_Utils 0.38.3, and importing the sort_query function from an older version of SQLAlchemy_Utils because it was dropped in newer versions.
Co-authored-by: Ezra Odio <eodio@starfishstorage.com >
2024-06-05 17:41:49 +10:00
Lucas Fernando Cardoso Nunes
70dd05916f
ci: bot identity correction ( #6997 )
...
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com >
2024-06-02 06:54:08 +10:00
github-actions
60a12e906e
Snapshot: 24.06.0-dev
2024-06-01 00:27:53 +00:00
dependabot[bot]
ec051a8939
--- ( #6981 )
...
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 06:50:52 +00:00
Arik Fraimovich
60d3c66a8b
Merge pull request from GHSA-32fw-wc7f-7qg9
2024-05-18 07:36:29 -07:00
Justin Clift
bd4ba96c43
Typo fix in message ( #6979 )
2024-05-18 08:18:37 +00:00
Eric Radman
10a46fd33c
Revert "show pg and athena column comments and table descriptions as antd tooltip if they are defined ( #6582 )" ( #6971 )
...
This reverts commit c12d45077a .
This commit did not sort tables properly by schema, then name
2024-05-16 11:28:42 +08:00
Eric Radman
c874eb6b11
Revert changes to job status ( #6969 )
...
"Query in queue" should switch to "Executing query", but does not.
Commands:
git revert --no-commit bd17662005
git revert --no-commit 5ac5d86f5e
vim tests/handlers/test_query_results.py
git add tests/handlers/test_query_results.py
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-05-14 22:06:45 -04:00
Taehyung Lim
f3a323695f
Bump pyodbc from 4.0.28 to 5.1.0 ( #6962 )
2024-05-14 16:26:28 +00:00
Eric Radman
408ba78bd0
Update MSSQL OBDC driver to v18 ( #6968 )
2024-05-15 01:55:32 +10:00
Eric Radman
58cc49bc88
Revert build (2 of 2) ( #6967 )
2024-05-14 12:30:48 +00:00
Eric Radman
753ea846ff
Revert CI workflow (1 of 2) ( #6965 )
2024-05-14 21:54:51 +10:00
Taehyung Lim
1b946b59ec
sync .nvmrc with workflow ( #6958 )
2024-05-10 21:32:52 +10:00
dependabot[bot]
4569191113
Bump jinja2 from 3.1.3 to 3.1.4 ( #6951 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 07:14:20 +10:00
Justin Clift
62890c3ec4
Revert "Remove deprecated advocate package ( #6944 )"
...
This reverts commit bd115e7f5f , as
it turns out to be a useful security feature.
In order to remove this in a better way, we'll need to replace it
with something that provides equivalent functionality.
2024-05-07 03:20:05 +10:00
Andrii Chubatiuk
bd115e7f5f
Remove deprecated advocate package ( #6944 )
2024-05-06 23:14:13 +10:00
Andrii Chubatiuk
bd17662005
Fixed error serialization ( #6937 )
...
* serialize errors
* lint fix
* cover successful case
2024-05-02 13:52:35 +00:00
Jason Cowley
b7f22b1896
Fix 'str' object has no attribute 'pop' error when parsing query ( #6941 )
2024-05-02 21:31:23 +10:00
Justin Clift
897c683980
pgautoupgrade now does multi-arch builds ( #6939 )
...
Thanks to substantial efforts by @andyundso, the Docker Hub
images for pgautoupgrade are now multi-arch (x86_64 and ARM64). :)
2024-05-01 23:03:06 +10:00
github-actions
2b974e12ed
Snapshot: 24.05.0-dev
2024-05-01 00:26:34 +00:00
SeongTae Jeong
372adfed6b
Downgrade 'codecov-action' version from v4 to v3 ( #6930 )
...
The 'codecov-action@v4' requires an organization-level upload token, not
a single repo upload token, so we're temporarily downgrading it until we
can generate an organization-level upload token.
Reference: https://github.com/codecov/codecov-action/issues/1273
2024-04-26 08:28:20 +00:00
Eric Radman
dbab9cadb4
Source .env when running docker containers ( #6927 )
...
Restore previous functionality.
Ensure .env exists before building server.
Co-authored-by: github-actions <github-actions@github.com >
2024-04-25 11:36:03 -04:00
Kim Yann
06244716e6
Flatten all level for MongoDB data source ( #6844 )
2024-04-25 11:37:35 +00:00
Luciano Vitti
f09760389a
aggregate Y column values rather than displaying last Y value ( #6908 )
2024-04-25 06:21:31 +00:00
Eric Radman
84e6d3cad5
Use staticPath var to fetch unsupportedRedirect.js ( #6923 )
...
Use Webpack configuration for locating this asset in the same way that
client/app/index.html does.
This code path is when REDASH_MULTI_ORG=true.
Co-authored-by: github-actions <github-actions@github.com >
2024-04-24 10:57:45 +00:00
Andrii Chubatiuk
3399e3761e
mssql-odbc-arm64 ( #6924 )
...
Co-authored-by: Peter Lee <yankeeguyu@gmail.com >
2024-04-24 10:05:07 +00:00
Peter Lee
1c48b2218b
Update widgets.py ( #6926 )
2024-04-24 19:37:35 +10:00
Andrii Chubatiuk
5ac5d86f5e
consistent rq status naming and handling ( #6913 )
...
* consistent rq status naming and handling
* test fix
* make scheduled and deferred statuses cancelable
2024-04-24 13:15:04 +10:00
Marko Stankovic
5e4764af9c
bugfix: unable to parse elasticsearch index mappings ( #6918 )
2024-04-23 18:13:05 +08:00
Eric Radman
e2a39de7d1
Remove workaround from check_csrf() ( #6919 )
...
This code was supposed to be temporary, and raises an exception if REDASH_MULTI_ORG=true is set.
2024-04-23 13:14:45 +10:00
Justin Clift
6c68b48917
Add pydeps Makefile target for installing Python dependencies ( #6890 )
...
This combines the manual steps needed for installing the Python dependencies into a single Makefile target.
2024-04-18 22:35:01 +10:00
Andrii Chubatiuk
7e8a61c73d
Rq upgrade ( #6902 )
...
* fix(aws-es): fixed es auth
* fixed lock
* rq v1.16
2024-04-17 17:46:32 +10:00
dependabot[bot]
991e94dd6a
Bump gunicorn from 21.2.0 to 22.0.0 ( #6900 )
...
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 14:00:59 +10:00
Andrii Chubatiuk
2ffeecb813
fix: aws elasticsearch typo ( #6899 )
...
Co-authored-by: Peter Lee <yankeeguyu@gmail.com >
2024-04-17 02:49:39 +00:00
dependabot[bot]
3dd855aef1
Bump sqlparse from 0.4.4 to 0.5.0 ( #6895 )
...
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse ) from 0.4.4 to 0.5.0.
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG )
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.4...0.5.0 )
---
updated-dependencies:
- dependency-name: sqlparse
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 13:06:57 +10:00
Justin Clift
713aca440a
Extend make up to automatically initialise the database ( #6855 )
2024-04-13 14:47:41 +10:00
dependabot[bot]
70bb684d9e
Bump dnspython from 2.4.2 to 2.6.1 ( #6886 )
...
Bumps [dnspython](https://github.com/rthalley/dnspython ) from 2.4.2 to 2.6.1.
- [Release notes](https://github.com/rthalley/dnspython/releases )
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst )
- [Commits](https://github.com/rthalley/dnspython/compare/v2.4.2...v2.6.1 )
---
updated-dependencies:
- dependency-name: dnspython
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 13:46:38 +10:00
dependabot[bot]
4034f791c3
Bump pymongo from 4.3.3 to 4.6.3 ( #6863 )
...
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver ) from 4.3.3 to 4.6.3.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases )
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst )
- [Commits](https://github.com/mongodb/mongo-python-driver/compare/4.3.3...4.6.3 )
---
updated-dependencies:
- dependency-name: pymongo
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 03:14:35 +00:00
Justin Clift
b9875a231b
Improve the text displayed when using the command line ( #6884 )
...
This removes some debugging output, and makes an unexpected text
string useful by explaining what's happening.
2024-04-13 11:51:15 +10:00
Justin Clift
062a70cf20
Change default webUI port back to 5001 ( #6883 )
...
This PR changes the default (tcp) port for the web user interface back to port 5001.
The recent change to port 5000 (to match an old default) turned out to be more painful than it's worth.
So, lets keep using port 5001 after all.
2024-04-13 02:02:55 +10:00
Andrii Chubatiuk
c12d45077a
show pg and athena column comments and table descriptions as antd tooltip if they are defined ( #6582 )
...
* show column comments by default for athena and postgres
* Restyled by prettier
* fixed typo
* fmt fix
* ordered imports
* fixed unit tests
* fixed tests for athena
---------
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
2024-04-12 21:02:15 +10:00
snickerjp
6d6412753d
Bump python-oracledb from 2.0.1 to 2.1.2 ( #6881 )
2024-04-12 10:33:16 +00:00
Andrii Chubatiuk
275e12e7c1
fix: unquote values in compose ( #6882 )
2024-04-12 20:05:24 +10:00
Andrii Chubatiuk
77d7508cee
fixed local setup to run on ARM64 ( #6877 )
...
* fixed local setup to run on ARM64
* set local profile in makefile by default
* reverted compose comment for postgres command
2024-04-12 08:10:34 +00:00
Justin Clift
9601660751
Update Node image in Dockerfile to 18-bookworm
2024-04-12 15:08:56 +10:00
dependabot[bot]
45c6fa0591
Bump idna from 3.6 to 3.7 ( #6878 )
...
Bumps [idna](https://github.com/kjd/idna ) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases )
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst )
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7 )
---
updated-dependencies:
- dependency-name: idna
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-12 14:58:04 +10:00
Andrii Chubatiuk
95ecb8e229
fix for coverage ( #6872 )
...
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
2024-04-11 05:35:14 +00:00
dependabot[bot]
cb0707176c
Bump tar from 6.1.15 to 6.2.1 ( #6866 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 06:47:08 +10:00
Andrii Chubatiuk
d7247f8b84
use default docker repo name if variable is not defined ( #6870 )
...
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
2024-04-11 06:15:43 +10:00
Andrii Chubatiuk
776703fab7
filter widget results to fix tests during repeatable execution ( #6693 )
...
* filter widged results to fix tests during repeatable execution
* minor fix
* made queryName variable
---------
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-04-10 23:14:47 +10:00
Andrii Chubatiuk
34cde71238
fix percy for a branch ( #6868 )
...
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
2024-04-10 21:10:41 +10:00
Andrii Chubatiuk
f631075be3
reverted e2e secrets ( #6867 )
...
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
2024-04-10 20:16:31 +10:00
Andrii Chubatiuk
3f19534301
reuse built frontend in ci, merge compose files ( #6674 )
...
* reuse built frontend in ci, merge compose files
* pr comments
* added make create_db alias to create_database
* fixed lint
---------
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
2024-04-10 19:53:14 +10:00
Justin Clift
24dec192ee
Update yarn to current latest in 1.22.x series ( #6858 )
...
* Update yarn to current latest in 1.22.x series
* Use an environment variable for the yarn version
As suggested by @lucydodo:
https://github.com/getredash/redash/pull/6858#discussion_r1555131358
Thanks heaps. :)
2024-04-08 01:52:45 +00:00
Ran Benita
82d88ed4eb
Bump gunicorn from 20.0.4 to 21.2.0 ( #6856 )
...
The version 20.0.4 has a security issue:
https://grenfeldt.dev/2021/04/01/gunicorn-20.0.4-request-smuggling/
Changelog:
https://docs.gunicorn.org/en/stable/news.html
2024-04-08 06:26:02 +10:00
Justin Clift
af0773c58a
Update "make clean" to remove Redash dev Docker images ( #6847 )
...
Also added a "make clean-all" target to remove the related containers
2024-04-07 12:14:38 +10:00
Justin Clift
15e6583d72
Automatically use the latest version of PostgreSQL ( #6851 )
2024-04-05 10:46:12 -04:00
Justin Clift
4eb5f4e47f
Remove version check and all of the data sharing ( #6852 )
2024-04-06 00:02:31 +10:00
Eric Radman
a0f5c706ff
Remove Qubole query runner ( #6848 )
...
The qds-sdk-py package along with the rest of the Qubole project is no longer
maintained:
3c6a34ce33
Removing this eliminates these warnings when running Redash management commands:
./qds_sdk/commands.py:1124: SyntaxWarning: "is" with a literal. Did you mean "=="?
if options.mode is "1":
./qds_sdk/commands.py:1137: SyntaxWarning: "is" with a literal. Did you mean "=="?
if options.db_update_mode is "updateonly":
./qds_sdk/commands.py:1424: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (total is 0) or (downloaded == total):
Co-authored-by: github-actions <github-actions@github.com >
2024-04-04 07:52:18 +10:00
Will Lachance
702a550659
Handle timedelta in query results ( #6846 )
2024-04-03 15:44:08 +00:00
Eric Radman
38a06c7ab9
Autoformat hyperlinks in Slack alerts ( #6845 )
...
Format the Slack message using the "mrkdwn" type, which will make
hyperlinks clickable.
New test for Slack destination.
Co-authored-by: github-actions <github-actions@github.com >
2024-04-03 01:31:55 +00:00
Eric Radman
a6074878bb
Use setup-python@v5, setup-node@v4 ( #6842 )
...
To avoid warnings in the CI pipeline
> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20
Co-authored-by: github-actions <github-actions@github.com >
2024-04-01 23:37:37 +00:00
github-actions
fb348c7116
Snapshot: 24.04.0-dev
2024-04-01 00:27:13 +00:00
Will Lachance
24419863ec
Handle decimal types in query results ( #6837 )
...
Since #6687 , we don't serialize query results as JSON
before returning them. This is fine, except for the
query results data source which needs to pass the
data directly to sqlite3, and doesn't know how to
do that with the decimal types that are occasionally
returned by (at least) the PostgreSQL query runner:
https://www.psycopg.org/docs/faq.html#problems-with-type-conversions
2024-03-29 17:51:14 +10:00
dependabot[bot]
c4d3d9c683
Bump express from 4.18.2 to 4.19.2 ( #6838 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 17:14:56 +10:00
dependabot[bot]
1672cd9280
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 ( #6829 )
...
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases )
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4 )
---
updated-dependencies:
- dependency-name: webpack-dev-middleware
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-24 10:20:14 +10:00
Eric Radman
6575a6499a
BigQuery: use default for useQueryAnnotation option ( #6824 )
...
This option may not be set after an upgrade
Co-authored-by: github-actions <github-actions@github.com >
2024-03-21 20:36:09 +00:00
dependabot[bot]
e360e4658e
Bump jwcrypto from 1.5.1 to 1.5.6 ( #6816 )
...
Bumps [jwcrypto](https://github.com/latchset/jwcrypto ) from 1.5.1 to 1.5.6.
- [Release notes](https://github.com/latchset/jwcrypto/releases )
- [Commits](https://github.com/latchset/jwcrypto/compare/v1.5.1...v1.5.6 )
---
updated-dependencies:
- dependency-name: jwcrypto
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 07:40:23 +10:00
dependabot[bot]
107933c363
Bump follow-redirects from 1.15.5 to 1.15.6 in /viz-lib ( #6813 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Lee <yankeeguyu@gmail.com >
2024-03-19 23:38:47 +10:00
Vladislav Denisov
667a696ca5
ClickHouse query runner: fixed error message ( #6764 )
...
* Snapshot: 23.11.0-dev
* Snapshot: 23.12.0-dev
* Snapshot: 24.01.0-dev
* Snapshot: 24.02.0-dev
* clickhouse: check for `exception` field in response
---------
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Vladislav Denisov <denisov@sports.ru >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
Co-authored-by: Peter Lee <yankeeguyu@gmail.com >
2024-03-18 02:15:49 +10:00
Robin Edwards
7d0d242072
schedule may not contain an until key ( #6771 )
2024-03-15 09:00:19 +10:00
Arun Govind M
d554136f70
fix: Uncaught rejection promise error in Edit Visualization Dialog Modal ( #6794 )
2024-03-07 10:01:51 +10:00
Stefan Negele
34723e2f3e
Add RisingWave support ( #6776 )
2024-03-05 17:29:47 +08:00
dependabot[bot]
11794b3fe3
Bump es5-ext from 0.10.53 to 0.10.63 in /viz-lib ( #6782 )
...
Bumps [es5-ext](https://github.com/medikoo/es5-ext ) from 0.10.53 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases )
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md )
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.53...v0.10.63 )
---
updated-dependencies:
- dependency-name: es5-ext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 04:46:01 +00:00
Eric Radman
3997916d77
Always push images to hub.docker.com/u/redash ( #6792 )
...
Using github.repository_owner name was convenient for testing this
action, but is not correct since account names do not match.
Git Hub: getredash/
Docker Hub: redash/
Co-authored-by: github-actions <github-actions@github.com >
2024-03-01 21:42:15 +00:00
dependabot[bot]
b09a2256dc
Bump es5-ext from 0.10.53 to 0.10.63 ( #6784 )
...
Bumps [es5-ext](https://github.com/medikoo/es5-ext ) from 0.10.53 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases )
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md )
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.53...v0.10.63 )
---
updated-dependencies:
- dependency-name: es5-ext
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-01 18:51:54 +00:00
Eric Radman
95a45bb4dc
Snapshot: 24.03.0-dev ( #6791 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-03-02 04:21:22 +10:00
Eric Radman
7cd03c797c
Publish preview Docker image when release candidate is tagged ( #6787 )
...
* Only respond to new tags ending with -dev
* Use github account name to allow easier testing in a fork
* Allow preview image to be referenced by a specific tag, or by latest tag
redash/preview:24.02.0-dev
redash/redash:preview
Co-authored-by: github-actions <github-actions@github.com >
2024-03-01 16:05:12 +00:00
Eric Radman
1200f9887a
Use SSH deployment key to bump version and tag release candiate ( #6789 )
...
To allow this workflow to run even though normal contributors
are required to create a pull request.
Steps:
1. Generate SSH key pair: ssh-keygen -t ed25519. No need for passphrases etc.
2. Add public key (.pub one) as a deploy key at Your repo -> Settings ->
Security -> Deploy keys, check "Allow write access".
3. Add private key as a secret at Your repo -> Settings -> Security -> Secrets
and variables -> Actions
https://stackoverflow.com/a/76135647/1809872
Co-authored-by: github-actions <github-actions@github.com >
2024-03-02 00:51:51 +10:00
Dirk van Donkelaar
81d22f1eb2
Add limit option for MSSQL query runner ( #6704 )
...
* Add limit option for MSSQL query runner
* Fixed linting errors
2024-02-27 06:16:54 +10:00
Eric Radman
2fe0326280
Allow WebPack configuration when building in Docker ( #6780 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-02-27 05:28:39 +10:00
Andrii Chubatiuk
094984f564
Node 18 ( #6752 )
...
* Snapshot: 24.02.0-dev
* node-18
---------
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-02-22 22:10:20 +00:00
dependabot[bot]
52cd6ff006
Bump axios from 0.27.2 to 0.28.0 in /viz-lib ( #6775 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.28.0/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v0.28.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 04:01:43 +10:00
Andrii Chubatiuk
939bec2114
Load custom encoder only when runner enabled ( #6748 )
...
* Snapshot: 24.02.0-dev
* load encoders only for enabled runners
* try importing within init
---------
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2024-02-09 21:49:59 -05:00
Andrii Chubatiuk
320fddfd52
Changed checkout commit ( #6749 )
...
* Snapshot: 24.02.0-dev
* changed checkout commit
---------
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-02-07 03:15:13 +10:00
Guido Petri
ab39283ae6
fix linting ( #6745 )
2024-02-05 19:47:25 -06:00
Eric Radman
6386905616
Revert example message for "Custom rule for hiding filter" ( #6709 )
...
Partialy reverts
Hide filter components on shared pages
https://github.com/getredash/redash/pull/6115
The "hide_filter" feature is incomplete, and the example text is
confusing, adds clutter to the share dashboard dialog.
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2024-02-05 20:38:17 -05:00
Andrii Chubatiuk
d986b976e5
fixed custom json encoders ( #6741 )
...
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-02-05 20:34:45 -05:00
Lucas Fernando Cardoso Nunes
a600921c0b
feat: avoid npm usage ( #6742 )
...
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com >
2024-02-05 20:31:26 -05:00
Lucas Fernando Cardoso Nunes
af2f4af8a2
refactor: use docker compose recommendations ( #5854 )
...
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com >
2024-02-04 07:22:40 -06:00
Eric Radman
49a5e74283
Snapshot: 24.02.0-dev ( #6740 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-02-03 01:03:46 +00:00
Andrii Chubatiuk
b98b5f2ba4
Switch to pull_request_target events to hide cypress secrets ( #6716 )
...
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-01-30 14:51:46 +10:00
Dirk van Donkelaar
d245ff7bb1
Fixed notification template ( #6721 )
...
* Fixed notification template
* Made if-clause equal to append
Like Slack and email notification
* Add custom_body attribute to discord test
* Add missing attribute
2024-01-29 22:15:42 -05:00
Andrii Chubatiuk
97db492531
Removed unused configuration class ( #6682 )
...
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-01-18 21:50:27 +10:00
Dirk van Donkelaar
30e7392933
Fix UnicodeEncodeError for non-Latin characters ( #6715 )
2024-01-18 08:15:11 +00:00
Andrii Chubatiuk
a54171f2c2
cast query_results data back to text ( #6713 )
...
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-01-18 11:13:47 +10:00
Robin Edwards
cd03da3260
Cast to JSONB type to match altered column type ( #6707 )
2024-01-16 02:23:35 +10:00
dependabot[bot]
4c47bef582
Bump jinja2 from 3.1.2 to 3.1.3 ( #6700 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2024-01-12 10:08:25 +10:00
Andrii Chubatiuk
ec1c4d07de
Removed pseudojson class, converted all options and other json columns to jsonb ones ( #6687 )
...
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-01-12 09:02:00 +10:00
Andrii Chubatiuk
4d5103978b
Removed simplejson ( #6685 )
...
* removed simplejson
* minor fix
* fixed lint
---------
Co-authored-by: Andrii Chubatiuk <wachy@Andriis-MBP-2.lan >
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-01-11 17:47:33 +10:00
dependabot[bot]
3c2c2786ed
Bump follow-redirects from 1.15.2 to 1.15.4 in /viz-lib ( #6699 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 21:15:45 +00:00
snickerjp
cd482e780a
Bump python-oracledb from 1.4.0 to 2.0.1 ( #6698 )
2024-01-10 20:44:18 +00:00
Eric Radman
4d81c3148d
Update query hash with parameters applied ( #6683 )
...
This allows queries with parameters to run on a schedule since the hash
used to update the query_result will match.
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2024-01-10 03:46:31 +00:00
Eric Radman
1b1b9bd98d
Import all Plotly visualizations ( #6673 )
...
- Accessible using the Custom chart type
- Disable 'fs' and 'path' modules which are available in node, but not
on the frontend.
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2024-01-07 20:19:58 +00:00
dependabot[bot]
473cf29c9f
Bump pycryptodome from 3.19.0 to 3.19.1 ( #6694 )
...
Bumps [pycryptodome](https://github.com/Legrandin/pycryptodome ) from 3.19.0 to 3.19.1.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases )
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst )
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.19.0...v3.19.1 )
---
updated-dependencies:
- dependency-name: pycryptodome
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-06 10:33:30 +10:00
Andrii Chubatiuk
cbde237b12
removed explicit object inheritance ( #6686 )
...
* removed explicit object inheritance
* minor fix
* pr comments
---------
Co-authored-by: Andrew Chubatiuk <andrew.chubatiuk@motional.com >
2024-01-05 19:52:02 +09:00
Eric Radman
998dc31eb0
Snapshot: 24.01.0-dev ( #6681 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-01-03 00:43:01 +10:00
dependabot[bot]
2505e8ab3b
Bump jwcrypto from 1.5.0 to 1.5.1 ( #6679 )
...
Bumps [jwcrypto](https://github.com/latchset/jwcrypto ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/latchset/jwcrypto/releases )
- [Commits](https://github.com/latchset/jwcrypto/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: jwcrypto
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-29 11:32:41 +09:00
fabrei
858fc4d78f
Adds influxdb v2 query runner as a default query runner. ( #6669 )
...
* Adds influxdb v2 query runner as a default query runner.
* Deletes TableList object for typing, because it is possible, that the import of influxdb client fails.
---------
Co-authored-by: Masayuki Takahashi <masayuki038@gmail.com >
2023-12-20 21:46:12 +09:00
dependabot[bot]
3e500ea18e
Bump paramiko from 3.3.1 to 3.4.0 ( #6670 )
...
Bumps [paramiko](https://github.com/paramiko/paramiko ) from 3.3.1 to 3.4.0.
- [Commits](https://github.com/paramiko/paramiko/compare/3.3.1...3.4.0 )
---
updated-dependencies:
- dependency-name: paramiko
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 19:21:40 +09:00
fabrei
58bf96c298
Adds ssl support for prometheus query runner. ( #6657 )
...
* Adds ssl support for prometheus query runner.
- Adds possibilty to upload and use of ssl cert, key and ca file in redash ui
* Extends test cases for prometheus query runner.
- Adds secret attribute to configuration schema.
* Fixes wrong timestamps in different timezones in prometheus' testcases.
- Dynamically calculates timestamps in testcases to be robust in
different timezones.
- Adds now datetime function to make it more testable.
* Fixes timestamp in prometheus' testcases which can be wrong depending on timezone.
---------
Co-authored-by: Masayuki Takahashi <masayuki038@gmail.com >
2023-12-17 21:58:16 +09:00
fabrei
66ef942572
Adds influxdb v2 query runner. ( #6646 )
...
* Adds influxdb v2 query runner.
- Adds test cases
- Adds influxdb v2 icon
- Updates python dependencies
* Fixes import order.
* Fixes code formatting for black tool.
* Adds influxdb version 2 support in readme.
---------
Co-authored-by: Fabian Reiber <reiber@dfn-cert.de >
Co-authored-by: Masayuki Takahashi <masayuki038@gmail.com >
2023-12-12 23:01:50 +09:00
Masayuki Takahashi
9bbdb4b765
Show an error message on "Test Connection" failure for Google Spreadsheet Query Runner ( #6652 )
2023-12-10 00:42:46 +09:00
Eric Radman
2b4b1cf7e3
Snapshot: 23.12.0-dev ( #6638 )
...
Co-authored-by: github-actions <github-actions@github.com >
2023-12-06 09:51:57 +00:00
dependabot[bot]
9b29f26217
Bump cryptography from 41.0.4 to 41.0.6 ( #6630 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.4 to 41.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.4...41.0.6 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 00:39:58 +00:00
Eric Radman
392b930f2d
Revert "Switch from numeral to numbro ( #6344 )" ( #6595 )
...
This reverts commit f8934b8312 .
Using a format string of '0' does not round to the nearest integer in Numbro
https://github.com/BenjaminVanRyseghem/numbro/issues/745
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-11-25 14:36:08 +00:00
anushae6
9df6f80bb7
update readme to add e6data ( #6620 )
2023-11-24 05:11:37 -06:00
dependabot[bot]
f7b47c0436
Bump werkzeug from 2.3.6 to 2.3.8 ( #6616 )
...
Bumps [werkzeug](https://github.com/pallets/werkzeug ) from 2.3.6 to 2.3.8.
- [Release notes](https://github.com/pallets/werkzeug/releases )
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/werkzeug/compare/2.3.6...2.3.8 )
---
updated-dependencies:
- dependency-name: werkzeug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 21:39:39 -05:00
anushae6
09addaadc3
add e6data query runner with test cases ( #6604 )
...
* add e6data query runner with test cases
* added more test cases
2023-11-22 20:59:21 -05:00
Vladislav Denisov
a07b8a6bd3
Yandex.Disk Query runner ( #6598 )
...
* Snapshot: 23.11.0-dev
* dataframe_to_result function moved outside python query runner
* added yandex disk query runner
* moved file_extension check
* skip unsupported extensions in schema
* removed unused variable
* added support for xlsx with multiple sheets
* moved pandas-converters to utils file
* added tests
* fixed backend tests
* fixed pandas to redash type conversion
* added more tests
* added tests for pandas
* added tests for pandas converter and yandex disk
* added tests for read_file and multiple sheets
* pandas: do not load if lib is not installed
* added test for yaml read
* fixed test for yaml read
---------
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-11-21 21:16:29 -05:00
Genki Sugawara
8bfc57430d
chore: Fix ci.yml typo: ghq -> gha ( #6601 )
2023-11-15 21:57:50 +09:00
Luka Lovosevic
a8c6dd0043
Update rockset.py - replace default API server URL ( #6592 )
...
Replaced default API server URL with new URL in USW2 region
2023-11-14 01:01:52 +09:00
Peter Lee
2d879510e4
add fork dashboard function ( #6588 )
...
* add fork dashboard function
* add test
* fix
---------
Co-authored-by: guyu <guyu@fordeal.com >
2023-11-11 20:56:47 +00:00
Luka Lovosevic
13e61fc3a0
Update rockset.py with support for multi-VI ( #6584 )
...
* Update rockset.py with support for multi-VI
Rockset introduced compute-compute separation which allows multiple Virtual Instances (VIs) to query data independently. This a commit introduces support for executing queries on specific VIs from Redash.
Changes include:
- added new configuration element (not required): Virtual Instance ID
- if this VI ID is configured, Redash will use that specific VI to execute the query
- if it's not specified, Redash will execute the query on the main/default VI (same behaviour as before)
* Update rockset.py
Removed comment from the query method to pass lint test
* Update rockset.py - for linting
Added more formatting to pass the black lint test
* Update rockset.py - linting update
* Update rockset.py - updated lint
2023-11-10 22:38:47 +09:00
Masayuki Takahashi
de1958e995
Bump snowflake-connector-python 3.4.0 for fixing 'Error detecting the version of libcrypto' ( #6581 )
...
* Bump snowflake-connector-python 3.4.0 for fixing 'Error detecting the
version of libcrypto'
* Update poetry.lock and remove .python-version
2023-11-07 20:09:52 -05:00
Masayuki Takahashi
198b422eaf
Display catalog information on the schema pane when connecting to Trino ( #6578 )
2023-11-06 20:58:12 -05:00
Eric Radman
63cef6632e
Snapshot: 23.11.0-dev ( #6571 )
2023-11-01 10:38:23 -04:00
myonlylonely
2611dcc0f1
Bump protobuf from 3.18.3 to 3.20.2 ( #6568 )
2023-10-31 15:52:41 +00:00
Dominik Sigmund
55193fbf66
Changed asc_url to entity_id ( #6202 )
...
Respect the User Setting instead of a hardcoded value
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-31 11:23:00 +00:00
Eric Radman
8b8dd4f68c
Revert "Render counter widgets using relative font size" ( #6566 )
2023-10-31 10:27:09 +10:00
Guido Petri
ae77e72821
fix falsey comparison to determine whether a dashboard is archived. closes #6560 ( #6561 )
2023-10-30 01:06:04 +10:00
Guido Petri
39e4ea155c
Support multi column results with using mongo query runner ( #6558 )
...
* Support multi column results with using mongo query runner
* format
Signed-off-by: del-zhenwu <lizhenxiang@pjlab.org.cn >
* Update test_mongodb.py
update unit test case: nested dict for mongodb runner
* Update test_mongodb.py
* fix formatting
---------
Signed-off-by: del-zhenwu <lizhenxiang@pjlab.org.cn >
Co-authored-by: del-zhenwu <dele.zhenwu@gmail.com >
Co-authored-by: del-zhenwu <lizhenxiang@pjlab.org.cn >
2023-10-28 21:13:17 -04:00
dependabot[bot]
a5b01bf8ee
Bump browserify-sign from 4.0.4 to 4.2.2 ( #6557 )
...
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign ) from 4.0.4 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md )
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.0.4...v4.2.2 )
---
updated-dependencies:
- dependency-name: browserify-sign
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 19:20:36 -04:00
Justin Clift
5516b427d8
Remove pygridgain so Trino data source shows up ( #6546 )
...
This also updates the python tzlocal dependency to the 4.x series,
as seems to be required for Trino to work.
2023-10-23 18:34:55 -04:00
deecay
de84c40868
Better Heatmap annotation color ( #6543 )
2023-10-23 03:25:27 +00:00
Kieran Molloy
39766a2d97
Reset redis pipeline at end of enqueue_query ( #6540 )
2023-10-20 22:12:55 -05:00
Eric Radman
593b6ae6ed
Specify counter widgets font size in pt ( #6537 )
...
- prevent scrollbars from appearing
- start with a base font size of 12pt for more even scaling
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-19 02:35:58 +00:00
Adriano Pereira Junior
8bb1767c69
Add new conn options in MySQL ( #6538 )
2023-10-19 01:11:11 +00:00
Ken Michalak
7b03e60f9d
add pagination and base_url to JSON query_runner ( #6499 )
2023-10-18 08:08:37 -05:00
dependabot[bot]
ac9f24a781
Bump urllib3 from 1.26.17 to 1.26.18 ( #6534 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 20:15:04 -05:00
Justin Clift
54c4a4249a
Revert arm64 docker image building in CI (for now) ( #6532 )
...
This PR reverts PRs #6525 and #6531 , due to problems building
the arm64 images with GitHub Actions
2023-10-17 20:21:30 -04:00
dependabot[bot]
36dd3e9609
Bump @babel/traverse from 7.22.8 to 7.23.2 ( #6530 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-17 14:35:35 +00:00
Genki Sugawara
69d1e03e60
Update yarn network-timeout: 30s(default) -> 600s ( #6531 )
2023-10-17 11:46:37 +00:00
dependabot[bot]
a2c0c488eb
Bump @babel/traverse from 7.22.8 to 7.23.2 in /viz-lib ( #6529 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 03:45:29 +00:00
fukatani
ddbe0f6ce5
Display bigquery subfield of record as schema. ( #6522 )
...
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-16 23:04:41 -04:00
Vladislav Denisov
42108089ed
Metrica: retry query if quota exceeded ( #6459 )
...
* metrica: added retries
* updated poetry.lock
* use poetry v1.6.1
* added simple test
* convert unittest to pytest
* add 429 test
* fix 429 status code response?
---------
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-16 21:53:21 -05:00
Genki Sugawara
d4ade51fba
Add linux/arm64 to docker image platforms ( #6525 )
...
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-16 12:58:19 +00:00
Genki Sugawara
84d1693419
Update Debian image in Dockerfile ( #6524 )
2023-10-16 08:51:38 +00:00
Genki Sugawara
12f1050000
chore: Remove "Datree" badge from README ( #6526 )
2023-10-16 17:38:14 +10:00
Eric Radman
6b981972f0
Allow Query.options to be None ( #6519 )
...
* Allow Query.options to be None
Query.options may not have a value on a database created by 10.1.0
* Ensure counter widget is not compressed in query preview tabs
Also bump minimum counter font size to 14
2023-10-16 11:07:30 +10:00
Leandro Lomónaco
eafe30d52c
Bigger textarea for query description ( #6518 )
2023-10-13 15:00:48 +10:00
Ben Best
abbd4d3146
Create sqlalchemy_searchable expressions ( #6491 )
...
The required sql expressions for sqlalchemy_searchable are only created
on the sqlalchemy pre_create hook. When upgrading from a previous redash
version no CREATE statements may be run, so these expressions are never
created.
Add a migration to manually execute the sql_expressions DDL from
sqlalchemy_searchable.
2023-10-12 17:43:20 +00:00
Eric Radman
1d350853bd
Commit version update and tag together ( #6513 )
...
Also update to checkout v4
2023-10-09 14:37:16 -04:00
Eric Radman
3edf7790fc
Snapshot: 23.10.0-dev ( #6512 )
2023-10-09 09:55:48 -04:00
Masayuki Takahashi
011f9ef311
Add column type to a query result of InfluxDB ( #6505 )
...
* Add column type to a query result of InfluxDB
* Remove an unused import
* Migrate to pytest
* Rename test names to descriptive
---------
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-10-08 14:39:51 +00:00
Guido Petri
138339a8a4
convert docker-compose to docker compose ( #6504 )
2023-10-08 12:06:48 +10:00
Guido Petri
0f175b7a5b
build and push image only on master branch ( #6507 )
2023-10-08 10:55:15 +10:00
Guido Petri
0c2dc4e025
fix dockerhub image building ( #6503 )
2023-10-07 02:22:55 +00:00
Vladislav Denisov
a19b17b844
Fixed embedded queries ( #6497 )
...
* refactored users models
* added tests
2023-10-04 15:12:17 +10:00
dependabot[bot]
09ec299e65
Bump urllib3 from 1.26.16 to 1.26.17 ( #6495 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.16 to 1.26.17.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.16...1.26.17 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 17:24:11 +10:00
dependabot[bot]
9461bf6479
Bump debug from 3.2.6 to 3.2.7 in /viz-lib ( #6493 )
...
Bumps [debug](https://github.com/debug-js/debug ) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/debug-js/debug/releases )
- [Commits](https://github.com/debug-js/debug/compare/3.2.6...3.2.7 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 03:08:58 +00:00
dependabot[bot]
1ae4e20d70
Bump debug from 3.2.6 to 3.2.7 ( #6494 )
...
Bumps [debug](https://github.com/debug-js/debug ) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/debug-js/debug/releases )
- [Commits](https://github.com/debug-js/debug/compare/3.2.6...3.2.7 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 02:05:37 +00:00
Eric Radman
3d32c55531
Avoid updating query result for archived queries ( #6488 )
2023-09-29 13:46:02 +10:00
Genki Sugawara
4a36abc628
Add Datadog alert destination ( #6476 )
...
* Add Datadog alert destination
* Fix Datadog Event API response code: 200 -> 202
* Add datadog alert dest test
* Sort test_destinations.py imports
* Fix test_datadog_notify_calls_requests_post
* Fix datadog alert dest: Add aggregation_key
2023-09-27 20:22:00 -04:00
George Spake
3ebf163c29
Update gevent to 23.9.1 to address CVE ( #6487 )
...
update greenlet to 2.0.2 -
Because redash depends on gevent (23.9.1) which depends on greenlet (>=2.0.0), greenlet is required.
So, because redash depends on greenlet (1.1.3), version solving failed.
2023-09-27 18:56:24 +00:00
dependabot[bot]
c3c54f6ca2
Bump cryptography from 41.0.3 to 41.0.4 ( #6474 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 08:50:49 +10:00
Justin Clift
b13772c464
Update poetry.lock after PR 6469 ( #6473 )
...
Without this, poetry is complaining about a mismatch
2023-09-22 01:57:12 +10:00
Vladislav Denisov
74b0f8bb58
bump gpsread == 5.11.2 ( #6469 )
2023-09-20 19:42:40 -05:00
Justin Clift
953ed8431b
Revert PR 6448 (SQLAlchemy-Utils update) for now ( #6466 )
2023-09-20 20:51:38 +10:00
Vladislav Denisov
0ca72d27e6
bump ldap3 = 2.9.1 ( #6463 )
2023-09-20 15:29:17 +10:00
Justin Clift
650ec90df3
Add kerberos development headers to Redash image ( #6454 )
...
Without these headers, compiling pymssql on arm64 fails:
gcc -pthread -shared build/temp.linux-aarch64-cpython-38/src/pymssql/_mssql.o -L/usr/local/lib -lsybdb -lgssapi_krb5 -lkrb5 -lssl -lcrypto -o build/lib.linux-aarch64-cpython-38/pymssql/_mssql.cpython-38-aarch64-linux-gnu.so
/usr/bin/ld: cannot find -lgssapi_krb5
/usr/bin/ld: cannot find -lkrb5
collect2: error: ld returned 1 exit status
2023-09-14 21:54:13 +10:00
Eric Radman
b84587931f
Add ruff to Python dev dependencies ( #6450 )
2023-09-13 08:47:45 +10:00
Eric Radman
ff85a36f50
Avoid file locking issue when running CLI test ( #6449 )
...
__file__ will resolve to tests/test_cli.py, which is already opened by Python.
When tests are run on a network file system the test runner may deadlock while
waiting for an advisory lock to be released on this file.
2023-09-12 18:44:24 -04:00
Eric Radman
6d91c64dae
Update SQLAlchemy-Utils to 0.36.5 ( #6448 )
...
This makes the Python unit tests compatible with Python 3.10
2023-09-12 13:32:58 +00:00
Eric Radman
ca36130e76
Update package.lock for updated python versions ( #6446 )
...
Output of `poetry update requires-python`
2023-09-12 02:53:00 +00:00
Guido Petri
0993f68fa0
Poetry conversion followup ( #6440 )
...
* change author and add maintainers
* remove bin/upgrade
* update project author/maintainers
* comment on how to get added/removed from the mailing list
2023-09-11 22:25:54 -04:00
Daniel Stevenson
f109af9f30
Check all Trino catalogs if no catalog configured ( #5860 )
...
* Check all Trino catalogs if no catalog configured
- If catalog is not set, query 'SHOW CATALOGS' to get catalogs
- For each catalog, discover schema, table, columns
- If catalog has a `.`, then quote the catalog name
- New table name returned includes catalog name
- If catalog is set, same result as before
* Use self._handle_run_query_error(error)
* Fix lint problem & format w/ black
* Fix condition so catalog_prefixes are [""] when catalog is set
* Fix for loop / Remove default values for catalog & schema
* Add untested tests for Trino's get_schema
* Black formatting
* Add test_get_schema_catalog_set test & fix tests
* Parameterize the side_effect fn thoroughly
* Get catalogs (not catalog_prefixes) bc confusing
* Trino._get_catalogs added for testability
2023-09-11 21:16:07 -04:00
Eric Radman
b4e4a5a928
Accept Python 3.8-3.10 ( #6445 )
...
For running a development environment on Ubuntu 22
2023-09-11 15:26:31 -04:00
Will Lachance
ca900769c2
Replace flake8/isort with ruff ( #6441 )
...
There's a few advantages of using ruff over these tools:
* It's way faster
* It's easier to configure
* It includes support for a bunch of other linters (for example bugbear)
right out of the box, which catches some things and makes our code
more consistent.
Ruff works great with black, which I'd recommend we continue using.
Fixed a few minor issues that the new linter combo picked up.
2023-09-11 06:41:08 -04:00
Guido Petri
c97afeb327
Convert project to poetry ( #6423 )
...
* poetry init
* add all dependencies
* update pyproject.toml
* add poetry.lock
* remove requirements txt fixer
* add ldap3 group and make all groups optional
* remove requirements files
* convert dockerfile to use poetry instead of pip
* fix ldap 3 dependency group typo
* update ldap3 inline error
* update cypress to install only main poetry group
* convert test_all_deps
* update redis/rq
* don't create virtualenv
* add -dev suffix and make version snapshot work
* fix typo in snapshot commit message
* remove importlib-resources
2023-09-08 23:57:26 +00:00
Leandro Lomónaco
b1f738fc96
Excel and CSV Query Runner fix ( #6439 )
2023-09-08 18:07:06 -04:00
Eric Radman
6f6d203ca9
Remove importlib-resources from requirements ( #6431 )
...
This is not required for Python >= 3.8 since the goal of this project is
to back port functionality. Also the version specified is not
compatible with later versions of Python.
https://pypi.org/project/importlib-resources/
2023-09-07 13:28:30 -04:00
Tomoki Sekiyama
36482f6717
Move from oauth2client to google-auth / support ADC ( #6422 )
...
oauth2client was deprecated in 2017 and is no longer maintained.
This rewrites the service credentials code and replaces it with google-auth.
It also makes the JSON key file optional for the data source and use the
application's default credentials (ADC) if the JSON key file is omitted.
This enables support for a variety of GCP authentication methods, including
the gcloud CLI, GCE metadata servers, and GKE or AWS Workload Identity.
Note that the bigquery_gce functionality is covered by ADC, but is retained
for compatibility reasons.
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-09-07 23:50:18 +10:00
Eric Radman
3fee9f6cef
Update pymssql and rapidjson ( #6428 )
...
Updates to these libraries are required for local development setup on Ubuntu 22 (python 3.10)
2023-09-06 18:58:06 -04:00
Vlad Gramuzov
cb4af6dd57
Add Tinybird query runner ( #5616 )
...
"
Co-authored-by: Thomas Rausch <thomas@thrau.at >
2023-09-06 12:59:08 +00:00
Avey777
7f42bf1b65
Add feature: Hide filter components on shared pages ( #6115 )
...
* Hide-filter-components-on-shared-pages
* Restyled by prettier
* Fix typo
---------
Co-authored-by: Jengro Woo <Jengro777@outlook.com >
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-09-06 22:51:48 +10:00
Justin Clift
41495ba940
Update rq related dependencies, to hopefully alleviate issue 6424 ( #6426 )
2023-09-06 18:37:49 +10:00
Wataru Kurashima
9b18e1805c
ci: use docker/build-push-action ( #6425 )
2023-09-06 17:52:38 +10:00
Anirudh Bagri
c2e7df098d
Add webex as destination ( #5574 )
...
* Add webex as destination
* import from destinations explicitly
* make format
* remove unattributed image
* make webex bot token required
* don't use magic string
* add metadata kwarg
* simplify link creation
* simplify alert description
* simplify alert subject
* split attachments template into method
* DRY message posting
* use api endpoint method
* add missing param to post_message
* static method
* static method attachments template
* log exception if send fails
* simplify destination handling
* transparent image / right size webex logo
* remove unused organization param
* rename api endpoint and make it a property
* add test
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-09-05 00:26:21 +00:00
Omer Lachish
f1d5ac0d58
Convert unexpected parameter validation errors to InvalidParameterError ( #4084 )
...
* convert unexpected validation errors to InvalidParameterError
* get rid of local except blocks - any failure to validate is caught in _valid()
* avoid bare exception
* don't assign exception if we're not going to use it
* preferentially raise querydetachedfromdatasource error if it is present
---------
Co-authored-by: Omer Lachish <omer@rauchy.net >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-09-04 21:08:41 +00:00
Justin Clift
710dd8c51b
Generate docker hub preview image ( #6420 )
...
This needs the appropriate Docker Hub login credentials set in our GitHub settings before it will work properly.
* DOCKER_USER environment variable
* DOCKER_PASS secret
2023-09-04 04:30:24 +10:00
Justin Clift
2a2c90a014
Add pkg-config to the Docker image ( #6419 )
...
Without pkg-config the MySQL client install doesn't always work
2023-09-03 07:10:54 +00:00
Eric Radman
ab71bded7d
Automatically tag release candidates ( #6416 )
...
Format similar to Ubuntu: YY.MM.N
Discussion:
https://github.com/getredash/redash/discussions/6411
1. Updates version in:
package.json
redash/__init__.py
2. Sets version tag
2023-09-02 01:10:41 +00:00
kaiba
7b722a1067
Fix typo from ElasticSearch to Elasticsearch ( #6349 )
2023-09-01 22:11:47 +10:00
Justin Clift
c70d397c72
Fix Cypress not running in forked repos ( #6413 )
2023-09-01 21:31:56 +10:00
Tsuneo Yoshioka
abe70ab3ca
Use multi_byte_search_enabled option for My Queries search and Favorite List search ( #5761 )
...
* Use multi_byte_search_enabled option for My Queries search and Favorite List search
* make format
* add search by user tests
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-08-31 21:43:18 -05:00
Omer Lachish
fcbe726eb2
Expire schemas after 7 days ( #5112 )
...
* expire schemas after 7 days
* expire schemas 7 days after the last refresh_schemas scheduled time
* format files
* add expire schema test
* patch schema away
* return nothing on schema get
* fix redis key name
* finally run tests locally and fix tests
---------
Co-authored-by: Omer Lachish <omer@rauchy.net >
Co-authored-by: Justin Clift <justin@postgresql.org >
Co-authored-by: konnectr <1konnectrl@gmail.com >
Co-authored-by: Konstantin Smirnov <46676677+konnectr@users.noreply.github.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-09-01 01:20:45 +00:00
ufedor
528807f336
Add 'click' functionality for Chart visualization ( #5662 )
...
Co-authored-by: Jesse <jwhitehouse@airpost.net >
Co-authored-by: Justin Clift <justin@postgresql.org >
Reviewed-by: Eric Radman <eradman@starfishstorage.com >
2023-08-31 12:42:13 -04:00
yutopp
28db934698
Google Spreadsheet Data Source: support to find a worksheet by title ( #5334 )
...
* Support to find a worksheet by the title for google_spreadsheets
* Add tests for parse_query
* Fix types
* Add tests when finding a worksheet by a title is failed
* Proxy by a wrapper instead of using spreadsheet directly. Do not use gspread in tests
* Add tests. Fix format of quoted strings for titles
* Fix an error format
* Add a newline
* Fix formatting
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-31 16:28:12 +10:00
Eric Chang
182d84226b
New alert destination: Asana ( #5753 )
...
* Add Asana alert destination
* change icon
* fix format
* add except in log
* fix flake8
* add metadata kwarg to notify
* update asana image
* make pat and project id required
* rename asana destination icon
* reuse Alert
* extract api base url to property method
* use required options
* add asana destination test
* make format
* define metadata
* fix test
* remove json.dumps from asana test
---------
Co-authored-by: Konstantin Smirnov <46676677+konnectr@users.noreply.github.com >
Co-authored-by: konnectr <1konnectrl@gmail.com >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-08-31 04:12:21 +00:00
Michael Parque
5b110b61f0
[client] Fix local dev QueryEditor crash when using a data source with "custom" syntax ( #5271 )
...
* [client] add friendly console log on '<' syntax error
Issue: when a javascript file is served with invalid contents, sometimes
it means that a fallback html file was returned from server instead.
This can be hard to determine because the stack trace is not helpful and
the `filename` information was previously lost from the global error
handler.
Added a specific error for this case to produce a friendlier error
message on the console.
* Add ace define override for custom mode
* Apply prettier changes
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-30 21:22:49 -04:00
David
d8b10a0f16
Update snowflake application name ( #6403 )
...
* SGA-9999 update header
* SGA-9999 update header
2023-08-30 20:34:06 -04:00
dependabot[bot]
972a49bb9d
Bump restrictedpython from 6.1 to 6.2 ( #6407 )
...
Bumps [restrictedpython](https://github.com/zopefoundation/RestrictedPython ) from 6.1 to 6.2.
- [Changelog](https://github.com/zopefoundation/RestrictedPython/blob/6.2/CHANGES.rst )
- [Commits](https://github.com/zopefoundation/RestrictedPython/compare/6.1...6.2 )
---
updated-dependencies:
- dependency-name: restrictedpython
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 19:26:02 -04:00
Peter Dave Hello
45e791b675
Sync nodejs version in .nvmrc with Dockerfile & .github/workflows/ci.yml ( #6401 )
...
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-29 01:05:10 +00:00
Justin Clift
b73d68f056
Use a fixed older version of databend, due to problem with 0.4.7 ( #6402 )
2023-08-29 00:18:03 +00:00
ehearty
0258dca82a
Enable manipulating parameterized queries with Query Results query runner ( #5723 )
...
* feat: pass query parameters to query results queries
* prefixing parameterized queries with param_query_<query_id>
* added tests
* Fix formatting, and also fix accidental paste.
---------
Co-authored-by: Elena Hearty <ehearty@whyhotel.com >
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-24 20:47:27 -04:00
Omer Lachish
2d6f5b091c
Base duplicate index on column names ( #4600 )
...
* increase duplicate column names based on the original column name and not the number of duplicates detected
* add fetch columns test for base query runner
---------
Co-authored-by: Omer Lachish <omer@rauchy.net >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-08-24 04:18:05 +00:00
Omer Lachish
1ef63fc3f4
Cleaner pytest results ( #4711 )
...
* silence deprecataion warnings
* add some sugar
* filter warnings to only display once
* remove pytest-sugar
---------
Co-authored-by: Omer Lachish <omer@rauchy.net >
Co-authored-by: Justin Clift <justin@postgresql.org >
Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com >
2023-08-23 23:38:25 -04:00
snickerjp
fdd1d29693
Add redash.query_runner.oracle to default_query_runners ( #6389 )
2023-08-24 13:21:58 +10:00
Ivan Torgashov
e18cd8f248
Passing Request metadata to Alert destinations ( #5230 )
2023-08-23 23:08:52 -04:00
iwakiriK
5eeeb5c62e
Fix: Cannot refresh if a query name contain control characters. ( #5602 )
2023-08-23 20:12:22 +00:00
Vladislav Denisov
1af49e9ddb
added requirements-txt-fixer to pre-commit ( #6388 )
2023-08-24 05:24:44 +10:00
snickerjp
7eae598546
Replace cx_Oracle with python-oracledb ( #6386 )
2023-08-23 10:41:48 +00:00
mari
0ad43de229
Fix #4402 . Removed token from the required list. ( #5354 )
...
* Fix issue #4402 . Removed token from the required list.
* Update redash/query_runner/salesforce.py
Co-authored-by: Jay Chung <zhongjiajie955@gmail.com >
* Update redash/query_runner/salesforce.py
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
Co-authored-by: Jay Chung <zhongjiajie955@gmail.com >
2023-08-23 14:24:48 +10:00
htamakos
63140260eb
Add useQueryAnnotation option to BigQuery Runner ( #5675 )
...
* Add useQueryAnnotation option to BigQuery Runner
* Fix formatting
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-22 21:43:07 -04:00
Vladislav Denisov
caf8097c9d
fixed module 'numpy' has no attribute 'bool' ( #6371 )
2023-08-22 20:58:27 -04:00
pong
4107265feb
Sometimes self._profile_image_url is empty string ( #5308 )
2023-08-23 07:54:10 +10:00
Nobuaki Mochizuki
5d8364437a
Fix an issue when using Impala's reserved keywords ( #5198 )
2023-08-23 07:42:58 +10:00
Justin Clift
fcf847eaaf
Fix: query result datetime column type check ( #5369 ) ( #6385 )
...
Co-authored-by: kazuki.morozumi <kazuki.m777@gmail.com >
Co-authored-by: kawamataryo <ba068082@gmail.com >
Co-authored-by: Masukawa Takeshi <takeshi.masukawa@lapras.com >
2023-08-22 21:18:19 +00:00
Stephen Darlington
9751678c44
Add Apache ignite Query Runner ( #5767 )
2023-08-23 03:47:10 +10:00
Peter Chen
f49075bada
add ssl_config to redshift iam class ( #5465 )
...
Co-authored-by: peterxichen <peterxichen@aol.com >
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-21 13:37:59 +10:00
Jesse
772680bbd2
New cypress test: sorting dashboard list does not crash page. ( #5702 )
...
* New cypress test: sorting dashboard list does not crash page.
* Restyled by prettier (#5703 )
Co-authored-by: Restyled.io <commits@restyled.io >
---------
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2023-08-20 21:03:47 -05:00
snickerjp
0586b43b75
Add offset for query_runner/oracle.py Error Message. ( #6373 )
2023-08-20 05:16:35 +10:00
Eric Radman
0f88a23835
Allow the X and Y tick format to be customized using a D3 format string ( #6370 )
...
Numbers: https://d3-wiki.readthedocs.io/zh_CN/master/Formatting/
Date/Time: https://d3-wiki.readthedocs.io/zh_CN/master/Time-Formatting/
2023-08-16 12:09:33 -04:00
Evgeny
4a5c9c2630
Scheduled queries should include origin Username ( #6368 )
2023-08-16 13:20:19 +10:00
Eric Radman
f8934b8312
Switch from numeral to numbro ( #6344 )
...
numeraljs is no longer maintained, and incorrectly parses high-precision
floats (such as 1.2e-7) as NaN.
2023-08-15 07:59:18 -04:00
Harry C
d333660473
Fix python query runner crashing the GUI due to missing 'rows' and/or… ( #5749 )
...
* Fix python query runner crashing the GUI due to missing 'rows' and/or 'columns' in the JSON returned data.
* Fix typo of previous commit.
* Throw exception when python query runner has invalid result.
* Update test_python.py
---------
Co-authored-by: YuhengChen <yuheng.chen@imaygou.com >
2023-08-07 21:03:12 +05:00
Manik Somayaji
f4a930ddeb
Fix: Query results in public dashboard not loading when query ends with semicolon ( #6351 )
...
* Fix: Query results in public dashboard not loading when query ends with semicolon
* fix flake8 error for commit 7a50b18d3
---------
Co-authored-by: Alexander Strickner <alexander.strickner@outlook.com >
2023-08-07 04:45:21 +10:00
Konstantin Smirnov
113146e4b8
Add data type info into schemas of Trino tables ( #6348 )
...
The current get_schema method of Trino query runner is missing table columns' data types information, so these data types won't be seen in Queries editing GUI. After the modification, these info are back.
Co-authored-by: V <4979571+vnnw@users.noreply.github.com >
2023-08-05 16:07:43 +05:00
Justin Clift
126fe9310f
Have make create_database create .env if its missing ( #6345 )
2023-08-03 16:35:03 +00:00
Konstantin Smirnov
0d1ce4d98c
Incomplete URL substring sanitization ( #6342 )
...
* Incomplete URL substring sanitization
* fix hostname
* Only match on the exact host name
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-02 21:31:18 +00:00
Justin Clift
acf77f85ff
Fix the broken icon loading ( #6340 )
2023-08-02 15:56:51 +00:00
Justin Clift
71bf65b496
Have make compose_build create .env if its missing ( #6339 )
2023-08-02 20:42:58 +10:00
dependabot[bot]
204e5c1fb9
Bump cryptography from 41.0.2 to 41.0.3 ( #6338 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.2 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.2...41.0.3 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 14:19:27 +10:00
Justin Clift
37fa1ec057
Update make env to not run multiple times ( #6336 )
2023-08-01 22:05:43 +10:00
snickerjp
f4ee891d68
Do not makedsn for query_runner/oracle.py ( #6332 )
...
* Do not makedsn. instead self.configuration["servicename"]
in host == "_donotmakedsn"
* add comment
* mod properties in `host`
* mod properties in `host`
* mod word. in host == "_donotmakedsn" to "_useservicename"
* mod properties in `host`
* fix format
2023-08-01 22:04:45 +10:00
Konstantin Smirnov
196bfece30
Fix warning test query ( #6335 )
...
* replace assertDictContainsSubset -> asserLessEqual
* refactor definition set
2023-08-01 18:57:22 +08:00
Peter Lee
1726aef0fc
add pg types map ( #6333 )
...
* add pg types map
* Update pg.py
2023-08-01 10:49:34 +00:00
Konstantin Smirnov
afc6d878c2
replace hmset -> hset ( #6331 )
2023-08-01 08:57:09 +00:00
dependabot[bot]
9a7d2cdc02
Bump cryptography from 40.0.2 to 41.0.2 ( #6188 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 40.0.2 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/40.0.2...41.0.2 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-08-01 01:37:26 +00:00
Justin Clift
2b8aa5cb32
Bump snowflake-connector-python to 3.1.0 ( #6330 )
2023-08-01 00:47:58 +00:00
Justin Clift
39477c73ad
Webpack-dev-server seems to require the dev-middleware config ( #6329 )
2023-08-01 07:12:33 +10:00
Jay Chung
353ea868ff
Unused qr should respect env setting ( #5337 )
...
* Monitor unused qr respect env setting
* style
2023-07-31 20:16:34 +05:00
Justin Clift
7dfacfc531
Update package.json so yarn watch works again ( #6328 )
...
For some unknown reason the `--colors` and `-d` options are no longer recognised by webpack (v4) in our configuration.
This is likely due to some other non-obvious problem in our configuration, as those options should exist (they're documented).
For now though, this gets things working again.
2023-07-31 13:47:05 +00:00
Justin Clift
ad39059558
Fix webpack error in viz-lib ( #6324 )
...
The config file format for webpack has changed slightly, so webpack was throwing this error:
Invalid options object. Less Loader has been initialized using an
options object that does not match the API schema.
This commit updates the config file format so webpack works again.
2023-07-31 21:12:37 +10:00
Jay Chung
a9a348cd64
Use set in fetch_columns for efficient ( #5336 )
...
Change list to set
2023-07-31 18:24:49 +10:00
Justin Clift
4155507695
Use exclude list with flake8 pre-commit check ( #6322 )
2023-07-31 02:33:00 +00:00
Konstantin Smirnov
f6ba9501da
fix flake8 ( #6321 )
2023-07-30 17:58:15 +00:00
Justin Clift
ae29eb3dfb
Bump react-test-renderer to 16.14.0 ( #6316 )
2023-07-29 12:27:29 +00:00
mattdjones
ea3d825a78
Commit the transaction for MS SQL inserts & Updates ( #2538 )
...
As discussed here https://discuss.redash.io/t/insert-or-update-query-does-not-apply-in-sql-server/1233
We have made the change to our local installation, it would be great if we can have this included.
@arikfr
2023-07-29 19:33:09 +10:00
Eric Radman
0d699328b8
Allow RSA key used for JWT to be specified as a file path ( #6271 )
...
- auth_jwt_auth_public_certs_url may file:// in addition to http/https
- Log an error if payload does not contain an email address
2023-07-29 19:20:18 +10:00
Bryan Yang
8f71e14887
Fixed python query runner and add unittest for python query runner ( #4731 )
...
* add test for python runner
* fixed CustomPrint
* remove print
* Reformatted to pass our backend lint tests
Reformatted using:
$ make format
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-28 20:40:16 -05:00
Justin Clift
5561b5fc55
Fix the peer dep warning about leaflet in viz-lib ( #6315 )
2023-07-29 06:52:41 +10:00
Justin Clift
ea4ee7ce9b
Remove request from the declared dependencies ( #6313 )
2023-07-28 05:54:35 +00:00
Justin Clift
b43cb1797e
Bump Cypress to 11.2.0 ( #6312 )
2023-07-28 04:24:28 +00:00
Justin Clift
875973bfcd
Bump Cypress to 10.11.0 ( #6311 )
2023-07-28 12:56:03 +10:00
Shunsuke Ohashi
1b064da901
return project id as str, not bytes ( #6303 )
2023-07-27 20:29:22 -05:00
Justin Clift
55690db1d8
Bump Cypress to 9.7.0 ( #6309 )
...
* Bump Cypress to 9.7.0
* Initial fixes for Cypress 9.7.0
* Restyled by prettier (#6310 )
Co-authored-by: Restyled.io <commits@restyled.io >
---------
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2023-07-27 23:40:00 +00:00
Justin Clift
a5a9be352d
Bump webpack-build-notifier to 2.3.0 ( #6308 )
2023-07-28 08:32:02 +10:00
Justin Clift
72db9757f8
Bump @percy/agent to 0.28.7 ( #6307 )
2023-07-27 20:49:35 +00:00
dependabot[bot]
ffbf0fbe45
Bump minimist from 1.2.0 to 1.2.8 ( #6306 )
...
Bumps [minimist](https://github.com/minimistjs/minimist ) from 1.2.0 to 1.2.8.
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.0...v1.2.8 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 19:52:29 +00:00
Justin Clift
d0f5215cd8
Bump eslint-loader to 4.0.2 ( #6305 )
2023-07-27 19:17:19 +00:00
Justin Clift
6d495bc83d
Bump mini-css-extract-plugin to 1.6.2 ( #6304 )
2023-07-27 18:22:02 +00:00
Justin Clift
e012d25585
Add yarn.lock missing from PR #6300 ( #6302 )
2023-07-27 14:55:20 +00:00
Justin Clift
7a421cf6d0
Bump plotly.js to 1.58.5 in viz-lib ( #6300 )
2023-07-27 09:13:26 +10:00
dependabot[bot]
58b505536f
Bump json5 from 1.0.1 to 1.0.2 in /viz-lib ( #6299 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 22:01:44 +00:00
Justin Clift
a7c15b078a
Bump babel-plugin-module-resolver to 5.0.0 in viz-lib ( #6296 )
2023-07-27 07:26:33 +10:00
Justin Clift
03d54d3313
Update Netlify to NodeJS 16.20.1 and Yarn 1.22.19 ( #6298 )
...
Also, Netlify doesn't seem to need yarn force installed any more
2023-07-26 20:48:45 +00:00
Justin Clift
fbe2f4d808
Update NodeJS in our CI to 16.20.x ( #6297 )
2023-07-26 19:35:41 +00:00
Justin Clift
5cd38b14b0
Bump file-loader to 6.2.0 ( #6295 )
2023-07-26 18:01:42 +00:00
Justin Clift
a8e1077bb7
Some manual dedupes of yarn.lock ( #6294 )
...
Yarn seems to miss a lot of deduplication opportunities, regardless of what the docs claim.
This can leave old, insecure versions of some dependencies in use when they shouldn't be.
2023-07-26 16:49:45 +00:00
Justin Clift
f572d88d8e
Bump less to 3.13.1 in main repo, and to 4.1.3 in viz-lib ( #6293 )
...
Also bumps some of the less related dependencies in the main repo:
* less-loader to 5.0.0
* less-plugin-autoprefix to 2.0.0
2023-07-26 15:30:43 +00:00
Justin Clift
ba1b496f51
Bump webpack-cli to 4.10.0 ( #6292 )
2023-07-26 23:40:49 +10:00
Justin Clift
050b9e8716
Bump babel-loader to 8.3.0 ( #6291 )
2023-07-26 12:24:27 +00:00
Justin Clift
239f8abf70
Bump Cypress to 7.7.0 ( #6289 )
2023-07-26 20:33:58 +10:00
Eric Radman
2795e1b7a0
Render counter widgets using relative font size ( #6191 )
...
Using `transform` scales contents in in height and width, resulting in text wrapping even if there is horizontal space.
2023-07-26 14:07:16 +10:00
Justin Clift
4a847388fe
Bump style-loader to 3.3.3 in viz-lib ( #6286 )
2023-07-25 13:15:44 +00:00
Justin Clift
2eed83bd7c
Bump copy-webpack-plugin to 6.4.1 ( #6285 )
2023-07-25 12:32:02 +00:00
Justin Clift
34d380d427
Bump babel-plugin-istanbul to 6.1.1 ( #6284 )
2023-07-25 11:44:40 +00:00
Justin Clift
93a2901f6d
Bump @cypress/code-coverage to 3.11.0 ( #6283 )
2023-07-25 10:22:32 +00:00
Justin Clift
2946713a15
Bump various @babel in /viz-lib to latest 7.x. Mostly 7.22.x ( #6282 )
2023-07-25 08:58:13 +00:00
Justin Clift
1b8f0ac2e9
Bump @babel/(various) to latest. Mostly 7.22.x ( #6281 )
2023-07-25 07:29:58 +00:00
dependabot[bot]
0701ee9b28
Bump color-string from 1.5.4 to 1.9.1 ( #6280 )
...
Bumps [color-string](https://github.com/Qix-/color-string ) from 1.5.4 to 1.9.1.
- [Release notes](https://github.com/Qix-/color-string/releases )
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Qix-/color-string/compare/1.5.4...1.9.1 )
---
updated-dependencies:
- dependency-name: color-string
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 06:05:34 +00:00
Justin Clift
ef7e38de49
Bump ts-migrate to 0.1.35 in viz-lib ( #6279 )
2023-07-25 14:49:59 +10:00
Justin Clift
ff1531bee4
Bump express to 4.18.2 ( #6278 )
2023-07-25 13:15:28 +10:00
dependabot[bot]
f172f15c7f
Bump minimist from 1.2.5 to 1.2.8 in /viz-lib ( #6276 )
...
Bumps [minimist](https://github.com/minimistjs/minimist ) from 1.2.5 to 1.2.8.
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-25 01:44:48 +00:00
Justin Clift
ae10477e50
Bump request to 2.88.2 in viz-lib ( #6275 )
...
Had to hand edit the yarn.lock file (!), because I couldn't get the yarn command to do what I was trying to do.
2023-07-25 11:02:32 +10:00
Justin Clift
0a4d250268
Bump request to 2.88.2 ( #6273 )
2023-07-25 09:18:05 +10:00
Justin Clift
177f33a460
Bump plotly.js to 1.54.4 in viz-lib ( #6272 )
2023-07-24 21:48:56 +00:00
Justin Clift
6e4f96405d
Bump React to exactly 16.14.0 ( #6270 )
...
This gets rid of a peer dependency warning from viz-lib.
2023-07-25 05:24:06 +10:00
Konstantin Smirnov
3446e7e569
update jest viz_lib ( #6261 )
2023-07-23 20:10:14 +05:00
Konstantin Smirnov
ef06dff433
bump jest to 24.9.0 ( #6259 )
2023-07-23 12:19:43 +00:00
dependabot[bot]
afa723c435
Bump js-yaml from 3.12.2 to 3.14.0 ( #6260 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.2 to 3.14.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.2...3.14.0 )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 21:19:34 +10:00
dependabot[bot]
4fb78387aa
Bump bl from 1.2.2 to 1.2.3 ( #6257 )
...
Bumps [bl](https://github.com/rvagg/bl ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rvagg/bl/releases )
- [Changelog](https://github.com/rvagg/bl/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: bl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 21:19:20 +10:00
Justin Clift
f8e9887feb
Bump @pmmmwh/react-refresh-webpack-plugin to 0.5.10, react-refresh to 0.14.0 ( #6258 )
2023-07-23 20:39:59 +10:00
dependabot[bot]
f5c53efb3e
Bump ws from 5.2.2 to 5.2.3 ( #6252 )
...
Bumps [ws](https://github.com/websockets/ws ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 20:06:51 +10:00
dependabot[bot]
37fd7f74dd
Bump dompurify from 2.0.7 to 2.0.17 ( #6256 )
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.0.7 to 2.0.17.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.7...2.0.17 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 19:26:12 +10:00
dependabot[bot]
3bddbcb025
Bump hosted-git-info from 2.7.1 to 2.8.9 ( #6255 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9 )
---
updated-dependencies:
- dependency-name: hosted-git-info
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 19:24:05 +10:00
Justin Clift
f1477c825e
Bump webpack-dev-server from 3.11.0 to 4.15.1 ( #6254 )
2023-07-23 19:14:53 +10:00
dependabot[bot]
416e6cb864
Bump ssri from 6.0.1 to 6.0.2 ( #6247 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: ssri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 18:45:05 +10:00
dependabot[bot]
d4c69beef9
Bump path-parse from 1.0.6 to 1.0.7 ( #6253 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 18:42:41 +10:00
Justin Clift
868453077a
Bump css-loader from 0.28.7 to 1.0.1 ( #6251 )
2023-07-23 18:27:39 +10:00
dependabot[bot]
8973772548
Bump ansi-regex from 3.0.0 to 3.0.1 in /viz-lib ( #6244 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 18:25:47 +10:00
dependabot[bot]
e2c824e1d5
Bump ini from 1.3.5 to 1.3.8 ( #6250 )
...
Bumps [ini](https://github.com/npm/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/npm/ini/releases )
- [Changelog](https://github.com/npm/ini/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/ini/compare/v1.3.5...v1.3.8 )
---
updated-dependencies:
- dependency-name: ini
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 18:23:10 +10:00
dependabot[bot]
ed0075d495
Bump acorn from 5.7.3 to 5.7.4 ( #6248 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
---
updated-dependencies:
- dependency-name: acorn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 18:22:23 +10:00
dependabot[bot]
de1e6ba018
Bump y18n from 4.0.0 to 4.0.3 ( #6249 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
---
updated-dependencies:
- dependency-name: y18n
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 18:19:47 +10:00
dependabot[bot]
2d6928469a
Bump dns-packet from 1.3.1 to 1.3.4 ( #6246 )
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
---
updated-dependencies:
- dependency-name: dns-packet
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 17:18:27 +10:00
dependabot[bot]
3370a34b6e
Bump ajv from 6.9.2 to 6.12.6 ( #6245 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.9.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.9.2...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 07:00:39 +00:00
dependabot[bot]
5f2aad2009
Bump elliptic from 6.4.1 to 6.5.4 ( #6243 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.4.1 to 6.5.4.
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.1...v6.5.4 )
---
updated-dependencies:
- dependency-name: elliptic
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 06:44:20 +00:00
dependabot[bot]
58fc8f4aee
Bump minimatch from 3.0.4 to 3.1.2 ( #6242 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 06:37:47 +00:00
dependabot[bot]
a32c0dfb58
Bump lodash from 4.17.19 to 4.17.21 in /viz-lib ( #5496 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 05:50:26 +00:00
dependabot[bot]
34c20afdd8
Bump decode-uri-component from 0.2.0 to 0.2.2 ( #6241 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 05:05:11 +00:00
Justin Clift
7871e80abf
Bump webpack to 4.46.0, webpack-bundle-analyzer to 4.9.0 ( #6240 )
...
This should help unblock some Dependabot updates
2023-07-23 04:25:08 +00:00
dependabot[bot]
00eab75127
Bump mixin-deep from 1.3.1 to 1.3.2 ( #6239 )
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
---
updated-dependencies:
- dependency-name: mixin-deep
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 03:35:41 +00:00
dependabot[bot]
f3a768edb8
Bump eventsource from 1.0.7 to 1.1.2 ( #6238 )
...
Bumps [eventsource](https://github.com/EventSource/eventsource ) from 1.0.7 to 1.1.2.
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md )
- [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.2 )
---
updated-dependencies:
- dependency-name: eventsource
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 12:50:37 +10:00
dependabot[bot]
518fb33c7e
Bump handlebars from 4.1.0 to 4.7.7 ( #6237 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.0 to 4.7.7.
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.7.7 )
---
updated-dependencies:
- dependency-name: handlebars
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 12:02:25 +10:00
dependabot[bot]
9829a0957a
Bump loader-utils from 1.4.0 to 1.4.2 in /viz-lib ( #6236 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 01:22:37 +00:00
dependabot[bot]
4113bb532c
Bump url-parse from 1.4.7 to 1.5.10 ( #6235 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.10.
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 00:09:26 +00:00
Justin Clift
416126abd3
Bump webpack-cli to ^3.3.12 ( #6234 )
2023-07-22 23:25:51 +00:00
dependabot[bot]
02c8f71710
Bump loader-utils from 1.2.3 to 1.4.2 ( #6233 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.2.3 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.2.3...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 22:42:32 +00:00
Justin Clift
7248be14bb
Bump html-webpack-plugin to ^4.5.2 ( #6232 )
...
In theory (!), this should fix a dependabot warning.
2023-07-23 07:59:16 +10:00
Justin Clift
448bb99b7e
Update webpack related deps in viz-lib ( #6230 )
2023-07-23 06:30:56 +10:00
Tadayuki Onishi
f2e31a602e
[enhancement] Add a CLI command in order to create organization ( #5869 )
...
* Add a cli command in order to create organization
* Update redash/cli/organization.py
Co-authored-by: Jun <junnplus@gmail.com >
* add test
---------
Co-authored-by: Konstantin Smirnov <46676677+konnectr@users.noreply.github.com >
Co-authored-by: Jun <junnplus@gmail.com >
Co-authored-by: konnectr <1konnectrl@gmail.com >
2023-07-22 19:20:17 +05:00
Fernando Salcido
79ef3e4eb0
Handle error when data_source is None ( #4936 )
...
* add try except for data_source
* add try except for data_source
* fix errir handle
* add test for no data source
* changed error handle
* fix format
* fix test
---------
Co-authored-by: Konstantin Smirnov <46676677+konnectr@users.noreply.github.com >
Co-authored-by: konnectr <1konnectrl@gmail.com >
2023-07-22 19:17:49 +05:00
Konstantin Smirnov
b30622e531
delete password in the log ( #6228 )
2023-07-22 19:16:41 +10:00
Jannis Leidel
d2322c9904
Store start datetime in redash:status hash again. ( #4894 )
...
Fix #4893 .
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-22 19:15:05 +10:00
Konstantin Smirnov
bac15db21f
bump PyYaml to 6.0.1 ( #6227 )
2023-07-21 21:23:01 +00:00
Tejas Agrawal
b284dfe40d
improvement: MongoDB - JSON syntax error sent back to Client ( #6068 )
2023-07-21 13:18:37 +00:00
Justin Clift
81da13b461
Add "make format" command ( #6225 )
2023-07-21 12:43:37 +00:00
Vitaly Vakhteev
7f4ade5f1f
Feature/Add Discord Alert Destination ( #6106 )
...
* Add discord webhook
* Fix icon
* Boto3 dependency
* Add unit test for Discord webhook
* Add suggestions
* Apply suggestions from code review
Co-authored-by: Jun <junnplus@gmail.com >
* Misunderstood suggestion )
* Add suggestions
* Apply suggestions from code review
Co-authored-by: Jun <junnplus@gmail.com >
* Fix test
* Fix variables in strings
* Fix formatting using our pre-commit hook
---------
Co-authored-by: Jun <junnplus@gmail.com >
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-21 12:14:42 +00:00
Peter Lee
8376e41684
Fix worker error in macOS ( #6224 )
...
* Update worker.py
* fix
---------
Co-authored-by: rajat goyal <gyl.rajat@gmail.com >
2023-07-21 21:10:19 +10:00
Naka Masato
c8eb445ce9
Remove hipchat ( #5486 )
...
* Remove hipchat
* Remove hipchat logo
---------
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-21 09:23:15 +00:00
Justin Clift
e4302d9163
Bump ua-parser to 0.18.0 ( #6221 )
2023-07-21 13:29:51 +05:00
Peter Lee
be306e9284
fix pubic dashboard not update result #6203 ( #6214 )
2023-07-21 12:32:59 +05:00
ImhotepW
91eee2b49e
Refactor permissions ( #5600 )
...
* Updated admin permission definition location
* Updated admin permission definition location for create_org and init_db
* format
Signed-off-by: Ye Sijun <junnplus@gmail.com >
---------
Signed-off-by: Ye Sijun <junnplus@gmail.com >
Co-authored-by: Oleksandr <oleksandr_vasylenko4@epam.com >
Co-authored-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 07:18:28 +00:00
Konstantin Smirnov
bee833a6c1
update werkzeug==2.3.6 ( #6219 )
2023-07-21 15:35:41 +09:00
ChengDaqi2023
37f008cccb
update ua-parser 0.8.0 to 0.15.0 ( #6199 )
2023-07-21 16:27:47 +10:00
Jun
77a2c24d47
fix test warning ( #6217 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 14:52:46 +09:00
Jun
05c9b35e42
bump sentry to 1.28.1 ( #6212 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 11:54:16 +09:00
Jun
f41eab7054
use CryptContext.hash instead of CryptContext.encrypt ( #6211 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 11:51:00 +09:00
Jun
cd0bbc2621
Use 'urllib.parse.quote' instead 'werkzeug.urls.url_quote' ( #6209 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 10:52:29 +09:00
Jun
20dbb461e9
Use assertEqual instead of assertEquals ( #6210 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 10:52:18 +09:00
Jun
0dd8614d5d
bump pysaml2 to 7.3.1 ( #6208 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 10:52:09 +09:00
dependabot[bot]
281b552346
Bump urllib3 from 1.25.11 to 1.26.5 ( #6136 )
...
Dependabot couldn't find the original pull request head commit, b868bb5edd4a3fc036ed40754f099f37541a2814.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 09:33:07 +09:00
Jun
3e8222de17
upgrade boto3 and botocore ( #6207 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-21 08:56:30 +09:00
Justin Clift
4869a652c0
Bump Cypress to 6.0.1 ( #6205 )
...
* Bump Cypress to 6.0.1
Unfortunately, due to a change in how Cypress treats elements with opacity 0, we need to disable two of the front end tests.
Hopefully someday, someone with better knowledge of JS and Cypress is able to fix these. :)
2023-07-21 02:08:15 +10:00
vvsd
0c223b6af7
update httplib2 0.14.0 to 0.19.0 ( #5865 )
...
Co-authored-by: Jun <junnplus@gmail.com >
2023-07-21 01:06:19 +10:00
Justin Clift
ff6377b6e2
Bump SQLAlchemy-Searchable to 1.2.0 ( #6173 )
...
* Drop pyparsing, update SQLAlchemy-Searchable to 1.2.0
* fix make_searchable (#6180 )
* fix test
Signed-off-by: Ye Sijun <junnplus@gmail.com >
---------
Signed-off-by: Ye Sijun <junnplus@gmail.com >
Co-authored-by: Spencer Weeks <Spince@users.noreply.github.com >
Co-authored-by: Ye Sijun <junnplus@gmail.com >
2023-07-20 23:27:58 +09:00
dependabot[bot]
f3ba10ff32
Bump sqlparse from 0.3.0 to 0.4.4 ( #6049 )
...
* 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.
- [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 >
* use str instead of text_type
Signed-off-by: Ye Sijun <junnplus@gmail.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Ye Sijun <junnplus@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ye Sijun <junnplus@gmail.com >
2023-07-20 10:39:26 +09:00
Justin Clift
9736bc76f7
Bump Cypress to 5.6.0 ( #6198 )
2023-07-19 10:18:19 +00:00
Justin Clift
87adad9afc
Update our dev and CI docker to use NodeJS 16.20.1 ( #6178 )
2023-07-19 08:59:42 +00:00
Justin Clift
a63d7d9ad8
Add (dev focused) Discord link to the README ( #6197 )
2023-07-19 07:13:56 +00:00
dependabot[bot]
d3f118a74b
Bump path-parse from 1.0.6 to 1.0.7 in /viz-lib ( #5562 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 15:56:39 +10:00
dependabot[bot]
17a03628e4
Bump y18n from 4.0.0 to 4.0.3 in /viz-lib ( #5554 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3 )
---
updated-dependencies:
- dependency-name: y18n
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 15:56:21 +10:00
dependabot[bot]
255f2221c6
Bump hosted-git-info from 2.8.8 to 2.8.9 in /viz-lib ( #5497 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 15:54:59 +10:00
Justin Clift
698498d896
Update README to point at wiki based dev guide ( #6196 )
2023-07-19 05:11:12 +00:00
dependabot[bot]
4092d418f6
Bump tmpl from 1.0.4 to 1.0.5 in /viz-lib ( #5597 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 14:04:54 +09:00
Jun
af243be0b3
bump copy-webpack-plugin to 5.1.2 ( #6195 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-19 14:03:48 +09:00
dependabot[bot]
897e3dbd3b
Bump ws from 5.2.2 to 5.2.3 in /viz-lib ( #5553 )
...
Bumps [ws](https://github.com/websockets/ws ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-19 13:59:44 +09:00
dependabot[bot]
cbe3093a5d
Bump word-wrap from 1.2.3 to 1.2.4 ( #6194 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 14:59:31 +10:00
dependabot[bot]
f5fd10bb6c
Bump word-wrap from 1.2.3 to 1.2.4 in /viz-lib ( #6193 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 13:16:08 +09:00
Peter Lee
a6447b46be
Add Bahrain to Map Visualization #5839 ( #6192 )
2023-07-19 03:47:16 +00:00
Justin Clift
7567a8a76a
Update yarn.lock for axios 0.27.2 version bump ( #6190 )
...
Looks like I missed adding this file with one of the recent axios version bumps.
2023-07-18 08:17:34 +00:00
Jun
6237d54347
Bump cryptography to 40.0.2 ( #6187 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-18 10:26:18 +09:00
Eric Radman
0bdd3bd826
Add support for a default alert template ( #5996 )
...
- Escape all variables by default since Mustache only has a syntax for raw values
- Generate a generic HTML result table to allow an alert template to display any query
- Optionally allow alert template to be defined to be set using REDASH_ALERTS_DEFAULT_MAIL_BODY_TEMPLATE
- Formatting updated by black
2023-07-18 06:51:42 +10:00
Eric Radman
1e33eee479
Ensure the email dev server is reachable on port 1080 and 1025 ( #6186 )
...
Also set Redash to use local maildev when docker-compose is used to
start a development server.
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-18 06:05:42 +10:00
Justin Clift
f51b5ad1bb
Switch to automatically upgraded PostgreSQL 15 ( #6185 )
...
The pgautoupgrade repo on Docker Hub now has stable version tags, so lets use the PostgreSQL 15.x series.
2023-07-17 18:25:29 +00:00
Peter Lee
1ab9036325
change default allow custom chart to true ( #6184 )
2023-07-17 16:05:40 +00:00
Oluwafemi Sule
c8516d38a7
Give query case sensitive treatment in query hash ( #4254 )
...
Generating the query hash from the query text with no lowercasing of the query text
allows case-sensitive parameter values in the dashboard to have different cache entries.
Fixes #2137
2023-07-17 12:40:00 +10:00
Vinod Pandey
095ac2ecf0
Added query runner for Google Analytics Data API (GA4) and Google Search Console API ( #5868 )
...
* quick and dirty GA4 integration to support limited queries
request pattern:
{
"propertyId": 123456789,
"dateRanges": [{ "startDate": "yesterday", "endDate": "yesterday" }],
"dimensions": [{ "name": "date" }],
"metrics": [{ "name": "activeUsers" }]
}
* Update Dockerfile
* Update requirements_bundles.txt
related issue:
https://github.com/getredash/redash/pull/5851
https://stackoverflow.com/questions/73929564/entrypoints-object-has-no-attribute-get-digital-ocean
* updated integration code to support all usecases for runReport endpoint (does not have support for runPivotReport yet)
* added google search console as query runner
* removed info logger
* removed files that were causing merge conflicts
* fixed failing testcases and pre-commit formatting changes
* added testcases
* fixed linting errors in test files
* code optimization
2023-07-16 19:45:14 -05:00
shinsuke-nara
02d128e7ae
Embed view becomes flex. ( #4422 )
...
Co-authored-by: Shinsuke Nara <shinsuke.nara@muraoka-design.com >
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-16 15:15:03 +10:00
Will Lachance
d5b821e30a
Fix persisting datasource selection choice ( #6181 )
...
* Fix persisting datasource selection choice
Closes getredash/redash#5646.
We were already storing this in localStorage, however we weren't
accounting for the fact that it was stored as a string, rather than
an integer.
* Restyled by prettier (#6182 )
Co-authored-by: Restyled.io <commits@restyled.io >
---------
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2023-07-15 12:56:39 -05:00
Justin Clift
05526b557e
Update /viz-lib axios to 0.27.2, and its axios-auth-refresh to 3.3.6 ( #6177 )
2023-07-13 15:36:25 +00:00
dependabot[bot]
60531a739d
Bump axios from 0.21.1 to 0.27.2 ( #5652 )
...
* Bump axios from 0.21.1 to 0.21.2
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump axios to 0.27.2, and axios-auth-refresh to 3.3.6
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-13 01:50:06 +10:00
dependabot[bot]
1b3215f79f
Bump async from 2.6.2 to 2.6.4 ( #5779 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.2 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.2...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:21:44 +00:00
dependabot[bot]
39f4530562
Bump axios from 0.19.2 to 0.21.2 in /viz-lib ( #5610 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.19.2 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 08:12:03 +09:00
dependabot[bot]
6dd6a4c28b
Bump cached-path-relative from 1.0.2 to 1.1.0 ( #5699 )
...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases )
- [Commits](https://github.com/ashaffer/cached-path-relative/commits )
---
updated-dependencies:
- dependency-name: cached-path-relative
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 08:11:29 +09:00
dependabot[bot]
fc39e36771
Bump ajv from 6.12.0 to 6.12.6 in /viz-lib ( #5778 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.12.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 08:09:40 +09:00
dependabot[bot]
3e3cca4023
Bump moment from 2.24.0 to 2.29.4 in /viz-lib ( #5786 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.24.0 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 07:32:31 +09:00
dependabot[bot]
c707cccfbf
Bump moment from 2.24.0 to 2.29.4 ( #5787 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.24.0 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 07:31:02 +09:00
Flavio Altinier Maximiano da Silva
32b3e56c97
Make the database reencrypt script safer ( #5878 )
...
* Reencrypt Database Safely
* Try with only one statement
* remove success logging
Signed-off-by: Ye Sijun <junnplus@gmail.com >
---------
Signed-off-by: Ye Sijun <junnplus@gmail.com >
Co-authored-by: Jun <junnplus@gmail.com >
2023-07-11 23:55:47 +09:00
dependabot[bot]
9d5754793f
Bump terser from 4.8.0 to 4.8.1 ( #5833 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v4.8.0...v4.8.1 )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:03:46 +09:00
dependabot[bot]
d1e533264d
Bump minimatch from 3.0.4 to 3.1.2 in /viz-lib ( #5856 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:03:25 +09:00
dependabot[bot]
591b607dd5
Bump decode-uri-component from 0.2.0 to 0.2.2 in /viz-lib ( #5871 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:03:10 +09:00
dependabot[bot]
ad6b12c5ad
Bump shell-quote from 1.7.2 to 1.8.1 in /viz-lib ( #6175 )
...
Bumps [shell-quote](https://github.com/ljharb/shell-quote ) from 1.7.2 to 1.8.1.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.7.2...v1.8.1 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:02:19 +09:00
Jun
a1a00c6819
upgrade flask limiter ( #6174 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-11 21:34:13 +09:00
Jun
9b2f635692
format code by black and isort ( #6167 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-11 19:13:54 +10:00
Justin Clift
7f40837d3f
Add a make target to generate .env file for development ( #6172 )
2023-07-11 06:33:25 +00:00
dependabot[bot]
a944658265
Bump semver from 5.7.1 to 5.7.2 in /viz-lib ( #6170 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:44:28 +09:00
dependabot[bot]
a7681a688e
Bump semver from 5.6.0 to 5.7.2 ( #6171 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.6.0 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.6.0...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:44:17 +09:00
Jun
1b97d9ce04
add codecov action ( #6168 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-11 15:33:07 +10:00
Justin Clift
b4801dd2b8
Update SQLAlchemy to highest 1.3.x release ( #6169 )
...
Moving to SQLAlchemy 1.4 / 2.0 seems like it'll be a substantial project:
* https://docs.sqlalchemy.org/en/14/changelog/migration_14.html
* https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
2023-07-11 14:56:11 +10:00
dependabot[bot]
c922521dbd
Bump restrictedpython from 5.0 to 6.1 ( #6166 )
...
Bumps [restrictedpython](https://github.com/zopefoundation/RestrictedPython ) from 5.0 to 6.1.
- [Changelog](https://github.com/zopefoundation/RestrictedPython/blob/6.1/CHANGES.rst )
- [Commits](https://github.com/zopefoundation/RestrictedPython/compare/5.0...6.1 )
---
updated-dependencies:
- dependency-name: restrictedpython
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 22:30:22 +00:00
Justin Clift
89e7669ec1
Update pysaml to last version of 6.5.x series for bettter error handling ( #6165 )
...
Co-authored-by: Timothy Der <timothy.der@gotinder.com >
2023-07-10 21:03:48 +00:00
Justin Clift
99be51ebc5
Move to Redis 7 for our development and CI docker compose ( #6164 )
2023-07-11 05:43:15 +10:00
Juan José Fuchs
29c21db813
fix #5811 : passing server,port to MS ODBC driver ( #5812 )
...
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-11 05:17:18 +10:00
Kirill Lyubchenko
e639a789e7
Updated vertica-python to 1.1.1 ( #5807 )
...
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-11 05:16:32 +10:00
645775992
bc9460b04c
update passlib 1.7.1 to 1.7.3 ( #5855 )
...
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-11 04:45:47 +10:00
dependabot[bot]
11c50567c3
Bump protobuf from 3.17.3 to 3.18.3 ( #5829 )
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 3.17.3 to 3.18.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.17.3...v3.18.3 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-11 04:42:58 +10:00
Justin Clift
90cd27fa25
Use automatic upgrading PostgreSQL 15 docker image ( #6162 )
...
Also adds the POSTGRES_HOST_AUTH_METHOD environment variable to the CI docker compose files. Modern PostgreSQL docker images need it, at least as they're used by our CI.
2023-07-10 16:17:09 +00:00
Justin Clift
26010f793e
Update watchdog to version 3.0.0, to workaround reported error ( #6161 )
...
https://github.com/getredash/redash/discussions/6131#discussioncomment-6399367
2023-07-10 19:42:14 +10:00
Jun
a45a95af68
Updated rq-scheduler to 0.10.0 ( #6160 )
...
Co-authored-by: Ardiea <mas48@mit.edu >
2023-07-10 19:11:28 +10:00
Jun
24fe1dd121
add pre-commit ( #6156 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-10 17:21:03 +09:00
Jun
5af8764c10
upgrade dev deps ( #6158 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-10 17:46:41 +10:00
Jun
5b3e47dc0f
update ci badge ( #6157 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-10 09:30:52 +08:00
wuqingfeng234
c775eedec1
change the version of greenlet and gevent to fit python10 ( #5849 )
...
Co-authored-by: Jun <junnplus@gmail.com >
2023-07-09 12:12:37 +10:00
Jun
537d153986
CI: add test_all_deps on docker build ( #6152 )
...
* add test_all_deps on docker build
Signed-off-by: Ye Sijun <junnplus@gmail.com >
* upgrade pip version
Signed-off-by: Ye Sijun <junnplus@gmail.com >
---------
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-08 12:00:36 +09:00
Beniamin
afef3dc6d4
allow ssl connections for impala runner ( #5850 )
...
There is no possibility to use ssl connections for impala runner.
Based on response here: https://discuss.redash.io/t/ssl-for-impala-use-ssl-true-issues-being-added-to-connect/3741/3 adding a ssl parameter in connector config should solve this issue.
2023-07-08 12:47:30 +10:00
Jesse
cdd4849f96
Install python dependencies one-by-one. Don't exit on failures. ( #5788 )
...
Cat code taken from https://stackoverflow.com/a/54053100
2023-07-08 12:02:49 +10:00
Jun
6b13d0ad96
fixed importlib-resources==5.13.0 ( #6155 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-08 07:52:49 +09:00
Jun
73f49cbf0c
upgrade flask ( #6138 )
...
* upgrade flask
Signed-off-by: Ye Sijun <junnplus@gmail.com >
* fix test
Signed-off-by: Ye Sijun <junnplus@gmail.com >
* override value_proc for click.prompt
Signed-off-by: Ye Sijun <junnplus@gmail.com >
---------
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-07-08 06:05:27 +09:00
dependabot[bot]
d92fc98b13
Bump lodash from 4.17.20 to 4.17.21 ( #5688 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
---
updated-dependencies:
- dependency-name: lodash
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org >
2023-07-07 13:18:04 +00:00
Frank
350ddd0483
fix: catch exception tips ( #5047 )
2023-07-07 22:17:01 +10:00
dependabot[bot]
4d0ce10d97
Bump tmpl from 1.0.4 to 1.0.5 ( #5653 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 21:26:18 +10:00
dependabot[bot]
a34deb25d6
Bump tar from 4.4.8 to 4.4.19 ( #5651 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 4.4.8 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v4.4.8...v4.4.19 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 20:10:56 +10:00
dependabot[bot]
79b01406fc
Bump shell-quote from 1.7.2 to 1.7.3 ( #5780 )
...
Bumps [shell-quote](https://github.com/substack/node-shell-quote ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases )
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md )
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 19:31:11 +10:00
dependabot[bot]
2881599aa3
Bump pyjwt from 1.7.1 to 2.4.0 ( #5759 )
...
Bumps [pyjwt](https://github.com/jpadilla/pyjwt ) from 1.7.1 to 2.4.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases )
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jpadilla/pyjwt/compare/1.7.1...2.4.0 )
---
updated-dependencies:
- dependency-name: pyjwt
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jun <junnplus@gmail.com >
2023-07-07 07:10:31 +00:00
dependabot[bot]
0f3452f00f
Bump qs from 6.5.2 to 6.5.3 in /viz-lib ( #5873 )
...
Bumps [qs](https://github.com/ljharb/qs ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases )
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3 )
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 15:08:27 +09:00
drewmcmahon
e8621dba1a
chore: inherit BaseSQLQueryRunner in Snowflake query runner ( #6064 )
2023-07-07 13:49:48 +10:00
Gabriel Dutra
d6432482bf
Wait for query change to propagate on pivot spec ( #6142 )
2023-07-07 13:02:43 +10:00
Guido Petri
b9bdfe83cc
update widget_spec.js test to pass on 380 or 381 vizheight ( #6149 )
2023-07-07 11:28:41 +10:00
Pavel Shuvalov
66da3bb7cd
Add explicit permission checker to postgres schema fetcher ( #5911 )
2023-07-06 18:02:35 +10:00
Gabriel Dutra
a1e27ae1ed
Upgrade viz-lib webpack to v5 ( #6141 )
2023-07-05 21:47:01 -03:00
Peter Lee
bbd0a21831
feat: add query result expired ttl ( #6123 )
...
* feat: add query result expired ttl
* update code
2023-07-03 19:49:53 +08:00
Ran Benita
ee601ec206
Fix FEATURE_POLICY to initialize from REDASH_FEATURE_POLICY envvar, not REDASH_REFERRER_POLICY ( #5822 )
...
Problem: setting the `REDASH_REFERRER_POLICY` environment variable also sets the feature policy in addition to the referrer policy. Conversely, there is no way to set the feature policy on its own.
It looks like a copy/paste error from the line above.
Solution: change the feature policy to be set by a `REDASH_FEATURE_POLICY` environment variable.
2023-07-01 14:53:47 +10:00
Justin Clift
241dcfacd9
Update to latest in yarn 1.22.x series ( #6140 )
2023-06-30 18:50:22 +00:00
Justin Clift
112b9ed1ba
Use precompiled psycopg2-binary package instead of psycopg2 ( #6137 )
2023-06-30 22:24:16 +10:00
Mukesh
24b6ef7ae7
Pymongo version upgrade changes ( #5970 )
...
* Pymongo version upgrade changes
* Get count logic has been changed to get using count_documents method
2023-06-30 20:39:04 +10:00
dependabot[bot]
4c3fd833df
Bump jinja2 from 2.10.3 to 2.11.3 ( #5431 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 2.10.3 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.10.3...2.11.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 18:01:26 +10:00
Justin Clift
c2c7f44d5c
Update Python dependencies to eliminate version conflicts ( #6122 )
...
* Remove DynamoDB as a data source for now, due to dependency incompatibilities
* Remove Firebolt as a data source for now, due to dependency incompatibilities
* Remove pymapd / pyomnisci / heavyai, due to dependency incompatibilities
* Remove pycrypto, upgrade cryptography
* Remove pyarrow (for now), which we no longer need
* Require an (older) version of black, to avoid test failures with more recent click library
* Upgrade gevent to 21.12.0
* Upgrade greenlet to 1.1.2
* Upgrade httpli2 to 0.18.1
* Upgrade requests to 2.31.0
* Upgrade snowflake-connector-python to 3.0.4
* Upgrade urllib3 to 1.25.11
Note, the warning message caused by the older versions of gevent and greenlet was:
RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 40 from C header, got 144 from PyObject
2023-06-30 16:15:12 +10:00
Will Lachance
46f67fd44b
Upgrade Python version to 3.8 ( #6130 )
...
* Upgrade Python version to 3.8 (with ci too)
3.7 is now end-of-life: this is a minimal change to get us on a supported version.
2023-06-29 04:26:28 +10:00
Peter Lee
675838619e
Try fixing cypress in a more correct way ( #6117 )
2023-06-27 02:46:10 +10:00
Justin Clift
b33bd1b02e
ci: Attempt to fix restyled.io test ( #6116 )
...
We're now getting an error with exit code 127, so this commit adds the suggested solution of telling Restyled the exact command needed to run:
https://github.com/restyled-io/restyled.io/wiki/Common-Errors:-Prettier#prettier-with-tailwindcss-executable-file-not-found-in-path
2023-06-26 05:29:04 +10:00
Peter Lee
28e63e3d76
fix pivot table style error ( #6112 )
2023-06-25 22:10:49 +10:00
Peter Lee
4d11c94be0
dependencies: pystache==0.6.0 ( #6091 )
...
fix Python3.9 can't install pystache problem
2023-06-24 15:35:45 +10:00
Jun
f3892e00a5
ci: migrate to github workflow ci ( #6008 )
...
Signed-off-by: Ye Sijun <junnplus@gmail.com >
2023-06-24 14:25:07 +10:00
Will Lachance
f45bd27e68
Update Simba ODBC driver ( #6110 )
2023-06-23 08:23:51 -07:00
dependabot[bot]
bc909a13a3
Bump redis from 3.5.0 to 4.4.4 ( #6050 )
...
Bumps [redis](https://github.com/redis/redis-py ) from 3.5.0 to 4.4.4.
- [Release notes](https://github.com/redis/redis-py/releases )
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES )
- [Commits](https://github.com/redis/redis-py/compare/3.5.0...v4.4.4 )
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 11:35:40 +08:00
Will Lachance
962f13eed0
Update Debian version for Node image ( #6038 )
...
`14.17` used stretch, which was ancient and seems to no longer support
updates. Let's try updating to bullseye, which should be around for
a while.
2023-05-17 07:01:15 -07:00
Will Lachance
e8071dcb12
Pin boto3 dependencies in dev requirements as well ( #6037 )
...
* Pin boto3 dependencies in dev requirements as well
Testing to see if this fixes CI, where it appears a more recent (too
recent) version of boto3 is being installed.
* Add circle step to list installed packages
This takes almost no time, and helps debug dependency issues (a
longer-term fix might be to switch to pip-compile).
2023-05-17 07:00:42 -07:00
dependabot[bot]
3444f2b06c
Bump pyyaml from 5.1.2 to 5.4 ( #5442 )
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 5.1.2 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/5.1.2...5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-30 08:33:18 -07:00
Arik Fraimovich
c46d66afec
Bump pysaml2 to 6.5.0 ( #6013 )
2023-04-28 10:35:30 -07:00
須藤大輔 (SUDO Daisuke)
64c24b77f9
fix comparison operator ( #5945 )
2023-04-20 09:13:20 -07:00
myonlylonely
ad7d30f91d
Bump mysqlclient from 1.3.14 to 2.1.1, memsql from 3.0.0 to 3.2.0, fixing MySQL multi statement support ( #5957 )
2023-04-05 06:59:36 -07: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
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
Rafael Wendel
d8d7c78992
Replace <a> and <button> with <PlainButton> ( #5433 )
...
* Add PlainButton
* refactor close icons
* reorder import
* refactor remaining anchors
* refactor: replace remaining <button> and TODOs
* refactor: changed applicable elements to type link
* fix: minor details
* bug: fix tooltip ternary
* refactor: improve interactivity and semantics of schema list item
2021-04-10 16:43:58 -03:00
Rafael Wendel
23ced5db50
fix: treat possibly empty hrefs ( #5468 )
2021-04-10 13:00:15 -03:00
Rafael Wendel
f018c0a7b7
fix: rollback pip version to avoid legacy resolver problem ( #5467 )
...
Co-authored-by: Lingkai Kong <lingkai.kong@databricks.com >
2021-04-09 15:34:42 -03:00
Jesse
67263e1b0f
Fixes issue #5445 : Scheduled query not working ( #5448 )
...
* use 'query_id' everywhere instead of 'Query ID'
* some black while we're at it
Co-authored-by: Omer Lachish <omer@rauchy.net >
2021-04-08 13:32:34 -05:00
Rafael Wendel
bb1f8cbcf5
Fix Ace editor keyboard trap ( #5451 )
...
* bug: fix a11y and add sr notification
* refactor: improvements to sr notification
2021-04-07 09:50:54 -03:00
Rafael Wendel
a61a25dd32
Run prettier ( #5436 )
...
* run in /client
* run in /viz-lib
* bug: fix wrong line ts expect error
* bug: fixed search pattern for prettier
2021-03-31 16:44:19 -03:00
Jesse
21ea72fdc5
Get the user's current groups from props instead of useEffect(). ( #5450 )
...
useEffect() doesn't run until _after_ the component renders. Before the
hook runs, the value of `groups` === []. And this is passed to
<DynamicForm>'s `initialValue` prop. The `initialValue` is not re-evaluated
after useEffect() completes. So the users groups are never updated.
This change pulls the user's current groups from `user` prop on the
page.
2021-03-31 16:18:59 +03:00
Gabriel Dutra
fa8b24ea01
Prepare viz-lib release with Antd v4 ( #5443 )
2021-03-30 16:06:35 -03:00
Rafael Wendel
a2c96c1e6d
Embed "external" link type into <Link> component ( #5432 )
...
* feature: add external link
* refactor: split external link into own component
* refactor: added link with icon
* refactor: remove reduntant tab index
* refactor: simplify props
* refactor: fix types
* refactor: bring types and components together
* refactor: improve treatment of target
2021-03-26 15:24:07 -03:00
Rafael Wendel
44178d9908
Improve input fields a11y ( #5427 )
...
* Added labels to params
* Added aria-label to inputs
* Linked unsemantic label with input
* Replaced span with label
* refactor: improve labels for schema browsers
* refactor: component accepts aria label
* refactor: add labels to sidebar search inputs
2021-03-26 11:45:24 -03:00
Rafael Wendel
6228f4cf71
Add live regions to tooltip ( #5440 )
...
* feature: add live regions to tooltip
* bug: treat null case
2021-03-25 17:47:49 -03:00
Rafael Wendel
c8df7a1c8a
Add jsx/a11y eslint plugin ( #5439 )
...
* build: install eslint jsx/a11y
* chore: add ESlint rules for jsx/a11y
* bug: add exceptions
2021-03-24 18:50:21 -03:00
Rafael Wendel
a665253f50
Adds configuration for <Tooltip> trigger on focus ( #5434 )
...
* refactor: add tooltip
* refactor: replace imports
* feature: add focus trigger
2021-03-24 18:35:21 -03:00
Sebastian Tramp
70681294a3
Query Runner: eccenca Corporate Memory (SPARQL) - query RDF / Linked Data Knowledge Graphs with redash ( #5415 )
...
* add Corporate Memory Runner based on cmempy 21.2.3
* fix code style
* apply some code nice ups
* use extendedEnum, boolean and extra_options for schema description
* use lower case sorting for data source types list
This correctly orders data source names which starts with lower
chars (such as eccenca Corporate Memory)
* add missing dblogo
2021-03-24 00:15:24 -07:00
Rafael Wendel
fb90b501cb
Improve icon a11y ( #5424 )
...
* Added screen reader CSS
* Added description to external links
* Added spinner icon accessibility
* Added accessibility to exclamation and big message
* Added question and exclamation accessibility
* Hide decorative icons
* Standardized link design
* Added a11y to refresh icons
* Added aria-label to anchors and buttons
* Added a11y to conditional icons
* Added applicable labels to Ant Icons
* Changed escape to interpolation
* Replaced external links with opens in new tab
* Improved Tooltip hosts
* Added aria live to temporary elements
* Removed mistakenly added redundant helper
* Undoes unnecessarily added interpolation
* Replaced empty label with hidden
* Improved full icon label
* Improved display of live regions
* Added note
* remove unused class
* Created unique id
* Remove TODOs
* Proper action label
* Improved feedback for autocomplete toggle
* feature: add id hook
* refactor: use id hook
* standardize white space
2021-03-22 19:49:36 -03:00
Rafael Wendel
0560e2410e
Improve css and add focus styles ( #5420 )
...
* Add styles for focused ant menus
* Add disabled styles to clickable button
* Improved dashboard header syntax and added focus
* Improved CSS syntax
* Add interactive styles
* Improved anchor dependent styles
* Improved styles of widget (gray more/delete btns)
* Add interactive style for favorite star
* Improved style of delete btn
* Make table content fill all space
* Added focus and active styles
* Scoped query snippets list
* Fixed behavior for all major browsers
* Replaced button styles with plain button
* Scoped items list styles
* Added focus styles to ant table
* Add plain button (#5419 )
* Minor syntax improvements
* Refactor of Link component (#5418 )
2021-03-17 14:26:08 -03:00
Đặng Minh Dũng
a5ec506b60
feat: support Trino data-source ( #5411 )
...
* feat: add trino logo
* feat: add trino
2021-03-12 12:10:06 -08:00
Jiajie Zhong
d4f363854d
Add setting to identify email block domain ( #5377 )
...
* Add setting to identify email block domain
ref: #5368
* rename
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* rename and add comment
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* Update redash/handlers/users.py
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* Update redash/handlers/users.py
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* Add more comment to settting
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2021-03-12 12:06:41 -08:00
Omer Lachish
9fdf1f341d
Reset failure counter on adhoc success ( #5394 )
...
* reset failure counter when query completes successfully via adhoc
* Use "query_id" in metadata, but still allow "Query ID" for transition/legacy support
2021-03-12 12:02:29 -08:00
Rafael Wendel
10bce2d1ac
Refactor of Link component ( #5418 )
...
* Refactor of link component
* Applied anchor-is-valid to Link component
* Fixed Eslint error
* Removed improper anchor uses
* Fixed TS errors
2021-03-11 11:07:01 -03:00
Rafael Wendel
b2636deef4
Add plain button ( #5419 )
...
* Add plain button
* Minor syntax improvements
2021-03-10 13:42:51 -03:00
Rafael Wendel
6cc69ec2c1
Initial a11y improvements ( #5408 )
...
* Fixed jsx-a11y problems
* Changed tabIndex to type number
* Initial improvements to DesktopNavbar accessibility
* Added accessibility to favorites list
* Improved accessibility in Desktop Navbar
* Improvements in Desktop navbar semantics
* Added aria roles to tags list
* Fixed tabindex type
* Improved aria labels in query control dropdown
* Added tab for help trigger close button
* Fixed typo
* Improved accessibility in query selector
* Changed resizable role to separator
* Added label to empty state close button
* Removed redundant and mistaken roles
* Used semantic components
* Removed tabIndex from anchor tags
* Removed mistakenly set menuitem role from anchors
* Removed tabIndex from Link components
* Removed improper hidden aria label from icon
* Reverted button and link roles in anchors for minimal merge conflicts
* Replaced alt attr with aria-label for icons
* Removed redundant menu role
* Improved accessibility of CodeBlock
* Removed improper role from schema browser
* Reverted favorites list to div
* Removed improper presentation role in query snippets
* Tracked changes for further PR
* Revert "Improved accessibility of CodeBlock"
* Add aria-labelledby to the associated code labels
This reverts commit 00a1685b1b .
* Wrapped close icon into button
2021-03-04 16:30:31 -03:00
Omer Lachish
46e97a08cc
Upgrade RQ to v1.5 ( #5207 )
...
* upgrade RQ to v1.5
* set job's started_at
* update healthcheck to match string worker names
* delay worker healthcheck for 5 minutes from start to allow enough time to load in case many workers try to load simultaneously
* log when worker cannot be found
2021-02-15 22:52:53 +02:00
Levko Kravets
640fea5e47
Fix duplicate stylesheets ( #5396 )
2021-02-14 22:16:06 +02:00
Rafael Wendel
c865293aaa
Revert "Updated axios ( #5371 )" ( #5385 )
...
This reverts commit 49536de1ed .
2021-02-02 17:59:53 -03:00
Omer Lachish
3d3f6b1916
extend sync_user_details expiry ( #5330 )
2021-02-02 16:30:38 +02:00
Justin Talbot
0e1587a068
Add My Dashboards filter option to the Dashboards list ( #5375 )
...
* Add My Dashboards filter option to the Dashboards list. Added API endpoint to get the list of a user's dashboards, similar to the My Queries feature.
* Update empty dashboard list state to show an invite to create a new dashboard, like My Queries
* Update to Levko's suggested approach. Clean up some of the formatting for consistency. Put the 'My Queries/Dashboards' item before the Favorites since that organization seems cleaner to me.
* Address Levko's comments
2021-02-02 12:37:48 +02:00
Rafael Wendel
04edf16ed4
Increased waiting time to avoid flakiness ( #5370 )
2021-01-28 15:02:36 -03:00
Rafael Wendel
49536de1ed
Updated axios ( #5371 )
2021-01-28 14:48:36 -03:00
dependabot[bot]
2f1394a6f4
Bump axios from 0.19.0 to 0.21.1 ( #5366 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.19.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.19.0...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 21:49:32 -03:00
dependabot[bot]
911f398006
Bump bl from 1.2.2 to 1.2.3 in /viz-lib ( #5257 )
...
Bumps [bl](https://github.com/rvagg/bl ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rvagg/bl/releases )
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 16:52:14 -03:00
dependabot[bot]
b0b1d6c81c
Bump dompurify from 2.0.8 to 2.0.17 in /viz-lib ( #5326 )
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.0.8 to 2.0.17.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.8...2.0.17 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 13:44:11 -03:00
Rafael Wendel
23a279f318
Fix for Cypress flakiness generated by param_spec ( #5349 )
2021-01-22 21:03:15 -03:00
Arik Fraimovich
e71ccf5de5
Fix: add a merge migration to solve multi head issue ( #5364 )
...
* Add unit test to test for multi-head migrations issue
* Add merge migration
2021-01-21 10:55:52 -08:00
Jiajie Zhong
bb42e92cd0
Remove unnecessary space in rq log ( #5345 )
2021-01-20 19:45:16 -08:00
Patrick Yang
4ec96caac5
Encrypt alert notification destinations ( #5317 )
2021-01-20 19:40:53 -08:00
Vipul Mathur
829247c2d2
Use legacy resolver in pip to fix broken build ( #5309 )
...
Fixes #5300 and fixes #5307
There have been upstream (`python:37-slim` image) changes that
bring in `pip` version 20.3.1, which makes new `2020-resolver`
the default. Due to that, un-resolvable dependency conflicts
in `requirements_all_ds.txt` now cause the build to fail.
This is a workaround until the package versions can be updated
to work with the new pip resolver.
2021-01-20 12:17:39 -08:00
Rafael Wendel
7d33af4343
Fix inconsistent Sankey behavior ( #5286 )
...
* added type casting to coerce number string into nuber
* Merge branch 'master' into fix-inconsistent=sankey-behavior
* typed map viz options
* Partially typed what was possible
* reworked data coercion
* improved MapOptionsType types
* readaqueted sankey rows so as to allow strings again
2021-01-12 23:54:14 -03:00
Rafael Wendel
84c2abed59
Add reorder to dashboard parameter widgets ( #5267 )
...
* added paramOrder prop
* minor refactor
* moved logic to widget
* Added paramOrder to widget API call
* Update client/app/components/dashboards/dashboard-widget/VisualizationWidget.jsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* Merge branch 'master' into reorder-dashboard-parameters
* experimental removal of helper element
* cleaner comment
* Added dashboard global params logic
* Added backend logic for dashboard options
* Removed testing leftovers
* removed appending sortable to parent component behavior
* Revert "Added backend logic for dashboard options"
This reverts commit 41ae2ce475 .
* Re-structured backend options
* removed temporary edits
* Added dashboard/widget param reorder cypress tests
* Separated edit and sorting permission
* added options to public dashboard serializer
* Removed undesirable events from drag
* Bring back attaching sortable to its parent
This reverts commit 163fb6fef5 .
* Added prop to control draggable destination parent
* Removed paramOrder fallback
* WIP (for Netflify preview)
* fixup! Added prop to control draggable destination parent
* Better drag and drop styling and fix for the padding
* Revert "WIP (for Netflify preview)"
This reverts commit 433e11edc3 .
* Improved dashboard parameter Cypress test
* Standardized reorder styling
* Changed dashboard param reorder to edit mode only
* fixup! Improved dashboard parameter Cypress test
* fixup! Improved dashboard parameter Cypress test
* Fix for Cypress CI error
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2021-01-11 15:18:50 -03:00
Christopher Grant
8b068dfd0b
Truncate large Databricks ODBC result sizes ( #5290 )
...
Truncates results sets that exceed a limit taken from an environment
variable called DATABRICKS_ROW_LIMIT.
2021-01-08 15:20:11 -06:00
Rafael Wendel
06eb868120
Bar chart e2e test ( #5279 )
...
* created bar-chart e2e test boilerplate
* refactored assertions
* added snapshots and dashboard
* refactored assertions to properly deal with async
* replaced loops with getters for proper workings of cypress
* added a couple other bar charts
* ran prettier
* added a better query for bar charts
* removed leftovers
* moved helpers to support folder
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2021-01-06 15:13:33 -03:00
Patrick Yang
52ae7bedb2
Secret handling for Yandex, TreasureData, & Postgres/CockroachDB SSL ( #5312 )
2021-01-05 11:47:54 -08:00
Tim Gates
fbe57de53c
docs: fix simple typo, possbily -> possibly ( #5329 )
...
There is a small typo in redash/settings/__init__.py.
Should read `possibly` rather than `possbily`.
2021-01-05 12:43:14 +02:00
Patrick Yang
db0cb98ed3
Add Username and Password fields to MongoDB config ( #5314 )
2021-01-04 23:14:16 -08:00
Rafael Wendel
dcdff66e62
Dropdown param search fix ( #5304 )
...
* fixed QueryBasedParamterInput optionFilterProp
* added optionFilterProp fallback for SelectWithVirtualScroll
* simplified syntax
* removed optionFilterProp from QueryBasedParameterInput.jsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* restricted SelectWithVirtualScroll props
* Added e2e test for parameter filters
* moved filter assertion to more suitable place
* created helper for option filter prop assertion
* moved option filter prop assertion to proper place, added result update assertion
* refactor openAndSearchAntdDropdown helper
* Fix parameter_spec
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-12-17 21:56:46 -03:00
Patrick Yang
d0793c4ba8
Obfuscate non-email alert destinations ( #5318 )
2020-12-16 15:39:30 -08:00
Lingkai Kong
7b8bcdf356
change item element in system status page ( #5323 )
2020-12-16 11:22:19 -08:00
Elad Ossadon
c290864ccd
Convert viz-lib to TypeScript ( #5310 )
...
Co-authored-by: ts-migrate <>
2020-12-15 18:21:37 -08:00
Rafael Wendel
b70e95a323
added eslint no-console ( #5305 )
...
* added eslint no-console
* Update client/.eslintrc.js to allow warnings
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-12-14 10:09:43 -03:00
Elad Ossadon
18ee5343aa
Sync date format from settings with clientConfig ( #5299 )
2020-12-10 11:16:31 -08:00
Elad Ossadon
fdf636a393
Fix disabled hot reload flow ( #5306 )
2020-12-07 16:02:52 -08:00
Rafael Wendel
88c13868a3
removed leftover console.log ( #5303 )
2020-12-07 17:21:40 -03:00
Elad Ossadon
aab11dc79b
Add React Fast Refresh + Hot Module Reloading ( #5291 )
2020-12-07 11:46:46 -08:00
Elad Ossadon
00c77cf36e
Redesign desktop nav bar ( #5294 )
2020-12-06 12:09:19 -08:00
Rafael Wendel
6e2631dec2
Changed 'Delete Alert' into 'Delete' for consistency ( #5287 )
2020-11-30 18:48:35 -03:00
Rafael Wendel
4b88959341
Fix QuerySourceDropdown value type ( #5284 )
2020-11-24 11:42:20 -03:00
Rafael Wendel
fa2b57a209
Remove unwanted props from Select component ( #5277 )
...
* Explicitly selected props so as to avoid errors from non-wanted props
* Simplified approach
* Ran prettier 😬
* Fixed minor issues
2020-11-22 13:07:56 -03:00
Jiajie Zhong
132fed64b3
Correct cleanup_query_results comment ( #5276 )
...
Correct comment from QUERY_RESULTS_MAX_AGE
to QUERY_RESULTS_CLEANUP_MAX_AGE
2020-11-20 23:11:13 +02:00
Gabriel Dutra
fa7ecca485
Frontend updates from internal fork ( #5259 )
...
* DynamicComponent for QuerySourceAlerts
* General Settings updates
* Dynamic Date[Range] updates
* EmptyState updates
* Query and SchemaBrowser updates
* Adjust page headers and add disablePublish
* Policy updates
* Separate Home FavoritesList component
* Update FormatQuery
* Autolimit frontend fixes
* Misc updates
* Keep registering of QuerySourceDropdown
* Undo changes in DynamicComponent
* Change sql-formatter package.json syntax
* Allow opening help trigger in new tab
* Don't run npm commands as root in Dockerfile
* Cypress: Remove extra execute query
2020-11-10 14:59:15 +02:00
deecay
8f484706b1
Enable Boxplot to be horizontal ( #5262 )
2020-11-08 23:17:08 +02:00
Josh Bohde
e2e8714155
Enable graceful shutdown of rq workers ( #5214 )
...
* Enable graceful shutdown of rq workers
* Use `exec` in the `worker` command of the entrypoint to propagate
the `TERM` signal
* Allow rq processes managed by supervisor to exit without restart on
expected status codes
* Allow supervisorctl to contact the running supervisor
* Add a `shutdown_worker` command that will send `TERM` to all running
worker processes and then sleep. This allows orchestration systems
to initiate a graceful shutdown before sending `SIGTERM` to
supervisord
* Use Heroku worker as the BaseWorker
This implements a graceful shutdown on SIGTERM, which simplifies
external shutdown procedures.
* Fix imports based upon review
* Remove supervisorctl config
2020-11-05 11:49:45 +02:00
Jerry
c6bf8a1c55
bugfix: fix #5254 ( #5255 )
...
Co-authored-by: Jerry <jerry.yuan@webweye.com >
2020-11-04 20:56:41 +02:00
Rafael Wendel
12f71925c2
Multiselect dropdown slowness (fix) ( #5221 )
...
* created util to estimate reasonable width for dropdown
* removed unused import
* improved calculation of item percentile
* added getItemOfPercentileLength to relevant spots
* added getItemOfPercentileLength to relevant spots
* Added missing import
* created custom select element
* added check for property path
* removed uses of percentile util
* gave up on getting element reference
* finished testing Select component
* removed unused imports
* removed older uses of Option component
* added canvas calculation
* removed minWidth from Select
* improved calculation
* added fallbacks
* added estimated offset
* removed leftovers 😅
* replaced to percentiles to max value
* switched to memo and renamed component
* proper useMemo syntax
* Update client/app/components/Select.tsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* created custom restrictive types
* added quick const
* fixed style
* fixed generics
* added pos absolute to fix percy
* removed custom select from ParameterMappingInput
* applied prettier
* Revert "added pos absolute to fix percy"
This reverts commit 4daf1d4bef .
* Pin Percy version to 0.24.3
* Update client/app/components/ParameterMappingInput.jsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* renamed Select.jsx to SelectWithVirtualScroll
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-11-03 21:50:39 +02:00
Omer Lachish
cae088f35b
extend the refresh_queries timeout from 3 minutes to 10 minutes ( #5253 )
2020-11-02 22:36:57 +02:00
Rafael Wendel
a3c79f26b9
Fix for the typo button in ParameterMappingInput ( #5244 )
2020-10-29 17:24:13 -03:00
Jonathan Hult
c7c92a3192
Fix annotation bug causing queries not to run - ORA-00933 ( #5179 )
2020-10-28 10:03:26 +02:00
Rafael Wendel
55cf17aa47
added required to Form.Item and Input for better UI ( #5231 )
...
* added required to Form.Item and Input for better UI
* removed required from input
* Revert "removed required from input"
This reverts commit b56cd76fa1 .
* Redo "removed required from input"
* removed typo
Co-authored-by: rafawendel2010@gmail.com <rafawendel>
2020-10-28 09:37:16 +02:00
Levko Kravets
8dd76a00c5
Fix dashboard background grid ( #5238 )
2020-10-26 21:46:38 +02:00
Christopher Grant
e242ac2b10
Static SAML configuration and assertion encryption ( #5175 )
...
* Change front-end and data model for SAML2 auth - static configuration
* Add changes to use inline metadata.
* add switch for static and dynamic SAML configurations
* Fixed config of backend static/dynamic to match UI
* add ability to encrypt/decrypt SAML assertions with pem and crt files. Upgraded to pysaml2 6.1.0 to mitigate signature mismatch during decryption
* remove print debug statement
* Use utility to find xmlsec binary for encryption, formatting saml_auth module
* format SAML Javascript, revert want_signed_response to pre-PR value
* pysaml2's entityid should point to the sp, not the idp
* add logging for entityid for validation
* use mustache_render instead of string formatting. put all static logic into static branch
* move mustache template for inline saml metadata to the global level
* Incorporate SAML type with Enabled setting
* Update client/app/pages/settings/components/AuthSettings/SAMLSettings.jsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Chad Chen <chad.chen@databricks.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-10-25 12:06:45 -03:00
Gabriel Dutra
66463aedd4
Fix Home EmptyState help link ( #5217 )
2020-10-16 11:53:21 -03:00
Rafael Wendel
8a6524c1ba
Add horizontal bar chart ( #5154 )
...
* added bar chart boilerplate
* added x/y manipulation
* replaced x/y management to inner series preparer
* added tests
* moved axis inversion to all charts series
* removed line and area
* inverted labels ui
* removed normalizer check, simplified inverted axes check
* finished working hbar
* minor review
* added conditional title to YAxis
* generalized horizontal chart for line charts, resetted state on globalSeriesType change
* fixed updates
* fixed updates to layout
* fixed minor issues
* removed right Y axis when axes inverted
* ran prettier
* fixed updater function conflict and misuse of getOptions
* renamed inverted to swapped
* created mappingtypes for swapped columns
* removed unused import
* minor polishing
* improved series behaviour in h-bar
* minor fix
* added basic filter to ChartTypeSelect
* final setup of filtered chart types
* Update viz-lib/src/components/visualizations/editor/createTabbedEditor.jsx
* added proptypes and renamed ChartTypeSelect props
* Add missing import
* fixed import, moved result array to global scope
* merged import
* clearer naming in ChartTypeSelect
* better lodash map syntax
* fixed global modification
* moved result inside useMemo
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-10-15 21:34:38 +03:00
Gabriel Dutra
9097feb100
Frontend updates from internal fork ( #5209 )
2020-10-15 14:25:22 -03:00
Gabriel Dutra
db4e97fa6f
Remove build args from Cypress start script ( #5203 )
2020-10-09 12:23:14 -03:00
Levko Kravets
0d4615a482
Extra actions on Queries and Dashboards pages ( #5201 )
...
* Extra actions for Query View and Query Source pages
* Convert Queries List page to functional component
* Convert Dashboards List page to functional component
* Extra actions for Query List page
* Extra actions for Dashboard List page
* Extra actions for Dashboard page
* Pass some extra data to Dashboard.HeaderExtra component
* CR1
2020-10-09 12:12:56 +03:00
Alexander Rusanov
ff008a076b
Updated Cypress to v5.3 and fixed e2e tests ( #5199 )
...
* Upgraded Cypress to v5.3 and fixed e2e tests
* Updated cypress image
* Fixed failing tests
* Updated NODE_VERSION in netlify
* Update client/cypress/integration/visualizations/choropleth_spec.js
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* fixed test in choropleth
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-10-06 16:06:47 -03:00
Gabriel Dutra
8d548ecbac
Share Embed Spec: Make sure query is executed ( #5191 )
2020-10-04 16:01:30 +03:00
Gabriel Dutra
2992c382d1
ScheduleDialog: Filter empty interval groups ( #5196 )
2020-10-03 05:54:05 +03:00
Gabriel Dutra
f4dcb2918a
Move Cypress to dev dependencies ( #3991 )
...
* Test Cypress on package list
* Skip Puppeteer Chromium as well
* Put back missing npm install on netlify.toml
* Netlify: move env vars to build.environment
* Remove cypress:install script
* Update Cypress dockerfile
* Copy package-lock.json to Cypress dockerfile
2020-09-29 09:51:28 +03:00
Gabriel Dutra
c821cab4cb
Generate Code Coverage report for Cypress ( #5137 )
2020-09-28 21:43:04 -03:00
Levko Kravets
4fb77867b0
Align Y axes at zero ( #5053 )
...
* Align Y axes as zero
* Fix typo (with @deecay)
* Add alignYAxesAtZero function
* Avoid 0 division
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-09-28 13:12:40 +03:00
Levko Kravets
a473611cb0
Some Choropleth improvements/refactoring ( #5186 )
...
* Directly map query results column to GeoJSON property
* Use cache for geoJson requests
* Don't handle bounds changes while loading geoJson data
* Choropleth: fix map "jumping" on load; don't save bounds if user didn't edit them; refine code a bit
* Improve cache
* Optimize Japan Perfectures map (remove irrelevant GeoJson properties)
* Improve getOptions for Choropleth; remove unused code
* Fix test
* Add US states map
* Convert USA map to Albers projection
* Allow to specify user-friendly field names for maps
2020-09-24 14:39:09 +03:00
Levko Kravets
210008c714
Ask user to log in when session expires ( #5178 )
...
* Ask user to log in when session expires
* Update implementation
* Update implementation
* Minor fix
* Update modal
* Do not intercept calls to api/session as Auth.requireSession() relies on it
* Refine code; adjust popup size and position
2020-09-23 16:30:08 +03:00
Omer Lachish
aa5d4f5f4e
add 'cancelled' meta directive to all cancelled jobs ( #5187 )
2020-09-23 12:54:48 +03:00
Omer Lachish
6b811c5245
Refresh CSRF tokens ( #5177 )
...
* expire CSRF tokens after 6 hours
* use axios' built-in cookie to header copy mechanism
* add axios-auth-refresh
* retry CSRF-related 400 errors by refreshing the cookie
* export the auth refresh interceptor to support ejecting it if neccessary
* reject the original request if it's unrelated to CSRF
2020-09-21 23:21:14 +03:00
Levko Kravets
83726da48a
Keep additional URL params when forking a query ( #5184 )
2020-09-21 12:54:55 +03:00
Levko Kravets
72dc157bbe
Allow to clear selected tags on list pages ( #5142 )
...
* Convert TagsList to functional component
* Convert TagsList to typescript
* Allow to unselect all tags
* Add title to Tags block and explicit "clear filter" button
* Some tweaks
2020-09-17 14:01:15 +03:00
Lingkai Kong
1b8ff8e810
Add default limit (1000) to SQL queries ( #5088 )
...
* add default limit 1000
* Add frontend changes and connect to backend
* Fix query hash because of default limit
* fix CircleCI test
* adjust for comment
2020-09-14 14:18:31 +03:00
Omer Lachish
31ddd0fb79
prevent assigning queries to view_only data sources ( #5152 )
2020-09-10 15:43:25 +03:00
Levko Kravets
5cabf7a724
Keep selected filters when switching visualizations ( #5146 )
...
* getredash/redash#4944 Query pages: keep selected filters when switching visualizations
* Pass current filters to expanded widget modal
2020-09-10 13:42:53 +03:00
max-voronov
59b135ace7
Move CardsList to typescript ( #5136 )
...
* Refactor CardsList - pass a suffix for list item
Adding :id to an item to be used as a key suffix is redundant and the same
can be accomplished by using :index from the map function.
* Move CardsList to typescript
* Convert CardsList component to functional component
* CR1
* CR2
2020-09-05 20:08:01 +03:00
Gabriel Dutra
32b41e4112
Misc frontend changes from internal fork ( #5143 )
2020-09-04 08:00:30 -03:00
Gabriel Dutra
2e31b91054
Antd v4: Fix CreateUserDialog ( #5139 )
...
* Antd v4: Update CreateUserDialog
* Add Cypress test for user creation
2020-09-04 07:57:43 -03:00
Gabriel Dutra
205915e6db
Add toggle to disable public URLs ( #5140 )
...
* Add toggle to disable public URLs
* Add Cypress tests
2020-09-01 08:49:30 -03:00
Levko Kravets
b7c245f925
Support multiple queries in a single query box ( #5058 )
...
* Support multiple queries in a single query box
* Implement statement splitting function and add tests for it
* Add a test for databricks-specific syntax
* Split statements before running query
2020-08-30 15:54:16 +03:00
Levko Kravets
681b2f1abd
Introduce Link component ( #5122 )
...
* Introduce Link component
* Use Link component for external links as well
* Remove unused file (I hope it's really not needed)
* Use Link component in visualizations library
* Simplify Link component implementation
* CR1
* Trigger build
* CR2
2020-08-30 15:33:38 +03:00
Gabriel Dutra
a31196aef8
Upgrade Ant Design to v4 ( #5068 )
2020-08-25 14:24:15 -03:00
Arik Fraimovich
596e5bee3a
Misc changes to codebase back ported from internal fork - part 2 ( #5130 )
...
* Auth: make login url configurable.
* More portable image url.
* durationHumanize: support for milliseconds.
* Sorter: support for custom sort.
2020-08-25 15:08:07 +03:00
Arik Fraimovich
84d516bfd1
Misc changes to codebase back ported from internal fork ( #5129 )
...
* Set corejs version in .babelrc so Jest doesn't complain.
* Rewrite services/routes in TypeScript.
* Add TypeScript definitions for DialogComponent.
* Make image paths more portable
* Add current route context and hook.
* Make EmptyState more flexible by being able to pass in getSteps function.
* Rewrite ItemsList in TypeScript.
* Introduce the possibility to add custom sorters for a column.
* Rearrange props to be friendly to TypeScript.
* Type definitions for NotificationApi.
* Use Databricks query editor components for databricks_internal type of query runner.
* URL Escape password in Alembic configuration.
* Compare types in migrations.
2020-08-25 14:11:38 +03:00
Gabriel Dutra
2cc3bd3d54
Add DynamicComponent to PermissionsControl flag ( #5116 )
2020-08-21 17:14:19 -03:00
Gabriel Dutra
ac652c20bf
Fix create link on data sources page ( #5121 )
...
* Fix create link on data sources page
* Cypress: Add test that the source dialog opens
2020-08-21 16:47:42 -03:00
Gabriel Dutra
1bc6cd8f41
Keep widget loading when fetch request is replaced ( #5118 )
2020-08-20 19:00:57 -03:00
Levko Kravets
4c70b5ce8e
Remove content width limit on all pages ( #5091 )
...
* Remove content width limit on all pages
* Update client/app/assets/less/inc/base.less
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* Remove content limit; limit sidebar width
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-08-20 15:04:53 +03:00
Omer Lachish
de052ff02b
Cypress touch-ups ( #5109 )
...
* allow non-sequential IDs for DataSources in Cypress tests
* refactor redash-api to a set of Cypress commands
* support mounting Redash endpoints in Cypress routes
* fix some parameter specs by waiting for schema to load
* extract baseUrl from cypress.json
* Restyled by prettier (#5110 )
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2020-08-19 21:00:06 +03:00
Gabriel Dutra
a596d6558c
Use Skeleton as ItemsList loading state ( #5079 )
2020-08-19 09:36:11 -03:00
Gabriel Dutra
fc71acdc09
Make DataSourceListComponent a dynamic component ( #5113 )
2020-08-19 08:59:53 -03:00
Gabriel Dutra
b326d36ae8
Update Organization Settings ( #5114 )
...
* Update Organization Settings
* Cypress: Update tab naming
2020-08-19 13:09:28 +03:00
Omer Lachish
378cc57d42
CSRF Exempts ( #5108 )
...
* if present, always convert CSRF cookies to headers
* exempt auth blueprints from CSRF protection
* respect CSRF exempts
2020-08-17 22:39:46 +03:00
peterlee
83c6a6bcd2
Make table visualization header fixed ( #5103 )
...
* add lock table header
* Move styling to a new class
* Update renderer.less
* Move class to table and fix top border
* Update renderer.less
* Update viz-lib/src/visualizations/table/renderer.less
Thanks, this change is good to me.
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-08-17 09:26:34 -03:00
Omer Lachish
5afd0554d0
Add support for CSRF tokens ( #5055 )
...
* add flask-wtf
* add CSRF tokens to all static forms
* add CSRF tokens to all axios requests
* disable CSRF validation in unit tests
* support CSRF-protected requests in *most* cypress tests
* don't enfroce CSRF checks by default
* avoid CSRF enforcement in unit tests
* remove redundant spread
* some camel casing hiccups
* always yield the CSRF cookie, but avoid enforcing it if CSRF toggle is off
* Restyled by prettier (#5056 )
Co-authored-by: Restyled.io <commits@restyled.io >
* set a CSRF header only if cookie is present
* enforce CSRF in CI
* install lodash directly for Cypress
* install request-cookies directly for Cypress. We should probably start loading package.json deps
* enable CSRF support when logout and login happen within the same spec
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2020-08-09 15:47:00 +03:00
Levko Kravets
eb603f63f0
Bar chart with second y axis overlaps data series ( #4150 )
2020-08-05 20:28:03 +03:00
Arik Fraimovich
6c00f7c4e3
Add: periodic job to remove ghost locks. ( #5087 )
2020-08-05 17:48:19 +03:00
koooge
f56f4c4899
fix: Compose version due to --build-arg ( #5083 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-08-05 12:41:25 +03:00
Tobias Macey
d3b639a68a
Exposing setting for overriding template directory ( #4324 )
...
When using some of the customized login flows such as `REMOTE_USER` the deployed site breaks due to not finding template files. This change updated the app default to use the existing Flask templates directory rather than the compiled static assets directory which only contains an index.html file.
2020-08-04 12:05:43 +03:00
Gabriel Dutra
3332b656ac
Make sure Policy is loaded for user session ( #5081 )
2020-07-31 01:39:30 -03:00
Gabriel Dutra
24c95379ca
Introduce caching to the Databricks Schema Browser ( #5038 )
...
* Add refresh button in the bottom
* Add caching
* Drop allSettled
* Simplify refresh button
* Update error to return 500
* Load tables before loading columns
* Don't mutate schema
* Reset db name and schemas when changing data source
* Load both tables and columns
* Return error with code 200
* Code review updates
* Add expiration time to the cache Keys
* Back with RQ
2020-07-30 15:16:14 +03:00
Levko Kravets
93b4be672f
Queries list: move "My Queries" above "Archived" ( #5072 )
2020-07-28 19:53:22 +03:00
Gabriel Dutra
f3a47a9658
Move page size select to the Paginator component ( #5064 )
2020-07-27 16:52:09 -03:00
Omer Lachish
7804dfd68e
loosen up some proptypes and backend casting to allow different primary key types ( #5066 )
2020-07-27 17:01:59 +03:00
Ben Amor
2dacd08bea
Add override mechanism for webpack config ( #5057 )
2020-07-27 14:52:02 +03:00
Gabriel Dutra
fd76a2ecfb
Add Column Type to Databricks schema browser ( #5052 )
...
* Add Column Type to Databricks schema browser
* Map schema columns to be an object
* Format pg with Black
* Add data_type for Postgres
2020-07-23 12:52:09 +03:00
Omer Lachish
7f98d7b694
Load extensions on db init ( #5062 )
...
* Only try to create tables and stamp DB if not tables exist already.
* load extensions when creating the database
2020-07-23 11:05:20 +03:00
Levko Kravets
a1255b4144
Fix wrong Y-axis range for stacked bar chart ( #5029 )
...
* getredash/redash#5026 Fix wrong Y-axis range for stacked bar chart
* Update tests
* Use Plotly's built-in algorinthm to compute Y-axis range
* Update tests
* Revert previous solution (yRange-related code)
* Revert other unrelated changes
* Revert other unrelated changes
* Move chart rendering to own file and ensure that rendering steps will occur in necessary order
* Reduce amount of plot updates by mergin separate updates into a sigle cumulative update
* Give better names for several functions
2020-07-17 11:28:15 +03:00
dependabot[bot]
6c349ea70a
Bump lodash from 4.17.15 to 4.17.19 in /viz-lib ( #5051 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-16 22:41:16 -03:00
Omer Lachish
95c28c47ad
Eager load outdated queries ( #5049 )
...
* eager load outdated queries
* explicitly use .all() instead of list()
2020-07-16 23:29:47 +03:00
simonschneider-db
48924de700
Add TypeScript support ( #5027 )
...
* TASK Add typescript dependencies to package.json
* TASK Add typescript to build process and npm scripts and TASK Move example components to typescript and add an example definition file.
* TASK Move back to ts-loader instead of babel typescript preset
* FIX Remove unnecessary changes
* FIX Explicitly mention tsconfig file in webpack.config.js to avoid `error while parsing tsconfig.json, The 'files' list in config file 'tsconfig.json' is empty`
See (https://github.com/TypeStrong/ts-loader/issues/405#issuecomment-330108362 )
* FIX Move tsconfig to client subdirectory to make it accessible in docker container (only webpack.config.js is copied over from root folder in Dockerfile)
* TASK Move from ts-loader to babel to reduce compatibility issues between ES6/7 and typescript compilation.
* TASK Add types for classnames, hoist-non-react-statics and lodash. Fix default export of DashboardList and run prettier on eslintrc
* Run npm install
* Trigger tests
* Run npm install 2
* Trigger tests
2020-07-16 23:05:44 +03:00
Jannis Leidel
41a691328a
Fix bundle-extensions script to work on recent importlib-resources. ( #5050 )
...
Also adds a test case for running the script.
2020-07-16 23:05:22 +03:00
Omer Lachish
cb97364771
Dashboard URL does not show new name when dashboard name is updated ( #1009 )
...
* on dashboard api calls - take the id from the beginning of the slug, unless there is no number in it - in that case, take the entire slug as id
* add dashboard id when showing links to dashboards
* change path to include new name when renaming dashboards
* move slug generation to backend
* redirect to new name after changing (this time with a proper promise)
* oh right, we already have a slug function
* add spec that makes sure that renamed dashboards are redirected to the
url which contains their new name
* use id-slug in all Cypress specs
* move dashboards from /dashboard/:slug to /dashboards/:id-:name_as_slug
* Update dashboard url as its name changes
* Update separator to be "/"
* Update missing dashboard urls
* Update api not to depend on int id
* Use '-' instead of '/' as separator and update Dashboard.get calls
* slug -> name_as_slug
* Keep slug urls on cypress
* Update route path
* Use legacy attr for GET
* Use getter for urlForDashboard
* Update dashboard url when loaded by slug
* Update Dashboard routes to use id instead of slug
* Update Dashboard handler tests
* Update Cypress tests
* Fix create new dashboard spec
* Use axios { params }
* Drop Ternary operator
* Send updated slug directly in 'slug' attr
* Update multiple urls Dashboard test name
* Update route names
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-07-16 23:03:59 +03:00
Gabriel Dutra
d12691dc2a
Databricks Schema Browser: Allow eventlet worker instead of RQ ( #5045 )
...
* Add loading button in UI
* Handle databricks schema requests without RQ
* Don't use gevent worker
* Revert "Don't use gevent worker"
This reverts commit 9704c70a94 .
* Use eventlet
* Use first column instead of 'namespace' one
* Revert "Add loading button in UI"
This reverts commit c0e4dfb966 .
* Remove databricks tasks
* Update eventlet
* Add libevent
* Display logs on failure
* Revert "Add libevent"
This reverts commit a00d067cb7 .
* Test updating gunicorn
* Don't set eventlet as the default for Redash
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
* Remove fetchDataFromJob usage
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-07-15 17:35:59 +03:00
Levko Kravets
6f9e79c641
getredash/redash#5031 Counter is too large on Query View/Source pages ( #5044 )
2020-07-14 21:56:01 +03:00
Gabriel Dutra
461f98bbfc
Update Ace Editor version ( #5041 )
2020-07-14 10:02:33 -03:00
Levko Kravets
81e7c72d48
Allow to change order of legend items ( #5021 )
...
* Allow to change order of legend items
* Update tests
2020-07-13 19:08:51 +03:00
Gabriel Dutra
328f0f3f0c
Visualizations Library: Enhance docs ( #4946 )
2020-07-12 12:36:03 -03:00
Omer Lachish
ecb9adf903
purge_failed_jobs can take up to several minutes, so better have a proper timeout ( #5033 )
2020-07-12 10:18:38 +03:00
Gabriel Dutra
87e09f676e
Dynamic Form: Make default extra fields state a prop ( #5039 )
2020-07-09 12:39:25 -03:00
Gabriel Dutra
6fc5c803e0
Fix schema browser items height ( #5024 )
2020-07-08 11:55:10 -03:00
Gabriel Dutra
6c57aa448e
Query Source: Add Shift+Enter shortcut for query execution ( #5037 )
2020-07-08 10:36:16 -03:00
Lei Ni
878b297601
Fix: sorting queries by schedule was resulting in a wrong order ( #4954 )
...
* fix schedule sorting issue
* style change
* Update to meet code style.
* move the schedule sort to backend
* mod comment
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-07-07 21:29:12 +03:00
Levko Kravets
9c0450c84e
Explicitly sort routes to reduce a chance of conflicts ( #5020 )
...
* Explicitly sort routes to reduce (avoid at all?) a chance of conflicts
* Sort routes by params count
2020-07-03 21:11:39 +03:00
Levko Kravets
74f206614f
Refactor: extract commonly used pattern into hook ( #5022 )
2020-07-03 10:44:51 +03:00
Gabriel Dutra
2f26cf791c
Fix Databricks Schema Browser scrollbar ( #5023 )
2020-07-02 17:20:22 -03:00
Levko Kravets
c6be5758ad
Y-axis autoscale fails when min or max is set ( #4904 )
...
* getredash/redash#4784 Y-axis autoscale fails when min or max is set
* Update tests
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-07-02 20:33:20 +03:00
Alex Kovar
8341592b05
Add plus between tags to clarify how they are used #4628 ( #5017 )
...
Co-authored-by: Levko Kravets <kravets-levko@users.noreply.github.com >
Co-authored-by: Levko Kravets <kravets-levko@users.noreply.github.com >
2020-07-02 18:44:38 +03:00
Gabriel Dutra
a7edbf1e8d
Handle React exception when a function is provided ( #5016 )
2020-07-01 22:53:42 -03:00
Gabriel Dutra
217f41b586
Allow GET from non-admins on data source resource ( #4992 )
2020-07-01 10:10:24 -03:00
Gabriel Dutra
a8bd07e293
Databricks custom Schema Browser ( #5010 )
2020-07-01 10:09:18 -03:00
Omer Lachish
332c16b130
add a couple of missed custom key types hooks ( #5014 )
2020-07-01 12:39:46 +03:00
Vladislav Denisov
7940d36616
Python query runner fix ( #4966 )
...
* fixed print method
* fixed `.items()` error
* added extra builtins
* added guarded_unpack_sequence
2020-07-01 10:53:27 +03:00
Daniel Lang
68b70ed63b
Fixed broken custom JS visualization settings ( #5013 )
2020-07-01 01:22:07 -03:00
Gabriel Dutra
e0297835df
Add "Last 12 months" option to dynamic date ranges ( #5004 )
2020-06-30 09:56:00 -03:00
Omer Lachish
004bc7a2ac
Custom primary/foreign key types ( #5008 )
...
* allow overriding the type of key used for primary/foreign keys of the different models
* rename key_types to singular key_type
* add some documentation for `database_key_definitions`
2020-06-30 15:08:28 +03:00
Gabriel Dutra
efcf22079f
Allow private addresses when enforcing is disabled ( #4983 )
2020-06-30 10:54:49 +03:00
Levko Kravets
a83cb18cc5
Textbox: confirm close if text was changed ( #5009 )
...
* Textbox: confirm close if text was changed
* Update texting (with @gabrieldutra)
* Update texting
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-06-29 19:29:56 +03:00
Levko Kravets
1ecdf7b853
Too large visualization cause filters block to collapse ( #5007 )
2020-06-29 15:20:08 +03:00
Omer Lachish
90024ebc92
Delete locks for cancelled queries ( #5006 )
...
* delete locks for cancelled queries
* test that query cancellations do not prevent reenqueues
2020-06-29 13:09:01 +03:00
Gabriel Dutra
a37b7babbf
Remove pace-progress ( #4990 )
2020-06-28 15:27:48 -03:00
Mike Nason
8f4ac958b1
Fix org option in users create_root cli command ( #5003 )
...
Thanks @nason 👍
2020-06-25 22:02:46 +03:00
Omer Lachish
637d9837f4
Avoid purging operational queues ( #4973 )
...
* avoid purging operational queues
* schema queues actually run queries, so they should be purged
2020-06-25 15:35:50 +03:00
Levko Kravets
bdd3c3e735
Dynamically register frontend routes ( #4998 )
...
* Allow to override frontend routes
* Configure app before initializing ApplicationArea
* Refine code
2020-06-25 13:38:23 +03:00
Levko Kravets
6fc35510d3
Allow unregistering settings tabs ( #5000 )
2020-06-25 12:54:46 +03:00
Levko Kravets
6f842ef94a
Refactor User Profile page and add extension points to it ( #4996 )
...
* Move components specific to UserProfile page to corresponding folder
* Split UserProfile page into components
* Rename components, refine code a bit
* Add some extension points
* Fix margin
2020-06-25 12:03:19 +03:00
Levko Kravets
a563900f0a
Refactor Organization Settings and add extension points to it ( #4995 )
...
* Split OrganizationSettings page into components
* Update change handling: use objects instead of string keys, move some logic to more appropriate place
* Convert OrganizationSettings page to functional component and refine code a bit
* Add some extension points
* Improve onChange handler
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-06-24 12:36:45 +03:00
Gabriel Dutra
ee3930c64d
Catch QueryResultError on widget load ( #4991 )
2020-06-23 19:48:14 -03:00
Levko Kravets
10bff8b3b1
Some permissions fixes ( #4994 )
...
* Don't show New ... buttons on list pages if user doesn't have corresponding permissions
* Hide Create menu item if no create actions available
2020-06-23 22:56:24 +03:00
Jim Sparkman
a8510d1ad5
Fix CLI command for "status" ( #4989 )
...
* Fix CLI command for "status"
CLI command "status" can fail due to incorrect connection information to RQ.
This change matches the behavior from line 65 and solves the connection error.
* Move connection up to CLI entrypoint
2020-06-23 14:40:36 +03:00
Levko Kravets
3a543a4ab2
ErrorMessage is not centered ( #4981 )
...
* ErrorMessage is not centered
* Adjust ErrorMessage size on large screens
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-06-18 15:35:51 +03:00
Levko Kravets
2b1ba1ee33
Add New Dashboard/Query/Alert buttons to corresponding list pages ( #4976 )
2020-06-18 15:23:48 +03:00
Levko Kravets
4a54ad9d06
Add/Edit Tags dialog does not set focus on tags input ( #4979 )
...
* Refactor: convert EditTagsDialog to functional component; properly cleanup on destruction
* Pass focus to select when EditTagsDialog opens
2020-06-18 15:05:07 +03:00
Levko Kravets
676f560830
Navbar: show correct settings link for non-admin users ( #4978 )
...
* Non-admin users have an access to some settings, so need to show correct menu item in navbar
* Refine settings test
* Add some tests
2020-06-18 14:49:08 +03:00
Levko Kravets
98a5154345
Fix headless mode (didn't work with vertical navbar) ( #4977 )
...
* Fix headless mode (didn't work with vertical navbar)
* Fix header margins on public dashboard page
* Fix test
2020-06-17 11:10:12 +03:00
Gabriel Dutra
4c324ddc80
Custom Query components per Data Source type ( #4948 )
2020-06-15 16:13:10 -03:00
Gabriel Dutra
05c2233782
Don't reuse getErrorMessage ( #4968 )
2020-06-15 07:45:02 -03:00
Levko Kravets
0ac24e38a1
Vertical navbar ( #4859 )
...
* Vertical navbar
* Update vertical menu look and add create menu.
* Make query editor work with vertical nav.
* Dark mode
* Fix create menu & make sidebar fixed.
* Update Alert pages layout
* Update System status pages
* Update Queries and Dashboards list pages
* Update Query Source and Query View pages
* Use dark theme for mobile navbar
* Update Dashboard page: fix Add widget/textbox panel positioning
* Dashboard page: fix layout issues when container changes its size (fixes known issues: navbar expand/collapse, scrollbar appears/hides)
* Fix dashboard page sticky header (there was a 15px space above it)
* Fix embeds
* Extract desktop navbar component; move mobile navbar and its styles to ApplicationLayout folder
* Remove old app header
* Fix tests
* Restore version info block
* Make Percy capture entire page
* Make vertical navbar expand/collapse animation smoother (as it's currently impossible to disable it :-( )
* Fix misc UI issues (show Create label on expanded menu; fix some CSS; don't select items on click)
* Allow to override navbars with DynamicComponent
* Fix misc UI issues: expand/collapse button animation, menu items styles, menu expand/collapse animation
* Hide submenu arrow; show username when menu is expanded
* Refine CSS and make it more isolated; adjust colors
* Update tests
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-06-15 10:01:49 +03:00
Arik Fraimovich
d036df0ca1
V9 changelog (in master) ( #4967 )
...
* V9 Changelog: Initial Draft from Jesse
* V9 Changelog: Add later updates
* Adjust title spacing
* Apply Jesse's suggestions
Co-authored-by: Jesse <jesse@whitehouse.dev >
* provide an explanation on how to switch from Celery to RQ when upgrading to v9
* Update CHANGELOG.md
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* Add contributor names
* Update version.
* Update CHANGELOG
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Jesse <jesse@whitehouse.dev >
Co-authored-by: Omer Lachish <omer@rauchy.net >
2020-06-11 12:33:36 +03:00
Gabriel Dutra
56df870f39
Plotly Charts: use .legend to determine legends size ( #4935 )
...
* Plotly Charts: use .bg to determine legends size
* Test: remove hack for legend below plotly
* Revert "Test: remove hack for legend below plotly"
This reverts commit d8efb0c032 .
* Use .legend to calculate bounds
* Also update plots without legend
2020-06-11 12:30:55 +03:00
Arik Fraimovich
05540164e1
Small updates to Dockerfile ( #4964 )
2020-06-11 12:28:59 +03:00
Gabriel Dutra
bdb62365b1
Fix Sankey issue to render 1 and 5 stages ( #4965 )
...
* Sankey: Make sure last stage has "Exit"
* Sankey: Use 2 as min stage width size to render
* Use null instead of "Exit"
* Add comment about corresponding exit node
* Add multiple stages on Cypress test
2020-06-11 12:28:45 +03:00
Gabriel Dutra
6a12168f40
Make sure page updates when 'routes' changes ( #4962 )
2020-06-09 15:43:23 -03:00
Gabriel Dutra
ac0b494953
Fix Destination not returning custom error message ( #4959 )
2020-06-09 11:14:29 -03:00
Gabriel Dutra
77e8d70a64
Make sure queries have options and parameters ( #4952 )
2020-06-09 11:13:42 -03:00
Rob Hudson
8597b727a7
Update requirements_bundles versions and comment ( #4939 )
2020-06-09 13:38:29 +02:00
Omer Lachish
e233611840
Fix wrong Sentry exception messages on invalid parameters ( #4945 )
...
* don't join underlying exception message with commas when invalid parameter errors happen
* Revert "don't join underlying exception message with commas when invalid parameter errors happen"
This reverts commit 71a21b7ce6 .
* when a problem occurs during refresh_queries, report it as a RefreshQueriesError
2020-06-07 13:05:31 +03:00
Gabriel Dutra
dd6098d405
MongoDB: Only set readPreference when it has one ( #4947 )
...
* MongoDB: Only set readPreference when it has one
* Use .get for readPreference
2020-06-07 12:39:43 +03:00
Omer Lachish
d38d3b6b4d
support comma-separated queue lists for backward compatability (spaces are still supported) ( #4937 )
2020-06-03 15:13:52 +03:00
Gabriel Dutra
100c7be5e0
Return cached data source schema when available ( #4934 )
2020-06-02 11:26:53 +03:00
chulucninh09
733bc1c109
fix strftime format notation for second and millisecond ( #4922 )
2020-05-31 22:23:42 +03:00
Saravanan Selvamohan
19cc7f1be8
Added correct usage of the article ( #4911 )
...
Add an article - the level
Correct article usage - a schema browser
Consider adding hyphen - ready-made
Removed comma - environment
2020-05-31 22:22:01 +03:00
Arik Fraimovich
43e5c2aa11
Fix: auto hide Plotly Modebar ( #4930 )
...
* Only set value for displayModeBar if we want to hide it
* Update viz-lib/src/visualizations/chart/Renderer/PlotlyChart.jsx
2020-05-31 21:18:52 +03:00
Gabriel Dutra
376b317e2e
Update requests usages not to allow redirects ( #4924 )
...
* Update requests usages not to allow redirects
* Remove type from super()
Co-authored-by: Jannis Leidel <jannis@leidel.info >
Co-authored-by: Jannis Leidel <jannis@leidel.info >
2020-05-31 12:49:39 +03:00
Levko Kravets
d550427485
Fork button disabled on View Query page for non-admin users ( #4927 )
2020-05-29 11:41:07 +03:00
Ievgen Aleinikov
d1044c1963
Athena: set query cost ( #4077 )
2020-05-27 13:16:46 +03:00
Gabriel Dutra
46e18b0c6f
Use memoized query result data ( #4920 )
2020-05-26 11:30:31 -03:00
Levko Kravets
38dd3ff248
Fix flaky Map (Markers) tests ( #4915 )
...
* Fix flaky Map (Markers) tests
* Fix flaky Choropleth tests
2020-05-26 10:57:08 +03:00
Gabriel Dutra
6bac19c1e4
Use Antd Descriptions on Details visualization ( #4914 )
...
* Use Antd Descriptions for Details visualization
* Update styling
* Add some spacing to pagination
2020-05-26 09:52:03 +03:00
Gabriel Dutra
ce6bc2d64a
Update antd to v3.26.17 ( #4913 )
...
* Update antd to v3.26.17
* Remove custom bg color for danger button
* Update ScheduleDialog snapshot
2020-05-24 22:28:39 +03:00
Gabriel Dutra
27c4992003
Use lambda on options for destinations factory ( #4912 )
2020-05-24 22:22:01 +03:00
Gabriel Dutra
13e454de86
Update Query Page shortcuts for MacOS ( #4910 )
...
* Add Ctrl+Enter to run queries (for Mac)
* Check altKey and show as "Option" key when for Mac
2020-05-24 11:19:50 +03:00
Levko Kravets
f4c9d7db1a
getredash/redash#4692 When resizing chart to a certain size it errors out ( #4907 )
2020-05-24 11:17:25 +03:00
Gabriel Dutra
0d11d7bec2
Change visualizations build to be on postinstall instead of preinstall ( #4909 )
2020-05-22 11:07:52 -03:00
Arik Fraimovich
ec68e8bba3
Fix: table viz crashing when search is enabled ( #4899 )
...
* Fix: table viz crashing when search is enabled
* Replace that weird hack with more controlled code
* Don't clear search input, apply search when data changes
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-05-21 11:13:36 +03:00
chulucninh09
831512e52d
Fix: front-end error when parse python float nan ( #4903 )
...
* float nan or inf will be serialized as null instead of NaN
* Re-implement float nan serialization fix for consistency
2020-05-21 11:12:19 +03:00
Patrick Yang
dfc873fb8b
Add additional statsd metrics for worker/scheduler ( #4884 )
...
* Add additional statsd metrics for worker/scheduler
2020-05-20 14:35:55 -07:00
koooge
b117485571
chore: Skip dev install in frontend testing ( #4897 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-05-20 13:14:28 +03:00
Gianni Moschini
3661d6cbc5
Remove heroku bin/pre_compile file ( #4900 )
2020-05-20 13:02:39 +03:00
Jannis Leidel
a2217cc4ec
Set the schema item title attribute correctly. ( #4892 )
...
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-05-15 15:04:00 -03:00
Gabriel Dutra
a7ea94f69a
Pin @percy/agent version and update Cypress ( #4896 )
2020-05-15 14:22:43 -03:00
Gabriel Dutra
8010781f0d
Add private address check to BaseHTTPQueryRunner ( #4885 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-14 09:56:22 +03:00
Gabriel Dutra
7c8874b8ee
Fix HelpTrigger in header not working ( #4887 )
2020-05-12 12:56:04 -03:00
Arik Fraimovich
8907a86e33
Make frontend build in Docker image optional ( #4879 )
...
* Add build arg to Dockerfile to control if we should build frontend assets
* Move more env settings into the shared one.
* Use build arg in docker-compose to skip frontend build.
* CirlceCI: Skip building frontend assets in backend tests
* Create dummy template files
* Expand file names manually.
* Add build arg to skip dev dependencies.
* Update Dockerfile
* Reverse logic of skip_dev_deps to what it should be.
2020-05-12 16:46:53 +03:00
Gabriel Dutra
22f0030864
Add release to html webpack config ( #4883 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-12 10:55:48 +03:00
Gabriel Dutra
baf16d2501
Oracle: Encoding fix ( #4882 )
...
* Oracle: Encoding fix
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
* Update redash/query_runner/oracle.py
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-12 10:54:32 +03:00
Gabriel Dutra
0446080d3f
Yandex Metrica: rename .host to .url. ( #4880 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-12 10:42:07 +03:00
Arik Fraimovich
a8a2964cb0
Make the Databricks driver URL and environment variable ( #4878 )
...
* Make the Databricks driver URL and environment variable
* Replace ENV with ARG
2020-05-11 13:24:11 +03:00
Omer Lachish
9562718a6a
Run queries through ad-hoc SSH tunnels ( #4797 )
...
* run queries through adhoc SSH tunnels
* reduce indent by losing try/else clause
* document host/port getters and setters
* handle forceful schema refreshes in RQ and poll for their results using the /jobs endpoint
* set schema refresh timeout to 5 minutes
* Restyled by prettier (#4847 )
Co-authored-by: Restyled.io <commits@restyled.io >
* send schema refresh errors as part of API response
* Use correct get_schema call.
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-11 13:22:40 +03:00
Takuya Arita
e470347d7f
Refactor docker-compose.yml for development ( #4544 )
...
* Update description for the new setup repository
* Refactor docker-compose.yml for development
* Use Docker Compose file v2
2020-05-11 13:01:32 +03:00
Gabriel Dutra
76aeab02eb
Postgres: Add support for uploading SSL certs ( #4871 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-08 09:42:00 +03:00
Gabriel Dutra
9568c74fd0
Sentry's Performance tracing ( #4872 )
...
* Upgrade sentry-sdk
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
* Move traces sample rate to configuration
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-08 09:40:20 +03:00
Gabriel Dutra
57287b2c0b
Fix: there is no host field. ( #4873 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-08 09:39:22 +03:00
Gabriel Dutra
6d857588a1
Log data source id on errors ( #4874 )
...
Co-authored-by: Omer Lachish <omer@rauchy.net >
Co-authored-by: Omer Lachish <omer@rauchy.net >
2020-05-08 08:59:06 +03:00
Levko Kravets
dc49585320
Add option to explicitly set chart legend position ( #4865 )
...
* Add option to explicitly set chart legend position
* Revert some chanes in order to fix tests
* Leave only "auto" and "below the plot" legend placement options
* Move Show legend checkbox to select; fix spelling
2020-05-07 17:21:31 +03:00
Gabriel Dutra
fc246aafc4
Separate visualizations into their own package ( #4837 )
...
* Add visualizations project settings
* Move visualizations to redash-visualizations
* Delete shared components
* Remove antd from deps
* Remove p-r-5 from table utils
* Remove visualization deps from package.json
* Rename package and change its version
* Test preinstall script
* Update Dockerfile build for frontend
* Test adding dockerignore
* Update jest tests
* Add step for jest tests
* Include viz-lib on dev commands
* User prettier v1 for now
* Delete unused libs on the app
* Add readme draft (to be finished)
* Add getOptions to Editor
* Add required libraries and finish basic example
* Bump version
2020-05-06 10:49:15 +03:00
Gabriel Dutra
4f8d2caed4
Cypress: Add tests for Filters ( #4757 )
2020-05-05 01:12:01 -03:00
Levko Kravets
27eab28405
Search in navbar works only for first search term ( #4857 )
...
* Queries list page: react on search term change (from navbar)
* Items List components: update search input value when changed "outside"
* Code style
2020-05-04 15:05:49 +03:00
Reynold Xin
8a9a2e7199
Minor tweak to README ( #4862 )
2020-05-04 10:23:02 +03:00
Reynold Xin
8d29e80013
A new intro paragraph to explain what Redash is ( #4861 )
...
* A new intro paragraph to explain what Redash is
We have been using Redash at Databricks and really love it. I took the time to work with Arik to create a better, more up-to-date description of the project.
* Add data sources
2020-05-03 23:43:11 +03:00
Gabriel Dutra
0e3d25c40c
Fix visualizations with filters not showing selected values ( #4854 )
2020-05-03 12:37:23 -03:00
Arik Fraimovich
fdc4205774
Add blob: to allowed img-src rules in CSP ( #4860 )
...
This is needed for Plotly download PNG feature to work.
2020-05-03 12:32:17 +03:00
Arik Fraimovich
873c87b4b3
Fix: showing current settings tab broken in MULTI_ORG. ( #4855 )
...
* Fix: showing current settings tab broken in MULTI_ORG.
* Revert "Fix: showing current settings tab broken in MULTI_ORG."
This reverts commit a88defd0b5 .
* Add test for SettingsMenu#isActive
* Use stripBase to remove slug from url
2020-05-02 14:45:54 +03:00
Gabriel Dutra
ae9bbe25e5
Cypress: Assert results keep up on widget refresh ( #4846 )
2020-04-30 12:20:04 +03:00
koooge
e3fff396cb
chore: Update node8 to 12 ( #4845 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-04-30 12:19:06 +03:00
Gabriel Dutra
f37e3d5a10
Fix dashboard not showing results while refreshing ( #4840 )
2020-04-29 21:09:35 +03:00
Gabriel Dutra
45e1478be3
Specify restylers versions for restyled ( #4842 )
...
* Specify restylers versions for restyled
* Trigger file change for testing
* Revert "Trigger file change for testing"
This reverts commit d203e37700 .
2020-04-29 15:44:57 +03:00
Jannis Leidel
2c90d920b3
Add ability to ship periodic RQ jobs as part of extensions again. ( #4822 )
...
This was dropped in aa17681af2 .
2020-04-28 18:39:30 +02:00
Gabriel Dutra
bb767f3747
Remove Helper Classes from visualizations ( #4788 )
2020-04-25 15:51:21 -03:00
Gabriel Dutra
60bc1f8e35
Visualizations customizable settings ( #4793 )
2020-04-25 12:33:42 -03:00
koooge
de6d665c6e
fix: Make sure boto installed ( #4835 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-04-25 12:34:45 +03:00
Arik Fraimovich
60f92a2efc
Add column description to table viz ( #4831 )
...
* Add column description to table viz
* Fix: misplaced super long titles tooltip.
2020-04-24 18:50:45 +03:00
Arik Fraimovich
ea8a075a2d
ODBC Based Databricks Connector ( #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 <jesse@whitehouse.dev >
* Use new Databricks logo
* Fix connection string options
Co-authored-by: Jesse <jesse@whitehouse.dev >
2020-04-24 18:04:44 +03:00
Arik Fraimovich
6ee9b43ef9
Show explicit user name instead of avatar in lists. ( #4828 )
2020-04-24 17:32:45 +03:00
Arik Fraimovich
cfc82156c2
Reduce number of queries used to load the dashboards list ( #4816 )
...
* Reduce number of queries used to load the dashboards list.
* Use DashboardSerializer everywhere.
* Call serialize
2020-04-21 10:07:48 +03:00
Omer Lachish
ab6dc51540
reset is_invitation_pending if someone tries to login through a reset passwrod link for the first time ( #4817 )
2020-04-20 20:39:08 +03:00
James T. Boylan
70186ab835
Dashboard Search bug fix ( #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.
2020-04-19 21:46:25 +03:00
Matt N
e99c37a36a
Don't immediately remove notifications from notification trays ( #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.
2020-04-14 14:27:03 +03:00
Cemre Mengu
de40f1a07b
Fix comparison error when scale is None ( #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 <arik@arikfr.com >
2020-04-14 13:36:12 +03:00
Arik Fraimovich
2c1eb5c10d
Disable Percy snapshot for Choropleth test ( #4799 )
...
* Disable Percy snapshot for Choropleth test
* Increase wait.
* Diasble Percy snapshot.
* Reduce wait time to original value.
* Restyled by prettier (#4800 )
Co-authored-by: Restyled.io <commits@restyled.io >
* Update choropleth_spec.js
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2020-04-14 13:34:35 +03:00
Daniel Lang
02cf895983
Added setting to hide Plotly mode bar ( #4644 )
2020-04-14 13:08:17 +03:00
Stefan Mees
940bd564d7
Datasource Exasol: support encryption setting ( #4712 )
...
* add pyexasol datasource, ensure that integer dont overflow in javascript
* support setting encryption for Exasol connections
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-04-14 12:38:01 +03:00
Jesse
9ba57a9491
Adds option to show 500 rows in the table visualization. Previous max ( #4770 )
...
was 250.
2020-04-14 12:36:27 +03:00
Omer Lachish
b80abd11fb
use total_seconds to find stale jobs ( #4777 )
2020-04-14 11:49:17 +03:00
Levko Kravets
1d4ca5cf2e
Pie Chart: set contrast colors for text in sectors ( #4783 )
2020-04-14 11:48:54 +03:00
Weng Kham
f7df6e0cdc
Fix test connection on mongodb datasource ( #4785 )
...
Co-authored-by: Weng Kham Kan <wengkham.kan@icarasia.com >
2020-04-14 11:47:14 +03:00
Gabriel Dutra
3df1a86d66
Fix param added with empty query ignores options ( #4736 )
2020-04-14 11:41:52 +03:00
Gabriel Dutra
bad1294402
Dashboard Performance: Memoize widgets ( #4734 )
2020-04-14 11:04:39 +03:00
Gabriel Dutra
3d26afef16
Move the dropdown to the side in Edit Mode ( #4758 )
2020-04-14 10:37:06 +03:00
Logan Price
2d29240195
feature: add ability to make the restriction of api calls to private addresses optional ( #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 <lprice92@iastate.edu >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-04-14 10:34:13 +03:00
Gabriel Dutra
c698359cb8
Remove "context" prop from visualizations ( #4789 )
2020-04-13 10:17:33 -03:00
Gabriel Dutra
2b3d9053e9
Fix Multi-Filters: "select all" makes table view unscrollable ( #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
2020-04-13 15:13:28 +03:00
Atharva Inamdar
45ea5171cb
4791 redshift schema bugfix ( #4792 )
...
* #4791 exclude pg_ tables from redshift table schema inspection
* restrictict only pg_temp
2020-04-12 13:56:06 +03:00
Omer Lachish
6a5445b726
sent stack trace to Sentry when refresh_queries fails to enqueue a certain query ( #4780 )
2020-04-08 16:34:36 +03:00
Levko Kravets
51b573230f
Upgrade Plotly ( #4752 )
...
* Upgrade Plotly
* Fixes to Plotly wrapper
* Decrease plot margins
* Adjust plot margins
2020-04-06 13:35:39 +03:00
Levko Kravets
54b04eaff7
Pie chart ignores series labels ( #4775 )
2020-04-06 13:31:58 +03:00
Georgi Staykov
1e96faed3b
Add db thread pool option to keep idle connections alive ( #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 <arik@arikfr.com >
2020-04-05 14:13:20 +03:00
Arik Fraimovich
90bfba57d4
Fix: extendedEnum breaks JSONSchema parsing ( #4774 )
...
(probably due to Python 3 migration)
2020-04-03 12:07:25 +03:00
lihan
7f2a0af841
Removing the PIP cache from the built image ( #4766 )
2020-04-03 12:06:55 +03:00
Arihant Surana
f9e3ac7534
feat: Add ssl options for Cassandra data source ( #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
2020-04-03 11:03:47 +03:00
Gabriel Dutra
4d266176d0
Fix parameter spec flaky test ( #4771 )
2020-04-02 16:01:22 -03:00
Levko Kravets
3373cfc1eb
Sankey diagram should occupy all available area (not just the left part) ( #4765 )
...
* Code style
* Remove dead and duplcated code
* getredash/redash#4763 Sankey diagram should occupy full available area (not just the left part)
2020-03-31 23:10:27 +03:00
Gabriel Dutra
e3745f8ba3
Fix there's no publish button on mobile query page ( #4760 )
2020-03-30 18:16:36 -03:00
Arik Fraimovich
3f6699032f
Add apt update step in build docker image job.
2020-03-24 16:11:49 +02:00
Gabriel Dutra
adf8b2e42b
Cypress: Add/Edit query and dashboard tags spec ( #4744 )
2020-03-24 16:03:22 +02:00
Gabriel Dutra
8db1612689
Fix query based param with no results crashing page ( #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
2020-03-24 14:48:14 +02:00
Gabriel Dutra
fabaf73b7b
Move data source/destination deprecated handling to frontend ( #4753 )
...
* Move DS deprecated handling to frontend
* Add Cypress assertion for deprecated types
2020-03-24 10:09:03 +02:00
Ezekiel Templin
45914f941f
Set POSTGRES_HOST_AUTH_METHOD environment variable ( #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: https://github.com/docker-library/postgres/pull/658
Related Discussion: https://github.com/docker-library/postgres/issues/681
2020-03-18 14:52:23 +02:00
Gabriel Dutra
1e9b8f1126
Fix no button to add query tags ( #4737 )
2020-03-17 22:11:33 +02:00
Levko Kravets
52911b7be3
Cohort appearance settings ( #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
2020-03-17 13:42:45 +02:00
Levko Kravets
a10a3f1731
getredash/redash#4728 DOMPurify by default removes 'target' attribute ( #4729 )
2020-03-17 13:30:55 +02:00
Gabriel Dutra
33131c1354
Trigger CI lint failure on warnings and fix failing frontend unit tests ( #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 89d407345a .
* Revert "Test removing pip3 command from frontend unit"
This reverts commit 424c900200 .
* Run apt update before installing pip3
2020-03-16 13:27:21 +02:00
Gabriel Dutra
f6750428cf
Dashboard Performance: HtmlContent improvements ( #4726 )
...
* Dashboard Performance: Memoize HtmlContent
* Only render HtmlContent if there is a description
2020-03-15 15:12:50 +02:00
Gabriel Dutra
f4b69d4495
Cypress: Separate start command and update to v4.1.0 ( #4690 )
2020-03-11 16:14:33 -03:00
Levko Kravets
db71ff399c
Refactor dialog wrapper component ( #4594 )
...
* Dialog wrapper: stop using promises to handle results - replace with callbacks
* Dialog wrapper: handle async operation on close
2020-03-10 22:22:42 +02:00
Levko Kravets
e552effd96
Remove route.resolve feature ( #4607 )
...
* Stop using route.resolve feature (pages should load all the data themselves)
* Remove route.resolve feature
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-03-10 13:09:26 +02:00
Satyam Krishna
75cc6b3f53
Fix : Alembic migration for scheduled query from older to newer version ( #4709 )
2020-03-08 17:41:21 +02:00
Gabriel Dutra
bf3095c794
Update Dashboard and Alert headers with the Query one ( #4710 )
2020-03-06 14:26:37 -03:00
Omer Lachish
ee6dcab362
Cancel BigQuery Queries ( #4701 )
...
* cancel BigQuery queries when user requests cancellation or when the job times out
* create a new bigquery client to flush exising requests
2020-03-04 22:45:20 +02:00
Gabriel Dutra
e0312fb717
Mobile experience improvements ( #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
2020-03-04 12:55:51 +02:00
Omer Lachish
791a0b3ec7
allow comparison with strings containing numbers as alert values ( #4705 )
2020-03-04 12:40:23 +02:00
Anton Yuzhaninov
e03e58c5c7
Fix: show size of actually used Redash database ( #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).
2020-03-03 21:21:56 +02:00
Arik Fraimovich
78201c6108
Dynamic Form: boolean fields related fixes ( #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 (#4704 )
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2020-03-03 12:55:54 +02:00
Arik Fraimovich
d687befa59
Query page: update empty state text ( #4699 )
2020-03-03 10:53:45 +02:00
Gabriel Dutra
9635d00476
Fix error for query snippets with empty description ( #4693 )
2020-03-01 15:05:44 -03:00
Jesse
418590003e
Solves redashlabs/product#47 ( #4669 )
2020-03-01 14:19:00 +02:00
Levko Kravets
3650f0c45b
Table visualization: Show which columns are being used for search ( #4680 )
...
* Table visualization: Show which columns are being used for search
* Fix accidental bug
2020-03-01 14:15:49 +02:00
erels
668403c126
Fixed Clickhouse column name encoding problem ( #4682 )
2020-03-01 14:11:49 +02:00
Arik Fraimovich
4b94a5c88f
Snowflake: use different method of showing columns if no schema specified in db name ( #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 <omer@rauchy.net >
* Update redash/query_runner/snowflake.py
Co-authored-by: Omer Lachish <omer@rauchy.net >
2020-03-01 13:55:28 +02:00
Omer Lachish
a9cb87d4b3
refresh_queries shouldn't break because of a single query having a bad schedule object ( #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
2020-03-01 11:02:46 +02:00
Omer Lachish
b0f1cdd194
remove rq_healthcheck entrypoint and deprecate celery_healthcheck ( #4574 )
2020-02-27 17:55:04 +02:00
juanvasquezreyes
5d533a3277
Oracle: update DSN construction to support special characters in user/password. ( #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 <arik@arikfr.com >
2020-02-27 17:50:46 +02:00
Gabriel Dutra
5fa5cd958b
Change visualization editor scroll to internal divs ( #4689 )
2020-02-26 23:09:53 +02:00
Levko Kravets
c5f14e5538
Use main react-grid-layout package instead of fork ( #4687 )
2020-02-26 21:20:30 +02:00
Levko Kravets
7043951f00
Use npm ci instead of npm install in CI scripts ( #4688 )
2020-02-26 19:23:32 +02:00
Omer Lachish
9790b0731d
Perform cleanup on job timeouts ( #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
2020-02-26 13:24:57 +02:00
Levko Kravets
3102e2df94
Fix: Chart with a horizontal legend sometimes doesn't render properly ( #4683 )
2020-02-25 13:07:17 +02:00
Omer Lachish
35250d64b9
Job timeout doesn't kill the mysql query ( #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
2020-02-25 00:16:19 +02:00
Gabriel Dutra
cdfa102125
Query View page design adjustments ( #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
2020-02-24 21:05:58 +02:00
Gabriel Dutra
209ee16261
Fix verification email url on home page ( #4647 )
2020-02-24 10:15:35 -03:00
Arik Fraimovich
f1a2f8cb88
Enable ODBC and MS SQL ODBC support ( #4676 )
...
Closes #4356 .
2020-02-23 11:57:39 +02:00
Arik Fraimovich
dd8e23040a
Remove core-js and polyfill include as we don't use Phantom anymore ( #4583 )
2020-02-23 11:15:53 +02:00
Gabriel Dutra
d2cc2d20b6
Query Editor: Remove overflow visible from visualization ( #4668 )
2020-02-20 18:16:26 -03:00
Levko Kravets
7f8b103aea
getredash/redash#4666 The download button on the dashboard will redirect users to an invalid page ( #4667 )
2020-02-20 21:16:16 +02:00
Gabriel Dutra
9eaa44da4a
Query View redesign ( #4536 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-02-19 17:47:34 -03:00
Gabriel Dutra
2833bb539f
Fix Add Widget always shows recent queries list ( #4658 )
2020-02-18 18:01:26 -03:00
Levko Kravets
7ff5af1bf5
getredash/redash#4655 Closing the Help Drawer redirects you the homepage ( #4657 )
2020-02-18 21:23:23 +02:00
Omer Lachish
7124bc91d7
Avoid timing out when no timeout is set ( #4653 )
...
* soft limits should not exceed if they are set to run infinitely
* use a variable to explain magic number
2020-02-18 15:29:33 +02:00
Omer Lachish
abbfd598d7
support relative time in cloudwatch queries ( #4649 )
2020-02-16 12:23:25 +02:00
Gabriel Dutra
545da898ee
Fix dashboard editing permissions not working ( #4613 )
...
* Use dashboard.can_edit instead of checking owner
* Add owner or admin check to Manage Permissions
* Remove unnecessary useMemo
2020-02-13 11:50:45 +02:00
Omer Lachish
ddb0ef15c1
Set default query execution time limit to unlimited ( #4626 )
...
* default query execution time limit to 1 hour
* use -1 (run infinitely) as a default limit
2020-02-11 11:23:02 +02:00
Jannis Leidel
9646156965
Handle stale jobs more carefully before purging them. ( #4615 )
2020-02-11 11:14:26 +02:00
Jannis Leidel
5c7cb1af3d
Update cassandra-driver to 3.21.0. ( #4636 )
...
This provides binary wheel files and reduces Docker build times drastically.
2020-02-10 21:48:43 +02:00
Arik Fraimovich
2bd8771188
Fix: no need to encode strings anymore ( #4627 )
...
* It's 2020, we got Python 3, no need to encode strings anymore
* Remove encode calls from other places
* use alert.name directly
2020-02-10 20:34:42 +02:00
Arik Fraimovich
86f8f32ab4
Snowflake: switch to simpler query for fetching columns ( #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.
2020-02-10 20:34:23 +02:00
Gabriel Dutra
fdccaabbe9
Check for LDAP Login in Organization Settings ( #4359 )
...
* Check for LDAP Login in Organization Settings
* Restyled by prettier (#4570 )
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2020-02-10 20:13:56 +02:00
Levko Kravets
2f5920d5e4
getredash/redash#4601 Chart editor: enable search in columns selects ( #4602 )
2020-02-09 17:38:48 +02:00
Omer Lachish
e97510b2ee
Clickhouse: control whether to verify SSL certificate ( #4631 )
2020-02-09 16:03:43 +02:00
Omer Lachish
80cfa3c557
set correct values for ProxyFix ( #4630 )
2020-02-09 15:20:16 +02:00
mickeey2525
9b71b569e2
Fix treasuredata endpoint ( #4582 )
...
* fix treasuredata endpoint
* make endpoint as a required
* fix unneccessart required parameter
2020-02-09 13:52:44 +02:00
Arik Fraimovich
f2159472da
Fix: encode/decode bytestring for base64. ( #4624 )
...
* Fix: encode/decode bytestring for base64.
* Apply b64encode fix to HiveHttp
2020-02-09 13:41:41 +02:00
Omer Lachish
c961c33e49
If the error message happens to be empty, it will break serailization. ( #4622 )
2020-02-09 13:17:43 +02:00
Omer Lachish
5afc94c562
sync_user_details doens't really need a custom ttl ( #4625 )
2020-02-09 12:57:16 +02:00
Jesse
cee1a07320
Sort schema columns alphabetically ( #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 a31f90178c
2020-02-09 12:40:47 +02:00
Eduardo Garcia
42b1eadeb2
Update copyright year to 2020 in LICENSE ( #4616 )
2020-02-09 12:39:22 +02:00
Omer Lachish
7edac9ca89
keep adhoc job results longer (determined by settings.JOB_EXPIRY_TIME) ( #4559 )
2020-02-09 12:28:58 +02:00
David Hernández
69893f0304
Force specific version of Werkzeug to prevent the breaking changes of the new release. ( #4618 )
2020-02-09 09:23:48 +02:00
Jannis Leidel
b089f5f0ef
Use correct logger when enqueuing a query execution. ( #4614 )
2020-02-06 15:16:21 +01:00
Omer Lachish
7a34a76817
RQ: Missing currently executing queries view ( #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
2020-02-03 23:51:20 +02:00
Levko Kravets
2de3895986
Query editor: fix shortcuts ( #4598 )
2020-01-29 21:26:05 +02:00
Levko Kravets
713fd2d0fb
Change visualizations import to be static ( #4592 )
...
* getredash/redash#4565 Change visualizations import to be static
* Move visualizations-related components to own folder
2020-01-28 12:48:38 +02:00
Levko Kravets
19c6d331b6
Refine routes definitions ( #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
2020-01-26 14:53:40 +02:00
Omer Lachish
a36b10173c
Fix empty values sent in dynamic form ( #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
2020-01-23 21:21:49 +02:00
Eran Sandler
7d11fae9ea
Added support for running MongoDB queries on secondary in replicaset mode ( #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
2020-01-23 21:14:37 +02:00
Levko Kravets
35e41385dc
Fixes several bugs on dashboard page (see description) ( #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
2020-01-23 17:03:37 +02:00
Levko Kravets
cdefa847c0
Restore query execute notifications (missed during React migration) ( #4577 )
2020-01-23 16:21:51 +02:00
Levko Kravets
a90b8c7443
getredash/redash#173 Don't allow to fork query while previous fork is still in progress ( #4578 )
2020-01-23 16:08:59 +02:00
Levko Kravets
1ba3a23457
Bug: when using global dashboard filters, widgets continuously update their local filters ( #4575 )
2020-01-23 16:07:28 +02:00
Levko Kravets
8a5e0ea3f4
Refine Timer and TimeAgo components (get rid of force update) ( #4580 )
2020-01-23 16:06:38 +02:00
Levko Kravets
cbc56264ea
React migration cleanup ( #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
2020-01-22 17:15:25 +02:00
Levko Kravets
c92bb63f8b
Fix Map visualization: L.layerGroup cannot compute its bounds ( #4573 )
2020-01-22 10:11:29 +02:00
Levko Kravets
ff0dbd5f01
Save new query before adding new visualization ( #4569 )
2020-01-21 13:06:26 +02:00
Leo Palmer Sunmo
80bfd405fd
Force saml auth scheme ( #3614 )
...
* Add SAML scheme override env var
* Make it pretty, please the linter
* Import settings properly
2020-01-21 11:45:21 +02:00
taminif
945f53fea3
delete variable ( #3813 )
...
* delete variable
* delete duplicate code
* add empty line
* delete empty line
2020-01-21 11:29:56 +02:00
Steve Buckingham
56b51be64a
Add redshift role use option ( #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 <arik@arikfr.com >
* Update redash/query_runner/pg.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* Remove need for specified urllib - specify pyopenssl is enough
* Pyopenssl back down to 19.0.0
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-01-21 11:18:33 +02:00
Levko Kravets
a682265e13
Migrate router and <app-view> to React ( #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 <nesk.frz@gmail.com >
2020-01-20 20:56:37 +02:00
Arik Fraimovich
a891160b4d
Upgrade snowflake-connector-python ( #4567 )
...
* Upgrade snowflake-connector-python
* Downgrade requests
2020-01-20 19:50:57 +02:00
Gabriel Dutra
086798bbb7
Fix Cypress issues after React version of Query Pages ( #4545 )
...
* Update Pivot rows assertion
* Allow replacing Query results with Apply Changes
2020-01-20 14:26:22 +02:00
Levko Kravets
ebcec85c0c
Tags filter doesn't work because of wrong query params format ( #4563 )
...
* getredash/redash#4557 Tags filter doesn't work because of wrong query params format
* Fix tests
2020-01-20 12:49:17 +02:00
Gabriel Dutra
2b5bfad054
Add padding to QueryExecutionStatus text ( #4553 )
2020-01-16 21:18:06 +02:00
Gabriel Dutra
479b277b91
Add loading state to Query save button ( #4551 )
...
* Add loading state to Query save button
* Hide dirty indication and icon when saving
2020-01-16 14:21:38 +02:00
Arik Fraimovich
94ac11c787
webpack: remove children from output ( #4540 )
2020-01-14 14:05:37 +02:00
Jannis Leidel
a7ef3ad72a
Get rid of six and fix str/unicode types regression that became active on Python 3. ( #4533 )
...
This was introduced in d38ca803c5 .
2020-01-14 12:51:36 +02:00
Ari Ekmekji
afe8c95f4d
Load collections in all workspaces ( #4541 )
2020-01-14 12:48:04 +02:00
Omer Lachish
fe06f7f63e
Google Analytics runner - iterate over keys the Python 3 way ( #4538 )
...
* iterate over key names instead of dict_keys values
* use dict comprehension instead of manipulating existing dict
2020-01-13 14:41:30 +02:00
Omer Lachish
5e01211852
adjust imports to match influxdb 5.2.3 ( #4531 )
2020-01-13 10:43:29 +02:00
Gabriel Dutra
375ffd3250
Migrate services and replace $http with axios ( #4497 )
2020-01-12 22:25:26 -03:00
Omer Lachish
674f057c59
fix typo in azure kusto runner ( #4537 )
2020-01-12 22:45:32 +02:00
Omer Lachish
aa17681af2
Nuke Celery ( #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 37a74ea403 .
* 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 (#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>
2020-01-12 22:36:48 +02:00
Takuya Arita
13c3531956
Update description for the new setup repository ( #4535 )
2020-01-12 15:22:10 +02:00
Gabriel Dutra
350716c525
Add maildev missing settings ( #4527 )
2020-01-10 09:29:33 +02:00
Gabriel Dutra
fe11b8cc35
Cypress: Add test for Settings Tabs ( #4530 )
2020-01-09 12:40:40 -03:00
Gabriel Dutra
465dbc03b7
Hide unavailable page links to non-admin users in settings and header ( #4524 )
...
* Filter unavailable menu items in SettingsWrapper
* Don't show Alert Destination in header to users
2020-01-08 10:59:59 +02:00
Gabriel Dutra
76f0dcb085
Replace angular-sanitize with DOMPurify ( #4502 )
...
* Switch angular-sanitize package with dompurify
* Replace $sanitize with DOMPurify.sanitize
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-01-08 10:56:11 +02:00
Gabriel Dutra
99c276fc9a
Migrate Query pages to React ( #4429 )
...
* Migrate Query Source View page to React: skeleton
* Sync QueryView and QuerySource (#4430 )
* Migrate schema browser to react (#4432 )
* Restyle code with Prettier
* Migrate Query page to React: Save changes (#4452 )
* Migrate query source to React: Set of updates (#4457 )
* Migrate Query page to React: Visualization Tabs (#4453 )
Co-Authored-By: Levko Kravets <levko.ne@gmail.com >
* Migrate Query Source page to React: Visualizations area (#4463 )
* Migrate Query page to React: Delete visualization button (#4461 )
* Migrate Query Source page to React: Visualization actions (#4467 )
* Migrate Query pages to React: Execute query hook (#4470 )
* Migrate Query Source page to React: Editor area (#4468 )
* Migrate Query Source page to React: metadata, schedule and description blocks (#4476 )
* Migrate Query page to React: Cancel query execution (#4496 )
* Migrate Query Source page to React: refine code (#4499 )
* Migrate Query Source page to React: alerts (#4504 )
* Migrate Query Source page to React: unsaved changes alert (#4505 )
* Migrate Query Source to React: resizable areas (v2) (#4503 )
* Migrate Query page to React: Query View (#4455 )
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* Switch React and Angular versions of pages (until Angular version removed)
* Migrate Query pages to React: fix permissions (#4506 )
* Migrate Query Source page to React: don't reload when saving new query (#4507 )
* Migrate Query pages to React: fix tests (#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 2934e53be6 .
* Reduce debounced time to 100
* Migrate Query pages to React: cleanup (#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 <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-01-06 20:51:45 +02:00
Levko Kravets
fc9e8fe2aa
Add error boundary to catch errors in visualizations ( #4518 )
...
* Add error boundary to catch errors in visualizations
* Fix: Funnel crash when step column is date/time
* CR1
* CR2
2020-01-06 10:22:20 +02:00
Omer Lachish
260bfca767
Multiprocess RQ workers (using supervisor) ( #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
2020-01-01 15:32:29 +02:00
Arik Fraimovich
f85490cf50
Fix: don't try to access message property of an exception ( #4516 )
...
(not supported in Python 3)
2019-12-31 12:45:29 +02:00
Gabriel Dutra
29582e3212
Run prettier on cypress folder ( #4510 )
...
* Run prettier on cypress folder
* Test Restyled
* Revert "Test Restyled"
This reverts commit 13d43968fe .
2019-12-30 19:40:56 +02:00
Omer Lachish
329e85987c
Execute Queries in RQ ( #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 37a74ea403 .
* 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
2019-12-30 14:11:01 +02:00
Arik Fraimovich
ff34dedf46
Fix: properly encode UTF-8 filenames in query results request ( #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 <omer@rauchy.net >
Co-authored-by: Omer Lachish <omer@rauchy.net >
2019-12-30 11:52:18 +02:00
Arik Fraimovich
d0fb377ed6
Viz Embed: Add option to hide timestamp ( #4491 )
2019-12-30 11:45:22 +02:00
Arik Fraimovich
30bc1e2ff6
Refine permissions usage in Redash to allow for guest users ( #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 #4099 .
2019-12-30 10:07:20 +02:00
Gabriel Dutra
fd46194580
Update EditInPlace to use Antd components ( #4493 )
2019-12-26 12:53:33 -03:00
deecay
f5900a1929
Chart: Bubble size control by coefficient and sizemode ( #3928 )
2019-12-26 16:19:45 +02:00
Tsuyoshi Yoshizawa
c2b39db03e
Support download as TSV File ( #4445 )
2019-12-26 16:16:48 +02:00
Omer Lachish
f420e02cee
adjust imports to match simple-salesforce 0.74.3 ( #4490 )
2019-12-25 16:26:58 +02:00
Arik Fraimovich
0aa176e2e5
Don't update query's updated_at when updating schedule_failures counter ( #4488 )
2019-12-25 16:25:16 +02:00
Arik Fraimovich
97d523e348
Retain tags when forking a query ( #4489 )
2019-12-25 16:25:02 +02:00
Arik Fraimovich
88d21e9461
Add explicit handling of 404 errors in query result requests. ( #4487 )
2019-12-25 15:46:13 +02:00
Arik Fraimovich
40c1ef0f59
Fix: query results query runner fails to load cached results. ( #4486 )
2019-12-25 15:21:43 +02:00
Arik Fraimovich
10ba2ddbaa
Snowflake: add missing date types ( #4484 )
...
Without those the values might be miscategorized in the UI.
2019-12-25 14:58:45 +02:00
Omer Lachish
e7eedd0556
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. ( #4482 )
2019-12-25 10:13:39 +02:00
Omer Lachish
c3299ff0ad
totalRows are returned as a string and should be a number ( #4481 )
2019-12-24 22:20:17 +02:00
Randy Zwitch
6b2f23f357
Update pymapd to 0.19.0 ( #4424 )
2019-12-24 15:34:42 +02:00
Arik Fraimovich
0819f80e72
Hive/Databricks: mark date types as TYPE_DATE. ( #4419 )
2019-12-24 10:39:56 +02:00
Gabriel Dutra
7223f60ddf
Migrate VisualizationEmbed to React ( #4364 )
...
* Migrate VisualizationEmbed to React
* Angular cleanup
* Remove onClick event from TimeAgo
* Check Table exists before taking snapshot
* Apply Prettier
2019-12-24 10:21:48 +02:00
Gabriel Dutra
38b6b47594
Migrate Dashboard and Public Dashboard to React ( #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 b434f03da1 .
* Avoid saving layout changes out of editing mode
* Apply policy for enabled refresh rates
* Disable loadDashboard deps
* Restyled by prettier (#4459 )
* Update title when dashboard name updates
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2019-12-24 10:20:40 +02:00
Levko Kravets
49dcb7f689
Refactor QueryEditor component ( #4464 )
2019-12-20 15:35:43 +02:00
deecay
425e79fdd2
Fix prettier commandline option to be recursive ( #4458 )
2019-12-17 14:52:45 +02:00
Levko Kravets
bc52b78889
Third column not selectable for Bubble and Heatmap charts ( #4449 )
2019-12-16 13:00:17 +02:00
deecay
944adb95ba
Map: add tooltip and popup templating ( #4443 )
2019-12-14 20:07:09 +02:00
Daniel Dubovski
8cb49158bf
Adding application to Azure Kusto query runner ( #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 )
2019-12-13 21:47:11 +02:00
Gabriel Dutra
ca098172e9
Fix Restyled config ( #4438 )
2019-12-11 23:06:17 -03:00
Omer Lachish
a3beac0b78
allow setting of custom sentry environments ( #4437 )
2019-12-11 23:00:06 +02:00
Arik Fraimovich
56d3be2248
Prettier all the Javascript code & GitHub Action ( #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
2019-12-11 17:05:38 +02:00
Arik Fraimovich
81b14a58ef
Remove Husky ( #4435 )
2019-12-11 14:49:57 +02:00
Arik Fraimovich
2dff8b9a00
Black support for the Python codebase ( #4297 )
...
* Apply black formatting
* Add auto formatting when committing to master
* Update CONTRIBUTING.md re. Black & Prettier
2019-12-11 13:54:29 +02:00
Arik Fraimovich
37a964c8d9
Remove codeclimate config ( #4434 )
2019-12-11 13:44:52 +02:00
Arik Fraimovich
1b9b3032ca
Change eslint configuration and fix resulting issues ( #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 (#4425 )
* Prettier command in package.json
2019-12-11 12:00:46 +02:00
David Mudro
0385b6fb64
Fix counter vizualization ( #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
2019-12-10 13:38:22 +02:00
Arik Fraimovich
7c05a730dc
Remove --max-old-space-size=4096 from npm build command ( #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.
2019-12-05 22:41:57 +02:00
Kenji Ichihashi
263305214e
Update rds-combined-ca-bundle.pem( #4290 ) ( #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`
2019-12-05 11:29:42 +02:00
Jakdaw
3494e21cf4
Add user/pass authentication support for Druid ( #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
2019-12-05 09:27:59 +02:00
Gabriel Dutra
15e8b88996
Cypress: Make sure params are saved before reload ( #4420 )
2019-12-04 13:37:31 -03:00
Levko Kravets
ba36b4e671
Migrate AddToDashboard dialog to React ( #4408 )
2019-12-04 17:50:50 +02:00
Levko Kravets
94bd03dc42
Set of improvements and refinements to visualizations after React migration ( #4382 )
2019-12-04 16:23:29 +02:00
Levko Kravets
041d05d18b
Chart series switch places when picking Y axis or color ( #4412 )
2019-12-04 16:00:01 +02:00
Gabriel Dutra
c14e7ab4ca
Fix dragged parameter wrapping in some cases ( #4415 )
2019-12-03 12:48:11 -03:00
Monica Gangwar
4d6c30ef13
refreshing snowflake schema w/o waking cluster ( #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
2019-12-02 10:48:30 +02:00
Arik Fraimovich
36ab8eae89
Update Snowflake connector version to address compatibility issue with Azure dependencies ( #4407 )
2019-11-27 18:44:08 +02:00
Stefan Mees
e82373ac1d
add pyexasol datasource, ensure that integer dont overflow in javascript ( #4378 )
2019-11-27 18:43:58 +02:00
Arik Fraimovich
d3feba69b2
Downgrade Kombu version to 4.6.3 ( #4406 )
...
It was accidentally upgraded as part of the dependencies upgrade we did recently, but 4.6.5 has a bug...
2019-11-27 18:08:47 +02:00
Omer Lachish
80f3ec1c99
avoid logging job parameters ( #4311 )
2019-11-27 09:33:20 +02:00
Arik Fraimovich
c612bba19c
Amazon CloudWatch query runners ( #4372 )
...
* CloudWatch Metrics query runner
* Add: query runner for CloudWatch Logs Insights
* Add logos
* Update Insights type
* Basic test connection
* Format files
2019-11-27 09:14:28 +02:00
Nicolas Le Manchet
f5a40827aa
Remove builtins invalid in Python 3 from Python runner ( #4375 )
...
These few builtins were available in Python 2.7 but not anymore
in Python 3, making the runner fail to start.
2019-11-27 09:12:36 +02:00
Gabriel Dutra
5de291a98d
Fix Map spec and Alert Page snapshot flakyness ( #4403 )
2019-11-26 19:08:18 -03:00
Levko Kravets
c70a48db9c
Table visualization with column named "children" renders +/- buttons ( #4394 )
2019-11-26 15:47:19 +02:00
Omer Lachish
be56035bd6
don't try to purge jobs which have already been deleted ( #4396 )
2019-11-25 11:04:00 +02:00
Gabriel Dutra
7c97d8eafa
Add autoscroll to ng-view ( #4337 )
2019-11-24 14:01:35 -03:00
Gabriel Dutra
0563ecf648
Migrate Home to React ( #4379 )
2019-11-24 13:59:56 -03:00
Levko Kravets
e72d7a8cca
Table visualization: accept timestamp for date/time columns ( #4389 )
2019-11-24 11:50:52 +02:00
Levko Kravets
a7a933946b
Hide deprecated visualizations from query editor ( #4388 )
...
* Hide deprecated visualizations from query editor
* Fix Map tests
2019-11-24 11:05:01 +02:00
uncletimmy3
7cfd362a7a
fix typo at unsupportedRedirect.js ( #4387 )
2019-11-24 10:46:16 +02:00
Arik Fraimovich
4d1b359713
Remove unused npm dependencies ( #4380 )
...
* Remove ui-ace.
* Remove ui-sortable.
* Remove angular-base64-upload.
* Remove angular-messages.
* Remove jquery-ui.
* Update package-lock.json.
2019-11-21 12:18:33 +02:00
Levko Kravets
818649bbec
Migrate Chart visualization to React Part 2: Editor ( #4139 )
2019-11-20 21:57:12 +02:00
Levko Kravets
c6a2725f0a
Migrate Map visualization to React ( #4278 )
2019-11-20 17:36:59 +02:00
Gabriel Dutra
5cd6913e40
Fix Cypress and Percy flakyness issues ( #4365 )
2019-11-18 10:37:01 -03:00
Gabriel Dutra
0aebb37317
Remove Chrome Logger and update Cypress and Percy ( #4354 )
2019-11-14 15:23:00 -03:00
Levko Kravets
aa06b32e17
Add some tests for Choropleth visualization ( #4358 )
2019-11-14 19:08:51 +02:00
Levko Kravets
b44fa51829
Migrate Funnel visualization to React ( #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
2019-11-14 15:47:17 +02:00
Levko Kravets
1a95904ffd
Migrate Choropleth visualization to React ( #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
2019-11-14 15:42:15 +02:00
Omer Lachish
ef56e4e920
use to set the hash instead of directly manipulating it ( #4351 )
...
* use to set the hash instead of directly manipulating it
* Update Jobs.jsx
2019-11-13 15:36:04 +02:00
shinsuke-nara
d5a3f0de57
CLI command to reencrypt data source options ( #4190 )
...
* Script to reencrypt data source options.
* Implement reencrypt sub command under database command.
2019-11-13 15:27:20 +02:00
Arik Fraimovich
cf274d96c8
Fix: number based alerts evaluation isn't working ( #4295 )
...
* Fix: correctly evaluate numeric thresholds
* Missing import
* More missing imports
* Alert evaluation: support for booleans
2019-11-13 15:11:21 +02:00
Levko Kravets
c00410768c
Migrate Cohort visualization to React ( #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
2019-11-13 14:39:08 +02:00
Jakdaw
dda5a9d58f
Fix the DB migration so that the correct key is used for encrypting DS credentials. ( #4344 )
...
Without this upgrades from at least v5 (and earlier) won't work.
2019-11-11 21:49:05 +02:00
Omer Lachish
a0a32be3dd
Admin status page's current tab does not preserve ( #4299 )
...
* handle a console warning about passing in string page options
* preserve selected tab in the location hash
2019-11-11 12:04:32 +02:00
Omer Lachish
e0e94d79ac
Restarting rq-scheduler reschedules all periodics ( #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
2019-11-11 09:54:41 +02:00
Omer Lachish
f19d24287e
auto-refresh data RQ jobs admin page ( #4298 )
2019-11-11 09:42:05 +02:00
Gabriel Dutra
80878abf7b
Migrate Settings Screen to React ( #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 0e4ececa6a .
* Add selectable=false to the Menu
2019-11-10 09:07:40 +02:00
Gabriel Dutra
6716bb390c
Update TagsList and Sidebar to use Ant components ( #4338 )
2019-11-07 13:41:15 -03:00
Omer Lachish
a33d11de3a
RQ: periodically clear failed jobs ( #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 <arik@arikfr.com >
2019-11-07 17:00:53 +02:00
Omer Lachish
6f791a092b
Adjust RQ job priorities ( #4301 )
...
* prioritize periodic jobs
* declare default queues in inside worker()
* separate send_email to its own queue
2019-11-06 13:36:27 +02:00
Kyle Krueger
cce6546a62
Feature/last x days parameter ( #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)
2019-11-05 16:15:11 +02:00
Ran Byron
5fd78fdb23
New feature - Alert muting ( #4276 )
...
* New feature - Alert muting
* pep8 fix
* Fixed backend api update
* whoops semicolon
* Implemented mute
2019-11-02 14:54:26 +02:00
Gabriel Dutra
74dbb8acf3
Skip favorites dropdown loading state on init ( #4318 )
2019-10-31 13:28:28 -03:00
Omer Lachish
36638be1dd
optimize work horse initialization by configuration mappers on the worker process ( #4314 )
2019-10-30 09:53:06 +02:00
Gabriel Dutra
82f488d231
Migrate PermissionsEditor to React ( #4266 )
...
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-10-29 12:42:31 -03:00
Arik Fraimovich
7b3943052e
Move the setup scripts to their own home ( #4310 )
2019-10-28 21:11:21 +02:00
Arik Fraimovich
96a95b7090
Add V8 to the CHANGELOG.
2019-10-28 13:27:34 +02:00
Omer Lachish
accf0f7ac5
show more workers per page. also allow page size selection ( #4300 )
2019-10-28 09:51:57 +02:00
Arik Fraimovich
88ae639ee4
CircleCI workflow improvements ( #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
2019-10-27 22:27:34 +02:00
Omer Lachish
ba413c210e
use rq_redis_connection instead of redis_connection ( #4288 )
2019-10-25 14:23:24 +03:00
Levko Kravets
7157244eec
Migrate Table visualization to React Part 2: Editor ( #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
2019-10-24 12:46:46 +03:00
Gabriel Dutra
9f7844640a
Introduce inheritance to the Parameter structure ( #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
2019-10-24 12:42:30 +03:00
Nicolas Le Manchet
246eca1121
Migrate the application to Python 3 ( #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 (#4215 )
* Support encoding memoryview to JSON
psycopg2 returns `buffer` objects in Python 2.7 and `memoryview`
in Python 3. See #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 (#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 (#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 (#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 (#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
2019-10-24 12:42:13 +03:00
Arik Fraimovich
7ffb97232e
Pin Cypress version ( #4284 )
2019-10-24 12:22:56 +03:00
Omer Lachish
8b9fa53efe
extend the result_ttl of refresh_queries to 600 seconds to allow it to continue running periodically even after longer executions ( #4283 )
2019-10-24 11:56:07 +03:00
Omer Lachish
43b35b6fb4
Monitor general RQ queues (default, periodic and schemas) ( #4256 )
...
* track general RQ queues (default, periodic and schemas)
* get all active RQ queues
* call get_celery_queues in another place
2019-10-23 12:31:32 +03:00
Omer Lachish
f0f85ece42
avoid loading entire job data for queued jobs ( #4257 )
2019-10-23 11:43:31 +03:00
Omer Lachish
612833404b
show current worker job (alongside with minor cosmetic column tweaks) ( #4262 )
2019-10-23 11:20:15 +03:00
Ran Byron
5d58503623
Minor alert bug fixes ( #4274 )
2019-10-22 16:58:20 +03:00
Ran Byron
3dfad87266
Extracted alert menu button ( #4273 )
2019-10-22 13:00:16 +03:00
Levko Kravets
0659ef1079
Add "use-debounce" dependency ( #4268 )
2019-10-19 22:28:57 +03:00
Ran Byron
a2e21dd1c3
App Header React migration ( #4245 )
2019-10-19 14:25:58 +03:00
Levko Kravets
f165cad9ff
Migrate Sunburst Renderer to React ( #4259 )
2019-10-17 19:16:05 +03:00
Levko Kravets
e0a2705c1a
Restore <body> bottom padding ( #4252 )
2019-10-17 13:22:09 +03:00
Levko Kravets
0aca649cb5
Migrate Sankey renderer to React ( #4255 )
2019-10-17 13:19:29 +03:00
Stefan Maric
79b37e8843
Fix double-scrollbar when in fullscreen ( #4243 )
2019-10-16 23:46:44 +03:00
Ran Byron
72bb5d29a0
Fix: Alert page breaks when target query returns null result ( #4250 )
...
* Fix: Alert page breaks when target query returns null result
* Better handling of topValue value
2019-10-16 11:27:37 +03:00
Omer Lachish
5a5fdecdde
Replace Celery with RQ (except for execute_query tasks) ( #4093 )
...
* add rq and an rq_worker service
* add rq_scheduler and an rq_scheduler service
* move beat schedule to periodic_jobs queue
* move version checks to RQ
* move query result cleanup to RQ
* use timedelta and DRY up a bit
* move custom tasks to RQ
* do actual schema refreshes in rq
* rename 'period_jobs' to 'periodic', as it obviously holds jobs
* move send_email to rq
* DRY up enqueues
* ditch and use a partially applied decorator
* move subscribe to rq
* move check_alerts_for_query to rq
* move record_event to rq
* make tests play nicely with rq
* 👋 beat
* rename rq_scheduler to plain scheduler, now that there's no Celery scheduler entrypoint
* add some color to rq-worker's output
* add logging context to rq jobs (while keeping execute_query context via get_task_logger for now)
* move schedule to its own module
* cancel previously scheduled periodic jobs. not sure this is a good idea.
* rename redash.scheduler to redash.schedule
* allow custom dynamic jobs to be added decleratively
* add basic monitoring to rq queues
* add worker monitoring
* pleasing the CodeClimate overlords
* adjust cypress docker-compose.yml to include rq changes
* DRY up Cypress docker-compose
* add rq dependencies to cypress docker-compose service
* an odd attempt at watching docker-compose logs when running with Cypress
* Revert "an odd attempt at watching docker-compose logs when running with Cypress"
This reverts commit 016bd1a93e .
* show docker-compose logs at Cypress shutdown
* Revert "DRY up Cypress docker-compose"
This reverts commit 43abac7084 .
* minimal version for binding is 3.2
* remove unneccesary code reloads on cypress
* add a command which errors if any of the workers running inside the current machine haven't been active in the last minute
* SCHEMAS_REFRESH_QUEUE is no longer a required setting
* split tasks/queries.py to execution.py and maintenance.py
* fix tests after query execution split
* pleasing the CodeClimate overlords
* rename worker to celery_worker and rq_worker to worker
* use /rq_status instead of /jobs
* show started jobs' time ago according to UTC
* replace all spaces in column names
* fix query tests after execution split
* exit with an int
* general lint
* add an entrypoint for rq_healthcheck
* fix indentation
* delete all existing periodic jobs before scheduling them
* remove some unrequired requires
* move schedule example to redash.schedule
* add RQ integration to Sentry's setup
* pleasing the CodeClimate overlords
* remove replication settings from docker-compose - a proper way to scale using docker-compose would be the --scale CLI option, which will be described in the knowledge based
* revert to calling a function in dynamic settings to allow periodic jobs to be scheduled after app has been loaded
* don't need to depend on context when templating failure reports
* set the timeout_ttl to double the interval to avoid job results from expiring and having periodic jobs not reschedule
* whoops, bad merge
* describe custom jobs and don't actually schedule them
* fix merge
2019-10-15 23:59:22 +03:00
Omer Lachish
f6e1470a7c
Avoid depending on app context when templating failure reports ( #4231 )
...
* don't need to depend on context when templating failure reports
* extract a render_template function with some docs
* CodeClimate has really outdone itself this time. Removed a whitespace character in order to fix 2 CodeClimate errors
* apparently whitespace doesn't count as a character
2019-10-15 23:08:28 +03:00
Arik Fraimovich
27cd76797e
Make sure query results are consistent ( #4246 )
2019-10-15 21:48:44 +03:00
Amol Grover
29b113005c
pagerduty.py: Change default summary text ( #4239 )
...
* pagerduty.py: Change default summary text
Change is made to use alert name in PagerDuty's alert
destination default summary text instead of
query id and name
* Update default description text & field description
2019-10-15 11:34:34 +03:00
Ran Byron
53d971bf87
Implemented new condition comparison options ( #4240 )
...
* Implemented new condition comparison options
* Fixed test
* Move backward compatibility code to service
2019-10-15 08:41:23 +03:00
Gabriel Dutra
a102e93e50
Fix dashboard parameter mapping issues ( #4211 )
2019-10-14 17:21:44 -03:00
Ran Byron
74beed80d2
Fixed hangouts chat icon ( #4236 )
2019-10-11 13:11:15 +03:00
Ran Byron
39f038f992
Fixed alert destination hrefs ( #4235 )
...
* Fixed alert destination hrefs
* Added query url
2019-10-11 13:10:47 +03:00
Gabriel Dutra
da2ed56281
Extend bolder markdown fix to widget description ( #4229 )
2019-10-10 09:53:58 -03:00
Arik Fraimovich
9d8812a598
Postgres: make sure table from the public schema doesn't get merged with table from other schemas ( #4224 )
...
* Postgres: make sure table from the public schema doesn't get merged with a table from another schema.
* PEP8 updates
2019-10-10 13:02:22 +03:00
Arik Fraimovich
204447a9f5
Add interface to abstract query result persistence ( #4147 )
...
* Add interface to implement custom persistence for QueryResult data
Co-authored-by: Omer Lachish <omer@rauchy.net >
* Deserialize query results data in the model
* Change order of mixins.
* Make DBPersistence.data setter in sycn with getter + tests
2019-10-10 10:39:55 +03:00
Arik Fraimovich
3b7efb8c1f
Make sure that the default settings signal that no email server is configured ( #4226 )
...
* The sender email address has to be None for the test of "is email server
configured" to be correct. Moved the dev setting into docker-compose.yml.
* Move the REDASH_MAIL_SERVER setting into docker-compose.yml to revert the default value to its original value in case anyone was using it.
* Make worker dependant on email as it's the one that actually using it.
2019-10-07 22:23:22 +03:00
Ran Byron
69dc761c60
Alert page - migrate to React and redesign ( #4153 )
2019-10-07 19:15:06 +03:00
Ran Byron
2f42b8154c
Fix: Misleading warning when trying to download results of unsaved query #4218 ( #4219 )
2019-10-06 16:00:24 +03:00
Arik Fraimovich
3f9d49dbd1
Remove debug code ( #4216 )
2019-10-06 11:57:05 +03:00
Justin Clift
0a5dca5d72
Adjust botocore dependency, so we don't need to update it as often ( #4154 )
2019-10-06 11:47:16 +03:00
Gabriel Dutra
8ea285dda9
Split setup in advanced and regular for data sources and destinations ( #4160 )
...
* DynamicForm support for advanced options
* Randomly select a few options to be advanced
* Merge conditions with the same logic
* Address some comments
* Update styling for the button
* Some style adjustments (#4162 )
* Don't set default value to additional settings
* Rename advanced -> extra
* Show extra fields by default when they are filled
* Update hasFilledExtraField logic
* Add example field from destination as extra
2019-10-06 11:46:50 +03:00
Gabriel Dutra
569c325aa0
Support for dropdown of predefined options in data sources setup ( #4161 )
...
* Support for predefined options in data sources
* DynamicForm Select: title -> name
* Make it work with "enum" prop
* Make it work for "extendedEnum" prop
* Not JS
* Deep copy the configuration schema
2019-10-06 11:44:56 +03:00
Gabriel Dutra
d8a0af1a95
Fix query based dropdown not adding quote marks correctly ( #4186 )
...
* Handle non-array in multi-value QueryBasedParameter
* Use state value in QueryBasedParameterInput
* Normalize array in parameter structure
* Add Multi-selection test
* Remove unnecessary not null check
2019-10-06 11:35:47 +03:00
Ran Byron
648847df0b
Fix: Multi-value Dropdown not available in Static Value edit dialog ( #4213 )
2019-10-05 17:52:50 +03:00
Arik Fraimovich
3f31bf3fc0
Fix: use correct variable name ( #4210 )
2019-10-03 13:00:21 +03:00
Rui Z
f6ad3d9d24
Vertica: prevent overwriting row data when duplicated column names exist ( #4201 )
...
* Vertica: prevent overwriting row data when duplicated column names exist
* remove enumeration
2019-10-02 12:20:51 +03:00
bennywij
e8ccdc23c7
Correct typo in log stmt. Add comment re PR 4201 ( #4205 )
2019-10-02 11:37:57 +03:00
Levko Kravets
a8af968d70
Sortable component ( #4199 )
2019-09-30 19:12:27 +03:00
Jesse
cb14459881
Fixes #3766 . ( #4189 )
2019-09-27 11:00:50 +02:00
Gabriel Dutra
780fbceba5
Fix Pivot Visualization should not be saving data ( #4174 )
2019-09-25 11:36:39 -03:00
Omer Lachish
2c77c219c6
Add maildev to the dev stack ( #4173 )
...
* add maildev to the dev stack
* Update redash/settings/__init__.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-09-25 10:50:34 +03:00
Gabriel Dutra
874e0d1ce3
Fix Execute Selected not working for dirty queries ( #4176 )
2019-09-24 10:59:40 -03:00
Gabriel Dutra
401d164622
Remove Widget dev console errors ( #4177 )
2019-09-24 07:39:03 -03:00
Arik Fraimovich
ff041b77cf
Update Sentry-SDK ( #4169 )
2019-09-23 09:54:10 +03:00
Arik Fraimovich
b2d1636f8e
Downgrade mysqlclient to 1.3.14 ( #4165 )
...
Closes #4164 .
2019-09-22 14:56:09 +03:00
Arik Fraimovich
a3e8477410
List enabled Query Runner types during build ( #4166 )
...
* Add CLI command to list enabled query runner types
2019-09-22 14:55:21 +03:00
Omer Lachish
ed22b63f22
remove the annoying quoted title from EmptyState ( #4168 )
2019-09-22 14:33:19 +03:00
Arik Fraimovich
d636b29ba9
Update version ( #4167 )
2019-09-22 13:23:56 +03:00
Ran Byron
6173a2a619
Handle Create Dashboard with middle click ( #4158 )
2019-09-22 10:57:28 +03:00
Gabriel Dutra
fd435d2182
Migrate Pivot Table visualization to React ( #4133 )
...
* npm install react-pivottable
* Initiate Pivot Table Migration
* Update renderer with editor options
* Clean up
* Remove old pivottable from package.json
* Test Percy Snapshot with Pivot Table in a Dashboard
* Tmp: use cy.wait to make sure dashboard is loaded
* Clean up Percy snapshot test
* Small improvements
- cy.all with multiple args
- add controls to pivot valid options
* Watch for options in the Renderer
2019-09-22 10:46:03 +03:00
Gabriel Dutra
cb654b3f21
Migrate Widget component to React ( #4020 )
...
* Improve sizing for Number inputs
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Migrate WidgetDialog
* Start migrating Widget
* Update textbox to use HtmlContent
* QueryLink migration and some updates
* Add visualization rendering
* Render widget
* Add delete button
* Update AutoHeight
* Add widget bottom
* Add Drodpown button
* Split Widget component
* Update with #4056 and trigger netlify
* In progress: use composition
* Add header and footer
* Update widget actions positioning
* Re-render when refreshing from widget
* Add workaround to force DashboardGrid re-render
* VisualizationWidgetFooter component
* VisualizationWidget menu
* Separate RestrictedWidget
* Update tests
* Update margin for Parameters
* Remove widget files
* Revert "Improve sizing for Number inputs"
This reverts commit a02ce8f0aa .
* Some cleanup
* Move refresh logic to the Dashboard
* Add loadingWidgets logic to the public dashboard
* Add onLoadWidget
* Remove parameter from URL when empty
* Recreate widget array instead of loadingWidgets
* Add comment about re-rendering + whitespace missing
* CR changes
* Use plain html instead of string syntax
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-09-20 22:08:42 +03:00
Arik Fraimovich
e8d40bbdac
CHANGELOG for v8.0.0-beta.2 ( #4145 )
...
* Stop building tarballs.
* Update version reference.
* CHANGELOG for 8.0.0-beta.2
2019-09-18 11:23:32 +03:00
Levko Kravets
e5d52055d9
Widget filters overlapped by visualization ( #4137 )
...
* Fix: widget filters overlapped by visualization
* Fix tests
* Fix tests
2019-09-18 11:22:26 +03:00
Levko Kravets
c5e414e6ba
Color picker component ( #4136 )
2019-09-16 13:01:48 +03:00
Gabriel Dutra
b9a40d1808
Query Snippets: Use onClick instead of link for 'Click here' option ( #4144 )
...
* Snippets: Don't change url when not needed
* Revert "Snippets: Don't change url when not needed"
This reverts commit 2f346f3bb4 .
* Query Snippets: use onClick instead of link
2019-09-16 10:00:23 +03:00
Ran Byron
033dd0d15e
Bug fix: Query view doesn't sync parameters when selecting and deleting ( #4146 )
2019-09-16 07:15:38 +03:00
Arik Fraimovich
95795d93c7
CHANGELOG for V8-beta. ( #4057 )
...
* CHANGELOG for V8-beta.
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
2019-09-15 15:48:59 +03:00
Arik Fraimovich
75e48b0bd6
Allow users to share aggregated usage information with us ( #4108 )
...
* Initial commit of BeaconConsent component
* Add comment about being able to change setting
* Use <Text> correctly
* Final version of consent screen
* Show beacon consent message on homepage only if it wasn't enabled already.
* Add consent setting to organization settings screen.
* Add support for custom message in OrgSetting.save.
* Implmenet consent saving.
* If consent given, send extra data
* Add HelpTrigger
* Make CodeClimate happy
* Wrap everything with DynamicComponent
2019-09-15 15:18:48 +03:00
Levko Kravets
75883a1a02
Counter Editor: move components to own files ( #4138 )
2019-09-13 22:35:19 +03:00
Gabriel Dutra
75a5546741
Add jsconfig settings with '@' webpack alias ( #4135 )
2019-09-12 18:25:40 -03:00
Levko Kravets
54071e4b87
Migrate Chart visualization to React Part 1: Renderer ( #4130 )
...
* Migrate Chart visualization: Renderer
* Refine PlotlyChart component; move stylesheets to visualization's folder
* Migrate Custom JS Chart to React
* Cleanup
2019-09-12 10:23:43 +03:00
Arik Fraimovich
6458a1eb62
Remove duplicate messages method ( #4131 )
2019-09-11 11:56:40 +03:00
Levko Kravets
ecf160c9bc
Alerts: Add more condition comparison options ( #4134 )
...
* getredash/redash#4132 Add more condition comparison options
* Add arguments to fallback lambda
2019-09-11 11:18:59 +03:00
Levko Kravets
2c98f0425d
Allow the user to decide how to handle null values in charts ( #4071 )
...
* getredash/redash#2629 Refactor Chart visualization, add option for handling NULL values (keep/convert to 0.0)
* Handle null values in line/area stacking code; some cleanup
* Handle edge case: line/area stacking when last value of one of series is missing
* Mjnor update to line/area stacking code
* Fix line/area normalize to percents feature
* Unit tests
* Refine tests; add tests for prepareLayout function
* Tests for prepareData (heatmap) function
* Tests for prepareData (pie) function
* Tests for prepareData (bar, line, area) function
* Tests for prepareData (scatter, bubble) function
* Tests for prepareData (box) function
* Remove unused file
2019-09-09 13:00:26 +03:00
Ran Byron
8f01988c8c
Decrease size of widget pagination ( #4120 )
...
* Added tests
* Perhaps this would trigger percy
* Decrease size of widget pagination
* Removed unused attr
* Updated tests
2019-09-09 10:57:26 +03:00
Arik Fraimovich
b8741f6cff
Sync botocor eversions across requirements files. ( #4128 )
2019-09-09 10:44:05 +03:00
Levko Kravets
424751d9e9
Migrate Counter visualization to React ( #4106 )
...
* Migrate Counter to React: Renderer
* Migrate Counter to React: Editor
* Cleanup
* Review and fix rows indexing algorithm
* Counter not properly scaled in editor
* Fix wrong label for/input id pair
* Tests
* Tests
* Fix vendor prefixes
* Remove unnecessary useEffect dependencies
* Update tests
* Fix Percy snapshot names
2019-09-09 10:10:10 +03:00
Arik Fraimovich
e048a69392
Upgrade Sentry-SDK and enable additional integratoins ( #4127 )
...
* Update sentry-sdk version
* Add additional Sentry integrations
2019-09-09 10:00:09 +03:00
Ran Byron
2c1e846837
Widget table scroll-x visible ( #4101 )
...
* Table viz horizontal scroll made visible
* Added tests
* Fixed snapshot pre-condition
* Perhaps this would trigger percy
2019-09-09 09:50:03 +03:00
Justin Clift
4b9e26de5a
Update botocore, to get pass pip warning ( #4122 )
2019-09-04 09:12:22 +03:00
sphenlee
17f50192e7
hive_ds: show a user friendly error message when possible ( #4121 )
2019-09-04 08:10:56 +03:00
Gabriel Dutra
dcdec0abb5
Use ng-src for data source icons ( #4123 )
2019-09-03 20:42:19 +03:00
Ran Byron
302c6dd02e
Fix number param value normlization ( #4116 )
2019-09-02 16:29:56 +03:00
Arik Fraimovich
4c56900248
Move annotation logic into Query Runner ( #4113 )
...
* Code formatting
* Move annotation logic into query runner, so it can be overriden in the query runner.
* Add mixin to __all__
* Switch to flag instead of mixin
* Feature (Redshift): option to set query group for adhoc/scheduled queries (#4114 )
* Add scheduled status to query job metadata.
* Add: option to set query group for adhoc/scheduled Redshift queries
* Scheduled might not be set for already enqueued queries.
2019-09-02 16:01:05 +03:00
swfz
1f1f853297
Display data source icon in query editor ( #4119 )
2019-09-02 14:42:41 +03:00
Arik Fraimovich
43f63b1b57
Add ability to use Ant's Table loading property when using ItemsTable ( #4117 )
2019-09-02 14:38:28 +03:00
Gabriel Dutra
5ae80835b1
Fix Dropdown parameter options appearing behind Dialog ( #4109 )
2019-09-01 21:55:37 -03:00
Arik Fraimovich
df3da82afd
Fix: allow users with view only acces to use the queries in Query Results ( #4112 )
...
* Fix: allow users with view only acces to access the queries
* Add tests
* Update error message
* Update error message. Take 2
2019-09-01 22:17:53 +03:00
Ran Byron
98e33b7780
Fix widget bottom element alignment ( #4110 )
2019-09-01 16:59:11 +03:00
Omer Lachish
8a3f6f90eb
Update badge in README.md to link to CircleCI ( #4104 )
...
* Update README.md
* Update README.md
* Update README.md
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update README.md
2019-09-01 10:50:14 +03:00
shinsuke-nara
cab011def9
Migrate with SQL statements. ( #4105 )
2019-08-30 14:08:22 +03:00
Omer Lachish
31c888ea8e
Dashboard: when updating parameters, run only relevant queries ( #3804 )
...
* refresh only affected queries in dashboard when parameters are changed
* rename pendingParameters to updatedParameters
* select which widgets to update according to their mapping as a dashboard-level parameter
* use lodash's include
2019-08-30 07:03:51 +03:00
Sandeep Belagavi
443054428f
[Qubole] - Adding support to process Quantum query types. ( #4066 )
...
* [Qubole] - Adding support to process Quantum query types.
Quantum is a serverless interactive service that offers
direct SQL access to user's data lake. Changes are made
to accept `quantum` query type from user which makes
`Cluster Label` as optional.
* -Making quantum as defult query.
-Dictionary safe access to connection parmeters
* keeping pep8 standards
* Maintainig pep8 std
* Use latest version of qds-sdk
* Use qds-sdk v1.13.0
* Use qds-sdk v1.12.0
* Use qds-sdk v1.13.0
* Updating SDK with verified version
* hive as default query type
* qds-sdk : Locking most recent release version
* qds-sdk : Locking recent release version
* falling back to original version of qds-sdk
2019-08-29 19:22:52 +03:00
Gleb Lesnikov
ef9a4d5eed
[Data Sources] Add: Azure Data Explorer (Kusto) query runner ( #4091 )
...
* [Data Sources] Add: Azure Data Explorer (Kusto) query runner
* CodeClimate fixes
* Remove TODO
* Fixed configuration properties names for Azure Kusto
* Azure Kusto: get_schema in one query
* azure-kusto-data update to 0.0.32
* Add Kusto to the default query runners list
2019-08-26 10:17:49 +03:00
Arik Fraimovich
a2b68a3569
Make sure we always pass a list to _get_column_lists ( #4095 )
...
(some data sources might return None as the columns list)
2019-08-25 17:39:15 +03:00
Ran Byron
e7b707eb25
Removed redash-newstyle.less ( #4017 )
2019-08-22 08:06:54 +03:00
Arik Fraimovich
1786273344
Fix: MySQL connections without SSL are failing ( #4090 )
...
* Move connection logic into a single method & make sure not to pass ssl value if not used.
* Remove wildcard import and format file.
2019-08-21 14:31:17 +03:00
Christian Clauss
d38ca803c5
Add more flake8 tests and fail build if any test fails ( #4055 )
...
* Add more flake8 tests and fail build if any test fails
Run all flake8 E9xx + F63x + F7xx + F82x tests.
* long = long in Python 2
2019-08-18 11:27:44 +03:00
Gabriel Dutra
a1f11cb8d9
Migrate Parameters component to React ( #4006 )
...
* Start Parameters Migration
* Add dirtyCount
* Use workaround with setState
* Apply Changes
* Add EditSettingsDialog
* Add Cmd/Ctrl + Enter behavior
* Remove isApplying
* Delete Angular version of parameters
* Update tests
* Remove angular stuff
* Update jest
* Drag placeholder
* Update events
* Use old button styling and move css
* Reviewing code
* Add parameter rearrange test
* Add Parameter Settings title change test
* Update Parameter Settings button styling
* Move parameter url logic back to Parameters
* Disable url update when query is new
* Styling changes (#4019 )
* Ran's title width styling
* Update drag test
* Improve sizing for Number inputs
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Fix issue with dragged parameter wrapping
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Don't reevaluate dirtyParamCount
* Allow multiple values :)
* Fix parameter alignments
* Fix Select width on search
* Update client/app/components/Parameters.less
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Humanize param.name
* Make sure angular updates Execute disabled status
2019-08-18 11:27:20 +03:00
Vladimir Ponarevsky
b426e4fdc4
Fix clickhouse password leak ( #4078 )
...
* Fix clickhouse password leak
* Fix after review
2019-08-18 11:05:41 +03:00
Arik Fraimovich
e5e926bac5
Pin kombu version ( #4075 )
...
kombu is a dependency of Celery and usually we let them declare the version, but their version is pinned and the most recent release (4.6.4) has a severe regression where workers stop responding to inspect commands.
2019-08-16 19:27:24 +03:00
Arik Fraimovich
24d68008fa
Format target value as a number with reasonable default ( #4073 )
2019-08-15 15:54:32 +03:00
Arik Fraimovich
0e90b89acc
ParameterizedQuery: handle the case where a value is null ( #4072 )
2019-08-15 15:18:40 +03:00
Jannis Leidel
2c2f241671
Require a more up-to-date version of importlib-metadata. ( #4069 )
2019-08-15 11:50:27 +03:00
Jakdaw
d49514abe9
When we fork a query, make sure we create the new visualizations in the same order as per the source query ( #4067 )
2019-08-14 11:08:56 +03:00
Arik Fraimovich
934a145ced
Switch to mysqlclient from Python-MySQL ( #4061 )
2019-08-14 10:11:53 +03:00
Omer Lachish
f7c70c2b91
Add parameter dialog doesn't work when query has selected text ( #4032 )
...
* debounce updateQuery to prevent pasting parameters over selected texts failing parseQuery (see #4032 )
* drop defer
2019-08-14 07:47:34 +03:00
The Alchemist
69ba165565
[Data Sources] Initial commit for adding Dgraph support ( #3987 )
...
* Initial commit for adding Dgraph support
* Made suggestions from https://codeclimate.com/github/getredash/redash/pull/3964
* feedback from @arikfr
* added logo for Dgraph from Twitter
* Better conversion of Dgraph JSON to Redash's internal JSON
* made recommendations from @arikfr
* removed unused function
2019-08-13 13:14:37 +03:00
Jannis Leidel
7b5696dc75
Fix loading of periodic tasks and clean up extension loading. ( #4064 )
...
* Fix loading of periodic tasks and clean up extension loading.
This does a few things:
- add tests for extension loading
- refactor the extension and periodic task loading
- better handle assertions raised by extensions (e.g. when an extension tries to override an already registered view)
- attach exception traceback to error log during loading for improved debugging
* Use site.addsitedir instead of calling pip.
* Use sys.path instead of site.addsitedir and also the setup.py egg_info command.
2019-08-13 13:11:59 +03:00
Gabriel Dutra
4698408a08
Cypress: Fix cy.clock not freezing time ( #4060 )
2019-08-13 07:08:59 -03:00
Ievgen Aleinikov
be142d60df
Add assume role as a credential source for AWS Athena Query runner ( #4028 )
...
* allowing to specify a custom work group for AWS Athena queries
* Fixing title + adding correct position in the UI
* Adding assume role configuration to Athena query runner.
* removing extra blank lines
* fixes based on comments to the PR
2019-08-12 16:45:56 +03:00
Arik Fraimovich
aceea6516f
Change the required Docker Compose version to 3.2 ( #4059 )
...
With the default Docker installed from sources on Ubuntu 19.04 it failed starting the project when asking for Compose version 3.7, but everything worked fine with 3.2.
2019-08-12 13:26:29 +03:00
Arik Fraimovich
685b53672e
Prevent CSP violations by not having script URLs ( #4062 )
...
* Fix: remove inline script to avoid CSP violation
Closes #4039 .
* Restore eslint rule that prevents javascript href attributes.
* Remove all inline script links.
2019-08-12 13:25:07 +03:00
Arik Fraimovich
7dd62ef948
Add option to control whether to format target value. ( #4063 )
2019-08-12 13:24:11 +03:00
Evghenii Goncearov
7c2acc34c9
Dont send password reset link to disabled users ( #2631 )
...
* Dont send password reset link to disabled users
* Update email subject
* Update blocked email text.
* Update blocked email text (plain text version).
* Remove debug print.
2019-08-11 17:29:26 +03:00
Arik Fraimovich
c5a90876f3
Add Cassandra to the list of default enabled query runners ( #4058 )
2019-08-11 17:17:57 +03:00
Takuya Arita
8abaf89394
Add tag management commands ( #3168 )
2019-08-11 16:30:48 +03:00
PengYuan Lai
aa2bd0042e
check float if scale > 0 in snowflake query result ( #3876 )
2019-08-11 16:21:57 +03:00
Yoshiken
a7b14bfb9a
Fix according to pycodestyle format ( #4011 )
...
* Fix W292 no newline at end of file
* Fix extra whitespace
* Fix E305 expected 2 blank lines after class or function definition
* Fix W391 blank line at end of file
* Fix E231 missing whitespace after
* Fix E303 too many blank lines
* Fix E302 expected 2 blank lines
* Fix E128 continuation line under-indented for visual indent
2019-08-11 16:09:04 +03:00
Oluwafemi Sule
4e5f55a4b7
Align content vertically in restricted widget type ( #4056 )
2019-08-11 15:28:46 +03:00
Omer Lachish
76fbe858ba
refresh_queries requires Request Context ( #4045 )
...
* avoid using 'abort' in parameterized query - raise an exception instead
* when facing invalid parameters or detached dropdown queries - continue to refresh the rest of the outdated queries
* test that dropdown queries detached from data source raise an exception when fetch values is attempted
* test that queries with invalid parameters arent refreshed
* test that queries with dropdown query parameters which are detached from the data source are skipped
* fix stale test double name
* newlines. newlines everywhere.
* pass org into dropdown_values
* pass in org in every ParameterizedQuery usage
* Update redash/tasks/queries.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* reduce refresh_queries log noise
* track failure count for queries that failed to apply parameters, and also notify the failures
* Update redash/tasks/queries.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* newlines. newlines everywhere.
2019-08-09 15:26:31 +03:00
Omer Lachish
cf7aef1e16
Make sure there is an event for any query execution ( #4051 )
...
* move event recording for query executions inside run_query
* include indication of cache hit or miss inside execute_query events
2019-08-09 15:24:17 +03:00
Jannis Leidel
77625b2a13
Remove duplicate base_url function. ( #4043 )
2019-08-08 10:44:44 +03:00
Omer Lachish
c4dcf01b3c
avoid variable shadowing ( #4050 )
2019-08-07 22:43:04 +03:00
Ran Byron
a167c590b6
Added arrow to multi-select component ( #4044 )
2019-08-06 16:46:53 +03:00
Gabriel Dutra
8e23f93433
Allow dynamic values dropdown to scroll with the page ( #4040 )
2019-08-06 08:55:25 -03:00
Levko Kravets
e41d40bbe0
getredash/redash#4036 Visualisation editor crashes out when changing datetype to non-HTML text ( #4037 )
2019-08-05 12:37:21 +03:00
Gabriel Dutra
6fc4d5b551
Focus DatePicker after selecting dynamic values ( #4033 )
2019-08-04 22:24:33 -03:00
Gabriel Dutra
f0576a3623
Support multi-select in parameters ( #3952 )
...
* Allow multiple values for enum parameter
* Allow multi-select for Query dropdown parameters
* CR + make sure list values are allowed
* Add prefix, suffix and separator
* Rename multipleValues and cast options as strings
* Replicate serialization logic on frontend
* Add Quote Option Select
* Make sure it's enum or query before join
* Add a couple of tests
* Add help to quote option
* Add min-width and normalize empty array
* Improve behavior when changing parameter settings
- Set parameter value again to pass through checks
- Add setValue check for multi values
* Validate enum values on setValue + CodeClimate
* Ran wording suggestions
* Updates after Apply Changes
* Fix failing Cypress tests
* Make sure enumOptions exists before split
* Improve propTypes for QueyBasedParameterInput
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* CR
* Cypress: Test for multi-select Enum
* Fix multi-selection Cypress spec
* Update Refresh Schedule
2019-08-04 15:47:30 +03:00
Levko Kravets
9eabf89771
getredash/redash#4031 Counter visualization: formatting not applied to target value ( #4035 )
2019-08-04 15:22:53 +03:00
Arik Fraimovich
11cc274c1c
Update Snowflake connector version to latest ( #4029 )
2019-08-04 08:55:02 +03:00
Ran Byron
8ad08a566a
Revert "Revoked widget refresh button spinners" ( #4027 )
...
This reverts commit ab5494a8fd .
2019-08-01 08:23:17 +03:00
Levko Kravets
ef31d0d768
Fix: don't update dashboard's version when adding a widget ( #4026 )
2019-07-31 22:28:12 +03:00
Levko Kravets
4640c33387
Bug fix: error when trying to collect dashboard-level filters for a textbox widget ( #4024 )
2019-07-31 18:03:40 +03:00
Levko Kravets
9b290913a6
Migrate Table visualization to React Part 1: Renderer ( #3963 )
2019-07-31 17:33:33 +03:00
Ran Byron
db89c4f7bc
Turned off max asset size warning ( #4023 )
2019-07-31 11:34:52 +03:00
Gabriel Dutra
eae1fb7d73
Force readonly inputs click ( #4016 )
2019-07-30 11:16:34 +03:00
Arik Fraimovich
4f742aeaac
Fix: support for unicode in DynamoDB queries ( #4015 )
2019-07-30 11:14:57 +03:00
Ran Byron
5ddad862be
Updated timeago strings ( #4012 )
...
* Updated timeago strings
* Moved moment config to app/config
2019-07-29 18:03:59 +03:00
Ran Byron
6f811f163a
Added widget header refresh indicator ( #3970 )
2019-07-29 16:43:44 +03:00
Omer Lachish
7fb33e3ebb
Failed Scheduled Queries Report ( #3798 )
...
* initial work on e-mail report for failed queries
* send failure report only for scheduled queries and not for adhoc queries
* add setting to determine if to send failure reports
* add setting to determine interval of aggregated e-mail report
* html templating of scheduled query failure report
* break line
* support timeouts for failure reports
* aggregate errors within message and warn if approaching threshold
* handle errors in QueryExecutor.run instead of on_failure
* move failure report to its own module
* indicate that failure count is since last report
* copy changes
* format with <code>
* styling, copy and add a link to the query instead of the query text
* separate reports with <hr>
* switch to UTC
* move <h2> to actual e-mail subject
* add explicit message for SoftTimeLimitExceeded
* fix test to use soft time limits
* default query failure threshold to 100
* use base_url from utils
* newlines. newlines everywhere.
* remove redundant import
* apply new design for failure report
* use jinja to format the failure report
* don't show comment block if no comment is provided
* don't send emails if, for some reason, there are no available errors
* subtract 1 from failure count, because the first one is represented by 'Last failed'
* don't show '+X more failures' if there's only one
* extract subject to variable
* format as text, while we're at it
* allow scrolling for long exception messages
* test that e-mails are scheduled only when beneath limit
* test for indicating when approaching report limits + refactor
* test that failures are aggregated
* test that report counts per query and reason
* test that the latest failure occurence is reported
* force sending reports for testing purposes
* Update redash/templates/emails/failures.html
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update redash/templates/emails/failures.html
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update redash/tasks/failure_report.py
* add org setting for email reports
* remove logo from failure report email
* correctly use the organization setting for sending failure reports
* use user id as key for failure reports data structure
* Update redash/tasks/failure_report.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* build comments while creating context for e-mail templates
* figure out the base url when creating the e-mail
* no need to expire pending failure report keys as they are deleted anyway when sent
* a couple of CodeClimate changes
* refactor key creationg to a single location
* refactor tests to send e-mail from a single function
* use beat to schedule a periodic send_aggregated_errors task instead of using countdown per email
* remove pending key as it is no longer required when a periodic task picks up the reports to send
* a really important blank line. REALLY important.
* Revert "a really important blank line. REALLY important."
This reverts commit c7d8ed8972 .
* a really important blank line. REALLY important. It is the best blank line.
* don't send failure emails to disabled users
2019-07-28 12:40:54 +03:00
Omer Lachish
f165168860
recycle gunicorn workers ( #4013 )
2019-07-28 11:39:14 +03:00
Gabriel Dutra
86b0608fde
Fix Apply Changes is lost when query is edited ( #4010 )
...
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-07-27 19:05:49 -03:00
Gabriel Dutra
cd4daf8823
Add Dynamic Values to Date and Date Range Parameters ( #3904 )
...
* Draft for Date Dynamic values
* Use value with prefix instead of specific attr
* Fix not possible to select static value
* Update antd version
* Cleanup and DateRangeParameter
* Dynamic DateTimeRange
* Add Dynamic options to Date Parameters
* UI refinements
* Add getDynamicValue function
* Add 'This' options and prevent text clipping
* Make allowClear available
* Update ScheduleDialog snapshot
* Add some protections and separate Date/DateRange
* Accept null values on date or daterange parameters
* Handle undefined values on Moment propType
* Move export to end of files
* Remove Today/Now option
* Update with Apply Changes
* Show name instead of value for dynamic values
* Add comment about supporting useCurrentDateTime
* Cypress Tests: Date Parameters
* Cypress Tests: Date Range Parameters
* Don't put null params in the url
* Add workaround comments to Cypress tests
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Fix Dynamic Value as default for global parameters
* Update Back to Static Value
* Add isValid to value on Date and DateRange inputs
* CR suggestions
* Fix Back to Static Value for Dates
* Update Dynamic Value Styling
* Fix failing Date tests
* Fix selectedDynamicValue
* Parameter spec: Remove date range clickThrough
* Add transition
* Fix failing Cypress tests
* Back with 'width: auto'
* Check value is valid on Back to Static value
* CR
* Update Date Range width
2019-07-26 22:40:13 +03:00
Gabriel Dutra
78cae474e0
Cypress: Specify widgets position on sharing spec ( #4009 )
2019-07-26 13:15:39 -03:00
Naoyuki Kataoka
c518c7a4bc
Modified PagerDuty destination to avoid an error for multi-byte characters ( #4008 )
2019-07-24 09:06:25 +03:00
Gabriel Dutra
8c2f51d09d
Percy: Fix shared dashboard inconsistent snapshots ( #4002 )
2019-07-23 11:55:24 -03:00
Gabriel Dutra
6f6c68bd79
Cypress: Separate dashboard spec ( #4003 )
2019-07-22 11:09:08 -03:00
Ran Byron
64f274f58e
Disable execute when params are dirty ( #4001 )
...
* Disable execute when params dirty
* Removed special apply handling for query page
* Updated tests
2019-07-22 12:13:34 +03:00
Omer Lachish
dd89bd885f
Add "deprecated" flag to query runners (and alert destinations) ( #3972 )
...
* add a deprecated flag to query runners and show only non-deprecated query runners when adding a new data source
* add a deprecated flag to alert destinations and show only non-deprecated alert destinations when adding a new alert destination
* add a deprecated() decorator for a more succint way to deprecate
* deprecate URL query runner and HipChat alert destination
* use class properties instead of class methods for deprecation
* I <3 newlines
2019-07-22 10:36:31 +03:00
Ran Byron
b2295197cf
Added publish notification to query rename ( #3998 )
2019-07-21 15:01:08 +03:00
Omer Lachish
ea0e411053
Return unsafe sharing error from backend ( #3990 )
...
* return message explaining unsafe sharing
* use backend-generated message for public dashboards
* use backend-generated message for embeds
* Update redash/handlers/query_results.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* refactor simple (non-interpolated) query result handler error messages to a single location
* use error_messages to test out unsafe error messages (along with a couple of others)
* Update redash/handlers/query_results.py
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update redash/handlers/query_results.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-07-21 09:21:45 +03:00
Arik Fraimovich
9bdb3412a5
Move query runners/destinations import from redash.app to redash. ( #3993 )
...
* Move query runners/destinations import from redash.app to redash.
* Add missing argument
2019-07-21 09:05:29 +03:00
Fumiya Karasawa
ad4a760545
Search dropdown parameters ( #3796 )
2019-07-20 16:07:03 +03:00
Omer Lachish
c1f4147807
Avoid committing it.only ( #3995 )
...
* remove it.only, left by mistake
* use no-only-tests
* 'off' should be used instead of 'none'
* Dedup jest/only rule
* always error for .only
2019-07-19 18:30:38 +03:00
Ran Byron
c054ae8be0
Fixed filter style issue ( #3996 )
2019-07-18 13:49:37 +03:00
Omer Lachish
d1edd3d068
Query Result API response shouldn't include query information for non authenticated users ( #3985 )
...
* avoid catching errors on text widgets' load(), as they don't have a visualization and therefore do not return any promise
* throw error when failing to load widgets on public dashboards - in case something needs to be done with it at a later time, and it's the right thing to do anyway
* use Promise.resolve instead of checking for undefined
* call serialize_query_result instead of directly calling to_dict
* filter unneeded query result fields for unauthenticated users
* test for serialization filtering
* lint
* use project instead of list comprehension
2019-07-18 12:12:49 +03:00
Arik Fraimovich
4989bfae60
Remove custom Redis connection code in favor of redis.from_url ( #3992 )
2019-07-18 12:03:52 +03:00
Gabriel Dutra
f20a020003
Use AceEditor for Query Snippets ( #3973 )
...
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-07-17 13:47:31 -03:00
Ran Byron
01da8c158a
Parameter “Apply Changes” button ( #3907 )
2019-07-17 17:17:39 +03:00
Omer Lachish
c83e40b047
Celery doesn't auto reload in development ( #3898 )
...
* pick up *.py file changes and restart scheduler
* only watch /redash in order to avoid reloading on other file changes (e.g. tests)
* add dev_scheduler entrypoint
* use exec
* Update bin/docker-entrypoint
* rename dev_scheduler to dev_worker
* use same defaults as worker
2019-07-17 10:38:56 +03:00
Ran Byron
c3cc65a21d
Viz embed logo alignment ( #3956 )
2019-07-16 11:37:31 +03:00
Omer Lachish
5929139ab8
A couple of parameters-on-public-dashboards loose ends ( #3988 )
...
* avoid catching errors on text widgets' load(), as they don't have a visualization and therefore do not return any promise
* throw error when failing to load widgets on public dashboards - in case something needs to be done with it at a later time, and it's the right thing to do anyway
* use Promise.resolve instead of checking for undefined
2019-07-16 10:48:37 +03:00
Ran Byron
66794acd1f
Added loading indicator to public dashboard ( #3984 )
2019-07-16 10:31:19 +03:00
Arik Fraimovich
bce0832e48
Show error in case of failing to load a dashboard ( #3983 )
2019-07-15 22:13:46 +03:00
Yuri Grishaev
9f006997a0
mattermost needs whitespace to use h4 heading ( #3981 )
...
#### Even Smaller Heading - good
####Even Smaller Heading - bad
2019-07-15 21:13:17 +03:00
Omer Lachish
51d8131db5
Allow Parameters on Public Dashboards ( #3659 )
...
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* go to textless /api/queries/:id/results by default
* change `run_query`'s signature to accept a ParameterizedQuery instead of
constructing it inside
* raise HTTP 400 when receiving invalid parameter values. Fixes #3394
* enqueue jobs for ApiUsers
* rename `id` to `user_id`
* support executing queries using Query api_keys by instantiating an ApiUser that would be able to execute the specific query
* show deprecation messages for ALLOW_PARAMETERS_IN_EMBEDS. Also, move
other message (email not verified) to use the same mechanism
* add link to forum message regarding embed deprecation
* change API to /api/queries/:id/dropdowns/:dropdown_id
* split to 2 different dropdown endpoints and implement the second
* add test cases for /api/queries/:id/dropdowns/:id
* use new /dropdowns endpoint in frontend
* first e2e test for sharing embeds
* Pleasing the CodeClimate overlords
* All glory to CodeClimate
* remove residues from bad rebase
* add query id and data source id to serialized public dashboards
* add global parameters directive to public dashboards page
* allow access to a query by the api_key of the dashboard which includes
it
* rename `object` to `obj`
* simplify permission tests once `has_access` accepts groups
* support global parameters for public dashboards
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* rename `object` to `obj`
* simplify permission tests once `has_access` accepts groups
* no need to log `is_api_key`
* send parameters to public dashboard page
* allow access to a query by the api_key of the dashboard which includes it
* disable sharing if dashboard is associated with unsafe queries
* remove cypress test added in the wrong place due to a faulty rebase
* add support for clicking buttons in cy.clickThrough
* Cypress test which verifies that dashboards with safe queries can be shared
* Cypress test which verifies that dashboards with unsafe queries can't be shared
* remove duplicate tests
* use this.enabled and negate when needed
* remove stale comment
* add another Cypress test to verify that unauthenticated users have access to public dashboards with parameters
* obviously, I commit 'only' the first time I use it
* search for query access by query id and not api_key
* no need to fetch latest query data as it is loaded by frontend from the textless endpoint
* test that queries associated with dashboards are accessible when supplying the dashboard api_key
* propagate `isDirty` down to `QueryBasedParameterInput`
* go to /api/:id/dropdown while editing a query, since dropdown queries might still not be associated with the parent. see #3711
* show helpful error message if dropdown values cannot be fetched
* use backticks instead of line concatenation
* remove requirement to have direct access to dropdown query in order validate it. parent query association checks are sufficient
* remove isDirty-based implementation and allow dropdown queries through nested ACL even if they aren't associated yet (given that the user has _direct_ access to the dropdown query)
* fix tests to cover all cases for /api/queries/:id/dropdowns/:id
* fix indentation
* require access to the query, not the data source
* resolve dashboard user by query id
* apply new copy to Cypress tests
* if only something would have prevented me from commiting an 'only' call 🤔
* very important handling of whitespace
* respond to parameter's Apply button
* text widgets are safe for sharing
* remove redundant event
* add a safety check that object has dashboard_api_keys before calling it
* supply a parameter value for text parameters to have it show up
* add parameter values for date and datetime
* use the current year and month to avoid pagination
* use Cypress.moment() instead of preinstalled moment()
* explicitly create parameters
* refresh query data if a querystring parameter is provided
* avoid sending a data_source_id - it's only relevant to unsaved queries, since a saved query's data_source is available in the backend
* remove empty query text workaround
* provide default value to parameter
* add a few more dashboard sharing specs
* lint
* wait for DynamicTable to appear to reveal that actual results are displaying
* override error message for unsafely shared widgets
2019-07-15 15:09:30 +03:00
Arik Fraimovich
c793b5dd11
Remove explicit kombu dependency ( #3978 )
...
We used an explicit kombu dependency to target the correct Redis version, but current version of Celery supposed to use it by default.
2019-07-14 08:47:15 +03:00
Levko Kravets
4e9da3f116
[Bug fix] Plotly legend overlaps plot on small screens (when legend clicked) ( #3976 )
2019-07-13 18:27:53 +03:00
Arik Fraimovich
15a8eecdde
JSON Data Source ( #3805 )
...
* WIP: JSON Data Source
* Add JSON data source to default list
2019-07-11 14:23:38 +03:00
k-tomoyasu
a8ff2500be
Build custom alert message ( #3137 )
...
* build custom alert message
* fit button color tone
* pass existing test
* fix typos
* follow code style
* add webhook alert description and avoid key error
* refactor: create alert template module
* follow code style
* use es6 class, fix template display
* use alerts.options, use mustache
* fix email description
* alert custom subject
* add alert state to template context, sanitized preview
* remove console.log 🙇
* chatwork custom_subject
* add alert custom message. pagerduty, mattermost, hangoutschat
* Pass custom subject in webhook destination
* Add log message when checking alert.
* Add feature flag for extra alert options.
2019-07-11 13:23:06 +03:00
Ran Byron
7bf84e856c
Workaround fixes for datepicker display bug in Cypress tests ( #3967 )
2019-07-10 17:47:46 +03:00
Levko Kravets
5149bf67ca
[Bug fix] Archiving a dashboard cause widgets to show reload spinner forever ( #3968 )
2019-07-10 13:35:15 +03:00
Arik Fraimovich
93449db325
Improvements to Query Result serialization code ( #3960 )
...
* Fix: allow serializing empty or bad dates
* Improve date serialization performance
* Remove duplicate assertion.
2019-07-10 10:51:34 +03:00
Arik Fraimovich
df57d22e81
Add explicit route for dashboards to allow embedding in iframes. ( #3957 )
...
* Add explicit route for dashboards to allow embedding in iframes.
* Add missing blank lines
2019-07-10 10:25:08 +03:00
Gabriel Dutra
de0a44ee85
Migrate Query Snippets to React ( #3627 )
2019-07-09 09:27:39 -03:00
Tomoki Sekiyama
261062d491
Support multi-byte search for query names and descriptions ( #3908 )
...
* Support multi-byte search for query names and descriptions
* add multi_byte_support_enabled option to organization settings
* add `ilike %...%` to query search conditions when the option is enabled
* Improve description for multi_byte_search_enabled option
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* Remove tsvector from search when multi_byte_search_enabled
* Add a multi-byte search test case
2019-07-08 10:01:47 +03:00
Arik Fraimovich
1878e8bf90
Add additional Celery config options ( #3961 )
2019-07-08 08:32:18 +03:00
Arik Fraimovich
47fc8a942a
Add options to hide different parts of embed UI (parameters, title, link to query) ( #3955 )
...
* Move closing tag to correct location
* Add options to hide elements in query embed UI
* Fix for headless top padding (#3959 )
2019-07-07 14:34:00 +03:00
Arik Fraimovich
addecbdd8f
Allow calling query results endpoint without parameters. ( #3958 )
...
* Allow calling query results endpoint without parameters.
* Fix: allow serializing empty or bad dates
* Revert "Fix: allow serializing empty or bad dates"
This reverts commit cc49319d9e .
2019-07-07 14:22:08 +03:00
Gabriel Dutra
baec5d56f5
Remove time from Date column in filters ( #3953 )
2019-07-05 18:13:12 -03:00
Levko Kravets
1f4325ba8d
Migrate Box Plot visualization to React ( #3948 )
2019-07-04 22:25:09 +03:00
Arik Fraimovich
5e5b56ed6a
Fix: render date/time values as strings and not epoch time ( #3951 )
2019-07-04 20:49:59 +03:00
Arik Fraimovich
45a3b72730
Update fsevents to v1.2.9 ( #3950 )
2019-07-04 15:43:43 +03:00
Levko Kravets
cc48de0d8f
Migrate Word Cloud visualization to React ( #3930 )
2019-07-03 13:29:05 +03:00
Arik Fraimovich
300f3f6780
Fix: waiting tasks are not shown in admin view ( #3942 )
...
* Fix: waiting tasks are not shown properly
* Added a comment.
2019-07-03 11:09:42 +03:00
Omer Lachish
2e4a69cba4
Parameter spec fixes ( #3932 )
...
* supply a parameter value for text parameters to have it show up
* add parameter values for date and datetime
* use the current year and month to avoid pagination
* use Cypress.moment() instead of preinstalled moment()
* capture time before clicking on Now
* use now from input
* use now from input for another test
2019-07-01 09:56:55 +03:00
Arik Fraimovich
6748e9a15d
Add option to hide Pivot Table totals ( #3943 )
...
* Add option to hide Pivot Table totals
* Simplify implementation using DEFAULT_OPTIONS.
* Flip hide pivot controls to show pivot controls
* Update client/app/visualizations/pivot/Editor.jsx
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-06-30 15:43:18 +03:00
Arik Fraimovich
7ceb68a468
Visualization: details view ( #3778 )
...
* Details visualization
* Add PropTypes and guard against no rows
2019-06-30 15:34:02 +03:00
Levko Kravets
3c1d1e3d4e
Explicitly mark default visualization ( #3944 )
2019-06-30 14:09:00 +03:00
Levko Kravets
92391e3cbc
[Bug fix] Toggling Use Dashboard Level Filter cause widgets to show reload spinner forever ( #3939 )
2019-06-28 15:02:07 +03:00
Levko Kravets
17438002d7
[Bug fix] Adding widget from query page is broken ( #3921 )
2019-06-25 20:06:36 +03:00
Jianchao Yang
a00c5a8857
Dockerfile front end stage copies client side files only ( #3924 )
...
So that changing other files will not trigger the
very expensive rebuild process.
2019-06-23 11:33:52 +03:00
John Karahalis
a696fa55f3
Set unique class name for Query Control Dropdown ( #3922 )
...
This will help me target the Query Control Drodpwon in my extension.
2019-06-23 10:01:46 +03:00
Arik Fraimovich
27259b5abe
Add support for int/float values in guess_type ( #3913 )
2019-06-20 08:55:31 +03:00
Ran Byron
9ee393ec75
Fix schedule dialog needless confirm saves ( #3919 )
2019-06-20 08:54:53 +03:00
Ran Byron
cfafa97218
Fixed boolean filter ( #3915 )
2019-06-19 14:54:27 +03:00
deecay
be580b24a5
Expose celery job timeout setting to env var ( #3912 )
...
* Expose celery job timeout to env
* Change variable name
2019-06-19 14:41:12 +03:00
Arik Fraimovich
a6960c5f19
Fix: time format option was wrong ( #3916 )
2019-06-19 14:37:02 +03:00
Arik Fraimovich
6dd321beeb
Rockset: handle query errors ( #3910 )
2019-06-18 14:10:25 +03:00
Arik Fraimovich
27c64b42ac
Add keyboard shortcut for format query (Ctrl/Cmd+Shift+F) ( #3911 )
...
* Add keyboard shortcut for format query
* Added to button tooltip
2019-06-18 14:10:05 +03:00
deecay
99bf6d122c
Custom Map Markers ( #3840 )
2019-06-18 09:50:09 +03:00
Ran Byron
d617f57f7d
Increase celery job timeout ( #3903 )
2019-06-17 08:35:02 +03:00
Guy Cohen
21a27ee0b1
Fix OverflowError on celery worker ( #3899 )
2019-06-16 11:34:29 +03:00
YOSHIDA Katsuhiko
ac293c7f92
Add alert deletion confirmation dialog ( #3902 )
2019-06-15 14:28:55 +03:00
YOSHIDA Katsuhiko
8e38dcd244
Support regenerating Query API Key ( #3764 )
...
* Add regenerate function of query's API Key
* Add regenerate API Key button
* Add regenerate Query API Key tests
* Fix too long line
* Replace with this
* Return a simple version query
* Update only API Key
* Update API Key via query
2019-06-12 13:09:21 +03:00
Aidarbek Suleimenov
2bab144107
Celery task to clear schedule was added ( #3801 )
...
* Celery task to clear schedule was added
* fix formating
* empty_schedules task was put in separate task
* worker interval changed, new tests added
* past artifact deleted
* test queries moved to right class, lambda was used to filter data
* unnecessary changes eliminated
* more unnecessary files deleted
* line shortened
* Line shortened more
* codeclimate changes
* Unused test deleted, logs added
2019-06-12 13:07:15 +03:00
Mike Nason
4e0a251034
Add support ssl connections to redis ( #3848 )
...
* Add support ssl connections to redis
* Fix line length
* Update redash/__init__.py w suggestion
Co-Authored-By: Omer Lachish <omer@rauchy.net >
* Cleanup init after suggestion
* Move redis SSL config to settings
* Do not pass celery SSL config unless necessary
* Fix typo
2019-06-12 13:04:34 +03:00
Levko Kravets
7a9f4b07e0
Force a Choose account step for Google OAuth ( #3884 )
2019-06-12 11:48:25 +03:00
Arik Fraimovich
1630cbb904
Google Sheets: friendlier error message in case of an API error and more reliable test connection ( #3883 )
...
* Google Sheets: friendlier error message in case of an APIError and more reliable test connection.
* Pleasing the pep8 gods
2019-06-12 11:46:59 +03:00
Levko Kravets
f8d05dda9f
getredash/redash#3879 Plotly legent overlaps plot on small screens (FF only) ( #3882 )
2019-06-12 11:46:34 +03:00
Omer Lachish
2af8b39d21
Authorize according to API key (if given) over cookies ( #3877 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
* use authorization according to api_key (if provided) over session
2019-06-12 11:45:28 +03:00
dependabot[bot]
3faed0fdfe
Bump pyopenssl from 16.2.0 to 17.5.0 ( #3872 )
...
Bumps [pyopenssl](https://github.com/pyca/pyopenssl ) from 16.2.0 to 17.5.0.
- [Release notes](https://github.com/pyca/pyopenssl/releases )
- [Changelog](https://github.com/pyca/pyopenssl/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pyca/pyopenssl/compare/16.2.0...17.5.0 )
2019-06-12 11:38:47 +03:00
dependabot[bot]
e45f49b86e
Bump cryptography from 2.0.2 to 2.3 ( #3870 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 2.0.2 to 2.3.
- [Release notes](https://github.com/pyca/cryptography/releases )
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/2.0.2...2.3 )
2019-06-12 11:38:38 +03:00
Omer Lachish
e33ad3b164
Query Results: querying a column with a dictionary or array fails ( #3887 )
...
* flatten lists and dicts to json to be used with SQLite's json_extract functions
* add test that verifies that lists and dicts are saved
* add test that verifies that lists and dicts are saved
2019-06-11 17:41:15 +03:00
Omer Lachish
6605f62f3a
add api_key to embed download urls ( #3896 )
2019-06-11 14:02:02 +03:00
Omer Lachish
ed2ac407ab
Remove schema after deleting data source ( #3894 )
...
* remove schema from redis after deleting data sources
* switch to _pause_key to property
2019-06-10 22:39:26 +03:00
Ran Byron
dda75cce24
Drawer menu with recreated close button ( #3889 )
...
* Drawer menu with recreated close button
* Added “Open in new window” drawer menu button (#3890 )
2019-06-09 12:21:53 +03:00
Omer Lachish
5b780ac460
Refresh Public Dashboards ( #3881 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
* fix refresh for public dashboards
2019-06-06 11:07:12 +03:00
koooge
c0e8ef3000
Upgrade gspread 3.1.0 for supporting team drive ( #3838 )
...
* Upgrade gspread 3.1.0 for supporting team drive
Signed-off-by: koooge <koooooge@gmail.com >
* Revert "Upgrade gspread 3.1.0 for supporting team drive"
This reverts commit e53e8cb75b .
* Upgrade gspread 3.1.0 for supporting team drive
Signed-off-by: koooge <koooooge@gmail.com >
* Update Sheets query runner name
2019-06-06 11:02:08 +03:00
Gabriel Dutra
a82fd0cabc
Cypress: Fix date parameters false positive ( #3873 )
2019-06-04 12:19:55 -03:00
Ran Byron
0e3e2eaf38
Restrict dynamic-table internal scroll only when pagination appears ( #3875 )
2019-06-04 09:11:19 -06:00
Omer Lachish
05f6ef0fb6
Remove legacy session identifier support ( #3866 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
2019-06-03 22:18:24 +03:00
dependabot[bot]
e433efebc4
Bump flask from 0.11.1 to 0.12.3 ( #3871 )
...
* Bump flask from 0.11.1 to 0.12.3
Bumps [flask](https://github.com/pallets/flask ) from 0.11.1 to 0.12.3.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/0.11.1...0.12.3 )
* Bump to Flask 0.12.4 to fix an issue
2019-06-03 18:04:43 +03:00
Arik Fraimovich
a9588eac79
Update version to 8.0.0-beta. ( #3869 )
2019-06-02 14:37:16 +03:00
Arik Fraimovich
090b570a71
Rearrange README badges.
2019-06-02 14:01:09 +03:00
Arik Fraimovich
60b12e3121
Update PromiseRejectionError to show error message from API response ( #3868 )
...
* Update PromiseRejectionError to show error message from API response
* Update version to 8.0.0-beta.
* Revert "Update version to 8.0.0-beta."
This reverts commit c8fa74967f .
2019-06-02 11:47:26 +03:00
Arik Fraimovich
3f8c7333be
Use the debian flavor of the redash/base image ( #3240 )
2019-06-02 11:42:19 +03:00
Arik Fraimovich
be8dec5f04
Add Collapse component ( #3867 )
2019-06-02 11:12:37 +03:00
Levko Kravets
10b3b50f3d
getredash/redash#3862 Widget menu should not be available on public dashboards ( #3863 )
2019-06-02 11:00:10 +03:00
Levko Kravets
6f290ddfa1
Use more specific CSS for public dashboard page to avoid conflicts with other components ( #3864 )
2019-05-31 23:41:43 +03:00
Ran Byron
10b62ebe02
Beautify autoheight code a bit ( #3865 )
2019-05-31 14:09:29 -06:00
Ran Byron
04453409da
Fix widget autoHeight related exception ( #3858 )
2019-05-31 05:57:26 -06:00
Gabriel Dutra
b27df216f4
Cypress tests for query parameters ( #3810 )
2019-05-30 10:01:44 -03:00
Levko Kravets
a0c76d777b
getredash/redash#3851 Disable filter which does not have values ( #3852 )
2019-05-30 15:53:28 +03:00
Levko Kravets
2e96e2fb98
getredash/redash#3849 Fix initialization of dashboard-level parameters ( #3853 )
2019-05-30 15:51:58 +03:00
Gabriel Dutra
c2e31f040d
Fix table isn't displayed with date filter ( #3842 )
2019-05-29 09:40:25 -03:00
Arik Fraimovich
816f4d912f
Capitalize "elsewhere" ( #3844 )
2019-05-29 14:47:17 +03:00
Arik Fraimovich
9292ae8d3f
CSV: correctly serialize booleans and dates. ( #3841 )
...
* CSV: correctly serialize booleans and dates.
Closes #3736 , closes #2751 .
* pep8 fixes
* Move column iteration to a helper function.
* Use elif, as types are mutually exclusive.
* Refactor parsing implementation.
* Move the csv generation fucntion
2019-05-29 10:45:29 +03:00
Levko Kravets
9480d89e4c
[Feature] Migrate CreateDashboardDialog to React ( #3826 )
2019-05-27 23:12:52 +03:00
Ran Byron
5dff5b929c
Unsupported browser redirect script outputted to file ( #3832 )
2019-05-27 13:18:04 -06:00
Gabriel Dutra
28e9740e2f
Update Data Source Lifecycle Events ( #3828 )
2019-05-27 19:28:16 +03:00
Ran Byron
7679df63ba
Fix for Mac browser’s scrollbar obscuring content ( #3830 )
2019-05-27 18:31:02 +03:00
Jannis Leidel
07c9530984
Decouple extensions from Flask app. ( #3569 )
...
* Decouple extensions from Flask app.
This separates the extension registry from the Flask app and also introduces a separate registry for preriodic tasks.
Fix #3466 .
* Address review feedback.
* Update redash/extensions.py
Co-Authored-By: jezdez <jannis@leidel.info >
* Minor comment in requirements.
* Refactoring after getting feedback.
* Uncoupled bin/bundle-extensions from Flas app instance.
* Load bundles in bundle script and don’t rely on Flask.
* Upgraded to importlib-metadata 0.9.
* Add missing requirement.
* Fix TypeError.
* Added requirements for bundle_extension script.
* Install bundles requirement file correctly.
* Decouple bundle loading code from Redash.
* Install bundle requirements from requirements.txt.
* Use circleci/node for build-docker-image step, too.
2019-05-26 14:56:02 +03:00
Rueian
aecd0bf37a
include bigquery_gce.png in db-logos ( #3825 )
2019-05-26 13:27:29 +03:00
Omer Lachish
4143bd3f20
when authenticated, the query shouldn't be sent over to the /jobs endpoint ( #3831 )
2019-05-26 12:19:32 +03:00
Arik Fraimovich
020dc35faf
Create SECURITY.md ( #3823 )
...
* Create SECURITY.md
* Update SECURITY.md
Co-Authored-By: Gabriel Dutra <nesk.frz@gmail.com >
2019-05-26 09:32:41 +03:00
Gabriel Dutra
d7b03bac02
Add CircleCI env vars to Cypress docker ( #3827 )
2019-05-23 22:33:23 +03:00
Omer Lachish
29875e66d4
Plug custom Celery tasks via dynamic settings ( #3819 )
...
* plug custom celery tasks via dynamic settings
* an extra blank line
2019-05-22 11:37:18 +03:00
taminif
d97ce15837
refactor format semi-colon ( #3812 )
2019-05-22 11:10:16 +03:00
Gabriel Dutra
b263bb7077
[Bug fix] Fix "Now" in DateTime parameter not working ( #3808 )
2019-05-16 18:42:48 +03:00
Ran Byron
606cf12e74
Dashboard grid React migration #1 ( #3722 )
...
* Dashboard grid React migration
* Updated tests
* Fixes comments
* One col layout
* Tests unskipped
* Test fixes
* Test fix
* AutoHeight feature
* Kebab-cased
* Get rid of lazyInjector
* Replace react-grid-layout with patched fork to fix performance issues
* Fix issue with initial layout when page has a scrollbar
* Decrease polling interval (500ms is too slow)
* Rename file to match it's contents
* Added some notes and very minor fixes
* Fix Remove widget button (should be visible only in editing mode); fix widget actions menu
* Fixed missing grid markings
* Enhanced resize handle
* Updated placeholder color
* Render DashboardGrid only when dashboard is loaded
2019-05-16 15:43:46 +03:00
Levko Kravets
4508975749
[Bug fix] Plotly modebar appears above modals ( #3799 )
2019-05-15 10:43:34 +03:00
Gabriel Dutra
c76955be28
Refresh query when parameters update ( #3737 )
...
* Add touch state to parameters and autoupdate query
* Use values change event instead of $watch
* Remove getQueryResultDebounced
* Add Apply button
* Remove Input Number spinners for Parameters
* Make Apply Button optional
* Update share_embed_spec
* Change debounce to the Parameters component
* Remove unnecessary click on Execute query
* Add apply button to the remaining places
* Update dashboard_spec
* Use onKeyUp for InputNumber
* Simplify onParametersValuesChanged
* Update DateTime onChange function
* Don't apply when modifier key is pressed
* Remove refresh Button from Parameters
* Update apply button styling
* Update apply right distance
* Remove debounce for testing
* Use data-dirty instead of classNames for styling
* Make sure $apply runs before calling onChange
2019-05-15 08:57:06 +03:00
Gabriel Dutra
4f402379e8
Migrate Embed Query Dialog to React ( #3783 )
...
* Update Antd
* Migrate Embed Query Dialog to React
* Update jest ScheduleDialog snapshot
* Add Alert for unsafe queries
* Add CodeBlock
* Add inputs to change iframe size
* Undo ant update
* Update share embed spec
* Update styling
* Change border-radius to 2px
* Update margin between Public URL and IFrame Embed
2019-05-15 08:38:40 +03:00
Ran Byron
733b60102d
Fixed visual-card alignment ( #3795 )
2019-05-14 14:10:35 -06:00
Levko Kravets
b9b30a39d2
[Bug fix] Edit parameter mapping: error when trying to change mapping type to Static; cannot change static value ( #3800 )
...
* Edit parameter mapping: error when trying to change mapping type to Static
* Parameter mapping editor: cannot change static value
2019-05-14 19:10:02 +03:00
Levko Kravets
c74d469181
resize-event: take into account transformations and transitions ( #3794 )
2019-05-13 22:51:05 +03:00
Ran Byron
95f11e6686
Loading indicator till app inits ( #3788 )
2019-05-13 12:11:22 -06:00
Jakdaw
ad6f7109de
Fix support for calling MySQL Stored Procedures and allow queries to be cancelled ( #3003 )
...
* If MySQL returns multiple resultSets (eg when executing multiple statements, or calling stored procedures) then use the last resultSet that has columns
* Make cancellation of a MySQL query work (the same way the C client does it)
* Address code climate moans
2019-05-13 18:51:51 +03:00
taminif
b09ae46a9f
filtered tag remove empty name at edit query ( #3784 )
...
* filtered tag remove empty name at edit query
* use filter
2019-05-13 17:57:45 +03:00
Arik Fraimovich
0cda0369f0
[BigQuery] Fix: in some queries there is no mode field ( #3786 )
...
Happened with INSERT/UPDATE queries.
2019-05-13 17:08:18 +03:00
Arik Fraimovich
50f11069ce
Presto: ignore blank passwords ( #3791 )
...
PyHive expects only None as no password.
2019-05-13 12:36:07 +03:00
Arik Fraimovich
6bf764be07
Update query to bring only name to make sure screenshots are consistent. ( #3790 )
2019-05-12 20:43:32 +03:00
Ran Byron
3159410694
Restrict markdown image dimensions ( #3789 )
2019-05-12 20:23:10 +03:00
Gabriel Dutra
76bd2e3c50
Migrate Organization Settings to React ( #3728 )
...
* Migrate Organization Settings to React
* Fix failing spec and replace default values from inputs
* Add HelpTrigger and handleChange to SAML options
* Undo changes to ant-variables.less
* Add time format to OrganizationSettings
2019-05-12 14:23:22 +03:00
Omer Lachish
50a6f723b1
Fix Ability to Add Query-based Parameters to Existing Queries ( #3716 )
...
* propagate `isDirty` down to `QueryBasedParameterInput`
* go to /api/:id/dropdown while editing a query, since dropdown queries might still not be associated with the parent. see #3711
* show helpful error message if dropdown values cannot be fetched
* use backticks instead of line concatenation
* remove requirement to have direct access to dropdown query in order validate it. parent query association checks are sufficient
* remove isDirty-based implementation and allow dropdown queries through nested ACL even if they aren't associated yet (given that the user has _direct_ access to the dropdown query)
* fix tests to cover all cases for /api/queries/:id/dropdowns/:id
* fix indentation
* require access to the query, not the data source
* use require_access instead of has_access
2019-05-12 12:48:01 +03:00
Omer Lachish
0ee20797c8
Fix embeds without parameters ( #3775 )
...
* provide queryId when fetching query results in order to allow query-based api-key authentication to work properly
* cypress test to verify that embeds without parameters are shared succesfully
* rename Percy snapshot
2019-05-12 12:28:31 +03:00
taminif
d7515562a4
Fix: Filter empty tags ( #3780 )
2019-05-10 09:55:53 -06:00
Osmo Salomaa
feafbbe318
Avoid error with duplicate log lines ( #3777 )
...
https://docs.angularjs.org/error/ngRepeat/dupes
2019-05-07 22:07:39 +03:00
deecay
b7b345dacd
[Feature] Choropleth customize (added new map: Japanese Prefectures) ( #3154 )
2019-05-07 12:04:17 +03:00
Arik Fraimovich
0b22aa55a1
DynamoDB: safe implementation of schema loading ( #3774 )
...
* Safe implementation of describe_all.
* autopep8.
2019-05-06 20:13:45 +03:00
Arik Fraimovich
3eddea6e88
Show non relative timestamp when printing an embed. ( #3773 )
...
(Also used for the Slack snapshots)
2019-05-06 20:12:57 +03:00
yoavbls
c85e097f8a
[Bug fix] Fix dashboard filters to collect options too ( #3759 )
2019-05-06 11:40:21 +03:00
YOSHIDA Katsuhiko
81bc4ef58b
[Feature] Add direction option in Pie Chart ( #3762 )
2019-05-06 11:30:48 +03:00
Omer Lachish
9fec3ca9ea
Poll for results in parameterized embeds ( #3752 )
...
* add an endpoint for fetching job using a query's api_key
* when unauthenticated, use api_key to get job, and fetch the latest query
result (as opposed to fetching the query result by ID)
* add 'refresh dataset' button to parameters directive
* fix scope error introduced by earlier commit
* show timer when refreshing results
* Show input for missing parameters in embedded visualizations (#3741 )
* Redirect to default parameter values when parameters are missing in
embedded visualizations
* Revert "Redirect to default parameter values when parameters are missing in"
This reverts commit 43c65500b7 .
* load all data after page is loaded
* return no data only when parameters are missing
* data binding no longer required
* show an error on embeds that fail to load
* data binding no longer required
* present full-page error when dealing with unsafe queries
* don't render the execute button for each parameter
* show 'missing parameter value' error
* Don't reload the whole page when parameter value changes.
* Set API key and load config before rendering.
* Add Query#hasParameters method.
* Don't show download controls for parameterized queries (they won't work).
* Use getUrl to construct a correct query link.
* WIP: have a single way to load results
1. This preloads the query before rendering the page, so we can benefit from using default parameters & make the logic in component simpler.
2. Use a single way to load results, to make sure we do polling when try to load the query results for the first time.
* Show persistent errors and finish loading logic.
* Check if query is safe and show message otherwise.
* Fix test for unsafe parameters embed.
* wait for query results to return before taking snapshot
2019-05-06 09:14:56 +03:00
Arik Fraimovich
ee29cf9efc
Fix: pie chart not rendering when series doesn't exist in options. ( #3756 )
2019-05-05 09:04:52 +03:00
Arik Fraimovich
17aba39636
Fix: default value for Presto password should be None ( #3757 )
2019-05-05 09:04:42 +03:00
Yusuke Goto
2cd1b07a41
Add: organization setting for time format ( #3754 )
...
* Support for time format
* Add selects test
* Rename into date_time_format_config
2019-05-05 09:03:27 +03:00
taminif
72d00314a4
[Code style] Add semi-colons ( #3755 )
2019-05-02 22:30:05 +03:00
Aidarbek Suleimenov
5b077ab083
Support for Presto password ( #3619 )
2019-05-01 17:25:59 +03:00
Takuya Arita
da2d6bc3a8
Move is_url_key method to function for testability. ( #3750 )
2019-05-01 13:52:41 +03:00
Takuya Arita
33930a5b9c
Remove unused import statements ( #3751 )
2019-05-01 13:51:56 +03:00
John Karahalis
fbff4f9219
Convert query control dropdown button to React ( #3698 )
2019-05-01 07:20:54 +03:00
Jannis Leidel
30f725f1e1
Add missing parameter to new BigQuery query runner method. ( #3747 )
2019-04-30 21:16:58 +02:00
Gabriel Dutra
47cd05b48e
Cypress: Fix Stuck E2E test - create_query_spec ( #3748 )
2019-04-30 14:21:26 -03:00
Levko Kravets
9a4433bf68
Migrate visualizations registry/renderer/editor to React ( #3493 )
2019-04-30 16:34:00 +03:00
Ran Byron
d0b2151b4d
Fix query page height ( #3744 )
2019-04-29 23:29:17 +03:00
Omer Lachish
21e22a2d0d
add get_by_id to Organization ( #3712 )
2019-04-29 21:58:29 +03:00
Gabriel Dutra
f3a653c57f
Fix query based parameter has value null when created ( #3707 )
...
* Fix query based parameter value null when created
* Use toString to avoid having 'null' string
2019-04-29 21:50:04 +03:00
guwenqing
c9bf412240
Update npm run to fix hpe_header_overflow ( #3732 )
...
Nodejs has set max header size to 8k in http_parser,
need to provide a larger header size to make the proxy work.
2019-04-29 21:23:06 +03:00
Osmo Salomaa
48955b5fa1
Use monospace font in query output log ( #3743 )
...
Closes #3739
2019-04-29 21:21:51 +03:00
Ran Byron
24a5748528
Dashboard grid markings ( #3656 )
2019-04-29 15:49:09 +03:00
Arik Fraimovich
8758279b14
Use REDASH_BASE_PATH everywhere instead of hardcoded path ( #3740 )
...
Closes #3727
2019-04-29 14:28:16 +03:00
Jannis Leidel
99bb24d899
Make creating the BigQuery job data pluggable. ( #3742 )
...
This would for example allow adding custom job labels (https://cloud.google.com/bigquery/docs/adding-using-labels#job-label ) for easier accounting.
2019-04-29 14:18:36 +03:00
Omer Lachish
c93a905c1d
Fix Ability to save with Multiple Dropdown Parameters ( #3717 )
...
* support multiple associations of the same query-based dropdown parameter
* include several query-based parameters in association tests
2019-04-28 14:25:26 +03:00
AntonZ
a1e75d2f0b
feature: add couchbase query runner ( #3658 )
...
* feature: add couchbase query runner
* fix style
* fix style
* fix style
* fix naming due to convention
* extracting protocol as parameter
2019-04-24 20:13:59 +03:00
Ran Byron
fb48bc374a
Refactored dashboard drag/resize testing ( #3726 )
2019-04-22 10:07:22 +03:00
Ran Byron
10a6ccbbcd
Dashboard save fail indication ( #3715 )
2019-04-19 21:41:35 +03:00
Gabriel Dutra
fea082ec77
Update Percy network idle timeout ( #3724 )
2019-04-19 10:58:37 -03:00
Jannis Leidel
aa9d2466cd
Split redash/__init__.py to prevent import time side-effects. ( #3601 )
...
## What type of PR is this? (check all applicable)
<!-- Please leave only what's applicable -->
- [x] Refactor
- [x] Bug Fix
## Description
This basically makes sure that when import the redash package we don't accidentally trigger import-time side-effects such as requiring Redis.
Refs #3569 and #3466 .
2019-04-18 18:39:38 +02:00
Arik Fraimovich
97492d7aa0
Fix: update default CSP policy to allow KB iframe. ( #3714 )
...
## What type of PR is this? (check all applicable)
- [x] Bug Fix
## Description
Without this change the Help Drawer couldn't load content anymore.
## Related Tickets & Documents
#3404
2019-04-17 10:13:45 +02:00
Ran Byron
18761cf07b
Dashboard auto-saving ( #3653 )
2019-04-17 10:07:48 +03:00
Arik Fraimovich
9b3dd82ec0
Sync PyAthena/botocore versions with requirements_all_ds.txt. ( #3713 )
2019-04-17 09:43:33 +03:00
Arik Fraimovich
e485c964c5
Add rate limits to user creation/update ( #3709 )
...
* Add rate limits for user resources.
* Disable rate limiting in tests (except for tests that need it).
* Update strings to unicode to avoid SQLA warnings
2019-04-15 13:58:30 +03:00
Omer Lachish
5b30d081d7
Dynamic query time limits ( #3702 )
...
* extract time limit decisions to a dynamic settings function
* introduce environment variable for scheduled query time limits
* pass in org_id to query_time_limit
* add an interaction test that verifies that time limits are applied to
jobs
* really important newlines according to CodeClimate
2019-04-15 12:06:37 +03:00
Omer Lachish
b96094b878
add a test to make sure reset password form are displayed correctly ( #3678 )
2019-04-14 14:59:21 +03:00
Gabriel Dutra
1f43537304
Update CardsList to use visual-card styling ( #3679 )
...
* Update CardsList to use old markup
* CR
2019-04-14 13:10:40 +03:00
Aidarbek Suleimenov
01e64db0dc
Fix Decimal128 error ( #3684 )
2019-04-14 13:07:12 +03:00
Arik Fraimovich
3ab46bb39a
BigQuery: support for NaN values. ( #3701 )
2019-04-14 11:23:14 +03:00
Jakdaw
af168c69b9
Fix search ordered by best match ( #3706 )
...
* Don't force an order by created date - any usecases that want
this already request it explicitly and it breaks the search
function that wants to order by best match.
* Fix the logic so that we fall back to a default search order when there's
no search term, rather than when there is one and we should use the
best-match ordering.
* Remove accidentially added blank line
2019-04-14 10:44:28 +03:00
Jakdaw
63e052c3a3
Support LDAP servers where one doesn't first have to bind to the LDAP server with a username/password ( #3002 )
...
* Support LDAP servers where one doesn't first have to bind to the LDAP server with a username/password
* Address code climate things
2019-04-14 10:36:41 +03:00
Ran Byron
563e34a816
Fixed public dashboard footer ( #3703 )
2019-04-14 10:19:12 +03:00
Gabriel Dutra
1524d06149
Percy: Introduce hide-in-percy and hide diff problematic elements ( #3689 )
2019-04-11 11:49:39 -03:00
Ran Byron
e9711a0b9c
Bye footer ( #3697 )
2019-04-10 11:42:36 +03:00
Omer Lachish
9fcf510ffd
add package.json after including qs ( #3695 )
2019-04-10 11:25:56 +03:00
Ran Byron
70227f2e43
Changed viz embed download menu to drop up ( #3696 )
2019-04-10 11:02:03 +03:00
Ran Byron
1babd01f38
Bolder markdown in textbox ( #3686 )
2019-04-09 10:25:03 +03:00
Ran Byron
768bfb3525
Cypress Dashboard Service ( #3683 )
2019-04-09 08:49:10 +03:00
Ran Byron
fc5a624efb
Dashboard one column mode test ( #3621 )
2019-04-08 07:51:18 +03:00
Omer Lachish
47bf91e150
Fix: support date ranges for parameterized embeds ( #3681 )
...
* support date ranges for parameterized embeds
* add qs
* remove hideous implementation and use qs
* get rid of apiKey querystring parameter and introduce query-string
module
2019-04-07 20:34:14 +03:00
Ran Byron
8f4288583e
Updated Cypress default timeout values ( #3685 )
2019-04-07 16:40:06 +03:00
Omer Lachish
595af3bce8
avoid erroring when creating embed links for queries that don't have any parameters ( #3680 )
2019-04-06 13:49:40 +03:00
HirokiTanaka
dba7efe030
refs https://github.com/getredash/redash/issues/3675 ( #3676 )
2019-04-04 09:27:07 +03:00
Omer Lachish
1b142b33f1
reduce volatility in embed percy snapshots ( #3672 )
2019-04-02 13:40:28 +03:00
Gabriel Dutra
13814c752d
Add max-width to Notification ( #3667 )
2019-04-02 11:53:44 +03:00
Omer Lachish
dd477d49ec
Sharing embeds with safe parameters ( #3495 )
...
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* go to textless /api/queries/:id/results by default
* change `run_query`'s signature to accept a ParameterizedQuery instead of
constructing it inside
* raise HTTP 400 when receiving invalid parameter values. Fixes #3394
* support querystring params
* extract coercing of numbers to function, along with a friendlier
implementation
* wire embeds to textless endpoint
* allow users with view_only permissions to execute queries on the
textless endpoint, as it only allows safe queries to run
* enqueue jobs for ApiUsers
* add parameters component for embeds
* include existing parameters in embed code
* fetch correct values for json requests
* remove previous embed parameter code
* rename `id` to `user_id`
* support executing queries using Query api_keys by instantiating an ApiUser that would be able to execute the specific query
* bring back ALLOW_PARAMETERS_IN_EMBEDS (with link on deprecation coming up)
* show deprecation messages for ALLOW_PARAMETERS_IN_EMBEDS. Also, move
other message (email not verified) to use the same mechanism
* add link to forum message on setting deprecation
* rephrase deprecation message
* add link to forum message regarding embed deprecation
* change API to /api/queries/:id/dropdowns/:dropdown_id
* split to 2 different dropdown endpoints and implement the second
* add test cases for /api/queries/:id/dropdowns/:id
* use new /dropdowns endpoint in frontend
* first e2e test for sharing embeds
* Pleasing the CodeClimate overlords
* All glory to CodeClimate
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* split has_access between normal users and ApiKey users
* remove residues from bad rebase
* allow access to safe queries via api keys
* rename `object` to `obj`
* support both objects and group dicts in `has_access` and `require_access`
* simplify permission tests once `has_access` accepts groups
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* rename `object` to `obj`
* support both objects and group dicts in `has_access` and `require_access`
* simplify permission tests once `has_access` accepts groups
* fix bad rebase
* send embed parameters through POST data
* no need to log `is_api_key`
* move query fetching by api_key to within the Query model
* fetch user by adding a get_by_id function on the User model
* pass parameters as POST data (fixes test failure introduced by switching
from query string parameters to POST data)
* test the right thing - queries with safe parameters should be embeddable
* introduce cy.clickThrough
* add another Cypress test to make sure unsafe queries cannot be embedded
* serialize Parameters into query string
* set is_api_key as the last parameter to (hopefully) avoid
backward-dependency problems
* Update redash/models/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* attempt to fix empty percy snapshots
* snap percies after DOM is fully loaded
2019-04-02 11:45:38 +03:00
Ran Byron
5decd2624a
Fixed wrong width assertion ( #3665 )
2019-04-01 13:49:24 +03:00
Justin Clift
6f9aee42a7
Update to modern Redis for the docker images ( #3640 )
2019-04-01 11:21:06 +03:00
Omer Lachish
1333aae7fb
Handle dropdown queries which are detached from data source ( #3453 )
...
* handle an edge case where dropdown queries are connected to data sources
that no longer exist
* Rethinking it, an empty result set makes no sense and it's better to
throw an error
* remove redundant import
2019-04-01 11:19:52 +03:00
Omer Lachish
33ad89a381
in case of a parameter type mismatch, show the actual message to the user ( #3664 )
2019-04-01 11:19:18 +03:00
Ran Byron
02a5852072
Widget size and position test ( #3628 )
2019-03-29 21:47:26 +03:00
Gabriel Dutra
12782e4daf
Fix Percy diff due to Api Key secret ( #3654 )
2019-03-29 07:50:30 -03:00
Levko Kravets
704b78a003
[Feature, Bug fix] Migrate Timer component to React; update TimeAgo component ( #3648 )
2019-03-28 20:33:05 +02:00
Omer Lachish
ec4f77c8b7
Change has_access and require_access signatures ( #3611 )
...
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* rename `object` to `obj`
* support both objects and group dicts in `has_access` and `require_access`
* simplify permission tests once `has_access` accepts groups
2019-03-28 15:01:06 +02:00
Ran Byron
1871287a1f
Fixed notification alignment ( #3645 )
2019-03-28 10:08:13 +02:00
Gabriel Dutra
f9cc230227
Migrate Data Sources and Alert Destinations pages to React ( #3470 )
...
* Migrate TypePicker to React
* Migrate DataSources and Destinations List
* Fixes to DestinationsList
* Add CreateDataSource (testing with Steps)
* Render the form after type selection
* Add HELP_LINKS to CreateDataSource
* Add Done behavior
* Add scrollToTop to CreateDataSource
* TypePicker styling adjusts
* Add CreateDestination
* Update resouce gets to componentDidMount
* Create EditForm components
* Migrate Edit pages
* Remove angular logic from DynamicForm
* Add actions to EditPages
* TypePicker title style adjustments
* Add Empty and Loading state
* UX improvements
* Review changes
* Styling updates on TypePicker, forms background fix
* Add blank line removed by mistaken
* Reorganize TypePicker
* Hide Search on List Pages
* Fix spacing in Forms
* Update Create Data Source and Destination to be a Dialog
* Remove max-height from the form
* Fix DynamicForm import in CreateUserDialog
* Route /new to open CreateSourceDialog
* Add HelpTrigger + refine styling and Edit Pages
* Remove help links from data source resource
* Update Cypress specs
* TypePicker -> CardsList
* Remove old TypePicker styling and change CardsList styling to less
* Test if Percy shows Dialogs
* Personal review cleanup
* CR
* Remove unnecessary query on dialog success
* Handle resource errors in Edit Pages
* Add CreateDestination policy
* Add placeholder and separator to the Name field
* Use cy.click instead of cy.wait
* Revert "Use cy.click instead of cy.wait" (Didn't work)
This reverts commit 77285d9fa3 .
* Align help trigger on the right and rename Steps
* Refine behavior for long names
* Update toastr calls to use notification instead
* Redirect to target after creation
* Remove autoFocus on DynamicForm for Edit Pages
* Add eslint-disable for cy.wait
2019-03-28 10:06:46 +02:00
Ran Byron
fe4a7b65e7
Widget resize tests ( #3620 )
2019-03-28 05:55:03 +02:00
Allen Short
b3819de878
Treat repeated BigQuery fields as arrays ( #3480 )
...
* Treat repeated BigQuery fields as arrays
* handle untransformed field types and None
2019-03-27 22:00:09 +02:00
Gabriel Dutra
2699d24441
Manage user groups in UserEdit ( #3450 )
2019-03-27 16:29:48 -03:00
Jannis Leidel
1933dee8ca
Fix Celery worker --max-tasks-per-child for Celery 4.x. ( #3625 )
...
* Fix Celery worker CLI parameter name that was changed in Celery 4.x.
* Set Celery worker --max-memory-per-child to 1/4th of total system memory.
* Review fixes.
* Review fixes.
2019-03-27 21:08:20 +02:00
Gabriel Dutra
375e61f263
Add error message when destination name already exists ( #3597 )
...
* Return 400 when destination name already exists
* Remove whitespace
* Unicode 1
Co-Authored-By: gabrieldutra <nesk.frz@gmail.com >
* Unicode 2
Co-Authored-By: gabrieldutra <nesk.frz@gmail.com >
2019-03-27 18:09:56 +02:00
shinsuke-nara
872d0ca5e6
Show accessible tables only in New Query view for PostgreSQL ( #3599 )
...
* Show accessible tables only.
* Get table information from information_schema.columns.
* Union old query.
2019-03-27 18:08:38 +02:00
Justin Clift
973ad565cd
Update PostgreSQL version to always use latest in the 9.5 series ( #3639 )
2019-03-27 18:06:40 +02:00
ialeinikov
7a7fdf9c99
allowing to specify a custom work group for AWS Athena queries ( #3592 )
...
* allowing to specify a custom work group for AWS Athena queries
* Fixing title + adding correct position in the UI
2019-03-27 17:58:48 +02:00
Omer Lachish
49ffaae3ec
Fix email shows as unverified when no email server is configured ( #3613 )
...
* check that e-mail server is configured before marking the email address
as not verified and sending out a verification e-mail
* use helper method in `invite_user`
* move email_server_configured helper to settings
* add test to verify that email addresses arent marked as unverified if
there's no e-mail server to verify them
* simplify a couple of tests with patch
* combine conditions into single variable
* Booleans, gotta love 'em
2019-03-27 17:57:51 +02:00
Allen Short
d5494cff08
Fail query task properly even if error message is empty ( #3499 )
2019-03-27 17:50:39 +02:00
Byunghwa Yun
71afc99ec3
Add phoenix query runner. ( #3153 )
...
* Add phoenix query runner.
* Improved error handling.
2019-03-27 17:48:49 +02:00
Ran Byron
b5d97e25b7
Browser support config ( #3609 )
...
* Browser support config
* Removed some offending code
* Added unsupported html page and redirect for IE
* Typo in regex
* Made html page static
* Added redirect script to multi_org
* Moved static html page to client/app
2019-03-27 17:47:12 +02:00
Jannis Leidel
6c26aa7a99
Render LDAP and remote auth login links correctly when multi org mode is enabled. ( #3530 )
...
* Make LDAP auth handler org scoped.
* Render LDAP and remote auth login links correctly when multi org mode is enabled.
2019-03-27 17:26:00 +02:00
Jannis Leidel
712fc63f93
Use flask-talisman for handling backend response headers ( #3404 )
...
* Normalize Flask initialization API use.
* Use Flask-Talisman.
* Enable HSTS when HTTPS is enforced.
* More details about how CSP is formatted and write CSP directives as a string.
* Use CSP frame-ancestors directive and not X-Frame-Options for embedable endpoints.
* Add link to flask-talisman docs.
* set remember_token cookie to be HTTP-Only and Secure
* Reorganize secret key configuration to be forward thinking and backward compatible.
2019-03-27 17:24:15 +02:00
Jannis Leidel
77c53130a4
Fix a few more inconsistencies when loading and dumping JSON. ( #3626 )
...
* Fix a few more inconsistencies when loading and dumping JSON.
Refs #2807 . Original work in: #2817
These change have been added since c2429e92d2 .
* Review fixes.
2019-03-27 17:14:32 +02:00
Levko Kravets
73c8e3096d
[Feature] Migrate Admin pages to React ( #3568 )
2019-03-27 09:48:50 +02:00
Ran Byron
8230098f50
Migrated Textbox edit dialog to React ( #3632 )
2019-03-26 19:23:00 +02:00
Arik Fraimovich
fd42091f87
Add Lint step to CircleCI ( #3642 )
2019-03-26 16:40:26 +02:00
Ran Byron
ec4b36b178
Cypress eslint fixes and config ( #3636 )
2019-03-25 22:14:51 +02:00
Ran Byron
0995dfbf43
Widget drag tests ( #3598 )
2019-03-25 19:16:41 +02:00
Gabriel Dutra
70d4c724c2
Add env var to skip Flask rate limits ( #3622 )
2019-03-25 13:15:20 -03:00
Justin Clift
1d7378f84b
Update docker compose with the stable Redash v7 tag ( #3638 )
2019-03-25 14:50:40 +02:00
Gabriel Dutra
b4a4ee212e
Replace toastr with Ant Notification ( #3610 )
2019-03-24 19:08:35 -03:00
Gabriel Dutra
25910e7655
Move cypress to client folder ( #3566 )
2019-03-24 11:24:59 -03:00
Jannis Leidel
8e5ba804f6
Fix a DeprecationWarning about the Flask.static_path parameter. ( #3624 )
...
Code: d1d82ca8ce/flask/app.py (L347-L351)
2019-03-24 15:57:35 +02:00
Arik Fraimovich
173f9ba7e8
Fix: triggers not created for queries.search_vector ( #3631 )
2019-03-24 15:35:59 +02:00
Arik Fraimovich
e712c19bbe
E2E test for query search ( #3633 )
...
* Apply prettier to app-header.html.
* Add: E2E test for query search
2019-03-24 15:20:08 +02:00
Ran Byron
aea3c9dbaa
Fix for time based mongodb test ( #3630 )
2019-03-24 11:29:44 +02:00
Ran Byron
2f8aade697
Added a skipped test for issue #3202 ( #3616 )
2019-03-23 22:02:39 +02:00
Ran Byron
a7b930a422
Widget tests - add, remove, auto height ( #3590 )
2019-03-23 14:27:43 +02:00
Levko Kravets
4e69b73b0f
[Bug fix] Query Results fails to use query which has double quotes in column names ( #3618 )
2019-03-21 19:39:22 +02:00
Omer Lachish
c47dd05095
Nest query ACL to dropdowns ( #3544 )
...
* change API to /api/queries/:id/dropdowns/:dropdown_id
* extract property
* split to 2 different dropdown endpoints and implement the second
* make access control optional for dropdowns (assuming it is verified at a
different level)
* add test cases for /api/queries/:id/dropdowns/:id
* use new /dropdowns endpoint in frontend
* require access to dropdown queries when creating or updating parent
queries
* rename Query resource dropdown endpoints
* check access to dropdown query associations in one fugly query
* move ParameterizedQuery to models folder
* add dropdown association tests to query creation
* move group by query ids query into models.Query
* use bound parameters for groups query
* format groups query
* use new associatedDropdowns endpoint in dashboards
* pass down parameter and let it return dropdown options. Go Levko!
* change API to /api/queries/:id/dropdowns/:dropdown_id
* split to 2 different dropdown endpoints and implement the second
* use new /dropdowns endpoint in frontend
* pass down parameter and let it return dropdown options. Go Levko!
* fix bad rebase
* add comment to clarify the purpose of checking the queryId
2019-03-20 09:16:10 +02:00
Arik Fraimovich
15c815fb5e
Remove node_modules before creating tarball ( #3603 )
...
* Update pack
* Remove node_modules before packing
2019-03-18 12:16:31 +02:00
Arik Fraimovich
9de676acee
Fix: make sure that only the top level node_modules directory is excluded ( #3600 )
...
* Fix: make sure that only the top level node_modules directory is excluded
* Remove old unused packing script
2019-03-18 11:13:42 +02:00
Arik Fraimovich
ff0967f0d8
Update v7 CHANGELOG and version ( #3595 )
2019-03-17 22:05:55 +02:00
Ran Byron
e5d082b9b3
Textbox testing - add, remove, edit ( #3589 )
2019-03-17 18:26:01 +02:00
Arik Fraimovich
93aa6b5b80
Fix: accept integer values in dropdowns. ( #3596 )
2019-03-17 15:56:23 +02:00
Gabriel Dutra
1f74c0bad5
[Bug fix] Update user list when an user is created ( #3594 )
2019-03-15 20:56:10 +02:00
Feng
a8cb70910e
[Codebase improvement] Reuse handlers base require_fields ( #3577 )
2019-03-15 13:21:48 +02:00
Bernhard Mäser
852636f07c
update to latest stable version ( #3588 )
2019-03-14 18:13:18 +02:00
Arik Fraimovich
cf5c2c5ba2
Revert "Add SAML scheme override env var ( #2947 )" ( #3587 )
...
This reverts commit 4768fd081e .
2019-03-14 13:54:14 +02:00
Levko Kravets
10f4b99cd3
Widget title link not updated when parameter value changes ( #3586 )
2019-03-14 11:20:28 +02:00
Jannis Leidel
8456bbf762
Revert "Schema Viewer Drawer ( #3291 )" ( #3585 )
...
This reverts commit cb4d81d6ad .
2019-03-14 10:51:30 +02:00
Ran Byron
ab39242cc4
Cypress test - dashboard create/archive ( #3565 )
2019-03-14 08:08:56 +02:00
Ran Byron
b799ab6f0b
Added alt+enter key binding ( #3479 )
2019-03-14 08:06:39 +02:00
Marina Samuel
cb4d81d6ad
Schema Viewer Drawer ( #3291 )
...
* Process extra column metadata for a few sql-based data sources.
* Add Table and Column metadata tables.
* Periodically update table and column schema tables in a celery task.
* Fetching schema returns data from table and column metadata tables.
* Add tests for backend changes.
* Front-end shows extra table metadata and uses new schema response.
* Delete datasource schema data when deleting a data source.
* Process and store data source schema when a data source is first created or after a migration.
* Tables should have a unique name per datasource.
* Addressing review comments.
* Update migration file for mixins.
* Appease PEP8
* Upgrade migration file for rebase.
* Cascade delete.
* Adding org_id
* Remove redundant column and table prefixes.
* Non-existing tables and columns should be filtered out on the server side not client side.
* Fetching table samples should be optional and should happen in a separate task per table.
* Allow users to force a schema refresh.
* Use updated_at to help prune old schema metadata periodically.
* Using settings.SCHEMAS_REFRESH_QUEUE
2019-03-13 18:08:00 +01:00
Ran Byron
adf935b1df
Fix for parameter mapping bug #3581 ( #3582 )
...
* Fix for parameter mapping bug #3581
* Must run original snapshot with original dashboard params
2019-03-13 16:41:03 +02:00
Arik Fraimovich
f1cb0101b9
👋 goodbye, similar-code false positives. ( #3578 )
2019-03-13 11:04:02 +01:00
Leo Palmer Sunmo
4768fd081e
Add SAML scheme override env var ( #2947 )
...
* Add SAML scheme override env var
* Make it pretty, please the linter
2019-03-13 11:39:02 +02:00
Levko Kravets
4a8d9a7fb0
Fork query does not fork tables but instead adds default table ( #3580 )
...
* getredash/redash#3572 Fork query does not fork tables but instead adds default table
* Fix code style
* CR1
2019-03-13 11:29:54 +02:00
Arik Fraimovich
ba62b46a45
Append "UTC" to timestamp on embeds (in print view) ( #3574 )
...
To communicate what timezone the timestamp is.
2019-03-13 08:26:12 +02:00
Levko Kravets
fbf4dae001
Fix webpack config to work with symlinks ( #3573 )
2019-03-12 21:24:21 +02:00
Omer Lachish
5943bf04d5
change the order of configuration of the Elasticsearch data source to ( #3571 )
...
make sense
2019-03-12 09:42:17 +02:00
Ran Byron
93ec19b93f
Prevent blank edit-in-place value ( #3557 )
2019-03-11 23:24:38 +02:00
Omer Lachish
63d3f22c93
Convert all dropdown values to strings to support parameter lookup ( #3563 )
...
* convert all dropdown values to strings to support parameter lookup.
solves #3562
* unicode all the way down
* show correct default values in QueryBasedParameterInput by converting
them to strings
2019-03-11 17:54:56 +02:00
Gabriel Dutra
685c7713e4
Update Amazon Elasticsearch Service image ( #3567 )
2019-03-11 06:43:03 +02:00
Levko Kravets
4cfa26a55e
[Bug fix] Handle errors on Group members, Group datasources and User profile pages ( #3564 )
2019-03-10 19:34:54 +02:00
Ran Byron
5dc74e1ef7
npm audit fixes ( #3561 )
2019-03-10 13:35:27 +02:00
Arik Fraimovich
b703f7a3c4
Create weekly-digest.yml
2019-03-10 11:39:13 +02:00
Arik Fraimovich
26f0ce0749
New Celery/Queries Execution Status API ( #3057 )
...
* Remove QueryTaskTracker
* Remove scheudling of cleanup_tasks
* Add Celery introspection tools
* First iteration of updating the admin API.
* Show more details
* Add option to skip building npm in Dockerfile
* Show started_at
* update the refresh schedule, as it's too fast
* Update Celery monitor to report on all active tasks.
* Update task parsing for new format
* WIP: improved celery status screen
* Fix property name.
* Update counters
* Update tab name
* Update counters names
* Move component to its own file and fix lint issues
* Add migratin to remove Redis keys
* Improve columns layout
* Remove skip_npm_build arg as it's not used anymore.
* Convert query from SQL to Python
* Simplify column definition.
* Show alert on error.
2019-03-10 11:19:31 +02:00
Levko Kravets
12d2a04946
Download Query Result links: use query name for downloaded filename ( #3559 )
...
* getredash/redash#3554 Download Query Result links: use query name for downloaded filename
* CR1
2019-03-10 10:32:08 +02:00
koooge
5501f3e61c
Upgrade jest & babel ( #3405 )
2019-03-10 09:29:44 +02:00
Arik Fraimovich
61f143dfd3
Snowflake: add support for regions and enable by default ( #3550 )
...
* Bring back Snowflake from its exile.
* Snowflake: add support for regions.
2019-03-07 23:40:24 +02:00
Arik Fraimovich
8737e8032e
Add: Docker entrypoint to do Celery healthchecks. ( #3548 )
2019-03-07 22:32:27 +02:00
Arik Fraimovich
dfa48caf63
Fix: order dashboard favorites ( #3552 )
...
## What type of PR is this? (check all applicable)
- [x] Refactor
- [x] Bug Fix
## Description
Move favorites list handlers to their relevant modules (`redash.handlers.queries` and `redash.handlers.dashboards`) and applied `order_results` to dashboards.
2019-03-07 15:30:11 +01:00
Arik Fraimovich
e4c933af55
Update PULL_REQUEST_TEMPLATE.md ( #3549 )
2019-03-07 14:35:27 +02:00
Levko Kravets
be1bd2863f
[Bug fix] Wrong behavior when clicking table rows on list pages ( #3540 )
2019-03-07 13:59:39 +02:00
Ran Byron
507ea61151
Fix long tag labels breaking table layout ( #3545 )
2019-03-07 11:53:28 +02:00
Arik Fraimovich
4f79c86c0e
Pin pymapd version to 0.7.1 ( #3543 )
...
Newer versions dropped support for Python 2. Closes #3542 .
2019-03-07 09:02:40 +02:00
Ran Byron
160c3c1048
Param fix ( #3528 )
...
* Name help text for date range only
* Autofocus on name input
* Form acts on enter key
* Fixed range check
* Fixed startsWith
2019-03-06 10:31:33 +02:00
Jannis Leidel
8eb751f0c3
Remove docker-compose.production.yml in favor of setup/docker-compose.yml. ( #3533 )
...
Fix #3251 .
2019-03-06 08:49:35 +02:00
Paul Graff
75bc469708
Remove duplicate column information for late-binding views ( #3537 )
...
Since the svv_columns system view supports them now https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_COLUMNS.html
2019-03-06 08:41:48 +02:00
Jannis Leidel
21082fbe0e
Make the "celery" queue the default instead of "schema" to stay backward-compatible. ( #3534 )
...
Fix #3325 .
2019-03-06 08:37:54 +02:00
Jannis Leidel
4e7d16b642
Remove Flask-Admin. ( #3532 )
2019-03-06 08:36:46 +02:00
pieter-venter
b68051d3c5
Add Hangouts Chat as alert destination ( #3525 )
...
* Add support for Google Hangouts Chat as alert destination
* Remove redundant imports
* Remove code used for debugging
* Fix pep8 warnings
* Update redash/destinations/hangoutschat.py
Add friendly name by separating type and description
Co-Authored-By: pieter-venter <pieterventer@geotab.com >
* Fix pep8 warnings. Rename image to match desitnation type.
* Show message for unknown alert state in default color
2019-03-05 22:06:25 +02:00
Levko Kravets
bc22797009
[Refactor] Refine New user modal ( #3529 )
2019-03-05 14:17:59 +02:00
Ran Byron
7a4fe5055d
Added UTC display to scheduler dialog ( #3517 )
2019-03-05 11:54:33 +02:00
Gabriel Dutra
6a75ac4a57
Migrate User Pages to React ( #3506 )
...
* Create React version for the EmailSettingsWarning
* Migrate the Create User Page
* Migrate UserProfile to React
* Add /users/me to the routes (Percy ftw)
* Fix UserShow test spec
* Remove Error Messages component
* Show invitation link if email server not setup (#3519 )
* return invite link to client if e-mail server is not set up
* add a couple of tests to make sure invite links are only returned when neccessary
* show invite link when e-mail is not configured
* remove "an e-mail has been sent" when there's no e-mail configured
* return invite_url in re-invites as well. Also refactor to reuse the code.
* Use CreateUserDialog instead of Page
* Render invite link on Resend Invitation click
* Add email validation to DynamicForm
* Fix EmailWarning position + update user list with user creation success
* Fix console error on UserProfile
* Redirect from /users/new + rename createUser -> showCreateUserDialog
* Use alert instead of toastr for user creation errors
* Remove logic from CreateUserDialog
* CR
* Use Promise.reject instead of throw to avoid console error
2019-03-04 18:26:51 -03:00
Ran Byron
34da15fd6a
Migrated AddTextboxDialog to AntD ( #3524 )
2019-03-04 21:51:48 +02:00
Ran Byron
dd0fab7275
Moved widget and dashboard save logic out of dialog ( #3522 )
2019-03-04 16:31:31 +02:00
Gabriel Dutra
ade3cc72a7
Fix eslint error on AlertsList ( #3518 )
2019-03-03 00:28:17 +02:00
Omer Lachish
02e82a7658
Fix verification_email endpoint when in MULTI_ORG mode ( #3502 )
...
* append slug to /verification_email endpoint when in MULTI_ORG mode
* Revert "append slug to /verification_email endpoint when in MULTI_ORG mode"
This reverts commit 817fb034c4 .
* fix for /email_verification in MULTI_ORG setups
2019-03-02 14:12:41 +02:00
Ran Byron
6e3b9c2977
Fixed navbar responsiveness ( #3510 )
...
* Fixed navbar responsiveness
* Adjustments so that logo should never hide
2019-02-28 16:53:42 +02:00
Ran Byron
34e03b01bb
Migrated query edit/add param dialog to React/AntD/Hooks ( #3488 )
2019-02-28 16:31:34 +02:00
Ran Byron
dab35acd2c
QuerySelector in Alert page ( #3501 )
2019-02-28 15:56:12 +02:00
Arik Fraimovich
a93741e64b
CircleCI build improvements ( #3511 )
...
* Make sure master builds tarball/docker image only when backend and frontend tests pass.
* Build a redash/preview image alongside redash/redash image.
* Fix version variable
2019-02-28 15:23:47 +02:00
Ran Byron
549f878c98
Added <QuerySelector /> component ( #3494 )
...
* Updated npm to support react hooks
* Added <QuerySelector />
* Changed selectQuery to also clear, completed 2->3 dots in msg, avoiding setSearching on stale rejection.
* Removed unused highlight lib
2019-02-28 15:07:57 +02:00
Gabriel Dutra
194f45263b
[Feature] Migrate Alerts List Page to React ( #3505 )
2019-02-28 12:33:03 +02:00
G. Tsirkas
83668a6840
LDAP Authentication. Create two envars REDASH_LDAP_USE_SSL and REDASH_LDAP_AUTH_BIND ( #2776 )
...
* Add two new envars. REDASH_LDAP_USE_SSL which determines if the connection will use ssl and LDAP_AUTH_BIND which determines if the binding is SIMPLE or ANONYMOUS
* Add use_ssl paremeter
* Rename LDAP_AUTH_BIND to LDAP_AUTH_METHOD and modify LDAP_SSL using parse_boolean
* Fix typo
* import ANONYMOUS constant from ldap3
* Add NTLM authentication
* Add comment to authentication method envar
2019-02-28 10:05:41 +02:00
Toshimitsu Takahashi
c9a4f07a7a
Support AWS IAM profile for Amazon Elasticsearch ( #3005 )
2019-02-28 09:57:33 +02:00
Omer Lachish
e9c88ea176
Verify address when users change their e-mail ( #3504 )
...
* re-verify e-mail address on change
* send verification e-mail to the new address
2019-02-27 12:17:20 +02:00
ialeinikov
fbaded4548
adding gevent worker in requirements.txt, adding some gunicorn config… ( #3333 )
...
* adding gevent worker in requirements.txt, adding some gunicorn configurable parameters with defaults
* reverting the change as it's going to be set via env variable(s)
2019-02-27 11:15:31 +02:00
Omer Lachish
570e8d9f23
set invitation as not-pending in render_token_login_page only when ( #3500 )
...
handling invites (as opposed to password reset links)
2019-02-27 09:06:41 +02:00
Omer Lachish
0d76c036cb
Be more permissive when parameters are safe ( #3383 )
...
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* reverse conditional. not not is making me the headaches.
* add ParameterizedQuery#is_safe with an inital naive implementation which
treats any query with a text parameter as not safe. This will be
remedied later when DB drivers will handle these parameters.
* allow getting new query results even if user has only view permissions
to the data source (given that the query is safe)
* fix lint error - getDerivedStateFromProps should be placed after state
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* move execution preparation to a different function, which will be soon
reused
* go to textless /api/queries/:id/results by default
* let the query view decide if text or textless endpoint is needed
* allow safe queries to be executed in the UI even if the user has no
permission to execute and create new query results
* change `run_query`'s signature to accept a ParameterizedQuery instead of
constructing it inside
* use dict#get instead of a None guard
* use ParameterizedQuery in queries handler as well
* test that /queries/:id/results allows execution of safe queries even if
user has view_only permissions
* lint
* raise HTTP 400 when receiving invalid parameter values. Fixes #3394
* remove unused methods
* avoid cyclic imports by importing only when needed
* verify that a ParameterizedQuery without any parameters is considered
safe
* introduce query.parameter_schema
* encapsulate ParameterizedQuery creation inside Query
2019-02-26 20:55:01 +02:00
Gabriel Dutra
138c55cf54
Fix DynamicForm ignoring default value for checkboxes ( #3487 )
2019-02-26 15:10:14 +02:00
Gabriel Dutra
60cd8812a9
Update Percy token ( #3492 )
2019-02-25 21:22:46 +02:00
Arik Fraimovich
5c5bfbdbbe
Make sure Flask app created in Celery's worker process ( #3465 )
...
* Make sure Flask app created in worker process
* Add reference to GitHub issue
2019-02-25 19:11:03 +02:00
Sergei Beregov
75c34bf18d
Add custom JSON encoder for PostgreSQL ( #3442 )
...
To handle columns with [range types][1] and display them as a
string custom JSON encoder for PostgreSQL was added.
Merging this PR will fix issue #1764
[1]:https://www.postgresql.org/docs/9.3/rangetypes.html
2019-02-25 17:52:45 +02:00
Arik Fraimovich
b56cc1cd16
Pin SQLAlchemy-Utils version ( #3490 )
...
Pin the version of SQLAlchemy-Utils following the discussion in #2970 .
2019-02-25 11:22:48 +01:00
Wei
1a357df9b3
Fix prometheus query runner: get_schema and query range ( #3471 )
2019-02-25 11:40:35 +02:00
Yoshiken
d36e5acaea
Fix update logo ( #3489 )
2019-02-25 10:12:02 +02:00
Arik Fraimovich
f4f34d02fb
Create PULL_REQUEST_TEMPLATE.md ( #3485 )
2019-02-25 10:11:21 +02:00
Allen Short
3fdd3080c1
Use series name as pie chart label ( #3484 )
...
It was unconditionally using the column name; this uses the series name instead
if specified in the chart editor.
2019-02-25 10:10:27 +02:00
taminif
5d525b80b6
fix broken link in CONTRIBUTING.md ( #3483 )
2019-02-22 14:28:13 -03:00
Levko Kravets
5e5b0d69d8
[Feature, Tech debt] Improve list pages layout ( #3482 )
2019-02-22 17:26:29 +02:00
Levko Kravets
33b8bd27eb
[Feature] Migrate Group List and Details pages to React ( #3411 )
2019-02-22 14:47:48 +02:00
Subhi Al Hasan
8679b8756e
Cleaner approach for _is_collection_a_view ( #3113 )
...
* Fix collection fields retreival bug when Views are present in MongoDB
* fixing _is_collection_a_view function
* Update redash/query_runner/mongodb.py
Co-Authored-By: jodevsa <jodevsa@gmail.com >
* using options() instead of try/except on collstats to detect if a collection is a view
2019-02-21 23:39:36 +02:00
Omer Lachish
2a37cb31d9
Fix max-age issues on textless endpoint ( #3477 )
...
* max_age should default to -1
* pass maxAge along to `execute`
2019-02-21 16:02:06 +02:00
Ran Byron
4ad303b358
Fix some flex layout issue ( #3476 )
2019-02-21 14:21:54 +02:00
MURAOKA Taro
8fe1d33068
monitor "schemas" queue to run refresh_schema ( #3459 )
...
* monitor "schemas" queue to run refresh_schema
`refresh_schema` tasks won't run because "schemas" queue isn't consumed
with default settings.
and it cause leaking redis storage, a "schemas" list is growing with time.
this PR fix it, adds "schemas" queue to monitor by celery.
* use scheduled_worker for "schemas" queue
instead of "adhoc_worker"
2019-02-21 12:06:25 +02:00
Arik Fraimovich
4999ab5de7
Provide default value for .pop to avoid KeyError exception ( #3474 )
2019-02-21 11:17:07 +02:00
Ran Byron
8b19f16430
Help trigger dynamic component ( #3472 )
2019-02-20 17:55:35 +02:00
Omer Lachish
a17eb14cdf
support e-mail verification for multi org setups ( #3468 )
2019-02-20 13:45:09 +02:00
Omer Lachish
1ad0fa6a9b
avoid Flask debug error message about strict slashes ( #3469 )
2019-02-20 13:19:06 +02:00
Arik Fraimovich
77dcc80522
Fix: ParameterizedQuery: support for upper cases column names. ( #3461 )
...
* Fix: ParameterizedQuery: support for upper cases column names.
* Fix test name
2019-02-20 12:08:38 +02:00
Arik Fraimovich
fe10b06928
Fix: JS Map needs a set call rather than assignment ( #3464 )
2019-02-20 12:07:46 +02:00
Arik Fraimovich
e35f2b8f51
Fix: when max_age is None the handler fails ( #3462 )
2019-02-19 20:47:29 +02:00
Omer Lachish
0bca2d8920
when working with a schema, fail in the case that there are parameters ( #3452 )
...
which are not part of the schema
2019-02-19 20:46:30 +02:00
Arik Fraimovich
f421119f9d
Remove options NullPool does not support ( #3460 )
2019-02-19 16:04:00 +02:00
Arik Fraimovich
ebef0efe06
Fix: timedelta values were not JSON serialized properly ( #3463 )
...
.
2019-02-19 14:27:37 +01:00
Ran Byron
8fc2ecf55c
[Bug fix] Widget oblivious to updated parameter values ( #3445 )
2019-02-18 22:55:46 +02:00
Ran Byron
3147a0bd98
Version data - footer -> header menu ( #3458 )
2019-02-18 22:15:51 +02:00
Gabriel Dutra
2c705712fc
Fixes to Percy ( #3440 )
...
* Add check for repository url
* Use CIRCLE_REPOSITORY_URL directly
* Change percy waiting to be with resources instead of time
* Add data sources types resource to Edit Data Source + eslint fixes
* Separate Page Screenshots in different spec files
2019-02-18 16:30:48 -03:00
Levko Kravets
d483785098
[Codebase improvement] Refine ItemsList base component (previously LiveItemsList) ( #3415 )
2019-02-18 20:48:26 +02:00
Ran Byron
298fe6a779
HelpTrigger in header ( #3457 )
...
* Moved component from services->components
* Added help trigger to header
* Reverted tooltip-anchor swap
* Moved trigger location in html (to mirror saas)
* Removed white space
* Changed tooltip text to “Help”
2019-02-18 19:52:10 +02:00
Arik Fraimovich
f07e613631
Fix: ScheduleDialog won't render for "30 days" interval with no time value ( #3447 )
2019-02-17 15:12:07 +02:00
Arik Fraimovich
60472e2fe0
Add support for Amazon ES service with IAM authentication ( #3446 )
...
* Add support for Amazon ES service with IAM authentication
* Add required dependency.
2019-02-17 15:11:40 +02:00
Ran Byron
81c950407d
HelpTrigger to open in drawer ( #3436 )
...
* HelpTrigger to open in drawer
* Fixed “typo”
* Simplified version - removed postMessage
* Changed some wording
2019-02-17 15:11:16 +02:00
Arik Fraimovich
a34269cc7d
Change: encrypt data source options. 🔓 ( #2970 )
...
* Change: encrypt data source options
* Implement migration
2019-02-17 13:54:19 +02:00
Omer Lachish
a8f74a1078
remove the word "type" from error message, as enum out-of-range errors ( #3449 )
...
have nothing to do with types.
2019-02-17 13:42:44 +02:00
Arik Fraimovich
58a53e3470
Fix: remove widgets when deleting a visualization. ( #3423 )
...
Closes #3257 .
2019-02-17 10:30:23 +02:00
Ran Byron
fba2a35cef
[Feature] Sharing disabled if dashboard has query params ( #3439 )
2019-02-16 17:06:09 +02:00
Gabriel Dutra
b9644b7456
React version of UserEdit ( #3354 )
...
* Update DynamicForm export
* Move UserShow to users folder
* Migrate User profile header and create DynamicForm for basic data
* Update UserShow to use UserProfile prop
* Add API Key input
* Add handler to regenerate API Key button
* Handle user profile save
* Add readOnly prop to DynamicForm and begin disabled user behavior
* Add Change Password Modal
* Remove action buttons for disabled users
* Add send password reset behavior
* Add minLength and password comparison to Password Modal
* Resend Invitation button
* Add Convert User Info
* Fix UserShow test
* Some code updates
* Add enable/disable user button
* Add UserPolicy as an idea
* Remove UserPolicy
* Create Edit Profile spec
* Move User profile screenshot to Edit Profile Spec
* Add tests for saving user and changing password errors
* CC is back :) - Fix trailing spaces
* Add test for succesful password update
* A few improvements from code review
* Remove Toggle User button when seeing your own profile
* Create InputWithCopy
* Fix possible errors when network is off and improve Email not sent alert
* Add default response object for $http possible errors
* Changes in UserEdit
- removed onClick from methods name
- regenerate API Key now uses InputWithCopy
- Password title added
* Update UserEdit render behavior and styling
- Password title changed to h5
- change rendering rules for actions
- Password modal is now closed when password is changed
- change DynamicForm readOnly to the fields and add hideSubmitButton
* Create ChangePasswordDialog and update UserEdit
* Fix possible console error
* Remove password match assertion from spec
* Fix typo
2019-02-14 14:08:30 -02:00
swfz
afaedb9062
[Feature] Table visualization: Raise the upper limit of MAX_JSON_SIZE ( #3310 )
...
* move constant value to clientConfig
* change name maxJsonSize to tableCellMaxJSONSize
* value from environment. default is 50000
2019-02-13 11:42:40 +02:00
Ran Byron
f2df7170d2
HelpTrigger ( #3431 )
...
* Moved to HelpTrigger
* Moved share dialog “Learn more” to HelpTrigger
2019-02-13 10:38:25 +02:00
Arik Fraimovich
d6827e3601
Version update time ⏰ ( #3429 )
...
* Version update time ⏰
* Need more ☕ ️
2019-02-13 09:51:07 +02:00
Omer Lachish
c028e49bfd
send ip and user id to sentry ( #3430 )
2019-02-13 09:41:41 +02:00
Ran Byron
9b1f277530
[Widget Params] Updated help url and tooltip ( #3428 )
2019-02-13 09:00:48 +02:00
Ran Byron
901f28a79f
Pre-commit hook to run on modified files only ( #3410 )
...
* Pre-commit hook to run on modified files only
* Removed git add, fixed script dup
* Removed pre-push, testing related files only in pre-commit
2019-02-13 08:21:42 +02:00
Levko Kravets
3fed697c37
[Bug fix] Query Parameters: don't save urlPrefix ( #3427 )
2019-02-12 21:10:53 +02:00
Levko Kravets
d567765a3c
[Bug fix] Notifications randomly shown with visible page or not shown with inactive page ( #3426 )
2019-02-12 20:07:36 +02:00
Ran Byron
4dbc17572a
Converted Share modal to Ant ( #3424 )
2019-02-12 16:11:08 +02:00
Omer Lachish
330c5a85f1
Enable remote debugging with ptvsd ( #3419 )
...
* open port 3000 for remote debugging
* add ptvsd
* use port 5678 to avoid changes in VSCode's default config
* attach to ptvsd
* no need to wait for attach
* actually, --debugger seems to be working
* create a new docker entry point for remote debugging
* alternative method to switch to debugging
2019-02-12 09:10:18 +02:00
Levko Kravets
2c1400d323
[Feature] Alternative implementation of dashboard param title editing ( #3417 )
2019-02-11 17:17:05 +02:00
Arik Fraimovich
cb22764d68
Bug fix] Saving a new query removes reference to last query result ( #3421 )
...
* Correctly test if the current query result is for the current query.
* Serialize a new query with its visualizations.
2019-02-11 14:13:01 +02:00
Arik Fraimovich
eee77a1c9b
[Bug fix] Show query result footer only when there is a query result. ( #3422 )
2019-02-11 13:46:18 +02:00
Omer Lachish
71fb1442f1
Upgrade Sentry SDK ( #3418 )
...
* replace raven with sentry-sdk
* use sentry-sdk in celery
* use sentry-sdk with flask
* unify Flask and Celery initializations for Sentry
* extract sentry stuff to own module
* it's time for Sentry 0.7.2
2019-02-10 21:56:16 +02:00
Jannis Leidel
23908edc28
Handle InterruptException in Athena query runnner like in the Presto query runner. ( #3403 )
2019-02-10 13:41:16 +02:00
Ran Byron
df4ca86d35
Added short modal specific styling ( #3366 )
2019-02-10 13:39:55 +02:00
Omer Lachish
03f040da0e
Unify query based dropdown population ( #3337 )
...
* stop testing `collect_query_parameters`, it's an implementation detail
* add tests for `missing_query_params`
* rename SQLQuery -> ParameterizedSqlQuery
* rename sql_query.py to parameterized_query.py
* split to parameterized queries and parameterized SQL queries, where
parameterized queries only do templating and parameterized SQL queries
add tree validation on top of it
* move missing parameter detection to ParameterizedQuery
* get rid of some old code
* fix tests
* set syntax to `custom`
* revert the max-age-related refactoring
* 👋 tree validations 😢
* BaseQueryRunner is no longer a factory for ParameterizedQuery, for now
* add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
* adds parameter schema to ParameterizedQuery
* adds parameter schema validation (currently for strings)
* validate number parameters
* validate date parameters
* validate parameters on POST /api/queries/<id>/results
* validate enum parameters
* validate date range parameters
* validate query-based dropdowns by preprocessing them at the handler
level and converting them to a populated enum
* change _is_date_range to be a tad more succinct
* a single assignment with a `map` is sufficiently explanatory
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* build error message inside the error
* support all types of numbers as number parameters
* check for permissions when populating query-based dropdowns
* check for access to query before running it
* check for empty rows when populating query-based enums
* don't bother loading query results if user doesn't have access
* 💥 on unexpected parameter types
* parameter schema default is a list, not a dictionary
* fix a totally unrelated typo
* remove redundant null guards
* introduce /dropdown.json endpoint with dummy data
* wire frontend to /dropdown.json
* always return name/value combos from /dropdown.json
* load actual data into /dropdown.json
* pluck correct values for `name` and `value`
* reuse dropdwon plucking logic in QueryResultResource
* simplify _get_dropdown_values
* when doing parameter validation, we only care about the value and not
the display name
* rename dropdown to dropdownOptions
* move dropdown_values to utils/parameterized_query.py
* stop converting queries to enums and encapsulate the work inside
ParameterizedQuery (almost - /dropdown.json would still access the
dropdown_values method)
* re-order arguments by importance
* test query parameter validation
* tests for dropdown_values logic
* remove `.json` suffix to the dropdown endpoint
* allow `BaseResource` to handle JSON stuff
* move _pluck_name_and_value outside its containing method
* case-insensitive lookup when plucking name and value
* separate concerns and simplify test isolation for `dropdown_values`
* pick the default column according to the order specified in the query
result columns attribute
* use `current_org` instead of passing `org`
* test that user has access to the query when calling the /dropdown
endpoint
2019-02-10 13:10:39 +02:00
Levko Kravets
e21bbcc6fe
[UI/UX Improvement] Use Ant's Button component on users list page ( #3416 )
2019-02-08 17:48:48 +02:00
Levko Kravets
23f5dde488
[Codebase Improvement] Refine dialog wrapper and use it for all existing dialogs ( #3407 )
2019-02-08 10:00:22 +02:00
Ran Byron
29326f3610
[Widget Params] Title edit fixes ( #3413 )
2019-02-08 08:45:46 +02:00
Ran Byron
593ebde211
Fix: “Add TextBox” dialog not opening ( #3414 )
2019-02-08 01:01:50 +02:00
Levko Kravets
11507c5e5e
Show active and pending users separately (for admins) ( #3400 )
2019-02-07 20:30:55 +02:00
Jannis Leidel
c49dccf254
Work around a resizing issue. ( #3412 )
...
* Work around a resizing issue.
Fix #3353 .
* Add comment to remove this when we delete Angular.
Co-Authored-By: jezdez <jannis@leidel.info >
2019-02-07 16:05:39 +02:00
Marina Samuel
029bee18fb
Coerce to moment when 'datetime' selected by user. ( #3150 )
2019-02-07 14:42:30 +01:00
Levko Kravets
ec475e4b7b
[Bug fix] Few small bugs on Queries list page ( #3402 )
...
* Link to query page
* Sidebar menu item title: `Archive` -> `Archived`
* Whitespaces in empty state block
2019-02-06 00:19:31 +02:00
Levko Kravets
045c171bb4
Refactor TagsControl; fix TagsEditorModal animation ( #3399 )
...
* Refactor TagsControl; fix TagsEditorModal animation
* Update tooltip text
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
* Update tooltip text
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
* CR1
2019-02-05 23:29:09 +02:00
Arik Fraimovich
21341132f6
Fix: cohorts get stuck when passing strings instead of numbers. ( #3397 )
...
* Fix: cohorts get stuck when passing strings instead of numbers.
Parse the value to get a number.
* Use parseInt for stage
* Remove redundant parseInt
2019-02-05 21:20:17 +02:00
Levko Kravets
ac68fe1a6d
Migrate Dashboards/Queries/Users list pages to React ( #3381 )
...
* Refine existing implementation of dashboards/queries/users lists and a common base controller
* Migrate common list page controller to React and refactor it's logic
* Migrate Dashboard list page to React
* Migrate Queries list page to React
* Migrate Users list page to React
* Remove react-timeago dependency
* Use composition instead of inheritance
* Refine implementation
* Merge sidebar into single component
* Refine column definitions
* Use simple controller instead of React context
* Refine implementation
* Restore changes from getredash/redash#2888
* Tweak Users list page
* Ability to render dynamically defined components
* Tweak users list page
* User list page for non-admins
* Fix: ItemsTable ignores isAvailable field
* Refine implementation
* Refine implementation
* Implement LiveItemsList as higher order component
* Some fixes
* Move some definitions to a better place
* Some fixes
* Refine components
* Refine UsersList page
* More comments for a god of comments
* Fix wrong tables size on smaller screens
* Tweak tables
2019-02-05 21:13:32 +02:00
Arik Fraimovich
13855934f9
Add YAML support in QueryEditor ( #3395 )
2019-02-05 20:37:54 +02:00
Ran Byron
5b62883c1c
[Widget Params] Switched parameter list to table style (all parts) ( #3332 )
...
* [Widget Params] Split title and mapping editing
* [Widget Params] Restyled source editing
* [Widget Params] Switched parameter list to table style
* Displaying different labels and help phrases when changing type
Added link to knowledge base
Fixed issue with existing param default select value
2019-02-05 20:36:15 +02:00
Ran Byron
c9681d55bf
Added pre-push hook ( #3390 )
2019-02-05 16:16:49 +02:00
Arik Fraimovich
7cfea8a6a0
Fix: only login user when it's the current user. ( #3396 )
...
Otherwise it would login the admin as the user...
2019-02-05 15:53:51 +02:00
Ran Byron
2011864fdb
Fix: Selected item in dropdown unreadable ( #3398 )
2019-02-05 15:50:31 +02:00
Omer Lachish
8f0cffe424
Use textless endpoint for pristine queries ( #3367 )
...
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* move execution preparation to a different function, which will be soon
reused
* go to textless /api/queries/:id/results by default
* let the query view decide if text or textless endpoint is needed
* lint
2019-02-05 12:08:12 +02:00
Ran Byron
3df372434f
[Widget Params] Migrated edit params + new widget dialog to Ant Modal ( #3387 )
2019-02-04 21:00:59 +02:00
Arik Fraimovich
933dd753a8
Make the logic around schedule['until'] easier to read ( #3376 )
2019-02-03 21:13:27 +02:00
koooge
3992bcda9b
Ignore to copy some files onto docker container ( #3388 )
...
* Ignore to copy some files onto docker container
Signed-off-by: koooge <koooooge@gmail.com >
* Dockerignore venv/
Signed-off-by: koooge <koooooge@gmail.com >
2019-02-03 20:30:08 +02:00
Jannis Leidel
69e34f048a
Add archived queries section to queries list. ( #2888 )
...
* Add archived queries section to queries list.
* Refactor route building for list based controllers.
This also fixes the dashboard empty state page.
2019-02-03 14:35:25 +02:00
Omer Lachish
b0a11983fa
fix lint error - getDerivedStateFromProps should be placed after state ( #3391 )
2019-02-03 11:13:04 +02:00
Levko Kravets
807e6aaaa6
Migrate "time ago" components to React ( #3385 )
...
* Replace <am-time-ago> (angular-moment) and <rd-timer> with React component
* PropTypes: Moment validation
* Increase polling interval
* Refine component implementation
* Add tooltip with formatted date/time
* Refine component implementation
2019-02-02 18:46:48 +02:00
Levko Kravets
324a1f55cc
Merge pull request #3384 from getredash/step-component
...
EmptyState alternative implementation with a Step component
2019-02-02 18:29:21 +02:00
Levko Kravets
abccff03f7
Fix Add datasource step; EmptyState.icon is optional
2019-02-02 18:12:27 +02:00
Levko Kravets
aa619c453f
Merge branch 'master' into step-component
2019-02-02 17:56:11 +02:00
Levko Kravets
10b5c03248
Merge pull request #3389 from getredash/cypress
...
Fix Cypress E2E failing in CI
2019-02-02 17:14:21 +02:00
Gabriel Dutra
fde52f5d84
Fix Cypress E2E failing in CI
2019-02-02 12:44:33 -02:00
Arik Fraimovich
78df7e7cc9
Last refinements:
...
* Update Step implementation to be easier to read.
* Set some props to required to remove default value.
2019-02-01 10:16:17 +02:00
Levko Kravets
e314715335
Refine implementation, fix 'shouldShow' condition, fix eslint warnings
2019-02-01 08:37:09 +02:00
Arik Fraimovich
a1cf065ec6
No need to export Step
2019-02-01 00:04:03 +02:00
Arik Fraimovich
f9570556c5
Bring back data sources step for non admins
2019-02-01 00:00:19 +02:00
Arik Fraimovich
9859610e80
Alternative implementation: Step component
2019-01-31 23:55:40 +02:00
Marina Samuel
feab2a040b
BigQuery should correctly handle tmp tables that do not have a schema field. ( #3382 )
2019-01-31 23:20:13 +02:00
Marina Samuel
35c390a2f9
Show disabled unpublished queries for alert and dashboard modals. ( #3347 )
2019-01-31 19:58:47 +02:00
Ran Byron
ebb96d7ad7
Widget param url prefix p to p_w ( #3380 )
2019-01-31 17:03:13 +02:00
Levko Kravets
3d58860f6f
Merge pull request #3374 from kravets-levko/fix-eslint-errors
...
Fix eslint errors
2019-01-31 14:33:28 +02:00
Levko Kravets
c223566302
Merge branch 'master' into fix-eslint-errors
2019-01-31 14:04:05 +02:00
Levko Kravets
1439714fa6
Migrate EmptyState component to React ( #3373 )
...
* Migrate EmptyState component to React
* CR1
* CR2
2019-01-31 14:02:45 +02:00
Levko Kravets
9c06e9a0bd
CR1
2019-01-31 13:50:05 +02:00
Levko Kravets
f98cf7812b
Merge branch 'master' into fix-eslint-errors
2019-01-31 11:25:41 +02:00
Levko Kravets
ee0e81e795
Fix eslint errors
2019-01-31 11:21:45 +02:00
Jannis Leidel
bd559b6eeb
Fix some incompatible dependencies ( #3348 )
...
* Pin requests-oauthlib to work around incompatible deptree.
* Update boto3/botocore to fix incompatible deptree.
2019-01-31 09:50:47 +02:00
Arik Fraimovich
c51191aaf0
Tune CodeClimate's config to make it less annoying ( #3370 )
2019-01-31 07:34:31 +02:00
Levko Kravets
4a2645d4c6
Merge pull request #3368 from kravets-levko/feature/react-favorites-and-tags-list
...
React migration: FavoritesControl and TagsList components
2019-01-30 21:09:05 +02:00
Levko Kravets
3ad1709a0a
Merge branch 'master' into feature/react-favorites-and-tags-list
2019-01-30 20:29:07 +02:00
Ran Byron
cc135398e2
Fix: static param text value is [object Object] ( #3371 )
2019-01-30 20:27:59 +02:00
Levko Kravets
067472643d
CR3
2019-01-30 20:21:22 +02:00
Levko Kravets
225c98c52a
Merge branch 'master' into feature/react-favorites-and-tags-list
2019-01-30 19:23:03 +02:00
Ran Byron
00e991ecfc
Fix: Static param value not editable for Text/Number ( #3369 )
2019-01-30 19:18:57 +02:00
Levko Kravets
a362e97dfe
CR2
2019-01-30 18:54:53 +02:00
Levko Kravets
1ea532fe26
CR1
2019-01-30 18:45:06 +02:00
Levko Kravets
9a1c8290e4
Migrate TagsList component to React
2019-01-30 17:40:42 +02:00
Levko Kravets
0d959116d8
Migrate FavoritesControl component to React
2019-01-30 17:22:54 +02:00
Aidarbek Suleimenov
0b9f575dab
Fix: make ClickHouse password and username truly optional ( #3362 )
...
* clickhouse optional password
* clickhouse URL and user made optional
2019-01-30 11:17:43 +02:00
koooge
13bc910d7c
Update CodeClimate configuration format to Version 2 ( #3286 )
...
* codeclimate: Update format v2
* codeclimate: Ignore generated files
2019-01-30 10:51:32 +02:00
Ran Byron
9e2f8e2461
Fix: Escape button in tag edit modal ( #3363 )
2019-01-30 10:43:38 +02:00
Aidarbek Suleimenov
61e7cdaa81
Filename set when /results called directly ( #3359 )
...
* filename set when /results called directly
* /results filename changed from query name to id
* Long line shortened
2019-01-29 19:47:42 +02:00
Vladislav Denisov
53aecdc607
yandex_metrica: changed auth from params to headers ( #3360 )
2019-01-29 18:17:13 +02:00
koooge
2da511021e
Frontend lint update ( #3253 )
...
* client: Add lint command
Signed-off-by: koooge <koooooge@gmail.com >
* client: Override eslint rule object-curly-newline to keep current style
Signed-off-by: koooge <koooooge@gmail.com >
* client: Override eslint rule no-else-return to keep current style
Signed-off-by: koooge <koooooge@gmail.com >
* client: Fix eslint import/named
Signed-off-by: koooge <koooooge@gmail.com >
* client: eslint-5
Signed-off-by: koooge <koooooge@gmail.com >
* codeclimate: Delete the old setting
Signed-off-by: koooge <koooooge@gmail.com >
* client: Downgrade eslint 5 to 4 in codeclimate
Signed-off-by: koooge <koooooge@gmail.com >
* client: npx install-peerdeps --dev eslint-config-airbnb
Signed-off-by: koooge <koooooge@gmail.com >
* client: Enbale .jsx lint
Signed-off-by: koooge <koooooge@gmail.com >
* client: Set warn
Signed-off-by: koooge <koooooge@gmail.com >
* client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable eslint operator-linebreak
Signed-off-by: koooge <koooooge@gmail.com >
* Revert "client: Downgrade eslint 5 to 4 in codeclimate"
This reverts commit f0fb0f0059 .
* client: Fix react/button-has-type
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable an eslint rule react/jsx-one-expression-per-line
Signed-off-by: koooge <koooooge@gmail.com >
* codeclimate: Disable no-multiple-empty-lines
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable eslint react/destructuring-assignment
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-29 17:25:58 +02:00
Omer Lachish
371b319e92
Server-side parameter validation ( #3315 )
...
* stop testing `collect_query_parameters`, it's an implementation detail
* add tests for `missing_query_params`
* rename SQLQuery -> ParameterizedSqlQuery
* rename sql_query.py to parameterized_query.py
* split to parameterized queries and parameterized SQL queries, where
parameterized queries only do templating and parameterized SQL queries
add tree validation on top of it
* move missing parameter detection to ParameterizedQuery
* get rid of some old code
* fix tests
* set syntax to `custom`
* revert the max-age-related refactoring
* 👋 tree validations 😢
* BaseQueryRunner is no longer a factory for ParameterizedQuery, for now
* add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
* adds parameter schema to ParameterizedQuery
* adds parameter schema validation (currently for strings)
* validate number parameters
* validate date parameters
* validate parameters on POST /api/queries/<id>/results
* validate enum parameters
* validate date range parameters
* validate query-based dropdowns by preprocessing them at the handler
level and converting them to a populated enum
* change _is_date_range to be a tad more succinct
* a single assignment with a `map` is sufficiently explanatory
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* build error message inside the error
* support all types of numbers as number parameters
* check for permissions when populating query-based dropdowns
* check for access to query before running it
* check for empty rows when populating query-based enums
* don't bother loading query results if user doesn't have access
* 💥 on unexpected parameter types
* parameter schema default is a list, not a dictionary
* remove redundant null guards
2019-01-29 09:18:07 +02:00
Arik Fraimovich
ff42ec2cc6
Cypress tests: preset the admin API key to a static value ( #3358 )
2019-01-28 17:54:24 +02:00
Levko Kravets
7278d4b1fc
Refactor Policy and OrganizationStatus services ( #3345 )
...
* Refactor Policy and OrganizationStatus services
2019-01-28 16:46:26 +02:00
Levko Kravets
6930106380
getredash/redash#3355 Widget params: Date/Date range value empty in static param input ( #3357 )
2019-01-28 15:59:49 +02:00
Zsolt Kocsmárszky
c0859642fd
WIP: Add dashboard details section for dashboard owner and more ( #2934 )
...
Show dashboard creator on dashboard page
2019-01-28 14:20:55 +02:00
Gabriel Dutra
37821ee008
Add Percy Page Screenshots ( #3338 )
...
* Add Percy Page Screenshots
* Add missing space
2019-01-28 10:21:42 +02:00
Arik Fraimovich
c31cb01065
Move BigQueryGCE to its own file ( #3356 )
...
* Move BigQueryGCE to its own file
* Add missing import
2019-01-28 09:37:47 +02:00
Levko Kravets
1fa58674f3
Refine SettingsMenu service and <settings-screen> component ( #3339 )
...
* Refine SettingsMenu service and <settings-screen> component
* Rename services/settingsMenu file to match default export name
* CR1
2019-01-25 17:29:35 +02:00
Jannis Leidel
d204c158a2
Allow query owners to hard-overwrite query content in case of overlap with other user ( #2370 )
...
* Hard overwrite on conflict for query owners (re #283 )
* Use AlertDialog instead of custom global function.
2019-01-25 11:28:09 +01:00
Levko Kravets
b0b4d5e26a
Convert Angular services to CommonJS-style and use them in React components instead of injecting ( #3331 )
...
* Refine Auth service: remove dead code and fix race condition
* Export services in CommonJS style
* Refine Users, Events and OfflineListener services
* Refactor Notifications service - rewrite to CommonJS
* Replace Angular service injection with imports in React components
* Fix Footer tests
* Events service -> recordEvent function
* CR1
2019-01-24 16:24:58 +02:00
Levko Kravets
c2c722e12e
Migrate PageHeader component to React ( #3324 )
...
* Migrate PageHeader component to React
* CR1
2019-01-23 20:10:52 +02:00
Vibhor Kumar
1a61ee3ec0
Add: Uptycs query runner ( #3319 )
...
* adding uptycs query_runner in redash
* as per comment from Arik comment fixed the code
* fixed function_name
* fixed some indentation issues
* fixed the indentation issue and taken out customer_id from secret
* fixed the dependency of urllib3
* fixed the indententaton issue
* remved the urllib3 from requirements
* fixed the indentation issues
* added the new square image for Uptycs. Removed unnecessary variable and made ssl as an option
* fixed indentation issue
* Renamed SSL to verify_ssl and also added verify_ssl validate in verify in missing places
2019-01-23 20:07:40 +02:00
Ran Byron
d5afa1815e
Filtering out incompatible dashboard params ( #3330 )
2019-01-23 16:27:49 +02:00
Arik Fraimovich
87667676e6
Remove link to roadmap ( #3329 )
...
It's no longer maintained 😢
2019-01-23 13:48:11 +02:00
Arik Fraimovich
bfeb015d71
Add configuration for the Support probot. ( #3327 )
2019-01-23 13:38:08 +02:00
Omer Lachish
a9c514aaf7
Textless query result endpoint ( #3311 )
...
* add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
* check for access to query before running it
2019-01-23 11:10:04 +02:00
Levko Kravets
7fa6665445
Use Ant's Paginator component; migrate SortIcon to React ( #3317 )
2019-01-22 17:26:11 +02:00
Miles Maddox
ff6b20b69c
support for fetching all JQL results by way of pagination ( #3304 )
2019-01-22 15:52:13 +02:00
YOSHIDA Katsuhiko
c4bf44677a
Fix an error of exporting dict value as Excel ( #3323 )
2019-01-22 14:43:52 +02:00
Gabriel Dutra
8bdcfb06c5
add wait time before percy data source page snapshot ( #3320 )
2019-01-22 08:52:23 +02:00
YOSHIDA Katsuhiko
b3643ffbb7
Add regenerate function of user's API key ( #3224 )
...
* Add regenerate function of user's API Key
* Update client/app/pages/users/show.js
Co-Authored-By: kyoshidajp <claddvd@gmail.com >
* Remove unused error message
* Refactoring: Inline temp
* Update client/app/pages/users/show.js
Co-Authored-By: kyoshidajp <claddvd@gmail.com >
* Change action event of regenerate user API key
2019-01-20 13:38:20 +02:00
Eric Chang
b91d4bdcaf
override default integer/float formatting with environment variables ( #3307 )
2019-01-20 10:10:36 +02:00
Eric Chang
8bc8e2dadf
Allow execution of highlighted subquery ( #3288 )
...
* allow execution of selected subquery
* fix query save while highlighted
* don't modify queryText and update UI when running selected
* code style and transition
* Fix query selection execution background color
* make naming consistent
2019-01-20 10:06:17 +02:00
Gabriel Dutra
84d5becf2a
Update form text colors ( #3296 )
...
* Create ant variables and update form colors
* Remove less extension from imports in ant.less
* Update font-weight for labels
* Add percy snapshot for create data source page
* Remove bold in labels only for checkboxes and radio buttons
2019-01-20 09:41:52 +02:00
Arik Fraimovich
e8120c5f79
Use None as "not scheduled" default value of a query ( #3277 )
...
* Use null as the default scheduled value.
* Don't serialize None to json, so we can use SQL is not null predicate.
* Fix warning about unicode in tests
* Handling empty query.schedule in UI (#3283 )
* Add migration to convert empty schedules to null and drop the not null contraint.
2019-01-18 11:30:45 +02:00
Levko Kravets
40c6a2621c
Merge pull request #3299 from kravets-levko/fix/multifilter-dropdown
...
Multifilter's dropdown cropped when visualization container is too small
2019-01-17 15:37:26 +02:00
Levko Kravets
06887f6ff1
Multifilter's dropdown cropped when visualization container is too small
2019-01-17 15:14:46 +02:00
Omer Lachish
7847cf7d63
Fix invitation pending for older invitations ( #3298 )
...
* explicitly look for a False under details['is_invitation_pending'] and
not any falsey result, to avoid locking out invitations which were
created before the Pending Invitation feature was introduced. Solves https://github.com/getredash/redash/issues/3297
* test that old invites (that do not have any is_invitation_pending flag set in their details object) are still acceptable
2019-01-17 11:56:16 +02:00
Omer Lachish
121a44ef15
Remove tree validations and introduce ParameterizedQuery ( #3230 )
2019-01-17 10:26:00 +02:00
Gabriel Dutra
823e4ccdd6
Migrate DynamicForm to React ( #3209 )
...
* create DynamicForm React component
* Render fields based on target in DynamicForm
* Add missing title property to fields
* Fix style properties in DynamicForm
* Render File fields in DynamicForm
* Use React for middle component instead of Angular
* Functional save button
* Update label style
* Render functional actions
* Handle file inputs
* Update render methods to fix code climate issues
* Fix ant input number showing duplicate arrows
* Update DynamicForm style to be vertical
* Separate imports from antd in DynamicForm
* Add Feedback Icons to DynamicForm
* Change Action props on DynamicForm
- use type and pullRight instead of class prop
- update data sources and destinations pages accordingly
* Remove setDefaults method from DynamicForm fields
* Update antd version
* Remove unnecessary class selectors
* Remove another unnecessary class selector
2019-01-15 14:23:33 +02:00
Levko Kravets
0c45d69662
Dashboard Parameters ( #2756 )
...
* getredash/redash#2641 Step 1: split Add Widget/Add Textbox buttons
* Convert Add widget/textbox dialogs to React components
* getredash/redash#2641 Step 2: Implement new dashboard parameters logic
* Resolve conflicts and fix build errors
* getredash/redash#2641 Refactoring and improve code quality
* Add Edit parameter mappings dialog to the widget
* getredash/redash#2641 Changes after code review
* Use Ant's Select component instead on <select> tags
* Fix Antd imports
* Fix Antd imports
* Fix Cannot read property 'getParametersDefs' of undefined
* Fix widgets static params bugs (don't show input, don't init from URL)
* Minor UI/UX fixes
2019-01-15 13:14:54 +02:00
Gabriel Dutra
df23842c57
Separate Bootstrap/Ant styling ( #3279 )
...
* Separate Ant less dependency tree
* Change order between variables and ant imports
* Remove inc/variables from ant.less
* Update input-height-base for antd
* Set same input-color for Ant and Bootstrap
2019-01-15 11:40:38 +02:00
Arik Fraimovich
d68a4dce5f
Pin version of pyparsing ( #3282 )
2019-01-14 17:17:23 +02:00
Levko Kravets
db86e394cf
Update Antd to latest version + fix tests ( #3281 )
2019-01-14 16:25:57 +02:00
koooge
4c9326a9da
handlers: Fix post users ( #3273 )
2019-01-13 15:52:56 +02:00
Ran Byron
200fea952a
Pleasant alert-warning colors ( #3276 )
...
* Pleasant alert-warning colors
* Fix for json viewer primitive color
2019-01-13 15:27:26 +02:00
Ran Byron
90a0a7d39b
Scheduler tests (jest/enzyme) ( #3269 )
...
* Setup enzyme and initial ScheduleDialog test
* Added tests for each schedule setting
* Added refreshOptions tests
* Added count out-of-range tests
* Added modal confirm/cancel tests
* Fixed tests failing due to server timezone difference
* Rebased to master
2019-01-13 15:26:44 +02:00
Omer Lachish
26252be75a
Verify admin email address ( #3267 )
...
* add an bit
* prompt on homepage when user's email hasn't been verified
* set e-mail as verified for new setups and invited users
* 👋 copy & paste invite links, it's time for verified e-mails!
* default `is_invitation_pending` to false and actively set it to true
when inviting users, so that existing users won't show "Invitation
Pending"
* fix tests that broke due to default is_invitation_pending value
* treat admin's e-mail address as verified
* add verification endpoint
* send verification e-mail
* Update client/app/components/empty-state/empty-state.html
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/authentication/account.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/handlers/authentication.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/templates/emails/verify.html
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/authentication/account.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/templates/verify.html
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/templates/emails/verify.txt
Co-Authored-By: rauchy <omer@rauchy.net >
* add link in case redirects are disabled
* POSTing to /email_verification makes more sense than GETting /send_verification
* avoid sending invitations when no_invite is passed along
* Update client/app/pages/users/new.html
Co-Authored-By: rauchy <omer@rauchy.net >
* move e-mail verification prompt to home-page
* get rid of redundant $scope
* return JSON
* flip is_email_verified's default value so that existing users do not
show as not-verified
* e-mail verification propmt isn't dangerous, it just wants to warn you
2019-01-13 13:57:12 +02:00
Ran Byron
6c6366e6f0
Fix: Refresh schedule durations not pluralized sufficiently ( #3268 )
...
* Fix: Refresh schedule durations not pluralized sufficiently
* Allows omitting single value number in durationHumanize (#3274 )
2019-01-13 13:31:41 +02:00
Ran Byron
de04a403d7
Fix: Refresh schedule interval count doesn't adhere to permission rules ( #3265 )
...
* Fix: Refresh schedule interval count doesn't adhere to permission rules
* Fix “4.28 weeks” to “30 days”
* Merge interval type and count into one <Select>
2019-01-13 11:39:57 +02:00
Ilya Ruzakov
0b6f1fc21b
[Data Sources] Implement Apache Drill ( #3188 )
...
* Added support for Apache Drill datasource
* Improvements in `Drill` query runner and minor refactoring
1. Drill query runner now inherits from `BaseHTTPQueryRunner`, because they both have a lot of common code.
2. `BaseHTTPQueryRunner.get_response` method now accepts `http_method` argument (original implementation was only capable of sending `GET` HTTP requests).
3. Added `order` to `BaseHTTPRequestRunner` configuration schema to fix order of UI elements based on the schema.
4. Eliminated duplicate method `_guess_type` in `GoogleSpreadsheet`, `Results` and `Drill` query runners, moved `guess_type` to `redash.query_runner`.
5. Removed tests for `_guess_type` in `GoogleSpreadsheet`, `Results` and `Drill` query runners, merged them into single test case and moved to `tests.query_runner.test_utils`.
6. Various minor changes (code style, imports, etc).
2019-01-10 09:12:35 +02:00
Omer Lachish
445f8e5c36
Fix invitation pending for existing users ( #3261 )
...
* default `is_invitation_pending` to false and actively set it to true
when inviting users, so that existing users won't show "Invitation
Pending"
* fix tests that broke due to default is_invitation_pending value
* update Flask-OAuthLib
2019-01-09 13:48:47 +02:00
Omer Lachish
a29136037c
update Flask-OAuthLib ( #3262 )
2019-01-09 13:48:21 +02:00
Arik Fraimovich
08953cc919
Redis based implementation of user active_at timestamp update ( #3256 )
...
* Switch to simpler implementation
* Fix active_at update code
* Fix sync test
2019-01-08 14:03:49 +02:00
koooge
22f835d3cb
client: Remove estraverse ( #3254 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-08 12:29:24 +02:00
Omer Lachish
823f172a9f
Invitation Pending changes ( #3229 )
...
* determine invitation_pending according to empty password. This commit will be reverted, I'm just deferring the implementation
* show '(Invitation Pending)' to users who haven't accepted their invitation yet
* allow resending invitations
* allow deletion of pending users from user list
* set invitation as not pending when following invite link
* prevent deleting activated users
* test that users who follow invitation links are set as non-pending invitations
* prevent re-using invitations
* invitees who use SSO will now also be marked as "non-pending"
* lint
2019-01-08 08:52:48 +02:00
Jannis Leidel
44dff83046
Add "Active at" column to user list. ( #3026 )
...
* add last_active_at to users page
* Use our JSON encoder as the SQLAlchemy JSON serializer.
* Fixed some inconsistencies in the user query class methods.
* Minor cosmetic fixes.
* Add some make tasks for easier development.
* Add user detail sync system based on Redis backend.
There is a periodic Celery task that updates a new “details” JSONB column in the “user” table with the data from Redis.
Currently this is only used for tracking the date of last activity of a user but can be extended with other user information later.
Updates a few dependencies.
* Normalize a few Flask extension API names.
* Reduce implementation complexity of JSONEncoder.
* Use request_started signal to make sure we have a request context.
Otherwise loading the user based on the request won’t work.
* Fix test that checks if disabled users can login.
This correctly uses a URL path that includes the current organization and checks for the error message.
The previous test seems to have been a red herring.
* Minor cosmetic fixes.
* Remove needs_sync in favor of just deleting things.
* Misc review fixes.
* Ignore line length.
* Split redash.models import several modules.
* Move walrus UTC DateTimeField into redash.models.types.
* Restore distinctly loading dashboards.
* Simplify default values for user details.
* Define __repr__ methods generically.
* Consistently have underscore methods at the top of model methods.
* Fix tests.
* Split redash.models import several modules.
* Update to latest walrus and redis-py.
* Update kombu to 4.2.2 for redis-py 3.x compatibility.
* Remove redis-cli container after running Make task.
* Move buffer condition after datetime/time conditions.
* Update walrus to 0.7.1.
* Refactor some query APIs.
This uses the flask-sqlalchemy helpers consistently and makes more use of mixins.
* Post rebase fixes.
* Use correct kombu version
* Fix migration down revision
2019-01-07 10:30:42 +02:00
Ran Byron
569430e5cd
Fix: Refresh schedule phrase overlaps title ( #3250 )
2019-01-06 12:46:55 +02:00
Ran Byron
07a1c23df5
Fix: Able to set out-of-range refresh interval
2019-01-06 12:27:50 +02:00
Ran Byron
b97b8477ad
Feature: Refresh schedule - styling ( #3247 )
2019-01-06 12:14:00 +02:00
Ran Byron
9b72dfe076
Feature: Refresh schedule - save/cancel actions
2019-01-06 11:33:35 +02:00
Ran Byron
3ee83a4c4a
Feature: Refresh schedule - code optimizations
2019-01-06 11:17:43 +02:00
Marina Samuel
cdd2259d08
Closes #2396 : Add finer-grained scheduling. ( #2426 )
...
* Closes #187 : Add finer-grained scheduling - backend.
* Closes #2396 - Add finer-grained scheduling - frontend.
* Fix linting issues
* Rename ScheduleDialgo to .jsx
2019-01-06 10:59:50 +02:00
Vincentoo
fc368ee425
Support overriding the default Celery schedule database file via SCHEDULE_DB environment variable. ( #3056 )
...
By default Celery will use a file celerybeat-schedule in the current directory.
This is an issue in a Kubernetes/Openshift environment as the file may be lost or even impossible to write.
2019-01-03 20:51:18 +02:00
YOSHIDA Katsuhiko
7a2e08c3eb
Upgrade requests package ( #3245 )
2019-01-03 18:59:58 +02:00
Levko Kravets
ba0d069283
getredash/redash#3213 Scatter charts can have category Y axis (similar to Bubble) ( #3243 )
2019-01-03 17:15:51 +02:00
Omer Lachish
670d86eb5f
Simple user view ( #3244 )
...
* show a simple user details page when viewing a user who isn't you (or you arent the admin)
* add a snapshot test
* lint
2019-01-03 15:23:40 +02:00
Ran Byron
63f38b7acd
Fix: Query editor duplicates keystrokes [ #2972 ] ( #3239 )
2019-01-01 17:40:48 +02:00
Arik Fraimovich
8b5ffc6f84
Handle the case when a QueryTracker is None and change order. ( #3238 )
2019-01-01 15:57:58 +02:00
Arik Fraimovich
cce2052e79
request.view_args might be None and add org_id to ApiUser ( #3237 )
2019-01-01 15:44:34 +02:00
Arik Fraimovich
8ea6283430
Send argsrepr value with execute_query task ( #3235 )
2019-01-01 15:32:02 +02:00
Arik Fraimovich
08b86c1c6d
Fix: forked query wasn't opening in MULTI_ORG env ( #3236 )
2019-01-01 15:31:41 +02:00
koooge
0449a3ff31
Delete an unused global ( #3231 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-01 08:58:31 +02:00
Arik Fraimovich
4ea46f197e
It's 2019 now ! 🎉
2019-01-01 08:40:51 +02:00
Omer Lachish
d7edaa3ba2
Tests for find_missing_params ( #3225 )
...
* stop testing `collect_query_parameters`, it's an implementation detail
* add tests for `missing_query_params`
2018-12-31 12:34:57 +02:00
YOSHIDA Katsuhiko
632fc5aace
Merge pull request #3232 from koooge/fix_warn_tapable
...
Update webpack-build-notifier to dismiss warn
2018-12-31 10:09:23 +09:00
koooge
b9abb36799
Update webpack-build-notifier to dismiss warn
...
Signed-off-by: koooge <koooooge@gmail.com >
2018-12-30 17:37:42 +00:00
Levko Kravets
d7e7b99a76
Merge pull request #3228 from kyoshidajp/fix_trailing_spaces_error
...
Fix front-end compile error
2018-12-28 20:43:10 +02:00
Katsuhiko YOSHIDA
db87c8740e
Fix front-end compile error
2018-12-29 01:36:16 +09:00
Arik Fraimovich
5f2b54a320
Root folder cleanup ( #3220 )
...
* Remove old_migrations folder
* Move Dockerfile.cypress into .circleci
2018-12-26 18:09:41 +02:00
Arik Fraimovich
f62d0e1300
Use lower cased names for groups: ( #3221 )
...
Otherwise sorting depends on the Postgres collation and causes tests
to fail on different envoirnments.
2018-12-26 17:16:13 +02:00
Omer Lachish
9e156c1c30
Fix: missing param fails for object values (like date range) ( #3218 )
...
* fix: range params not recognized
* Handle parameters with unicode
* Remove debug prints
* DRY up missing_params
2018-12-26 17:06:30 +02:00
Gabriel Dutra
26965b4948
Add dot behavior to autocomplete ( #3092 )
...
* Add dot behavior to autocomplete
* Transform the Keyword Builder in an external js
* Remove methods from QueryEditor constructor
2018-12-26 17:04:11 +02:00
Omer Lachish
7a03928f48
we've noticed users with integer legacy session identifiers, so it doesn't hurt to convert to string anyway ( #3219 )
2018-12-26 16:24:59 +02:00
Omer Lachish
8f14efdaff
Avoid exploding sql parse ( #3216 )
...
* fail silently when sql_parse explodes
* Update upstream/redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update upstream/redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
2018-12-26 10:43:00 +02:00
deecay
03a7e24204
Show Sort Y only when type is Heatmap ( #3206 )
2018-12-24 17:10:16 +02:00
ialeinikov
2f7cb1bc8a
[Athena] Fix: missing databases (apply pagination) ( #2503 )
...
* adding paginator on databases in glue
* reduce number of nested loops
* fixing indentation
* double for-loop instead of generator
* removing unused generator
2018-12-24 14:02:08 +02:00
koooge
64783b7f06
Switch to MULTI FROM Dockerfile and use Node 10 for builds ( #3199 )
2018-12-23 15:17:54 +02:00
Takuya Arita
8ed872756c
Add test case for redash.utils.generate_token ( #3211 )
2018-12-23 15:13:00 +02:00
Arik Fraimovich
83ea472d37
Merge pull request #3093 from getredash/backend-parameter-templating
...
Remove Mustache templating from frontend
2018-12-20 22:24:11 +02:00
Arik Fraimovich
0505163ff9
Merge pull request #3174 from getredash/invalidate-sessions-after-email-or-password-change
...
Invalidate sessions after email or password change
2018-12-19 15:49:54 +02:00
Arik Fraimovich
3d38bb478f
Merge pull request #3205 from kravets-levko/bug/wrong-query-link-in-widget
...
Widget: fix url parameters in query link
2018-12-19 15:47:30 +02:00
Levko Kravets
654e906f6b
getredash/redash#3203 Widget: fix url parameters in query link
2018-12-19 15:13:58 +02:00
Omer Lachish
54da6c69ab
Merge branch 'invalidate-sessions-after-email-or-password-change' of github.com:getredash/redash into invalidate-sessions-after-email-or-password-change
2018-12-19 14:36:08 +02:00
Omer Lachish
8284e829fb
explain why we call on identity changes
2018-12-19 14:35:42 +02:00
Omer Lachish
bcfff469de
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-19 14:23:35 +02:00
Omer Lachish
b5ceb268ef
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-17 12:52:17 +02:00
Arik Fraimovich
8583eaa8ad
Merge pull request #3173 from kyoshidajp/golineup
...
Make it possible to move up one line by Ctrl+P on macOS
2018-12-17 12:08:04 +02:00
Arik Fraimovich
ef66da7d94
V6 release ( #3195 )
...
* V6 release
* Remove "-beta"
* Update package.json
* Update package-lock.json
* Update CHANGELOG.md
2018-12-16 16:01:20 +02:00
Omer Lachish
1b4e0f5de7
rename safely_apply_parameters to apply_parameters
2018-12-16 10:58:20 +02:00
Omer Lachish
479247b60c
Merge branch 'master' into backend-parameter-templating
2018-12-16 10:22:29 +02:00
Arik Fraimovich
57c8fbe14e
README updates
...
1. Remove link to Slack channel.
2. Update number of data sources.
2018-12-16 09:55:34 +02:00
Arik Fraimovich
938a20e7c0
Use multiple issue templates instead of a single one ( #3194 )
...
* Switch to issue templates
* Apply a label to non bugs
2018-12-16 09:42:32 +02:00
Katsuhiko YOSHIDA
dc842e9201
Fix can't open new parameter dialog by Ctrl+P on Windows and Linux
2018-12-14 18:58:33 +09:00
Arik Fraimovich
f5dbdf245a
Safely create_app in Celery code (try to fetch current_app first). ( #3187 )
...
Closes #3181 .
2018-12-13 15:10:31 +02:00
Omer Lachish
35357afb90
transform legacy session identifiers into new session identifiers
2018-12-13 13:02:11 +02:00
Omer Lachish
419877b364
explain the motivation behind support for legacy session identifiers
2018-12-13 13:02:03 +02:00
Omer Lachish
143d515bfc
use login_user instead of manually updating user_id in the session
2018-12-13 12:30:21 +02:00
Gabriel Dutra
8481dacff4
Fix eslint issues on user.js ( #3186 )
2018-12-12 23:32:12 +02:00
Omer Lachish
94905a287a
tests for legacy session user identifiers
2018-12-12 13:03:50 +02:00
Katsuhiko YOSHIDA
34af780264
Golineup only macOS
2018-12-12 19:00:13 +09:00
Omer Lachish
3c8a3caa1d
backward compatibility so users who have the old session identifier don't get logged out
2018-12-12 10:10:13 +02:00
Omer Lachish
9d566ef302
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-12 09:49:11 +02:00
Omer Lachish
e23a07af03
Remove missing coverage from pytest terminal output ( #3180 )
...
* Remove missing coverage from pytest terminal output
* move coverage reporting to CI
2018-12-12 08:30:46 +02:00
Omer Lachish
2312db46f2
test that other sessions are invalidated when changing an e-mail. I had
...
to resort to comments in code in order to explain this. I'm a failure
today. 😭
2018-12-11 15:14:43 +02:00
Arik Fraimovich
52434a837f
Make refresh_queries less noisey in logs ( #3183 )
2018-12-11 15:03:29 +02:00
Arik Fraimovich
230ad33f02
[Redshift] Fix: support for schema names with dots. ( #3182 )
2018-12-11 14:57:42 +02:00
Omer Lachish
b3495b8c00
test that user does not get logged out when changing email or password
2018-12-11 12:25:51 +02:00
Omer Lachish
dec790a9f3
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-11 10:41:27 +02:00
Gabriel Dutra
cfe12c5a5d
Add DB Seed to Cypress and setup Percy ( #3155 )
...
* Update Cypress element selectors
* Add seed data function to Cypress
* Change Cypress setup to be part of db-seed
* Add DatabaseSource selector to Create Data Source spec
* Add getElement command to Cypress
* Fix eslint issues
* Change Cypress getElement to getByTestId
* Add Percy and test it with the CI
* Change Percy dependency for CI to Cypress' Dockerfile
* Change Percy's execution to the docker container
- add --no-save to avoid errors on Dockerfile.cypress
- pass PERCY_TOKEN from the CI to docker container
* Fix missed char on CircleCI config file
* Move Percy execution back to host on the CI
* Test adding PERCY_TOKEN to frontend-e2e-tests on CI config
* Undo add PERCY_TOKEN to config.yml
* Add Percy token and .git folder to Cypress
* Remove Percy install from config.yml
* Ignore .git folder again and use Percy env vars instead
* Update PERCY_PULL_REQUEST to be CIRCLE_PR_NUMBER
* Update cypress-server.js to handle other cypress commands
- cypress-server.js -> cypress.js
- new commands added to cypress.js
- CircleCI config updated accordingly
- added a Homepage screenshot
* Remove trailing spaces
* Add Create Query spec
* Disable Cypress videos
* Update run browser to Chrome
* Add missing --browser chrome
2018-12-10 22:29:36 +02:00
Omer Lachish
944bee6101
update identity only after succesfully updating user information
2018-12-10 14:25:04 +02:00
Omer Lachish
38ed046c9f
Fix disable error message ( #3175 )
...
* display correct error message when attempting to disable yourself
* 403 (Forbidden) feels like a better status code than 400 (Bad Request)
* fix broken test
* remove redundant error title
2018-12-10 14:02:50 +02:00
Takuya Arita
1acf063755
FIX: Reject empty query name ( #3171 )
2018-12-10 12:35:25 +02:00
Omer Lachish
c426c826f7
fix tests that rely on sessions
2018-12-10 12:27:39 +02:00
Omer Lachish
4b1275ae56
don't sign out the current session when changing email or password
2018-12-09 11:07:42 +02:00
Katsuhiko YOSHIDA
b3c3134a86
Make it possible to move up one line by Ctrl+P
2018-12-09 15:26:01 +09:00
Omer Lachish
c311c12bcf
invalidate session when email or password changes - currently not
...
backwards compatible
2018-12-05 23:49:55 +02:00
Omer Lachish
76321937d7
Remove API permissions for users who have been disabled ( #3162 )
2018-12-05 12:21:18 +02:00
Arik Fraimovich
c9ca2b99f6
Fix: Alert.evaluate failing when the column is missing. ( #3167 )
2018-12-05 11:28:05 +02:00
Arik Fraimovich
d42f0b2d40
Directly using record_event task requires timestamp ( #3166 )
...
Using the helper instead.
2018-12-05 10:11:08 +02:00
Vladislav Denisov
e530c23d4c
clickhouse: fixed int() conversion error ( #3161 )
2018-12-05 09:29:47 +02:00
Omer Lachish
0973ee8abb
Include correct version in production builds ( #3163 )
...
* take the first 8 characters for frontend version, not backend version
* run `npm run build` after version has been updated in CI
* `pack` should run last
2018-12-04 22:14:32 +02:00
Arik Fraimovich
3ee7537a6c
WIP: Update CHANGELOG ( #3159 )
2018-12-03 22:07:20 +02:00
Omer Lachish
d769afab6f
Merge branch 'master' into backend-parameter-templating
2018-12-03 13:22:44 +02:00
Omer Lachish
cf86509a0b
remove leftovers of SQLQuery from utils
2018-12-03 13:17:40 +02:00
Omer Lachish
54894c3a26
track sql injections using an event to detect false positives
2018-12-03 13:12:34 +02:00
Arik Fraimovich
9c12b04578
json_dumps: add support for serializing buffer objects. ( #3156 )
2018-12-03 10:57:36 +02:00
Omer Lachish
1519849219
use SQLQuery's text property instead of method
2018-12-03 10:03:45 +02:00
Omer Lachish
202b93d8be
use SQLQuery in run_query
2018-12-03 09:53:17 +02:00
Omer Lachish
0a62bee3a1
Merge branch 'master' into backend-parameter-templating
2018-12-03 09:44:52 +02:00
Omer Lachish
9579f12a83
Protect against SQL injections by using tree comparisons ( #3109 )
...
* add SQLQuery class with tests for safe queries and non-safe tautology attacks
* add test for union query injections
* split .apply calls to newline
* add tests for comment attacks
* remove double underscore
* extract complex children check to variable
* inherit from object because I'm not a lamer
Co-Authored-By: rauchy <omer@rauchy.net >
* simplify cognitive complexity
* check that additional columns are not injected
* detect appended queries
* inline .apply calls
* move SQLQuery to it's own module
* move SQLQuery tests to their own module
* serialize SQLQuery instances
* raise an exception when attempting to serialize an unsafe query
* queries without parameters are safe
* remove redundant parentheses
* use cached properties
* rename SQLInjectionException to SQLInjectionError
* support multiple word params and param negations
* refactor out methods that don't involve any state
* don't cache text()
* reduce cognitive complexity
2018-12-02 21:51:06 +02:00
Zsolt Kocsmárszky
463d4ce518
Fix label positioning on no found screen ( #3148 )
...
* Fix label positioning on no found screen
* Use TagsControl component on not found screen
2018-12-02 10:42:30 +02:00
Zsolt Kocsmárszky
2e4d196452
Add and improve recent db logos that didn't fit in size properly ( #3147 )
...
* Add and improve recent db logos that didn't fit in size properly
* Update mongodb logo
* Remove Athena Direct as requested
2018-12-02 10:27:01 +02:00
Zsolt Kocsmárszky
4078af2996
Update, replace and fix new alert destination logos so it fits better ( #3146 )
2018-11-29 21:04:35 +02:00
Zsolt Kocsmárszky
73825ea266
Improve tag link colors and fix group tags on Users page ( #3149 )
2018-11-29 21:02:54 +02:00
Zsolt Kocsmárszky
b2a0d61844
Better manage permissions modal ( #3139 )
...
* Improved design for manage permissions
* Show Owner on Permission modal, remove owner from dropdown options
* Pass owner to Permissions modal
2018-11-29 15:40:44 +02:00
Omer Lachish
1774edabc0
take the first 8 characters for frontend version, not backend version ( #3145 )
2018-11-29 15:20:30 +02:00
Omer Lachish
54b8e7c136
Merge pull request #3144 from getredash/display-frontend-version
...
Display only the first 8 characters of frontend version
2018-11-29 15:17:14 +02:00
Omer Lachish
54f09f73db
take the first 8 characters for frontend version
2018-11-29 15:03:37 +02:00
Omer Lachish
35aca1d4cf
Merge branch 'master' into display-frontend-version
2018-11-29 15:03:11 +02:00
Levko Kravets
757333c2d6
When editing a dashboard title results in the visualizations being replaced by the loading markers ( #3142 )
...
* getredash/redash#3015 When editing a dashboard title results in the visualizations being replaced by the loading markers
* CR1
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
2018-11-29 14:48:21 +02:00
Omer Lachish
92728de04c
Display frontend version ( #3105 )
...
* add git-revision-webpack-plugin
* configure git-revision-webpack-plugin
* add commit to footer
* rename version and commit to backendVersion and frontendVersion
* rename version and commit to backendVersion and frontendVersion
* disable lint error due to use of globals
* fix snapshot test
* read frontend version from VERSION file instead latest git revision
* directly require from version.json file instead of going through WebPack's DefinePlugin
* run snapshots
2018-11-29 14:24:23 +02:00
Omer Lachish
407f14ffca
run snapshots
2018-11-29 13:07:04 +02:00
Arik Fraimovich
ecb8a5c244
Hive/Databricks related improvements ( #3143 )
...
* Hive: fix issues in building options.
* Hive: add missing import.
* Split Hive into two query runners: one for http and a regular one.
* Upgrade pyhive to support http.
* Specific implementation for databricks:
* Different schema loader, because column names are different (or Hive's schema loader is broken).
* Simpler configuration.
* Simplify Databricks setup even more by removing username.
2018-11-29 13:01:23 +02:00
Omer Lachish
0e8fab4872
directly require from version.json file instead of going through WebPack's DefinePlugin
2018-11-29 13:00:13 +02:00
Omer Lachish
c15fa0c592
read frontend version from VERSION file instead latest git revision
2018-11-29 11:57:53 +02:00
Levko Kravets
09ab00e360
Migrate all tags components to React ( #3138 )
2018-11-29 11:35:17 +02:00
Truong Hoang Phuoc, Robert
1728f924cf
Fix schema refresh to work on MySQL 8 ( #3141 )
2018-11-29 09:19:36 +02:00
Omer Lachish
8dc10fbd9a
Merge branch 'master' into display-frontend-version
2018-11-29 09:13:41 +02:00
Jannis Leidel
a16170e701
Fix tag counts for dashboards and queries. ( #3120 )
...
* Fix tag counts for dashboards to be distinct.
This also makes use of the Dashboard.all base query.
Fix #3108 .
* Use Query.all_queries as the base query for Query.all_tags.
* Add test case for Dashboard.all_tags.
2018-11-28 14:06:15 +02:00
Arik Fraimovich
07c0bba568
Delete now.json ( #3134 )
2018-11-28 10:36:33 +02:00
Arik Fraimovich
d36d18f85b
Support unicode in Postgres/Redshift schema ( #3124 )
2018-11-27 09:06:44 +02:00
Arik Fraimovich
bd20ce12ac
Don't allow updating user's email to blacklisted domain. ( #3127 )
2018-11-26 21:22:14 +02:00
Arik Fraimovich
1cdfcfaa3c
Vertica: update driver & add support for connection timeout ( #3125 )
...
* Update Vertica driver version
* Vertica: add support for connection timeout
2018-11-26 21:21:49 +02:00
Arik Fraimovich
2fdace518a
Use lower timeout for the first 5 seconds when polling for results. ( #3128 )
2018-11-26 21:21:07 +02:00
Igor Canadi
3516e4ef45
Add Rockset query runner ( #3068 )
...
* Add Rockset query runner
Per REST API documented here: https://docs.rockset.com/rest/
* Update rockset.py
* Add Rockset logo
* Refactor Rockset qury runner:
* More idomatic names for configuration.
* Move API code to separate class to make it easier removing it when we
switch to official library.
* Make Test Connection work.
* apply autopep8 to rockset.py
2018-11-26 21:20:37 +02:00
Arik Fraimovich
d842968142
MongoDB: add support for sorting columns. ( #3126 )
2018-11-26 16:08:04 +02:00
Arik Fraimovich
600741620a
Remove (Beta) from Query Results query runner name ( #3123 )
2018-11-26 15:31:39 +02:00
YOSHIDA Katsuhiko
45f4277eb4
Fix forked query is opened in the same tab ( #3121 )
2018-11-26 14:23:55 +02:00
Jannis Leidel
bcf3041c91
Show menu divider only if query is archived. ( #3122 )
...
Fix #3117 .
2018-11-26 14:02:52 +02:00
Zsolt Kocsmárszky
da423340ec
Fix mobile padding issues on Query results ( #3111 )
2018-11-26 13:41:07 +02:00
Arik Fraimovich
4003d4f1aa
Add event tracking to autocomplete toggle & trackEvent helper function ( #3114 )
...
* Add non Angular version of Events.
* Add event tracking for autocomplete toggle
* Fix lint error in QueryEditor
2018-11-26 09:58:39 +02:00
YOSHIDA Katsuhiko
a6b782e0ce
Add get_current_user() into Python Data Source ( #3088 )
2018-11-25 14:11:27 +02:00
YOSHIDA Katsuhiko
5648de9ba8
Open new tab when forking a query ( #3089 )
...
* Open new tab when forking a query
* Delete old fork menu item and add icon
2018-11-25 14:09:52 +02:00
Jannis Leidel
13eb365f7b
Update changelog for v6.0.0-beta. ( #3112 )
...
* Add v6.0.0-beta changelog entry.
* Update CHANGELOG.md
2018-11-25 14:08:25 +02:00
Udomomo
8257d9d037
Add permissions to the result of "manage.py groups list" command ( #3007 )
...
* Add permissions to the result of "groups list" command
* added permissions to test case
* removed setting for debug
2018-11-25 13:47:25 +02:00
Allen Short
babbeb79f0
keep query text in local state for now ( #3107 ) ( #3110 )
...
* keep query text in local state for now (#3107 )
This will be unnecessary once the queryText prop isn't managed by Angular.
* Fix: make formatQuery work
2018-11-23 15:28:30 +02:00
Omer Lachish
8028397f27
Merge branch 'master' into display-frontend-version
2018-11-22 12:52:43 +02:00
Subhi Al Hasan
e05c8e6060
Fix collection fields retreival bug when Views are present in MONGO DB ( #3097 )
...
* Fix collection fields retreival bug when Views are present in MongoDB
* fixing _is_collection_a_view function
* Update redash/query_runner/mongodb.py
Co-Authored-By: jodevsa <jodevsa@gmail.com >
2018-11-21 17:13:12 +02:00
Omer Lachish
ef8839aafa
add tests for comment attacks
2018-11-21 13:52:08 +02:00
Omer Lachish
14860f6a8b
split .apply calls to newline
2018-11-21 13:51:19 +02:00
Omer Lachish
a52c783857
add test for union query injections
2018-11-21 13:45:52 +02:00
Omer Lachish
5e7c785891
add SQLQuery class with tests for safe queries and non-safe tautology attacks
2018-11-21 13:45:29 +02:00
Omer Lachish
b242cefaa0
Merge branch 'master' into backend-parameter-templating
2018-11-21 10:51:44 +02:00
Omer Lachish
fae2b70866
Merge branch 'display-frontend-version' of github.com:getredash/redash into display-frontend-version
2018-11-21 10:49:29 +02:00
Omer Lachish
1119fce44c
Merge branch 'master' into display-frontend-version
2018-11-21 10:48:03 +02:00
Omer Lachish
bfb7edc0eb
fix snapshot test
2018-11-21 10:47:54 +02:00
Omer Lachish
a39a739473
disable lint error due to use of globals
2018-11-21 10:44:34 +02:00
Omer Lachish
c9dfac5b1d
rename version and commit to backendVersion and frontendVersion
2018-11-21 10:44:18 +02:00
Omer Lachish
1b66fff3be
rename version and commit to backendVersion and frontendVersion
2018-11-20 23:34:39 +02:00
Arik Fraimovich
0fe1b5f9d4
Fix: registerAll fails after minification ( #3106 )
2018-11-20 23:34:37 +02:00
Levko Kravets
143db90a50
Fix query page header ( #3046 )
...
* getredash/redash#3017 Improve query page header
* getredash/redash#3017 Resolve conflicts
* getredash/redash#3017 CR1 (fix margins/paddings)
2018-11-20 18:48:41 +02:00
Arik Fraimovich
bac90db3ee
Autocomplete toggle improvements ( #3091 )
...
* Autocomplete toggle improvements:
* Refactor to its own component.
* Show state in tooltip (enabled/disabled).
* Disable the toggle if autocomplete is not possible (no schema/too many tokens).
* Remove unsued code.
* Custom icons font (currently has only two icons).
Generated with Icomoon. If we extend its use, we should probably automate this and move to its own package.
* Don't disable live autocomplete for data sources without schema.
It can still be useful to autocomplete from local keywords.
* Differentiate between autocomplete toggle states with an icon.
Also added explicit message for the disabled state.
* Remember thes state of autocomplete.
* Only auto register init functions.
2018-11-20 18:45:33 +02:00
Omer Lachish
649d46de89
add commit to footer
2018-11-20 15:25:07 +02:00
Omer Lachish
0163e85eda
configure git-revision-webpack-plugin
2018-11-20 15:24:55 +02:00
Omer Lachish
f25beb3fb7
add git-revision-webpack-plugin
2018-11-20 15:24:41 +02:00
Omer Lachish
c66f63d7a5
Prevent Query's updated_at from changing when it is linked to new query results ( #3082 )
...
* avoid Query's updated_at from changing when it is linked to new query results
* move comment to previous line
* move QueryResult tests to their own module
* add test which verifies that updated_at is not changed on query data
updates
* tests were false positives - they compared HH:MM:SS, but that never
changed because the original time was 1 week behind.
* remove redundant constructor
* remove hack and use a proper event to prevent updated_at from changing
* use self.assertEqual instead of assert
2018-11-20 12:22:15 +02:00
Levko Kravets
16ae0aa3d8
getredash/redash#2901 Fix docs links ( #3102 )
2018-11-20 11:06:09 +02:00
Arik Fraimovich
68ada7b590
UI for the feature flag of the share edit permissions feature ( #3077 )
...
* Remove unused settings.
* Add: UI feature flag for sharing permissions
* Revise feature flag message
2018-11-20 10:04:42 +02:00
San
9e745ef648
Delete redundant regex segment ( #3100 )
2018-11-20 09:48:24 +02:00
Allen Short
ee0d7f5ec9
force angular to update query editor properly (re #3098 ) ( #3099 )
2018-11-20 08:06:32 +02:00
Omer Lachish
1b3bbb6c3b
swap parameters so their order makes more sense
2018-11-19 22:56:51 +02:00
Omer Lachish
7bee07c9da
include parameters (and query_id) in the recorded event
2018-11-19 22:54:22 +02:00
Omer Lachish
74ab7a5a42
Merge branch 'master' into backend-parameter-templating
2018-11-19 21:59:14 +02:00
Levko Kravets
e36853ca84
Tags autocomplete: some tags not shown on search ( #3094 )
...
* getredash/redash#3052 Tags autocomplete: some tags not shown on search
* getredash/redash#3052 CR1
2018-11-19 12:33:05 +02:00
Omer Lachish
bc65b62776
remove Mustache templating from frontend and send all parameters to the
...
API (in the POST body)
2018-11-19 10:50:00 +02:00
YOSHIDA Katsuhiko
d43b35ba6f
Change Standard SQL as the default ( #3085 )
2018-11-18 11:21:00 +02:00
Topher Cyll
6e4f0ccee8
Bubble chart marker size override was clobbering seriesColor. ( #3063 )
...
Colors can now be set for bubble charts in UI.
2018-11-18 11:05:18 +02:00
Vladislav Denisov
0ce7772aa3
clickhouse: added WITH TOTALS option support ( #3083 )
2018-11-15 22:11:43 +02:00
San
f6ef38479c
support tel, sms, mailto links in the query result ( #3084 )
2018-11-15 22:08:02 +02:00
Arik Fraimovich
bf85ddaaff
Always use basic autocomplete. ( #3079 )
2018-11-15 08:58:30 +02:00
Arik Fraimovich
8bb96c8c91
Fix: URL data source shouldn't require URL. ( #3078 )
...
Closes #2919 .
2018-11-14 15:43:34 +02:00
Filipe Veloso
42b05cee00
Update docker-compose.yml ( #2905 )
...
* Update docker-compose.yml
jut updating docker-compose dev to version 3, any special reason to keep redis on 3? and pg on 9.5? I could also add a volume to pg, any reason not to do so?
* rollback to redis 3 and pg 9.5 due to consistency in project defaults
* Configure volume directly in worker service.
2018-11-14 14:27:19 +02:00
Anton Burnashev
d0fd02123a
Add white-space padding to separators in the footer ( #3076 ) ( #3076 )
...
Closes #3075
2018-11-14 10:44:38 +02:00
Takuya Arita
e34203dac3
Remove only Redash containers ( #3073 )
2018-11-13 16:45:40 +02:00
koooge
c2bd8518a6
Makefile: Add make targets for test ( #3032 )
2018-11-12 09:06:25 +01:00
Levko Kravets
46363ccc70
Table visualization horizontal scrollbar should not be always visible ( #3061 )
2018-11-12 07:50:44 +01:00
Levko Kravets
5e1512e777
Mustache: don't html-escape query parameters values ( #3058 )
2018-11-08 21:54:08 +01:00
Arik Fraimovich
188c045fdb
Add Kylin logo ( #3054 )
2018-11-08 11:20:05 +01:00
Omer Lachish
57d921dc2b
Druid query runner ( #3047 )
...
* add Druid query runner skeleton
* enable Druid only if package is available
* add Druid
* remove redundant override
* correct configuration schema
* implements run_query
* implement get_schema
* remove username and password
* fix small lint issues
* proper indentation
* add correct type mapping
2018-11-08 10:48:45 +01:00
Xin Bai
df0804c8fd
Add Kylin plugin for SQL query ( #2936 )
2018-11-08 10:24:05 +01:00
Alexander Leibzon
c289dde806
Google analytics fix fixes #2965 ( #3008 )
...
* add PagerDuty as an Alert Destination
* remove comments
* add unknown state handling
* fixes
* revert setup.sh
* Remove test method.
* resolves #2965
* more elegant, as per Arik's suggestion
* Add missing whitespace.
2018-11-08 10:18:33 +01:00
Levko Kravets
b7cadca3b7
Edit-in-place component ignored isEditable flag and didn't work on Groups page ( #3049 )
2018-11-08 10:17:18 +01:00
Sami Jaktholm
43f8200707
feat(redshift): hide tables the configured user cannot access ( #2866 )
...
The SVV_COLUMNS table used to determine the tables of a
Redshift database includes all tables, even those the
current user cannot access, by default. These tables clutter
the schema browser and make it harder for users to determine
which tables they should have access to.
These changes modify the Redshift query runner so that
tables the configured user cannot access are filtered
out from the database schema. The checks are two-fold:
* First, the query uses HAS_SCHEMA_PRIVILEGE to check if the
current user has USAGE rights on a schema the given table
belongs to. This privilege is required to access any of
the tables in a schema.
* Second, the query tries to determine if the current user
has SELECT access to the given table. Two cases need to
be considered here:
* First, we need to check if the table is part of an
external schema. Access to tables in external schema
is controlled at schema level - you cannot grant or
revoke access to specific external tables. Additionally,
the HAS_TABLE_PRIVILEGE returns an error if it is asked
to give a verdict for an external table.
Hence, the query checks if the schema a specific table
belongs to is an external schema and if it is, the table
is included in the list (if we got here the user already
had USAGE on the given schema). This check short-circuits
the table-level access check for external tables which
means they are never passed to HAS_TABLE_PRIVILEGE().
* Then, if the table was not part of an external schema,
the HAS_TABLE_PRIVILEGE() function is used to determine
if the user has SELECT access to the given table. The
table is included in the schema if this check passes.
Together this condition ensures that tables the user definitely
cannot access are not included in the schema browser.
These changes have been tested to work in an environment that
includes normal and external schemas, normal and late-binding
views, and normal and external tables.
2018-11-08 09:53:04 +01:00
Arik Fraimovich
a1b580bba6
Fix Docker Compose version number in Cypress config ( #3051 )
...
* Update Docker compose version
* Experiment with Docker-Composeless CI build
* Switch back to Docker compose based tests
2018-11-07 17:21:31 +01:00
Zsolt Kocsmárszky
19d0313ea2
Fixing tag issues ( #3006 )
...
* Add title="" for tags
* Fix lines
* Fix long tag and overlaying tag issues on queries
2018-11-07 16:58:15 +01:00
Arik Fraimovich
667fe43e23
Revert "address tag display on query list page" ( #3050 )
...
* Revert "remove pytest_watch (#3048 )"
This reverts commit 096eba3876 .
* Revert "address tag display on query list page (#2803 )"
This reverts commit 99115a12e6 .
2018-11-07 16:57:37 +01:00
Omer Lachish
096eba3876
remove pytest_watch ( #3048 )
2018-11-07 16:49:41 +01:00
Alison
99115a12e6
address tag display on query list page ( #2803 )
...
* address tag display on query list page
* character limit tags in css
* updates to tags on levko's feedback
2018-11-07 16:12:31 +01:00
Gabriel Dutra
7d601cbbc9
Cypress based E2E tests ( #3019 )
2018-11-07 14:37:08 +01:00
GitSumito
bf6a09c5aa
CLI sort ( #3041 )
2018-11-06 16:45:39 +01:00
Yossi-a
99967e720f
Sort columns with undefined values ( #2745 )
...
* sort should treat undefine value as the minimal value
* explicit undefined check
2018-11-05 04:47:42 +02:00
Arik Fraimovich
27f489de20
Build docker image on master branch. ( #3039 )
2018-11-04 12:12:13 +02:00
yoavbls
46941d3aa1
Update Flask-Admin to 1.5.2 ( #3036 )
...
I don't know if someone uses flask-admin but I upgraded it because of this bug:
https://github.com/flask-admin/flask-admin/issues/1588
In 1.4.2 you cant add and edit records/
2018-11-01 15:58:50 +02:00
Levko Kravets
60c230add7
getredash/redash#3034 Postgres query runner: handle NaN/Infinity values ( #3035 )
2018-11-01 15:57:39 +02:00
Takuya Arita
0784a0c6f5
Add some tests for Query Results ( #3031 )
2018-10-31 11:05:17 +02:00
Zsolt Kocsmárszky
9288d89248
Fix query result section ( #2980 )
2018-10-29 22:09:49 +02:00
Levko Kravets
391fbe130b
getredash/redash#2998 Charts lose responsive features after refreshing the dashboard ( #3024 )
2018-10-29 22:08:35 +02:00
Levko Kravets
e25c8c4145
getredash/redash#3022 Toolbox covers part of the chart ( #3023 )
2018-10-29 11:38:29 +02:00
Arik Fraimovich
57353d1b40
Add -beta to version
2018-10-28 15:58:20 +02:00
Arik Fraimovich
7f4e08154f
Bump version
2018-10-28 15:56:32 +02:00
Arik Fraimovich
500c82815b
Add netlify config ( #2999 )
2018-10-28 15:31:27 +02:00
Arik Fraimovich
4a846f04e9
Add settings to import
2018-10-28 11:11:11 +02:00
Takuya Arita
b1e9d87e2a
Apply query format options from settings ( #2342 )
...
* Apply query format options from settings
* Apply sqlparse format options via env-vars
2018-10-28 10:40:07 +02:00
Arik Fraimovich
ab6ed7da34
Fix: setup.sh fails when run as root. ( #2996 )
...
Closes #2979
2018-10-23 09:49:24 +03:00
GitSumito
2e6883c527
Add "Users" users are belong to into groups list ( #2991 )
2018-10-21 11:40:07 +03:00
YOSHIDA Katsuhiko
4c44999b2c
Fix an invalid prop type warning ( #2992 )
2018-10-21 11:39:37 +03:00
deecay
34c118cf83
Add: Heatmap chart visualization by Plotly ( #2080 )
2018-10-21 11:39:06 +03:00
Arik Fraimovich
38a89b9783
Table visualization: change default size to 25 and add more size options. ( #2982 )
2018-10-21 11:38:47 +03:00
YOSHIDA Katsuhiko
6e836795b2
Fix url scheme ( #2994 )
2018-10-21 11:38:11 +03:00
YOSHIDA Katsuhiko
719fc41dd1
Add page size settings ( #2993 )
...
Add page size settings.
| name | default | description |
| :---- | :------ | :---------- |
| `REDASH_PAGE_SIZE` | 20 | How many items are displayed in one page as default. |
| `REDASH_PAGE_SIZE_OPTIONS` | 5,10,20,50,100 | How many steps as page_size. |
This feature has requested at the meetup in Japan.
https://redash-meetup.connpass.com/event/101420/
2018-10-20 14:33:31 +02:00
Arik Fraimovich
467ec201da
Add Jest based tests to our stack ( #2985 )
...
* Add Jest packages
* Add first test
* Install eslint rules for jest & move deps to dev
* Configure cirlce to run jest
* package.json: Remove dev command
* package.json: clean command
* Don't autoload test files.
* Fix: webpack-dev-server was recompiling all the files on every change
* Update CircleCI step names
2018-10-19 19:04:02 +03:00
koooge
5ab143de41
Rearrange make target ( #2989 )
2018-10-19 11:25:24 +02:00
Arik Fraimovich
284e497483
Databricks updates: logo, name and enable by default ( #2983 )
...
* Add Databricsk logo.
* Enable it by default.
* Rename to Databricks.
2018-10-19 10:00:33 +02:00
dmonego
c5613dddf1
Chnage: switch to Webpack 4 ( #2933 )
2018-10-18 21:21:47 +03:00
Arik Fraimovich
34fb3ac79f
Change: add timeout to destination requests. ( #2960 )
2018-10-18 17:33:58 +03:00
Arik Fraimovich
5f58c328f1
MongoDB: skip system collections when loading schema. ( #2961 )
2018-10-18 17:33:24 +03:00
Arik Fraimovich
7d1dbb87db
Change: update MongoDB requirements to support srv. ( #2962 )
2018-10-18 17:32:43 +03:00
GitSumito
45f4d46245
Add "Groups" users are belong to into users list ( #2967 )
2018-10-18 17:32:21 +03:00
Arik Fraimovich
44d05c35ac
Presto query runner improvements ( #2968 )
...
* Presto: support for setting protocol (http/https).
* Presto: safe loading error message.
2018-10-18 17:31:48 +03:00
Arik Fraimovich
edd2cb85f7
Update CHANGELOG.md
2018-10-18 14:59:00 +03:00
Hiroka Zaitsu
6c364369bb
Fix: TreasureData data source - deduplicate column names ( #2867 )
...
* Fix: TreasureData data source - deduplicate column names
* Maping types
2018-10-18 09:43:28 +03:00
YOSHIDA Katsuhiko
869841b2ac
Preventing open redirection ( #2906 )
...
* Prevent open redirection attack
* Add redirection url after logging in test
* Sanitize url just before redirecting it
* Consider when next parameter is None
2018-10-17 21:55:58 +03:00
Arik Fraimovich
c71f722552
Query Results query runner improvements: ( #2969 )
...
- Show meaningful error when failing to create table.
- Quote column names to allow more characters types.
2018-10-16 15:23:00 +03:00
Jannis Leidel
af3a1e00c6
Fix #2757 - Use full text search ranking when searching in list views. ( #2798 )
...
This applies to the queries, dashboard and users views.
2018-10-16 10:38:37 +02:00
Gabriel Dutra
5b2ec81e65
Fix no tags shown when having empty set ( #2964 )
2018-10-15 23:08:18 +03:00
Vladislav Denisov
0008e5803b
clickhouse: move timeout to params ( #2956 )
...
* clickhouse: timeout moved to params
* clickhouse: use get() method for timeout
2018-10-15 20:06:16 +03:00
Arik Fraimovich
e1c1f67abb
Add: option to auto reload widget data in shared dashboards. ( #2959 )
2018-10-15 20:05:40 +03:00
Marina Samuel
30283235a4
Fix tarball build failure. ( #2963 )
2018-10-15 20:05:07 +03:00
Levko Kravets
845e33b396
Query page layout improvements for small screens ( #2922 )
...
* getredash/redash#2796 Make entire page scrollable on small screens; improve metadata block
* getredash/redash#2796 Improve query page header layout; fix small bugs (margins, etc.)
2018-10-15 19:59:05 +03:00
Arik Fraimovich
17baa66188
Show "Add description" only after saving the query. ( #2958 )
...
Closes #2897
2018-10-15 17:45:22 +03:00
Arik Fraimovich
5df7bd12c9
Fix: apply missing CSS classes to EditInPlace component. ( #2957 )
2018-10-15 17:38:22 +03:00
Nicolas Ferrandini
e14c8b61a0
Add DB2 as a data source using ibm-db python package ( #2848 )
...
* Add DB2 as a data source using ibm-db python package
* fix some codeclimate issue
* fix long line and missing white space
* Manage case of bad import
* Add DB2 query_runner as default query runner
* Fixed minor PEP8 rules
2018-10-15 17:13:39 +03:00
Arik Fraimovich
a8a3ec66fd
Bring back fix to Box plot hover. ( #2941 )
2018-10-15 16:01:38 +03:00
GitSumito
a4b9c2da12
fixed https://github.com/getredash/redash/issues/2950 ( #2951 )
...
* fixed https://github.com/getredash/redash/issues/2950
* fixed test code
* Effective -> Active. thank you @kravets-levko
2018-10-15 15:57:51 +03:00
Vladislav Denisov
e6146dae0f
Clickhouse fixes ( #2953 )
...
* clickhouse: avoid last line with comment in query
* clickhouse: add request timeout
2018-10-15 15:03:02 +03:00
Levko Kravets
bd3fe880a4
Add missing default "extensions" directory (webpack fails to build without it) ( #2952 )
2018-10-15 13:51:13 +02:00
Marina Samuel
02e919c39b
Closes #2565 : Add frontend extension capability. ( #2799 )
2018-10-14 15:53:39 +03:00
Arik Fraimovich
99c73aef2d
Update snowflake_connector_python version ( #2946 )
2018-10-14 14:39:52 +03:00
Ralphilius
be377b5f59
Add Counter label ( #2900 )
...
* Add Counter label
* Update index.js
* Added visualization name as placeholder
* Backward-compatible for visualization name as label
2018-10-14 11:23:20 +03:00
Zsolt Kocsmárszky
6b11ae4312
Design refinements ( #2927 )
...
* Fix search size on smaller tablet size
* Less prominent tag counter
* Fix hiding logo
* Add missing space between icon and button text
* Different embed icon
* Revert embed icon to its original
* Better edit source icon + markup cleanup
2018-10-14 11:00:27 +03:00
YOSHIDA Katsuhiko
9021977a54
Fix admin api recording ( #2937 )
2018-10-14 10:49:11 +03:00
Sami Jaktholm
9c8d06578a
feat: add support for expanding dashboard visualizations ( #2824 )
...
* feat: add support for expanding dashboard visualizations
These changes implement support for expanding a dashboard visualization
into a larger modal dialog.
This is useful if you have a dashboard with lots of small widgets and
want to inspect one of the widgets more closely. In the past, this
would've required you to navigate to the query page to see a larger
version of the visualization. With these changes, visualizations can
be expanded right from the dashboard.
The implementation is simple as it just renders the visualization into
a modal dialog. Other parts of the widget (e.g. parameters) are not
included in this dialog.
* chore(widget-dialog): use query-link widget to render title
This reduces code duplication a bit. The link is made read-only
as navigation doesn't close the modal dialog.
* fix: make ui-select dropdown z-index > modal dialog z-index in dashboard page
Otherwise the dropdown renders behind the modal dialog if filter value
is changed from the modal view of a widget.
2018-10-14 10:42:31 +03:00
YOSHIDA Katsuhiko
114beb2480
Auto focus tag input ( #2938 )
2018-10-14 10:39:08 +03:00
Alexander Leibzon
e97a5cbb29
add PagerDuty as an Alert Destination ( #2903 )
2018-10-14 10:35:39 +03:00
Alexander Leibzon
e87efc8bc3
fixes #2924 ( #2931 )
...
Google Spreadsheets: support for open by url
2018-10-11 21:07:20 +03:00
Arik Fraimovich
be7f601d21
Speed up builds by skipping installing requirements_all_ds.txt in CI unit tests ( #2928 )
...
* Speed up builds by skipping requirements_all_ds.txt
* Update docker compose file version
* Start services before running commands
* Add boto and Athena dependencies to requirements_dev.txt
2018-10-11 14:12:28 +03:00
Levko Kravets
9b59d10677
Use Plotly's function to clean y-values (x may be category or date/time) ( #2872 )
2018-10-11 12:27:28 +03:00
Levko Kravets
a40669e07f
getredash/redash#2875 Update plotly.js; some cleanup; fix chart legend issue in horizontal mode ( #2902 )
2018-10-11 11:23:40 +03:00
Levko Kravets
0bcf5d4be7
Merge pull request #2929 from combineads/fix-date-filter
...
Fix: date value in a filter is duplicated.
2018-10-11 09:08:31 +03:00
combineads
8bc96764a6
Fix: date value in a filter is duplicated.
2018-10-11 14:56:57 +09:00
Niko Eckerskorn
6ea03e58b4
Address edgecase when retrieving Glue schemas for Athena query runner. ( #2868 )
...
Fixes getredash/redash#2858
2018-10-10 19:13:48 +03:00
Gabriel Dutra
94801665ab
Fix output file name not changing after rename query ( #2917 )
2018-10-10 15:07:11 +03:00
Gabriel Dutra
aa12151e19
Fix export query results output file name ( #2916 )
...
- regexp `/ /g` will seek for all space ocurrences, not only the first
2018-10-10 14:56:31 +03:00
Jannis Leidel
c2429e92d2
Consistently use simplejson to loading and dumping JSON. ( #2817 )
...
* Consistently use simplejson to loading and dumping JSON.
This introduces the new functions redash.utils.json_dumps and redash.utils.json_loads and simplifies the custom encoder setup.
UUIDs are now handled by the default encoder, too.
Fixes #2807 .
Use string comparison in parse_boolean instead of the (simple)json module.
2018-10-09 15:38:06 +02:00
Jannis Leidel
5ffc85c066
Extend menu item text a bit for visual consistency.
2018-10-08 20:08:07 +02:00
Jannis Leidel
fad757c878
Don’t show “Add to dashboard” in dropdown to unsaved queries.
2018-10-08 20:08:07 +02:00
Jannis Leidel
3351a281ee
Fix webpack build error about BigMessage. ( #2910 )
2018-10-08 12:03:54 +02:00
Arik Fraimovich
1f0053f531
MySQL: hide sys tables ( #2909 )
2018-10-08 10:05:16 +03:00
Arik Fraimovich
935dc38360
Update setup files: ( #2908 )
...
* Remove use of newgrp
* Updated packer configuration
2018-10-08 09:41:15 +03:00
Arik Fraimovich
bfef7fae93
Remove unused dependencies. ( #2907 )
...
Closes #2782
2018-10-08 09:39:57 +03:00
cclauss
da6d456f6f
CircleCI: Flake8 tests passing on Legacy Python and Python 3 ( #2881 )
2018-10-05 13:48:01 +03:00
Arik Fraimovich
c19199c2fb
Add margin between format and autocomplete buttons ( #2899 )
2018-10-04 12:34:03 +03:00
Arik Fraimovich
1e78861f85
Move Ant styles into a central location. ( #2898 )
...
This is to ensure that we include our override after loading Ant's styles.
2018-10-04 12:27:36 +03:00
Arik Fraimovich
10bc5a0bf6
Remove misplaced bracket. ( #2894 )
2018-10-04 12:01:38 +03:00
Marina Samuel
313af904df
Add ability for extensions to add periodic tasks. ( #2740 )
2018-10-04 09:07:58 +03:00
Allen Short
8c478087a9
Rewrite query editor to React ( #2636 )
2018-10-03 22:25:19 +03:00
Arik Fraimovich
ccac41c6d4
Fix: JS build breaks because registerAll tries to run EditInPlace component ( #2886 )
2018-10-02 16:22:47 +03:00
Jannis Leidel
69635f2c40
Rename Yandex Metrika to Metrica. ( #2884 )
...
Fix #2874 .
2018-10-02 16:11:01 +03:00
yoavbls
1867ea50bb
Add option to query cached results ( #2855 )
2018-10-02 16:05:41 +03:00
Jannis Leidel
c64d5ef6c0
Fix #2876 - Remove accidental query-result-link component from 'Add to dashboard link.' ( #2883 )
2018-10-01 22:29:20 +03:00
Alison
e3a63899d3
Add ability to search table column names in schema browser ( #2681 )
2018-10-01 11:11:32 +02:00
Jannis Leidel
4685887fe5
Fix name of edit-in-place React component.
2018-09-29 10:14:48 +02:00
Arik Fraimovich
f103357e60
Fix: wrong reference (EditInPlaceText -> EditInPlace)
2018-09-28 21:51:36 +02:00
Jannis Leidel
11738f73ac
Removed redundant exception handling since execute_query task handles that.
2018-09-28 21:31:49 +02:00
Allen Short
d07c4f969b
Support authentication for the URL query runner.
...
Adds a new BaseHTTPQueryRunner class and tests.
2018-09-28 21:31:49 +02:00
Allen Short
505aafbce3
Convert edit-in-place component to React ( #2637 )
2018-09-28 22:30:10 +03:00
Marina Samuel
b765693879
Upgrade Celery to 4.2.1. ( #2773 )
2018-09-28 21:28:30 +02:00
Jannis Leidel
4620fed0cf
Use server side sort order for tag list and show count of tagged items. ( #2833 )
...
* Use tag list ordering from backend.
This basically stops resorting the tag list on the client side and use the already existing (and correct) descending sort order bu tag usage count from the backend.
* Show count of tagged items in tag list.
2018-09-28 17:24:13 +03:00
Arik Fraimovich
48ad1d2dce
Add v5.0.1 to the CHANGELOG.
2018-09-28 17:18:41 +03:00
Arik Fraimovich
f2c323a089
Disable integration tests
...
The integration tests are currently not failing and providing false positives when running them. I'm disabling this until the test suite is more stable.
@jrbenny35 @jezdez
2018-09-28 11:52:14 +03:00
Levko Kravets
ec17cc7eab
getredash/redash#2854 Widget titles wrong rendering on public dashboards ( #2870 )
2018-09-28 11:26:37 +03:00
Arik Fraimovich
6c7bbe9041
Merge branch 'master' of github.com:getredash/redash
2018-09-27 21:47:56 +03:00
Arik Fraimovich
551b0222c4
Cleanup packer configuration
2018-09-27 21:47:45 +03:00
Jannis Leidel
2b0e6e9e79
Refactor list based controllers. ( #2790 )
...
This reduces the code duplication between the dashboard, user and queries list pages and normalizes many of the APIs between them.
This also:
- allows sorting query favorites
- adds a pagination size select to the dashboard list
- fixes a bunch of UI inconsistencies between the queries and dashboards list (e.g. margins)
The new ListCtrl class is subclassed in the various specific page controllers and extended as needed. New list pages can make use of the same pattern in the future.
This also adds some missing event recordings from 34e39eda4a .
2018-09-27 17:06:26 +02:00
Levko Kravets
4727c19253
getredash/redash#2796 Improve counter text scaling ( #2840 )
2018-09-27 13:27:10 +03:00
Arik Fraimovich
2ff4d07e83
Change placement (right/bottom) of chart legend depending on chart width ( #2852 )
...
Closes getredash/redash#2796 .
2018-09-27 12:34:28 +03:00
Arik Fraimovich
1997f53f40
Fix CircleCI setup for release branches. ( #2859 )
2018-09-27 10:36:48 +03:00
Jannis Leidel
c03b5d51b7
Simplified data source resource. Refs #2856 .
2018-09-27 09:20:07 +02:00
yoavbls
197665bb6a
Fix bug in DataSourceResource load ( #2857 )
2018-09-27 09:15:36 +02:00
Levko Kravets
28fbc2ae62
getredash/redash#2796 Change placement (right/bottom) of chart legend depending on chart width
2018-09-27 10:14:58 +03:00
Alexey Korobkov
ea1c4ca85c
Add auth via JWT providers ( #2768 )
...
* authentication via JWT providers
* add support for IAP JWT auth
* remove jwt_auth Blueprint and /headers endpoint
* fix pep8: imports
2018-09-26 21:17:48 +03:00
Alison
588e0cce43
Add autocomplete toggle ( #2780 )
2018-09-26 17:32:38 +02:00
Alison
8a50351520
Add ability to add viz to dashboard from query edit page ( #2767 )
2018-09-26 17:29:38 +02:00
Alison
34e39eda4a
Port moving events serverside ( #2766 )
2018-09-26 17:17:46 +02:00
Alison
28a8525ce3
Add databricks query runner ( #2747 )
...
Fixes #2685 .
2018-09-26 17:07:03 +02:00
Arik Fraimovich
5e70f9c04a
Update README.md
2018-09-25 21:08:46 +03:00
Arik Fraimovich
a05b5ba68d
Docker based setup scripts ( #2850 )
2018-09-25 21:08:24 +03:00
Dan VerWeire
40ba66c58e
Fix invalid reference to alert.to_dict() in webhook ( #2849 )
2018-09-25 19:12:04 +03:00
Arik Fraimovich
3e4adaba9a
Update CircleCI config to use release branches
2018-09-24 11:52:38 +03:00
Arik Fraimovich
865b799dfd
Merge branch 'master' of github.com:getredash/redash
2018-09-21 17:06:46 +03:00
Arik Fraimovich
eed26c789e
Update CHANGELOG & version to V5
2018-09-21 17:06:26 +03:00
Arik Fraimovich
8c9d2af6fe
Fix: BigQuery default location is null and not US ( #2841 )
...
If no location is specified BigQuery uses US or EU. If we pass US
it breaks querying for EU users.
2018-09-21 16:49:30 +03:00
Arik Fraimovich
03cac7e515
Fix: backport security fix from v4.0.2 - don't expose Google OAuth client secret. ( #2839 )
2018-09-20 12:32:38 +03:00
Arik Fraimovich
defb3b9750
Fix: favorite button on homepage is not yellow. ( #2838 )
2018-09-20 10:39:36 +03:00
Arik Fraimovich
ec39bb0779
Fix: query embeds are broken. ( #2837 )
2018-09-20 10:36:15 +03:00
ariarijp
1661553da7
Fix typo
2018-09-18 08:56:01 +02:00
Arik Fraimovich
a4d5782ea1
Update ISSUE_TEMPLATE.md
2018-09-17 22:08:49 +03:00
Arik Fraimovich
d491eddd7d
Add security section to README.
2018-09-17 22:07:31 +03:00
Zsolt Kocsmárszky
47068a6d91
Improved mobile design ( #2800 )
...
* Improve mobile views
* Better fontsize for dashboard headers
* Add hidden-xs classes instead
* Move dashboard related styling to dashboards.less
2018-09-16 10:46:30 +03:00
Alison
d8ced1401f
add test for using saved parameters in scheduled queries ( #2802 )
2018-09-16 10:45:25 +03:00
Jannis Leidel
59a5540823
Use QuerySerializer in outdated queries list. ( #2821 )
...
This is a regression from aa756b2be6 .
2018-09-16 09:49:22 +03:00
Jannis Leidel
b1f5d60460
Minor code smell cleanup. ( #2820 )
...
* Remove unused parse_db_url function.
* Fix tests to not show command line warnings anymore.
* Minor code smell cleanup.
Removing unneeded imports fixing PEP8 issues.
2018-09-16 09:43:44 +03:00
Tim Smith
5c9852b9d9
Fix QueryResultListResource docstring
...
Change the docstring to reflect the behavior of the function
2018-09-14 22:23:06 +02:00
Levko Kravets
8c360d5c8d
Fix: sometimes widgets are getting zero height ( #2813 )
2018-09-14 16:33:24 +03:00
Levko Kravets
eb6f9d5ab8
Merge pull request #2816 from getredash/simplejson-parent-method
...
Use parent default method of simplejson encoder.
2018-09-14 12:05:45 +03:00
Jannis Leidel
4ab160a14c
Use parent default method of simplejson encoder.
2018-09-14 10:29:38 +02:00
Arik Fraimovich
93b34bcbce
UI Fixes for favorites and empty state ( #2808 )
...
* Better empty state for favorites on homepage
* Fix: show empty state when no dashboards available
* More explicit message in app header
2018-09-12 11:35:34 +03:00
Benjamin Forehand Jr
5113f4ff33
Add npm install for integration test job. ( #2795 )
...
* Add npm install.
* Fix typo.
2018-09-07 09:16:58 +02:00
Benjamin Forehand Jr
151683f9f9
Add npm build step to integration tests. ( #2794 )
2018-09-06 19:55:08 +02:00
Levko Kravets
53abc16780
Athena: Switch to simple_json to serialize NaN/Infinity values as nulls.
...
Fixes #2544 .
2018-09-04 13:03:21 +03:00
Arik Fraimovich
d529a1dfb3
Fix: queries with parameters with no value breaking the scheduler. ( #2786 )
2018-09-04 11:32:37 +03:00
Arik Fraimovich
7cb7f3a99d
Fix: MongoDB query results parser didn't support unicode keys. ( #2785 )
2018-09-04 11:30:40 +03:00
Arik Fraimovich
c27528fb7e
Fix: Google Analytics schema wasn't loading ( #2784 )
...
Some Google Analytics properties don't have defaultProfileId, which was preventing the schema from loading.
2018-09-04 11:29:19 +03:00
Arik Fraimovich
841642b9fc
Fix: build Docker image only in tagged versions
2018-08-31 08:42:50 +03:00
Arik Fraimovich
04c97067ac
Forgot to enable Docker 🤦
2018-08-30 21:35:31 +03:00
Arik Fraimovich
41113404c0
Remove deprecated argument from docker login command
2018-08-30 20:46:08 +03:00
Arik Fraimovich
bcaa54edf1
Merge branch 'master' of github.com:getredash/redash
2018-08-30 20:45:47 +03:00
Arik Fraimovich
a6d501a394
More improvements to CircleCI configuration ( #2777 )
...
* Moved configuration to `.circleci/config.yml` as the documentation for V2 suggests.
* Created a dedicated Docker Compose configuration (in `.circleci/docker-compose.yml`) to remove volumes configuration as this is not supported with CircleCI's Docker executer.
* Fix the Docker image build and tarball packing jobs to work and use correct version.
2018-08-30 20:19:52 +03:00
Arik Fraimovich
e4305e05ad
Updates to CircleCI 2 configuration ( #2774 )
...
* Remove references to Gitter
* Move integration tests to their own workflow and run only on master branch
* Fix error in integration tests configuration
* Update names of stages
2018-08-29 19:34:47 +03:00
Arik Fraimovich
84f1218849
Remove references to Gitter
2018-08-29 12:04:43 +03:00
Benjamin Forehand Jr
99dd4ddca2
Initial update to circleci v2 config. ( #2672 )
2018-08-29 11:19:25 +03:00
Arik Fraimovich
6f26b9638b
Merge pull request #2769 from kravets-levko/bug/dashboard-parameters-not-updated
...
Date/time params not working as global param
2018-08-29 09:50:11 +03:00
Zsolt Kocsmárszky
72632be04d
Remove unnecessary X at the end of the query search ( #2736 )
2018-08-28 21:56:12 +02:00
Jannis Leidel
bfd128413c
Add server-side sorting to dashboard list. ( #2760 )
...
Fix #2771 . Refs #2731 .
2018-08-28 20:45:26 +02:00
Jannis Leidel
bc15c0b6d1
Sort queries in descending order. ( #2759 )
...
Refs #2731 .
2018-08-28 20:27:35 +02:00
Levko Kravets
636276c9c4
getredash/redash#2730
2018-08-28 14:11:56 +03:00
Arik Fraimovich
57e4496ea5
Merge pull request #2754 from kravets-levko/bug/dashboard-widgets-crumble
...
Widgets crumble when trying to move / resize a widget
2018-08-27 21:18:31 +03:00
Arik Fraimovich
bd7ce3a2ce
Merge pull request #2734 from Yossi-a/master
...
handling rows with "length" field with forOwn method
2018-08-27 18:42:29 +03:00
Arik Fraimovich
8ef89177ff
Merge pull request #2761 from getredash/init_cleanup
...
Remove unnecessary init methods.
2018-08-24 00:05:47 +03:00
Alison
82af372583
Throw error when non-owner tries to add a user to dashboard permissions ( #2650 )
...
Add error message when non owner tries to add a user to a dashboard
Fixes #2592
REDASH_FEATURE_SHOW_PERMISSIONS_CONTROL has to be true for this to be applicable.
Operation threw a 403 Forbidden error before this change but it is in the console not shown to the user.
2018-08-23 20:51:08 +02:00
Alison
341a68c7d4
Propagate query execution errors from Celery tasks properly ( #2713 )
...
Refs https://github.com/mozilla/redash/issues/458
2018-08-23 20:33:43 +02:00
Jannis Leidel
8fa2a6649a
Remove unnecessary init methods.
2018-08-23 20:29:40 +02:00
Levko Kravets
c6cb6061e3
getredash/redash#2494 Widgets crumble when trying to move / resize a widget
2018-08-20 12:27:36 +03:00
Jannis Leidel
4d2df72f1f
Merge pull request #2750 from getredash/search-route-reload
...
Reload the route when using the app header search input.
2018-08-16 18:35:05 +02:00
Jannis Leidel
038966a39a
Merge pull request #2741 from sjakthol/fix-alerts
...
fix broken query selection in alert page
2018-08-16 18:09:41 +02:00
Jannis Leidel
9044de6142
Merge pull request #2742 from nasmithan/embed-parameters-query-test-fix
...
Fix query_results for Embedded Parameters (removed deprecated to_dict function)
2018-08-16 17:57:35 +02:00
Jannis Leidel
b746c433ea
Reload the route when using the app header search input.
2018-08-16 17:49:25 +02:00
Jannis Leidel
a0e8c3d2e5
Merge pull request #2729 from combineads/master
...
Fix: support unicode in dashboard search
2018-08-15 19:24:12 +02:00
Jannis Leidel
6ef6a2f484
Merge pull request #2735 from kocsmy/fix/remove-unnecessary-space
...
Remove space between text and :
2018-08-13 19:11:13 +02:00
Nathan Smith
5581e48474
Change from deprecated to_dict to query.query_text
2018-08-10 14:11:57 -06:00
Sami Jaktholm
a251d8fab0
fix broken query selection in alert page
...
The following error occurs when a query is selected in the
alert page:
> TypeError: "item.getQueryResultPromise is not a function"
This is because .onQueryHandler() is given a plain object instead of a
Query when a query is selected from the dropdown.
These changes fix the issue by wrapping the plain object into a Query
object before calling .getQueryResultPromise() on it.
2018-08-10 22:31:59 +03:00
Zsolt Kocsmarszky
6ecb215896
Remove space between text and :
2018-08-10 16:58:17 +02:00
Yossi Ayun
df4b34c179
handling rows with "length" field with forOwn method
2018-08-09 22:31:48 +03:00
Byunghwa Yun
e3f20abf16
Fix: support unicode in dashboard search
2018-08-09 12:00:16 +09:00
Arik Fraimovich
1cafcc1eac
Merge pull request #2724 from getredash/users-unicode
...
Fix: support unicode in users search
2018-08-07 18:02:20 +03:00
Arik Fraimovich
f6aab04a4b
Fix: support unicode in users search
2018-08-07 17:51:46 +03:00
Arik Fraimovich
674a689400
Update v5-beta release date.
2018-08-06 21:51:33 +03:00
Arik Fraimovich
7e0e498d33
Update CHANGELOG for v5beta
2018-08-06 18:31:57 +03:00
Arik Fraimovich
a1c566fea7
Merge branch 'master' of github.com:getredash/redash
2018-08-06 16:18:06 +03:00
Arik Fraimovich
4f7cb89e91
Update CHANGELOG for v5-beta. #2700
2018-08-06 16:17:28 +03:00
Arik Fraimovich
035b26b631
Merge pull request #2722 from getredash/es-fix
...
Fix: don't send source_content_type
2018-08-06 16:13:01 +03:00
Arik Fraimovich
a3e0990143
Fix: don't send source_content_type - instead use GET body with content type header
2018-08-06 16:03:48 +03:00
Arik Fraimovich
0772b12f19
Merge pull request #2720 from getredash/users
...
Fix #2718 : query search is broken.
2018-08-05 18:20:46 +03:00
Arik Fraimovich
f3fed27383
Merge branch 'master' into users
2018-08-05 18:20:21 +03:00
Arik Fraimovich
573865f1cc
Fix #2718 : query search is broken.
2018-08-05 18:19:07 +03:00
Arik Fraimovich
1e6d6bbeb3
Merge pull request #2715 from getredash/users
...
Improve users list page
2018-08-05 18:10:15 +03:00
Arik Fraimovich
b89bb392ce
Fix: enable/disable wasn't working on users list.
2018-08-05 18:09:14 +03:00
Arik Fraimovich
e4dba1ca8e
Switch more strings to unicode.
2018-08-05 17:58:29 +03:00
Arik Fraimovich
2e08d8deb4
Reset to page 1 when updating search string.
2018-08-05 17:58:09 +03:00
Arik Fraimovich
1676d34af6
Fix: make sure paginator component reflects current page number.
2018-08-05 17:57:55 +03:00
Arik Fraimovich
f96a0f338d
Use unicode strings.
2018-08-05 16:34:43 +03:00
Arik Fraimovich
226dd65d53
Update users handlers tests.
2018-08-05 16:14:24 +03:00
Arik Fraimovich
188467ec64
Switch to sqlalchemy_utils.EmailType
2018-08-05 16:14:12 +03:00
Arik Fraimovich
2d4983a224
Show correct empty state when no users found.
2018-08-05 14:56:41 +03:00
Arik Fraimovich
629f61772f
Use new users search API.
2018-08-05 14:51:39 +03:00
Arik Fraimovich
deaa891eb2
Merge pull request #2712 from kravets-levko/feature/date-range-params
...
Date/Time Range parameter type
2018-08-05 14:03:30 +03:00
Arik Fraimovich
351e0f8fdb
Merge pull request #2719 from maxv/closing-input-tag
...
Remove closing input tags
2018-08-05 13:59:02 +03:00
maxv
3ecec4ba8b
Remove closing input tags
2018-08-04 11:02:44 +03:00
Levko Kravets
a2ca793ddd
getredash/redash#2643 Date/Time Range parameter type
2018-08-03 12:24:23 +03:00
Arik Fraimovich
5eb280ef01
Update users list to be paginated and sortable.
2018-08-01 23:28:57 +03:00
Arik Fraimovich
d7946dafd6
Link to user page from group users list.
2018-08-01 23:28:02 +03:00
Arik Fraimovich
bdff248dd7
Fix: dashboards list page wasn't updated to new paginator API.
2018-08-01 23:27:27 +03:00
Arik Fraimovich
c6b129d726
Move order_results helper to redash.handlers.base.
2018-08-01 23:27:12 +03:00
Arik Fraimovich
1468d6e257
Change CaseInsensitiveComparator to support all operations.
2018-08-01 23:26:52 +03:00
Arik Fraimovich
a014df36d8
Merge pull request #2686 from jezdez/serverside
...
Implement server side pagination and sorting for queries lists
2018-08-01 16:55:40 +03:00
Arik Fraimovich
06ad89f75b
Merge pull request #2710 from kocsmy/design/ant-to-redash
...
Update Ant variables to fit Redash's style
2018-08-01 12:23:40 +03:00
Zsolt Kocsmarszky
692e7f9547
Use more variables
2018-08-01 10:58:14 +02:00
Zsolt Kocsmarszky
03262867fe
Merge branch 'master' into design/ant-to-redash
2018-08-01 10:39:39 +02:00
Zsolt Kocsmarszky
8eb9ae604e
Working version of overwrite (not in component level)
2018-07-31 16:23:43 +02:00
Zsolt Kocsmarszky
9bb8ec2f66
Adjust input colors to match
2018-07-31 14:32:38 +02:00
Zsolt Kocsmarszky
340184a796
Adjust input color
2018-07-31 14:18:12 +02:00
Zsolt Kocsmarszky
f0502ba088
Refine input design
2018-07-31 14:14:29 +02:00
Arik Fraimovich
44014d7eab
Merge pull request #2482 from matsumo/add_chatwork_destination
...
add support ChatWork Alert Destination.
2018-07-31 15:13:29 +03:00
Arik Fraimovich
6b671817a2
Merge pull request #2649 from getredash/js-style-guides
...
Add references to Airbnb's style guides in contribution guide.
2018-07-31 15:11:27 +03:00
Arik Fraimovich
5da481e2c3
Merge pull request #2709 from getredash/format-button
...
Move format button next Add New Param button.
2018-07-31 15:10:16 +03:00
Arik Fraimovich
40c8cef821
Move format button next add new param button.
2018-07-31 15:09:23 +03:00
Zsolt Kocsmarszky
13d891bac3
Move styling import to main.less and add var overwrites
2018-07-31 14:07:01 +02:00
Arik Fraimovich
73f7476434
Merge pull request #2678 from kravets-levko/feature/add-parameter-dialog
...
Explicit "Add Parameter" Button in Query Editor
2018-07-31 14:26:42 +03:00
Arik Fraimovich
8017893c00
Merge.
2018-07-31 14:23:58 +03:00
Levko Kravets
d1ddc4631d
getredash/redash#2644 CR1
2018-07-31 14:12:02 +03:00
Arik Fraimovich
a94f2efc80
Fix keyboard shortcut and update the tooltip.
2018-07-31 14:11:10 +03:00
Arik Fraimovich
0127799ec7
Merge with master.
2018-07-31 14:10:47 +03:00
Levko Kravets
e2313e67b6
getredash/redash#2644 Explicit "Add Parameter" Button in Query Editor
2018-07-31 14:06:31 +03:00
Arik Fraimovich
50c37c0469
Use unicode for default message template.
2018-07-31 13:38:23 +03:00
Arik Fraimovich
c6f75ddbb2
Merge pull request #2513 from kyoshidajp/support_location_in_bq_dataset
...
Add location property to BigQuery data source settings
2018-07-31 13:03:22 +03:00
Arik Fraimovich
85230e3cc3
Merge pull request #2616 from kravets-levko/feature/pie-colors
...
Pie chart: sectors colors
2018-07-31 13:00:11 +03:00
Arik Fraimovich
ccaf849328
Add schedule & created_at to allowed order_by values for queries.
2018-07-31 11:39:35 +03:00
Arik Fraimovich
494f43b997
Show null duration as '-'.
2018-07-31 11:39:19 +03:00
Arik Fraimovich
f9e2895f16
Merge pull request #2664 from kravets-levko/bug/dashboard-indefinite-spinner
...
Dashboard shows a spinner when query failed to load
2018-07-30 22:49:36 +03:00
Arik Fraimovich
92bdac0ee2
Merge pull request #2697 from kravets-levko/feature/datetime-current-time
...
Date/Time parameters: dynamic default value (current date/time)
2018-07-30 14:59:48 +03:00
Levko Kravets
b19dec08d0
getredash/redash#2602 CR1
2018-07-30 11:56:02 +03:00
Levko Kravets
9926359c45
getredash/redash#2602 Dashboard shows a spinner when query failed to load
2018-07-30 11:41:47 +03:00
Levko Kravets
b0f0b49d1c
getredash/redash#2642 Date/Time parameters: dynamic default value (current date/time)
2018-07-30 11:18:08 +03:00
Arik Fraimovich
016166c193
Merge pull request #2626 from kravets-levko/feature/query-page-messages
...
Show real status when loading cached query result
2018-07-29 15:49:38 +03:00
Arik Fraimovich
dd2f24f976
Merge pull request #2458 from kyoshidajp/get_all_tables_in_bq
...
Get all tables in the BigQuery
2018-07-29 15:11:46 +03:00
Arik Fraimovich
f89d64e467
Merge pull request #2663 from ariarijp/improve-spreadsheets
...
Set column name implicitly when column name is blank
2018-07-29 14:50:12 +03:00
Arik Fraimovich
02e6edf111
Bump version
2018-07-26 17:42:08 +03:00
Arik Fraimovich
18768885f2
Fix status page layout
2018-07-26 17:33:09 +03:00
Katsuhiko YOSHIDA
5ca59a5002
Change the way to get the default location
2018-07-26 08:09:57 +09:00
Arik Fraimovich
25ae7b4a88
Merge pull request #2698 from getredash/small-07-2018
...
Make sure we return distinct data source values
2018-07-25 20:26:58 +03:00
Arik Fraimovich
1f01fe2f39
Make sure we return distinct data source values
2018-07-25 19:38:15 +03:00
Arik Fraimovich
d70bcfd615
Merge pull request #2695 from kravets-levko/feature/better-datetime-inputs
...
Improve Date/DateTime type parameters
2018-07-25 16:27:32 +03:00
Levko Kravets
94da0d90b9
getredash/redash#2642 CR1
2018-07-25 16:15:49 +03:00
Levko Kravets
487dd6b88d
getredash/redash#2642 Improve Date/DateTime type parameters
2018-07-25 15:00:09 +03:00
Arik Fraimovich
01b3d428c3
Merge pull request #2315 from yuua/fix_hive_type_match
...
Fix: pyHive type matches
2018-07-25 13:38:13 +03:00
Arik Fraimovich
d30dd63656
Merge pull request #2694 from getredash/small-07-2018
...
Block users with disposable email addresses
2018-07-25 13:28:54 +03:00
Arik Fraimovich
3c7dd064ef
Block users with temporary domains
2018-07-25 13:06:26 +03:00
Arik Fraimovich
058a7ca368
Merge pull request #2693 from getredash/small-07-2018
...
Enable search function in Query Editor.
2018-07-25 13:00:16 +03:00
Arik Fraimovich
10ddb73385
Enable search function in Query Editor.
2018-07-25 12:59:41 +03:00
Arik Fraimovich
27dfa3d8ae
Merge pull request #2692 from getredash/small-07-2018
...
Fix: Query.search method was missing
2018-07-25 12:57:40 +03:00
Arik Fraimovich
2390343c67
Fix: Query.search method was missing
2018-07-25 12:57:10 +03:00
Arik Fraimovich
2c3067bdfd
Merge pull request #2691 from getredash/small-07-2018
...
Fix the recent queries API endpoint.
2018-07-25 12:55:20 +03:00
Arik Fraimovich
2e9ef66cbc
Fix: Google Spreadsheets tests
2018-07-25 12:42:36 +03:00
Arik Fraimovich
a05c4b3b20
Merge pull request #2687 from denisov-vlad/safe-yaml
...
YAML: changed load to safe_load
2018-07-25 12:38:35 +03:00
Arik Fraimovich
895786d129
Fix the recent queries API endpoint.
2018-07-24 12:01:41 +03:00
Arik Fraimovich
011142fabb
Add fsevents to optional dependencies
2018-07-24 12:01:03 +03:00
Vladislav Denisov
e4af1e6534
yandex_metrika: changed load to safe_load
2018-07-19 17:43:51 +03:00
Arik Fraimovich
25de0b9dab
Merge pull request #2514 from atharvai/gsheets_parse_fix_2504
...
Update value parsing for google spreadsheets source
2018-07-19 12:02:36 +03:00
Jannis Leidel
b86715c7fa
Implement frontend for server side pagination and sorting.
...
Also:
- Adds page size select tag list.
- Adds clear button to search input.
- Shows search also on “my” page.
2018-07-18 22:55:25 +02:00
Jannis Leidel
2af926703a
Implement server side sorting and new search.
...
- Redirect the old search API handler.
- Sort by specific database columns or relationships.
- Allow showing “my” queries per tag as well.
2018-07-18 22:55:19 +02:00
Jannis Leidel
2f09497797
Let the search class methods use the main all_queries base query.
2018-07-18 21:45:43 +02:00
Jannis Leidel
16ea4be157
Add optional property to query class with the lowercase name for easier sorting.
2018-07-18 21:45:42 +02:00
Jannis Leidel
823a681131
Add outerjoins to be able to sort queries by related columns.
2018-07-18 21:45:42 +02:00
Jannis Leidel
08b59c4485
Extend live paginator to handle ordering as well.
2018-07-18 21:44:55 +02:00
Jannis Leidel
486a6068ac
Update SQLAlchemy.
2018-07-18 21:44:55 +02:00
Levko Kravets
d651fdc2b7
getredash/redash#2644 CR1
2018-07-18 13:01:41 +03:00
Levko Kravets
2c0ff53894
getredash/redash#2644 Explicit "Add Parameter" Button in Query Editor
2018-07-18 12:27:51 +03:00
Levko Kravets
10ff9ec86e
getredash/redash#2601 Show real status when loading cached query result
2018-07-18 12:11:13 +03:00
Arik Fraimovich
35bb558f44
Merge pull request #2573 from getredash/discovery
...
Tagging and favorites for Queries and Dashboards
2018-07-17 15:49:39 +03:00
Arik Fraimovich
3d39e5cb29
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-07-17 15:41:13 +03:00
Arik Fraimovich
24404b3b86
Fix queries list URLs.
2018-07-17 15:40:50 +03:00
Arik Fraimovich
a9cb08d0d6
Merge branch 'master' into discovery
2018-07-17 15:33:58 +03:00
Arik Fraimovich
12436430cc
Styling update.
2018-07-17 15:32:24 +03:00
Arik Fraimovich
9ed7b3d3d4
Queries List empty state.
2018-07-17 15:29:25 +03:00
Arik Fraimovich
9f467f7a2b
Support .jsx files.
2018-07-17 13:47:43 +03:00
Arik Fraimovich
052a60512b
Implement dashboard list empty states.
2018-07-17 13:47:35 +03:00
Arik Fraimovich
2ff3d8985c
Merge pull request #2570 from StantonVentures/2569_fix_query_pagination_alignment
...
fixes query pagination alignment
2018-07-16 17:59:52 +03:00
Arik Fraimovich
b1139d4891
Merge pull request #2584 from StantonVentures/alison_2581_only
...
keep query result pagination out of scroll
2018-07-16 17:56:12 +03:00
Arik Fraimovich
197e7d5882
Merge pull request #2640 from kravets-levko/feature/query-editor-shortcuts
...
Keyboard shortcut to collapse query editor/schema browser
2018-07-16 17:36:34 +03:00
Arik Fraimovich
f771b514e6
Merge pull request #2682 from getredash/now
...
Add Zeit's now support to have preview builds for every PR
2018-07-15 15:45:19 +03:00
Arik Fraimovich
27128d73fe
Trigger new Now deploy.
2018-07-15 15:00:17 +03:00
Arik Fraimovich
fa1b71bc27
Add Zeit now support
2018-07-15 13:39:57 +03:00
Arik Fraimovich
f78ab06369
Merge pull request #2647 from ariarijp/improve-script
...
Improve Script Query Runner
2018-07-12 23:37:23 +03:00
Arik Fraimovich
64f6c9319d
Fix: favorite/unfavorite in dashboards list wasn't working.
2018-07-12 23:34:47 +03:00
Arik Fraimovich
d76a9cd22f
Fix loading of favorites in header and home.
2018-07-12 22:55:39 +03:00
Arik Fraimovich
d6f8d7af5a
Eagerly load dashboard user to avoid N+1 queries.
2018-07-12 22:48:42 +03:00
Arik Fraimovich
00c413c2d8
Merge pull request #2674 from getredash/chromelogger
...
Add support for the Chrome Logger extension
2018-07-12 13:41:18 +03:00
Arik Fraimovich
6be54defb4
Styling improvements.
2018-07-12 13:16:42 +03:00
Arik Fraimovich
20261d0632
Add support for ChromeLogger extension
2018-07-12 11:37:35 +03:00
Arik Fraimovich
522c08a7a4
package-lock.json update
2018-07-11 18:26:01 +03:00
Arik Fraimovich
3fa2db4085
Fix linting errors
2018-07-11 18:25:43 +03:00
Arik Fraimovich
8343f2c8b2
Remove usage of underscopre.
2018-07-11 18:03:27 +03:00
Arik Fraimovich
df25bbfa90
Merge with latest master
2018-07-11 17:53:53 +03:00
Arik Fraimovich
5e35156d22
Handle duplicate favorite calls.
2018-07-11 16:35:48 +03:00
Arik Fraimovich
34c2292a98
Merge pull request #2653 from StantonVentures/alison_1411
...
Add redash db size to status page
2018-07-11 16:02:36 +03:00
Arik Fraimovich
2438475ba2
Merge pull request #2583 from kocsmy/design/query-header-improvements
...
Query header improvements on widgets
2018-07-11 16:01:28 +03:00
Arik Fraimovich
b91a2d14fd
Merge pull request #2668 from ariarijp/upgrade-bootstrap-script
...
Upgrade bootstrap script to Redash 4.0.1
2018-07-11 15:52:25 +03:00
Arik Fraimovich
d7310f5be9
Merge pull request #2671 from kocsmy/design/save-some-space
...
Save some space
2018-07-11 15:52:07 +03:00
Zsolt Kocsmarszky
873f51c5f6
Save some space (10px) when we have parameters section present on the query results
2018-07-09 16:10:24 +02:00
Arik Fraimovich
ac1fc6bdd8
Merge pull request #2669 from tdawber/feature/athena_query_id
...
Store Athena query id with result metadata
2018-07-09 15:40:28 +03:00
tdawber
28f7c048bb
Store Athena query id with result metadata
2018-07-09 16:40:49 +10:00
tdawber
8d80077aa8
Store Athena query id with result metadata
2018-07-09 16:39:22 +10:00
tdawber
101c09fcae
Store Athena query id with result metadata
2018-07-09 16:37:05 +10:00
tdawber
9141850304
Store Athena query id with result metadata
2018-07-09 16:18:33 +10:00
Alison
e7d8491f0b
update to .execute() from .query()
2018-07-08 09:53:12 -05:00
ariarijp
0568d40b27
Upgrade to Redash 4.0.1
2018-07-08 17:22:29 +09:00
Zsolt Kocsmarszky
77831d1c91
Adjust query header colors
2018-07-06 14:37:40 +02:00
Levko Kravets
3772612a97
Pie chart: sectors colors
2018-07-06 14:53:57 +03:00
Zsolt Kocsmarszky
58e21c9807
Merge https://github.com/getredash/redash into design/query-header-improvements
2018-07-06 13:48:27 +02:00
Alison
abcf5b729a
pep8 fixes
2018-07-04 17:00:17 -05:00
Alison
7b40d01f51
refactor based on codeclimate review of PR
2018-07-04 16:57:10 -05:00
Alison
f597c04214
change where prettySize happens
2018-07-04 02:04:55 -05:00
ariarijp
53c20e2250
Set column name implicitly when column name is blank
2018-07-03 16:02:41 +09:00
ariarijp
c5f27253b0
Change message for empty output
2018-07-02 21:36:15 +09:00
Arik Fraimovich
140d0ae14f
Merge pull request #2638 from kravets-levko/bug/dashboard-not-rendering-empty-query
...
Dashboard stops rendering when adding widget with empty query
2018-07-02 12:07:42 +03:00
Arik Fraimovich
383d5d3725
Merge pull request #2658 from StantonVentures/alison_2657
...
delaying schema filtering to improve responsiveness
2018-07-02 12:04:21 +03:00
Arik Fraimovich
e0ce7f8d7d
Merge pull request #2648 from Pablohn26/master
...
Update datasource documentation links
2018-07-01 23:51:00 +03:00
Arik Fraimovich
4b0a2c04df
Merge pull request #2639 from ariarijp/add-tests-for-spreadsheets
...
Add tests for SpreadSheets
2018-07-01 12:35:57 +03:00
Arik Fraimovich
6ce522a863
Update CONTRIBUTING.md
2018-07-01 12:32:46 +03:00
Alison
84302e3d86
delaying schema filtering to improve responsiveness
...
fixes #2657
2018-06-30 18:57:47 -05:00
Alison
cf29fa09f3
add the size of Redash DB to the status page
...
fixes #1411
2018-06-30 14:18:02 -05:00
Arik Fraimovich
50b9e99f90
Add references to Airbnb's styleguides in contribution guide.
2018-06-29 21:39:58 +03:00
Pablo Hinojosa
01678beebf
Fix URL
2018-06-29 17:53:47 +02:00
Pablo Hinojosa
0a6a807964
Fix URL
2018-06-29 17:52:55 +02:00
Pablo Hinojosa
964eff017c
Fix URL
2018-06-29 17:51:37 +02:00
Pablo Hinojosa
7f4e7a947e
Update dashboard-list.html
2018-06-29 17:50:32 +02:00
Pablo Hinojosa
ca04732d3f
Update datasource documentation links
2018-06-29 17:45:38 +02:00
ariarijp
389c6cb3c5
Improve Script Query Runner
2018-06-29 00:03:17 +09:00
Arik Fraimovich
75df88a8ff
Merge pull request #2632 from mozilla/react-eslint
...
react rules for eslint
2018-06-28 16:32:57 +03:00
Levko Kravets
0c95b47de4
getredash/redash#2402 Keyboard shortcut to collapse query editor/schema browser
2018-06-28 15:10:53 +03:00
ariarijp
bad7e92cce
Add tests for SpreadSheets
2018-06-28 18:57:41 +09:00
Levko Kravets
ead1e07e99
getredash/redash#2534 Dashboard stops rendering when adding widget with empty query
2018-06-28 11:50:35 +03:00
Allen Short
b712253276
react rules for eslint
2018-06-28 01:56:57 -05:00
Arik Fraimovich
71531c9910
Merge pull request #2635 from ariarijp/add-tests-for-query-results
...
Add tests for Query Results
2018-06-28 09:55:25 +03:00
ariarijp
8a4eab1c93
Add tests for Query Results
2018-06-28 15:37:11 +09:00
Alison
5846a5733c
Merge pull request #2 from getredash/master
...
pulling from upstream to SV fork
2018-06-27 10:28:02 -05:00
Zsolt Kocsmarszky
d1d72b30c6
Make visualization name as dark as query name
2018-06-27 16:37:50 +02:00
Zsolt Kocsmarszky
ba980d6b87
Merge branch 'master' into design/query-header-improvements
2018-06-27 16:29:12 +02:00
Arik Fraimovich
258d506215
Add missing comma
2018-06-27 16:04:33 +03:00
Arik Fraimovich
b759536146
Add events to favorites
2018-06-27 15:58:13 +03:00
Arik Fraimovich
91ff4aee63
Move imports to correct location.
2018-06-27 15:52:11 +03:00
Arik Fraimovich
fa6e2cc264
Merge pull request #2546 from washort/upstream-react
...
Configuration for incorporating React components
2018-06-27 15:20:00 +03:00
Arik Fraimovich
c719d336a9
Reset search term when it's empty.
2018-06-27 11:54:34 +03:00
Arik Fraimovich
720da3310f
Merge pull request #2610 from gabrieldutra/master
...
Fix export query results output file name
2018-06-26 21:53:27 +03:00
Arik Fraimovich
ed8b022e78
Merge pull request #2613 from ariarijp/improve-script
...
Improve Script Query Runner
2018-06-26 21:52:33 +03:00
Arik Fraimovich
2eefdc1da3
Updated queries screen (& unified API).
2018-06-26 21:50:16 +03:00
Arik Fraimovich
5e4cf5ba30
Add filtering by tags/search to favorites.
2018-06-26 21:48:50 +03:00
Arik Fraimovich
18f51890d2
Only show tags/search on all queries list.
2018-06-25 23:25:10 +03:00
Arik Fraimovich
b0de1be815
Better dashboards GET api (pagination, filter by tags, search by name)
2018-06-25 23:22:28 +03:00
Arik Fraimovich
f39b6b7073
Tags service.
2018-06-25 23:20:30 +03:00
Allen Short
e2a5bb0a06
eslint fix
2018-06-25 12:14:30 -05:00
Arik Fraimovich
bfeeb23443
Update package-lock.json file
2018-06-25 12:13:26 -05:00
Arik Fraimovich
9eb51da7ce
Remove underscore usage from new files
2018-06-25 12:13:25 -05:00
Allen Short
d6011ede0c
switch underscore usages to lodash
...
There's still one usage of `numberFormat` from `underscore.string`.
2018-06-25 12:13:25 -05:00
Allen Short
c47ad93eb2
humble beginnings with React components
2018-06-25 12:13:25 -05:00
Arik Fraimovich
4384959760
Merge pull request #2619 from StantonVentures/2567_order_datasources_alpha
...
data source sort case insensitive
2018-06-22 19:49:09 +03:00
Alison
fccba45e36
data source sort case insensitive
...
#2567
2018-06-22 07:03:51 -05:00
ariarijp
9d2a3133f0
Improve Script Query Runner
2018-06-21 14:45:12 +09:00
Gabriel Dutra
744ccd163a
Fix export query results output file name
...
- regexp `/ /g` will seek for all space ocurrences, not only the first
2018-06-20 20:23:49 -03:00
Arik Fraimovich
4a833a7401
use tags-list component for mobile view as well
2018-06-20 18:52:56 +03:00
Arik Fraimovich
ece80eb1f7
Refactor: create tags list component to be shared between dashboard and queries list page.
2018-06-20 18:45:44 +03:00
Arik Fraimovich
695c342a69
Filter queries by tags.
2018-06-20 18:17:56 +03:00
Arik Fraimovich
97d4df2532
Merge pull request #2606 from denisov-vlad/pyyaml
...
requirements: added pyyaml
2018-06-20 14:55:18 +03:00
Vladislav Denisov
8cd8650119
requirements: added pyyaml
2018-06-20 12:03:46 +03:00
Arik Fraimovich
6fb7c310be
Merge pull request #2574 from mtrbean/patch-1
...
commit query result to db before evaluating alerts
2018-06-20 10:52:44 +03:00
Arik Fraimovich
d533a05d54
Merge pull request #2604 from ariarijp/improve-spreadsheets
...
Improve Google Spreadsheets Query Runner
2018-06-20 10:38:33 +03:00
Arik Fraimovich
783ccfd4c0
Merge pull request #2533 from denisov-vlad/metrika
...
New datasource: Yandex Metrika&AppMetrika
2018-06-20 10:28:11 +03:00
ariarijp
5757b24ea3
Improve Google Spreadsheets Query Runner
2018-06-19 22:29:46 +09:00
Arik Fraimovich
5c1d2c8877
Merge pull request #2542 from emtwo/emtwo/xaxis
...
Closes #2541 : x-axis improvements.
2018-06-19 12:44:56 +03:00
Arik Fraimovich
ff750b0db1
Merge pull request #2590 from ariarijp/remove-redundant-vars
...
Remove redundant variables
2018-06-18 15:02:45 +03:00
Alison
f4b32249e9
Merge pull request #1 from getredash/master
...
pull upstream to my fork
2018-06-17 16:26:19 -05:00
ariarijp
f8245f6e3f
Remove redundant variables
2018-06-17 23:41:33 +09:00
Arik Fraimovich
c28702a5be
Merge pull request #2580 from StantonVentures/master
...
add break-word wrap to add/edit text box on dashboard
2018-06-17 11:51:38 +03:00
Arik Fraimovich
d101866c91
Merge pull request #2585 from kravets-levko/fix/query-page-tabs
...
Show data only mode: allow to add and delete visualizations
2018-06-17 11:43:34 +03:00
Arik Fraimovich
6c11326a5d
Merge pull request #2578 from ariarijp/fix-create-tables
...
Fix connection error when you run "create_tables"
2018-06-17 11:38:35 +03:00
Levko Kravets
17a677b6d0
Dashboard: make etire widget header clickable
2018-06-13 21:23:09 +03:00
Zsolt Kocsmarszky
1678155490
Make + New Visualization a button and add nicer icons
2018-06-13 16:57:20 +02:00
Zsolt Kocsmarszky
7be6164684
Hide - if no visualization name
2018-06-13 15:17:36 +02:00
Levko Kravets
418ac1bb68
Show data only mode: allow to add and delete visualizations
2018-06-12 20:03:21 +03:00
Alison
78421f590b
keep query result pagination out of scroll
2018-06-11 23:55:24 -05:00
Zsolt Kocsmarszky
bdbeebdf86
Improve the header of the query by moving the visualization name to the first place
2018-06-11 17:19:45 +02:00
Levko Kravets
b521e65800
Discovery: show tags for both published and draft queries
2018-06-11 12:51:21 +03:00
Levko Kravets
a8a0312b72
Discovery: query & dashboard list: fix default browser behavior on click with modifier keys
2018-06-11 12:44:26 +03:00
Levko Kravets
840a7482c8
Discovery: filter queries by tags
2018-06-11 12:16:47 +03:00
Alison
d11638164e
add break-word wrap to add/edit text box on dashboard
2018-06-10 09:33:19 -05:00
ariarijp
1efdb6034f
Fix connection error when you run "create_tables"
2018-06-10 20:17:53 +09:00
Eric Wong
d0c6e41c9c
commit query result to db before evaluating alerts
...
`check_alerts_for_query` runs on a separate celery queue and needs to see the latest result
2018-06-06 11:22:34 -07:00
Arik Fraimovich
e79dbe8b95
Merge branch 'master' into discovery
2018-06-06 15:35:45 +03:00
Arik Fraimovich
93dffa0c8a
Merge with upstream
2018-06-06 15:28:15 +03:00
Arik Fraimovich
deceaa8888
Fix migrations order
2018-06-06 14:59:04 +03:00
Levko Kravets
11f25d8ba4
Tags: edit (query and dashboard page); show tags in a sidebar (dashboard list page)
2018-06-06 14:45:53 +03:00
Arik Fraimovich
69d5eb9020
tag listing APIs implemented
2018-06-06 14:45:05 +03:00
Zsolt Kocsmarszky
7ac90fe81e
Fix tag layouts on headers
2018-06-06 14:45:05 +03:00
Levko Kravets
23deab7b7c
Tags: display on all pages
2018-06-06 14:45:05 +03:00
Zsolt Kocsmarszky
f0342c3c45
tags for queries and dashboards
2018-06-06 14:44:32 +03:00
Arik Fraimovich
3835a8286c
Simpler data model for tags.
2018-06-06 14:43:23 +03:00
Arik Fraimovich
a4f61df3fb
Fixed add dashboard tags migration
2018-06-06 14:43:23 +03:00
Arik Fraimovich
0d764caafe
Proper tags models
2018-06-06 14:43:23 +03:00
Levko Kravets
5081e9d245
Show spinner when loading dashboards and queries on list pages
2018-06-06 14:43:23 +03:00
Zsolt Kocsmarszky
312a73dd8d
Style tags for queries and dashboards
2018-06-06 14:43:23 +03:00
Arik Fraimovich
d3240cd71b
Fix queries search API
2018-06-06 14:43:23 +03:00
Zsolt Kocsmarszky
2b9dd6b5c0
Adding tags markup for query and dashboard
2018-06-06 14:43:23 +03:00
Levko Kravets
3ac52a2af5
Favorites: restore queries search
2018-06-06 14:43:23 +03:00
Levko Kravets
15baef531c
Favorites: restore queries search
2018-06-06 14:43:23 +03:00
Zsolt Kocsmarszky
135cb53909
make entire dashboard and query list row clickable
2018-06-06 14:43:06 +03:00
Arik Fraimovich
f29afe9306
Hide my dashboards/queries when you don't have permission to create them
2018-06-06 14:43:06 +03:00
Arik Fraimovich
9feb7773ce
add org_id to favorites
2018-06-06 14:43:06 +03:00
Arik Fraimovich
bcf49a700b
Make sure user has access to favorite objects.
2018-06-06 14:43:06 +03:00
Zsolt Kocsmarszky
a782d67a8e
add empty states for my queries/dashboard and fav queries/dashboards
2018-06-06 14:43:06 +03:00
Zsolt Kocsmarszky
3fbf518061
add empty condition for dashboard and query dropdown
2018-06-06 14:43:06 +03:00
Levko Kravets
0479aa40b3
Favorites: empty states on dashboards and queries list pages
2018-06-06 14:43:06 +03:00
Zsolt Kocsmarszky
b9db9f0b20
Right aligned control area
2018-06-06 14:41:13 +03:00
Arik Fraimovich
aa756b2be6
Almost complete implementation of favorties backend
2018-06-06 14:41:13 +03:00
Zsolt Kocsmarszky
af40375a78
Nicer styling for lists
2018-06-06 14:40:42 +03:00
Levko Kravets
d385b43915
Favorites: remove unnecessary code
2018-06-06 14:40:42 +03:00
Levko Kravets
54d667e59e
Favorites: page for favorite dashboards and queries
2018-06-06 14:40:42 +03:00
Zsolt Kocsmarszky
983e3ba350
Further refine styling for tags
2018-06-06 14:40:42 +03:00
Zsolt Kocsmarszky
875e756236
Massive styling improvements for dashboards, queries and alerts lists
2018-06-06 14:40:42 +03:00
Levko Kravets
56b1e3c7aa
Favorites: show favorite dashboards and queries in app header
2018-06-06 14:40:42 +03:00
Zsolt Kocsmarszky
7785538d59
add and fix classes
2018-06-06 14:39:52 +03:00
Zsolt Kocsmarszky
82829d5687
Better queries page...
2018-06-06 14:39:52 +03:00
Levko Kravets
34aaf55463
Favorites: show favorites on homepage instead of recent items
2018-06-06 14:39:52 +03:00
Zsolt Kocsmarszky
e6745683fe
Add more details for favourites
2018-06-06 14:39:14 +03:00
Levko Kravets
8c7e62f7ff
Favorites: models, control on query list, query page, dashboard list, dashboard pages.
2018-06-06 14:37:52 +03:00
Arik Fraimovich
02628d76f1
API stub for query object.
2018-06-06 14:37:52 +03:00
Arik Fraimovich
64f70cfbe8
Query favorites: API stub.
2018-06-06 14:37:52 +03:00
Zsolt Kocsmarszky
5f1c4e9dce
Add base stuff for favourites
2018-06-06 14:37:52 +03:00
Arik Fraimovich
672c86efaa
Merge pull request #2549 from coreyhuinker/patch-1
...
Allow get_tables to see views and v10-style partitioned tables
2018-06-06 11:40:01 +03:00
Arik Fraimovich
8bffc6f45d
Merge pull request #2568 from StantonVentures/2567_order_datasources_alpha
...
sort datasources alphabetically
2018-06-06 11:02:25 +03:00
Arik Fraimovich
52b9333b8d
Merge pull request #2572 from StantonVentures/2571_archived_query_menu_line
...
remove extra menu line if query is archived
2018-06-06 10:59:09 +03:00
Alison
2982d77ff2
remove extra menu line if query is archived
...
fixes #2571
Sames as https://github.com/mozilla/redash/issues/319 fixed in https://github.com/mozilla/redash/pull/414/
2018-06-05 23:11:19 -05:00
Alison
dda024a8d2
fixes query pagination alignment
...
fixes #2569
Same as https://github.com/mozilla/redash/pull/413/ which fixes https://github.com/mozilla/redash/issues/320
2018-06-05 22:56:15 -05:00
Alison
ea8951711f
sort datasources alphabetically
...
fixes https://github.com/getredash/redash/issues/2567
Same as https://github.com/mozilla/redash/issues/367
2018-06-05 22:50:35 -05:00
Levko Kravets
204e36730e
After saving tags in a dashboard, widgets go into refresh mode
2018-06-05 17:11:52 +03:00
Arik Fraimovich
c86423aea9
Merge pull request #2444 from sjakthol/saml-handle-parse-errors
...
feat: show error if saml response cannot be parsed
2018-06-03 11:41:50 +03:00
Sami Jaktholm
c7cf3653b8
feat: show error if saml response cannot be parsed
...
Previously, exceptions from pysaml2 would've caused
a 500 Internal Server Error response to be sent back
to the user. Now, the user is redirected back to login
page which includes an user friendly error message.
2018-06-03 09:42:53 +03:00
Marina Samuel
804603014d
Closes #2541 : x-axis improvements.
2018-05-31 16:29:39 -04:00
Arik Fraimovich
90d642fbe2
Update the tab name.
2018-05-31 21:25:51 +03:00
Arik Fraimovich
ca1b8f2047
Update chart editor labels
2018-05-31 21:07:12 +03:00
Arik Fraimovich
0a0b53b7e9
Merge pull request #2536 from kravets-levko/feature/chart-formats-and-tooltips-2
...
Chart: formats for values, labels and tooltips
2018-05-31 19:05:51 +03:00
Arik Fraimovich
131811179b
Merge pull request #2564 from getredash/policy
...
Fix: typo fixes in Policy related code.
2018-05-31 18:42:22 +03:00
Levko Kravets
80295ca1e7
Chart tooltips: use date/time format from config
2018-05-31 18:40:18 +03:00
Arik Fraimovich
d71cdf5dbc
Fix: typo fixes in Policy related code.
2018-05-31 18:39:20 +03:00
Arik Fraimovich
65881a0f79
Merge pull request #2562 from getredash/policy
...
Set currentUser value in users list page & use ng-src when needed
2018-05-31 17:27:29 +03:00
Arik Fraimovich
cc3145f895
Fix: set currentUser value in users list page.
2018-05-31 17:26:03 +03:00
Arik Fraimovich
c6b16b62ab
Fix: use ng-src in empty-state.
2018-05-31 17:25:52 +03:00
Arik Fraimovich
f2b49ae7ff
Merge pull request #2561 from getredash/policy
...
Add OrganizationStatus service (and some more)
2018-05-31 15:31:57 +03:00
Arik Fraimovich
3113c9b79e
Don't count disabled users in users count
2018-05-31 15:30:41 +03:00
Arik Fraimovich
6a89d5ea1c
Add extension point to home page
2018-05-31 15:30:27 +03:00
Arik Fraimovich
b7f221542b
Load OrganizationStatus on page load
2018-05-31 15:30:09 +03:00
Arik Fraimovich
cfc3912723
Add OrganizationStatus service and use it in empty state.
2018-05-31 15:28:47 +03:00
Arik Fraimovich
c7614997d9
Merge pull request #2560 from getredash/policy
...
Introduce Policy object
2018-05-31 11:05:51 +03:00
Arik Fraimovich
b323747aaf
Remove unused code.
2018-05-31 10:58:04 +03:00
Arik Fraimovich
64c9e5c963
Add Policy object.
2018-05-31 10:54:40 +03:00
Arik Fraimovich
68e5aec861
Save new dashboard on enter key press.
2018-05-31 10:49:02 +03:00
Arik Fraimovich
617df8e4f6
Merge pull request #2380 from kravets-levko/feature/disable-users
...
Admin should be able to disable a user
2018-05-31 10:24:12 +03:00
Levko Kravets
75f8b8ae7b
getredash/redash#728 Use date/time and number formats only for tooltips
2018-05-30 17:25:30 +03:00
Levko Kravets
3fe8272ce4
getredash/redash#2375 Better error message when trying to disable self user; set disabled user avattar URL on backend and remove profileImage filter
2018-05-28 17:05:39 +03:00
Levko Kravets
ac6d6fc68a
getredash/redash#2375 More tests + fix bug
2018-05-28 14:04:08 +03:00
Levko Kravets
2c84a383f3
getredash/redash#2375 Tests
2018-05-28 14:04:08 +03:00
Levko Kravets
6fb5548106
getredash/redash#2375 CR1
...
- only admin should see disabled users;
- add Disable button to user page;
- escape user name in toastr notifications;
- code cleanup.
2018-05-28 14:04:08 +03:00
Levko Kravets
84fb683bf3
getredash/redash#2375 Disabled users should not be able to login
2018-05-28 14:04:08 +03:00
Levko Kravets
40aee8465b
getredash/redash#2375 Show gray icon for disabled users
2018-05-28 14:04:08 +03:00
Levko Kravets
d40aa09bcf
getredash/redash#2375 Admin should be able to disable a user
2018-05-28 14:04:08 +03:00
Arik Fraimovich
6d1a67fee3
Merge pull request #2554 from kyoshidajp/show_deleting_target_item_name
...
Display name to be delete
2018-05-28 07:15:17 +03:00
Katsuhiko YOSHIDA
621718c3a0
Change the deleting message format
2018-05-28 06:35:32 +09:00
Katsuhiko YOSHIDA
a7e1b2bf68
Display name to be delete
2018-05-28 05:49:39 +09:00
Arik Fraimovich
7f3db4d7b6
Merge pull request #2510 from kyoshidajp/confirm_delete
...
Display confirmation dialog when deleting a item
2018-05-27 08:41:40 +03:00
Vladislav Denisov
8101077371
yandex_metrika: new appmetrika logo
2018-05-25 17:29:53 +03:00
Vladislav Denisov
8422a3657a
metrika: added yaml support
2018-05-25 16:56:27 +03:00
Corey Huinker
76e86817c8
remove blank line
2018-05-21 15:37:00 -04:00
Corey Huinker
95593481a5
Update pg.py
2018-05-21 15:26:46 -04:00
Corey Huinker
fcd984aca6
Allow get_tables to see views and v10-style partitioned tables
...
And it does so with just one query.
2018-05-21 15:18:59 -04:00
Zsolt Kocsmarszky
07519596b8
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-21 17:53:16 +02:00
Zsolt Kocsmarszky
3b2bfb9177
fix queries and dashboard list for smaller screens
2018-05-21 17:53:00 +02:00
Arik Fraimovich
a6bc7c02bf
Merge pull request #2509 from kyoshidajp/show_custom_date_format
...
Show custom date format on settings page
2018-05-19 17:49:05 +03:00
Arik Fraimovich
387ca14973
Merge pull request #2526 from deecay/fix-pivot
...
Fix pivot hide control in dashboards
2018-05-18 18:43:38 +03:00
Arik Fraimovich
ead7635a3d
Merge pull request #2511 from kocsmy/fixes/styling-adjustments
...
Fixing signed_out.html template
2018-05-18 18:40:10 +03:00
Arik Fraimovich
7ebcce5370
Merge pull request #2518 from kocsmy/design/styling-improvements
...
Design improvements
2018-05-17 19:08:09 +03:00
Zsolt Kocsmarszky
00a2dfd728
Add readme about illustration license
2018-05-17 14:32:16 +02:00
Zsolt Kocsmarszky
6ed03247ca
Merge https://github.com/getredash/redash into design/styling-improvements
2018-05-17 14:25:43 +02:00
Vladislav Denisov
fcafc40be3
yandex_metrika: codeclimate fixes #2
2018-05-17 10:58:32 +03:00
Arik Fraimovich
23df796740
Merge pull request #2537 from sieben/remove_trailing_semicolon
...
Remove trailing semicolon
2018-05-15 15:55:01 +03:00
Rémy Léone
309a8bd958
Remove trailing semicolon
2018-05-15 14:21:14 +02:00
Levko Kravets
2ed67005b9
Remove unused option
2018-05-15 12:47:13 +03:00
Arik Fraimovich
deb523ebd5
Merge pull request #2523 from innovia/hotfix/boolean-nullable-formator
...
Frontend: fix boolean field with null value display as null.
2018-05-15 11:32:18 +03:00
Arik Fraimovich
acc27f0579
Change migration to be safe to run along with other migrations
2018-05-14 22:02:10 +03:00
Vladislav Denisov
ef3c837a97
metrika: codeclimate fixes
2018-05-14 17:43:53 +03:00
Vladislav Denisov
4a62ab7ce4
Yandex Metrika query runner added
2018-05-14 17:21:58 +03:00
Arik Fraimovich
7553eef024
Remove dashboards recents tests
2018-05-14 11:02:25 +03:00
Arik Fraimovich
2279d32b3b
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 22:10:46 +03:00
Levko Kravets
d3e7393bad
Tags: edit (query and dashboard page); show tags in a sidebar (dashboard list page)
2018-05-10 21:51:39 +03:00
Arik Fraimovich
6cd9fe0b52
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 21:34:37 +03:00
Arik Fraimovich
42657ed95f
tag listing APIs implemented
2018-05-10 20:59:19 +03:00
Zsolt Kocsmarszky
bd6fac074c
Fix tag layouts on headers
2018-05-10 19:34:25 +03:00
Levko Kravets
c0294cdd0a
Tags: display on all pages
2018-05-10 19:25:37 +03:00
Zsolt Kocsmarszky
b0f6a78ebb
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 19:04:16 +03:00
Zsolt Kocsmarszky
3b4bd648fe
tags for queries and dashboards
2018-05-10 19:04:10 +03:00
Arik Fraimovich
0060c8a54f
Simpler data model for tags.
2018-05-10 18:58:58 +03:00
Arik Fraimovich
b1ffcbad79
Fixed add dashboard tags migration
2018-05-10 18:07:40 +03:00
Arik Fraimovich
52bda8d117
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 18:00:59 +03:00
Arik Fraimovich
08611c009c
Proper tags models
2018-05-10 18:00:54 +03:00
Zsolt Kocsmarszky
8081ea83bc
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 17:50:51 +03:00
Levko Kravets
6c0afc9c6f
Show spinner when loading dashboards and queries on list pages
2018-05-10 17:25:59 +03:00
Zsolt Kocsmarszky
3e16df9092
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 16:54:25 +03:00
Zsolt Kocsmarszky
8c4381a44d
Style tags for queries and dashboards
2018-05-10 16:54:15 +03:00
Arik Fraimovich
59f2cb94ab
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 14:15:19 +03:00
Arik Fraimovich
5b0a192784
Fix queries search API
2018-05-10 14:15:06 +03:00
Zsolt Kocsmarszky
1aa3dd15b3
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 14:05:55 +03:00
Zsolt Kocsmarszky
629117d2f0
Adding tags markup for query and dashboard
2018-05-10 14:05:46 +03:00
Levko Kravets
078f24ad6b
Favorites: restore queries search
2018-05-10 14:05:18 +03:00
Levko Kravets
f4a36410c0
Favorites: restore queries search
2018-05-10 14:01:42 +03:00
Zsolt Kocsmarszky
4dc2c44c01
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 13:17:30 +03:00
Zsolt Kocsmarszky
1186f31337
make entire dashboard and query list row clickable
2018-05-10 13:17:15 +03:00
Arik Fraimovich
5cc7b88235
Hide my dashboards/queries when you don't have permission to create them
2018-05-10 13:11:59 +03:00
Arik Fraimovich
6bbf6809cf
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 12:51:54 +03:00
Arik Fraimovich
28a08526e3
add org_id to favorites
2018-05-10 12:51:11 +03:00
Arik Fraimovich
7fe90675bd
Make sure user has access to favorite objects.
2018-05-10 12:41:58 +03:00
Zsolt Kocsmarszky
0958f591d1
add empty states for my queries/dashboard and fav queries/dashboards
2018-05-10 12:32:36 +03:00
Zsolt Kocsmarszky
33314abde7
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 12:00:56 +03:00
Zsolt Kocsmarszky
3a59f6cd0f
add empty condition for dashboard and query dropdown
2018-05-10 12:00:45 +03:00
Levko Kravets
eb71a655e8
Favorites: empty states on dashboards and queries list pages
2018-05-10 11:58:26 +03:00
Zsolt Kocsmarszky
4bb785eab4
Right aligned control area
2018-05-10 11:30:22 +03:00
deecay
19bfae3741
Fix pivot hide control in dashboards
2018-05-10 03:26:36 -04:00
Arik Fraimovich
afd3dd9860
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 21:43:00 +03:00
Arik Fraimovich
66737f0dc0
Almost complete implementation of favorties backend
2018-05-09 21:42:50 +03:00
Zsolt Kocsmarszky
f374661ad9
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-09 20:19:28 +03:00
Zsolt Kocsmarszky
ea6dbf643a
Nicer styling for lists
2018-05-09 20:19:15 +03:00
Levko Kravets
24fe52753e
Favorites: remove unnecessary code
2018-05-09 20:15:34 +03:00
Arik Fraimovich
8665747111
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 20:10:30 +03:00
Levko Kravets
fcc75cbd16
Favorites: page for favorite dashboards and queries
2018-05-09 20:07:58 +03:00
Zsolt Kocsmarszky
3974adeacd
Further refine styling for tags
2018-05-09 18:43:26 +03:00
Zsolt Kocsmarszky
7dc5d53934
Massive styling improvements for dashboards, queries and alerts lists
2018-05-09 18:27:40 +03:00
Arik Fraimovich
96a90722f1
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 16:55:47 +03:00
Levko Kravets
a4e52bcc96
Favorites: show favorite dashboards and queries in app header
2018-05-09 16:53:12 +03:00
Zsolt Kocsmarszky
3abeb6cf96
add and fix classes
2018-05-09 14:35:08 +03:00
Zsolt Kocsmarszky
057894aaf4
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-09 14:20:48 +03:00
Zsolt Kocsmarszky
c9ae48f466
Better queries page...
2018-05-09 14:20:12 +03:00
Levko Kravets
78092e525f
Favorites: show favorites on homepage instead of recent items
2018-05-09 14:19:28 +03:00
Arik Fraimovich
189b7889a3
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 14:08:18 +03:00
Zsolt Kocsmarszky
32e9b4c71c
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
...
# Conflicts:
# client/app/pages/queries/query.html
2018-05-09 13:42:18 +03:00
Zsolt Kocsmarszky
6c30f821f7
Add more details for favourites
2018-05-09 13:40:09 +03:00
Levko Kravets
8d99b7380c
Favorites: models, control on query list, query page, dashboard list, dashboard pages.
2018-05-09 13:39:47 +03:00
Arik Fraimovich
20f7405f0e
API stub for query object.
2018-05-09 12:58:53 +03:00
Arik Fraimovich
e32da8dbe3
Query favorites: API stub.
2018-05-09 12:57:30 +03:00
Zsolt Kocsmarszky
dbc2d984b3
Add base stuff for favourites
2018-05-09 12:56:00 +03:00
Ami Mahloof
ad0a9813e4
Frontend: fix boolean field with null value display as null.
2018-05-09 11:22:16 +03:00
Levko Kravets
e12d539234
getredash/redash#728 Chart: formats for values, labels and tooltips
2018-05-07 22:18:26 +03:00
Zsolt Kocsmarszky
87000ee4d6
Refine spacing and image size
2018-05-07 14:29:55 +03:00
Arik Fraimovich
414fabadf6
Merge pull request #2520 from kyoshidajp/filter_datasources
...
Filter data sources in a data source input area
2018-05-05 22:00:26 +03:00
Katsuhiko YOSHIDA
d6bebe1dcf
Filter data sources
2018-05-05 21:18:51 +09:00
Zsolt Kocsmarszky
66fd9531cc
Remove fullstop
2018-05-05 00:26:54 +02:00
Zsolt Kocsmarszky
045230d189
Add Illustration to empty states
2018-05-05 00:25:07 +02:00
Zsolt Kocsmarszky
7bd79124b7
Adjust spacing around Group header
2018-05-04 22:50:51 +02:00
Zsolt Kocsmarszky
11d52949a7
Overwrite toast notification colors to better match our color scheme
2018-05-04 22:48:28 +02:00
Zsolt Kocsmarszky
10fc89fc39
Increase query editor height
2018-05-04 22:26:51 +02:00
Zsolt Kocsmarszky
2e414db0b1
Fix query header on smaller screens
2018-05-04 22:16:23 +02:00
atharva.inamdar
48acc4c7a7
fix code climate lint issue with whitespace
2018-05-04 11:47:36 +01:00
atharva.inamdar
a0d039066d
fix tests for google spreadsheets
2018-05-04 11:21:55 +01:00
Katsuhiko YOSHIDA
bd1c5fa9e1
Add location property to BigQuery data source settings
2018-05-04 16:05:54 +09:00
atharva.inamdar
61106dec14
getredash/redash#2504 Update value parsing for google spreadsheets source
2018-05-03 16:35:24 +01:00
Katsuhiko YOSHIDA
26238ccfc1
Confirm delete a data source
2018-05-03 21:23:01 +09:00
Katsuhiko YOSHIDA
3e371d3ffd
Confirm delete a destination
2018-05-03 20:48:53 +09:00
Zsolt Kocsmarszky
038933f1f1
signed_out template fixes
2018-05-03 13:15:13 +02:00
Katsuhiko YOSHIDA
8243b6caed
Confirm delete a query snippet
2018-05-03 19:11:00 +09:00
Katsuhiko YOSHIDA
813a5db958
Refactoring: extract method about date format config
2018-05-03 18:17:02 +09:00
Katsuhiko YOSHIDA
971e501561
Show custom date format on settings page
2018-05-03 18:03:05 +09:00
Arik Fraimovich
a287fbf128
Remove old style files
2018-05-03 09:38:13 +03:00
Arik Fraimovich
d43bfa9d10
Version bump to 4.0.1
2018-05-02 17:18:00 +03:00
Arik Fraimovich
b4d7a25c74
Update CHANGELOG.md
2018-05-02 17:13:46 +03:00
Katsuhiko YOSHIDA
3021c7c0a9
Refactor to fix Code Climate error
2018-05-02 22:50:24 +09:00
Katsuhiko YOSHIDA
4ffcd6390b
Fix pep8 error
2018-05-02 22:02:04 +09:00
Arik Fraimovich
c8a3985f16
Merge pull request #2506 from kocsmy/fixes/overflowing-data-source-box
...
A nicer way of hiding overflowing text
2018-05-02 14:27:59 +03:00
Zsolt Kocsmarszky
3274a5d670
Add data source name to box title
2018-05-02 13:27:26 +02:00
Arik Fraimovich
8037c21a61
Merge pull request #2496 from akiray03/sorted-redshift-schema-info
...
Fixes the order of columns in the schema browser when Redshift is used as a DataSource.
2018-05-02 14:14:38 +03:00
Arik Fraimovich
ee8f6c1c71
Merge pull request #2472 from tonyjiangh/fix/disable_view_only_fork
...
Disable fork button for view_only user
2018-05-02 14:11:55 +03:00
Arik Fraimovich
bce0e8e547
Merge pull request #2507 from getredash/resolution
...
Log user's screen resolution
2018-05-02 14:09:52 +03:00
Arik Fraimovich
cddf398df4
Log user's screen resolution
2018-05-02 14:05:57 +03:00
Arik Fraimovich
bdb8682646
Merge pull request #2501 from getredash/fix-dashboard-filters
...
Improve dashboard refresh UX: show previous data while refreshing.
2018-05-02 14:02:59 +03:00
Arik Fraimovich
54bef2c05f
Remove console.log call
2018-05-02 14:02:43 +03:00
Zsolt Kocsmarszky
d326f2b46c
A nicer way of hiding overflowing text
2018-05-02 12:33:21 +02:00
Arik Fraimovich
06a7a7e65b
Merge pull request #2505 from kocsmy/fixes/overflowing-data-source-box
...
Hide overflowing content
2018-05-02 13:26:31 +03:00
Zsolt Kocsmarszky
fc0a074a07
Hide overflowing content
2018-05-02 12:18:36 +02:00
Arik Fraimovich
44a330a4e6
Merge pull request #2499 from kocsmy/design/design-improvements
...
Design improvements
2018-05-02 10:36:02 +03:00
Zsolt Kocsmarszky
ab284efac1
Fix contianer width
2018-04-30 16:00:57 +02:00
Arik Fraimovich
9d4fd75ea8
Fix: update tests.
2018-04-30 11:16:27 +03:00
Arik Fraimovich
4a9b93a131
Improve dashboard refresh UX: show previous data while refreshing.
...
Also refactored the Widget (client side) model to accomodate the necessary changes.
2018-04-30 11:01:36 +03:00
Zsolt Kocsmarszky
31a48cfe2b
Subtle background change
2018-04-29 14:59:27 +02:00
Zsolt Kocsmarszky
9df98b1c29
Fix login screen on smaller viewport
2018-04-29 14:59:11 +02:00
Akira Yumiyama
d1bc2fb649
Fixes the order of columns in the schema browser when Redshift is used as a DataSource.
2018-04-27 17:56:04 +09:00
Arik Fraimovich
df774b0304
Merge pull request #2492 from kravets-levko/bug/cohort-js-error
...
Cohort bug: JS error (value not wrapped with moment instance)
2018-04-26 15:04:44 +03:00
Levko Kravets
7ac0ba52dd
Cohort bug: JS error (value not wrapped with moment instance)
2018-04-26 14:00:56 +03:00
Arik Fraimovich
b2decc895f
Merge pull request #2487 from getredash/fix-dashboard-filters
...
Fix: dashboard filters setting wasn't persisting.
2018-04-25 11:46:45 +03:00
Arik Fraimovich
b12f3fb133
Merge pull request #2469 from PublicI/fix/null-number-format
...
Display nulls and empty values as blank in table numeric fields
2018-04-24 22:53:57 +03:00
Arik Fraimovich
fc30f141ec
Merge pull request #2489 from dbravender/2488-alert-date-column
...
Fixes #2488
2018-04-24 22:33:42 +03:00
Dan Bravender
277eb35aea
Fixes #2488
2018-04-24 13:50:44 -04:00
Arik Fraimovich
10bc9402b7
Fix: dashboard filters setting wasn't persisting.
2018-04-24 15:50:33 +03:00
Arik Fraimovich
16a07e19cc
Merge pull request #2485 from kocsmy/fixes/new-readme-gif
...
Update readme gif + some smaller content improvements
2018-04-24 15:12:17 +03:00
Zsolt Kocsmarszky
479b34faed
Make gif bigger
2018-04-24 14:04:31 +02:00
Zsolt Kocsmarszky
19eed1580e
Refine content
2018-04-24 14:03:42 +02:00
Zsolt Kocsmarszky
d312dffe2c
Update readme
2018-04-24 13:58:58 +02:00
matsumo
c426ef323d
add support ChatWork Alert Destination.
2018-04-23 17:14:01 +09:00
Arik Fraimovich
90677b2b51
Merge pull request #2475 from ariarijp/fix-pip-version
...
To avoid "cannot import name main" error
2018-04-22 13:44:28 +03:00
ariarijp
df9bd38c08
To avoid "cannot import name main" error
2018-04-20 11:39:36 +09:00
Hao Jiang
be86d659ed
Add $scope.canForkQuery() to data only view
2018-04-20 10:01:04 +09:00
Hao Jiang
66a4315ce2
Move dropdown disabled a tag color change code to disable class
2018-04-20 10:00:46 +09:00
Hao Jiang
b896dd461d
Disable fork for view_only user
2018-04-19 10:44:52 +09:00
Chris Zubak-Skees
615aea7678
Merge remote-tracking branch 'upstream/master' into fix-null-number-format
2018-04-17 12:35:07 -04:00
Chris Zubak-Skees
10a9978b04
Fix style in PR branch
2018-04-17 12:34:20 -04:00
Arik Fraimovich
3f3a86eac3
Update CHANGELOG.md
2018-04-16 11:50:46 +03:00
Arik Fraimovich
43a66fae82
Merge branch 'master' of github.com:getredash/redash
2018-04-16 11:21:24 +03:00
Arik Fraimovich
ed739e1292
Update version
2018-04-16 11:21:14 +03:00
Katsuhiko YOSHIDA
ffa70185be
Get all tables in the BigQuery
2018-04-15 22:59:37 +09:00
Arik Fraimovich
212c7eed46
Merge pull request #2457 from kyoshidajp/fix_td_syntax_error
...
Fix syntax error
2018-04-15 10:45:46 +03:00
Katsuhiko YOSHIDA
ce50042407
Fix syntax error
2018-04-14 09:46:05 +09:00
Arik Fraimovich
e17e36f9e4
Update CHANGELOG.md
2018-04-12 15:40:32 +03:00
Arik Fraimovich
0bc570d741
Merge pull request #2407 from alon710/master
...
adds mattermost destination
2018-04-12 15:17:58 +03:00
Arik Fraimovich
7465c74392
Merge pull request #2428 from toru-takahashi/master
...
Improve a query failure message for Treasure Data Runner
2018-04-12 15:14:24 +03:00
Arik Fraimovich
a8a91109ee
Merge pull request #2452 from kravets-levko/bug/firefox-widget-height-continuously-increases
...
Firefox: widget height continuously increases
2018-04-11 22:29:54 +03:00
Arik Fraimovich
add60c2552
Merge pull request #2451 from kravets-levko/bug/page-layout-lost
...
Wrong page layout if route change was cancelled
2018-04-11 22:29:26 +03:00
Chris Zubak-Skees
f055e6750a
Displays nulls and blanks in numeric fields as empty strings
2018-04-10 19:03:57 -04:00
Levko Kravets
4dc8826beb
Firefox, dashboard, auto-height feature: in some cases (loader shown and widget has params, but possibly other cases) widget start continuously growing
2018-04-10 21:08:27 +03:00
Levko Kravets
d35bbdb257
getredash/redash#2401 Wrong page layout if route change cancelled
2018-04-10 15:42:05 +03:00
Arik Fraimovich
8636c3310d
Merge pull request #2449 from getredash/botocore-update
...
Update botocore version.
2018-04-09 23:02:13 +03:00
Arik Fraimovich
eddd9419a4
Merge pull request #2450 from getredash/map-names
...
Update map visualizations names.
2018-04-09 22:57:40 +03:00
Arik Fraimovich
2d08314982
Update Choropleth visualization name.
2018-04-09 22:57:22 +03:00
Arik Fraimovich
28d69b0c60
Update map visualizations names.
2018-04-09 22:56:10 +03:00
Arik Fraimovich
7f76400550
Update botocore version.
...
Fixes #2400 .
2018-04-09 22:55:20 +03:00
Arik Fraimovich
f551b348a7
Merge pull request #2447 from getredash/patches
...
Fixes to new dashboard layout engine
2018-04-09 09:47:43 +03:00
Toru Takahashi
b1567f4d8d
Add safe guarding with .get()
2018-04-09 01:29:18 +09:00
Arik Fraimovich
d18c94a587
Merge pull request #2420 from fmy/patch-1
...
use MongoClient for ReplicaSet
2018-04-08 15:43:56 +03:00
Arik Fraimovich
f75c142981
Merge pull request #2434 from tonyjiangh/fix/funnel_typo
...
Fix funnel setting page typo
2018-04-08 15:39:09 +03:00
Arik Fraimovich
0959281a01
Merge pull request #2443 from deecay/choropleth-fullscreen
...
Choropleth: Add fullscreen control
2018-04-08 15:38:07 +03:00
Arik Fraimovich
96a0a512f3
Merge pull request #2446 from getredash/patches
...
Update pymongo version to support newer MongoDB versions
2018-04-08 15:33:06 +03:00
Levko Kravets
9899abfe6a
Fix: some legacy dashboards got their widgets misplaced when using auto height.
2018-04-08 15:32:24 +03:00
Arik Fraimovich
d02386488c
Fix: dashboard refresh was broken due to introduction of track by to ng-repeat.
2018-04-08 15:32:14 +03:00
Arik Fraimovich
5f25bc480c
Update pymongo version to support newer MongoDB versions
2018-04-08 15:26:35 +03:00
deecay
07b5003c6f
Map: Add fullscreen control
2018-04-07 14:37:44 +09:00
Arik Fraimovich
8aba5db862
Merge pull request #2441 from tnetennba3/pronoun-fix
...
Changed "his" to "their"
2018-04-06 21:22:44 +03:00
deecay
b3ee25079e
Choropleth: Add fullscreen control
2018-04-06 13:08:28 -04:00
tnetennba3
85179fd07b
Changed "his" to "their"
2018-04-05 16:27:20 +01:00
Hao Jiang
390360cc4e
Fix funnel setting page typo
2018-04-03 08:11:53 +09:00
Toru Takahashi
7edd5b9731
Improve a query failure message for Treasure Data Runner
2018-04-01 15:45:28 +09:00
Fumiya Karasawa
c681a50b19
use MongoClient for ReplicaSet
...
MongoReplicaSetClient is deprecated and will be removed in future.
See http://api.mongodb.com/python/current/api/pymongo/mongo_replica_set_client.html
```
MongoReplicaSetClient will be removed in a future version of PyMongo.
Changed in version 3.0: MongoClient is now the one and only client class for a standalone server, mongos, or replica set. It includes the functionality that had been split into MongoReplicaSetClient: it can connect to a replica set, discover all its members, and monitor the set for stepdowns, elections, and reconfigs.
```
2018-03-29 17:46:27 +09:00
Arik Fraimovich
8df2391a77
Merge pull request #2376 from valentin2105/master
...
Fix docker-entrypoint broke for other name than "postgres"
2018-03-27 09:16:14 +03:00
Valentin Ouvrard
0982e56ed0
fix entrypoint create_table() func.
2018-03-26 10:01:58 +11:00
Arik Fraimovich
0cb995bb35
Merge pull request #2413 from getredash/fix-bq
...
Fix: (BigQuery) UDF URI was used even if empty
2018-03-25 14:39:30 +03:00
Arik Fraimovich
d34d58bf33
Merge pull request #2374 from kravets-levko/feature/choropleth
...
Choropleth visualization
2018-03-25 14:34:45 +03:00
Arik Fraimovich
c19ff41392
Merge pull request #2406 from kravets-levko/feature/dashboard-gridstack
...
Replace dashboard engine with gridstack
2018-03-25 14:27:36 +03:00
Arik Fraimovich
abb6e56570
Fix: UDF URI was used even if empty
2018-03-25 14:22:36 +03:00
Arik Fraimovich
a7bba81969
Merge pull request #2412 from deecay/box-hover-fix
...
Fix: Box plot hover
2018-03-24 21:39:05 +03:00
deecay
6356a75478
Fix: Box plot hover
2018-03-24 20:57:04 +09:00
Levko Kravets
61ef5f9a02
gridstack: add comments, exclude lodash and moment locales from bundle
2018-03-23 19:50:55 +02:00
Levko Kravets
2fbf8926c4
gridstack: optimizations and bugfixes
2018-03-23 19:50:55 +02:00
Levko Kravets
ce9e3fcb35
Replace dashboard engine with gridstack
2018-03-23 19:50:28 +02:00
Arik Fraimovich
ffab6d5ec9
Merge pull request #2411 from getredash/patches
...
Multiple V4 regression fixes
2018-03-23 19:34:07 +03:00
Levko Kravets
be9bcaeb3d
Multiple fixes:
...
* Fix: line chart with category x-axis: when some values missing, wrong hints displayed on hover
* Fix: second Y-axis not displayed when stacking enabled
* Set of dashboard improvements and bug fixes
- set minimal height of widgets to 1 (was 4)
- bug: for some widgets auto-height wasn't calculated properly (sometimess too small, sometimes too large)
- bug: for small widgets, top-right menu was cut to widgets bounds
- bug: with opened top-right menu widgets with auto-height started "dancing"
- bug: at some point auto-height feature was disabling by itself (in fact - it depends on `angular-grindter`s internal processes)
- fix: widget with empty contents had extra 40px of white space (paddings of container)
* Add scrollbars to pivot table widgets
* Fix: 100% CPU loading caused page lags
2018-03-23 19:25:21 +03:00
Arik Fraimovich
d140e0418f
Fix: dashboard was reloading when clicking on refresh.
2018-03-23 19:22:23 +03:00
Arik Fraimovich
6685cb9e21
Load dashboard refresh rate from URL.
2018-03-23 19:22:06 +03:00
Arik Fraimovich
2f24cff33c
Plotly: increase Y value accuracy.
2018-03-23 19:20:28 +03:00
Arik Fraimovich
193a6cce3f
Fix: only try merging query object if it exists.
2018-03-23 19:18:28 +03:00
Arik Fraimovich
17951504f0
Change: apply time limit to alert status checking task.
2018-03-23 19:17:57 +03:00
Arik Fraimovich
ccffe70359
MSSQL Fix: UUID fields were detected as booleans.
2018-03-23 19:17:13 +03:00
Arik Fraimovich
503d6cecd0
DynamoDB fix: always return counter as a number rather than string.
2018-03-23 19:16:54 +03:00
Arik Fraimovich
6fbe06d262
Report Celery queue size.
2018-03-23 19:16:24 +03:00
Arik Fraimovich
2394f3fbe5
Add events property to Organization model.
2018-03-23 19:16:14 +03:00
Arik Fraimovich
cb815f3c8e
Render safe HTML by default in tables to remain backward compatible.
2018-03-23 19:15:47 +03:00
Arik Fraimovich
e6f6c02f90
Fix: saving widget was sending too much data to the server, sometimes making saving fail.
2018-03-23 19:13:40 +03:00
Arik Fraimovich
565e66715f
Fix: Fork button was shown in data only view, but wasn't working.
2018-03-23 19:13:15 +03:00
Arik Fraimovich
549de1355a
Change: show friendly names in dynamic forms labels.
2018-03-23 19:10:26 +03:00
Arik Fraimovich
d892ed48cc
Merge pull request #2387 from idalin/fix_ldap_login
...
fix no login form in ldap login page #2386
2018-03-22 14:04:30 +02:00
alon710
b96204654b
adds mattermost dest
2018-03-22 00:29:49 +02:00
Arik Fraimovich
3c75c2bb60
Update CONTRIBUTING.md
2018-03-21 16:41:02 +02:00
Arik Fraimovich
db020576ed
Merge pull request #2385 from kocsmy/fixex/cassandra-scylla-images
...
Add missing Cassandra and ScyllaDB images
2018-03-19 22:13:48 +02:00
idalin
5a93da3177
fix no login form in ldap login page #2386
2018-03-14 13:59:50 +08:00
Zsolt Kocsmarszky
d16285d239
Add missing images
2018-03-12 20:45:45 +01:00
Arik Fraimovich
0410d834d1
Merge pull request #2382 from deecay/webpack-ignore
...
Webpack: ignore vim swap files
2018-03-11 15:02:44 +02:00
deecay
b79abf52fd
Webpack: ignore vim swap files
2018-03-10 17:48:11 +09:00
Levko Kravets
6a61057813
getredash/redash#2317 CR1
...
- cache GeoJSON to avoid multiple HTTP requests;
- allow to edit map bounds;
- optimize update map calls (do not re-render it every time);
- UI/X imporvements.
2018-03-08 14:46:09 +02:00
Arik Fraimovich
1a75d49041
Merge pull request #2379 from getredash/fix_empty_states
...
Change: close metadata database connection early in the execute query Celery task
2018-03-08 11:17:30 +02:00
Arik Fraimovich
c054731794
Change: close metadata database connection early in the execute query
...
Celery task. This to prevent the task holding an idle connection for
a long period of time, while waiting for the query to finish.
2018-03-08 11:06:15 +02:00
Arik Fraimovich
a824bd5da3
Merge pull request #2378 from getredash/fix_empty_states
...
Empty state screen fix: show connect data source link only to admins
2018-03-08 09:53:29 +02:00
Arik Fraimovich
e1ff31718e
fix circle.yml
2018-03-08 09:46:45 +02:00
Arik Fraimovich
797b5582ac
Fix: show connect data source link only to admins
2018-03-08 09:43:30 +02:00
Valentin Ouvrard
452904398f
Fix docker-entrypoint broke for Other name than "postgres"
2018-03-08 10:04:29 +11:00
Levko Kravets
517f95fa01
Better resize handling
2018-03-07 09:14:24 +02:00
Levko Kravets
d5ee9cd007
Use data from current record for tooltip and popup contents
2018-03-06 21:40:27 +02:00
Levko Kravets
5918253022
Add option to align legend text
...
Remove Leaflet attribution
2018-03-06 21:24:39 +02:00
Levko Kravets
2f30dbf645
getredash/redash#2317 Choropleth visualization
2018-03-06 20:42:48 +02:00
Arik Fraimovich
88deb5fc47
Merge pull request #2372 from kravets-levko/fix/dancing-widgets
...
Fix: dashboard "dancing" widgets (when auto-height enabled)
2018-03-06 15:07:14 +02:00
Levko Kravets
27c7e86297
Fix: dashboard "dancing" widgets (when auto-height enabled)
2018-03-06 14:42:15 +02:00
Arik Fraimovich
051f12c712
Fix tags regex in circle.yml
2018-03-05 12:37:31 +02:00
Arik Fraimovich
f9ab83ed80
Merge pull request #2369 from getredash/query-refresh
...
Add: configuration for query refresh intervals.
2018-03-05 11:28:40 +02:00
Arik Fraimovich
c24bfe82e0
Update changelog.
2018-03-05 11:22:49 +02:00
Arik Fraimovich
4f27de3252
Add: configuration for query refresh intervals.
2018-03-05 11:22:08 +02:00
Arik Fraimovich
bf86d17d56
Stop spamming Docker Hub
2018-03-04 15:36:14 +02:00
Arik Fraimovich
54e23a7c84
Update CHANGELOG and update version.
2018-03-04 15:11:54 +02:00
Arik Fraimovich
6049e2df17
Merge pull request #2356 from kravets-levko/fix/dashboard-auto-height
...
Dashboard fixes and improvements
2018-03-04 14:50:48 +02:00
Arik Fraimovich
025af41616
Merge pull request #2260 from Top20Talent/master
...
Extend the Prometheus query runner to support the range query
2018-03-04 10:57:30 +02:00
Arik Fraimovich
d80f93a59d
Merge pull request #2355 from jezdez/glue-table-paginator-upstream
...
Use a paginator when iterating over glue tables
2018-03-04 10:56:56 +02:00
Arik Fraimovich
5aa4b28d53
Merge pull request #2354 from jezdez/redash-extensions
...
Add a Redash extension system based on Python entrypoints.
2018-03-04 10:56:08 +02:00
Arik Fraimovich
6a072dd33a
Merge pull request #2363 from kravets-levko/bug/query-page-unscrollable
...
Query page long visualization is unscrollable
2018-03-04 10:53:33 +02:00
Levko Kravets
67995085c6
getredash/redash#2361
2018-03-02 13:12:45 +02:00
Levko Kravets
9295a9d8fb
Dashboard: save only changed widgets
2018-03-01 16:28:34 +02:00
Levko Kravets
43cd24927f
gridsterAutoHeight: disable auto-height when widget resized by user
2018-03-01 14:46:53 +02:00
Jannis Leidel
6b41644557
Add a Redash extension system based on Python entrypoints.
...
This is along the lines of what Flask does for CLI plugins:
http://flask.pocoo.org/docs/0.12/cli/#cli-plugins
The API allows specifying Python callbacks that receive the
Redash Flask app as the only argument and allow extending
the Redash process with the usual Flask API as needed. This
does not cover front-end specific extensions (yet).
2018-02-28 23:37:03 +01:00
Blake Imsland
dceb58cd79
Use a paginator when iterating over glue tables
...
Without this you only get the first 100 tables in the glue database
2018-02-28 22:10:54 +01:00
Arik Fraimovich
570187fc1f
Merge pull request #2353 from kocsmy/fixes/filter-spacing-on-dashboards
...
Fix small spacing glitch on dashboard widgets
2018-02-28 18:16:09 +02:00
Zsolt Kocsmarszky
ca4663e3a4
fix small spacing glitch on dashboard widgets
2018-02-28 17:08:55 +01:00
Arik Fraimovich
6e097d5cec
Merge pull request #2352 from kravets-levko/bug/query-result-column-names
...
Cast column names to string
2018-02-28 17:08:28 +02:00
Arik Fraimovich
2c95231fd7
Merge pull request #2334 from tonyjiangh/feat/funnel_visualization
...
Add funnel visualization
2018-02-28 17:06:37 +02:00
Hao Jiang
0d80156eec
Rename visualization options for review
2018-02-28 23:44:42 +09:00
Levko Kravets
08c709c2ec
getredash/redash#1960 Cast column names to string; code style fixes
2018-02-28 13:28:15 +02:00
Arik Fraimovich
bb28b2f0fb
Merge pull request #2350 from getredash/auth
...
Authentication related settings improvements
2018-02-28 12:16:11 +02:00
Arik Fraimovich
0e4313de52
Merge pull request #2349 from kravets-levko/fix/dashboard-issues
...
Fix/dashboard issues
2018-02-27 23:22:59 +02:00
Arik Fraimovich
e76e29df24
Merge pull request #2348 from kocsmy/fixes/prometheus-logo
...
Add missing prometheus and snowflake logos
2018-02-27 23:21:09 +02:00
Arik Fraimovich
d1062ce0c4
Properly generate login URLs.
2018-02-27 23:14:57 +02:00
Arik Fraimovich
9ddf3745b8
Configuration for Google Apps.
2018-02-27 23:10:10 +02:00
Arik Fraimovich
0eefc7b592
join array filter.
2018-02-27 23:09:21 +02:00
Arik Fraimovich
bea035025e
Callout sections css.
2018-02-27 23:09:12 +02:00
Arik Fraimovich
33aa7b72b7
Enable debug mode for Flask.
2018-02-27 23:09:00 +02:00
Arik Fraimovich
ca54d23f92
Remove unused LESS code.
2018-02-27 23:08:43 +02:00
Levko Kravets
7d6244a322
Revisit default options; set auto-height for Table viz by default
2018-02-27 18:25:57 +02:00
Levko Kravets
f61a74bbee
Fix: 'Cannot read property of null' JS error when going away from dashboard page
2018-02-27 18:25:21 +02:00
Levko Kravets
7d258908c6
getredash/redash#2108 Fix: length limit increased
2018-02-27 18:24:26 +02:00
Zsolt Kocsmarszky
0e53356589
add missing prometheus and snowflake logos
2018-02-27 16:52:33 +01:00
Hao Jiang
aa43dcdb2b
Add hover text for full step name
2018-02-27 23:22:41 +09:00
Arik Fraimovich
093c48505a
Merge pull request #2347 from kravets-levko/fix/download-dataset-dropup
...
Fix: download dataset dropup is being cut off
2018-02-27 15:30:57 +02:00
Levko Kravets
c19ef632aa
Fix: download dataset dropup is being cut off
2018-02-27 15:24:37 +02:00
Arik Fraimovich
bb1455ec71
Merge pull request #2346 from getredash/auth
...
Authentication fixes (SAML and login page)
2018-02-26 21:11:52 +02:00
Arik Fraimovich
09af43c4a7
remove unnecessary test.
2018-02-26 20:57:21 +02:00
Arik Fraimovich
35594ecb00
Always show login page and generate URLs with url_for.
...
Close #1259 , #2235 .
2018-02-26 20:46:27 +02:00
Arik Fraimovich
3044c77309
Make SAML work in MULTI_ORG mode.
2018-02-26 20:40:28 +02:00
Hao Jiang
0632044573
Handle corner cases
2018-02-26 22:21:05 +09:00
jubel
e6551e9774
remove the type
2018-02-26 14:58:30 +08:00
Arik Fraimovich
11d09b2f09
Fix empty-state logic for MULTI_ORG mode
2018-02-25 11:49:07 +02:00
Arik Fraimovich
8676b846c2
Add support for symlinks in webpack config
2018-02-25 11:13:54 +02:00
Arik Fraimovich
d4f98aa7f7
Merge pull request #2337 from ariarijp/upgrade-sqlparse
...
Upgrade sqlparse to 0.2.4
2018-02-24 21:29:08 +02:00
Arik Fraimovich
35458e846c
Merge pull request #2338 from kravets-levko/fix/table-columns-nowrap
...
Custom CSS based on column type
2018-02-24 21:28:10 +02:00
jubel
49e9133fed
style adjustment
2018-02-24 16:35:10 +08:00
Levko Kravets
5dd76674ff
getredash/redash#2215 Custom CSS based on column type
2018-02-23 11:19:07 +02:00
Hao Jiang
8bdd5ff662
Fix sort order
2018-02-23 09:25:04 +09:00
Hao Jiang
9e68b36de6
Add support for selecting column to sort
2018-02-23 09:18:37 +09:00
Hao Jiang
e78bfb2e9a
Add support for column mapping
2018-02-23 09:15:56 +09:00
ariarijp
f5d4ca85d8
Upgrade sqlparse to 0.2.4
...
Add test case for /api/queries/format
2018-02-23 01:24:34 +09:00
Arik Fraimovich
c65b637bc4
Merge pull request #2336 from kravets-levko/fix/settings-tabs-order
...
Explicitly set order of tabs on Settings page
2018-02-22 15:31:52 +02:00
Levko Kravets
062efe349f
Explicitly set order of tabs on Settings page
2018-02-22 15:16:09 +02:00
Arik Fraimovich
696f46d64b
Merge pull request #2252 from kocsmy/design/empty-states
...
Empty states for Home, Dashboards, Queries and Alerts
2018-02-22 11:26:13 +02:00
Arik Fraimovich
42b88d9a32
Ignore archived objects.
2018-02-22 11:04:13 +02:00
Arik Fraimovich
3a840fcc5d
Implement empty states logic.
2018-02-22 11:02:12 +02:00
Hao Jiang
a333abcaa5
Use ColorPalette instead
2018-02-22 08:44:39 +09:00
Hao Jiang
d583f6f273
Add funnel visualization
2018-02-21 22:41:31 +09:00
Arik Fraimovich
a1aeb1d614
Merge pull request #2330 from getredash/arikfr-patch-1
...
Sort widgets by col/row to make sure they are placed correctly
2018-02-21 14:49:10 +02:00
Arik Fraimovich
bd13b78e21
Merge pull request #2320 from kravets-levko/bug/few-bugfixes
...
Few bugfixes
2018-02-20 22:41:05 +02:00
Arik Fraimovich
4d44be76ac
Create <empty-state> component.
2018-02-20 22:29:07 +02:00
Levko Kravets
8cd758cfb6
Update 'absoluteUrl' function
2018-02-20 22:13:48 +02:00
Arik Fraimovich
9a1077d192
Merge branch 'master' into design/empty-states
2018-02-20 21:09:43 +02:00
Arik Fraimovich
bc4f174e22
Sort widgets by col/row to make sure they are placed correctly
2018-02-20 20:45:32 +02:00
Levko Kravets
046595825c
Rename: fullUrl -> absoluteUrl
2018-02-19 23:19:03 +02:00
Arik Fraimovich
e0c5eabdd5
Merge pull request #2324 from kravets-levko/bug/type-of-first-table
...
User shouldn't be able to change the type of the first table
2018-02-19 23:07:26 +02:00
Arik Fraimovich
06e9d192ef
Merge pull request #2325 from benmanns/patch-1
...
Reduce restart to unless-stopped for Redis and Postgres
2018-02-19 22:33:43 +02:00
Arik Fraimovich
906c8fc767
Merge pull request #2282 from kocsmy/design/improve-default-visualisation-colors
...
Improve visualisation colors
2018-02-19 22:32:37 +02:00
Benjamin Manns
6149e00c2f
Reduce restart to unless-stopped for Redis and Postgres
...
`restart: always` will cause containers to restart when the machine is rebooted or the docker process restarts. Setting this to `unless-stopped` will mean the container will restart only if the docker process/computer was rebooted without stopping the container first. Otherwise, running `docker-compose stop` and rebooting will cause the docker containers all to start again (and goodbye laptop battery!)
We might also consider `restart: on-failures` which would mean that rebooting would _not_ cause containers to start again unless requested via `docker-compose up`.
2018-02-19 11:07:02 -05:00
Zsolt Kocsmarszky
b053770998
less vivid colors fo charts
2018-02-18 19:55:00 +01:00
Zsolt Kocsmarszky
45b380ca00
Merge branch 'master' into design/improve-default-visualisation-colors
2018-02-18 18:05:56 +01:00
Arik Fraimovich
631dad11d6
Merge pull request #2319 from kravets-levko/feature/server-pages-redesign
...
Redesign of all pages that are rendered by backend code
2018-02-18 14:53:49 +02:00
Levko Kravets
9647c37285
getredash/redash#2312
2018-02-18 14:08:44 +02:00
Zsolt Kocsmarszky
9e5f749556
Change default visualization colors
2018-02-17 18:21:11 +01:00
Zsolt Kocsmarszky
c69795c0cd
Merge branch 'master' into design/improve-default-visualisation-colors
2018-02-17 17:47:02 +01:00
Levko Kravets
339f5537c6
Remove code related to hidden text widgets + UI improvements
2018-02-16 21:25:29 +02:00
Levko Kravets
d2c5be5bd5
Replace with window.location
2018-02-16 21:04:45 +02:00
Levko Kravets
21b753f9b5
Bug fixed: empty page when trying to open public dashboard
2018-02-16 20:59:53 +02:00
Levko Kravets
a28a6ea127
Bug: Invite user / Reset password links should be full (include shema and host)
2018-02-16 20:39:18 +02:00
Levko Kravets
38da3e9fef
Add SSO login buttons to invite user page; UI fixes
2018-02-16 13:32:40 +02:00
Levko Kravets
f1aad2545e
redesign of all pages that are rendered by backend code
2018-02-15 21:49:11 +02:00
Arik Fraimovich
927599cf00
Mark current version as v4-beta
2018-02-14 17:06:51 +02:00
Arik Fraimovich
eae3b1dc0f
Update changelog for v4
2018-02-14 16:26:44 +02:00
Arik Fraimovich
d6cc7489b1
Merge pull request #2311 from kravets-levko/feature/add-widget-dialog-update
...
Add Widget Dialog UX Update
2018-02-14 12:52:12 +02:00
Arik Fraimovich
1b6aaeb663
Merge pull request #2314 from kocsmy/design/add-csv-image
...
Add CSV image for data source images
2018-02-14 10:17:24 +02:00
yuua
edd709838d
Fix: pyHive type matches
2018-02-14 11:52:17 +09:00
Zsolt Kocsmarszky
5e72e6bf1a
add CSV image
2018-02-14 00:54:39 +01:00
Levko Kravets
fa03e12b96
getredash/redash#2214 CR1
2018-02-13 23:39:10 +02:00
Arik Fraimovich
adb6a1adee
Merge pull request #2313 from kravets-levko/bug/cannot-remove-widgets
...
Fix: widget is not removed from dashboard, only after page refresh
2018-02-13 22:47:30 +02:00
Levko Kravets
8ec0cda10b
Fix: widget is not removed from dashboard, only after page refresh
2018-02-13 21:53:21 +02:00
Levko Kravets
41789fa1db
getredash/redash#2214 Add Widget Dialog UX Update
2018-02-13 20:47:30 +02:00
Arik Fraimovich
17f3b1e92d
Merge pull request #1692 from kakakakakku/fix-redis-metrics
...
Fixed monitoring metrics for Redis
2018-02-11 15:54:58 +02:00
Arik Fraimovich
aa06e44ff8
Merge pull request #2099 from ariarijp/fix/create_db
...
Fix create_db command of docker-entrypoint
2018-02-11 15:48:56 +02:00
Arik Fraimovich
94295788ec
Merge pull request #2248 from sjakthol/multiorg-header-login
...
feat: make trusted header authentication compatible with multiorg mode
2018-02-11 15:41:46 +02:00
Arik Fraimovich
5aa620d1ec
Merge pull request #2309 from getredash/fix_params
...
Add: API to return events
2018-02-11 12:11:32 +02:00
Arik Fraimovich
2560d887f0
Fix import call
2018-02-11 12:04:12 +02:00
Arik Fraimovich
f14388f770
Require admin for events GET call.
2018-02-11 11:57:46 +02:00
Arik Fraimovich
7e4cb4c543
Add: API to return events
2018-02-11 11:56:10 +02:00
Arik Fraimovich
953efc472f
Merge pull request #2308 from getredash/fix_params
...
Fix: parameters list was resetting when adding a new parameter
2018-02-11 11:55:47 +02:00
Arik Fraimovich
5343dd9acf
Fix: parameters list was resetting when adding a new parameter
2018-02-11 11:48:12 +02:00
Arik Fraimovich
29c675b553
Update RDS CA bundle
2018-02-11 11:40:56 +02:00
Arik Fraimovich
e328b783f3
Make the S3 staging path label mention query results
2018-02-11 10:26:25 +02:00
Arik Fraimovich
e183b51702
Merge pull request #2307 from getredash/mognodb_nested_fields
...
Add an option to set a common prefix to the backend logs.
2018-02-10 22:09:39 +02:00
Arik Fraimovich
a82239d719
Add an option to set a common prefix to the backend logs.
2018-02-10 22:08:01 +02:00
Arik Fraimovich
12f9c1a159
Merge pull request #2306 from getredash/mognodb_nested_fields
...
Add Prometheus to the default query runners list.
2018-02-10 22:06:42 +02:00
Arik Fraimovich
037f8b7183
Add Prometheus to the default query runners list.
2018-02-10 22:05:59 +02:00
Arik Fraimovich
ce69d3069b
Merge pull request #2305 from getredash/mognodb_nested_fields
...
Update botocore version to support Glue
2018-02-10 22:05:52 +02:00
Arik Fraimovich
66a8941a23
Update botocore version to support Glue
2018-02-10 22:04:36 +02:00
Arik Fraimovich
94a770ae7a
Merge pull request #2304 from getredash/mognodb_nested_fields
...
Close #1199 : support for nested fields in MongoDB results
2018-02-10 22:03:04 +02:00
Arik Fraimovich
0bbfa8bb8e
remove whitespaces
2018-02-10 22:00:55 +02:00
Arik Fraimovich
5ad893a266
Close #1199 : support for nested fields in MongoDB results
2018-02-10 21:55:06 +02:00
Arik Fraimovich
790ac2ec54
Merge pull request #2303 from kravets-levko/fix/webpack-config-3
...
Fix webpack config (server-rendered pages); fix assets URLs
2018-02-09 22:34:32 +02:00
Levko Kravets
ceb1c62528
Fix webpack config (server-rendered pages); fix assets URLs
2018-02-09 19:16:48 +02:00
Arik Fraimovich
e460c18d4a
Merge pull request #2301 from kravets-levko/fix/webpack-config-2
...
Fix webpack config and some assets URLs
2018-02-08 20:27:06 +02:00
Levko Kravets
182d2d040e
Fix config; fix assets URLs
2018-02-08 16:39:36 +02:00
Levko Kravets
878908cbf7
Fix webpack config and some assets URLs
2018-02-08 14:07:26 +02:00
Arik Fraimovich
f703a602f0
Merge pull request #2266 from javier-sanz/quotedPasswords
...
Url password can have quoted special characters.
2018-02-08 11:49:24 +02:00
Arik Fraimovich
07d8babab4
Merge pull request #2296 from getredash/webpack
...
Assets serving changes
2018-02-08 11:39:36 +02:00
Arik Fraimovich
5e97834b80
Fix upgrade script to support CI builds
2018-02-08 11:35:12 +02:00
Arik Fraimovich
943dcf1da3
Merge pull request #2281 from kravets-levko/feature/cohort-improvements
...
Cohort visualization improvements
2018-02-08 11:27:35 +02:00
Arik Fraimovich
4090875fcd
Merge pull request #2257 from kocsmy/design/error-pages
...
Error screens
2018-02-08 09:38:05 +02:00
Arik Fraimovich
e69f8fa009
Show standard error messages.
2018-02-08 09:33:03 +02:00
Arik Fraimovich
d6eb8f436f
Handle unknown routes in Angular by showing Page Not Found error
2018-02-08 09:33:03 +02:00
Zsolt Kocsmarszky
69b3ea4715
Rearrange the error-state box and place it middle
2018-02-08 09:33:03 +02:00
Zsolt Kocsmarszky
8f52f51e91
Fix content to center
2018-02-08 09:33:03 +02:00
Zsolt Kocsmarszky
a668416dae
Nicer error message and box with icon
2018-02-08 09:33:03 +02:00
Arik Fraimovich
96ad3aaa25
Use jQuery from npm packages
2018-02-07 23:08:03 +02:00
Arik Fraimovich
4e5c425932
Merge pull request #2297 from kravets-levko/bug/filter-dropdown
...
Filters dropdown is "trapped" inside the widget area
2018-02-07 21:09:01 +02:00
Arik Fraimovich
549416694f
Fix: login_required decorator was misplaced
2018-02-07 21:07:04 +02:00
Levko Kravets
9532540b54
getredash/redash#2295
2018-02-07 20:22:02 +02:00
Arik Fraimovich
a6cf7643c9
Fix webpack-dev-server setup
2018-02-07 17:18:38 +02:00
Arik Fraimovich
568b3e392b
Switch back to single assets path.
2018-02-07 16:43:48 +02:00
Arik Fraimovich
40ffa349f0
Load all assets from a single directory (Webpack's output path). Also make sure all assets URLs are prefixed with /static/ and remove our custom assets serving handler.
2018-02-07 16:43:25 +02:00
Arik Fraimovich
95f4d993b7
Added webpack-manifest plugin
2018-02-07 14:15:21 +02:00
Levko Kravets
f303bc7f53
getredash/redash#2163 CR1
2018-02-07 11:04:47 +02:00
Zsolt Kocsmárszky
d81af63f24
Merge pull request #2291 from kravets-levko/fix/query-refresh-schedule
...
Make "refresh schedule" part of the rest of the query metadata
2018-02-06 12:31:21 +01:00
Arik Fraimovich
722678f6d1
Merge pull request #2278 from getredash/dashboards_migrations
...
Move widget position logic migration to the backend and remove some unused code.
2018-02-06 08:44:31 +02:00
Arik Fraimovich
c0778809ab
Merge pull request #2288 from kocsmy/design/new-user-layout
...
New user layout improvement
2018-02-05 13:41:43 +02:00
Arik Fraimovich
8679cfefbf
Merge pull request #2289 from kocsmy/design/visualisation-editor-improvements
...
Improve visualisation editor
2018-02-05 13:37:35 +02:00
Levko Kravets
5064744f8b
getredash/redash#2279
2018-02-05 13:35:50 +02:00
Arik Fraimovich
ce15f5665c
Merge pull request #2290 from kravets-levko/bug/table-html-escape
...
Don't escape values in non-html mode
2018-02-05 13:12:44 +02:00
Levko Kravets
8d973d847d
getredash/redash#1731 Don't escape values in non-html mode
2018-02-05 13:04:11 +02:00
Zsolt Kocsmarszky
fd030e4d77
Further improve design details
2018-02-05 02:22:05 +01:00
Zsolt Kocsmarszky
6d12794c96
better layout for the visualisation editor
2018-02-05 02:14:30 +01:00
Zsolt Kocsmarszky
af4ecb5085
Nicer layout for add user + typoe fix
2018-02-05 01:52:31 +01:00
Arik Fraimovich
a5904a6e50
Merge pull request #2287 from kravets-levko/feature/table-link-column
...
Table visualization: "Link" column type
2018-02-04 15:26:17 +02:00
Levko Kravets
361b68d857
Table viz: Link column CR1
2018-02-04 15:25:39 +02:00
Levko Kravets
55d47ede08
Table viz: Link column type
2018-02-04 15:06:08 +02:00
Arik Fraimovich
d97b8d0958
Cast totalBytesProcessed to int.
2018-02-03 21:14:50 +02:00
Zsolt Kocsmarszky
2ed446be80
less neon green
2018-02-02 22:41:47 +01:00
Arik Fraimovich
178f46e5b1
Merge pull request #2284 from getredash/bigquery
...
Improvements to BigQuery query runner
2018-02-02 23:19:51 +02:00
Arik Fraimovich
d01dfe4bf7
BigQuery: show amout of data scanned.
2018-02-02 23:18:27 +02:00
Arik Fraimovich
2f8db2531f
BigQuery: properly handle RECORD fields (show nested fields).
...
Closes #1413 .
2018-02-02 23:18:04 +02:00
Sami Jaktholm
4a719fcb39
followup: coding style fixes to tests
2018-02-02 20:17:53 +02:00
Sami Jaktholm
a96b0b6e4c
feat: make trusted header authentication compatible with multiorg mode
...
The previous implementation of remote header login did not
support the multiorg mode of Re:Dash. These changes modify
the trusted header authentication to expose a per-organization
login endpoint that logs users in the specified organization.
The feature itself is not that interesting as multiorg is pretty
much impossible to use in a standalone Re:Dash installation. What's
more interesting is that all tests are executed in multiorg mode. It's
not possible to write tests for the trusted header authentication if
the method does not support multiorg mode.
To make benefits of these changes more concrete, some tests were
written to test the basic functionality of trusted header
authentication.
2018-02-02 20:17:53 +02:00
Arik Fraimovich
daea3337b0
Merge pull request #2283 from kravets-levko/feature/table-image-column
...
Table visualization: "Image" column type
2018-02-02 17:32:05 +02:00
Levko Kravets
868944bd91
getredash/redash#2138 Table viz: Image column type
2018-02-02 16:34:09 +02:00
Zsolt Kocsmarszky
caf0070d14
Merge branch 'master' into design/improve-default-visualisation-colors
2018-02-01 22:35:01 +01:00
Zsolt Kocsmarszky
c9b28785fb
Improve visualisation colors
2018-02-01 22:32:30 +01:00
Levko Kravets
af7fb278e8
Cohort viz: add Mode option and two rendering modes; options to map columns; UI tweaks
2018-02-01 18:16:00 +02:00
Arik Fraimovich
34d22ee418
Merge pull request #2245 from kocsmy/design/query-round-3
...
Further Query Improvements
2018-02-01 14:47:41 +02:00
Arik Fraimovich
33b4c7c4c3
Move widget position logic migration to the backend and remove some unused code.
...
Closes #2218 .
2018-02-01 14:40:40 +02:00
Arik Fraimovich
a6f3873059
Merge pull request #2247 from sjakthol/saml-groups-fix
...
fix: commit saml user group assignment to the database
2018-02-01 14:29:34 +02:00
Arik Fraimovich
aa60554389
Merge pull request #2249 from sjakthol/saml-settings-form-fix
...
fix: update correct settings in saml settings form
2018-02-01 14:25:14 +02:00
Arik Fraimovich
6f7e95d419
Merge pull request #2267 from alexdrans/es_source_content_type_fix
...
Setting source_content_type on ES queries
2018-02-01 14:23:52 +02:00
Arik Fraimovich
4c7a0cdc3b
Merge pull request #2270 from jezdez/celery-3.1.25
...
Upgrade to Celery 3.1.25 in preparation to Celery 4.
2018-02-01 14:21:26 +02:00
Arik Fraimovich
bbfad16712
Merge pull request #2277 from kocsmy/fixes/widget-parameter-padding
...
Fix bottom spacing for widget parameter section
2018-02-01 09:19:23 +02:00
Zsolt Kocsmarszky
94d47abee6
Remove code duplicate
2018-01-31 22:07:29 +01:00
Zsolt Kocsmarszky
75c94c2cbd
Fix parameter bottom spacing on widgets
2018-01-31 22:06:10 +01:00
Javier Sanz Olivera
44c2526da2
Fixing style
2018-01-31 16:07:23 +01:00
Javier Sanz Olivera
c05e4b7366
Adapting code to redish style plus added the field to the helper
2018-01-31 16:03:50 +01:00
Arik Fraimovich
77eeba264f
Merge pull request #2276 from kravets-levko/fix/insert-shema-node-by-click
...
Insert schema node by click - fixes
2018-01-31 17:02:44 +02:00
Levko Kravets
bbe11f597c
Insert only column name; save cursor position
2018-01-31 16:57:55 +02:00
Levko Kravets
3950c9e5e6
Move scrollbars from right-side area to visualization area
2018-01-31 13:39:40 +02:00
Levko Kravets
6839976312
Fix bug: query editor did not restore its size after toggle
2018-01-31 13:35:40 +02:00
Levko Kravets
7fa765911f
Remove unused styles
2018-01-31 13:35:40 +02:00
Levko Kravets
d5acf48161
getredash/redash#2234 Toggle resizable blocks
2018-01-31 13:35:40 +02:00
Levko Kravets
dfc9c5d02b
getredash/redash#2234 CR1
2018-01-31 13:35:40 +02:00
Levko Kravets
d2c80e96f7
getredash/redash#2234 Improve query page markup + add scrollbars for each region
2018-01-31 13:35:40 +02:00
Zsolt Kocsmarszky
34a2d5fdc4
Move publish button the visible area
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
936144f6a0
attach people data to the bottom too
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
bacddea809
smaller padding fix
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
5404cc6377
fix schema editor on smaller screens
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
9c28948d5c
make schema browser fill up the space
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
797393727d
Attach refresh tot he bottom
2018-01-31 13:28:46 +02:00
Arik Fraimovich
2655dbe939
Merge pull request #2275 from kravets-levko/bug/insert-node-update-model
...
Query editor insert node from schema browser update ngModel
2018-01-31 13:09:25 +02:00
Levko Kravets
c2de59ca33
Query editor insert node from schema browser - update ng-model
2018-01-31 13:04:15 +02:00
Arik Fraimovich
a5c954a954
Merge pull request #2273 from kravets-levko/bug/dashboard-dropdown
...
Open "Refresh" dropdown to the left
2018-01-31 12:13:07 +02:00
Levko Kravets
b6827bb8c2
getredash/redash#2272 Open dropdown to the left
2018-01-31 11:49:25 +02:00
Arik Fraimovich
5dde17e421
Merge pull request #2269 from kravets-levko/fix/remove-progress-when-query-param-changes
...
Remove loading indicator when updating query parameter value (before executing)
2018-01-31 11:28:07 +02:00
Levko Kravets
06b5b09b86
getredash/redash#2161 Remove loading indicator when query params changed
2018-01-30 21:06:15 +02:00
Jannis Leidel
7b82203fb1
Upgrade to Celery 3.1.25 in preparation to Celery 4.
...
To prepare for a future Celery upgrade to verson 4.x this upgrades
Redash to 3.1.25 which includes support for Celery's task protocol 2.
It's the first of two steps to get Redash upgraded to Celery 4.x.
3.1.4 release notes: http://docs.celeryproject.org/en/3.1/changelog.html#version-3-1-24
4.0 release notes regarding the two-step-upgrade approach: http://docs.celeryproject.org/en/latest/whatsnew-4.0.html#step-1-upgrade-to-celery-3-1-25
2018-01-30 19:22:33 +01:00
Arik Fraimovich
e2042b13b0
Merge pull request #2268 from getredash/dashboard-refresh-interval
...
Make dashboard refresh intervals configurable
2018-01-30 13:49:19 +02:00
Arik Fraimovich
a557d9fa70
Make dashboard refresh intervals configurable
2018-01-30 13:46:19 +02:00
Alex Dransfield
21d14c5388
Setting source_content_type on ES queries
2018-01-30 11:02:01 +00:00
Javier Sanz Olivera
e605176673
Fixing style issue.
2018-01-30 01:19:03 +01:00
Javier Sanz Olivera
4a8a23768f
Fixing build and some style issues.
2018-01-30 01:15:17 +01:00
Javier Sanz Olivera
11d4fb4dbe
Password can be None
2018-01-30 01:07:51 +01:00
Javier Sanz Olivera
a948544d4c
Removing unused import.
2018-01-30 00:52:11 +01:00
Javier Sanz Olivera
cf7d04332b
Reverting unquote helper change.
2018-01-30 00:51:13 +01:00
Javier Sanz Olivera
c614ff4a15
Url password can have quoted special characters.
2018-01-30 00:37:30 +01:00
Arik Fraimovich
817f2ba9af
Merge pull request #2156 from kravets-levko/feature/revisit-chart
...
Revisit Plotly integration
2018-01-29 16:48:37 +02:00
Levko Kravets
862bc947f7
getredash/redash#2117 CR7
2018-01-29 12:44:43 +02:00
Arik Fraimovich
d38a443053
Merge pull request #2246 from kyoshidajp/enable_list_query
...
[WIP]Enable list query by one character when adding widget on Dashboard
2018-01-28 14:09:09 +02:00
Arik Fraimovich
c7284d6662
Merge pull request #2264 from kocsmy/design/pivot-table
...
Improved pivot table design
2018-01-28 13:58:40 +02:00
Arik Fraimovich
76d8613d3e
Merge pull request #2219 from kocsmy/design/new-dashboard-creation
...
Improve dashboard editing flow
2018-01-28 13:18:39 +02:00
Arik Fraimovich
3aee4e9ed8
remove second add-widget-container
2018-01-28 13:17:55 +02:00
Arik Fraimovich
4029821e93
Properly handle dashbaords filters toggle.
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
5a9b86ff69
make button texts consistent with queries
2018-01-28 12:37:35 +02:00
Arik Fraimovich
c7dbe07b33
Single dashboard editing mode.
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
a98eff8901
improve widget description
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
b090b6b9dc
Only render parameters div if we have parameters
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
dd3916672a
Wider add widget section for dashboards
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
f7512f18f6
Fix schema hover on sub-items
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
cfb4a1c4f7
Simplify markup and add more styling for add new widget box
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
4b74ab361a
Styling improvements + show buttons in the right context
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
977608198e
position: sticke for dashboard-header
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
7b62ee8715
Add extra header class and fixed styling
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
80e07c6cf9
add ng-if to hide and show sections accordingly
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
043a1eedcf
Add missing class for consistency
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
d95c9565f3
plenty of dashboard, filter and parameter fixes (still not the best, it's very messy here)
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
84532f84ac
Improve dashboard widget creation and publish process with multiple design improvements
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
d9892f852b
add new widget to the bottom of the dashboard
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
d6847201e5
Optimise and remove unnecessary code
2018-01-27 13:52:07 +01:00
Zsolt Kocsmarszky
b6ac96ef72
various styling improvements for pivot table to match current design direction
2018-01-27 11:31:31 +01:00
jubel
135af39fd4
support the range query of until now
2018-01-26 14:22:27 +08:00
jubel
8a2676701b
extend the prometheus query runner to support the range query
2018-01-26 13:16:28 +08:00
Arik Fraimovich
060fe1dd9c
Merge pull request #2259 from shinji19/master
...
Fix google oauth login for multi organization
2018-01-25 19:54:43 +02:00
SHINJI ICHIHARA
01a7b4eca8
Fix google_auth login for organization
2018-01-26 02:06:31 +09:00
Arik Fraimovich
ba0b9da09f
Fix syntax errors.
2018-01-25 12:39:47 +02:00
Zsolt Kocsmarszky
e97fd7da5b
add spacing between empty state window and content
2018-01-23 15:28:43 +01:00
Zsolt Kocsmarszky
3477a5540a
add icons and fix smaller screen layout
2018-01-23 15:27:24 +01:00
Arik Fraimovich
61a0aaa858
Merge pull request #2250 from getredash/ds_ui_select
...
Use ui-select for data source picker for consistent style across browsers
2018-01-23 09:46:21 +02:00
Zsolt Kocsmárszky
1b03785a24
Merge pull request #2253 from kocsmy/fixes/queries-search-page-fixed-layout
...
Fix width for queries/search page as well
2018-01-22 22:43:21 +01:00
Zsolt Kocsmarszky
2c3052eaaa
Fix width for queries/search page as well
2018-01-22 22:34:38 +01:00
Zsolt Kocsmarszky
490c8f38d8
Make section full width, remove double titles and minor styling improvements
2018-01-22 22:24:30 +01:00
Zsolt Kocsmarszky
5c5c08ae39
Add empty states for home, dashboards, queries and alerts
2018-01-22 22:03:06 +01:00
Zsolt Kocsmárszky
1ac9e6ee4c
Merge pull request #2251 from yoavbls/master
...
Add mapd, oracle and qubole images
2018-01-22 16:37:47 +01:00
Your Name
1f99cd9e55
Add mapd, oracle and qubole images
2018-01-21 01:17:51 +02:00
Arik Fraimovich
b977526b93
Use ui-select for data source picker for consistent style across browsers
2018-01-20 20:51:01 +02:00
Sami Jaktholm
6dacfaffc7
fix: update correct settings in saml settings form
...
The entity_id and nameid_format form fields didn't work as they
tried to save a setting with an incorrect name. This has now
been fixed and the form can be used to configure these values.
A short debounce delay was also added to the form to avoid
saving the value after every keystroke (if values are inputted
manually).
2018-01-20 17:31:49 +02:00
Sami Jaktholm
fe2772e9db
fix: commit saml user group assignment to the database
...
Relevant tests were also modified to reload the user
object from the database before asserting that the
user belongs to correct groups.
Fixes #1668 .
2018-01-20 15:19:03 +02:00
Katsuhiko YOSHIDA
55c4bb16e2
Enable list query by one character
2018-01-20 12:10:17 +09:00
Levko Kravets
92091bf628
Resolve conflicts with master
2018-01-19 19:39:43 +02:00
Levko Kravets
18b30d6baa
getredash/redash#2117 CR6
2018-01-19 19:30:53 +02:00
Levko Kravets
084a2f8806
getredash/redash#2117 CR5
2018-01-19 19:30:53 +02:00
Levko Kravets
c5acf6580c
getredash/redash#2117 CR4
2018-01-19 19:30:53 +02:00
Levko Kravets
4f4411a46a
getredash/redash#2117 CR3
2018-01-19 19:30:53 +02:00
Levko Kravets
2eaec6970e
getredash/redash#2117 CR2
2018-01-19 19:30:53 +02:00
Levko Kravets
30836e76d2
getredash/redash#2117 CR1
2018-01-19 19:30:53 +02:00
Levko Kravets
4547b8b735
getredash/redash#2117 Annotations
2018-01-19 19:30:53 +02:00
Levko Kravets
0cefed7108
getredash/redash#2117 Fix line/area stacking; UI improvements
2018-01-19 19:30:53 +02:00
Levko Kravets
878dc91edb
getredash/redash#2117 Optimize code, add more stacking options, fix percent stacking bugs
2018-01-19 19:30:53 +02:00
Levko Kravets
249b78c202
getredash/redash#2117 Revisit Plotly integration
2018-01-19 19:30:53 +02:00
Arik Fraimovich
a4d9ed5418
Merge pull request #2231 from kravets-levko/feature/wide-table
...
100%-wide results table
2018-01-19 19:01:14 +02:00
Arik Fraimovich
0207449162
Merge pull request #2244 from kocsmy/fixes/python-logo
...
Add missing python logo
2018-01-19 15:42:12 +02:00
Zsolt Kocsmarszky
2e7b1b4066
Add missing python logo
2018-01-19 13:29:10 +01:00
Arik Fraimovich
7ef94c82f4
Update ISSUE_TEMPLATE.md
2018-01-18 20:17:31 +02:00
Arik Fraimovich
4f1d46cb59
Update ISSUE_TEMPLATE.md
2018-01-18 20:16:50 +02:00
Arik Fraimovich
a1473d6dda
Make it clearer people should use the forum.
2018-01-18 20:15:45 +02:00
Arik Fraimovich
0efdd479d6
Merge pull request #2225 from kravets-levko/feature/insert-schema-doubleclick
...
Insert schema node into editor by click
2018-01-18 16:07:05 +02:00
Arik Fraimovich
c2e28b21cf
Merge pull request #2185 from kocsmy/design/new-data-source+query-editor
...
Design/new data source+query editor
2018-01-18 16:05:22 +02:00
Levko Kravets
7d5bcb8dbf
getredash/redash#2215 100%-wide results table
2018-01-18 12:26:49 +02:00
Levko Kravets
c0d86c2766
Rename event to be more generic
2018-01-17 22:26:31 +02:00
Arik Fraimovich
dcf867e4c5
Merge pull request #2226 from kravets-levko/feature/dashboard-remove-embed-related-code
...
Remove ?embed-related code in public dashboards
2018-01-17 21:08:25 +02:00
Levko Kravets
5dc01f762f
Replace double-click with icon+single click
2018-01-16 18:26:46 +02:00
Zsolt Kocsmarszky
11cfc66cef
Add Redash styling to editor
2018-01-15 22:52:54 +01:00
Levko Kravets
f5ed122430
getredash/redash#1940 Remove ?embed-related code in public dashboards
2018-01-15 20:33:41 +02:00
Zsolt Kocsmarszky
612710f37c
Fix Firefox issue
2018-01-14 21:29:57 +01:00
Zsolt Kocsmarszky
ca69a24729
cleanup css
2018-01-14 21:14:40 +01:00
Zsolt Kocsmarszky
45c75a81e6
Smaller fixes for smaller screens
2018-01-14 21:12:57 +01:00
Zsolt Kocsmarszky
e04729a381
Plenty of improvements based on #2185 comments
2018-01-14 19:31:18 +01:00
Zsolt Kocsmarszky
7ba5cc51e3
move updated at time to the right
2018-01-14 18:03:21 +01:00
Levko Kravets
c65597b35d
Fix code style
2018-01-14 14:03:50 +02:00
Levko Kravets
6c4023289e
Insert schema path into editor by double click
2018-01-14 14:01:49 +02:00
kakakakakku
ee2acc81ff
Fixed monitoring metrics for Redis
2018-01-14 00:51:39 +09:00
Arik Fraimovich
3aa3f7f08d
Merge pull request #2221 from mozilla/search-result-sort
...
correctly sort search result columns
2018-01-12 22:42:25 +02:00
Arik Fraimovich
a6e05e0419
Merge pull request #2222 from kakakakakku/rename-elasticsearch
...
Renamed to "Elasticsearch"
2018-01-12 22:41:16 +02:00
Arik Fraimovich
7e2a14e496
Merge pull request #2223 from shigemk2/license-2018
...
It's 2018 now ! 🎉
2018-01-12 15:54:06 +02:00
Michihito Shigemura
30cc0cc1a4
It's 2018 now ! 🎉
2018-01-12 19:08:33 +09:00
kakakakakku
cf436e45a4
Renamed to "Elasticsearch"
2018-01-12 17:18:57 +09:00
Allen Short
3b2b27a883
correctly sort search result columns
2018-01-12 03:47:35 +00:00
Arik Fraimovich
691dc6a24c
Merge pull request #2041 from jezdez/fulltext-search
...
Add full text search for queries based on the Postgres tsvector type.
2018-01-11 20:46:33 +02:00
Arik Fraimovich
75d0d2d588
Show data scanned property when available
2018-01-11 18:14:50 +02:00
Arik Fraimovich
bc29c12b4f
Properly handle 1row
2018-01-11 17:51:32 +02:00
Arik Fraimovich
ceb966ad63
Merge branch 'master' into design/new-data-source+query-editor
2018-01-11 15:54:36 +02:00
Arik Fraimovich
44770b3fd7
Merge pull request #2101 from ariarijp/fix/script_query_runner
...
Strip annotation from query when path is specified in Script Query Runner
2018-01-11 15:05:36 +02:00
Zsolt Kocsmarszky
98d0f05a31
Merge branch 'design/new-data-source+query-editor' of https://github.com/kocsmy/redash into design/new-data-source+query-editor
2018-01-09 22:31:14 +01:00
Zsolt Kocsmarszky
f3014f5291
Further styling fixes
2018-01-09 22:30:23 +01:00
Arik Fraimovich
3a413b53be
Fix: embed/edit buttons were not working
2018-01-09 23:18:39 +02:00
Zsolt Kocsmarszky
6ce8883c37
More descriptive button text for edit visualisation
2018-01-09 22:07:25 +01:00
Zsolt Kocsmarszky
ffbf24534f
Fix minor styling issues
2018-01-09 18:49:54 +01:00
Zsolt Kocsmarszky
28cc7eaa90
Attach result controls to the bottom of the query page
2018-01-09 18:32:21 +01:00
Zsolt Kocsmarszky
5189e6d3d1
Overwrite instead of writing new code
2018-01-09 17:39:23 +01:00
Zsolt Kocsmarszky
d24a5bdd83
Smaller screen improvements for new data source flow
2018-01-09 15:52:22 +01:00
Zsolt Kocsmarszky
192ddd248b
Better required * indication without red color
2018-01-09 15:37:19 +01:00
Zsolt Kocsmarszky
7c4b66b1b5
Rename show / hide source
2018-01-09 14:55:24 +01:00
Arik Fraimovich
cbe76f656f
Merge pull request #2204 from mozilla/data-scanned
...
Report amount of data scanned for Athena queries
2018-01-09 14:56:11 +02:00
Arik Fraimovich
3359ab24af
Mark required fields in dynamic forms
2018-01-09 12:57:35 +02:00
Arik Fraimovich
5b938f2c3e
Add layouts support.
2018-01-09 12:06:46 +02:00
Jannis Leidel
9f6b4fbdf2
Add full text search for queries based on the Postgres tsvector type.
2018-01-08 22:46:53 +01:00
Arik Fraimovich
55b852f8ee
Hide query metadata for unsaved queries
2018-01-08 23:16:08 +02:00
Arik Fraimovich
efede57931
Update org settings layout
2018-01-08 23:14:01 +02:00
Arik Fraimovich
2859c46459
Merge pull request #2205 from sjakthol/redshift-sslmode
...
Make Redshift sslmode configurable
2018-01-08 11:34:26 +02:00
Zsolt Kocsmarszky
c0fb51f6a5
Multiple styling fixes
2018-01-07 22:53:55 +01:00
Zsolt Kocsmarszky
c1208989a2
Refine logos + the header of 2nd step for adding new data source
2018-01-07 22:22:02 +01:00
Zsolt Kocsmarszky
46061a01c1
Merge branch 'master' into design/new-data-source+query-editor
...
# Conflicts:
# package.json
2018-01-07 21:48:56 +01:00
Zsolt Kocsmarszky
a3dec53275
Replacing icons
2018-01-07 21:45:41 +01:00
Arik Fraimovich
ef202e75b9
Close #2159 : special tab for your own user profile
2018-01-07 14:13:57 +02:00
Sami Jaktholm
1d188875a9
make Redshift sslmode configurable
...
This makes it possible to configure Redash to require TLS
and verify the certificate Redshift presents.
The setting works similarly to that of the PostgreSQL source
except that Redshift explicitly passes 'prefer' to psycopg2
if sslmode is not configured (for compatibility).
2018-01-06 21:00:45 +02:00
Allen Short
09d4605635
Report amount of data scanned for Athena queries
2018-01-06 01:08:44 +00:00
Zsolt Kocsmarszky
d1de26ba0c
Small screen fixes
2018-01-05 19:22:14 +01:00
Zsolt Kocsmarszky
eb9b3130ee
Better aligned and spaced cards
2018-01-05 19:19:00 +01:00
Zsolt Kocsmarszky
9850908ef0
Fixing empty query resize issues
2018-01-05 19:11:05 +01:00
Zsolt Kocsmarszky
f23136542e
Remove duplicate datasource selector
2018-01-05 19:04:24 +01:00
Zsolt Kocsmarszky
f6ac9c454c
Multiple new data source and alert refinements for layout and styling
2018-01-05 18:45:50 +01:00
Arik Fraimovich
0c05102fe7
Merge pull request #2171 from mayconbordin/salesforce_api_version
...
Added API version to salesforce query runner
2018-01-05 19:11:35 +02:00
Arik Fraimovich
75af80c126
Merge pull request #2196 from kravets-levko/fix/error-handling
...
Fix to error handling mechanism: fail only on promise rejections
2018-01-05 19:11:06 +02:00
Arik Fraimovich
2231d1562c
Update bootstrap script to use v3.
2018-01-05 18:57:15 +02:00
Zsolt Kocsmarszky
7d16cd2a0c
Remove unnecessary classes
2018-01-05 15:22:17 +01:00
Zsolt Kocsmarszky
e29e4bf311
Make org settings layout better
2018-01-05 15:21:50 +01:00
Zsolt Kocsmarszky
f91bc2a505
add athena logo
2018-01-04 23:21:04 +01:00
Arik Fraimovich
ea1334ef6a
Make results mode hide query editing parts
2018-01-04 20:51:22 +02:00
Arik Fraimovich
bae4016b3a
Remove ng-app directive in query page
2018-01-04 19:10:44 +02:00
Arik Fraimovich
56ffb1f932
Update alert destination to use new design
2018-01-04 17:52:58 +02:00
Arik Fraimovich
3b14958515
Working data source setup pages
2018-01-04 16:12:56 +02:00
Arik Fraimovich
59af40fc30
Switch to dev.redashapp.com as the dev server
2018-01-04 14:23:36 +02:00
Arik Fraimovich
9afd23ab60
Use actual data source types + filtering
2018-01-04 14:23:25 +02:00
Arik Fraimovich
ca893a0e77
Rename db logos to their correct names
2018-01-04 14:22:58 +02:00
Arik Fraimovich
20c3ad2fea
Merge branch 'master' into design/new-data-source+query-editor
2018-01-04 13:55:39 +02:00
Arik Fraimovich
6f76aec1e0
Merge pull request #2201 from kocsmy/fixes/fix-unsaved-query-alignment
...
simplifying the code and fixing alignment issues
2018-01-04 13:15:37 +02:00
Zsolt Kocsmarszky
57aa05f547
simplifying the code and fixing alignment issues
2018-01-04 12:12:02 +01:00
Arik Fraimovich
a6b90445cd
Merge pull request #2200 from kocsmy/fixes/filter-headers
...
Fixing filter headers mixed
2018-01-04 13:02:53 +02:00
Levko Kravets
91d29cbbbe
Fix to error handling: CR3
2018-01-04 12:44:51 +02:00
Zsolt Kocsmarszky
33a2271b1a
Smaller styling improvements
2018-01-03 22:54:25 +01:00
Zsolt Kocsmarszky
2a3c75976f
Refine styling and fixes
2018-01-03 22:33:47 +01:00
Zsolt Kocsmarszky
d8594e7662
Fix misplaced div closing tags
2018-01-03 22:25:09 +01:00
Zsolt Kocsmarszky
7605032eec
Fix filters so it'll nicely list 2+ filters
2018-01-03 21:00:15 +01:00
Zsolt Kocsmarszky
7ce815cddb
Better alignment
2018-01-03 20:10:18 +01:00
Zsolt Kocsmarszky
4c055c663b
fix filter headers and filters on unsaved query alignment
2018-01-03 20:08:43 +01:00
Arik Fraimovich
6a4267abd5
Merge pull request #2199 from kocsmy/fixes/unpublished-query-result-table
...
bug on query page: if creating new query, table is 100% wide
2018-01-03 20:43:58 +02:00
Arik Fraimovich
bea39343c8
Merge pull request #2198 from washort/change-data-source-query-version
...
Update query version when changing query data source
2018-01-03 20:42:06 +02:00
Zsolt Kocsmarszky
694115e499
Fix unsaved query table visualisation
2018-01-03 19:35:48 +01:00
Zsolt Kocsmarszky
dc84876d27
Fix fullscreen table to fixed width for unpublished query
2018-01-03 19:26:17 +01:00
Allen Short
07628da64d
Update query version when saving new data source
2018-01-03 18:26:09 +00:00
Levko Kravets
aa970a0afb
Fix to error handling: CR2
2018-01-03 15:28:15 +02:00
Levko Kravets
effb212e4b
Fix to error handling: CR1
2018-01-03 14:00:34 +02:00
Zsolt Kocsmarszky
f687cacbee
Revert "Add page-specific class to body for each app page"
...
This reverts commit e9139748a0 .
2018-01-03 12:47:44 +01:00
Zsolt Kocsmarszky
a26dbab28b
Merge branch 'master' of https://github.com/getredash/redash into design/new-data-source+query-editor
2018-01-03 12:32:52 +01:00
Zsolt Kocsmarszky
84e65f7165
Merge branch 'master' of https://github.com/getredash/redash
2018-01-03 12:30:48 +01:00
Levko Kravets
dd0ffe3d2c
Fix to error handling mechanism: fail only on promise rejections
2018-01-02 14:59:41 +02:00
Arik Fraimovich
bb36ec8664
Merge pull request #2195 from getredash/feature/settings
...
Allow passing options to tests Docker command.
2018-01-02 13:37:51 +02:00
Arik Fraimovich
2f51df3435
Allow passing options to tests Docker command.
2018-01-02 13:30:06 +02:00
Maycon Bordin
3846cf3269
Added default version for salesforce query runner
2018-01-02 08:17:07 -02:00
Arik Fraimovich
a66ac82a23
Merge pull request #2194 from getredash/feature/settings
...
Move some of the configuration to the UI
2018-01-02 11:26:29 +02:00
Arik Fraimovich
eb85fc9e5b
Merge pull request #2179 from kyoshidajp/add_root_user_command
...
Feature: Add create root user command
2018-01-02 11:23:56 +02:00
Arik Fraimovich
8d2571cba2
Merge pull request #2187 from kravets-levko/feature/error-handling
...
Improve error handling mechanism
2018-01-02 11:20:43 +02:00
Arik Fraimovich
93aeae63b7
CodeClimate issue fixes.
2018-01-02 11:13:35 +02:00
Arik Fraimovich
7602599738
Update pysaml2 version to latest release.
2018-01-02 10:48:33 +02:00
Arik Fraimovich
153c0139cd
Dynamic organization settings support.
2018-01-02 10:48:22 +02:00
Arik Fraimovich
a6faebb04c
Make settings menu dynamic.
2018-01-02 10:43:16 +02:00
Arik Fraimovich
1e156739da
Turn settings into a package
2017-12-31 14:39:03 +02:00
Arik Fraimovich
c5e5bb714b
Merge pull request #2189 from getredash/feature/settings
...
Replace Makefile with scripts
2017-12-31 14:35:46 +02:00
Arik Fraimovich
6c4989d8a0
Replace Makefile with scripts
2017-12-31 14:34:41 +02:00
Zsolt Kocsmarszky
4d0a6accc6
More css for better collapse and expand
2017-12-29 18:35:18 +01:00
Zsolt Kocsmarszky
ecc6200aaf
Refining styling so resize works nicely
2017-12-29 18:12:30 +01:00
Zsolt Kocsmarszky
3b232d3bcc
Fixing resizing issues
2017-12-29 17:14:05 +01:00
Zsolt Kocsmarszky
f258d8086c
Add border for editor
2017-12-29 16:38:09 +01:00
Levko Kravets
c9ac9d85e2
getredash/redash#2162 CR2
2017-12-29 11:17:27 +02:00
Levko Kravets
fec92b399a
getredash/redash#2162 CR1
2017-12-28 18:39:14 +02:00
Arik Fraimovich
9323a93a8d
Merge pull request #2188 from rgjodekerken/master
...
Fix upgrade script for ci channel
2017-12-28 17:17:04 +02:00
Arik Fraimovich
f75833e5a9
Merge pull request #2166 from kravets-levko/bug/query-page-small-counter
...
Counter is too small on query page
2017-12-28 17:11:46 +02:00
Richard Odekerken
6307cfb9d7
Fix upgrade script for ci channel
2017-12-28 15:10:45 +00:00
Arik Fraimovich
651d56ad95
Merge pull request #2184 from cloudron-io/ldap_search_dn
...
rename REDASH_SEARCH_DN to REDASH_LDAP_SEARCH_DN
2017-12-28 16:01:57 +02:00
Arik Fraimovich
055b8eff54
Merge pull request #2175 from bamboo-yujiro/fix_user_form
...
Fix : User Form displays a incorrect error appearance.
2017-12-27 22:01:15 +02:00
Girish Ramakrishnan
c59e7ea2a5
rename REDASH_SEARCH_DN to REDASH_LDAP_SEARCH_DN
2017-12-27 10:33:08 -08:00
Levko Kravets
1bfea8b493
Improve error handling mechanism (related to getredash/redash#2162 )
2017-12-27 16:01:29 +02:00
Zsolt Kocsmarszky
c9d5347658
mobile and spacing fixes
2017-12-27 14:47:58 +01:00
Zsolt Kocsmarszky
58eb08e22a
Refine format and other smaller elements
2017-12-27 13:33:00 +01:00
Zsolt Kocsmarszky
52bae5cbe5
Rearrange elements for better UX
2017-12-27 13:08:05 +01:00
Zsolt Kocsmarszky
f2585d1124
Better edit in place and other refinements for rearranged layout
2017-12-27 13:07:48 +01:00
Zsolt Kocsmarszky
635aeb3409
Remove classes
2017-12-27 11:23:46 +01:00
Zsolt Kocsmarszky
e6ec50a4e6
Dynamic forms back live again, extra classes added for better form design
2017-12-27 11:19:19 +01:00
Zsolt Kocsmarszky
3bc5c60907
better data source cars + list view has cards now, too
2017-12-27 11:13:09 +01:00
Zsolt Kocsmarszky
a698cb0484
Pluralize database
2017-12-27 10:53:07 +01:00
Arik Fraimovich
6441c4b52d
Merge pull request #2174 from tonyjiangh/feature/add_redshift_view_support
...
Add redshift late binding view data to schema browser
2017-12-26 21:05:54 +02:00
Arik Fraimovich
ff078485f2
Merge pull request #2165 from tonyjiangh/feature/query_result_exception
...
Fix unicode handling at query result
2017-12-26 20:59:52 +02:00
Zsolt Kocsmarszky
e925568e3d
Further improve smaller screen design
2017-12-26 14:19:18 +01:00
Zsolt Kocsmarszky
db6c8769d4
Further refining code and removing junk
2017-12-26 13:50:46 +01:00
Zsolt Kocsmarszky
3c9f59b055
Adjust button size size so it's consistent
2017-12-26 13:35:03 +01:00
Zsolt Kocsmarszky
0a15986619
Code and styling improvements focusing on xs and sm screen sizes
2017-12-26 13:18:36 +01:00
Zsolt Kocsmarszky
696eefad1a
Further cleaning up code
2017-12-26 11:39:42 +01:00
Zsolt Kocsmarszky
708cc26c1d
Cleaning up code and properly fall back design on narrower screen for query-metadata
2017-12-26 11:33:52 +01:00
Katsuhiko YOSHIDA
da1f99d846
Add create root user command
2017-12-23 18:04:38 +09:00
bamboo-yujiro
4f814408c7
Retry codeclimate
2017-12-22 11:09:15 +09:00
Hao Jiang
87ce1db3bd
Add redshift late binding view data to schema browser
2017-12-21 22:24:31 +09:00
bamboo-yujiro
71e6bf13ff
Fix : User Form displays a incorrect error appearance.
2017-12-21 17:52:25 +09:00
Zsolt Kocsmarszky
24188ab1de
Perfectly calculated schema-container size, finally
2017-12-21 02:12:46 +01:00
Zsolt Kocsmarszky
e6f8b2c502
Flexible query editor
2017-12-20 23:38:46 +01:00
Levko Kravets
e9139748a0
Add page-specific class to body for each app page
2017-12-20 17:28:42 +02:00
Maycon Bordin
3cfd34a897
Added API version to salesforce query runner and fixed issue when row column value does not exist
2017-12-20 10:00:42 -02:00
Zsolt Kocsmarszky
404000e5fe
Add missing elements for new data source screen
2017-12-19 14:08:17 +01:00
Zsolt Kocsmarszky
5441ef429e
Fix card sizes
2017-12-19 13:23:48 +01:00
Zsolt Kocsmarszky
1110e65e4a
Load all images from images folder
2017-12-19 12:37:08 +01:00
Zsolt Kocsmarszky
9ac5d58b89
flexible layout v0.1 (WIP)
2017-12-18 23:27:08 +01:00
Zsolt Kocsmarszky
0810c2b1e0
Change to narrow layout
2017-12-18 20:03:50 +01:00
Levko Kravets
68f0c368c0
getredash/redash#2129 Counter too small on query page
2017-12-18 15:12:55 +02:00
Zsolt Kocsmarszky
64c69ee009
Foundation for New Data Source layout added
2017-12-17 20:48:25 +01:00
Zsolt Kocsmarszky
e2df12e2a2
Merge branch 'design/query-page-improvements' into design/new-data-source-flow
2017-12-17 19:29:15 +01:00
Zsolt Kocsmarszky
0f31de33e8
General styling improvements
2017-12-17 19:27:54 +01:00
Zsolt Kocsmarszky
d37948f44b
Merge branch 'master' into design/new-data-source-flow
2017-12-17 18:37:44 +01:00
Hao Jiang
6e2e2e2060
Fix: unicode handling at query result
2017-12-16 09:55:15 +09:00
Zsolt Kocsmarszky
439cc45ca7
Merge branch 'master' into design/query-page-improvements
2017-12-13 22:14:13 +01:00
Zsolt Kocsmarszky
816c61944e
Recreate new 2 column layout
2017-12-13 22:12:45 +01:00
Arik Fraimovich
5ba15ef350
Remove trailing spaces
2017-12-13 11:59:43 +02:00
Arik Fraimovich
30136c4e97
Merge pull request #2148 from kyoshidajp/replace_datetime_strings
...
Replace invalid date time strings
2017-12-13 11:53:15 +02:00
Arik Fraimovich
1a4d7471f5
Stored parsed moment value.
2017-12-13 11:52:56 +02:00
Arik Fraimovich
1d3c2144c4
Merge pull request #2154 from crooy/master
...
fixing issue #2150
2017-12-13 11:38:12 +02:00
Arik Fraimovich
fdf35328ac
Merge pull request #2152 from bamboo-yujiro/fix_appearance_collapse_of_outdated-queries
...
Fix: Appearance collapse of outdated-queries.
2017-12-13 11:37:36 +02:00
Zsolt Kocsmarszky
c147d30cb5
Separate Data source panel, freely expanding schema browser, freely expandable query editor, better smaller screen layout
2017-12-12 22:31:52 +01:00
Ronald Crooy
80a74934f0
fixing issue #2150
2017-12-12 11:37:24 +01:00
bamboo-yujiro
a36cc6838b
Fix: Appearance collapse of outdated-queries.
2017-12-12 00:58:11 +09:00
Arik Fraimovich
073db37cfd
Merge pull request #2136 from doddjc21/patch-1
...
Update oracle.py
2017-12-11 16:34:42 +02:00
Katsuhiko YOSHIDA
b7b8e56722
Consider value is string case
2017-12-11 20:09:27 +09:00
Zsolt Kocsmarszky
8a11183905
Add data source logos
2017-12-11 00:36:40 +01:00
Katsuhiko YOSHIDA
c045ccabe4
Replace invalid date time strings
2017-12-10 22:46:31 +09:00
Arik Fraimovich
c3cb2cc28b
Merge pull request #2126 from getredash/layout_fixes
...
Layout fixes (mainly schema browser)
2017-12-07 19:45:55 +02:00
Arik Fraimovich
990d32cfa2
Remove unneeded code
2017-12-07 17:14:47 +02:00
Arik Fraimovich
1573e06e71
Merge pull request #2134 from getredash/fix_query_results_download
...
Fix #68 : user can't download query results of a new query
2017-12-07 16:33:59 +02:00
Arik Fraimovich
6bb05106cd
Hide shcema browser when it's not relevant
2017-12-07 16:31:34 +02:00
Arik Fraimovich
c1d7e0401f
Explict response when schema is not supported (vs just some error loading it)
2017-12-07 16:31:02 +02:00
Arik Fraimovich
604540266a
Merge pull request #2135 from kocsmy/fixes/query-tables
...
Fixes/query tables
2017-12-07 16:14:53 +02:00
Joseph Dodd
4954d1c807
Update oracle.py
2017-12-06 17:51:27 -05:00
Joseph Dodd
45b828e361
Update oracle.py
2017-12-06 17:48:36 -05:00
Joseph Dodd
96e2991650
Update oracle.py
2017-12-06 17:44:49 -05:00
Joseph Dodd
54b1f4219d
Update oracle.py
2017-12-06 17:39:51 -05:00
Zsolt Kocsmarszky
3a0ffa53e2
Fix filters spacing on Dashboards
2017-12-06 22:44:34 +01:00
Zsolt Kocsmarszky
7381bd11a0
Fix margin on pagination
2017-12-06 22:28:10 +01:00
Zsolt Kocsmarszky
19bd150e4b
Fix pagination
2017-12-06 22:21:33 +01:00
Zsolt Kocsmarszky
e65b023fa7
Make embed query tables width: auto too and apply css flexbox
2017-12-06 22:18:15 +01:00
Zsolt Kocsmarszky
69badf67fc
Merge branch 'master' into fixes/query-tables
2017-12-06 21:31:54 +01:00
Zsolt Kocsmarszky
68177d31b3
Fix wide tables on queries and related elements like pagination
2017-12-06 21:30:27 +01:00
Joseph Dodd
808a4c5d72
Update oracle.py
...
Update Oracle.py to make INSERTS and UPDATES to Oracle databases
2017-12-06 14:55:13 -05:00
Arik Fraimovich
8e668d2e09
Fix #68 : user can't download query results of a new query
2017-12-06 18:14:34 +02:00
Arik Fraimovich
868f334471
Merge pull request #2127 from getredash/gravatar
...
Change default gravatar type
2017-12-06 11:50:14 +02:00
Arik Fraimovich
3f37c347f9
Change default gravatar type
2017-12-06 11:17:59 +02:00
Arik Fraimovich
271e6a56da
Merge branch 'kyoshidajp-add_user_image'
2017-12-06 11:12:54 +02:00
Arik Fraimovich
0988e8184a
Rebase with latest master
2017-12-06 11:12:16 +02:00
Katsuhiko YOSHIDA
62e5e38926
Rename profile image url column and method
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
dce865356c
Set default parameter None as picture
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
7f398a7d7f
Allow None as image_url in User model
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
56c364f0a3
Change style name of profile image
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
0b9b6a623e
Change size of profile immage in User
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
ea5788f173
Display user image before name to each page
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
4a58b9e944
Add image url as a User field
2017-12-06 09:16:24 +09:00
Arik Fraimovich
18b857363f
Handle cases when schema is empty
2017-12-06 00:01:01 +02:00
Arik Fraimovich
f02c0e0b9c
Fix: table pagination overlap
2017-12-05 21:53:26 +02:00
Arik Fraimovich
6fc6c67e44
Revert accidental changes to query.html
2017-12-05 18:03:37 +02:00
Arik Fraimovich
2c36563e50
View query link in widget should link to source view
2017-12-05 16:42:27 +02:00
Arik Fraimovich
c9a680b4b7
Consistent size of query editor
2017-12-05 16:42:27 +02:00
Arik Fraimovich
b8543eb2bd
Change: query should be first in create menu
2017-12-05 16:41:58 +02:00
Arik Fraimovich
b17794f622
Merge pull request #2124 from kocsmy/fixes/merge-fixes-2017-12-05
...
Fixes/merge fixes 2017 12 05
2017-12-05 16:40:45 +02:00
Zsolt Kocsmarszky
63e76628cf
Fix showing refresh time on public dashboard
2017-12-05 15:34:46 +01:00
Zsolt Kocsmarszky
2567c73dba
Add Redash logo to the public dashboard footer
2017-12-05 15:21:59 +01:00
Zsolt Kocsmarszky
9c81b866d5
Fix alert spacing
2017-12-05 15:15:09 +01:00
Zsolt Kocsmarszky
ed7a7d4275
Fix query editor size when schema is there but empty
2017-12-05 15:09:20 +01:00
Arik Fraimovich
bc9bcee064
Merge pull request #2123 from kravets-levko/fix/chart-x-axis-height
...
Fix: chart x-axis height setting
2017-12-05 15:56:12 +02:00
Levko Kravets
96a73b0c9e
getredash/redash#2107 Fix: chart x-axis height setting
2017-12-05 15:37:32 +02:00
Arik Fraimovich
004f550e93
Merge pull request #2113 from kocsmy/design/refinements-2
...
Design/refinements 2
2017-12-05 14:08:36 +02:00
Zsolt Kocsmarszky
2ef9403516
Merge branch 'master' into design/refinements-2
...
# Conflicts:
# client/app/components/dynamic-table/dynamic-table.html
# client/app/pages/queries/query.html
2017-12-05 13:04:08 +01:00
Zsolt Kocsmarszky
7ac88f91dc
Fix height for schema browser
2017-12-05 12:36:42 +01:00
Arik Fraimovich
3d0080a9ca
Merge pull request #2120 from negibouze/prevent-remove-self
...
prevent remove self
2017-12-05 13:28:05 +02:00
Arik Fraimovich
2c39028b8b
Merge pull request #2118 from deecay/pie-styling
...
Change: Pie chart font style
2017-12-05 13:27:41 +02:00
Zsolt Kocsmarszky
06cab14693
Fix layout
2017-12-05 12:12:53 +01:00
板倉義晃
4dd8f8cf84
prevent remove self
...
The administrator made it impossible to remove him/herself from the
built-in group.
2017-12-05 14:02:46 +09:00
deecay
2be067040e
Change: Pie chart font style
2017-12-05 10:42:22 +09:00
ariarijp
ccb20640fe
Remove half-baked unit test
2017-12-05 00:27:18 +09:00
Arik Fraimovich
9d7f079d94
Merge pull request #2089 from msumit/Qbol_Support
...
Add Qubole query runner
2017-12-04 16:31:27 +02:00
Arik Fraimovich
91a2b49f4c
Merge pull request #2110 from kravets-levko/feature/table-v2
...
Table v2
2017-12-04 16:15:56 +02:00
Levko Kravets
6d11e8f57a
Table viz: CR3
2017-12-04 16:11:04 +02:00
Levko Kravets
1ca0ac6278
Table viz: CR2
2017-12-04 13:27:32 +02:00
Arik Fraimovich
4cd352599a
Add v4 to CHANGELOG.
2017-12-04 11:30:24 +02:00
Zsolt Kocsmarszky
4798361d87
Merge branch 'master' into design/refinements-2
2017-12-03 15:29:14 +01:00
Zsolt Kocsmarszky
08b97d0a4e
Hide "Data" text from data source
2017-12-03 15:27:39 +01:00
Levko Kravets
a0d9b94488
Table viz: small fixes
2017-12-03 12:54:34 +02:00
Zsolt Kocsmarszky
7272b9904a
Improve visualisation embed design (iframe) so it looks better
2017-12-02 23:59:21 +01:00
Levko Kravets
30833100e5
Table viz: search; CR1
2017-12-02 21:55:36 +02:00
Arik Fraimovich
7974c90042
Merge pull request #2111 from kyoshidajp/upgrade_psycopg2
...
Upgrade psycopg2 for support PostgreSQL 10.0
2017-12-02 21:22:09 +02:00
Katsuhiko YOSHIDA
f4c4e18bf7
Upgrade psycopg2 latest version
2017-12-02 09:11:43 +09:00
Zsolt Kocsmarszky
ca75eb63c6
Separate Query styling and fix a small issue
2017-12-01 16:50:45 +01:00
Zsolt Kocsmarszky
27458599e8
Turn off link when editing a dashboard + show move cursor so it suggests you can drag the widget with its header and move around
2017-12-01 16:15:39 +01:00
Zsolt Kocsmarszky
1d90f2acad
Fix line-height
2017-12-01 16:04:39 +01:00
Zsolt Kocsmarszky
60becaf4c2
Nicer highlights fro query dropdown
2017-12-01 15:46:06 +01:00
Zsolt Kocsmarszky
73af14069d
Move view/show query to bottom of its section
2017-12-01 15:39:49 +01:00
Levko Kravets
dc4902a800
Minor fixes
2017-12-01 16:18:51 +02:00
Zsolt Kocsmarszky
ccb440c759
Add ref so we know how many people get to know about Redash through shared dashboards
2017-12-01 15:03:54 +01:00
Zsolt Kocsmarszky
f3633b18e7
Move format back to visible place
2017-12-01 15:00:14 +01:00
Zsolt Kocsmarszky
2b43bd7d28
Fix up fullscreen
2017-12-01 14:59:42 +01:00
Zsolt Kocsmarszky
1beeda6b32
Fix filter spacing and remove inline css
2017-12-01 14:35:49 +01:00
Levko Kravets
ed70002f43
Table viz: code improvements
2017-12-01 15:25:58 +02:00
Zsolt Kocsmarszky
83e1ded008
Merge branch 'master' into design/refinements-2
...
# Conflicts:
# client/app/components/filters.html
2017-12-01 14:15:46 +01:00
Levko Kravets
015d0c6edd
Table viz: custom cell rendering; JSON cell renderer
2017-12-01 13:40:41 +02:00
Katsuhiko YOSHIDA
e17a1a1378
Upgrade psycopg2 for support PostgreSQL 10.0 as a library
2017-12-01 19:31:05 +09:00
Levko Kravets
8fc3af7bb9
Table viz: editor UI
2017-12-01 07:41:09 +02:00
Zsolt Kocsmarszky
3df9d480a4
Change footer for public dashboards
2017-11-30 21:48:25 +01:00
Levko Kravets
127b45a5b1
Table viz: editor
2017-11-30 21:52:21 +02:00
Levko Kravets
e7d0856831
Table viz: show/hide column, reorder columns, content alignment
2017-11-30 19:30:45 +02:00
Levko Kravets
fb44d32ba3
Table viz: multi-column sort, align data, allow html
2017-11-30 15:52:46 +02:00
ariarijp
736c014d51
Return False from annotate_query instead of strip annotation with regex
2017-11-30 00:43:50 +09:00
Arik Fraimovich
3f30693b74
Merge pull request #2102 from ariarijp/fix/typo_in_settings
...
Fix typo
2017-11-29 12:26:36 +02:00
Arik Fraimovich
4a06e6266e
Merge pull request #2105 from kravets-levko/fix/visualization-filters
...
Fixes related to filters panel
2017-11-28 16:19:50 +02:00
Levko Kravets
0d1ad21a1b
getredash/redash/issues/2103 Fix: unnecessary horizontal scroll; fix: viz overlaps filters panel
2017-11-28 15:01:48 +02:00
Zsolt Kocsmarszky
8e8a63acb9
Fix table styling which sits inside a container and not going full width. Apply this to multiple screens.
2017-11-26 20:36:37 +01:00
Zsolt Kocsmarszky
edbec3f49d
Fix last-child padding bottom
2017-11-26 20:17:48 +01:00
Zsolt Kocsmarszky
f2eb225f06
Fix cell padding to fit header padding
2017-11-26 20:13:53 +01:00
Zsolt Kocsmarszky
d0ec1ca68d
Further adjust table settings
2017-11-26 20:11:01 +01:00
Zsolt Kocsmarszky
51e6087888
Circle profile pictures on user list
2017-11-26 20:10:48 +01:00
Zsolt Kocsmarszky
50fcd8d34d
Adjust table header background color
2017-11-26 19:56:06 +01:00
Zsolt Kocsmarszky
37f27fc29a
Adjust table styling
2017-11-26 19:53:11 +01:00
Zsolt Kocsmarszky
690ce521ca
Fix spacing for all kind of table (normal, condensed)
2017-11-26 18:08:45 +01:00
Zsolt Kocsmarszky
7cbed96945
Fix pagination margin below dynamic-table
2017-11-26 18:00:04 +01:00
Zsolt Kocsmarszky
baa36c97fb
Add to readme
2017-11-26 17:53:42 +01:00
Zsolt Kocsmarszky
6bbd1bf288
Add styling readme
2017-11-26 17:51:51 +01:00
Zsolt Kocsmarszky
12ecd23ceb
Add Cantarell to the default font-family
2017-11-26 17:47:20 +01:00
Zsolt Kocsmarszky
b9078a28d4
Refine table styling and improve less organisation
2017-11-26 17:42:56 +01:00
Zsolt Kocsmarszky
8e3c62db83
Fix refreash button size to btn-sm
2017-11-26 17:32:13 +01:00
Zsolt Kocsmarszky
9492ff9444
Fix button margins
2017-11-26 17:16:50 +01:00
Zsolt Kocsmarszky
b0177deda0
Move fork query under dropdown, too and remove redundant text information
2017-11-26 16:54:32 +01:00
Zsolt Kocsmarszky
89592d3e80
Fix padding at no schema sources
2017-11-26 16:51:08 +01:00
Zsolt Kocsmarszky
0a6fc27fdd
Rearrange query elements
2017-11-26 16:49:02 +01:00
Zsolt Kocsmarszky
a7ca236903
Change source editor and schema browser
2017-11-26 16:31:42 +01:00
ariarijp
b716e5c23d
Fix typo
2017-11-27 00:24:01 +09:00
Zsolt Kocsmarszky
063066dfae
Tighten up schema browser
2017-11-26 16:05:46 +01:00
Zsolt Kocsmarszky
5bdb34e451
Fix spacing in filters
2017-11-26 15:47:08 +01:00
ariarijp
f4d0609140
Strip annotation from query when path is specified in Script Query Runner
2017-11-26 23:09:12 +09:00
ariarijp
cb62c10a66
Fix create_db command of docker-entrypoint
2017-11-26 13:26:44 +09:00
Zsolt Kocsmarszky
05cc170ab1
Better organised query editor
2017-11-25 16:36:36 +01:00
Zsolt Kocsmarszky
4540256f3e
Add proper styling for parameters
2017-11-25 07:29:22 +01:00
Zsolt Kocsmarszky
3d33ebc916
Tightening up Query editor
2017-11-25 07:29:05 +01:00
Zsolt Kocsmarszky
decc0b8ee8
Fix merge conflicts
2017-11-25 06:29:08 +01:00
Zsolt Kocsmarszky
a488de22c4
Merge branch 'master' into design/refinements-2
...
# Conflicts:
# client/app/pages/dashboards/public-dashboard-page.html
2017-11-25 06:27:52 +01:00
Zsolt Kocsmarszky
f835aec980
Adjust top margin
2017-11-25 06:25:06 +01:00
Zsolt Kocsmarszky
5893b68daf
Public dashboards: remove navbar and add missing footer
2017-11-25 06:17:56 +01:00
Sumit Maheshwari
660c72e608
Add Qubole query runner
2017-11-24 17:30:08 +05:30
Arik Fraimovich
01cf6de4dc
Merge pull request #2098 from kravets-levko/fix/sankey-sunburst
...
Fixed sunburst/sankey issue with rendering
2017-11-23 18:21:20 +02:00
Levko Kravets
fa460223b7
CR1
2017-11-23 18:13:42 +02:00
Arik Fraimovich
39aeef5486
Merge pull request #2097 from ariarijp/fix/query_results
...
Handling whitespace characters in Query Results data source
2017-11-23 18:00:31 +02:00
Levko Kravets
4006d72831
getredash/redash#2095 Fixed sunburst/sankey issue with rendering; minor UI fixes
2017-11-23 17:42:03 +02:00
ariarijp
93aa28cdf7
Handling whitespace characters in Query Results data source
2017-11-23 21:46:10 +09:00
Arik Fraimovich
8e8278d05e
Merge pull request #2081 from kocsmy/design/refinement
...
Design/refinement
2017-11-22 18:27:05 +02:00
Arik Fraimovich
3d9d658594
Merge pull request #2087 from yershalom/add_cockraochdb_ds
...
Added new CockroachDB DS to redash
2017-11-22 18:23:36 +02:00
Arik Fraimovich
9ae1bc3051
Merge branch 'master' into design/refinement
2017-11-22 18:20:17 +02:00
Arik Fraimovich
a9384d3a09
Merge branch 'master' into design/refinement
2017-11-22 18:19:40 +02:00
Arik Fraimovich
9bbce6b06a
Merge pull request #2053 from cdessanti/patch-1
...
SQL Query Runner for MAPD database
2017-11-22 18:15:39 +02:00
Arik Fraimovich
b96ab5eb0e
Merge pull request #2048 from arjan/elasticsearch-doc-count-aggregation
...
Elasticsearch: Collect doc_count field from aggregation
2017-11-22 18:12:59 +02:00
Arik Fraimovich
5b91d97e48
Merge pull request #2043 from jezdez/pytest
...
Move to pytest since nose is unmaintained.
2017-11-22 18:11:59 +02:00
Arik Fraimovich
9de3e975eb
Merge pull request #1985 from miketheman/miketheman/user-email-case-insensitive
...
Ensure email is case-insensitive
2017-11-22 18:11:07 +02:00
Arik Fraimovich
1b7cc3731c
Merge pull request #2092 from jasonsmithj/fix/mysql_query_cancel
...
Fix doesn't work mysql query cancel button
2017-11-22 18:00:35 +02:00
Arik Fraimovich
e7fdbee59d
Merge pull request #2083 from kravets-levko/feature/responsive-visualizations
...
Responsive visualizations
2017-11-22 18:00:08 +02:00
jasonsmithj
1e12f70cf4
mysql query cancel
2017-11-22 10:53:25 +09:00
Levko Kravets
0ef04e2839
Rebase CSS changes to LESS
2017-11-21 09:18:17 +02:00
Levko Kravets
24ebd8dc53
CR3
2017-11-21 09:08:09 +02:00
Levko Kravets
4af56bd101
Small CSS fix
2017-11-21 09:08:09 +02:00
Levko Kravets
5faf41a18c
CR2: fit counter by height (not by width)
2017-11-21 09:08:09 +02:00
Levko Kravets
485f0e3278
CR1
2017-11-21 09:08:09 +02:00
Levko Kravets
21150ad4ca
Counter: fix auto-size
2017-11-21 09:08:09 +02:00
Levko Kravets
059da21280
Chart: fit to container on resize
2017-11-21 09:08:09 +02:00
Levko Kravets
24e7ee51ba
Fix: Counter flickering; Map, Counter: disappears in mobile mode
2017-11-21 09:08:09 +02:00
Levko Kravets
584cbea017
Better fix for Map viz
2017-11-21 09:08:09 +02:00
Levko Kravets
1d210c774a
Fix visualization previews
2017-11-21 09:08:09 +02:00
Levko Kravets
289aa8561f
Some fixes for Map viz
2017-11-21 09:08:09 +02:00
Levko Kravets
d765f6edb6
Some fixes for Table and Pivot viz
2017-11-21 09:08:09 +02:00
Levko Kravets
5f5b95b455
Map viz: constraints and position
2017-11-21 09:08:09 +02:00
Levko Kravets
e57d9f4701
Counter viz: fit text to width
2017-11-21 09:08:09 +02:00
Levko Kravets
b26284933c
Allow to specify default size for each visualization type
2017-11-21 09:08:09 +02:00
Zsolt Kocsmarszky
825157a549
Friendlier next and prev arrows
2017-11-20 23:21:26 +01:00
Zsolt Kocsmarszky
961144c3b8
Remove Roboto
2017-11-20 22:20:39 +01:00
Zsolt Kocsmarszky
0abfe19c6a
Add newstyle to the soup
2017-11-20 22:15:26 +01:00
Zsolt Kocsmarszky
3c1a756ca3
Merge branch 'master' of https://github.com/getredash/redash
...
# Conflicts:
# client/app/config/styles.js
2017-11-20 22:10:31 +01:00
Zsolt Kocsmarszky
7f2328d0a5
Adjust bg-ace and table headers
2017-11-20 21:48:15 +01:00
Arik Fraimovich
457b8d9d8a
Merge pull request #2091 from kravets-levko/less2
...
Convert styles to LESS
2017-11-20 22:35:21 +02:00
Levko Kravets
773e5e6393
Convert styles to LESS
2017-11-20 17:46:37 +02:00
Zsolt Kocsmarszky
dfd2d9ecec
Remove uppercase and capitalize table and tab headers
2017-11-20 16:10:10 +01:00
Zsolt Kocsmarszky
a1fdaa998b
Revert hiding refresh button, still keep refresh functionality on last refreshed date
2017-11-20 16:03:49 +01:00
Arik Fraimovich
7955a83f1d
Add paginator only when there are more than 1 pages
2017-11-20 10:19:54 +02:00
Arik Fraimovich
3af1176e70
Fix: two nav bars on my queries page
2017-11-20 10:11:41 +02:00
Zsolt Kocsmarszky
ab77f00526
Move refresh button under latest refresh time
2017-11-19 21:34:40 +01:00
Zsolt Kocsmarszky
835d417d8d
Styling improvements on Query screen
2017-11-19 21:19:36 +01:00
Zsolt Kocsmarszky
895d743ab6
Fix description hover
2017-11-19 21:01:10 +01:00
Zsolt Kocsmarszky
68404b8dd3
Styling refinement
2017-11-19 20:44:38 +01:00
Zsolt Kocsmarszky
5b19efdb73
Layout fix for System Status
2017-11-19 20:17:11 +01:00
Zsolt Kocsmarszky
86fc099873
Clean up admin page markup
2017-11-19 17:54:46 +01:00
Zsolt Kocsmarszky
819b109dde
Remove uppercase from tab header so it looks friendlier
2017-11-19 17:41:16 +01:00
Zsolt Kocsmarszky
334289b81c
Add system fonts as default and simplify the code
2017-11-19 17:38:18 +01:00
Zsolt Kocsmarszky
e64832867e
Better organised stylesheet for easier maintainability + an IE fix
2017-11-19 17:14:49 +01:00
Zsolt Kocsmarszky
c3ca2e2ec1
Small improvement on widget styling
2017-11-18 21:02:50 +01:00
Zsolt Kocsmarszky
1115f2a702
Add missing tiled class
2017-11-18 20:16:59 +01:00
Zsolt Kocsmarszky
0b0762f10c
Improved pagination
2017-11-18 19:57:45 +01:00
Zsolt Kocsmarszky
f423e0c030
Remove fancy input hover animation
2017-11-18 19:40:07 +01:00
Shalom Yerushalmy
8da40077fa
Added one line for pep8 convention
2017-11-16 09:46:52 +02:00
Shalom Yerushalmy
dbf7c90ebc
Added new CockroachDB DS to redash
2017-11-16 09:41:02 +02:00
Arik Fraimovich
ff0f5a0dfd
Merge pull request #2082 from deecay/pie-subplot-title
...
Add: Pie chart subplot title
2017-11-15 23:44:33 +02:00
Arik Fraimovich
b702299067
Version bump.
2017-11-15 23:10:56 +02:00
Zsolt Kocsmarszky
a751c03fca
Fixing Firefox issues and fine-tuning smaller details
2017-11-14 22:38:31 +01:00
Zsolt Kocsmarszky
1c926830a8
Styling refinements
2017-11-14 21:34:34 +01:00
Zsolt Kocsmarszky
dc8e8b70c5
Hide username on smaller screens + move Query Snippets and hide divider for users
2017-11-14 21:34:11 +01:00
Zsolt Kocsmarszky
315e77b7dd
Cleanup settings/user and remove unnecessary tabs
2017-11-14 21:32:53 +01:00
Zsolt Kocsmarszky
c510b35b16
Add tiled class and adjust layout
2017-11-14 21:32:22 +01:00
Zsolt Kocsmarszky
2c2c626c42
Smaller layout, grid and styling fixes
2017-11-13 21:24:43 +01:00
Zsolt Kocsmarszky
fa7eaaebcd
remove redundant buttons from home
2017-11-13 21:24:17 +01:00
Zsolt Kocsmarszky
4ed9e01091
Smaller improvements
2017-11-13 21:03:50 +01:00
Zsolt Kocsmarszky
40a83f3579
Fancy caret is only for nav
2017-11-13 20:57:27 +01:00
Zsolt Kocsmarszky
af90928552
Better styling for navigation
2017-11-13 20:48:28 +01:00
Zsolt Kocsmarszky
bf6687352a
Unify headers
2017-11-13 20:18:57 +01:00
Zsolt Kocsmarszky
dce64cfdb3
Fix settings container
2017-11-13 19:08:01 +01:00
Zsolt Kocsmarszky
a26195848a
Further refine navbar markup and styling
2017-11-13 17:07:59 +01:00
Zsolt Kocsmarszky
43bf4b1cc8
Major navigation refinement
2017-11-13 16:29:09 +01:00
Zsolt Kocsmarszky
9420d2683e
Drop 'Updated:' prefix
2017-11-13 15:38:34 +01:00
Zsolt Kocsmarszky
c67e9e3ff5
Further simplify navigation
2017-11-13 15:28:21 +01:00
Zsolt Kocsmarszky
3e7e06d4b4
Add time icon next to updated time
2017-11-13 14:33:50 +01:00
deecay
539cbf4ffc
Add: Pie chart subplot title
2017-11-13 01:59:30 +09:00
Zsolt Kocsmarszky
30003297d4
Refine positions for nav new button and logo
2017-11-10 00:22:34 +01:00
Zsolt Kocsmarszky
f9e416a5dd
Massive styling refinement
2017-11-09 23:39:53 +01:00
Zsolt Kocsmarszky
727674673e
Make Edit/New dashboard modal more obvious
2017-11-09 23:39:31 +01:00
Zsolt Kocsmarszky
b57f78155c
Add container for Settings to resolve vertical scroll issue
2017-11-09 23:39:03 +01:00
Zsolt Kocsmarszky
e9b05ad2fd
Massive navigation refinement
2017-11-09 23:38:14 +01:00
Zsolt Kocsmarszky
ea7b09d18e
Add extra classes for widget elements for easier styling
2017-11-09 23:37:52 +01:00
Zsolt Kocsmarszky
30dc3d779c
consistent footer templates
2017-11-09 23:37:21 +01:00
Zsolt Kocsmarszky
0d638cbe4a
Better page title so you know where you are and what you're doing
2017-11-09 23:35:49 +01:00
Zsolt Kocsmarszky
92820872a2
Add missing container + remove container from the middle so the layout works better
2017-11-09 23:35:17 +01:00
Zsolt Kocsmarszky
590b7d66b6
Remove unnecessary row class that messes up the layout
2017-11-09 23:34:40 +01:00
Zsolt Kocsmarszky
dfef594f2e
Add extra class for easier styling + remove unnecessary h3 around the top right area (bc it messes up everything with h3's margins)
2017-11-09 23:34:04 +01:00
Zsolt Kocsmarszky
4dad07e329
Change order, so All queries comes first on the tabs
2017-11-09 23:32:31 +01:00
Zsolt Kocsmarszky
90fbb3d94e
Move global style out from local file
2017-11-09 23:32:04 +01:00
Zsolt Kocsmarszky
3079917527
Collapse section for profile
2017-11-09 23:31:34 +01:00
Zsolt Kocsmarszky
e84e866220
Collapse change password section by default
2017-11-09 23:30:51 +01:00
Zsolt Kocsmarszky
dd4db4be28
Re-align footer so it feels simpler
2017-11-09 23:30:24 +01:00
Zsolt Kocsmarszky
3f609981b7
Re-organise individual user setting screens into one page
2017-11-09 18:54:07 +01:00
Arik Fraimovich
6eca14e441
Merge pull request #2062 from kravets-levko/feature/dashboard-editor
...
Add: flexible dashboard layout
2017-11-08 11:09:03 +02:00
Levko Kravets
54ade336f5
CR3
2017-11-08 11:06:53 +02:00
Levko Kravets
627dc26004
In editing mode hide menu button and show remove button instead
2017-11-07 16:31:24 +02:00
Levko Kravets
1bb7cc0ad6
Fix: widget menu not visible on small widgets
2017-11-07 15:55:16 +02:00
Levko Kravets
18b4c3eff8
Fix widget auto-height behaviour
2017-11-07 15:46:24 +02:00
Levko Kravets
43bf051d51
Cleanup CSS
2017-11-07 10:41:29 +02:00
Levko Kravets
bbcbb3edc6
CR2
2017-11-06 21:52:23 +02:00
Levko Kravets
8bb9a1a53e
CR1
2017-11-06 21:50:11 +02:00
Levko Kravets
6a7d2291b4
getredash/redash#335 Better dashboard editor
2017-11-06 21:50:11 +02:00
Arik Fraimovich
900d558857
CirlceCI: Docker build for release branches.
2017-11-02 10:59:21 +02:00
Arik Fraimovich
c6dc9affed
Redshift: change default SSL mode to prefer.
2017-11-02 10:57:54 +02:00
Arik Fraimovich
96486b5c58
Update v3 CHANGELOG.
2017-11-02 10:33:53 +02:00
Arik Fraimovich
7c1565017f
Merge pull request #2072 from getredash/feature/query_results
...
🎉 Add: data source to run queries on top of query results
2017-11-01 16:22:32 +02:00
Arik Fraimovich
7197370ad4
Add Query Results to the default query runners list.
2017-11-01 16:14:45 +02:00
Arik Fraimovich
1cbf09cbbe
Add: data source to run queries on top of query results.
2017-11-01 16:10:04 +02:00
Arik Fraimovich
28b4450fa9
Merge pull request #2068 from kyoshidajp/copy_param_value_when_forking
...
Copy parameters value when forking a query
2017-11-01 15:18:22 +02:00
Arik Fraimovich
a799303f53
Merge pull request #2071 from getredash/bugfixes
...
Fix #1824 : allow only user API key to be used with query refresh API.
2017-11-01 15:12:53 +02:00
Arik Fraimovich
59d6eb662c
Merge pull request #2070 from getredash/bugfixes
...
Fix: require full access to the data source to fork a query.
2017-11-01 15:06:36 +02:00
Arik Fraimovich
4e4a3e13ab
Fix #1824 : allow only user API key to be used with query refresh API.
2017-11-01 15:05:55 +02:00
Arik Fraimovich
095d07bcb8
Disable fork button for those can't fork
2017-11-01 14:56:11 +02:00
Arik Fraimovich
71a235c79b
Merge pull request #2069 from getredash/bugfixes
...
Fix #1979 : API key of one query could be used to get results of another one
2017-11-01 14:47:23 +02:00
Arik Fraimovich
2bc3885977
Fix: require full access to the data source to fork a query.
...
Ref #1825 .
2017-11-01 14:46:29 +02:00
Arik Fraimovich
97217f56c1
Remove unused variables
2017-11-01 13:52:41 +02:00
Arik Fraimovich
ba36f7395d
Fix #1979 : API key of one query could be used to get results of another one
2017-11-01 13:51:09 +02:00
Arik Fraimovich
ea7ca9e632
Merge pull request #2067 from getredash/params_refresh
...
Use query result for drop down values implementation updates
2017-11-01 13:50:49 +02:00
Katsuhiko YOSHIDA
5e5fc736bf
Copy parameters value when forking a query
2017-11-01 06:27:03 +09:00
Arik Fraimovich
f38e76ad10
Merge pull request #2061 from kyoshidajp/delete_groupid_from_user_when_deleting_group
...
Delete the group id from user when deleting a group
2017-10-31 22:45:44 +02:00
Arik Fraimovich
80a6f357e3
Merge pull request #2063 from deecay/box-sortx
...
Fix: Boxplot xaxis sort issue
2017-10-31 22:39:26 +02:00
Arik Fraimovich
bd91288d1a
Save only the query id instead of query id and name
2017-10-31 12:40:02 +02:00
Arik Fraimovich
38389a28ed
Update eslint config to use longer lines
2017-10-31 12:06:52 +02:00
Arik Fraimovich
9ef9f29213
Query based parameter changes:
...
- Use $onChanges instead of $watch (fixes an issue where the query
results was constantly reloading).
- Choose the first value when first loading the options.
2017-10-31 12:05:55 +02:00
Arik Fraimovich
a3c2082b7f
Fix: move boto3 import to the correct location
2017-10-30 14:53:22 +02:00
deecay
bc5516e941
Fix: Boxplot xaxis sort issue
2017-10-30 17:08:51 +09:00
Arjan Scherpenisse
87c705e5c8
Make the doc_count column integer
2017-10-30 09:07:03 +01:00
Katsuhiko YOSHIDA
65ac8c715e
Add user info to db.session
2017-10-29 22:30:53 +09:00
Arik Fraimovich
9874361466
Merge pull request #2060 from kyoshidajp/fix_export_excel
...
Fix error when exporting list data as Excel file
2017-10-29 15:10:34 +02:00
Arik Fraimovich
b28c8fa227
Merge pull request #2045 from myouju/master
...
Added 'Use Glue Data Catalog' options in Athena
2017-10-29 14:43:25 +02:00
Katsuhiko YOSHIDA
048bd53eac
Delete the group id from user when deleting a group
2017-10-29 11:28:15 +09:00
Katsuhiko YOSHIDA
95c707d028
Fix error when exporting list data as Excel file
2017-10-28 23:16:02 +09:00
Arik Fraimovich
41ec4c857b
Update CHANGELOG
2017-10-26 22:17:58 +03:00
Arik Fraimovich
e62acb1d99
Merge pull request #2056 from getredash/boilerplate
...
Reduce boilerplate in frontend code
2017-10-26 12:06:43 +03:00
Arik Fraimovich
a9dc00aaa6
Remove last relative imports
2017-10-26 10:54:28 +03:00
Arik Fraimovich
38c6152aa0
Move init code into app/config/index.js from app/index.js
2017-10-26 10:00:59 +03:00
Arik Fraimovich
fb723328d4
Add app/lib folder for general client code (instead of app/utils)
2017-10-26 10:00:36 +03:00
Arik Fraimovich
047475562d
Support for non relative path imports in client code:
...
So this:
import { Paginator } from "../../lib";
Becomes:
import { Paginator } from "@/lib";
Makes code cleaner and more portable.
2017-10-26 09:58:24 +03:00
Arik Fraimovich
acd33ec852
Auto register Angular components, pages, etc
2017-10-25 23:34:51 +03:00
Arik Fraimovich
340a23e71c
Merge pull request #2054 from jezdez/docker-entrypoint-wildcard
...
Allow running any command inside the container via the docker entrypoint script.
2017-10-25 22:39:55 +03:00
Jannis Leidel
3db1b7f265
Allow running any command inside the container via the docker entrypoint script.
...
This allows running generic things like opening a bash shell:
docker-compose run server bash
2017-10-25 20:43:32 +02:00
Arik Fraimovich
845357fa02
Add logging to route registration.
2017-10-25 17:53:28 +03:00
Candido Dessanti
825fff5fe1
Update mapd.py
2017-10-25 07:18:25 +02:00
Candido Dessanti
abda68380e
Update mapd.py
2017-10-25 07:11:05 +02:00
cdessanti
886a5eff43
added python driver of Mapd database
...
the other packages need will be added as deps when pymapd is installed
2017-10-24 18:25:33 +02:00
cdessanti
c3e19858b5
added mapd.py to default query runners
2017-10-24 18:20:31 +02:00
cdessanti
b9d9bcc0be
Create mapd.py
...
query runner to catalog and access to mapd database
2017-10-24 17:58:38 +02:00
Arik Fraimovich
f75e31fa8e
Merge pull request #2042 from isomura/modSetupShMkdir
...
Make /opt/redash directory if it's not exist.
2017-10-23 10:57:11 +03:00
Arik Fraimovich
38be723179
Merge branch 'master' into modSetupShMkdir
2017-10-23 10:56:50 +03:00
Arik Fraimovich
18bf44453d
Update bootstrap script to use v2.0.1.
2017-10-22 15:13:30 +03:00
Arik Fraimovich
374f11252f
Add v2.0.1.
2017-10-22 15:03:17 +03:00
Mike Fiedler
45a6651aaf
Rename class, guard against calling lower() on None
...
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-10-22 07:53:38 -04:00
Arik Fraimovich
2d3566abce
Merge pull request #2046 from sylvainv/patch-1
...
Make use of REDASH_BASE_PATH variable in setup script
2017-10-22 14:47:58 +03:00
Arik Fraimovich
17d6bfff63
Merge pull request #2012 from yershalom/create_prometheus_ds
...
Added / on api path to prevent wrong url param
2017-10-22 09:55:41 +03:00
Arik Fraimovich
73540175d8
Merge pull request #2021 from hhamalai/configurable_invitation_token_age
...
Make invitation token max age configurable
2017-10-22 09:55:11 +03:00
Arjan Scherpenisse
4b9e4593c8
Elasticsearch: Collect doc_count field from aggregation
2017-10-21 07:36:02 +02:00
Sylvain
8c693efb3e
Add missing $REDASH_BASE_PATH usage
2017-10-19 01:39:08 -05:00
Sylvain
51392d0398
Add missing $REDASH_BASE_PATH usage
2017-10-19 01:37:11 -05:00
Sylvain
78888c2082
Make use of REDASH_BASE_PATH variable
2017-10-19 01:35:14 -05:00
Arik Fraimovich
bc6bd1b316
Merge pull request #2044 from getredash/redshift
...
Redshift: add support for the new ACM root CA.
2017-10-18 15:59:05 +03:00
Arik Fraimovich
4060344a72
Merge pull request #2038 from atharvai/feature/redshift-spectrum
...
Add support for AWS Redshift Spectrum (external) tables
2017-10-18 15:56:14 +03:00
yukimaeno
6522325060
fixed private method
2017-10-18 21:51:46 +09:00
yukimaeno
ae6564e912
Added 'Use Glue Data Catalog' options in Athena
2017-10-18 21:41:13 +09:00
Arik Fraimovich
2af70a6c2d
Redshift: add support for the new ACM root CA.
2017-10-18 14:58:50 +03:00
Jannis Leidel
45aad4bdbc
Move to pytest since nose is unmaintained.
2017-10-18 13:51:09 +02:00
Arik Fraimovich
a3a1dcf4ba
Merge pull request #2040 from cyriac/patch-2
...
Show query editor's Archive/Publish Query drop-down only on saved queries
2017-10-18 11:20:31 +03:00
isomura
eb979ef130
Make /opt/redash directory if it's not exist.
2017-10-18 09:54:56 +09:00
Cyriac Thomas
7f7fdbba54
show query builder Archive/Publish Query dropdown only on saved queries
2017-10-17 20:28:20 +05:30
Arik Fraimovich
fa213d72a7
Merge pull request #2039 from getredash/filters
...
Improve filters UI
2017-10-17 17:02:52 +03:00
Arik Fraimovich
d2bf935edb
Improve filters UI (labels for */-, label for filter, show values when selected)
2017-10-17 16:35:46 +03:00
Arik Fraimovich
c4349f5c64
Merge pull request #2037 from getredash/patches
...
Add: option to set allowDiskUse in MongoDB queries
2017-10-16 10:19:55 +03:00
Arik Fraimovich
b5a6f4a166
Merge pull request #2028 from kyoshidajp/autofocus_in_1st_input_item
...
Set auto focus in first input items
2017-10-16 10:08:19 +03:00
Arik Fraimovich
79807dfa14
Typo fix.
2017-10-16 10:07:25 +03:00
Arik Fraimovich
0b0ec90987
Update gunicorn to latest version
2017-10-16 09:19:13 +03:00
Arik Fraimovich
a9fc220ec8
Merge pull request #2034 from getredash/patches
...
Add: disabled status to Organization
2017-10-16 09:18:55 +03:00
Arik Fraimovich
ee9bbbaa7c
Merge pull request #2024 from cyriac/patch-1
...
Fixed stage label typo error on sankey and sunburst-sequence editors
2017-10-15 22:51:57 +03:00
Arik Fraimovich
12cc4e5ff9
Add: option to set allowDiskUse in MongoDB queries.
2017-10-15 15:54:04 +03:00
Arik Fraimovich
b5b5643090
Add: disabled status to Organization
2017-10-15 15:51:41 +03:00
Arik Fraimovich
6718081a49
Merge pull request #2033 from getredash/patches
...
Add: option to disable SQLAlchemy connection pool
2017-10-15 15:51:12 +03:00
Arik Fraimovich
138087861c
Add missing import
2017-10-15 15:39:41 +03:00
Arik Fraimovich
9a88cf1743
Merge branch 'patches' of github.com:getredash/redash into patches
2017-10-15 15:37:51 +03:00
Arik Fraimovich
2ca93599ef
Merge pull request #2032 from getredash/patches
...
Add: option to set a time limit on adhoc queries
2017-10-15 15:37:22 +03:00
Arik Fraimovich
ef85a06d60
Fix import.
2017-10-15 15:16:31 +03:00
Arik Fraimovich
f7ffc75ba4
Add: option to disable SQLA connection pool.
2017-10-15 15:09:18 +03:00
Arik Fraimovich
f28eda4174
Merge pull request #2031 from getredash/patches
...
Add: option to disable sending an invite to a new user
2017-10-15 15:07:17 +03:00
Arik Fraimovich
c5458af1a0
Add: option to set a time limit on adhoc queries
2017-10-15 15:02:34 +03:00
Arik Fraimovich
c28ced14c6
Merge pull request #2030 from getredash/patches
...
Change: make log format configurable.
2017-10-15 15:00:27 +03:00
Arik Fraimovich
1110e17c4a
Add: option to disable sending an invite to a new user
2017-10-15 14:56:26 +03:00
Arik Fraimovich
3b9c31a056
Change: make log format configurable.
2017-10-15 14:52:12 +03:00
Arik Fraimovich
38b655ce3a
Merge pull request #2029 from getredash/patches
...
Change: sort series by name.
2017-10-15 14:36:41 +03:00
Arik Fraimovich
0ec9b73eb2
Change: sort series by name.
2017-10-15 14:33:55 +03:00
Katsuhiko YOSHIDA
b67369daa4
Set auto focus in first input items
2017-10-15 00:02:14 +09:00
Cyriac Thomas
cbc7eee592
fixed stage label typo on sankey and sunburst-sequence editors
2017-10-13 14:44:52 +05:30
Atharva Inamdar
d512cef5af
Add support for AWS Redshift Spectrum (external) tables
2017-10-12 14:46:07 +01:00
Atharva Inamdar
c6d1fc103c
Merge pull request #1 from getredash/master
...
merge base master with this fork
2017-10-12 14:43:54 +01:00
Harri Hämäläinen
bf5b31b252
Make invitation token max age configurable
2017-10-12 09:04:45 +03:00
Arik Fraimovich
0c404fa602
Merge pull request #1906 from kitsuyui/add-query-runner-azure-sql-data-warehouse
...
Query Runner for Azure SQL Data Warehouse
2017-10-11 10:27:02 +03:00
Arik Fraimovich
0ebb6ada3c
Merge pull request #2017 from yutannihilation/fix-docker-compose
...
Fix docker-compose.production.yml
2017-10-11 10:01:25 +03:00
Hiroaki Yutani
d2e519cc3b
fix docker-compose.production.yml
2017-10-11 09:53:04 +09:00
Mike Fiedler
be232543d6
Use a custom EmailType/CaseInsensitiveComparator
...
sqlalchemy doesn't appear to have a case sensitive column, so we craft a
type that can have the semantics of case insensitive comparison.
Ref http://docs.sqlalchemy.org/en/rel_1_1/orm/extensions/hybrid.html#building-custom-comparators
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-10-10 18:32:00 -04:00
Mike Fiedler
9076715d84
Ensure email is case-insensitive
...
While RFC 5321 alows for the username/mailbox art of the address to be
case-sensitive, it is hightly discouraged.
The local-part of a mailbox MUST BE treated as case
sensitive. Therefore, SMTP implementations MUST take care to
preserve the case of mailbox local-parts. In particular, for
some hosts, the user "smith" is different from the user
"Smith". However, exploiting the case sensitivity of mailbox
local-parts impedes interoperability and is discouraged.
Mailbox domains follow normal DNS rules and are hence not
case sensitive.
-- https://tools.ietf.org/rfc/rfc5321.txt
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-10-10 17:49:50 -04:00
Shalom Yerushalmy
9b38f1e81c
Added / on api path to prevent wrong url param
2017-10-10 16:28:11 +03:00
Arik Fraimovich
f03c173c57
Merge pull request #2003 from yershalom/create_prometheus_ds
...
Create prometheus ds
2017-10-10 11:43:59 +03:00
Arik Fraimovich
f89842801f
Make URL required.
2017-10-10 11:41:34 +03:00
Arik Fraimovich
56d4ad74a8
Change get_schema to call requests directly.
2017-10-10 11:40:33 +03:00
Arik Fraimovich
334e95afa0
Merge pull request #2004 from modomoto/make_test_run_configurable
...
Allow setting test file with docker test run
2017-10-09 17:31:25 +03:00
Arik Fraimovich
0443d84848
Merge pull request #2008 from getredash/patches
...
Change: use outdated queries count stored already in Redis.
2017-10-09 16:43:59 +03:00
Arik Fraimovich
d38f251688
Change: use outdated queries count stored already in Redis.
2017-10-09 16:28:34 +03:00
Arik Fraimovich
890243eb20
Merge pull request #2007 from getredash/patches
...
Show links based on permissions the user have.
2017-10-09 16:23:34 +03:00
Arik Fraimovich
9fed3266e6
Show links based on permissions the user have.
2017-10-09 16:21:23 +03:00
Shalom Yerushalmy
8fb665be08
Some pep8 styling
2017-10-09 16:19:29 +03:00
Shalom Yerushalmy
c19253648e
Changed prometheus name
2017-10-09 16:18:04 +03:00
Mehmet Emin INAC
b8d2df7567
Allow setting nosetests options via environment variable
...
By setting TEST_ARGS environment variable with -e option of docker-compose
we can set nosetests options to run the tests as we want, like so;
`docker-compose run --rm -e TEST_ARGS="--with-coverage tests/handlers/test_dashboards.py" server tests`
2017-10-09 15:12:04 +02:00
Arik Fraimovich
4603152930
Merge pull request #2006 from getredash/patches
...
Fix: support UTF8 in MySQL schema
2017-10-09 16:10:41 +03:00
Shalom Yerushalmy
e33e90a69d
Remove stftime cause redash already handles this
2017-10-09 16:10:22 +03:00
Arik Fraimovich
f5dcb5d58d
Merge pull request #2005 from getredash/patches
...
Fix: TreasureData queries were failing when returning 0 rows.
2017-10-09 16:09:45 +03:00
Arik Fraimovich
f2f6abe775
Fix: support UTF8 in MySQL schema
2017-10-09 16:09:38 +03:00
Arik Fraimovich
c33189a355
Fix: TreasureData queries were failing when returning 0 rows.
2017-10-09 16:05:58 +03:00
Shalom Yerushalmy
781d997e76
Added redash types
2017-10-09 16:05:11 +03:00
Shalom Yerushalmy
35e02d8043
Changed the timestamp to float
2017-10-09 16:03:35 +03:00
Arik Fraimovich
720af7dabf
Update .gitignore
2017-10-09 13:45:58 +03:00
Shalom Yerushalmy
487a8c798c
Added back the response.raise_for_status() line
2017-10-09 13:43:43 +03:00
Shalom Yerushalmy
0f580f4540
Changed file due to Arik's request
2017-10-09 13:37:23 +03:00
Arik Fraimovich
cb21024e5c
Merge pull request #1981 from yershalom/upgrade_cassandra_version
...
Upgrade cassandra version
2017-10-09 11:39:03 +03:00
Shalom Yerushalmy
df7b970ff7
Fixed line from 123 char to 120 char due to code climate fail
2017-10-09 11:28:26 +03:00
Shalom Yerushalmy
ff4edb4fbd
Added new Promethues data source
2017-10-09 11:20:30 +03:00
Arik Fraimovich
131c9ef036
Merge pull request #1976 from muddydixon/feature/docker-compose-restart-always
...
users using docker-compose require restart always
2017-10-09 09:36:19 +03:00
Arik Fraimovich
a3071a3ba1
Restart only postgres/redis in dev setup.
2017-10-09 09:36:09 +03:00
Arik Fraimovich
8d5ce85954
Merge pull request #1993 from deecay/box-color
...
Fix: Setting series color for boxplot
2017-10-09 09:28:09 +03:00
Arik Fraimovich
9d3ae2c34a
Merge pull request #1998 from modomoto/fix_revoke_permissons_bug
...
[FIX] Revoke permission should respect to given grantee and access type.
2017-10-09 09:27:10 +03:00
Mehmet Emin INAC
6d2337b332
Revoke permission should respect to given grantee and access type.
...
The issue is, if you try to revoke the permission of a user from an
object, all the permissions on this object get removed. The fix is
assigning filtered query object to it's own reference.
According to SQLAlchemy documentation, `filter` method applies to
the **copy** of the query object which means calling filter doesn't
affect the object receiving filter call. For more information;
http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.filter
2017-10-06 12:52:35 +02:00
Arik Fraimovich
1ef2238d65
Merge pull request #1995 from cclauss/modernize-python2-code
...
Modernize Python 2 code to get ready for Python 3
2017-10-04 22:29:32 +03:00
muddydixon
521d05279b
fixed according to https://github.com/getredash/redash/pull/1976#issuecomment-333370285
2017-10-04 10:01:10 +09:00
cclauss
01e85f218a
Modernize Python 2 code to get ready for Python 3
2017-10-04 02:06:53 +02:00
Arik Fraimovich
8af028bc90
Merge pull request #1994 from kravets-levko/fix/eslint-error
...
Fixed eslint "Cannot read property 'length' of undefined" error
2017-10-03 22:49:43 +03:00
Levko Kravets
85da5fced1
Fixed eslint "Cannot read property 'length' of undefined" error
2017-10-03 21:15:10 +03:00
deecay
038d3b1004
Fix: Setting series color for boxplot
2017-10-03 10:25:07 +09:00
Arik Fraimovich
6cf2b94a10
Merge pull request #1989 from getredash/patches
...
Add option to set the flask-limiter storage engine
2017-10-02 17:26:27 +03:00
Arik Fraimovich
c930c44e3a
Add option to set the flask-limiter storage engine
2017-10-02 17:25:54 +03:00
Arik Fraimovich
0753332ef8
Merge pull request #1988 from getredash/patches
...
Fix: don't crash query editor when there are unclosed curly brackets.
2017-10-02 17:01:22 +03:00
Arik Fraimovich
ed9e409e17
Fix: don't crash query editor when there are unclosed curly brackets.
2017-10-02 16:58:27 +03:00
Arik Fraimovich
c40fffa107
Merge pull request #1986 from getredash/patches
...
Fix: error value in charts wasn't displayed if it was 0.
2017-10-02 16:43:27 +03:00
Arik Fraimovich
d597665a86
Fix: error value in charts wasn't displayed if it was 0.
2017-10-02 16:43:06 +03:00
Arik Fraimovich
b0bec26138
Merge pull request #1975 from rohithmenon/bugfix/query_based_param
...
Bugfix/query based param
2017-10-01 14:32:48 +03:00
Arik Fraimovich
0d44466967
Merge pull request #1984 from getredash/patches
...
Cohort visualization: make it friendlier to use.
2017-10-01 14:26:47 +03:00
Arik Fraimovich
f4cb62782a
Merge pull request #1983 from getredash/patches
...
Fix: Queries#all_queries was sometimes returning wrong number of queries
2017-10-01 14:26:20 +03:00
Arik Fraimovich
3cadd6731c
Fix: tests entering endless loop, due to bad input.
2017-10-01 14:26:04 +03:00
Arik Fraimovich
fc18b84f69
Cohort visualization: make it friendlier to use.
...
Now it can handle gaps in data, so it's easier to generate the data needed.
2017-10-01 14:24:10 +03:00
Arik Fraimovich
f7fc679427
Merge pull request #1965 from alexmuller/firefox-textarea-keydown-prevent-enter
...
Prevent line breaks in EditInPlace description when using Firefox
2017-10-01 14:23:29 +03:00
Arik Fraimovich
e674b715ef
Merge pull request #1966 from alexmuller/different-markdown-library
...
Use a different markdown library
2017-10-01 14:22:23 +03:00
Arik Fraimovich
029f6335ed
Add missing import.
2017-10-01 14:19:26 +03:00
Shalom Yerushalmy
fb4153add7
Upgarde cassasndra-driver version to 3.11.0
2017-09-28 13:28:21 +03:00
Arik Fraimovich
ada8a1255b
Fix: Queries#all_queries was sometimes returning wrong number of queries.
2017-09-27 18:17:57 +03:00
Arik Fraimovich
505f338da9
Merge pull request #1978 from getredash/patches
...
Fix #1950 : record_event fails for api events
2017-09-27 18:08:57 +03:00
Arik Fraimovich
18d9b2eec9
Fix #1950 : record_event fails for api events
2017-09-27 18:04:21 +03:00
muddydixon
41a03352b9
users using docker-compose require restart always
2017-09-27 17:26:39 +09:00
Rohith Menon
50f817e265
Merged with upstream
2017-09-26 23:18:50 -07:00
Rohith Menon
04ddb289ee
Merged with upstream
2017-09-26 23:13:02 -07:00
Rohith Menon
0152250e14
Bugfix: column.type not set by many data sources [sqlite, postgres etc]
2017-09-26 23:07:18 -07:00
Alex Muller
f574cdd179
Use a different markdown library
...
`marked` has some security vulnerabilities which have been unresolved
for a while. `markdown` seems to be better supported.
2017-09-22 19:08:07 +01:00
Alex Muller
458f213ea7
Update npm-shrinkwrap
...
Not sure why this hadn't been updated previously.
2017-09-22 18:42:46 +01:00
Alex Muller
f2caae6eb1
Use event.preventDefault() on EditInPlace textarea
...
Before this change, pressing enter in Firefox 55 would insert a line
break into the description field and then save it.
This change prevents the line break from being inserted before saving.
There's no change to Chrome's behaviour from this change.
2017-09-22 17:54:02 +01:00
Alex Muller
c01cd89de9
Remove magic numbers from EditInPlace()
...
This makes it a lot easier to read and figure out what's going on.
2017-09-22 17:51:30 +01:00
Alex Muller
5ea3ed7308
Update redirected link in README
2017-09-22 17:51:10 +01:00
Arik Fraimovich
50eb9a86c9
Merge pull request #1961 from fan-t-endo/writer_encode_errors
...
UnicodeWriter errors code to environment
2017-09-21 21:39:59 +03:00
Shalom Yerushalmy
12cbfc5d12
Added timeout to cassandra
2017-09-18 12:06:35 +03:00
kitsuy
ba7ed5c6f0
Renaming SQL Server to SQL Server ODBC
2017-09-15 19:50:39 +09:00
kitsuy
4fbfa682fe
Import types_map and MSSQLJSONEncoder from mssql. It is same.
2017-09-15 19:24:47 +09:00
kitsuy
fb1139a2ea
Remove query encoding.
...
Do not have to encode query.
`execute()` take an unicode query arguments in pyodbc.
2017-09-15 19:02:20 +09:00
kitsuy
8d8ec1a5f8
Rename to Microsoft SQL Server (ODBC)
2017-09-15 18:31:33 +09:00
kitsuy
7582b3174d
Add default driver in configuration_schema to specify driver more easily
2017-09-15 18:28:38 +09:00
kitsuy
154b554ecd
Remove tds_version (no longer used)
2017-09-15 18:26:21 +09:00
kitsuy
316e014cfa
Rename to SQLServerODBC for more precise.
2017-09-15 18:24:39 +09:00
fan-t-endo
048d8fcb5b
UnicodeWriter errors code to environment
2017-09-15 17:56:27 +09:00
Arik Fraimovich
8bbb1cdfd4
Fix: wrong variable name used (dataRow instead of row)
...
Thanks @wu123456.
Closes #1926 .
2017-09-13 22:20:05 +03:00
Arik Fraimovich
94175b8a52
Merge pull request #1899 from queeno/add_oracle_53_support
...
Fix #1843 : Remove deprecated cx_Oracle types
2017-09-13 18:48:14 +03:00
Simon Aquino
c350b43a5a
Update oracle client version
2017-09-13 17:40:44 +02:00
Simon Aquino
b379c13e8b
Update supported Oracle version
2017-09-13 17:39:04 +02:00
Simon Aquino
7d91e9d173
Fix #1843 : Remove deprecated cx_Oracle types
...
FIXED_UNICODE, LONG_NCHAR, LONG_UNICODE and UNICODE have been removed
from cx_Oracle version 5.3 and should be removed from the TYPES_MAP.
2017-09-13 17:31:40 +02:00
Arik Fraimovich
1b15ea8af9
Merge pull request #1727 from crowdworks/salesforce-error-message
...
improve Salesforce error message
2017-09-13 17:39:19 +03:00
Arik Fraimovich
e76efc9cdf
Merge pull request #1896 from StantonVentures/textbox_editing_fix
...
Textbox editing fix
2017-09-13 16:03:22 +03:00
Arik Fraimovich
0a311bf63f
Merge pull request #1873 from deecay/fix-custom-js
...
Custom JS code chart improvements
2017-09-13 15:46:43 +03:00
Arik Fraimovich
5069edb9b1
Merge pull request #1876 from TylerBrock/ssl-postgres
...
Add SSL configuration option for PostgreSQL
2017-09-13 15:44:07 +03:00
Arik Fraimovich
90162b6331
Merge pull request #1920 from deecay/counter-format-string
...
Counter value string formatting
2017-09-13 15:39:52 +03:00
Arik Fraimovich
398812a14f
Merge pull request #1928 from rohithmenon/feature/query_based_parameter
...
Feature/query based parameter
2017-09-13 15:35:50 +03:00
Arik Fraimovich
2e44872b49
Merge pull request #1955 from getredash/fix_mysql
...
MySQL: multiple queries support & connection timeout
2017-09-13 14:48:44 +03:00
Arik Fraimovich
e02fdb3e37
MySQL: add support for multiple queries (returning results only of the last one)
2017-09-13 14:38:56 +03:00
Arik Fraimovich
234edd339c
MySQL: add connection timeout for bad hosts
2017-09-13 14:38:28 +03:00
Arik Fraimovich
e5cbdf3036
Merge pull request #1946 from Posnet/select-all
...
Add ability to easily select all for multi-filter
2017-09-13 14:29:15 +03:00
Arik Fraimovich
9b85890204
Merge pull request #1954 from labradorcouk/master
...
Upgraded dql version to 0.5.24
2017-09-13 14:26:53 +03:00
Antonio Terreno
6295e88d43
Upgraded dql version to 0.5.24 - this allows to query tables in dynamo which have keys with dashes in the name
2017-09-13 09:12:44 +01:00
Arik Fraimovich
7796a57d43
Merge pull request #1930 from mfouilleul/master
...
Cassandra: get_schema support for both C* 2.x and 3.x, support for SortedSet type serialization.
2017-09-12 15:59:36 +03:00
Rohith Menon
df7fd13bfd
Hovertext length ( #3 )
...
* Namelength for hoverlabel to avoid truncation
* Update npm-shinkwrap.json
2017-09-06 21:08:18 -07:00
Rohith Menon
6a5a843478
Merge branch 'master' of https://github.com/getredash/redash
2017-09-05 10:35:40 -07:00
Alec Posney
7d4fb280ba
Add ability to easily select all for multi-filter
...
The multi filter option is useful but lacking in an easy easy way to
select all values. I have added in a psudo option '*' that when selected
automatically fills out the mutli-select with all possible filters.
I have also added in a second psudo option '-' which becomes available
_if_ the multi-filter has all possible values selected.
This makes it easy to clear the multi-filter.
2017-09-05 13:31:04 +10:00
Arik Fraimovich
2a22b98c77
Merge pull request #1944 from getredash/fix_permissions
...
Fix: collaborators couldn't edit visualizations or schedule
2017-09-03 15:00:27 +03:00
Arik Fraimovich
6b56e4a3e3
Allow collaborators to update query schedule.
2017-09-03 14:31:42 +03:00
Arik Fraimovich
47fc6612bf
Allow collaborators to create, delete and edit visualizations.
2017-09-03 14:28:34 +03:00
Rohith Menon
f3e5c22c07
Merge/query based parameter ( #2 )
...
* Feature: Query based parameter (drop-down)
* Restrict to string column for query parameter
* Fix lint errors
* Fix html in paramters.html
* Addressed comments from @arikfr
2017-08-23 20:48:02 -07:00
Maxime Fouilleul
b42d2c5784
Fix codeclimate notices (trailing space)
2017-08-17 18:19:19 +02:00
Maxime Fouilleul
478a86a892
Fix codeclimate notices (SQL)
2017-08-17 18:17:53 +02:00
Maxime Fouilleul
9e0205d148
Improve and fix cassandra query runner
2017-08-17 18:10:16 +02:00
Rohith Menon
59b7961bcd
Addressed comments from @arikfr
2017-08-16 16:04:00 -07:00
Arik Fraimovich
5b54a777d9
Merge pull request #1863 from 44px/ng-annotate-deprecation
...
Replace deprecated ng-annotate with babel plugin
2017-08-16 16:21:23 +03:00
Arik Fraimovich
3af9b333a8
Merge pull request #1898 from StantonVentures/security_lib_updates_7_27_2017
...
update libraries
2017-08-16 16:19:57 +03:00
Arik Fraimovich
dcaecdbe16
Merge pull request #1921 from deecay/error-bar-color
...
Fix: error bar color in sync with series color
2017-08-16 16:19:04 +03:00
Arik Fraimovich
3aa7d86699
Update bootstrap.sh
2017-08-16 16:16:00 +03:00
Rohith Menon
feab2a7e7b
Fix html in paramters.html
2017-08-15 13:53:55 -07:00
Rohith Menon
d18220c1af
Feature/query based parameter ( #1 )
...
* Feature: Query based parameter (drop-down)
* Restrict to string column for query parameter
* Fix lint errors
2017-08-14 21:47:48 -07:00
Rohith Menon
8074a91b29
Fix lint errors
2017-08-14 09:20:58 -07:00
Rohith Menon
72560d985f
Restrict to string column for query parameter
2017-08-14 09:15:28 -07:00
Rohith Menon
ff2c8524de
Feature: Query based parameter (drop-down)
2017-08-14 00:38:41 -07:00
Alison
1bdea11fe3
updates based on PR comments
2017-08-11 21:17:30 -05:00
Arik Fraimovich
a7bed64707
Merge pull request #1836 from amarjayr/master
...
LDAP (Active Directory) implementation
2017-08-09 20:46:17 +03:00
Arik Fraimovich
dc969fe0b5
Bump version.
2017-08-09 20:45:26 +03:00
Amar Ramachandran
588c868060
Make ldap3 requirement optional
2017-08-09 10:32:44 -07:00
Arik Fraimovich
89de5f2a18
Fix #1776 : restart was using wrong command on new AMI builds
2017-08-08 14:21:43 +03:00
Arik Fraimovich
fe32877864
Update CHANGELOG.md
2017-08-08 13:59:31 +03:00
deecay
e739f90405
Fix: error bar color in sync with series color
2017-08-08 18:27:42 +09:00
deecay
a07135c638
Move counter visualiation formatting controls to tab
2017-08-08 17:45:37 +09:00
Arik Fraimovich
6b531ac568
Merge pull request #1891 from yoavbls/master
...
Update bootstrap.sh to latest release
2017-08-06 22:06:15 +03:00
Arik Fraimovich
5bce695fcc
Remove unused import
2017-08-06 21:02:55 +03:00
Arik Fraimovich
ba910280a1
Mark query/visualization view events coming from dashboards
2017-08-06 21:02:11 +03:00
Arik Fraimovich
2f386781d7
Merge pull request #1915 from getredash/patches
...
Add 12 & 24 hours refresh rate option to dashboards.
2017-08-06 20:53:43 +03:00
Arik Fraimovich
4c70349ee1
Add 12 & 24 hours refresh rate option to dashboards.
2017-08-06 20:53:07 +03:00
Arik Fraimovich
74b9c51dea
Merge pull request #1914 from getredash/patches
...
Enable memory optimization for Excel exporter.
2017-08-06 20:51:47 +03:00
Arik Fraimovich
d95c22fa24
Enable memory optimizatino for Excel exporter.
2017-08-06 20:51:05 +03:00
Arik Fraimovich
3a7611309c
Merge pull request #1913 from getredash/patches
...
Fix: pivottable not updating after first save
2017-08-06 20:49:45 +03:00
Arik Fraimovich
5281d6c281
Merge pull request #1912 from getredash/patches
...
Snowflake support is no longer enabled by default
2017-08-06 20:47:56 +03:00
Arik Fraimovich
5bc1e71143
Fix: pivottable not updating after first save
2017-08-06 20:47:52 +03:00
Arik Fraimovich
31ebfb80d7
Snowflake support is no longer enabled by default
2017-08-06 20:45:10 +03:00
Arik Fraimovich
1f8ed8a6c2
Merge pull request #1911 from getredash/patches
...
Add SQLAlchemy pool settings.
2017-08-06 20:40:51 +03:00
Arik Fraimovich
3d10718650
Merge branch 'master' into patches
2017-08-06 20:40:34 +03:00
Arik Fraimovich
4a4ee49187
Add SQLAlchemy pool settings.
2017-08-06 20:39:37 +03:00
Arik Fraimovich
7bf7b00633
Merge pull request #1910 from getredash/patches
...
Fix: PostgreSQL passwords with spaces were not supported.
2017-08-06 20:38:16 +03:00
Arik Fraimovich
68e3fe65ba
Add: support for category type y axis.
2017-08-06 20:37:39 +03:00
Arik Fraimovich
7fe096fba8
Fix: PostgreSQL passwords with spaces were not supported.
...
Closes #1056 .
2017-08-06 20:34:58 +03:00
Arik Fraimovich
f80951457d
Fix: handle the case of query's data source is null
2017-08-06 20:32:51 +03:00
Arik Fraimovich
1da165edc1
Add hard timeout on refresh schema job
2017-08-06 20:32:00 +03:00
Arik Fraimovich
61c7c556b6
Update CHANGELOG.
...
Thank you @laughingman7743, @ziahamza, @yamamanx, @miketheman, @eyalzek, @alexpekurovsky, @44px, @amarjayr, @unixwitch, @danielerapati, @yershalom, @msnider and @alison985.
2017-08-06 15:53:48 +03:00
Arik Fraimovich
6170c48ed2
Merge pull request #1874 from alexpekurovsky/master
...
Setting optional limit for done tasks
2017-08-06 14:33:42 +03:00
kitsuy
974f69aecf
Query Runner for Azure SQL Data Warehouse
...
- This is almost copied from mssql.py.
- Microsoft's driver installation is here: https://www.microsoft.com/en-us/sql-server/developer-get-started/node/ubuntu/
2017-08-03 13:22:45 +09:00
deecay
1a8078ab03
Fix: Custom code keeps appending trace per refresh
2017-07-31 19:22:25 +09:00
Alison
1bc8d586c3
update libraries
...
Based on pyup auto-PR httplib2 and cryptography needed updating which
necessitated updating pyOpenSSL as well.
2017-07-27 21:15:39 -05:00
Alison
a795f1463b
Fixes dashboard textbox editing
...
Combines mozilla/redash PR’s 86 and 95.
There was a bug that saved textbox content on a dashboard when you
tried to close without saving. This fixes it.
2017-07-26 23:15:22 -05:00
Alison
aae77a8b25
Merge remote-tracking branch 'getredash/master'
2017-07-25 15:19:24 -05:00
deecay
c278209883
Counter visualiation formatting
2017-07-25 19:26:52 +09:00
alexpekurovsky
7f8ef2a050
Applying better quality code by @arikfr
2017-07-25 10:19:08 +03:00
alexpekurovsky
d21e11ba33
Creating limit filter for each task state and global limit
2017-07-24 10:13:32 +03:00
alexpekurovsky
1fc990f11a
Setting limit for all task states
2017-07-23 13:50:23 +03:00
yoavbls
a09a767641
Update bootstrap.sh to latest release
2017-07-22 17:55:57 +03:00
Arik Fraimovich
12ef64f10d
Merge pull request #1889 from StantonVentures/upstream_1888
...
Send alert ID to UI
2017-07-21 21:04:44 +03:00
Alison
776e52a77c
Send alert ID to UI
...
This will allow alert detail page links on the alert list page to work again.
2017-07-21 12:54:21 -05:00
Tyler Brock
6d8880c10d
Add SSL configuration option for PostgreSQL
2017-07-19 11:14:40 -07:00
Arik Fraimovich
5d5af369e6
Merge pull request #1870 from eyalzek/log-stream-config
...
Add the option to configure log stream
2017-07-19 15:40:26 +03:00
Arik Fraimovich
1d7fef4f7d
Merge pull request #1871 from unixwitch/configurable-web-worker-count
...
docker: make gunicorn worker count configurable
2017-07-19 15:39:27 +03:00
Arik Fraimovich
35cb0bc805
Remove REDASH_WEB_WORKERS from docker-compose.yml.
...
In development (`dev_server`) we don't use this variable.
2017-07-19 15:39:16 +03:00
Arik Fraimovich
5310385f15
Merge pull request #1884 from miketheman/miketheman/query_link
...
Add link to query page from admin view
2017-07-19 15:35:08 +03:00
Mike Fiedler
41c791ff42
Add link to query page from admin view
...
When we have a long0running query, it is useful to look up what that
query definition is. Having a link directly from the admin page cuts
down on the manual step of opying the query id and pasting that into the
address bar.
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-07-18 10:54:13 -04:00
alexpekurovsky
9b3f910326
Setting optional limit for done tasks
2017-07-12 15:23:01 +03:00
deecay
aacc4b7b46
Fix: Custom code keeps appending trace per refresh
2017-07-11 17:44:05 +09:00
deecay
605a70d554
Add toggle for automatically updating graph
2017-07-11 17:31:16 +09:00
deecay
73466dc0e0
Make custom js textarea resizable
2017-07-11 15:43:09 +09:00
deecay
3fd90c6289
Fix: Custom code didn't load into editor
2017-07-11 10:15:47 +09:00
eyalzek
97624a3e2c
Add the option to configure log stream
...
by default when using python's `logging` module and a `StreamHandler`,
the stream is directed to `sys.stderr`
(https://docs.python.org/2/library/logging.handlers.html )
By setting the `REDASH_LOG_STDOUT` environment variable to `true` we
enable the option to stream the logs to `sys.stdout`. Setting this
configuration option to `false` (or leaving it as default) will
initialize the `StreamHandler` to `sys.stderr` - meaning the original
behavior remains unchanged.
2017-07-07 23:09:32 +02:00
Liss Tarnell
d69c9409dd
docker: make gunicorn worker count configurable
...
Allow $REDASH_WEB_WORKERS to be set in the environment to change the
number of Gunicorn workers that are started (currently hardcoded to
four). If not set, the default is four, so this will not affect
existing users at all.
Documentated by example in docker-compose example manifests.
2017-07-06 18:45:47 +01:00
Arik Fraimovich
5bb5f46c02
Merge pull request #1860 from AmarJayR/patch-1
...
Remove /forgot endpoint if REDASH_PASSWORD_LOGIN_ENABLED is false
2017-07-03 23:22:27 +03:00
Arik Fraimovich
2b6fe22b3f
Merge pull request #1865 from msnider/bug/salesforce-sandbox
...
Fix bug getting the Salesforce sandbox parameter
2017-07-03 23:21:48 +03:00
Alexander Shepelin
53f0716aca
Replace deprecated ng-annotate with babel plugin
2017-07-02 14:22:36 +03:00
Arik Fraimovich
fd798ddcf5
Merge pull request #1833 from 44px/webpack2
...
Update to Webpack 2
2017-07-01 12:39:53 +03:00
Matt Snider
812177a4e0
Fix bug getting the Salesforce sandbox parameter
2017-06-29 20:54:34 -05:00
Amar Ramachandran
b9e08897ac
Move ldap auth logic to function
2017-06-29 11:33:57 -07:00
Amar Ramachandran
e445fa436e
404 on forgot endpoint if password disabled
2017-06-29 11:29:58 -07:00
Arik Fraimovich
797a0a30ca
Merge pull request #1859 from getredash/fix/alerts
...
Add: ability to customize Athena configuration schema
2017-06-29 16:06:02 +03:00
Arik Fraimovich
dfd16f3d7a
Add: ability to customize Athena configuration schema
2017-06-29 16:04:50 +03:00
Arik Fraimovich
a80aae0ec7
Merge pull request #1858 from getredash/fix/alerts
...
Add CLI command to open IPython shell
2017-06-29 15:23:34 +03:00
Arik Fraimovich
c8ad866a53
Add CLI command to open IPython shell
2017-06-29 12:21:09 +03:00
Arik Fraimovich
fe2f08cfd6
Merge pull request #1857 from getredash/fix/alerts
...
Angular configuration improvements
2017-06-29 12:13:22 +03:00
Arik Fraimovich
f64769cc80
Disable Angular debug info (should improve performance)
2017-06-29 12:11:34 +03:00
Arik Fraimovich
831dfe6c8d
Enable strict checking for Angular DI
2017-06-29 12:11:15 +03:00
Arik Fraimovich
3b4da81ec6
Merge pull request #1856 from getredash/fix/alerts
...
Add: ability to set dashboard level filters from UI
2017-06-29 11:03:57 +03:00
Arik Fraimovich
248c540543
Add: ability to set dashboard level filters from UI
...
Closes #1855 .
2017-06-29 10:57:35 +03:00
Arik Fraimovich
0fb0ba6473
Merge pull request #1853 from getredash/fix/alerts
...
Update boto version to support Athena
2017-06-29 09:49:42 +03:00
Arik Fraimovich
019a09945e
Update boto version to support Athena
2017-06-29 09:49:06 +03:00
Arik Fraimovich
520a5f8fa4
Merge pull request #1839 from yamamanx/writer_encode
...
UnicodeWriter character code to environment
2017-06-29 09:44:41 +03:00
mitsuhiro_yamashita
f840681377
change this to WRITER_ENCODING and REDASH_CSV_WRITER_ENCODING
2017-06-29 08:21:22 +09:00
Amar Ramachandran
300421792c
Add log error when LDAP connection fails
...
Integrate ldap login in login template
2017-06-28 13:32:24 -07:00
Arik Fraimovich
0ab25c317c
Merge pull request #1852 from getredash/fix/alerts
...
Allow sorting alerts list
2017-06-28 22:15:40 +03:00
Arik Fraimovich
c8adf322a9
Allow sorting alerts
2017-06-28 22:11:05 +03:00
Arik Fraimovich
fae1e7152a
Merge pull request #1851 from getredash/fix/alerts
...
Don't allow saving dashboard with empty name
2017-06-28 19:30:23 +03:00
Arik Fraimovich
e543e0c466
Don't allow saving dashboard with empty name
2017-06-28 19:22:59 +03:00
Arik Fraimovich
d61002a544
Merge pull request #1850 from getredash/fix/alerts
...
No need to load user for recent queries.
2017-06-28 19:22:49 +03:00
Arik Fraimovich
92f93f8ff6
No need to load user for recent queries.
2017-06-28 19:10:26 +03:00
Arik Fraimovich
bf17bdc32d
Merge pull request #1793 from danielerapati/fix/alert_with_no_query_result
...
safeguard alerts against empty query results
2017-06-28 17:31:43 +03:00
Arik Fraimovich
70292c888c
Merge pull request #1524 from rainforestapp/master
...
Allow params once again in embeds
2017-06-28 17:29:14 +03:00
Arik Fraimovich
69cb5b72e1
Merge pull request #1849 from getredash/fix/alerts
...
Show friendly error message in case of duplicate data source name.
2017-06-28 17:25:13 +03:00
Arik Fraimovich
470d2ad359
Show friendly error message in case of duplicate data source name.
2017-06-28 17:19:17 +03:00
Arik Fraimovich
e85fa2a42c
Merge pull request #1848 from getredash/fix/alerts
...
Fix: when setting rearm on a new alert, it wasn't persisted.
2017-06-28 16:53:17 +03:00
Arik Fraimovich
42116abcb3
Fix: when setting rearm on a new alert, it wasn't persisted.
2017-06-28 16:34:50 +03:00
Arik Fraimovich
2e0b930192
Merge pull request #1847 from getredash/fix/alerts
...
Fix: alert destination details were not updating.
2017-06-28 16:30:14 +03:00
Arik Fraimovich
24ba110965
Fix: alert destination details were not updating.
...
Closes #1842 .
2017-06-28 16:01:54 +03:00
Arik Fraimovich
e1eeb67025
Merge pull request #1846 from getredash/athena-updates
...
Athena updates: bring back ability to disable annotations and disable formatter
2017-06-28 14:19:56 +03:00
Arik Fraimovich
71c9cbd5a4
Missing os import.
2017-06-28 12:40:11 +03:00
Arik Fraimovich
e1ac5bb038
Athena: bring back the option to disable query annotations.
2017-06-28 12:30:37 +03:00
Arik Fraimovich
c2e84c92c6
Athena: use simple formatter to avoid the need to escape "%" character.
2017-06-28 12:28:59 +03:00
Arik Fraimovich
090962d09c
Merge pull request #1841 from laughingman7743/fix_query_cancellation_condition
...
Fix query cancellation condition for Athena query runner
2017-06-25 10:29:24 +03:00
laughingman7743
df945a12b0
Fix query cancellation condition
2017-06-24 20:53:35 +09:00
mitsuhiro-yamashita
3f99f0c6d5
Expected 2 blank lines
2017-06-22 23:38:01 +09:00
mitsuhiro-yamashita
4706bebde0
UnicodeWriter character code to environment
2017-06-22 23:34:21 +09:00
Amar Ramachandran
85f729260b
Clean up file
2017-06-20 15:33:32 -07:00
Amar Ramachandran
8bf2c15db8
Add ldap auth logic
2017-06-20 15:33:32 -07:00
Amar Ramachandran
9ea4784f87
Add ldap3 requirement
2017-06-20 15:33:32 -07:00
Amar Ramachandran
8be9613640
Add ldap env. config settings
2017-06-20 15:33:32 -07:00
Amar Ramachandran
b611c98112
Add ldap blueprint
2017-06-20 15:33:32 -07:00
Alexander Shepelin
ad3dbad8ac
remove ng-annotate-loader from npm-shrinkwrap since it moved to dev dependencies
2017-06-20 23:14:24 +03:00
Alexander Shepelin
62c8bd3531
fix angular core libraries version mismatch
2017-06-20 22:43:59 +03:00
Alexander Shepelin
c8d66b3335
bring back node-sass, update file-loader
2017-06-20 22:43:58 +03:00
Alexander Shepelin
0217d419d1
update ng-annotate loader, move it to devDependencies
2017-06-20 22:43:58 +03:00
Alexander Shepelin
45f448e0d1
update dev server
2017-06-20 22:43:58 +03:00
Alexander Shepelin
ee4b05eb98
update css-related loaders
2017-06-20 22:43:58 +03:00
Alexander Shepelin
202c53c7d7
update config file to webpack2 format
2017-06-20 22:43:41 +03:00
Arik Fraimovich
9816403c45
Merge pull request #1834 from AmarJayR/patch-1
...
Fix template variable typo
2017-06-20 08:52:08 +03:00
Amar Ramachandran
b6a1178499
Fix template variable typo
...
Should be email instead of username (see redash/templates/login.html:47)
2017-06-19 17:10:40 -07:00
Arik Fraimovich
2fe6110e0f
Merge pull request #1831 from getredash/feature_auto_publish
...
Fix: if column had no type it would use previous column's type
2017-06-18 13:02:19 +03:00
Arik Fraimovich
c4e18bb481
Fix: if column had no type it would use previous column's type
2017-06-18 12:31:32 +03:00
Arik Fraimovich
add8f0eeeb
Merge pull request #1830 from getredash/feature_auto_publish
...
Change: auto publish named queries
2017-06-18 12:30:32 +03:00
Arik Fraimovich
694d971df9
Auto publish named queries
2017-06-18 12:12:02 +03:00
Arik Fraimovich
36c93ce212
Merge pull request #1809 from laughingman7743/impl_athena_query_runner_using_restapi
...
Implement Athena query runner using RestAPI
2017-06-15 15:02:23 +03:00
laughingman7743
35fe1f23e3
Fix configuration schema key name
2017-06-15 20:59:50 +09:00
Arik Fraimovich
2517abb27f
Merge pull request #1821 from getredash/fix_api_session
...
Fix: /api/session API call wasn't working when multi tenancy enabled
2017-06-14 12:13:04 +03:00
Arik Fraimovich
1d749a83e1
Fix: /api/session API call wasn't working when multi tenancy enabled
2017-06-14 12:06:18 +03:00
Arik Fraimovich
fc50a7b9bb
Remove outdated comment
2017-06-14 12:05:49 +03:00
Arik Fraimovich
6f72d456d2
Remove unused code
2017-06-14 12:05:49 +03:00
Arik Fraimovich
1182f8c6b0
Merge pull request #1813 from 44px/parameters-styles
...
UI change: add some space between parameters
2017-06-13 11:24:27 +03:00
Arik Fraimovich
f090f947b7
Merge pull request #1820 from getredash/patches
...
Fix: clear null values from options dictionary
2017-06-13 09:52:24 +03:00
Arik Fraimovich
a8246471f4
Fix: clear null values from options dictionary
2017-06-13 09:42:20 +03:00
Arik Fraimovich
229c33939c
Merge pull request #1819 from getredash/patches
...
Fix: form component was inserting empty values
2017-06-13 09:41:24 +03:00
Arik Fraimovich
ef2eaf1fa9
Fix: form component was inserting empty values
2017-06-13 09:39:33 +03:00
Arik Fraimovich
d30f4f155a
Merge pull request #1818 from getredash/patches
...
Fix: BigQuery wasn't loading due to bad import
2017-06-13 09:38:53 +03:00
Arik Fraimovich
b2e5df6af2
Fix: BigQuery wasn't loading due to bad import
2017-06-13 09:38:39 +03:00
Arik Fraimovich
0470cd6592
Stupid typo fix
2017-06-12 12:41:44 +03:00
Arik Fraimovich
a517dad456
Merge pull request #1817 from getredash/metrics
...
Metrics code update
2017-06-12 12:40:32 +03:00
Alexander Shepelin
789ef1614d
Merge remote-tracking branch 'upstream/master' into parameters-styles
2017-06-12 12:14:17 +03:00
Alexander Shepelin
3dfab5009c
put parameter label on top of input
2017-06-12 12:02:03 +03:00
Arik Fraimovich
7d5d7c4a6b
Change: report endpoints without dots for metrics
2017-06-12 11:35:44 +03:00
Arik Fraimovich
5056d2fa90
Fix: table name wasn't found for count queries.
2017-06-12 11:35:05 +03:00
Arik Fraimovich
1fad874dee
Change: redirect to / when org not found
2017-06-12 09:47:08 +03:00
Arik Fraimovich
a2c79367de
Merge pull request #1812 from 44px/fix-search-input-style
...
UI change: same view for input on search result page as in header
2017-06-11 14:39:00 +03:00
Arik Fraimovich
bcf129e646
Merge pull request #1814 from yershalom/master
...
Fixed cassandra DS bug by adding port to connection string
2017-06-11 14:38:18 +03:00
Shalom Yerushalmy
94077ccafd
Fixed cassandra DS bug by adding port to connection string
2017-06-08 15:44:09 +03:00
Alexander Shepelin
411ef7bd00
Add some space between parameters
2017-06-07 23:27:39 +03:00
Alexander Shepelin
6b22c2c541
Same view for input on search result page as in header
2017-06-07 23:03:05 +03:00
laughingman7743
e385a147f6
Add Athena query runner as default query runners
2017-06-06 22:01:44 +09:00
laughingman7743
ad69a6be3f
Add secret field
2017-06-05 23:28:28 +09:00
laughingman7743
a6c45da2ca
Add KeyboardInterrupt handling
2017-06-05 23:26:56 +09:00
laughingman7743
d5c4d9336f
Fix configuration schema name to same name as previous query runner
2017-06-05 23:25:49 +09:00
laughingman7743
c1f8e2a4e0
Add query runner name
2017-06-05 23:03:32 +09:00
laughingman7743
fe42195b5a
Implement Athena query runner using RestAPI
2017-06-05 22:09:30 +09:00
Arik Fraimovich
6a0bb82f3c
Merge pull request #1807 from 44px/fix-setup-redirect
...
Fix redirect to /setup on the last setup step
2017-06-05 07:42:51 +03:00
Alexander Shepelin
69825e001f
fix redirect to /setup after install
2017-06-04 17:24:47 +03:00
Arik Fraimovich
ad8571f2e3
Merge pull request #1803 from getredash/fix_1725
...
Fix: delete data source doesn't work when query results referenced by queries.
2017-06-02 18:17:52 +03:00
Arik Fraimovich
fbd3b92ba0
Fix: delete data source doesn't work when query results referenced by queries.
2017-06-02 18:11:34 +03:00
Arik Fraimovich
4f6c433f1b
Merge pull request #1796 from shotat/feature/re-dash
...
Fix deprecated `re-dash` expressions in CONTRIBUTING.md
2017-06-01 14:46:39 +03:00
Arik Fraimovich
412f469035
Merge pull request #1800 from hfm/fix-changelog
...
Fix CHANGELOG markdown
2017-06-01 14:37:48 +03:00
OKUMURA Takahiro
eee38557d1
Fix markdown
...
the changelog markdown before v1.0 is broken.
2017-06-01 14:46:18 +09:00
Daniele Rapati
23cb92cf6d
safeguard alerts against empty query results
...
alert will revert to UNKNOWN_STATE in case of no data
2017-05-30 22:30:32 +01:00
shotat
108137bd7e
fix CONTRIBUTING.md
2017-05-30 23:51:21 +09:00
hamza zia
6bc53c3638
use default embed.py
2017-05-30 16:33:56 +05:00
hamza zia
e54fff402e
fixed import bug
2017-05-30 16:32:09 +05:00
hamza zia
8d125354d2
merged changes
2017-05-30 14:19:18 +05:00
hamza zia
fc96e14a8f
Only run queries when given parameters
2017-05-30 12:26:09 +05:00
hamza zia
178dfa59c1
Merge branch 'master' into master
2017-05-30 09:09:37 +05:00
Arik Fraimovich
8719de7120
Merge pull request #1792 from getredash/fix_1725
...
Fix: remove unneeded calls to app_context()
2017-05-29 23:37:27 +03:00
Arik Fraimovich
af8bdf4fd1
Fix: remove unneeded calls to app_context()
...
When the extra app_context was popped from the stack, it was
triggering flask-sqlalchemy's teardown handler, which was removing
the session causing objects to become detached before they should
be.
2017-05-29 16:41:42 +03:00
Arik Fraimovich
764e347b74
Merge pull request #1736 from shimpeko/extend_redis_expiry_time
...
Extend expiry time to prevent duplicate execution
2017-05-23 10:53:10 +03:00
Arik Fraimovich
2f1b1a69bd
Add CHANGELOG entry.
2017-05-23 10:52:54 +03:00
Arik Fraimovich
b2fea428dd
Fix: use correct APIs
2017-05-23 09:19:14 +03:00
Shimpei Kodama
1f1d7996ec
Shorten celery task expiry time to avoid too many redis objects
2017-05-23 12:24:03 +09:00
Arik Fraimovich
47dc9a136f
Merge pull request #1779 from getredash/patches
...
Add: "dumb" recents option
2017-05-22 23:15:38 +03:00
Arik Fraimovich
6ed86d9ce5
Merge pull request #1778 from getredash/patches
...
Upgrade Snowflake connector
2017-05-22 14:26:57 +03:00
Arik Fraimovich
8e760705a6
Add: "dumb" recents option
...
In some cases showing recent queries/dashboards based on events becomes
too "expensive" in terms of database resources. This is a fallback option
to show recently updated queries/dashboards instead.
2017-05-22 14:26:26 +03:00
Arik Fraimovich
9c606b9660
Update Snowflake connector
2017-05-22 14:18:34 +03:00
Arik Fraimovich
f65b3223f4
Remove chatty log lines
2017-05-22 14:17:27 +03:00
Arik Fraimovich
e85e962466
Update CHANGELOG and bump version
2017-05-18 15:37:18 +03:00
Arik Fraimovich
a7df809c4d
Merge pull request #1774 from getredash/patches
...
Scheduled queries improvements:
2017-05-18 15:17:03 +03:00
Arik Fraimovich
beb29c66c2
Scheduled queries improvements:
...
* Schedule queries with parameters using the default value.
* Keep track of last execution (including failed ones) for scheduling purposes.
2017-05-18 15:10:19 +03:00
Arik Fraimovich
749171b186
Merge pull request #1746 from alexanderlz/master
...
[Data Sources] Add: MemSQL query runner
2017-05-18 14:01:53 +03:00
Arik Fraimovich
40a8187b1e
Merge pull request #1773 from getredash/patches
...
Split refresh schemas into separate tasks and add a timeout.
2017-05-18 14:00:26 +03:00
Alexander Leibzon
6b7234c910
fixes
2017-05-18 14:00:13 +03:00
Arik Fraimovich
3807510bfe
Split refresh schemas into separate tasks and add a timeout.
2017-05-18 13:39:34 +03:00
Arik Fraimovich
3650617928
Merge pull request #1772 from getredash/patches
...
Upgrade Sentry client.
2017-05-18 13:33:26 +03:00
Arik Fraimovich
d60843fa5b
Sentry: don't install logging hook.
2017-05-18 13:26:36 +03:00
Arik Fraimovich
5a5917a04a
Sentry: upgrade client version.
2017-05-18 13:24:53 +03:00
Arik Fraimovich
ae642fddf7
Merge pull request #1771 from getredash/patches
...
Show API key in a dialog instead of alert
2017-05-18 13:21:28 +03:00
Arik Fraimovich
b4a8fb76de
Merge pull request #1770 from getredash/patches
...
UI changes
2017-05-18 12:58:58 +03:00
Arik Fraimovich
b885ccb09c
Show API Key in a modal dialog instead of alert.
2017-05-18 11:53:16 +03:00
Arik Fraimovich
b70c329307
Dynamic form: change order of name and type (type first now).
2017-05-18 11:37:54 +03:00
Arik Fraimovich
1aa54543ed
Retry reload of query results if it had an error
2017-05-18 11:28:40 +03:00
Arik Fraimovich
e050c085df
Counter: support negative indexes to iterate from the end of the results.
2017-05-18 11:28:25 +03:00
Arik Fraimovich
62962d28ca
Only split columns with __/:: that end with filter/MultiFilter.
2017-05-18 11:15:21 +03:00
Arik Fraimovich
d7c502eb50
Query results: better type guessing on the client side.
2017-05-18 11:13:11 +03:00
Arik Fraimovich
dd7841dc15
Merge pull request #1769 from getredash/patches
...
Improvements to background jobs
2017-05-18 11:09:35 +03:00
Arik Fraimovich
14c751b39e
Cohort: handle the case where the value/total might be strings.
2017-05-18 11:07:39 +03:00
Arik Fraimovich
f4297ff3b0
Handle the case when the task object might not exist.
2017-05-18 09:36:21 +03:00
Arik Fraimovich
79ffbbbe4b
Don't include paused datasource's queries in outdated queries count.
2017-05-18 09:34:32 +03:00
Arik Fraimovich
4c1cb037a0
Include Celery task name in statsd metrics.
2017-05-18 09:33:28 +03:00
Arik Fraimovich
f679dc7562
Put a limit on how many keys we remove at a time to make sure it
...
can handle large lists.
2017-05-18 09:31:04 +03:00
Arik Fraimovich
76470b9f09
Fix: don't remove locks for queries with task status of PENDING.
...
It's possible the Celery metadata object was expired, but the task
is still running (which will result in PENDING status when querying
the AsyncResult object).
2017-05-18 09:25:44 +03:00
Arik Fraimovich
3edec570f1
Merge pull request #1767 from getredash/patches
...
Google Spreadsheets: add timeout to request.
2017-05-17 18:53:44 +03:00
Arik Fraimovich
a2e07b46f2
Merge pull request #1756 from deecay/dashboard-list-sort
...
Change: Sort dashboard-list in /dashboards
2017-05-17 18:36:58 +03:00
Arik Fraimovich
326a80895c
Merge pull request #1615 from deecay/pivot_hide_control
...
Add: option to hide pivot table controls
2017-05-17 18:35:31 +03:00
Arik Fraimovich
d200cc7405
Merge pull request #1690 from deecay/sqlite-unicode-error
...
Fix: SQLite utf-8 error messages
2017-05-17 18:34:10 +03:00
Arik Fraimovich
c4dff40e1d
Merge pull request #1760 from rockwotj/master
...
Add: static enum parameter type.
2017-05-17 18:17:56 +03:00
Arik Fraimovich
21636c4d65
Rename Enum to Dropdown List.
2017-05-17 18:17:08 +03:00
Arik Fraimovich
52084c322f
Google Spreadsheets: add timeout to request.
2017-05-17 18:15:04 +03:00
Arik Fraimovich
5fd2dadef4
Merge pull request #1765 from getredash/patches
...
Multiple improvements to data sources (MySQL, InfluxDB, BigQuery, MongoDB, TreasureData, Postgres, ElasticSearch, MSSQL, Google Spreadsheets)
2017-05-16 12:08:23 +03:00
Arik Fraimovich
f312e89323
Google Analytics: support for mcf queries & better errors.
2017-05-16 11:25:11 +03:00
Tyler Rockwood
0046cfa3ee
Make it work
2017-05-15 14:41:20 -07:00
Tyler Rockwood
4ecc8da398
Addressing comments
2017-05-15 13:52:12 -07:00
Arik Fraimovich
382431e34b
MySQL: support for RDS MySQL and SSL
2017-05-15 17:22:55 +03:00
Arik Fraimovich
6023dc5f3d
MySQL: option to hide SSL settings.
2017-05-15 17:15:11 +03:00
Arik Fraimovich
2d38b38a7d
Google Spreadsheets: handle distant future dates.
2017-05-15 16:55:57 +03:00
Arik Fraimovich
3513d84bb8
Less verbose logging in data sources.
2017-05-15 16:53:47 +03:00
Arik Fraimovich
24cd55f5cc
Reduce log level for apiclient.
2017-05-15 16:51:39 +03:00
Arik Fraimovich
0bce6996bf
MSSQL: return integers as floats.
2017-05-15 16:50:41 +03:00
Arik Fraimovich
6edfdfba63
BigQuery: remove print statement.
2017-05-15 16:49:10 +03:00
Arik Fraimovich
ddbbe1267a
InfluxDB: simpler test connection query (show databases requries admin)
2017-05-15 16:48:16 +03:00
Arik Fraimovich
7fada5d5f7
ElasticSearch: debug_enabled should be false by default
2017-05-15 16:47:21 +03:00
Arik Fraimovich
c3f5a37e21
Postgres: support for loading materialized views in schema.
2017-05-15 16:29:03 +03:00
Arik Fraimovich
a76c87b3ae
MongoDB: add $oids JSON extension.
2017-05-15 16:27:27 +03:00
Arik Fraimovich
4a0612328e
TreasureData: improve error handling and upgrade client.
2017-05-15 16:25:18 +03:00
Arik Fraimovich
931c322ad7
Merge pull request #1763 from getredash/multi_org
...
Support for MULTI_ORG in v1
2017-05-15 12:58:16 +03:00
Arik Fraimovich
58c61641d3
Merge pull request #1759 from alexanderlz/mongo_csv_download_fix
...
Change: ignore additional columns in csv output
2017-05-11 15:30:19 +03:00
Tyler Rockwood
b675cd19d7
Add static enum option to redash
2017-05-09 13:41:58 -07:00
Alexander Leibzon
17b9f976c8
fix #1664
2017-05-09 17:56:40 +03:00
Alexander Leibzon
248808e165
Merge remote-tracking branch 'upstream/master'
2017-05-09 17:53:08 +03:00
Arik Fraimovich
7c6327be57
Clicking logo should take to account homepage
2017-05-09 10:42:30 +03:00
Arik Fraimovich
a86ece66b5
Add chunkhash to filename only when running production build.
2017-05-09 10:41:26 +03:00
deecay
fd9461ef20
Resolving merge
2017-05-08 11:48:14 +09:00
deecay
f121c609ad
Change: Sort dashboard-list in /dashboards
2017-05-08 11:28:41 +09:00
Arik Fraimovich
24f3e071e3
Merge pull request #1754 from getredash/fix_ds_new
...
Fix: properties of data source were not reset when changing type.
2017-05-07 12:38:51 +03:00
Arik Fraimovich
914977f279
Fix: properties of data source were not reset when changing type.
...
Fixes #1748 .
2017-05-07 12:35:23 +03:00
Arik Fraimovich
97b92d8887
Merge pull request #1738 from suemoc/disable-annotations-athena
...
[Athena] Fix: queries throwing errors except for SELECT
2017-05-07 10:21:48 +03:00
Arik Fraimovich
c1981b17a4
Merge pull request #1747 from denisov-vlad/jira-maxresults
...
[JQL] Fix: allow to override maxResults
2017-05-05 09:34:49 +03:00
Vladislav Denisov
ea7c6c2be3
jql: fixed maxResults in count query
2017-05-05 09:26:09 +03:00
Arik Fraimovich
22e3a4d8f2
Merge pull request #1753 from fbertsch/presto_cancellation
...
[Presto] Add: query cancellation support
2017-05-04 23:21:59 +03:00
Frank Bertsch
75ebbe148b
Add presto query cancellation
2017-05-04 11:10:04 -05:00
Arik Fraimovich
75f90c190b
Update test for new path
2017-05-04 11:49:10 +03:00
Arik Fraimovich
8aa053ce21
Log public dashboard view event
2017-05-04 11:27:27 +03:00
Arik Fraimovich
23ba8b4aa1
use relative links
2017-05-04 10:39:39 +03:00
Arik Fraimovich
6dde3170ab
Make embed & shared dashboard routes use mutli_org template
2017-05-04 10:39:32 +03:00
Arik Fraimovich
b9144a9d7a
WIP: support for MULTI_ORG mode ( #1447 )
2017-05-03 23:53:23 +03:00
Yohei Susa
a1a0d766fe
Add environment variable for switching query annotations of Athena to disable
2017-05-03 22:17:59 +09:00
Vladislav Denisov
48322856d9
jql: maxResults fix
2017-05-03 08:52:51 +03:00
Alexander Leibzon
b9f8b6cdbf
reformat, as for pep-8
2017-05-02 23:49:09 +03:00
Alexander Leibzon
805ea3cb46
Merge remote-tracking branch 'upstream/master'
2017-05-02 23:37:12 +03:00
Alexander Leibzon
79187cd29a
get_schema fix
2017-05-02 23:36:11 +03:00
Arik Fraimovich
ccaf78767b
Merge pull request #1700 from deecay/plotly-bump
...
Change: upgrade Plotly.js.
2017-05-02 22:02:21 +03:00
Arik Fraimovich
94a14f93a8
Remove dev dependencies from npm-shrinkwrap.json.
2017-05-02 22:00:09 +03:00
Arik Fraimovich
5ba6af6ad4
Merge pull request #1713 from deecay/plotly-box
...
Change: Box plot library from d3.js to Plotly.js
2017-04-30 23:14:18 +03:00
Arik Fraimovich
25760494d7
Merge pull request #1636 from axibase/propertyOrder
...
[Feature] add: the propertyOrder field to specify order in DataSource settings
2017-04-30 12:31:04 +03:00
Arik Fraimovich
a1fbd511a9
Merge pull request #1651 from axibase/feature/datasource_default_fileds_values
...
Fix: set default values in options to enable 'default: True' for checkbox
2017-04-30 12:30:32 +03:00
Arik Fraimovich
1b756de479
Merge pull request #1670 from ahamino/fix-google-integration
...
Change: newer Google API client library
2017-04-30 12:29:34 +03:00
Arik Fraimovich
a9e53a6c29
Merge pull request #1709 from dotneet/add_maximum_billing_tier_to_bigquery
...
[BigQuery] Add: maximumBillingTier configuration
2017-04-30 12:27:11 +03:00
Arik Fraimovich
111fbfd483
Merge pull request #1721 from jvanegmond/master
...
[JIRA JQL] Change: change default max results limit from 50 to 1000
2017-04-30 11:59:19 +03:00
Arik Fraimovich
437778a8be
Merge pull request #1730 from mfouilleul/master
...
[Cassandra] Add: support for UUID serializing and setting protocol version
2017-04-30 11:57:55 +03:00
deecay
1c955a570d
Bump Plotly version
2017-04-30 11:47:43 +09:00
Alexander Leibzon
469b041a2f
Merge remote-tracking branch 'upstream/master'
2017-04-30 01:53:02 +03:00
deecay
7a47d6741d
Change: Chosing box plot turns sortX off
2017-04-29 23:42:58 +09:00
Yohei Susa
214a231371
Disable query annotations to Athena query runner
2017-04-27 18:45:49 +09:00
Shimpei Kodama
eb3e30f70f
Extend expiry time to prevent duplicate execution
2017-04-25 11:00:52 +09:00
Abdelrahman Mahmoud
7324f1f4c7
Fix code climate warnings
2017-04-23 12:41:49 -04:00
Abdelrahman Mahmoud
93df24de39
Fix Google analytics, Google Spreadsheet and Big Query integration .. upgrade outh2client and google-api-python-client
2017-04-23 12:41:49 -04:00
Maxime Fouilleul
9f21807647
remove useless param
2017-04-20 11:33:12 +02:00
Maxime Fouilleul
9b59394768
Fix default values for proto/cqlversion
2017-04-20 11:16:37 +02:00
Maxime Fouilleul
ac1b0a46f9
Fix trailing spaces (style)
2017-04-19 23:00:39 +02:00
Maxime Fouilleul
5d7795ca47
Fix code style
2017-04-19 22:14:27 +02:00
Maxime Fouilleul
519fb49f6a
Improve cassandra lib
2017-04-19 16:39:43 +02:00
Arik Fraimovich
f504b682f3
Bump version.
2017-04-18 22:50:57 +03:00
Arik Fraimovich
f0719f5ea4
Fix: sort by header no longer working.
...
Closes #1726 .
2017-04-18 22:50:33 +03:00
Akira Yumiyama
f852f935c5
improve Salesforce error message
2017-04-18 23:37:05 +09:00
Arik Fraimovich
939aae086f
ADd changelog entry for favicons fix
2017-04-18 15:22:05 +03:00
Arik Fraimovich
742e38b08d
Update CHANGELOG and bump version
2017-04-18 15:20:21 +03:00
Arik Fraimovich
3c7c93fc9f
Fix: favicon wasn't showing up.
...
Closes #1719 .
2017-04-18 15:19:57 +03:00
Arik Fraimovich
53ffff9759
Merge pull request #1716 from deecay/dashboard-tag-m17n
...
Fix: Non-ASCII dashboard tag
2017-04-18 15:02:27 +03:00
Arik Fraimovich
2e7fafc4d8
CHANGELOG update.
2017-04-18 14:59:44 +03:00
Jos van Egmond
ccf9cbd2c8
Raise JQL limit from default 50 to 1000
2017-04-14 16:06:38 +02:00
hamza zia
730b7c8cad
merged upstream
2017-04-11 13:20:13 -04:00
Arik Fraimovich
c66b09effe
Merge pull request #1717 from getredash/fix_embeds
...
Fix: page freezes when rendering large result set.
2017-04-11 18:33:11 +03:00
Arik Fraimovich
a087fe4bcd
Fix: page freezes when rendering large result set.
...
Closes #1711 .
2017-04-11 18:05:43 +03:00
deecay
ac557fd5b5
Change: Box plot library from d3 to Plotly
2017-04-07 19:35:28 +09:00
Arik Fraimovich
1f4946cc04
Merge pull request #1710 from getredash/fix_embeds
...
Fix: embeds were not rendering in PhantomJS.
2017-04-05 12:58:05 +03:00
Arik Fraimovich
08505a2208
Add changelog entry
2017-04-05 12:40:56 +03:00
Arik Fraimovich
e1c186bbf8
Fix: embeds were not rendering in PhantomJS.
...
Include polyfill for missing ArrayView functions.
Closes #1708 .
2017-04-05 12:38:21 +03:00
devneko
91396f0c52
Add: maximumBillingTier for BigQuery
2017-04-05 16:11:17 +09:00
Arik Fraimovich
c83d354eed
Merge pull request #1707 from getredash/docker-compose
...
Update docker-compose configuration:
2017-04-03 18:30:55 +03:00
Arik Fraimovich
81063731c9
Update docker-compose configuration:
...
* Use newer versions of Redis & PostgreSQL
* Use image for production docker-compose.
2017-04-03 18:28:46 +03:00
Arik Fraimovich
f66fe5ff80
Update packer configuration to create GCE image
2017-04-03 18:07:19 +03:00
Arik Fraimovich
8425698583
Update env
2017-04-03 13:18:34 +03:00
Arik Fraimovich
8b08b1a563
Merge pull request #1704 from getredash/new_bootstrap
...
New bootstrap script for Ubuntu 16.04
2017-04-03 13:16:53 +03:00
Arik Fraimovich
15b228b754
Update README
2017-04-03 12:54:23 +03:00
Arik Fraimovich
1db4157b29
Fix bootstrap script to be headless
2017-04-03 12:54:17 +03:00
Arik Fraimovich
079530cf63
Remove unused files
2017-04-03 12:54:05 +03:00
Arik Fraimovich
d2370a94c7
New bootstrap script
2017-04-03 10:30:06 +03:00
deecay
9f3fd021ab
Fix backward compatibility and resolve conflict
2017-04-03 16:25:23 +09:00
Arik Fraimovich
903463972b
Fix: handle the case when a scheduled query wasn't run before
2017-04-02 15:20:45 +03:00
Arik Fraimovich
2707e24f30
Update CHANGELOG & version
2017-04-02 14:43:02 +03:00
Arik Fraimovich
3df826692c
Merge pull request #1703 from getredash/queries
...
Fix: optimize queries to avoid N+1 cases
2017-04-02 14:09:12 +03:00
Arik Fraimovich
1142a441fc
Fix: optimize queries to avoid N+1 cases
2017-04-02 14:01:23 +03:00
Arik Fraimovich
53268989c5
Merge pull request #1701 from akiray03/refactor-next-to-next_path
...
Change: rename local variable `next` to `next_path`
2017-04-02 11:15:46 +03:00
deecay
83ed9fdc51
Fix: Dashboard tag for unicode dashboard names
2017-04-01 23:28:53 +09:00
Akira Yumiyama
0dc98e87a6
rename local variable next to next_path. because shadow built-in methods.
2017-04-01 20:25:23 +09:00
Arik Fraimovich
0cf4db1137
Update atsd_client version.
2017-03-30 15:19:57 +03:00
Arik Fraimovich
4e27069d07
Merge pull request #1696 from spasovski/percentstack
...
Fix: wrong percent stacking math
2017-03-30 12:15:05 +03:00
Davor Spasovski
3fcd07bc1c
fix percent stacking math (issue 41)
2017-03-29 15:07:37 -04:00
Arik Fraimovich
3414ff7331
Update CHANGELOG.md
2017-03-27 15:07:11 +03:00
Arik Fraimovich
04cd798c48
Update changelog
2017-03-27 15:07:00 +03:00
Arik Fraimovich
50dcf23b1a
Merge pull request #1665 from benmagro/filter_params
...
Fix: Set query filter to match dashboard level filters
2017-03-27 13:13:30 +03:00
Arik Fraimovich
1bb4d6d534
Fix condition to only have effect when there is a value in query string.
2017-03-27 13:12:50 +03:00
Arik Fraimovich
66a5e394de
Merge pull request #1688 from akiray03/refactoring-query-results-export
...
[Refactoring] make_{csv,excel}_content move to models from handlers
2017-03-27 12:42:58 +03:00
Arik Fraimovich
c4ab0916cc
Merge pull request #1682 from denisov-vlad/clickhouse-types-fix
...
[Clickhouse] Fix: better support for types
2017-03-27 12:18:17 +03:00
deecay
9dedaa31c5
Fix: SQLite utf-8 error messages
2017-03-27 16:48:57 +09:00
deecay
de77ebd961
Bump Plotly version
2017-03-27 15:16:42 +09:00
Arik Fraimovich
73cb6925d3
Merge pull request #1689 from getredash/feature/bubble
...
Fix: user can't edit their own alert
2017-03-26 11:55:39 +03:00
Arik Fraimovich
aaf0da4b70
Fix: user can't edit their own alert
2017-03-26 11:45:13 +03:00
Arik Fraimovich
c99bd03d99
Merge pull request #1666 from deecay/pivot-getdata
...
Change: add support for filtered data in Pivot table visualization
2017-03-26 11:33:57 +03:00
Akira Yumiyama
7fbb1b9229
[Refactoring] make_{csv,excel}_content move to models from handlers
...
I want to be able to use like: `python manage.py queries export <query_id>`
2017-03-26 12:24:10 +09:00
Arik Fraimovich
ba54d68513
Merge pull request #1686 from msnider/salesforce-sandbox
...
[Salesforce] Change: Sandbox cannot be required or it will force it to be True.
2017-03-25 21:08:22 +03:00
Matt Snider
f73cbf3b51
Sandbox cannot be required or it will force it to be True. Also, dont annotate SOQL queries as they dont allow comments
2017-03-25 12:19:53 -05:00
deecay
3f047348e2
Pivottable shows filtered data
2017-03-23 21:08:57 +09:00
deecay
10fe3c5373
Revert "Pivottable shows filtered and formatted data"
...
This reverts commit f011d3060a .
2017-03-23 21:07:56 +09:00
Vladislav Denisov
9c8755c9ae
clickhouse: added support for nullable columns
2017-03-22 10:28:44 +03:00
Vladislav Denisov
e8908d04bb
issues/1616: fixed clickhouse types
2017-03-22 09:44:21 +03:00
hamza zia
7bdc42ff05
Merge pull request #1 from getredash/master
...
Upstream Update
2017-03-21 23:19:53 +08:00
Arik Fraimovich
293f9dcaf6
Merge pull request #1680 from getredash/feature/bubble
...
Add: bubble charts support
2017-03-21 10:58:36 +02:00
Arik Fraimovich
ce31b13ff6
Add: bubble charts support
2017-03-21 10:46:11 +02:00
Arik Fraimovich
a033dc4569
Fix: angular minification issue in textbox editor
2017-03-20 17:41:52 +02:00
Arik Fraimovich
6ff338964b
Fix: angular minification issue in schema browser
2017-03-20 17:37:32 +02:00
Arik Fraimovich
97a7701879
Merge pull request #1617 from 44px/refresh-schema-button
...
Add "Refresh Schema" button to the datasource
2017-03-20 14:11:05 +02:00
Arik Fraimovich
7558b391a9
Merge pull request #1673 from 44px/editorconfig
...
Add: .editorconfig to keep code style consistent
2017-03-20 10:54:58 +02:00
Alexander Shepelin
b6bed112ee
Add .editorconfig to keep code style consistent
2017-03-17 01:09:44 +03:00
Alexander Shepelin
9417dcb2c2
preserve old schema if we get error on refresh
2017-03-16 23:56:56 +03:00
Alexander Shepelin
5f106a1eee
Merge remote-tracking branch 'origin/master' into refresh-schema-button
2017-03-16 23:20:21 +03:00
Arik Fraimovich
cda05c73c7
Merge pull request #1657 from deecay/ie-scrollbar
...
Show vertical scrollbar for IE
2017-03-16 11:59:42 +02:00
deecay
95398697cb
Set ms-overflow-style to auto for html
2017-03-16 18:29:25 +09:00
Arik Fraimovich
dc019cc37a
Merge pull request #1649 from getredash/fixes201602
...
Fix: datetime parameters were not using a date picker.
2017-03-15 18:08:32 +02:00
rmakulov
5306814237
rm left overs
2017-03-15 19:01:56 +03:00
Arik Fraimovich
72cb5babe6
Change datetime serialization format
2017-03-15 18:00:25 +02:00
Arik Fraimovich
ebc2e12621
Merge pull request #1622 from axibase/master
...
[Data Sources] Add: ATSD query runner
2017-03-15 16:31:03 +02:00
deecay
f011d3060a
Pivottable shows filtered and formatted data
2017-03-10 19:10:31 +09:00
Ben Magro
8c5f71a0a1
set filter paramas in query to match dashboard level filters when they are present
2017-03-10 11:28:39 +11:00
Arik Fraimovich
da00e74491
Merge pull request #1660 from akiray03/docker-entrypoint-support-manage-py
...
Add: docker-entrypoint for manage.py's commands.
2017-03-08 15:49:14 +02:00
Akira Yumiyama
b56ff1357e
docker-entrypoint supports manage.py's any commands.
2017-03-08 22:41:15 +09:00
Arik Fraimovich
ecd4d659a8
Merge pull request #1494 from yuua/impala-schema
...
[Impala] enable schema browser
2017-03-07 14:37:42 +02:00
Arik Fraimovich
fec5565396
Merge pull request #1650 from deecay/v1-ie11
...
Add babel-plugin-transform-object-assign for IE support
2017-03-07 14:32:41 +02:00
Arik Fraimovich
6ec5ea5c28
Resume to building Docker images
2017-03-07 12:26:00 +02:00
Arik Fraimovich
3f8e32cc1f
Merge pull request #1656 from getredash/docker
...
Fix Docker file ownership issues:
2017-03-07 11:40:18 +02:00
Arik Fraimovich
be6426014d
Fix Docker file ownership issues:
...
1. Simplify user creation to create a non system user (so the uid will usually
match the host user).
2. Set the user to redash & remove the need to change user in docker entrypoint.
2017-03-07 11:37:31 +02:00
Arik Fraimovich
8b4643d6ac
Remove nosiy log
2017-03-06 21:22:41 +02:00
Arik Fraimovich
d8a0885953
Fix: tests were using old method signature
2017-03-06 21:22:29 +02:00
Arik Fraimovich
83e6b6f50c
Tests use the same session as the tested code, and we can't use the same
...
objects after the tested code calls commit() without disabling expire
on commit.
It seems like a safe thing in our case.
2017-03-06 13:49:29 +02:00
rmakulov
928bd83967
minor change
2017-03-06 13:16:02 +03:00
Arik Fraimovich
230fe15cde
Merge pull request #1653 from r0fls/fix-embed-close
...
Fix: query embed dialog close button wasn't working
2017-03-05 20:08:14 +02:00
Arik Fraimovich
72ad16a8b3
Fix: use correct format string
2017-03-05 20:03:44 +02:00
Arik Fraimovich
23cc632d5a
Duplicate favicons instead of symlinks
2017-03-05 09:15:11 +02:00
Raphael Deem
1cf2bb1bb2
fix query embed close button
2017-03-04 14:51:00 -08:00
rmakulov
7939e04e74
set default values in options
2017-03-03 16:20:07 +03:00
yuua
181031957f
impala get_table remove filtter and str to unicode
2017-03-03 17:58:13 +09:00
deecay
cfa9a45fc8
Add babel-plugin-transform-object-assign
2017-03-03 09:26:56 +09:00
rmakulov
f77da51a7d
order on client side
2017-03-02 18:43:05 +03:00
Arik Fraimovich
9bb87e711a
Fix: datetime parameters were not using a date picker.
2017-03-02 15:56:40 +02:00
Rustam Makulov
255a01f786
Merge branch 'master' into master
2017-03-01 12:29:09 +04:00
Arik Fraimovich
69c26f2c0d
Merge pull request #1643 from msnider/salesforce
...
[Data Sources] Add: SalesForce query runner
2017-03-01 09:51:43 +02:00
Matt Snider
3650e21458
Move import to top of file
2017-02-28 22:06:34 -06:00
Matt Snider
8eefd0e9c4
Format to PEP8
2017-02-28 21:54:32 -06:00
Matt Snider
c72a097808
Added Salesforce SOQL query runner
2017-02-28 21:44:38 -06:00
rmakulov
2ffda6f5c5
code revised
2017-02-28 19:03:17 +03:00
Arik Fraimovich
ce8ffae152
Merge pull request #1584 from washort/scheduled-query-backoff
...
Scheduled query backoff
2017-02-28 13:19:34 +02:00
Arik Fraimovich
b54dd27959
Merge pull request #1624 from washort/presto-errors
...
Fix: make errors from Presto runner JSON-serializable
2017-02-28 13:04:46 +02:00
Arik Fraimovich
3e807e5b41
Merge pull request #1623 from washort/jobs-race
...
Bugfix: race condition in query task status reporting
2017-02-28 13:04:10 +02:00
Arik Fraimovich
20f1a60f90
Merge pull request #1619 from deecay/count-rows
...
Add: use results row count as the value for the counter visualization.
2017-02-28 13:03:36 +02:00
Arik Fraimovich
9d2619b856
Merge pull request #1641 from getredash/fixes201602
...
UI Fixes
2017-02-28 12:59:41 +02:00
Arik Fraimovich
a2c7f6df7a
Friendlier labels for archived state of dashboard/query
2017-02-28 12:50:27 +02:00
Arik Fraimovich
15a87db5d5
Fix: remove 29402hashKey from Pivot table
2017-02-28 12:46:58 +02:00
Arik Fraimovich
2f86466309
Merge pull request #1639 from getredash/fixes201602
...
Small UI fixes
2017-02-28 12:10:22 +02:00
rmakulov
ebaf012701
propertyOrder replaced with the field that defines an order
2017-02-27 19:05:43 +03:00
Arik Fraimovich
bccfef533e
Fix: wrong timestamps in admin tasks page
2017-02-27 17:51:00 +02:00
Arik Fraimovich
ef020e88e7
Fix: word cloud visualization didn't show column names
2017-02-27 17:42:44 +02:00
Arik Fraimovich
222a6069cb
Fix: pemrission dialog wasn't rendering.
...
Closes #1633 .
2017-02-27 15:44:19 +02:00
Arik Fraimovich
6b6df84bce
Fix: map visualization had severe performance issue.
...
Close #1603 .
2017-02-27 15:30:30 +02:00
rmakulov
8c481cd7a7
added propertyOrder field
2017-02-27 15:50:29 +03:00
rmakulov
fcfd204ec6
atsd query runner
2017-02-24 17:31:01 +03:00
Arik Fraimovich
57e6c5f05e
Merge pull request #1630 from MichaelJAndy/MichaelJAndy-sorting-patch
...
Fix: dashboard-list.js to sort dashboards and update page-header
2017-02-23 15:10:34 +02:00
Michael Andy
683e369d86
dashboard-list.js sorts dashboards and updates page-header
2017-02-23 23:41:58 +11:00
Arik Fraimovich
f12596a6fc
Merge pull request #1629 from getredash/fix_too_many_connections
...
Fix: keyboard shortcuts didn't work in parameter inputs
2017-02-23 14:38:22 +02:00
Arik Fraimovich
09239439ae
Fix: keyboard shortcuts didn't work in parameter inputs
2017-02-23 12:51:38 +02:00
Arik Fraimovich
2bb11dffca
add v1-rc.2 release date.
2017-02-22 22:11:26 +02:00
Arik Fraimovich
2f019a0897
Update CHANGELOG.md
2017-02-22 21:58:12 +02:00
Arik Fraimovich
1350555931
Update CHANGELOG.
2017-02-22 21:57:16 +02:00
Arik Fraimovich
6d3aa3b53c
Merge pull request #1627 from getredash/fix_too_many_connections
...
Dashboard page fixes
2017-02-22 21:57:02 +02:00
Allen Short
2407b115e4
Exponential backoff for failing queries
2017-02-22 10:29:08 -06:00
Allen Short
ca3e125da8
Refactor outdated_queries/refresh_queries tests
2017-02-22 10:28:35 -06:00
Arik Fraimovich
2d82c4dc98
Fix: multi filters broken on dashboards
2017-02-22 16:24:11 +02:00
Arik Fraimovich
84ca02be09
Fix: download links broken on dashboards
2017-02-22 16:14:41 +02:00
Arik Fraimovich
61244dead3
Merge pull request #1626 from getredash/fix_too_many_connections
...
Fix: Redash is using too many db connections
2017-02-22 15:18:49 +02:00
Arik Fraimovich
907b33b5a0
Fix: tests failling because they run on different app contextes
2017-02-22 14:06:47 +02:00
Arik Fraimovich
e6fc73f444
Fix: Redash was using too many db connections
...
Fixes #1561 .
The issue was caused by creating a new Flask app instance on every task execution,
resulting in creating a new SQLALchemy connection pool and a new database connection.
2017-02-22 12:40:22 +02:00
Arik Fraimovich
672347ba8b
Merge pull request #1621 from kopanitsa/fix-dynamo-count
...
[DynamoDB] Fix: handle count(*) queries
2017-02-22 10:06:36 +02:00
Arik Fraimovich
db465ffe58
Rename res_dict to result and add comment.
2017-02-22 10:06:00 +02:00
Allen Short
2a447137d4
Fix: make errors from Presto runner JSON-serializable
2017-02-21 13:11:32 -06:00
Takahiro Okada
18a157ac84
handle count(*) in dynamo db
2017-02-21 22:26:50 +09:00
deecay
081ac5f651
Remove unnecessary comment line.
2017-02-21 17:18:14 +09:00
deecay
3864f11694
Add: Counter option to count resultset row count.
2017-02-21 16:56:45 +09:00
Alexander Shepelin
8b59815bf2
add 'refresh schema' button to schema-browser
2017-02-20 23:56:21 +03:00
Allen Short
a98df94399
Fix race condition in query task status reporting
2017-02-20 12:20:55 -06:00
deecay
ac538c35e9
Add: option to hide pivot table controls
2017-02-20 15:09:48 +09:00
Arik Fraimovich
2e751b3dad
Fix: dashboards without tags break rendering
2017-02-19 09:20:25 +02:00
Alexander Shepelin
b2e747caef
refactor schema-browser directive to component style
2017-02-18 23:10:15 +03:00
Arik Fraimovich
f9da6ddcdd
Merge pull request #1611 from getredash/circleci
...
Improve CircleCI configuration
2017-02-18 14:15:20 +02:00
Arik Fraimovich
99cef97c89
Add #1612 to the CHANGELOG.
2017-02-18 14:14:30 +02:00
Arik Fraimovich
2071ca1bc8
Merge pull request #1612 from getredash/rc1-fixes
...
Change: Improvements to the dashboards list page
2017-02-18 14:14:04 +02:00
Arik Fraimovich
5815d635a0
Update CHANGELOG for v1.0.0-rc.2.
...
@44px @janusd @btmc @deecay @aslotnick thanks!
2017-02-18 14:13:49 +02:00
Arik Fraimovich
517e5bcddb
Improvements to the dashboards list page:
...
- Fix search to be case insensitive.
- Fix tag extraction to support multiple words prefixes.
- Change selection behavior to use OR by default and AND on shift+click.
2017-02-18 12:56:56 +02:00
Arik Fraimovich
eaa2ec877c
Merge pull request #1607 from getredash/rc1-fixes
...
v1.0.0-rc.1 fixes
2017-02-18 12:51:45 +02:00
Arik Fraimovich
0e68228e6e
Remove Procfile.heroku - it's no longer up to date.
2017-02-18 12:50:02 +02:00
Arik Fraimovich
6e5435261b
Improve CircleCI configuration
2017-02-18 12:48:39 +02:00
Arik Fraimovich
1cc9b87ead
Fix PEP8 section name
2017-02-18 12:41:57 +02:00
Arik Fraimovich
bd9ad3140d
Allow longer lines in pep8
2017-02-18 12:37:00 +02:00
Arik Fraimovich
3e23143910
Fix: alert subscriptions were not triggered
2017-02-18 12:30:02 +02:00
Arik Fraimovich
0f95d12e83
Fix: use the correct model for delete.
2017-02-18 12:25:54 +02:00
Arik Fraimovich
fd37fd8545
Fix: remove whitespace created by the filters component
2017-02-18 12:19:22 +02:00
Arik Fraimovich
742199f05c
Change: change Plotly's default hover mode to compare
2017-02-16 22:33:34 +02:00
Arik Fraimovich
902fb44782
Change: remove send to Plotly button
2017-02-16 20:08:55 +02:00
Arik Fraimovich
10e78bb4e4
Fix: sunburst & sankey visualization broke because of Angular values
2017-02-16 19:06:12 +02:00
Arik Fraimovich
e4659d0485
Fix: when adding text widget global parameters break.
...
Closes #1587 .
2017-02-16 18:54:58 +02:00
Arik Fraimovich
a25302773d
Fix: google button missing on invite link
2017-02-16 18:51:23 +02:00
Arik Fraimovich
2188baca16
Fix: schema browser got dark background
2017-02-16 18:42:28 +02:00
Arik Fraimovich
8940533176
Fix: embeds don't work after minifcation
2017-02-16 18:28:56 +02:00
Arik Fraimovich
1367b63ae1
Fix: shared dashboards didn't work after minifcation
2017-02-16 18:19:23 +02:00
Arik Fraimovich
c2a9e2e960
Fix: public widget serializer was referncing wrong name
2017-02-16 18:16:19 +02:00
Arik Fraimovich
8a41328033
Fix: share dashboard dialog not working after minification
2017-02-16 18:08:46 +02:00
Arik Fraimovich
ce16124d7b
Fix: API keys were not logged properly in events table.
2017-02-15 22:13:33 +02:00
Arik Fraimovich
c547752dc6
Merge pull request #1606 from getredash/rc1-fixes
...
Change: move the message about unavailable data source types to be
2017-02-15 21:58:45 +02:00
Arik Fraimovich
3981c1c8a7
Fix: wrong use of Events.record function
2017-02-15 21:52:24 +02:00
Arik Fraimovich
f732f30bf0
Change: move the message about unavailable data source types to be
...
debug level message instead of warning. It seems to confuse people
and basically do more harm than add value.
2017-02-15 21:47:14 +02:00
Arik Fraimovich
9c0f0cb044
Merge pull request #1601 from aslotnick/1529_presto_error_message
...
[Presto] Change: better formatted error messages
2017-02-15 21:40:44 +02:00
Arik Fraimovich
f01399c33d
Merge pull request #1604 from getredash/rc1-fixes
...
Fix: dashboard owner can't edit the dashboard.
2017-02-15 20:17:11 +02:00
Arik Fraimovich
253f2e613c
Fix: dashboard owner can't edit the dashboard.
2017-02-15 19:50:04 +02:00
Andrew Slotnick
f2879a1e3d
better formatting for presto error messages
2017-02-14 17:14:52 -05:00
deecay
af978e966d
Show vertical scrollbar for IE
2017-02-14 16:53:11 +09:00
Arik Fraimovich
0151360fdf
Merge pull request #1597 from deecay/fix-1571
...
[SQL Server] Fix: schema won't load if the server is case sensitive
2017-02-14 09:37:05 +02:00
Arik Fraimovich
d1b0a9580d
Merge pull request #1592 from deecay/master
...
Change: use https instead of git protocol for git repositories in npm-shrinkwrap.json
2017-02-13 16:34:26 +02:00
deecay
9d796b20df
Fix for #1571
2017-02-13 14:10:48 +09:00
deecay
574a7573ce
Udate shrinkwrap to work behind some proxies
2017-02-13 12:05:04 +09:00
Arik Fraimovich
db9c925cbb
Merge pull request #1564 from janusd/viz-map-column-fix
...
Fix: options selection in the map visualization editor (lat, long, groupBy)
2017-02-10 20:10:00 +02:00
Arik Fraimovich
9ef6836175
Remove unused setup files
2017-02-10 20:06:30 +02:00
Arik Fraimovich
351cd62189
Docker entrypoint: update user's uid
2017-02-09 23:48:33 +02:00
Arik Fraimovich
7bbc782e5d
Fix npm build command.
2017-02-09 22:22:41 +02:00
Arik Fraimovich
50d20ff277
Merge pull request #1582 from getredash/json_webhook
...
Updates to Dockerfile:
2017-02-09 17:07:46 +02:00
Arik Fraimovich
964926aaab
Change external-links to links.
2017-02-09 17:07:34 +02:00
Arik Fraimovich
b67ecde107
Merge pull request #1570 from btmc/master
...
Update docker-compose.production.yml
2017-02-09 17:06:56 +02:00
Arik Fraimovich
6338596710
Updates to Dockerfile:
...
- Build frontend assets (needed for standalone use of the image).
- Change ownership of the files to redash user.
2017-02-09 16:53:25 +02:00
btmc
5361a99b22
Update docker-compose.production.yml
...
Nginx doesn't have "redash" upstream. This fixes the error.
2017-02-06 23:53:46 +03:00
Arik Fraimovich
01a8075a67
Merge pull request #1563 from getredash/json_webhook
...
Change: send events to webhook as JSON with a schema.
2017-02-05 10:36:55 +02:00
Arik Fraimovich
209e714084
Add changelog entry
2017-02-05 10:36:28 +02:00
hamza zia
eeee592abc
nuke separate endpiont for running queries in sync
2017-02-03 09:34:01 -08:00
Janus
e3d0b4075e
fix column options selection in the map visualisation editor (lat, long and groupBy)
2017-02-02 15:39:52 +01:00
Arik Fraimovich
ad18128794
Fix test
2017-02-02 10:39:21 +02:00
Arik Fraimovich
71fa013970
Change: send events to webhook as JSON with a schema.
...
Closes #1552 .
2017-02-02 10:21:01 +02:00
Arik Fraimovich
dd6028384d
Merge pull request #1555 from 44px/original-source-sourcemaps
...
Change: generate sourcemaps for modules (original source files)
2017-02-01 23:17:37 +02:00
Arik Fraimovich
5716da205e
Merge pull request #1559 from getredash/new_upgrade
...
New and shiny upgrade script
2017-01-31 21:21:18 +02:00
Arik Fraimovich
d650995da3
New and shiny upgrade script
2017-01-31 21:16:27 +02:00
Arik Fraimovich
18fee82b73
Merge pull request #1558 from getredash/new_upgrade
...
Update the CHANGELOG
2017-01-31 20:47:36 +02:00
Arik Fraimovich
23a87410ac
Update the CHANGELOG
2017-01-31 20:47:00 +02:00
Alexander Shepelin
9b9a752f78
Generate sourcemaps for modules (original source)
2017-01-31 09:30:27 +03:00
Arik Fraimovich
4b4758af22
Merge pull request #1551 from getredash/change_tracking
...
Fix: flask-admin - exclude created_at/updated_at so models can be saved
2017-01-27 17:00:27 +02:00
Arik Fraimovich
3cdd732078
flask-admin fixes (exclude created_at/updated_at so models can be saved)
2017-01-26 22:50:30 +02:00
Arik Fraimovich
77139e2867
Merge pull request #1546 from washort/api-docstrings
...
Add: API docstrings
2017-01-26 22:37:11 +02:00
Arik Fraimovich
ff28b751ed
Merge pull request #1549 from getredash/change_tracking
...
Change: disable version counter for queries:
2017-01-26 22:36:22 +02:00
Arik Fraimovich
84aba70a1a
Merge pull request #1545 from hgs847825/master
...
[ElasticSearch] Fix: query fails when properties key is missing
2017-01-26 22:35:59 +02:00
Arik Fraimovich
39c4e1cd59
Merge branch 'master' into api-docstrings
2017-01-26 22:34:48 +02:00
Arik Fraimovich
6cf1c1cb70
Disable query version check in test ( #1550 )
2017-01-26 22:25:12 +02:00
Arik Fraimovich
ae2927d7d3
Set default value for query version
2017-01-26 22:08:05 +02:00
Arik Fraimovich
cd51076150
Disable version counter for queries:
...
Since the move to SQLAlchemy, version is managed automatically.
When running a query, the worker updates the query row and increments
the version. This results in the user's inability to save the query
after that.
From reviewing SQLA's documentation, it looks like we will have to
manage the version value ourselves. For now, I'm just disabling the
version auto increment. In a follow up update we need to actually
implement the manual increment where we think it's needed.
2017-01-26 21:50:08 +02:00
Arik Fraimovich
a5d73514ce
Merge pull request #1504 from rockwotj/rockwood/global-params
...
Add: global parameters for dashboards
2017-01-26 21:24:08 +02:00
Arik Fraimovich
7ffa8f89aa
Remove unused code
2017-01-26 21:20:53 +02:00
Tyler Rockwood
11faabed1f
Move helper functions out of the query obj
2017-01-26 10:56:12 -08:00
Arik Fraimovich
25ca061b3d
Merge pull request #1548 from getredash/drafts
...
Improve UI in small resolution:
2017-01-26 20:06:32 +02:00
Arik Fraimovich
8140100496
Merge pull request #1547 from getredash/drafts
...
Improve drafts UX
2017-01-26 15:56:42 +02:00
Arik Fraimovich
9aab74d8e7
Improve UI in small resolution:
...
- Add meta tag to scalae UI properly in small resolutions
- Make the menu button work (great) again.
- Change menu background color.
2017-01-26 15:55:44 +02:00
Allen Short
4e06a38676
more docstrings
2017-01-25 10:52:51 -06:00
Arik Fraimovich
7e43e54b9d
Revise Query.by_user method
2017-01-25 18:08:29 +02:00
Arik Fraimovich
84e1ac8072
Show your unpublished items in recents
2017-01-25 17:29:00 +02:00
Arik Fraimovich
ba6109e7ac
List unpublished dashboard only to owners
2017-01-25 17:22:30 +02:00
Arik Fraimovich
febe908e65
Revise drafts flow for queries:
...
* Draft queries are now called "Unpublished" -- felt like it better convey the feature.
* Unpublished queries won't be shown in "All Queries" for non owners, but will appear in
search.
* You can't add unpublished queries to dashboards or alerts.
2017-01-25 16:55:39 +02:00
Arik Fraimovich
8445b04844
Proxy /invite URLs
2017-01-25 16:55:39 +02:00
Arik Fraimovich
42a5194893
Add Redis explicitly to circle.yml
2017-01-25 11:33:40 +02:00
hgs847825
3b4e3067bb
Fix issue #1538
2017-01-25 02:34:28 +00:00
Arik Fraimovich
98757db3e3
Merge pull request #1508 from stefanseifert/feature/jql-custom-fields
...
[Jira JQL] Add: support custom JIRA fields and enhance value mapping
2017-01-24 12:32:21 +02:00
Arik Fraimovich
4e7adcf89b
Merge pull request #1540 from yaningzhu/faster-get-mysql-schema
...
[MySQL] Change: faster retrieval of schema
2017-01-24 12:29:38 +02:00
Arik Fraimovich
df0d1f3cc8
Merge pull request #1536 from k-hal/add-support-for-bigquery-gce-configuration
...
[BigQuery] Add: support for additional configuration in BigQueryGCE
2017-01-24 12:28:05 +02:00
Arik Fraimovich
38f6f82c0b
Merge pull request #1517 from denisov-vlad/clickhouse_uint64
...
Clickhouse: convert UInt64 columns to integer type
2017-01-24 12:27:25 +02:00
Arik Fraimovich
4f9ffdc094
Merge pull request #1542 from getredash/sass
...
Add Sass support
2017-01-24 10:08:57 +02:00
Arik Fraimovich
3431f2ebe8
Add Sass support
2017-01-24 09:54:28 +02:00
Arik Fraimovich
788830ddad
Fix docker-entrypoint server command.
...
Fixes #1541 .
2017-01-24 08:53:55 +02:00
Arik Fraimovich
2e358e89f4
Add missing db.session.commit() call.
2017-01-24 08:00:34 +02:00
Yaning Zhu
d58040ad11
Faster retrieval of MySQL schema
...
Because `information_schema.tables` and `information_schema.columns` do not have indexes on them, when they get large, joining them becomes painful. We have a database with over 10k tables and more than 200k columns. The old query takes forever.
The new query do not look at `information_schema.tables` at all. This works if your `information_schema.columns` table is in good shape in terms of data integrity (and it should be).
Tested on MySQL 5.5, 5.6(Percona), 5.7(Percona). The schema has not changed since then.
2017-01-23 09:51:40 -08:00
Arik Fraimovich
4904c67cbe
Update logo URL.
2017-01-22 23:08:16 +02:00
Arik Fraimovich
b479bb39a0
Merge pull request #1530 from getredash/docker_workflow
...
Docker based developer workflow
2017-01-22 15:53:54 +02:00
Arik Fraimovich
5ee5b5a8f5
Update postgres configuration to improve tests performance
2017-01-22 15:03:13 +02:00
Arik Fraimovich
7cc97fafdb
Add tests entry point to docker
2017-01-22 13:28:46 +02:00
Arik Fraimovich
c82a01b5c8
Don't exclude client/app from tarball
2017-01-22 12:34:49 +02:00
Arik Fraimovich
65237967ec
Implement subscription task
2017-01-22 12:12:58 +02:00
Koichi HARUNA
53536a15f1
Add support for BigQueryGCE to be set just like BigQuery
2017-01-21 17:49:57 +09:00
Arik Fraimovich
4e4d52a558
Add line break in setup screen
2017-01-19 15:20:52 +02:00
Arik Fraimovich
7b11dc0ee6
Setup wizard for first run of Redash
2017-01-19 15:20:52 +02:00
Arik Fraimovich
bc230e988d
Make noisy libraries less noisy
2017-01-19 15:20:52 +02:00
Arik Fraimovich
c39f440450
Name the development docker compose file as docker-compose.yml
2017-01-19 15:20:52 +02:00
Arik Fraimovich
00e1e90d6e
Add node_modules to dockerignore
2017-01-19 15:20:52 +02:00
Arik Fraimovich
b1bd8f1c25
friendlier entrypoint script
2017-01-19 15:20:52 +02:00
Arik Fraimovich
837e3a372a
Remove webpack from Docker Compose:
...
I realized that it makes more sense to run Webpack on the host machine
as usually you will need to install Node's tools on the host to enjoy
better intelisense and eslint support in the editor.
On top of that, installing Node.js on most developer machines should be
relatively easy.
2017-01-19 15:20:52 +02:00
Ofer Segev
81fca9329e
App header: query search css fix
2017-01-19 15:20:52 +02:00
Ofer Segev
06186d9e8d
Close #242 : added ui indication for offline state
2017-01-19 15:20:52 +02:00
Arik Fraimovich
ddf6fc50a5
New Dockerfile and docker-compose for dev
2017-01-19 15:20:52 +02:00
Arik Fraimovich
af70f34f05
Remove Vagrant related files
2017-01-19 15:20:52 +02:00
Allen Short
d93a325902
API docstrings suitable for generating sphinx docs
2017-01-18 20:43:39 -06:00
Arik Fraimovich
8b74de71ba
Merge pull request #1528 from lab79/patch-1
...
[Vertica] Change: set longer read_timeout
2017-01-17 15:26:25 +02:00
lab79
509c17632a
Update vertica.py
2017-01-17 14:46:09 +03:00
Arik Fraimovich
bca7d08082
Disable eslint packages check
2017-01-16 22:24:02 +02:00
Arik Fraimovich
785b6fc412
Rename codeclimate file
2017-01-16 22:22:23 +02:00
Arik Fraimovich
94891502c3
Merge pull request #1525 from kakoni/patch-1
...
Update amazon linux bootstrap.sh
2017-01-16 17:02:54 +02:00
Arik Fraimovich
8d1b5b4153
Merge pull request #1526 from someones/fix_es_get_query_mappings
...
[ElasticSearch] Fix for #1521
2017-01-16 17:01:29 +02:00
Arik Fraimovich
e586f99cb1
Fix content-base option of webpack-dev-server
2017-01-16 15:10:01 +02:00
Arik Fraimovich
7e986db979
Make webpack-dev-server config more modular
2017-01-16 15:09:45 +02:00
Arik Fraimovich
681fd213da
Fix package name in npm-shrinkwrap
2017-01-16 15:09:15 +02:00
lab79
34f7b2f50a
add read_timeout to configuration_schema
2017-01-16 12:42:47 +03:00
lab79
1a06a5c789
add read_timeout
...
https://github.com/getredash/redash/issues/1527
2017-01-16 11:36:30 +03:00
Adam Griffiths
9d36d39f47
Fix for #1521
...
The merge from #1521 fixed the invalid variable error
but it fixed in in a way that introduced another error:
"dictionary changed size during iteration"
This correctly applies the fix.
2017-01-16 11:45:06 +11:00
Karri Niemelä
c67519e45d
Update amazon linux bootstrap.sh
...
Changed this so it works with recent redash version.
2017-01-15 19:44:46 +02:00
hamza zia
ce65578c72
allowed embeds to recieve params
2017-01-15 22:23:18 +05:00
hamza zia
f4c25cb941
Merge branch 'master' of github.com:rainforestapp/redash
2017-01-15 20:36:59 +05:00
hamza zia
ba0daa218e
JSON API that accepts params
2017-01-15 20:36:25 +05:00
Arik Fraimovich
b7ad138c6c
Add pymongo to requirements_dev
2017-01-15 12:35:17 +02:00
Arik Fraimovich
6124e08fa3
Revert to original codeclimate configuration
2017-01-15 11:27:15 +02:00
Arik Fraimovich
9dd7efe894
Disable our eslint config
2017-01-15 11:24:33 +02:00
Arik Fraimovich
b1e7a767ae
Disable eslint
2017-01-15 11:21:18 +02:00
Arik Fraimovich
99d867f1b4
Check only Python files in redash/
2017-01-15 11:02:20 +02:00
Arik Fraimovich
6de66447bb
Merge pull request #1523 from getredash/codeclimate
...
Add CodeClimate configuration
2017-01-15 10:53:31 +02:00
Arik Fraimovich
de4ff7fc56
Add CodeClimate configuration
2017-01-15 10:39:38 +02:00
Arik Fraimovich
29de13ba87
Merge pull request #1522 from getredash/reorg
...
Move package.json/webpack.config to root directory
2017-01-15 10:33:20 +02:00
Arik Fraimovich
09542138cc
Add missing then
2017-01-15 10:16:04 +02:00
Arik Fraimovich
8f53274f17
Move package.json/webpack.config to top level
2017-01-15 10:13:34 +02:00
Arik Fraimovich
8f1750b9f0
Merge pull request #1521 from getredash/arikfr-patch-1
...
[ElasticSearch] Fix: wrong variable name.
2017-01-13 22:32:46 +02:00
Arik Fraimovich
3d0b90ff2a
[ElasticSearch] Fix: wrong variable name.
...
Fixes #1519 .
2017-01-13 20:51:22 +02:00
Vladislav Denisov
361abac7ad
clickhouse: convert UInt64 to integer type
2017-01-12 14:09:37 +03:00
Arik Fraimovich
57e25786cd
Fix: View Query link was pointing to the wrong page
2017-01-11 17:01:40 +02:00
Arik Fraimovich
47b1b03be7
Merge pull request #1514 from GAwadhwalAtlassian/AthenaQueryRunner_Annotations_Enable
...
[Athena] Change: enable query annotations
2017-01-11 12:08:51 +02:00
Arik Fraimovich
9d7171ffaf
Merge pull request #1515 from denisov-vlad/python_get_schema
...
[Python] Add: get_source_schema method
2017-01-11 12:08:32 +02:00
Vladislav Denisov
34ffdf52c7
Python: rewrited some functions to static, fixed missed commas in safe_builtins
2017-01-11 08:57:02 +03:00
Vladislav Denisov
8226445e4d
Add get_schema method to Python Query runner
2017-01-11 08:53:00 +03:00
Gaurav Awadhwal
4d4822fcfb
Removed the code that disables the query annotations from Athena query runner.
2017-01-11 10:05:07 +11:00
Tyler Rockwood
cb2e6fddf4
Remove unused $scope
2017-01-10 08:52:08 -08:00
Tyler Rockwood
a2be7bf060
Adding an explict toggle for global parameters
2017-01-10 08:46:03 -08:00
Tyler Rockwood
894a85ae63
Remove events on widget delete
2017-01-10 08:25:32 -08:00
Arik Fraimovich
57a0ddb1a9
Add v1 section to the changelog'
2017-01-10 14:55:26 +02:00
Arik Fraimovich
dd24d27558
Merge pull request #1512 from denisov-vlad/python_safe_builtins
...
[Python] Add: define more safe_builtins
2017-01-10 14:55:16 +02:00
Arik Fraimovich
a62db75624
Merge pull request #1513 from denisov-vlad/python_runner_fix
...
Add: get_by_id & get_by_name methods for Query and DataSource classes
2017-01-10 14:26:54 +02:00
Vladislav Denisov
ab0a448c87
Add get_by_id & get_by_name methods for Query and DataSource classes
2017-01-10 15:08:36 +03:00
Vladislav Denisov
5da8c6c0cb
Add safe_builtins in Python query runner
2017-01-10 13:19:47 +03:00
Arik Fraimovich
b11685d8d4
Merge pull request #1509 from GAwadhwalAtlassian/PublicSchema_Name_Fix
...
[Presto/Athena] Change: remove special rule around public schema
2017-01-09 16:57:21 +02:00
sseifert
187b557eee
adapt to new field mapping syntax and add unit tests
2017-01-09 14:40:27 +01:00
sseifert
9126874c87
apply snake_case naming conventions
2017-01-09 14:40:19 +01:00
Arik Fraimovich
4ccf0decbd
It's 2017 now ! 🎉
2017-01-09 08:50:42 +02:00
Gaurav Awadhwal
869fa263f6
Made fixes to Presto & Athena query runners so they do not omit the schema name in autocomplete and shame list if the schema name is ‘public’
2017-01-09 11:51:45 +11:00
sseifert
689a1aac4d
should set nothing instead of empty string as value when no valid list items are found
2017-01-07 12:15:43 +01:00
sseifert
2aae497169
include custom fields in JQL query results
...
convert list values to concatenated strings
support definition of fieldMapping property in query which allows to rename output columns or pick specific members from dict values
2017-01-07 00:41:42 +01:00
Arik Fraimovich
c635d9abed
Add icon to dashboard refresh button
2017-01-05 13:36:56 +02:00
Arik Fraimovich
eb637b69b8
Alert fixes: alert name wasn't set right & couldn't delete alert
2017-01-05 13:36:56 +02:00
Arik Fraimovich
9213a18057
Fix: visualization tab wasnt updating on add/delete.
2017-01-05 13:36:56 +02:00
Arik Fraimovich
07b6b16fda
Fix: show color options in colors dropdown
2017-01-05 13:36:56 +02:00
Arik Fraimovich
bc18b05d0b
Use ui-select native clear button
2017-01-05 13:36:56 +02:00
Arik Fraimovich
6a489bb743
Fix: icons were not aligned in selectors
2017-01-05 13:36:56 +02:00
Tyler Rockwood
b1fd2101df
Refactored to make more efficent and cleaner
2017-01-04 08:29:25 -08:00
Tyler Rockwood
96bc3a5d0e
Adding global params to dashboard by prefixing with '$'
2017-01-03 18:14:36 -08:00
Arik Fraimovich
2df0979be5
Merge pull request #1482 from yershalom/master
...
[Cassandra] Add: schema browser support & explicit protocol version
2017-01-03 10:39:28 +02:00
Arik Fraimovich
512ac9bb27
Move all webpack stuff to devDependencies
2017-01-02 20:57:00 +02:00
Arik Fraimovich
e33439c9f7
Update plotly version & shrinkwrap
2017-01-02 20:50:27 +02:00
Arik Fraimovich
fd19d2b79d
Add shrinkwrap file to the project
2017-01-02 17:25:21 +02:00
Arik Fraimovich
b3d2d5aba2
Set more specific version of Angular
2017-01-02 17:12:32 +02:00
Arik Fraimovich
3dfaea1dcf
Update Node version in circle.yml
2017-01-02 16:58:01 +02:00
Arik Fraimovich
7d8b8a16fd
Merge pull request #1493 from washort/more-commits
...
Fix: more `db.commit()` calls
2017-01-02 16:08:29 +02:00
Arik Fraimovich
1fae6017bd
Change order of db.commit and event logging
2017-01-02 16:07:47 +02:00
Allen Short
d86962b4e3
Commit DB transaction when needed
2017-01-02 16:07:47 +02:00
syerushalmy
ca4db619f2
Fixed from BaseSQLQueryRunner to BaseQueryRunner and get_schema instead of _get_tables
2017-01-02 14:47:54 +02:00
Arik Fraimovich
c39af040fe
Merge pull request #1500 from getredash/v1fixes
...
Remove ng-table and queries search fix
2017-01-02 11:34:28 +02:00
Arik Fraimovich
c900e83bd9
Fix #1499 : queries search should be case insensitive
2017-01-02 11:28:23 +02:00
Arik Fraimovich
589634b621
Remove ng-table
2017-01-02 11:22:09 +02:00
Arik Fraimovich
627f3f4fd5
Merge pull request #1498 from getredash/v1fixes
...
Fix #1452 : Python query runner log information was wrongly formatted
2017-01-02 10:44:27 +02:00
Arik Fraimovich
69339b7c80
Fix #1452 : Python query runner log information was wrongly formatted
2017-01-01 12:46:20 +02:00
Arik Fraimovich
703f996630
Merge pull request #1497 from getredash/v1fixes
...
Fix #16 : when updating dashboard name refresh dashboards dropdown
2017-01-01 12:30:21 +02:00
Arik Fraimovich
e58f703331
Fix #16 : when updating dashboard name refresh dashboards dropdown
2017-01-01 12:09:13 +02:00
Arik Fraimovich
fe363e27a3
Flatten dashboards list in menu
2017-01-01 10:39:42 +02:00
Arik Fraimovich
4e218b76ae
Merge pull request #1496 from getredash/v1fixes
...
Add content hash to JS/CSS build files. Closes #1450
2017-01-01 10:09:08 +02:00
syerushalmy
f54e7b3343
[Cassandra]: Changed test qurey due to error with parsing uuid as a result
2016-12-31 11:11:18 +02:00
Arik Fraimovich
bb24b878c6
Add content hash to JS/CSS build files. Closes #1450
2016-12-30 22:40:51 +02:00
Arik Fraimovich
7182cbb9d3
Merge pull request #1495 from getredash/v1fixes
...
Fix: dashboard filters working again
2016-12-30 22:40:03 +02:00
Arik Fraimovich
48faf50db6
Replace old filters directive with new component
2016-12-30 22:31:09 +02:00
Arik Fraimovich
1db12fa0ec
Fix: counter editor wasn't showoing column names
2016-12-30 22:25:06 +02:00
Arik Fraimovich
c6ef932183
Fix: changes only includes changed properties
2016-12-30 22:24:51 +02:00
Arik Fraimovich
5d3cf5367a
Filters component for use in dashboards
2016-12-30 22:09:02 +02:00
yuua
78408e50c5
impala query_runner get_tables error fix
2016-12-29 10:54:57 +09:00
Arik Fraimovich
ea12dc4038
Merge pull request #1491 from getredash/v1fixes
...
Fix: DynamoDB test connection was broken
2016-12-27 14:52:29 +02:00
Arik Fraimovich
1388e76b48
Fix: DynamoDB test connection was broken
2016-12-27 14:47:12 +02:00
Arik Fraimovich
8d92702fc7
Merge pull request #1490 from getredash/v1fixes
...
v1 fixes (data source delete & visualization first load)
2016-12-27 14:46:46 +02:00
Arik Fraimovich
f5e8fc816c
Fix: data source delete was broken
2016-12-27 14:02:59 +02:00
Arik Fraimovich
b3d0f705be
Fix: visualization wasn't loading on first page load
2016-12-27 12:17:10 +02:00
Arik Fraimovich
894da612f4
Improve data sources create test
2016-12-25 12:57:10 +02:00
Arik Fraimovich
35eb7b0980
Merge pull request #1489 from getredash/snowflake
...
Fix: data source wasn't saving in the UI
2016-12-25 12:47:58 +02:00
Arik Fraimovich
06f96d9258
Fix: data source saving
2016-12-25 12:39:54 +02:00
Arik Fraimovich
01076c0759
Merge pull request #1488 from getredash/snowflake
...
[Data Sources] Add: Snowflake query runner
2016-12-25 12:39:24 +02:00
Arik Fraimovich
490733eff9
Add missing enabled support
2016-12-25 12:33:40 +02:00
Arik Fraimovich
a781d312c0
[Data Sources] Add: Snowflake query runner
2016-12-25 12:29:22 +02:00
Arik Fraimovich
9e5944d563
Merge pull request #1487 from getredash/v1fixes
...
Fix #1432 : delete visualization sends full visualization body instead…
2016-12-23 23:15:32 +02:00
Arik Fraimovich
ff6bb2c45b
Merge pull request #1486 from getredash/v1fixes
...
Close #1451 : render safe HTML in table output
2016-12-23 23:14:06 +02:00
Arik Fraimovich
e4f13253e5
Fix #1432 : delete visualization sends full visualization body instead of only id
2016-12-23 23:13:48 +02:00
Arik Fraimovich
a16b333b93
Close #1451 : render safe HTML in table output
2016-12-23 23:07:32 +02:00
Arik Fraimovich
bff4ebd43d
Merge pull request #1485 from getredash/v1fixes
...
Close #1453 : more minimal notification of draft status for query/dashboard
2016-12-23 23:06:54 +02:00
Arik Fraimovich
7a94bed250
Close #1453 : more minimal notification of draft status for query/dashboard
2016-12-23 22:58:15 +02:00
Arik Fraimovich
e0a010f7be
Merge pull request #1484 from getredash/v1fixes
...
Fix #1457 : sort was using the string value
2016-12-23 22:57:33 +02:00
Arik Fraimovich
40b82004fa
Fix #1457 : sort was using the string value
2016-12-23 22:36:57 +02:00
Arik Fraimovich
3bc98fba5b
Merge pull request #1479 from someones/es_schema
...
[ElasticSearch] Add: enable schema browser
2016-12-23 18:26:49 +02:00
syerushalmy
045c921372
Fixed get_tables for execute 1 query instead of N queries
2016-12-23 11:32:55 +02:00
syerushalmy
420973c015
Added get tables query for cassandra and expilicit protocol version to 3 (Also working with cassandra version 2.1 and above)
2016-12-22 11:32:10 +02:00
Arik Fraimovich
513d74ac7d
Merge pull request #1478 from someones/es_test_connection
...
[ElasticSearch] Fix: connection test was always succesfful
2016-12-21 09:28:20 +02:00
Adam Griffiths
e0d6d3feeb
Enable schema browser for elasticsearch
...
Split _get_mappings into 2 functions.
Add _get_query_mappings which is used by existing logic
and parses the mappings json for query mappings.
Add get_schema which uses basic _get_mappings and recurses
through the mappings json to build a schema for the indices.
2016-12-21 15:22:04 +11:00
Adam Griffiths
ae5b6fbc57
Fix ES test connection
...
Error was being created, but not returned. Which caused it
to always display as success.
2016-12-21 12:15:11 +11:00
Arik Fraimovich
9d579dc089
Merge pull request #1475 from yershalom/master
...
[Cassnadra] Added set_keyspace for easier query cassandra
2016-12-20 23:34:00 +02:00
Arik Fraimovich
94519d1d76
Merge pull request #1476 from getredash/v1fixes
...
Multiple fixes from latest refactors
2016-12-20 23:14:50 +02:00
Arik Fraimovich
9b4cf4d3ee
Fix query saving
2016-12-20 15:58:47 +02:00
Arik Fraimovich
ee57a5bf08
Fix #1456 : large result sets overflow from the frame
2016-12-20 15:54:13 +02:00
Arik Fraimovich
e5aa567c73
Add missing call to session.commit
2016-12-20 15:30:38 +02:00
Arik Fraimovich
0029b4cd7f
Fix #1455 : missing ngInject annotations
2016-12-20 14:27:08 +02:00
syerushalmy
c423832931
Fixed python typo
2016-12-20 14:04:15 +02:00
Arik Fraimovich
bf2366bf1c
Make sure organization is fetched only once
2016-12-20 14:02:56 +02:00
Arik Fraimovich
358d6807e5
Fix groups APIs
2016-12-20 14:02:44 +02:00
syerushalmy
024837137b
Added set_keyspace for easier query cassandra
2016-12-20 13:58:09 +02:00
Arik Fraimovich
6510b01b6c
Fix: user group assignment wasn't persisted
2016-12-20 13:29:32 +02:00
Arik Fraimovich
ac18aedde9
Fix: members endpoint
2016-12-20 12:26:34 +02:00
Arik Fraimovich
70f1a923a3
Fix: dashbaords page not loading
2016-12-20 12:15:48 +02:00
Arik Fraimovich
350b253833
Fix: dashboard drop down not working
2016-12-20 12:13:32 +02:00
Arik Fraimovich
6f3ca1e01a
Rename all re:dash/Re:dash to Readsh. Closes #1396 .
2016-12-20 12:10:33 +02:00
Arik Fraimovich
8d39ee4171
Merge pull request #1474 from yershalom/master
...
[Cassandra] Change: test connection query
2016-12-20 11:54:54 +02:00
syerushalmy
a860c83963
Removed ReadTimeout exception
2016-12-20 11:46:58 +02:00
syerushalmy
f3f39a5b00
Changed exception type to ReadTimeout and added test query for test connection
2016-12-19 21:35:36 +02:00
Arik Fraimovich
e6e83423e7
Merge pull request #1468 from getredash/athena
...
[Datasources] Add: Amazon Athena query runner
2016-12-15 15:30:21 +02:00
Arik Fraimovich
d0696853af
Amazon Athena query runner
2016-12-15 15:16:04 +02:00
Arik Fraimovich
b07b347faa
Merge pull request #1433 from luke14free/graphs_errors_from_master
...
[Charts] Add: errors bands in graphs
2016-12-13 19:24:43 +02:00
Arik Fraimovich
47c54b3c85
Merge pull request #1464 from jaykelin/master
...
[Clickhouse] Change: use UTF-8 encoding for POST data
2016-12-12 10:05:49 +02:00
Jayke.Lin
d4534d6045
Using UTF-8 encoding for clickhouse POST data
2016-12-12 11:05:16 +08:00
Arik Fraimovich
3cf6e31727
Forgot to add Flaks-Migrate to requirements.txt. 😳
2016-12-11 16:43:50 +02:00
Arik Fraimovich
d631171e81
Fix Query.recent tests
2016-12-11 15:54:13 +02:00
Arik Fraimovich
4df58bb724
Merge pull request #1440 from whummer/fix/dashboard-layout-error
...
Fix: API errors for dashboards with invalid layout data
2016-12-11 15:43:03 +02:00
Arik Fraimovich
19960eedda
Merge pull request #1417 from washort/sqlalchemy
...
Change: Replace Peewee with SQLAlchemy/Alembic
2016-12-11 15:42:07 +02:00
Arik Fraimovich
b3bfc3bc74
Bring back support for total query time/queries count
2016-12-11 15:41:07 +02:00
Arik Fraimovich
1978e07748
Use group ids instead of groups in Queries.search/recent
2016-12-11 15:11:30 +02:00
Allen Short
e524db0215
Measure query time with statsd
2016-12-09 18:21:56 -06:00
Arik Fraimovich
81fb139b88
Add shell_context_processor to inject models to shell.
2016-12-08 16:16:53 +02:00
Arik Fraimovich
1d18109964
Fix tests that used Query.all_queries
2016-12-08 16:07:25 +02:00
Arik Fraimovich
c380596930
Fix cases where we used User.groups instead of User.group_ids
2016-12-08 16:02:51 +02:00
Arik Fraimovich
106c743647
Keep same logging format in ALembic
2016-12-08 15:36:08 +02:00
Arik Fraimovich
12cbfe1af4
Stamp database on first creation
2016-12-08 15:35:54 +02:00
Arik Fraimovich
3cce4d0ce4
Add warning script to migrations folder
2016-12-08 14:59:21 +02:00
Allen Short
4945d0bec7
fix cleanup_query_results task
2016-12-07 19:59:48 -06:00
Allen Short
4ba399af67
fix basic query execution from UI
2016-12-07 17:57:21 -06:00
Allen Short
da31d983b7
Fix test_cli tests
2016-12-07 13:18:07 -06:00
Arik Fraimovich
923c463e4a
Add migration for the is_draft column
2016-12-07 18:33:52 +02:00
Arik Fraimovich
70d545410d
Add Flask-Migrate to the project
...
Also moved old migrations to old_migrations folder (before deleting them entirely).
2016-12-07 17:59:01 +02:00
Arik Fraimovich
74e6ef5c1d
Fix users CLI tests
2016-12-07 15:54:08 +02:00
Arik Fraimovich
abf57e4e70
Upgrade setuptools to install mock
2016-12-07 15:33:58 +02:00
Arik Fraimovich
2d206ef470
Switch to flask.cli.AppGroup instead of flask.cli.with_app_context
2016-12-07 15:21:13 +02:00
Arik Fraimovich
2b33963bee
Add missing db.session.commit calls in CLI
2016-12-07 15:11:42 +02:00
Arik Fraimovich
a84c3e25f5
Move CLI logic into redash.cli and uses manager for tests.
...
Otherwise the Flask wasn't created and tests were failing.
2016-12-07 14:58:33 +02:00
Arik Fraimovich
b9024b18c1
Remove unused code
2016-12-07 14:00:37 +02:00
Arik Fraimovich
bcce9cf251
Update circle.yml to skip docker builds for now
2016-12-07 14:00:03 +02:00
Arik Fraimovich
80a7d377fe
Fix: set the column name of QueryResult.query_text
2016-12-07 12:43:17 +02:00
Arik Fraimovich
73121890b3
Remove usage of the deprecated flask.ext package
2016-12-07 12:42:46 +02:00
Arik Fraimovich
51117e8e5b
Update dependencies to more latest versions
2016-12-07 12:42:01 +02:00
Arik Fraimovich
fb75626458
Create default visualization using a method instead of signal
2016-12-07 12:02:57 +02:00
Arik Fraimovich
045e880f25
Add dedicated delete method to widgets instead of using an event
2016-12-07 12:02:46 +02:00
Arik Fraimovich
0c974bd48b
Update User.find_by_email to SQLA
2016-12-07 12:02:31 +02:00
Arik Fraimovich
463da02be1
remove group_hack method (unused)
2016-12-07 12:01:44 +02:00
Arik Fraimovich
ecbed0087e
Update create_and_login_user not to call save
2016-12-07 12:01:34 +02:00
Arik Fraimovich
8c2b310419
Add tests to alerts celery task
2016-12-07 12:01:22 +02:00
Arik Fraimovich
6b0e45441c
Update QuerySnippets code to SQLA
2016-12-07 12:01:03 +02:00
Arik Fraimovich
74e1b3119f
Remove dead code
2016-12-07 12:00:01 +02:00
Allen Short
dc6bc071f1
work around flask proxy object
2016-12-07 03:09:55 -06:00
Allen Short
4edc3e3f21
gratuitous admin query fix
2016-12-07 03:09:41 -06:00
Allen Short
8280859ad3
add test coverage for remaining queries to convert
2016-12-07 03:09:33 -06:00
Arik Fraimovich
f3d813445b
Fix data source models tests
2016-12-07 03:09:33 -06:00
Allen Short
520835dad0
Fix test_cli
2016-12-07 03:09:33 -06:00
Arik Fraimovich
a5805d0700
Fix session api (used groups instead of group_ids)
2016-12-07 02:13:52 -06:00
Arik Fraimovich
03b2a416c8
Fix queries update handler
2016-12-07 02:13:52 -06:00
Arik Fraimovich
7d45812ef7
Add setting to enable SQLA echo mode
2016-12-07 02:13:52 -06:00
Arik Fraimovich
3f54799020
More destination handlers test fixes
2016-12-07 02:13:52 -06:00
Arik Fraimovich
c0f48909a7
Fix destinations handlers code
2016-12-07 02:13:52 -06:00
Allen Short
9b5aaa787d
test_permissions, test_changes, test_queries
2016-12-07 02:13:20 -06:00
Allen Short
271b468bcb
test_alerts
2016-12-07 02:13:20 -06:00
Allen Short
6c3d5d184e
test_queries
2016-12-07 02:13:20 -06:00
Allen Short
261b374924
test_permissions
2016-12-07 02:13:20 -06:00
Allen Short
9f789d3018
test_paginate
2016-12-07 02:13:20 -06:00
Allen Short
29cdfcd7a1
test_embed, test_groups
2016-12-07 02:13:20 -06:00
Arik Fraimovich
d103e3f7bf
Fix groups tests (except for delete)
2016-12-07 02:13:20 -06:00
Arik Fraimovich
c5548e9375
Fix query handlers test
2016-12-07 02:13:20 -06:00
Arik Fraimovich
802b812932
Fix query results tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
9c1450f4c9
Fix users handlers tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
4459c464ca
use Query#query_text instead of Query#query
2016-12-07 02:13:20 -06:00
Arik Fraimovich
f4c76527ee
Fix refresh queries tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
419234a23e
Fix widget tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
b61dbfa16b
Fix test_authentication tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
6b2d6a22f5
Change groups property of ApiUser to be group_ids
2016-12-07 02:13:20 -06:00
Arik Fraimovich
c355eeffb6
Fix test_permissions tests
2016-12-07 02:13:20 -06:00
Allen Short
c6ef6041cf
test_data_sources passes
2016-12-07 02:13:20 -06:00
Allen Short
dff39a6849
test_dashboards passes
2016-12-07 02:13:20 -06:00
Allen Short
bb755b5c25
test_models fixes
2016-12-07 02:13:20 -06:00
Allen Short
d1fcb43562
test_alerts passes
2016-12-07 02:13:20 -06:00
Arik Fraimovich
811a4ef248
Fix accesspemrissions tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
c386ff91d6
Fix data source models tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
8680ebe96f
Change Dashboard factory to generate non drafts
2016-12-07 02:13:20 -06:00
Arik Fraimovich
d59299b85a
Fix Alert model tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
9210f5fb0c
Remove unused code
2016-12-07 02:13:20 -06:00
Allen Short
c2378d837a
test_handlers passes
2016-12-07 02:13:20 -06:00
Arik Fraimovich
90879c964f
Simplify query api key generation
2016-12-07 02:13:20 -06:00
Arik Fraimovich
2a525210e4
Start fixing visualizations tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
04447e0df6
Fix: connections leaking during tests.
2016-12-07 02:13:20 -06:00
Arik Fraimovich
55cb3747ed
Use db.drop_all/create_all directly
2016-12-07 02:13:20 -06:00
Arik Fraimovich
2bff12b376
Update all tests to use the same test_client
2016-12-07 02:13:20 -06:00
Arik Fraimovich
b390cd2e3d
Close DB connection between tests.
...
Otherwise we were running out of connections.
2016-12-07 02:13:20 -06:00
Arik Fraimovich
f55b836896
Fix: fix database URL
2016-12-07 02:13:20 -06:00
Allen Short
982667ffa9
Make draft status for queries and dashboards toggleable.
2016-12-07 02:13:20 -06:00
Allen Short
f00d77dec4
auth tests wip
2016-12-07 02:13:20 -06:00
Allen Short
ea166665d3
test_models passes
2016-12-07 02:13:20 -06:00
Allen Short
d2aef544c3
properly handle view_only permission in groups API
2016-12-07 02:13:20 -06:00
Allen Short
24217d969e
schema for sqlalchemy, basic test support
2016-12-07 02:13:20 -06:00
Arik Fraimovich
dde55e764b
Merge pull request #1458 from washort/click
...
Change: switch from flask_script to click, add CLI unit tests and upgrade Flask version
2016-12-06 23:38:03 +02:00
Allen Short
80491ea4c2
Switch from flask_script to click, add CLI unit tests.
2016-12-06 15:14:44 -06:00
Arik Fraimovich
c2f9e376be
Merge pull request #1460 from washort/master
...
Run webpack on all branches
2016-12-06 22:52:25 +02:00
Allen Short
20a0d95c1f
make deps on all branches
2016-12-06 14:08:48 -06:00
Arik Fraimovich
fcd623e203
Merge pull request #1438 from someones/better_json_errors
...
[ElasticSearch] Change: use simplejson for better error descriptions
2016-12-06 11:47:44 +02:00
Arik Fraimovich
4b6d4c14d0
Merge pull request #1454 from getredash/fix-eprovider
...
Fix: eProvider not found errors
2016-12-06 11:15:02 +02:00
Arik Fraimovich
550310ea63
Fix: eProvider not found errorso
2016-12-06 11:13:47 +02:00
luke14free
e7fdc23b03
wrong check
2016-12-04 10:56:13 +01:00
luke14free
a754e58fd8
Explicitly checking undefined values
2016-12-04 10:50:03 +01:00
Arik Fraimovich
17895d09a9
Correct version.
2016-12-02 17:25:17 +02:00
Arik Fraimovich
8201509216
Update bootstrap.sh for v0.12.0
...
Fixes #1442 .
2016-12-02 17:24:18 +02:00
Arik Fraimovich
f3df2b1d7a
Merge pull request #1441 from someones/fix_angular15
...
Fix symlinks to /frontend. Should be /client
2016-12-02 08:40:13 +02:00
Adam Griffiths
e546592c01
Fix symlinks to /frontend. Should be /client
2016-12-02 11:14:24 +11:00
Waldemar Hummer
eaa0b5da09
fix https://github.com/getredash/redash/issues/1439
2016-12-02 10:32:41 +11:00
Arik Fraimovich
ba60bfa3b0
Update version reference in bootstrap.sh.
2016-12-01 10:54:50 +02:00
Adam Griffiths
4cd58cdacf
Use simplejson for better error descriptions.
...
The standard json library only provides an error
that the json failed to parse.
simplejson provides actual character and line numbers
along with an expected character in it's errors.
This makes writing elasticsearch queries much easier.
2016-12-01 11:34:57 +11:00
Arik Fraimovich
196177021c
Merge pull request #1435 from mattrobenolt/safe-builtins
...
Whitelisting more builtin primitives
2016-11-28 23:13:12 +02:00
Matt Robenolt
bce2e3323a
Whitelisting more builtin primitives
...
This is also a slight refactor to make it easier to expand on this list
of builtins we allow.
Also, doesn't mutate the global `safe_builtins` dict every time from
`RestrictedPython`, instead, opts for copying the dict first.
2016-11-28 11:38:25 -08:00
luke14free
624a144880
Fix: add error bands to plotly only if they are set by the user
2016-11-28 11:43:08 +01:00
luke14free
870e7c200e
Adding errors bands in graphs and fixing chart-edit bugs
2016-11-28 11:33:04 +01:00
Arik Fraimovich
f473e18bef
Merge pull request #1376 from getredash/webpack
...
Change: upgrade the frontend stack
2016-11-28 10:34:38 +02:00
Arik Fraimovich
a463bad9b5
Add missing feature to the changelog.
2016-11-28 10:24:56 +02:00
Arik Fraimovich
14d46063af
Make keyboard shortcuts work again
2016-11-28 10:18:17 +02:00
Arik Fraimovich
dca899883c
Bring back pace
2016-11-28 09:51:51 +02:00
Arik Fraimovich
b5e2234234
Set title
2016-11-27 15:49:17 +02:00
Arik Fraimovich
b507c7cdb1
Fix authentication handling for embeds
2016-11-27 15:31:04 +02:00
Arik Fraimovich
51528508ba
Make sure session is loaded before route is rendered
2016-11-27 14:02:29 +02:00
Arik Fraimovich
724b7675c7
Fix: query filters
2016-11-27 13:08:37 +02:00
Arik Fraimovich
1ea9f0e900
Fix: sometimes order of columns in table was wrong
2016-11-27 13:08:22 +02:00
Arik Fraimovich
8901079084
Fix new dashboard link in app header
2016-11-27 13:08:07 +02:00
Arik Fraimovich
c25a4e3285
Fix dashboard creation
2016-11-27 13:07:11 +02:00
Arik Fraimovich
5a3033aeb6
Add /dashboards to list of paths
2016-11-27 13:07:03 +02:00
Arik Fraimovich
cd670b677a
Implement sorting for data tables
2016-11-27 12:00:47 +02:00
Arik Fraimovich
2067eab56b
Fix: query snippets were broken
2016-11-27 12:00:22 +02:00
Arik Fraimovich
7c5d395736
Show correct embed URL
2016-11-27 10:55:47 +02:00
Arik Fraimovich
0a06d516e2
Remove input-errors/show-errors usage
2016-11-26 12:16:41 +02:00
Arik Fraimovich
68ccf4b13a
Remove references to rd_ui
2016-11-26 12:01:42 +02:00
Arik Fraimovich
c029e13ba2
Migrate the draft functionality and fork to this branch
2016-11-26 11:54:14 +02:00
Arik Fraimovich
a874d88667
Fix tests & update CircleCI configuration
2016-11-26 11:35:21 +02:00
Arik Fraimovich
3314599be7
Webpack build notifier
2016-11-26 11:35:21 +02:00
Arik Fraimovich
bb64b17e45
Udpate webpack config
2016-11-26 11:35:21 +02:00
Arik Fraimovich
5c99175d2e
change default settings to use client/dist
2016-11-26 11:35:21 +02:00
Arik Fraimovich
0a06f950d5
Working embeds & renamed frontend to client
2016-11-26 11:35:21 +02:00
Arik Fraimovich
50fcb14fda
Working login/logout, real session data & public dashboard page
...
Fixes #1276 .
2016-11-26 11:35:21 +02:00
Arik Fraimovich
73e5ed4a07
use clientconfig in datetime filter
2016-11-26 11:34:43 +02:00
Arik Fraimovich
4ef4f98a66
Load currentUser/clientConfig from server
2016-11-26 11:34:43 +02:00
Arik Fraimovich
8676eb000d
Change queries/format call to return JSON object
2016-11-26 11:33:49 +02:00
Arik Fraimovich
3fecc023d2
Move backend templates into redash/templates
2016-11-26 11:33:49 +02:00
Arik Fraimovich
afc31aea9a
Remove unused files
2016-11-26 11:33:49 +02:00
Arik Fraimovich
3070d85789
change sourcemaps generation method
2016-11-26 11:33:49 +02:00
Arik Fraimovich
8952919f41
Pivot table visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
c67828f48d
Map visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
8e55be9712
Cohort visualization|
2016-11-26 11:33:49 +02:00
Arik Fraimovich
2ef8ecd14a
Add wordcloud and boxplot visualizations
2016-11-26 11:33:49 +02:00
Arik Fraimovich
2b9066bb49
Sankey visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
7dbd20cb15
Cleanup eslint issues
2016-11-26 11:33:49 +02:00
Arik Fraimovich
9579c0a970
Sunburst visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
d237943a85
remove .env.example file
2016-11-26 11:33:49 +02:00
Arik Fraimovich
ca3c934ee4
Remove old gulp file & package.json
2016-11-26 11:33:49 +02:00
Arik Fraimovich
55e3d86308
Backport changes made after creating this pull request
2016-11-26 11:33:49 +02:00
Arik Fraimovich
df5e1b51d0
Remove manual injections
2016-11-26 11:33:49 +02:00
luke14free
599fe5f4de
Adding capabilities to the original script runner
2016-11-26 11:33:49 +02:00
luke14free
f7eec278c9
Adding a query runner for generic script execution
2016-11-26 11:33:49 +02:00
Arik Fraimovich
0ced011f0f
Address lint issues
2016-11-26 11:33:49 +02:00
Arik Fraimovich
0ab815ba9c
Remove unused logging
2016-11-26 11:33:49 +02:00
Arik Fraimovich
4b191637ea
Working dashboard editor
2016-11-26 11:33:49 +02:00
luke14free
02d27c1a0b
Improving security checks & removing unused log
2016-11-26 11:33:49 +02:00
luke14free
edd2a1b547
Adding correct classes for the toggle and option to stop refresh
2016-11-26 11:33:49 +02:00
luke14free
4c3de76ea1
Making select menu for refresh choice look nicer
2016-11-26 11:33:49 +02:00
luke14free
21cfa35211
Fixing stupid concatenation typo
2016-11-26 11:33:49 +02:00
luke14free
b88f36a9f9
Add: autorefresh capabilities do dashboard
2016-11-26 11:33:49 +02:00
luke14free
3743ef5611
Adding capabilities to the original script runner
2016-11-26 11:33:49 +02:00
luke14free
f9260ca60f
Adding clientConfig for JS visualization
2016-11-26 11:33:49 +02:00
luke14free
a368b14a97
Fixing wrong package version and ES6 compliance
2016-11-26 11:33:49 +02:00
luke14free
e9746ac528
Removing unused pagination import
2016-11-26 11:33:49 +02:00
luke14free
b9664141d5
Removing tabs and making the changes ES6 compliant
2016-11-26 11:33:49 +02:00
luke14free
f5c43d819a
finally moving variables to this
2016-11-26 11:33:49 +02:00
luke14free
ff697109c3
Remove variables with $scope and use self
2016-11-26 11:33:49 +02:00
luke14free
0e6b68d3b2
Fixing CSS
2016-11-26 11:33:49 +02:00
luke14free
21283caae6
Adding a query runner for generic script execution
2016-11-26 11:33:49 +02:00
luke14free
f44912babe
Hide tabs when viz type is set to custom
2016-11-26 11:33:49 +02:00
luke14free
71be7aa1ee
Fixing console log reporting and option label
2016-11-26 11:33:49 +02:00
luke14free
df11077279
Removing unused import
2016-11-26 11:33:49 +02:00
luke14free
d929226c69
Adding custom javascript charts
2016-11-26 11:33:49 +02:00
Arik Fraimovich
f372e68cb8
Add queries results page
2016-11-26 11:33:49 +02:00
luke14free
55d8f9e01c
Adding dropdown menu link to the dashboards page
2016-11-26 11:33:49 +02:00
luke14free
0b6d2b4486
Unpaginated results
2016-11-26 11:33:49 +02:00
luke14free
b249b9a444
Working version of the dashboard page
2016-11-26 11:33:49 +02:00
Arik Fraimovich
00bd38771d
add back the vendor scripts file
2016-11-26 11:33:49 +02:00
Arik Fraimovich
99815b7c71
autofocus directive
2016-11-26 11:33:49 +02:00
Arik Fraimovich
59c3f3859d
Make create dashboard work
2016-11-26 11:33:49 +02:00
Arik Fraimovich
fece3f8269
Make ui-sortable work again
2016-11-26 11:33:49 +02:00
Arik Fraimovich
d02c4e7f8d
Add widget dialog
2016-11-26 11:33:49 +02:00
Arik Fraimovich
416f7da75f
Query view/edit screens
2016-11-26 11:33:49 +02:00
Arik Fraimovich
d561904aa6
First version of query pages
2016-11-26 11:33:41 +02:00
Arik Fraimovich
33834a4436
data sources pages
2016-11-26 11:33:41 +02:00
Arik Fraimovich
b76fbc2150
Destinations editor
2016-11-26 11:33:41 +02:00
Arik Fraimovich
e0aeae4541
Desitnations list
2016-11-26 11:33:41 +02:00
Arik Fraimovich
54eb2fed50
remove edit-in-place directive
2016-11-26 11:33:41 +02:00
Arik Fraimovich
cb01381dfa
Migrate the group list and show page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
98cc0fe1ce
Fix new user form to show errors
2016-11-26 11:33:41 +02:00
Arik Fraimovich
3583f57d00
new user page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
de91bb941b
User show page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
6eb083193f
Add users list page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
d49e5f9d57
Query snippets pages
2016-11-26 11:33:41 +02:00
Arik Fraimovich
0e5325ef1c
Remove code from rd_ui that was already migrated to frontend
2016-11-26 11:33:41 +02:00
Arik Fraimovich
db795c7b59
Remove unused test code
2016-11-26 11:33:12 +02:00
Arik Fraimovich
bbbaa7a842
working version of chart visualization
2016-11-26 11:33:12 +02:00
Arik Fraimovich
ee31edf690
Visualzations base & table visualization
2016-11-26 11:33:12 +02:00
Arik Fraimovich
22236c7ffe
Add alerts and admin pages
2016-11-26 11:33:12 +02:00
Arik Fraimovich
9c9feee7b5
Queries page
2016-11-26 11:33:12 +02:00
Arik Fraimovich
4ad53eb8dd
Support for pushstate in dev server
2016-11-26 11:33:12 +02:00
Arik Fraimovich
aa529e40d3
Initial config
2016-11-26 11:33:12 +02:00
Arik Fraimovich
0318be5ed9
Separate npm modules to their own JS file
2016-11-26 11:33:12 +02:00
Arik Fraimovich
da790de60d
First page implemented (home)
2016-11-26 11:33:12 +02:00
Arik Fraimovich
4e0c9af18d
Migrated services & app header component
2016-11-26 11:33:12 +02:00
Arik Fraimovich
56bdea2d8d
Migrate filters
2016-11-26 11:33:12 +02:00
Arik Fraimovich
a83646070f
Initial Webpack setup
2016-11-26 11:33:12 +02:00
Arik Fraimovich
6f52c50adc
Merge pull request #1429 from someones/es_error_propagation
...
Add missing error check from #1402
2016-11-25 18:19:44 +02:00
Adam Griffiths
c449bfbcf5
Add missing error check
2016-11-25 10:18:54 +11:00
Arik Fraimovich
47c1ac89f2
Merge pull request #1405 from denisov-vlad/google_analytics
...
[Datasources] Add: simple Google Analytics query runner
2016-11-24 22:18:02 +02:00
Vladislav Denisov
6bdc863b64
google_analytics: review fixes #2
2016-11-24 23:17:04 +03:00
Arik Fraimovich
9b6b27a002
Merge pull request #1409 from denisov-vlad/clickhouse
...
[Datasources] Add: Add query runner for Yandex ClickHouse
2016-11-24 21:52:26 +02:00
Arik Fraimovich
b9aeb2f419
Merge pull request #1427 from getredash/cass
...
[Cassandra] Fix: remove reference to non existing Error class
2016-11-24 21:50:05 +02:00
Vladislav Denisov
92dee61bcd
google_analytics: added accounts and properties as schema tables
2016-11-23 17:17:05 +03:00
Arik Fraimovich
f3db250fd7
[Cassandra] Fix: remove reference to non existing Error class
2016-11-23 13:05:28 +02:00
Arik Fraimovich
9f68deefea
Merge pull request #1256 from ninneko/fork_with_vis
...
Change: when forking a query, copy all visualizations
2016-11-23 11:49:26 +02:00
Vladislav Denisov
8eefad290b
google_analytics: review fixes
2016-11-23 12:48:10 +03:00
Arik Fraimovich
0947491400
Merge pull request #1423 from getredash/cass_error
...
[Cassandra] Fix: cassandra.cluster.Error wasn't imported
2016-11-23 10:53:54 +02:00
Vladislav Denisov
f572315e9d
clickhouse: changed exception's message type to unicode
2016-11-23 11:53:11 +03:00
Arik Fraimovich
52c71bc740
[Cassandra] Fix: cassandra.cluster.Error wasn't imported
...
Fixed #1422 .
2016-11-23 10:51:06 +02:00
Vladislav Denisov
3a80dfff39
review fixes
2016-11-23 10:15:03 +03:00
Arik Fraimovich
e6482cffab
Merge pull request #1421 from getredash/arikfr-patch-1
...
Change: [BigQuery] only specify useLegacySQL is it's True
2016-11-22 23:55:16 +02:00
Arik Fraimovich
971f961bcd
Merge pull request #1353 from washort/draft-toggle
...
Change: make draft status for queries and dashboards toggleable
2016-11-22 23:38:33 +02:00
Arik Fraimovich
4cb0f910ea
Change: [BigQuery] only specify useLegacySQL is it's False
2016-11-22 23:25:10 +02:00
Arik Fraimovich
265c9733ba
Merge pull request #1419 from ehfeng/master
...
Change: use redash.utils.json_dumps instead of json.dumps in Python query runner
2016-11-22 15:27:43 +02:00
Eric Feng
a834b08603
Switching to redash.utils.json_dumps
...
Currently, python runner is returning datetime objects as unicode strings. `redash.utils.json_dumps` returns them as native python datetime objects.
2016-11-21 13:13:08 -08:00
Vladislav Denisov
a66136e6a4
clickhouse: removed unused code
2016-11-20 14:50:38 +03:00
Arik Fraimovich
037d196557
Merge pull request #1373 from AntoineAugusti/rate-limit-login
...
Add: rate limit the login page
2016-11-20 13:47:16 +02:00
Antoine Augusti
9118464970
Rate limit the login page
2016-11-20 12:44:43 +01:00
Vladislav Denisov
c94daceb5f
google_analytics: added date/datetime parsing
2016-11-20 14:18:02 +03:00
Vladislav Denisov
0a0ca219d0
google_analytics: removed unused code
2016-11-20 13:54:58 +03:00
Arik Fraimovich
e65ec8cf4b
Merge pull request #1402 from someones/es_error_propagation
...
Change: correctly propagate ElasticSearch errors to the UI
2016-11-20 12:49:39 +02:00
Vladislav Denisov
d03cafc09b
clickhouse: added more column types
2016-11-20 13:14:17 +03:00
Arik Fraimovich
3b7f167861
Merge pull request #1371 from vitorbaptista/feature/show_admins_the_password_reset_link
...
Change: display user's password reset link to the admin when mail server disabled
2016-11-20 11:30:55 +02:00
Arik Fraimovich
a951034f4b
Update release notes.
2016-11-20 11:16:38 +02:00
Arik Fraimovich
8a622fb7ca
Bump version to 1.0.0.
2016-11-20 10:58:11 +02:00
Arik Fraimovich
ca39892c64
Update release date of 0.12.0.
2016-11-20 10:57:40 +02:00
Vladislav Denisov
bdee3392ec
clickhouse: query runner for Yandex.Clickhouse DB
2016-11-18 15:48:01 +03:00
Adam Griffiths
8ad336ad71
Propagate elasticsearch errors to the UI
...
Handle and correctly print various errors which
we're being obscured as "Unable to serialise JSON"
errors.
Requests' exceptions also have non-json serializable
characters, and so have to be converted to a safer format.
2016-11-18 12:49:36 +11:00
Adam Griffiths
60a4c3de04
PEP8 updates for ES query runner
2016-11-18 12:49:19 +11:00
Vladislav Denisov
de64c4c80c
simple GA query runner
2016-11-17 17:56:52 +03:00
Vitor Baptista
3ca78bebde
Fix conditions to show the user reset link
2016-11-16 17:38:17 +00:00
Arik Fraimovich
2d7a497073
Merge pull request #1398 from getredash/012patches
...
Fix: missing images after minification
2016-11-16 08:58:47 +02:00
Arik Fraimovich
788c16ce37
Fix #1389 : missing images after minification
2016-11-16 08:53:16 +02:00
Arik Fraimovich
2de4aa2a0c
Merge pull request #1395 from getredash/012patches
...
Change: switch to requests in URL query runner
2016-11-15 18:23:06 +02:00
Arik Fraimovich
10cbb7fd52
Change: switch to requests in URL query runner
2016-11-15 18:19:44 +02:00
Arik Fraimovich
0cbbe7095d
Merge pull request #1394 from getredash/012patches
...
Fix: conflict handling in dashboard widget editing was wrong
2016-11-15 16:05:30 +02:00
Arik Fraimovich
c88dafa4ad
Fix: update version after deleting a widget
2016-11-15 15:57:34 +02:00
Arik Fraimovich
48a79fe996
Fix #1383 : dashboard co-editors shuould be able to edit widgets
2016-11-15 15:53:06 +02:00
Arik Fraimovich
b70a24f6b4
Fix 1388: Wrong detection of conflict after adding a widget to the dashboard
2016-11-15 15:52:36 +02:00
Arik Fraimovich
d1b82694a6
Fix author name on #1113 .
2016-11-15 15:51:46 +02:00
Arik Fraimovich
db1a941459
Merge pull request #1392 from getredash/012patches
...
Update documentation links to point at the new location.
2016-11-15 14:04:56 +02:00
Arik Fraimovich
e22706692a
Remove old documentation. 👋
2016-11-15 14:01:15 +02:00
Arik Fraimovich
c06aeae84f
Update references to documentation to point at the new one
2016-11-15 13:56:55 +02:00
Arik Fraimovich
e0617d9ad7
Merge pull request #1243 from kassyuz/patch-1
...
Create proxy_pass.rst
2016-11-15 13:17:54 +02:00
yohei.naruse
8c78252ea2
fix tests
2016-11-11 02:21:30 +09:00
Arik Fraimovich
29a2fb1931
Merge pull request #1382 from getredash/changelog
...
Add: a changelog
2016-11-10 10:06:16 +02:00
Arik Fraimovich
e21799a754
Add a changelog 📜 💥
2016-11-10 10:05:09 +02:00
yohei.naruse
1ad0c9c75f
fix errors
2016-11-09 00:37:16 +09:00
Vitor Baptista
438ebb940e
Fix condition to show forgotten password link and alter its message
2016-11-07 18:13:33 +00:00
Arik Fraimovich
d6febb0cb4
Merge pull request #1375 from moonami/issue-1247
...
Fix: Download Dataset does not work when not logged in
2016-11-07 10:38:38 +02:00
yohei.naruse
7bc71c9cb5
apply review.
2016-11-06 03:05:48 +09:00
yohei.naruse
519964a179
delete unused code
2016-11-06 03:05:48 +09:00
yohei.naruse
1d486938c1
fix bugs
2016-11-06 03:05:47 +09:00
yohei.naruse
ad3d01280a
modify front scripts to use query fork api
2016-11-06 03:04:30 +09:00
yohei.naruse
3216e67b41
add query fork api
2016-11-06 03:03:04 +09:00
yohei.naruse
e5665879bd
add query fork to models.py
2016-11-06 03:02:11 +09:00
Arik Fraimovich
61fe16e18e
Merge pull request #1374 from washort/cors-star
...
Add: allow '*' in REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN
2016-11-05 17:46:55 +02:00
Joshua Dechant
2184f53277
JS vars should be camelCase
2016-11-04 23:46:54 -04:00
Joshua Dechant
733f245e36
This fixes #1247
2016-11-04 12:40:53 -04:00
Allen Short
6c4294b64d
Allow '*' in REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN
2016-11-02 16:31:58 -05:00
Vitor Baptista
69c1f15ce9
Wrap "Password Reset Button" in form group to visually separate it
2016-11-02 18:23:15 +00:00
Vitor Baptista
72389b00c9
Display user's password reset link to the admin
...
Similarly to when we invite new users, this allows the admin to reset the
password herself (or send it manually to the user), in cases where there's some
issue sending the e-mail.
2016-11-02 18:20:05 +00:00
Allen Short
65a6385380
Make draft status for queries and dashboards toggleable.
2016-11-02 12:31:33 -05:00
Arik Fraimovich
2f090435a5
Merge pull request #1113 from whummer/feat/share-access-permissions
...
Add: share modify/access permissions for queries and dashboard
2016-10-28 19:11:03 +03:00
Arik Fraimovich
d9bad96e8e
Remove MQL tests
2016-10-28 18:16:54 +03:00
Arik Fraimovich
b7a5d95bb8
Add JIRA connection test
2016-10-28 18:13:20 +03:00
Arik Fraimovich
ab85e43e58
Fix graphite test connection method
2016-10-28 17:50:26 +03:00
Arik Fraimovich
96553ad942
Merge pull request #1369 from someones/es_test_fix
...
Fix: missing format call in Elasticsearch test method
2016-10-28 09:14:10 +03:00
Adam Griffiths
c1847fbc12
Fix missing format call
2016-10-28 15:44:59 +11:00
Arik Fraimovich
dc345aa363
Fix: bring back correct timeout value
2016-10-27 19:34:00 +03:00
Arik Fraimovich
002f794f2a
Merge pull request #1368 from getredash/rand
...
Change: added ability to disable auto update in admin views
2016-10-27 19:32:16 +03:00
Arik Fraimovich
d2c64c6da2
Ability to disable auto update in admin views
2016-10-27 19:28:43 +03:00
Arik Fraimovich
e2595e7540
Show queues data sources in a pop over
2016-10-27 19:21:42 +03:00
Arik Fraimovich
aa5d14ed02
Merge pull request #1366 from deecay/master
...
Change: improve error message for exception in the Python query runner
2016-10-27 09:35:00 +03:00
deecay
4ba7aa1fc0
Improve error message for exception.
2016-10-27 11:16:04 +09:00
Arik Fraimovich
fd9dc4b4e8
Update controller/view name
2016-10-26 22:17:17 +03:00
Arik Fraimovich
c57c765688
Merge pull request #1365 from washort/tz-fix
...
Fix: compare retrieval times in UTC timezone
2016-10-26 21:47:27 +03:00
Arik Fraimovich
52b87efb73
Add feature flag for the permissions control feature
2016-10-26 21:40:51 +03:00
Allen Short
36d01a2029
Compare retrieval times in UTC timezone
2016-10-26 10:18:33 -05:00
Arik Fraimovich
2592959550
Use version for partial query updates
2016-10-26 16:28:39 +03:00
Arik Fraimovich
6c5dd09a78
Add change tracking and fix tests
2016-10-26 16:09:55 +03:00
Arik Fraimovich
9cb9bdb515
Record events for permission changes
2016-10-26 11:47:57 +03:00
Arik Fraimovich
df17759ab4
Fix tests
2016-10-26 11:47:40 +03:00
Arik Fraimovich
028393b229
Return dashboard permission status with dashboard object
2016-10-26 11:22:51 +03:00
Arik Fraimovich
8245a667ef
Return permission state with query object
2016-10-26 11:17:14 +03:00
Arik Fraimovich
6218421266
Tests for the permissions API (and rewrite)
2016-10-26 10:52:24 +03:00
Arik Fraimovich
f34471ec10
Return 409 when dashboard can't be updated due to conflict
2016-10-25 11:58:43 +03:00
Arik Fraimovich
40cc592591
Make sure error are logged in tests
2016-10-25 11:58:25 +03:00
Arik Fraimovich
bb96702ae6
Update dashboard testS
2016-10-25 10:45:00 +03:00
Arik Fraimovich
8b091129ed
Use new helper for dashboards API
2016-10-24 21:33:49 +03:00
Arik Fraimovich
edea6f3a05
WIP:
...
- Move version/change tracking logic to mixins (the change mixin is still WIP).
- Tests for queries update API.
2016-10-24 16:58:30 +03:00
Arik Fraimovich
c51477ac93
Add tests outline
2016-10-24 13:56:39 +03:00
Arik Fraimovich
9f3bbfee13
Renames
2016-10-24 13:56:31 +03:00
Arik Fraimovich
7ba5a2062a
Remove unused method
2016-10-24 13:37:32 +03:00
Arik Fraimovich
00a77f8d3a
snake_case to camelCase
2016-10-24 12:57:54 +03:00
Arik Fraimovich
b9ab9135d0
Apply review to models code
2016-10-24 12:57:30 +03:00
Arik Fraimovich
19e5a0af86
Naming and indentation fixes
2016-10-24 12:40:17 +03:00
Arik Fraimovich
b748eb14f4
"Simplify" migration code
2016-10-24 12:35:52 +03:00
Waldemar Hummer
60a79cbe08
address code review comments
2016-10-24 12:33:29 +03:00
Waldemar Hummer
c0c4f453f2
fix handling of latest_version in query view
2016-10-24 12:33:29 +03:00
Waldemar Hummer
e0672f4c4d
add optimistic locking for dashboard editing
2016-10-24 12:33:29 +03:00
Waldemar Hummer
6b540e03fc
check for shared permissions in dashboard UI
2016-10-24 12:33:29 +03:00
Tatyana Tychshenko
95dca53b1e
Finalised UI for sharing permissions
2016-10-24 12:33:29 +03:00
Waldemar Hummer
91a46ea1bb
add optimistic locking for concurrent changes to queries by different users
2016-10-24 12:33:29 +03:00
Waldemar Hummer
903ba0c1e0
add backend API and tests for managing access permissions.
2016-10-24 12:33:29 +03:00
Tatyana Tychshenko
2a688200be
UI for sharing edit permissions
2016-10-24 12:33:29 +03:00
Arik Fraimovich
37dff5f0a4
Merge pull request #1360 from shinji19/hotfix/mysql_connection_test
...
Fix: connection test was broken for MySQL
2016-10-24 12:09:07 +03:00
ichihara
6397b8ca1f
fix variable name
2016-10-24 18:01:46 +09:00
Arik Fraimovich
360028c01f
Merge pull request #1359 from laughingman7743/fix_schema_loading_query
...
Fix: schema loading query for Hive was wrong for non default schema
2016-10-23 16:12:42 +03:00
laughingman7743
6a42daffe2
Fix schema loading query for Hive query runner
2016-10-22 10:06:18 +09:00
Arik Fraimovich
7ee41d41b5
Merge pull request #1358 from getredash/add_user_id_to_run_query
...
Fix: make sure all calls to run_query updated with new parameter
2016-10-21 21:54:03 +03:00
Arik Fraimovich
c138d0592a
Fix: make sure all calls to run_query updated with new parameter
2016-10-21 19:15:50 +03:00
Arik Fraimovich
3db0eea921
Merge pull request #1341 from zoetrope/specify-nameid-format-in-saml
...
Add: support for specifying SAML nameid-format
2016-10-21 08:17:11 +03:00
zoetrope
9ce211bf09
add environment variable name in doc
2016-10-21 13:58:27 +09:00
zoetrope
5610ce1721
specify nameid-format in SAML authentication
2016-10-21 13:58:12 +09:00
zoetrope
67528eeb73
Merge remote-tracking branch 'upstream/master'
2016-10-21 13:09:43 +09:00
Arik Fraimovich
880627c69c
Merge pull request #1355 from getredash/add_user_id_to_run_query
...
Change: pass the user object to the run_query method
2016-10-21 00:06:05 +03:00
Arik Fraimovich
ae2cd5363f
Change: pass the user object to the run_query method
...
This to allow different use cases like checking permissions
based on who is currently running the query.
2016-10-20 23:42:25 +03:00
Arik Fraimovich
b0ecd0e9a0
Merge pull request #1343 from zoetrope/use-local-metadata-in-saml
...
Add: support for local SAML metadata file
2016-10-20 15:39:34 +03:00
Arik Fraimovich
23c605b149
Merge pull request #1342 from zoetrope/add-entity-id-in-saml
...
SAML: specify entity id
2016-10-20 15:38:39 +03:00
Arik Fraimovich
464b8368bf
Merge pull request #1301 from washort/connection-test
...
Add: "test connection" button for data sources
2016-10-20 10:21:31 +03:00
Arik Fraimovich
cb0ea7b63e
Show spinner while testing connection
2016-10-20 10:11:16 +03:00
Arik Fraimovich
ef07388d2a
Allow testing connection only after saving
2016-10-20 10:11:16 +03:00
Arik Fraimovich
8464d8c64a
Fix the way we were calling the test API -
...
Previously it was overriding the content of $scope.dataSource and
resulting in a broken form.
Also updated the messages.
2016-10-20 10:11:16 +03:00
Arik Fraimovich
37a02bfe37
Make the DataSourceTest api more consistent with other APIs.
2016-10-20 10:11:16 +03:00
Arik Fraimovich
41f7791c87
Make the DataSourceList#get call more robust
2016-10-20 10:10:42 +03:00
Arik Fraimovich
9041ccabd3
Change: update Raven version (5.27.0 had a bug)
2016-10-20 10:10:42 +03:00
Arik Fraimovich
d4a1a5b239
Update CSS files in embed.html
2016-10-20 10:10:42 +03:00
Arik Fraimovich
cf7ed8fae7
Change: catch all exceptions from query runners
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f63d43c3cf
*Don't* anotate MSSQL queries..
2016-10-20 10:10:42 +03:00
Arik Fraimovich
aec38614c0
Change: make visualization embeds more printer friendly
2016-10-20 10:10:42 +03:00
Arik Fraimovich
459a25bedd
Revert settings screen menu to simple mode to allow extending it
2016-10-20 10:10:42 +03:00
Arik Fraimovich
14e024bca8
Add: allow changing alert email subject.
...
Fixes #1144 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fc8985f689
Change: allow specifying recipient address when sending email test message.
...
Closes #1224 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
cecc1a9462
Fix: 0 is falsy, so need to check differently if there is value defined.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fe6497dfe7
Add: control over y axis min/max values
2016-10-20 10:10:42 +03:00
Arik Fraimovich
79df2b8d22
Add option to change the map tile layer
2016-10-20 10:10:42 +03:00
Arik Fraimovich
ef6a543850
Use group color for the marker-cluster
2016-10-20 10:10:42 +03:00
Arik Fraimovich
c17a6956dc
Change: upgrade Python packages
...
- pytz
- funcy
- raven (Sentry client)
- xlsxwriter
2016-10-20 10:10:42 +03:00
Arik Fraimovich
6775f01684
Celery: Upgrade Celery to more recent version.
...
This might help with worker stopping to take new tasks after some time.
Closes #1258 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
3a4754303d
Change: upgrade Requests to latest version.
...
Closes #643 .
Related #1258 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f9824675f1
Fix: Redis memory leak.
...
We were appending new QueryTaskTracker ids to query_task_trackers sorted set
but we were never removing them...
Also removed the migration to create index on org_id as it created by default
by Peewee for foreign keys.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
42ae78a017
Add: support for snapshot generation service
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f56cbf051c
Fix: queries API was doing N+1 queries in most cases
2016-10-20 10:10:42 +03:00
Arik Fraimovich
ef80fb1d1a
Change: add more logging and information for refresh schemas task
2016-10-20 10:10:42 +03:00
Arik Fraimovich
b92f22c36e
Add: collect runtime metrics for Celery tasks
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fde0ba1503
Add: feature toggle to control if to report query results count
2016-10-20 10:10:42 +03:00
Arik Fraimovich
c8b62755d0
Change: remove deprecated settings
2016-10-20 10:10:42 +03:00
Arik Fraimovich
7de2d6c101
Only show BigQuery GCE option when on a GCE instance
2016-10-20 10:10:42 +03:00
Arik Fraimovich
8cc4e2bee7
Add: support for loading BigQuery schema
2016-10-20 10:10:42 +03:00
Arik Fraimovich
7b0f5a195e
Add: support MongoDB SSL connections
2016-10-20 10:10:42 +03:00
Arik Fraimovich
0d8ee9ced7
Change: more flexible column width calculation
2016-10-20 10:10:42 +03:00
Arik Fraimovich
838c211198
Add: additional configuration for Celery jobs
2016-10-20 10:10:42 +03:00
Arik Fraimovich
9c3baed230
Fix: BoxPlot visualization wasn't rendering on a dashboard
2016-10-20 10:10:42 +03:00
Arik Fraimovich
435b49fa9c
Change: don't annotate MSSQL queries.
...
(I got tired of chasing weird unicode issues)
2016-10-20 10:10:42 +03:00
Arik Fraimovich
707df82b40
Add: support for date/time with seconds parameters
2016-10-20 10:10:42 +03:00
Arik Fraimovich
8116c6140f
Fix: properly render checkboxes in dynamic forms
2016-10-20 10:10:42 +03:00
Arik Fraimovich
34543e67f7
Fix: support for Unicode columns name in Google Spreadsheets
2016-10-20 10:10:42 +03:00
Arik Fraimovich
afe5cae2a9
Add: API to force refresh data source schema
2016-10-20 10:10:42 +03:00
Arik Fraimovich
94a0bddb3d
Typo fix in dashboard page.
2016-10-20 10:10:42 +03:00
Kazuhito Hokamura
9786063dbb
Add a comment
2016-10-20 10:10:42 +03:00
Kazuhito Hokamura
025e9d2710
Limit the editing functionality to only the text
2016-10-20 10:10:42 +03:00
Arik Fraimovich
a9562d361f
Change: paginate query page & add explicit urls.
...
- Paginate the queries API result.
- Split the API to /api/queries (all queries) and /api/queries/my which returns
a user's queries (or drafts).
- In the interface have explicit URLs for all queries (/queries), my queries (/queries/my)
and drafts (/queries/drafts).
2016-10-20 10:10:42 +03:00
Kazuhito Hokamura
97ad716d5a
Make it possible to edit a TextBox
2016-10-20 10:10:42 +03:00
Arik Fraimovich
95367abc91
Add JQL to default enabled query runners.
2016-10-20 10:10:42 +03:00
Tsuyoshi Tatsukawa
f7af1fa82a
add Content-Type to JSON response of QueryResultResource
2016-10-20 10:10:42 +03:00
Arik Fraimovich
5321948e46
Add documentation on JIRA datasource
2016-10-20 10:10:42 +03:00
Arik Fraimovich
df437999ca
Add JIRA query runner
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f4b87e76a3
Change: update Slack configuration titles.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f0d0d60dc1
Change: don't annotate BigQuery queries
...
It's not really useful anyway and breaks support for `#StandardSQL` directive.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
26bd08bb2b
Add markers cluster support & cleanup/refactor code.
2016-10-20 10:10:42 +03:00
Hirotaka Suzuki
e5146c3755
Add REDASH_FEATURE_DISABLE_REFRESH_QUERIES setting
2016-10-20 10:10:42 +03:00
IllusiveMilkman
f12d47752c
Update bootstrap.sh
...
Check for Ubuntu 16.04 before upgrading pip.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
7683402741
Move around some functions and add support for window resize event.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
ba354ce65a
Remove unnecessary code.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f892a3c70a
Fix: use key_as_string when available.
2016-10-20 10:10:42 +03:00
IllusiveMilkman
cc1dae8eed
Update bootstrap.sh
...
Testing script on clean install of Ubuntu Desktop 16.04.1.
pip fails if not upgraded beforehand, whether "sudo" or "sudo -s" or "sudo -sH" is run.
After this modification it works perfectly from a clean install. Below are my steps if anyone should want to replicate or validate:
1. Clean install of Ubuntu 16.04.1 Desktop (on VM)
2. sudo apt-get -y install git
3. mkdir ~/git
4. cd ~/git
5. git clone https://github.com/getredash/redash
6. cd ~/git/redash/setup/ubuntu
7. chmod +x bootstrap.sh
8. nano bootstrap.sh
9. added "pip install --upgrade pip" to the script above the "pip install -U..." line.
10. Saved script.
11. sudo -H ./bootstrap.sh
Note that the "-H" is necessary in order to run the script successfully, otherwise you will run into pip ownership issues.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
0436c3b5b7
Use smaller Plot.ly build
2016-10-20 10:10:42 +03:00
Arik Fraimovich
e810b36496
Sepcify specific version of Plotly
2016-10-20 10:10:42 +03:00
Arik Fraimovich
50ece739d9
Remove non existing cache directory.
2016-10-20 09:16:08 +03:00
Arik Fraimovich
2d2df5c9e0
Try newer version of NodeJS for builds.
2016-10-20 08:56:19 +03:00
Allen Short
d54e9125d9
Connection-test UI
2016-10-19 12:03:28 -05:00
zoetrope
78bc42e65c
add environment variable name in doc
2016-10-13 10:58:00 +09:00
zoetrope
186537d849
add environment variable name in doc
2016-10-13 10:57:13 +09:00
zoetrope
a729601dff
specify entityid in AuthnRequest in SAML
2016-10-13 10:19:41 +09:00
zoetrope
07af792943
use local metadata in saml
2016-10-13 10:11:37 +09:00
Arik Fraimovich
c14d119fe7
Change: update Raven version (5.27.0 had a bug)
2016-10-10 18:08:15 +03:00
Arik Fraimovich
1c4225beff
Update CSS files in embed.html
2016-10-09 22:57:34 +03:00
Arik Fraimovich
53b710ee7b
Change: catch all exceptions from query runners
2016-10-09 22:52:28 +03:00
Arik Fraimovich
04398ff909
*Don't* anotate MSSQL queries..
2016-10-09 13:50:00 +03:00
Arik Fraimovich
ce77f452c7
Change: make visualization embeds more printer friendly
2016-10-09 13:23:37 +03:00
Arik Fraimovich
7a855d1e0a
Revert settings screen menu to simple mode to allow extending it
2016-10-09 13:15:14 +03:00
Arik Fraimovich
0235d37005
Merge pull request #1335 from getredash/add-yaxis-scales
...
Add: allow changing alert email subject.
2016-10-09 10:02:19 +03:00
Arik Fraimovich
5df4e7eb78
Add: allow changing alert email subject.
...
Fixes #1144 .
2016-10-09 09:44:34 +03:00
Arik Fraimovich
015b1dc8fd
Merge pull request #1334 from getredash/add-yaxis-scales
...
Change: allow specifying recipient address when sending email test message
2016-10-09 09:19:08 +03:00
Arik Fraimovich
8e9e288a1d
Change: allow specifying recipient address when sending email test message.
...
Closes #1224 .
2016-10-09 09:15:47 +03:00
Arik Fraimovich
2135dfd2e5
Merge pull request #1333 from getredash/add-yaxis-scales
...
Add: control over y axis min/max values
2016-10-09 09:14:58 +03:00
Arik Fraimovich
08676a3d0b
Fix: 0 is falsy, so need to check differently if there is value defined.
2016-10-09 09:06:33 +03:00
Arik Fraimovich
1ac3119648
Add: control over y axis min/max values
2016-10-08 23:29:30 +03:00
Arik Fraimovich
39aaa2fd94
Merge pull request #1292 from getredash/add-cluster-marker
...
Change: improvements to map visualization
2016-10-08 15:37:51 +03:00
Arik Fraimovich
85fe74f3db
Add option to change the map tile layer
2016-10-08 15:34:20 +03:00
Arik Fraimovich
7cbf350b73
Use group color for the marker-cluster
2016-10-08 11:59:19 +03:00
Arik Fraimovich
b22191b789
Merge pull request #1332 from getredash/small
...
Change: upgrade Python packages
2016-10-08 11:33:16 +03:00
Arik Fraimovich
23ba98bc94
Merge pull request #1331 from getredash/small
...
Celery: Upgrade Celery to more recent version.
2016-10-08 11:26:23 +03:00
Arik Fraimovich
66f8922d5b
Change: upgrade Python packages
...
- pytz
- funcy
- raven (Sentry client)
- xlsxwriter
2016-10-08 11:25:54 +03:00
Arik Fraimovich
3283116518
Merge pull request #1330 from getredash/small
...
Change: upgrade Requests to latest version.
2016-10-08 11:10:09 +03:00
Arik Fraimovich
2565af604e
Celery: Upgrade Celery to more recent version.
...
This might help with worker stopping to take new tasks after some time.
Closes #1258 .
2016-10-08 11:08:28 +03:00
Arik Fraimovich
0d944794e4
Merge pull request #1329 from getredash/small
...
Fix: Redis memory leak.
2016-10-08 11:03:56 +03:00
Arik Fraimovich
7cc22c71a1
Change: upgrade Requests to latest version.
...
Closes #643 .
Related #1258 .
2016-10-08 11:03:43 +03:00
Arik Fraimovich
4d47583a94
Fix: Redis memory leak.
...
We were appending new QueryTaskTracker ids to query_task_trackers sorted set
but we were never removing them...
Also removed the migration to create index on org_id as it created by default
by Peewee for foreign keys.
2016-10-08 10:59:52 +03:00
Arik Fraimovich
49e788a1aa
Merge pull request #1328 from getredash/small
...
Add: support for snapshot generation service
2016-10-07 17:34:10 +03:00
Arik Fraimovich
7145aa2086
Merge pull request #1325 from getredash/small
...
Fix: queries API was doing N+1 queries in most cases
2016-10-07 00:08:07 +03:00
Arik Fraimovich
d1a3ed312a
Add: support for snapshot generation service
2016-10-07 00:07:54 +03:00
Arik Fraimovich
2db4b67505
Fix: queries API was doing N+1 queries in most cases
2016-10-07 00:00:41 +03:00
Arik Fraimovich
39091e006a
Merge pull request #1324 from getredash/small
...
Change: add more logging and information for refresh schemas task
2016-10-06 22:20:20 +03:00
Arik Fraimovich
229ca6cb52
Merge pull request #1323 from getredash/small
...
Add: collect runtime metrics for Celery tasks
2016-10-06 15:54:58 +03:00
Arik Fraimovich
2ac64a7d08
Change: add more logging and information for refresh schemas task
2016-10-06 15:54:46 +03:00
Arik Fraimovich
00acaa214b
Add: collect runtime metrics for Celery tasks
2016-10-06 15:30:43 +03:00
Arik Fraimovich
462faea52d
Merge pull request #1316 from getredash/small
...
Change: remove deprecated settings
2016-10-05 17:22:02 +03:00
Arik Fraimovich
d6dd95db31
Add: feature toggle to control if to report query results count
2016-10-05 17:19:25 +03:00
Arik Fraimovich
a8fa68a563
Change: remove deprecated settings
2016-10-05 17:15:46 +03:00
Arik Fraimovich
931a1f3379
Merge pull request #1315 from getredash/small
...
Add: support for loading BigQuery schema
2016-10-05 17:15:13 +03:00
Arik Fraimovich
0952cf8178
Only show BigQuery GCE option when on a GCE instance
2016-10-05 17:07:01 +03:00
Arik Fraimovich
0eab12880f
Add: support for loading BigQuery schema
2016-10-05 16:56:59 +03:00
Arik Fraimovich
39b4f9af22
Merge pull request #1314 from getredash/small
...
Add: support MongoDB SSL connections
2016-10-05 16:56:55 +03:00
Arik Fraimovich
1049d46a20
Add: support MongoDB SSL connections
2016-10-05 16:54:22 +03:00
Arik Fraimovich
73e1837469
Merge pull request #1313 from getredash/small
...
Change: more flexible column width calculation
2016-10-05 16:53:52 +03:00
Arik Fraimovich
ca1ca9b451
Merge pull request #1312 from getredash/small
...
Add: additional configuration for Celery jobs
2016-10-05 16:49:32 +03:00
Arik Fraimovich
fb30a8217c
Change: more flexible column width calculation
2016-10-05 16:43:45 +03:00
Arik Fraimovich
30451bc0d9
Add: additional configuration for Celery jobs
2016-10-05 16:41:41 +03:00
Arik Fraimovich
cd2e9276fb
Merge pull request #1311 from getredash/small
...
Fix: BoxPlot visualization wasn't rendering on a dashboard
2016-10-05 16:35:10 +03:00
Arik Fraimovich
fc00e61d49
Merge pull request #1310 from getredash/small
...
Add: support for date/time with seconds parameters
2016-10-05 16:34:32 +03:00
Arik Fraimovich
6a973f31b3
Fix: BoxPlot visualization wasn't rendering on a dashboard
2016-10-05 16:32:53 +03:00
Arik Fraimovich
a562ce748d
Merge pull request #1309 from getredash/small
...
Fix: properly render checkboxes in dynamic forms
2016-10-05 16:32:20 +03:00
Arik Fraimovich
4462afc670
Change: don't annotate MSSQL queries.
...
(I got tired of chasing weird unicode issues)
2016-10-05 16:31:23 +03:00
Arik Fraimovich
ad5e4f46d6
Add: support for date/time with seconds parameters
2016-10-05 16:27:39 +03:00
Arik Fraimovich
d48192cb0f
Merge pull request #1308 from getredash/small
...
Fix: support for Unicode columns name in Google Spreadsheets
2016-10-05 16:26:05 +03:00
Arik Fraimovich
1e85caa6c1
Fix: properly render checkboxes in dynamic forms
2016-10-05 16:25:34 +03:00
Arik Fraimovich
649e0bc53f
Fix: support for Unicode columns name in Google Spreadsheets
2016-10-05 16:23:07 +03:00
Arik Fraimovich
d72a19894a
Merge pull request #1307 from getredash/small
...
Add: API to force refresh data source schema
2016-10-05 16:20:45 +03:00
Arik Fraimovich
11a2b55c08
Add: API to force refresh data source schema
2016-10-05 16:17:48 +03:00
Arik Fraimovich
9cd9958827
Typo fix in dashboard page.
2016-10-05 16:14:19 +03:00
Arik Fraimovich
beb89ec657
Merge pull request #1305 from hokaccha/edit-text-box
...
Add: UI to edit dashboard text box widget
2016-10-05 16:12:47 +03:00
Kazuhito Hokamura
eb47d88b33
Add a comment
2016-10-05 22:08:23 +09:00
Kazuhito Hokamura
0530b5fe1e
Limit the editing functionality to only the text
2016-10-05 22:03:39 +09:00
Arik Fraimovich
e8eb840d32
Merge pull request #1279 from IllusiveMilkman/patch-2
...
Change: update bootstrap.sh to support Ubuntu 16.04
2016-10-05 14:47:35 +03:00
Arik Fraimovich
8cf0252b07
Merge pull request #1262 from getredash/plotly_upgrade
...
Change: upgrade Plot.ly version and switch to smaller build
2016-10-05 14:45:26 +03:00
Arik Fraimovich
0b79fb833e
Merge pull request #1306 from getredash/pagination
...
Change: paginate queries page & add explicit urls.
2016-10-05 14:44:01 +03:00
Arik Fraimovich
5096e4ed79
Change: paginate query page & add explicit urls.
...
- Paginate the queries API result.
- Split the API to /api/queries (all queries) and /api/queries/my which returns
a user's queries (or drafts).
- In the interface have explicit URLs for all queries (/queries), my queries (/queries/my)
and drafts (/queries/drafts).
2016-10-05 14:14:26 +03:00
Kazuhito Hokamura
83ffd915c8
Make it possible to edit a TextBox
2016-10-04 22:31:28 +09:00
Arik Fraimovich
e8582ec100
Add JQL to default enabled query runners.
2016-09-28 09:43:47 +03:00
Allen Short
6829192854
Connection-test queries
2016-09-27 18:57:47 -05:00
Alexander Leibzon
fefcb928da
add memsql as datasource
2016-09-27 19:13:44 +03:00
Arik Fraimovich
41f99f54cf
Merge pull request #1299 from tatsukawa/json-contenttype
...
Change: send Content-Type header (application/json) in query results responses
2016-09-27 10:50:44 +03:00
Tsuyoshi Tatsukawa
3b6017495e
add Content-Type to JSON response of QueryResultResource
2016-09-27 15:14:32 +09:00
Arik Fraimovich
808fdd4507
Merge pull request #1298 from getredash/add_jql
...
Add: JIRA (JQL) query runner
2016-09-26 17:08:39 +03:00
Arik Fraimovich
aefd2fde0a
Add documentation on JIRA datasource
2016-09-26 17:03:12 +03:00
Arik Fraimovich
af56f59255
Add JIRA query runner
2016-09-26 16:48:53 +03:00
Arik Fraimovich
dfb1a204e2
Merge pull request #1297 from getredash/arikfr-patch-1
...
Change: update Slack configuration titles.
2016-09-26 13:34:19 +03:00
Arik Fraimovich
b711e5c4a2
Change: update Slack configuration titles.
2016-09-26 11:04:48 +03:00
Arik Fraimovich
8c1056cc4f
Merge pull request #1294 from getredash/arikfr-patch-1
...
Change: don't annotate BigQuery queries
2016-09-26 10:15:04 +03:00
Arik Fraimovich
9d6b3f14a5
Change: don't annotate BigQuery queries
...
It's not really useful anyway and breaks support for `#StandardSQL` directive.
2016-09-23 18:13:42 +03:00
Arik Fraimovich
03217dd7ea
Add markers cluster support & cleanup/refactor code.
2016-09-22 23:08:32 +03:00
Arik Fraimovich
ff9e844204
Merge pull request #1280 from hirotaka-s/feature/disable_refresh_queries_setting
...
Add: configuration flag to disable scheduled queries
2016-09-20 12:41:24 +03:00
Hirotaka Suzuki
01eb099c3d
Add REDASH_FEATURE_DISABLE_REFRESH_QUERIES setting
2016-09-20 17:56:18 +09:00
IllusiveMilkman
2b25f2e80a
Update bootstrap.sh
...
Check for Ubuntu 16.04 before upgrading pip.
2016-09-19 20:35:35 +02:00
Arik Fraimovich
6d686f03a3
Move around some functions and add support for window resize event.
2016-09-18 15:34:08 +03:00
Arik Fraimovich
de222429a1
Remove unnecessary code.
2016-09-18 15:23:29 +03:00
Arik Fraimovich
a3cf92ecf6
Merge pull request #1289 from getredash/es_parser
...
Change: use key_as_string when available (ElasticSearch query runner)
2016-09-18 08:49:05 +03:00
Arik Fraimovich
37b40164ab
Fix: use key_as_string when available.
2016-09-17 16:50:54 +03:00
Arik Fraimovich
e155191c93
Merge pull request #1285 from falling-down/oracle-metadata
...
Change: do not display Oracle tablespace name in schema browser
2016-09-14 22:24:11 +03:00
Matthew Carter
b20b263ed1
Do not display Oracle tablespace name in schema browser
...
Does not make sense to list tablespace name to end user.
Also include all tables visible to user for querying not just owned by user.
Do not list known system tables in schema browser.
2016-09-12 12:47:00 -04:00
Matthew Carter
8cfbf8b8bb
Merge pull request #1 from getredash/master
...
update master from upstream
2016-09-12 11:57:50 -04:00
Arik Fraimovich
e42f93fcce
Merge pull request #1283 from getredash/fix/gs_dup_columns
...
Fix: schema browser was unstable after opening a table
2016-09-11 15:29:35 +03:00
Arik Fraimovich
b9d1e43a8e
Fix: schema browser was unstable after opening a table ( closes #1261 )
2016-09-11 15:26:48 +03:00
Arik Fraimovich
6cbc39cbe2
Merge pull request #1282 from getredash/fix/gs_dup_columns
...
Change: deduplicate Google Spreadsheet columns
2016-09-11 10:10:51 +03:00
Arik Fraimovich
09a848f524
Change: deduplicate Google Spreadsheet columns
2016-09-11 09:41:15 +03:00
Arik Fraimovich
21a9b4b03e
Fix: in multi-org setup login after logout is broken
2016-09-08 15:26:56 +03:00
IllusiveMilkman
d9623faf8c
Update bootstrap.sh
...
Testing script on clean install of Ubuntu Desktop 16.04.1.
pip fails if not upgraded beforehand, whether "sudo" or "sudo -s" or "sudo -sH" is run.
After this modification it works perfectly from a clean install. Below are my steps if anyone should want to replicate or validate:
1. Clean install of Ubuntu 16.04.1 Desktop (on VM)
2. sudo apt-get -y install git
3. mkdir ~/git
4. cd ~/git
5. git clone https://github.com/getredash/redash
6. cd ~/git/redash/setup/ubuntu
7. chmod +x bootstrap.sh
8. nano bootstrap.sh
9. added "pip install --upgrade pip" to the script above the "pip install -U..." line.
10. Saved script.
11. sudo -H ./bootstrap.sh
Note that the "-H" is necessary in order to run the script successfully, otherwise you will run into pip ownership issues.
2016-09-08 10:28:11 +02:00
Arik Fraimovich
ef4699aca7
Merge pull request #1269 from kurtgooden/big_query_drive
...
Add: Google Drive federated tables support in BigQuery query runner
2016-09-07 17:55:44 +03:00
Kurt Gooden
43075f741d
Reverted GCE change
2016-09-07 06:16:06 -04:00
Kurt Gooden
ddd91e37db
Merge remote-tracking branch 'getredash/master' into big_query_drive
2016-09-07 06:13:48 -04:00
Arik Fraimovich
4caf2e309d
Merge pull request #1277 from getredash/arikfr-patch-1
...
Set specific version of cryptography lib
2016-09-07 08:48:04 +03:00
Arik Fraimovich
0eb5a7d203
Set specific version of cryptography
...
This to avoid incompatibility with `oauth2client`.
2016-09-07 08:45:40 +03:00
Arik Fraimovich
170bd65237
Merge pull request #1272 from ariarijp/fix-treasuredata-query-runner
...
Fix: TreasureData get_schema method was returning array instead of string as column name
2016-09-06 08:28:00 +03:00
ariarijp
2739f04f1e
Fix get_schema method
2016-09-03 22:02:16 +09:00
Kurt Gooden
4a8a67f6f4
Add Google Drive scope to Big Query
...
To access federated tables based off Google Drive files, an additional
scope is needed during OAuth.
2016-08-31 23:05:44 -04:00
Arik Fraimovich
4710c4193e
Merge pull request #1265 from getredash/fix/dashboard_refresh
...
Fix: refresh modal not working for unsaved query
2016-08-30 18:32:55 +03:00
Arik Fraimovich
2e5ec26be9
Mention how to restart the services after mail configuration update.
2016-08-30 18:11:05 +03:00
Arik Fraimovich
cfbb466f92
Fix #1263 : refresh modal not working for unsaved query
2016-08-30 18:04:58 +03:00
Arik Fraimovich
bc3a5ab04c
Merge pull request #1264 from getredash/fix/dashboard_refresh
...
Fix: dashboard refresh not working
2016-08-30 17:57:56 +03:00
Arik Fraimovich
db4aec22f6
Fix #1184 : dashboard refresh not working.
2016-08-30 17:55:10 +03:00
Arik Fraimovich
d22f0d44b6
Merge pull request #1216 from atsaki/noniteractive-upgrade
...
Change: bootstrap.sh - use non interactive dist-upgrade
2016-08-29 19:13:49 +03:00
Arik Fraimovich
03837c0659
Merge pull request #1242 from ereli/patch-1
...
Docs: add warning re. quotes on column names and BigQuery
2016-08-29 19:12:19 +03:00
Arik Fraimovich
2eeb94765d
Merge pull request #1236 from yershalom/master
...
Add: query runner for Cassandra and ScyllaDB
2016-08-29 13:26:22 +03:00
Arik Fraimovich
9fef335315
Use smaller Plot.ly build
2016-08-28 23:29:58 +03:00
Arik Fraimovich
17726dbcb9
Sepcify specific version of Plotly
2016-08-28 23:29:45 +03:00
Arik Fraimovich
10b398e8e6
Merge pull request #1249 from mystelynx/override-slack-params
...
Add: override slack webhook parameters
2016-08-28 22:34:01 +03:00
Arik Fraimovich
2b5e34099f
Merge pull request #1252 from rohanpd/get-presto-schema
...
Add: Schema loading support for Presto query runner (using information_schema)
2016-08-27 15:07:07 +03:00
Arik Fraimovich
e05a63db9a
Update recommended instance size.
2016-08-27 14:58:33 +03:00
Arik Fraimovich
9a980759d3
Merge pull request #1255 from vishesh92/add-influxdb-documentation
...
Docs: add documentation for InfluxDB
2016-08-26 22:27:39 +03:00
vishesh92
8ce02d3003
Add documentation for influxdb
2016-08-25 12:39:35 +05:30
Arik Fraimovich
6202d0963d
Merge pull request #1240 from easytaxibr/bugfix/public_dashboard_not_found
...
Fix: when shared dashboard token not found, return 404
2016-08-25 00:08:44 +03:00
syerushalmy
d41b84eb2e
Fixed syntax error at _get_tables
2016-08-24 10:19:20 +03:00
Wesley Batista
e7d6ac07c9
Catch the error and respond with 404
2016-08-23 17:51:40 -03:00
Arik Fraimovich
ba30577601
Rename 0025_add_notification_destination.py to 0025_add_query_snippets_table.py
2016-08-23 23:06:36 +03:00
syerushalmy
7cce9d5d6e
Added Auth importer for cassandra
2016-08-23 20:04:17 +03:00
syerushalmy
b308e0275c
Removed cursor.close() from hive_ds because its not needed
2016-08-23 16:55:55 +03:00
Rohan Dhupelia
0319acc7ca
add the ability to load the schema for the presto query runner
2016-08-23 21:32:12 +10:00
Arik Fraimovich
93aac14c87
Merge pull request #1251 from getredash/feature/snippets
...
Fix: autocomplete went crazy when database has no autocomplete.
2016-08-23 08:51:08 +03:00
Arik Fraimovich
ca6ee5e04f
Fix: autocomplete went crazy when database has no autocomplete.
2016-08-23 01:43:29 +03:00
Arik Fraimovich
2aaf5dd2f0
Merge pull request #1250 from getredash/feature/snippets
...
Add: query snippets feature
2016-08-23 01:35:46 +03:00
Arik Fraimovich
10f5ecdb00
Add: query snippets feature
2016-08-22 23:58:00 +03:00
mystelynx
6ba76debf0
override webhook params
2016-08-22 11:12:46 +09:00
Arik Fraimovich
b8eca28e20
Merge pull request #1246 from getredash/large-schema
...
Fix: support large schemas in schema browser
2016-08-19 23:41:10 +03:00
Arik Fraimovich
490928d474
Fix: support large schemas in schema browser
2016-08-19 23:38:38 +03:00
Arik Fraimovich
19530f4132
Merge pull request #1245 from getredash/feature/ace
...
Change: switch from CodeMirror to Ace editor
2016-08-19 23:24:45 +03:00
Arik Fraimovich
2e1dce5961
Switch from CodeMirror to Ace editor
2016-08-19 23:15:34 +03:00
Cassio A. Moreto
d5b374c540
Create proxy_pass.rst
...
Add docpage of proxy pass configuration.
2016-08-19 15:56:34 -03:00
Ereli
94ce4b7b6e
adding warning not to use quotes on column names
...
Bigquery doesn't work with "Action__filter" as it doesn't support quoted field names.
2016-08-19 13:58:48 +01:00
Wesley Batista
dfb7cc1934
Catch the error and respond with 404
2016-08-18 12:27:18 -03:00
syerushalmy
37271c746c
Switched to fetch_columns instead of messy code
2016-08-17 10:59:09 +03:00
syerushalmy
986dc686bb
Removed unnessecery exception throw
2016-08-17 10:42:20 +03:00
syerushalmy
bd5039ad95
Fixed little syntax error
2016-08-16 16:04:21 +03:00
syerushalmy
37873196ec
Fixed some syntax
2016-08-16 15:59:51 +03:00
syerushalmy
87d77d4d27
Added cassandra-driver to requirements_all_ds.txt file
2016-08-16 14:12:35 +03:00
syerushalmy
eee2e7c833
Added new DS for Cassandra and ScyllaDB
2016-08-16 14:10:50 +03:00
Arik Fraimovich
dfb92dbb4e
Merge pull request #1234 from getredash/arikfr-patch-1
...
Change: MongoDB query runner set DB name as mandatory
2016-08-11 15:40:15 +03:00
Arik Fraimovich
5baf72a01e
Change: MongoDB query runner set DB name as mandatory
2016-08-11 15:36:46 +03:00
Arik Fraimovich
b78100355c
Merge pull request #1223 from toyama0919/master
...
Fix: Alert: when hipchat Alert.name is multibyte character, occur error.
2016-08-10 17:04:00 +03:00
Arik Fraimovich
b750843865
Merge pull request #1230 from kataring/presto-annotate_query-true
...
Change: annotate Presto queries with metadata
2016-08-10 17:03:31 +03:00
Arik Fraimovich
a69ee0cfe9
Merge pull request #1225 from hokaccha/fix-document
...
Fix: RST formatting of the Vagrant documentation
2016-08-10 16:43:47 +03:00
Arik Fraimovich
0b928e6a9b
Merge pull request #1227 from hokaccha/fix-provisioning-script
...
Fix: Bower install fails in vagrant
2016-08-10 16:40:51 +03:00
Arik Fraimovich
a411af2512
Merge pull request #1232 from hokaccha/fix-confirm-dialog
...
Fix: don't show warning when query string (parameters value) changes
2016-08-10 15:53:44 +03:00
Kazuhito Hokamura
7843d2ee84
Fix: don't show warning when query string (parameters value) changes
2016-08-10 21:43:05 +09:00
Noriaki Katayama
1d693ad220
annotate_query to True
2016-08-09 19:12:49 +09:00
toyama0919
88d61e8faa
apply reviews arikfr. string to unicode.
2016-08-09 19:01:13 +09:00
Kazuhito Hokamura
058b6bc37c
Fix failing bower install
2016-08-06 22:21:00 +09:00
Arik Fraimovich
8d8af7386c
Merge pull request #1226 from getredash/feature/sankey
...
Add: Sankey visualization
2016-08-05 23:00:42 +03:00
Arik Fraimovich
91ca74b46c
Add: Sankey visualization
2016-08-05 22:32:20 +03:00
Kazuhito Hokamura
1e186d10a8
Fix RST formatting
2016-08-06 01:36:06 +09:00
Arik Fraimovich
14dea68e25
Update screenshots.
2016-08-04 08:30:39 +03:00
Arik Fraimovich
12896ed039
Update screenshots.
2016-08-04 08:30:04 +03:00
Arik Fraimovich
549fe8a465
Add ap-northeast-2 AMI ( closes #1135 )
2016-08-03 17:27:47 +03:00
Arik Fraimovich
eafe0dbe34
Update AWS images
2016-08-03 17:25:10 +03:00
Arik Fraimovich
7598048317
Update bootstrap.sh:
...
- Update version to 0.11.1.
- Move all apt commands to the beginning of the script and add the missing ones (lib-sasl).
- Fix the Redash Metadata data source creation command.
2016-08-03 16:52:45 +03:00
Arik Fraimovich
17fa957a91
Update Packer configuration to remove SSH keys to comply with AWS marketplace
2016-08-03 16:52:06 +03:00
toyama0919
ae3af64c09
Fix: Alert: when hipchat Alert.name is multibyte character, occur error.
2016-08-03 09:56:54 +09:00
Arik Fraimovich
a02eddabb5
Merge pull request #1222 from getredash/feature/sunburst_visualization
...
Add: additional results format for sunburst visualization
2016-07-31 23:10:18 +03:00
Arik Fraimovich
ca7d8699c8
Add additional results format for sunburst
2016-07-31 23:05:00 +03:00
Arik Fraimovich
3dbb5a6bfc
Merge pull request #1221 from getredash/feature/sunburst_visualization
...
Fix: sunburst didn't handle all cases of path lengths
2016-07-31 15:48:01 +03:00
Arik Fraimovich
50419f3d8c
Fix: sunburst didn't handle all cases of path lengths
2016-07-31 15:46:00 +03:00
Arik Fraimovich
0e70188cb4
Merge pull request #1213 from getredash/feature/sunburst_visualization
...
Add: new sunburst sequence visualization
2016-07-31 10:55:53 +03:00
Arik Fraimovich
77ce9b1d58
Add help paragraph on data shape
2016-07-31 10:53:00 +03:00
Arik Fraimovich
20206048af
Redraw sunburst on window resize or options change
2016-07-31 10:48:52 +03:00
Arik Fraimovich
a7cc1eee5f
Merge pull request #1218 from getredash/arikfr-patch-1
...
Fix: updated result not being saved when changing query text.
2016-07-28 15:30:16 +03:00
Arik Fraimovich
295ca92e44
Simplify the code.
2016-07-28 15:30:05 +03:00
Arik Fraimovich
1995fe4258
Fix: updated result not being saved when changing query text.
2016-07-28 15:26:00 +03:00
Arik Fraimovich
5b20fe21aa
Merge pull request #1217 from atsaki/install-libffi-dev
...
Change: install libffi-dev for Cryptography (Ubuntu setup script)
2016-07-28 11:32:55 +03:00
Atsushi Sasaki
738cd1d69d
non interactive dist-upgrade
2016-07-28 15:24:13 +09:00
Atsushi Sasaki
57651f177b
install libffi-dev for cryptography
2016-07-28 15:23:12 +09:00
Arik Fraimovich
061783313a
Merge pull request #1215 from getredash/fix/alert_email
...
Fix: email alerts not working
2016-07-27 16:54:02 +03:00
Arik Fraimovich
218937b175
Skip email sending if there are no recipients
2016-07-27 16:48:17 +03:00
Arik Fraimovich
c43357cc77
Fix #1212 : email alerts not being sent
2016-07-27 16:47:16 +03:00
Arik Fraimovich
42e7a41fcc
Typo fix.
2016-07-27 16:21:15 +03:00
Arik Fraimovich
52cbb42aaf
Implement the visualization rendering logic
2016-07-26 18:06:54 +03:00
Arik Fraimovich
767fc3644a
Base skeleton for the new visualization
2016-07-25 11:27:39 +03:00
Arik Fraimovich
9a6d2d7c62
Merge pull request #1204 from falling-down/vertica-metadata
...
Add: show views in schema browser for Vertica data sources
2016-07-25 10:43:16 +03:00
Arik Fraimovich
a9fac34560
Merge pull request #1206 from kitsuyui/update-pymssql-version
...
Change: update pymssql version to 2.1.3
2016-07-25 10:42:25 +03:00
kitsuyui
6a9467451a
Update pymssql version. (is needed for tds_version keyword argument)
...
- https://github.com/pymssql/pymssql/releases/tag/v2.1.3
2016-07-25 12:15:31 +09:00
Matthew Carter
56ffec1be7
view metadata missing from Vertica
2016-07-24 15:31:11 -04:00
Arik Fraimovich
5d43cbe67f
Merge pull request #1198 from mystelynx/add/bigquery-config-sql-type
...
Change: add support for Standard SQL in BigQuery query runner
2016-07-24 11:45:09 +03:00
mystelynx
e0e5dd3dd8
fix key name and title
2016-07-21 21:56:57 +09:00
mystelynx
2dac682e8e
specify to use standard sql or not
2016-07-21 21:44:16 +09:00
mystelynx
f524dda88b
add bigquery configuration to use legacy/standard sql
2016-07-21 21:13:48 +09:00
Arik Fraimovich
84d0c2294c
Merge pull request #1193 from ken880guchi/modify-ken880guchi-patch-1
...
Change: modify the argument order of moment.add function call
2016-07-20 15:49:09 +03:00
Arik Fraimovich
e0485dec56
Merge pull request #1195 from AntoineAugusti/patch-2
...
Docs: fix typo in maintenance page title
2016-07-20 11:17:07 +03:00
Antoine Augusti
fb523725f6
Typo
2016-07-20 10:12:51 +02:00
Kenya Yamaguchi
1dd736d9b5
Modify the argument order of moment.add function
2016-07-20 01:19:21 +09:00
Arik Fraimovich
600afa5c82
Merge pull request #1138 from smartcanvas/feature/bigquery_udf
...
Add: ability to register user defined function (UDF) resources for BigQuery DataSource/Query
2016-07-15 19:17:45 +03:00
Arik Fraimovich
78f65b145a
Merge pull request #1187 from getredash/arikfr-patch-3
...
Fix: read only users receive the permission error modal in query view
2016-07-14 22:05:57 +03:00
Arik Fraimovich
ea28e71170
Fix: read only users receive the permission error modal in query view
...
Closes #1153 .
2016-07-14 22:03:34 +03:00
Arik Fraimovich
9193fed393
Mention Extended JSON support in MongoDB docs.
2016-07-12 09:35:44 +03:00
Arik Fraimovich
57ee9fd18b
Fix formatting.
2016-07-12 09:31:52 +03:00
Arik Fraimovich
3f1d48b1f2
Update restart documentation.
2016-07-12 09:27:23 +03:00
Arik Fraimovich
7844b908de
Merge pull request #1104 from kitsuyui/fix/unicode-error-with-sql-server
...
Fix #1101 : MSSQL Query runner: query execution fails if user name has unicode characters
2016-07-11 18:17:30 +03:00
Arik Fraimovich
28ffff8930
Update Query Result Format page.
2016-07-11 16:19:55 +03:00
Arik Fraimovich
21283e2e83
Merge pull request #1181 from getredash/fix/gs
...
Fix: Excel file generation fails when row missing column value.
2016-07-11 11:54:25 +03:00
Arik Fraimovich
d4bfbc2c57
Fix: Excel file generation fails when row missing column value.
2016-07-11 11:51:55 +03:00
Arik Fraimovich
49d8a99bc4
Merge pull request #1176 from someones/org_groups_list
...
Add: 'list' command for org and groups CLI
2016-07-11 10:55:55 +03:00
Arik Fraimovich
dae2907ca3
Merge pull request #1177 from someones/users_list_fix
...
Fix: users list CLI command was broken
2016-07-11 10:54:50 +03:00
Arik Fraimovich
dd45fe04ee
Merge pull request #1179 from kitsuyui/fix/not-shown-left-pane
...
Fix: schema not loading when table name has unicode characters
2016-07-11 10:54:11 +03:00
kitsuyui
74021c2d5a
Fix : #1178 Left Pane is not shown when database contains table that name has unicode characters (MSSQL)
...
- Update table_name to be unicode (not str).
2016-07-11 16:46:17 +09:00
Adam Griffiths
87d7d9cb5d
Fix a copy paste error that broke list command
2016-07-11 17:05:09 +10:00
Adam Griffiths
697e377bec
Add 'manage.py groups list' command
...
'groups list' simply prints out groups.
--org option is provided, limits printing to groups of
the specified organization.
--org accepts organization slugs.
2016-07-11 16:57:07 +10:00
Adam Griffiths
99906c1d0d
Add 'manage.py org list' command
...
'org list' simply prints out the organizations.
2016-07-11 16:52:17 +10:00
Arik Fraimovich
b1937aaab2
Merge pull request #1173 from smartcanvas/fix/cursor-pointer-for-table-headers
...
Add: add cursor:pointer to SmartTable headers to indicate it's clickable
2016-07-06 15:58:12 +03:00
fabito
cd449183bf
add cursor:pointer to smart table headers
2016-07-06 09:10:01 -03:00
Arik Fraimovich
dd0d29467e
Merge pull request #1159 from shyamgopal/patch-1
...
Docs: update mention the option of querying Google Spreadsheet with Google BigQuery
2016-07-06 09:20:02 +03:00
Arik Fraimovich
ff49d25963
Merge pull request #1170 from easytaxibr/fix/docker_create_database
...
Fix: change parameters for 'manage.py ds new' CLI
2016-07-06 09:17:52 +03:00
ShyamK
5a1f4d9144
Update datasources.rst
2016-07-06 09:59:11 +05:30
kitsuyui
679e44c874
Add charset to configuration.
2016-07-06 11:40:39 +09:00
kitsuyui
eaf127da71
Merge remote-tracking branch 'upstream/master' into fix/unicode-error-with-sql-server
2016-07-06 11:35:20 +09:00
Wesley Batista
628122053b
Fix: change parameters for 'manage.py ds new'
2016-07-05 20:36:38 -03:00
Arik Fraimovich
8a5a71421d
Merge pull request #1168 from getredash/fix/gs
...
Fix: improve Google Spreadsheets parsing
2016-07-05 21:50:45 +03:00
Arik Fraimovich
906365f011
Merge pull request #967 from lloydw/master
...
Add: extend ElasticSearch query_runner to support aggregations
2016-07-05 21:40:33 +03:00
Arik Fraimovich
bab1029c9d
Merge pull request #1151 from masaedw/azuredb
...
Change: ability to set pymssql TDS version (to support Azure Database) #backward-incompatible
2016-07-05 21:30:06 +03:00
Arik Fraimovich
d263688da4
Merge pull request #1147 from someones/celery-worker-count
...
Control celery worker count with environment variables, defaults to 2
2016-07-05 13:46:51 +03:00
Adam Griffiths
7d10edd32c
Replace -c2 in Procfile.heroku with env variable
...
Replace -c2 in Procfile.heroku with
-c${REDASH_HEROKU_CELERY_WORKER_COUNT:-2}. This reads from the
environment variable REDASH_HEROKU_CELERY_WORKER_COUNT and
uses the value of that if set, otherwise defaults to 2.
Add REDASH_HEROKU_CELERY_WORKER_COUNT to the settings page.
2016-07-05 11:16:45 +10:00
Arik Fraimovich
a34357d222
Move dateutil import higher
2016-07-04 22:34:13 +03:00
Arik Fraimovich
95fa6849b3
More robust parsing of worksheets with handling:
...
- handle the case of empty worksheet.
- handle the case of worksheet with no data.
2016-07-04 22:25:10 +03:00
Arik Fraimovich
4496a004e8
Meaningful message for not found spreadsheet
2016-07-04 22:21:05 +03:00
Arik Fraimovich
6905340c2d
Google Spreadsheets: Add support for unicode
2016-07-04 18:31:42 +03:00
Arik Fraimovich
3ec113e8d0
Bump version.
2016-07-03 15:22:15 +03:00
Arik Fraimovich
bba801f9d5
Merge pull request #1167 from ariarijp/fix-bootstrap-script-for-ubuntu
...
Fix the version of setuptools on bootstrap script for Ubuntu
2016-07-03 14:17:03 +03:00
Arik Fraimovich
b41041014f
Merge pull request #1166 from getredash/refersh_14_days
...
Feature: add "every 14 days" refresh option
2016-07-03 14:14:34 +03:00
Arik Fraimovich
31edf9cf80
Add every 14 days refresh option
2016-07-03 14:12:09 +03:00
Takuya Arita
522e07ac95
Fix the version of setuptools on bootstrap script for Ubuntu
2016-07-03 20:10:01 +09:00
Arik Fraimovich
837073144f
Dockerfile: pin setuptools version to 23.1.0 until they resolve bug introduced in 24.0
2016-07-03 13:39:38 +03:00
Arik Fraimovich
9895e28a3f
Cleanup/fix script tags.
2016-07-03 13:31:59 +03:00
Arik Fraimovich
ae9e295d2f
Fix #1165 : don't use hard coded org/user.
2016-07-03 13:26:54 +03:00
Arik Fraimovich
7681d3ee84
Merge pull request #1164 from darabos/patch-1
...
Docs: update permission documentation
2016-07-01 08:30:15 +03:00
Daniel Darabos
458f5eb032
Update permission documentation
...
https://github.com/getredash/redash/pull/957 has been merged.
2016-06-30 13:22:55 +02:00
Arik Fraimovich
ce81d69f91
Merge pull request #1160 from 5t111111/fix-indentation-in-docker-compose-example
...
Fix indentation in docker-compose-example.yml
2016-06-28 16:12:07 +03:00
Hirofumi Wakasugi
0456caf798
Fix indentation in docker-compose-example.yml
2016-06-28 22:05:23 +09:00
ShyamK
bb2574ef0b
Update datasources.rst for a new way using Google Spreadsheet.
2016-06-27 15:18:06 +05:30
Arik Fraimovich
bcd3670282
Merge pull request #1156 from jcox92/patch-1
...
Docs: add SSL parameters to nginx configuration
2016-06-26 08:56:19 +03:00
Josh Cox
f7e556969a
Add SSL parameters to nginx configuration
...
These parameters prevent some common exploits and vulnerabilities. My primary reference was here: https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
2016-06-23 15:24:17 -04:00
Arik Fraimovich
dd759fe4b0
Merge pull request #1155 from getredash/random
...
Fix: make all configuration values of Oracle required
2016-06-23 21:24:09 +03:00
Arik Fraimovich
988b301f65
Fix: make all configuration values of Oracle required
2016-06-23 21:21:04 +03:00
Arik Fraimovich
923b3b18e4
Merge pull request #1152 from getredash/random
...
Fix: add missing paddings in titles
2016-06-22 16:08:45 +03:00
Arik Fraimovich
95c47138ab
Fix: add missing paddings in titles
2016-06-22 14:12:27 +03:00
Masayuki Muto
cfbffe0cce
Specify tds_version
2016-06-22 16:34:34 +09:00
Masayuki Muto
991fe618b7
Update pymssql version to connect Azure Database
2016-06-22 16:19:38 +09:00
Masayuki Muto
0538fe401b
Fix typo
2016-06-22 16:18:42 +09:00
Arik Fraimovich
31e7375a30
Merge pull request #1150 from getredash/random
...
UI Fixes for v0.11
2016-06-21 14:07:50 +03:00
Arik Fraimovich
8808e38de9
Fix: shared dashboard fail to render queries.
2016-06-21 11:56:02 +03:00
Arik Fraimovich
0314313285
Merge pull request #1149 from toru-takahashi/patch-2
...
Presto QueryRunner supports tinyint and smallint
2016-06-21 11:50:32 +03:00
Toru Takahashi
9c0d1da7f9
Presto QueryRunner supports tinyint and smallint
...
Presto0.148 started to support tinyint and smallint.
https://prestodb.io/docs/current/release/release-0.148.html
2016-06-21 17:36:23 +09:00
Arik Fraimovich
904ea9f90a
Fix: after creating new alert, it uses wrong id to load subscribers
2016-06-20 19:36:27 +03:00
Arik Fraimovich
6bb09d8446
Merge pull request #1146 from someones/doc-add-settings
...
Docs: add a link to settings documentation.
2016-06-20 09:31:50 +03:00
Arik Fraimovich
d5e5b2438b
Merge pull request #1136 from someones/org-aware-cli
...
Feature: add --org option to all relevant CLI commands.
2016-06-20 09:27:38 +03:00
Arik Fraimovich
dbd48e15bc
Merge pull request #1143 from ariarijp/fix/email-input
...
Fix: use the email input type where needed
2016-06-20 08:56:43 +03:00
Takuya Arita
21fdd6b69d
Revert input type
2016-06-20 14:05:51 +09:00
Adam Griffiths
a666adeaa7
Add a link to settings.
...
The settings page doesn't seem to have any links to it.
The only way to find it is through searching for it.
So we'll add one to the setup.rst page.
2016-06-20 11:05:28 +10:00
Adam Griffiths
15361cc81c
Improve the help text text
...
Add "(leave blank for 'default')." or
"(leave blank for all organizations)" to organization options.
Remove the text "This commands assume single organization operation."
from the `users` and `groups` managers help text.
2016-06-20 09:56:05 +10:00
Adam Griffiths
704a167c74
Fix organization parameters.
...
Move organization to the end of the parameter
list to prevent breaking any existing code.
Provide a default for all organization parameters
to allow people to call the CLI functions without
breaking existing code.
Add missing organization parameter to `list` in
`users.py`.
2016-06-20 09:49:37 +10:00
ariarijp
df2c8d83b0
Use the email input type
2016-06-19 20:48:01 +09:00
Arik Fraimovich
7445972c10
Merge pull request #1142 from getredash/random
...
Fix: dates in filters might be duplicated
2016-06-19 08:54:02 +03:00
Arik Fraimovich
1933995a28
Fix: dates in filters might be duplicated
2016-06-19 08:51:45 +03:00
Arik Fraimovich
8df822eee2
Merge pull request #1141 from getredash/random
...
Make create data source button more prominent
2016-06-17 18:10:28 +03:00
Arik Fraimovich
227fe9b44a
Make create data source button more prominent
2016-06-17 18:07:48 +03:00
Arik Fraimovich
5d0ed02caa
Merge pull request #1140 from getredash/random
...
Fix: Hive should use the enabled variable
2016-06-17 18:06:54 +03:00
Arik Fraimovich
392627d6d6
Merge pull request #1139 from getredash/random
...
Fix: Impala data source referencing wrong variable
2016-06-17 17:53:30 +03:00
Arik Fraimovich
72d02e9e9d
Fix: Hive should use the enabled variable
2016-06-17 17:50:26 +03:00
Arik Fraimovich
902ce24f6f
Fix: Impala data source referencing wrong variable
2016-06-17 17:49:34 +03:00
Arik Fraimovich
c5bfbbaef7
Merge pull request #1133 from vishesh92/fix-scroll
...
Fix: query scrolling issues
2016-06-17 17:43:04 +03:00
fabito
58a9bedb64
add documentation for UDF Source URIs
2016-06-17 09:50:03 -03:00
Arik Fraimovich
a03f5f88fb
Limit Celery concurrency
2016-06-17 10:19:33 +03:00
fabito
ec50cf97a9
Add new optional property "UDF Source URIs" to BigQuery datasource so that users can reuse UDFs amongs queries
2016-06-17 02:02:48 -03:00
Adam Griffiths
a66e182f73
Add --org option to all relevant CLI commands.
...
--org is the organization slug, not the name.
Allows the management of users, datasources and groups
with respect to organisations.
All commands default to 'default' slug, or None where
relevant, which means the commands will still work
as they did before without any changes.
2016-06-17 12:03:09 +10:00
Arik Fraimovich
96dd811607
Merge pull request #1127 from someones/schema_secrets
...
Mark basic_auth_password as secret
2016-06-16 21:24:16 +03:00
Vishesh Jindal
409200188e
Fix query scrolling #1024
2016-06-16 17:40:48 +05:30
Arik Fraimovich
ad65391914
Merge pull request #1130 from AntoineAugusti/patch-1
...
Improve Slack notification style
2016-06-15 17:22:31 +03:00
Antoine Augusti
203f6afa09
Improve Slack notification style
2016-06-15 15:56:04 +02:00
Arik Fraimovich
2b710420ab
Docs: start worker process on Heroku
2016-06-15 16:17:11 +03:00
Arik Fraimovich
01116f41ed
Don't auto reload/run in debug mode on Heroku
2016-06-15 16:17:11 +03:00
Arik Fraimovich
87e25f2107
Merge pull request #1129 from getredash/fix-viz-options
...
Feature: support for JSON query formatting (Mongo, ElasticSearch)
2016-06-15 15:21:41 +03:00
Arik Fraimovich
c495250a54
Feature: support for JSON query formatting (Mongo, ElasticSearch)
2016-06-15 15:06:50 +03:00
Arik Fraimovich
c01d266030
Merge pull request #1128 from getredash/fix-viz-options
...
Fix: visualization options not updating after changing type
2016-06-15 12:49:43 +03:00
Arik Fraimovich
8515ac25bc
Fix: visualization options not updating after changing type
2016-06-15 12:42:18 +03:00
Adam Griffiths
23988a72aa
Mark basic_auth_password as secret
2016-06-15 11:34:02 +10:00
Arik Fraimovich
6bc0e7a716
Merge pull request #1126 from getredash/fix_669
...
Fix #669 : save fails when doing partial save of new query
2016-06-14 15:39:58 +03:00
Arik Fraimovich
2c2ff0d252
Fix #669 : save fails when doing partial save of new query
2016-06-14 15:39:12 +03:00
Arik Fraimovich
69cefee0d4
Update Heroku instructions.
2016-06-14 14:36:41 +03:00
Arik Fraimovich
02c065751a
Update Heroku pre_compile hook
2016-06-14 14:23:56 +03:00
Arik Fraimovich
aed65f4bad
Deduplicate parameter names
2016-06-14 14:00:38 +03:00
Arik Fraimovich
6bb2716fe3
Merge pull request #1121 from getredash/fix_949
...
Show error when failing to communicate with server
2016-06-14 13:18:06 +03:00
Arik Fraimovich
efaeb08178
Merge pull request #1120 from getredash/feature/params_ui
...
Fix: default vale for parameters should be [] and not {}
2016-06-14 13:17:21 +03:00
Arik Fraimovich
e18a073128
Show error when failing to communicate with server
...
Closes #949 .
2016-06-14 12:12:31 +03:00
Arik Fraimovich
f21276ec06
Merge pull request #1119 from getredash/feature/params_ui
...
Feature: add UI to delete alerts
2016-06-14 12:00:53 +03:00
Arik Fraimovich
b0c0582e41
Fix: default vale for parameters should be [] and not {}
2016-06-14 11:59:11 +03:00
Arik Fraimovich
9ad85091ed
Add UI to delete alerts ( closes #731 )
2016-06-14 11:55:00 +03:00
Arik Fraimovich
2d2fb69b7b
Add API to delete alerts ( #731 ).
2016-06-14 11:21:05 +03:00
Arik Fraimovich
3ce27b9652
Merge pull request #1118 from getredash/feature/params_ui
...
Fix: remove alerts for archived queries
2016-06-14 11:15:50 +03:00
Arik Fraimovich
da4db94cf8
Close #930 : remove alerts for archived queries
2016-06-14 11:09:35 +03:00
Arik Fraimovich
4cbc79a7aa
Use default user for alert_subscription factory
2016-06-14 11:04:41 +03:00
Arik Fraimovich
4fabaaea8a
Merge pull request #1117 from getredash/feature/params_ui
...
Fix #1052 : filter not working for date/time values
2016-06-14 11:02:02 +03:00
Arik Fraimovich
a7af596da0
Fix #1052 : filter not working for date/time values
2016-06-14 10:58:33 +03:00
Arik Fraimovich
df637e3f6b
Merge pull request #1116 from getredash/feature/params_ui
...
Return meaningful error when there is no cached result.
2016-06-14 10:44:24 +03:00
Arik Fraimovich
68465b0c60
Return meaningful error when there is no cached result.
...
Previously it was crashing as it was trying to access an unreferenced
variables (query_result).
2016-06-14 10:41:01 +03:00
Arik Fraimovich
86565402fa
Merge pull request #1069 from getredash/feature/params_ui
...
Feature: UI for query parameters
2016-06-14 10:15:36 +03:00
Arik Fraimovich
c2e3637dce
Feature: UI for query parameters
...
This pull request implements UI for parameters and also allows to set the default value and type of a parameter.
(Closes #583 )
Other changes in this pull request:
- Loading/error state for dashboard widgets.
- Refresh button on dashboard widgets (Closes #810 ).
- Maintain sync between query/dashboard URL and current parameters, and preserve them when navigating.
- Removed Pivot Table tab.
2016-06-14 10:09:16 +03:00
Arik Fraimovich
52558043ee
Merge pull request #1091 from whummer/feature/cache_embeds
...
Add caching for queries used in embeds
2016-06-14 08:34:13 +03:00
Waldemar Hummer
a045d7ddf7
simplify code to get parameters
2016-06-14 09:36:32 +10:00
Arik Fraimovich
c107c94a27
Merge pull request #1077 from nabilblk/master
...
Fix: install needed dependencies to use Hive in Docker image
2016-06-13 15:22:53 +03:00
Arik Fraimovich
790128ce77
Merge pull request #1067 from anthony-coble/add_word_cloud
...
Feature: word cloud visualization
2016-06-13 13:40:02 +03:00
Arik Fraimovich
abc790ce41
Merge pull request #1115 from getredash/fix-1097
...
Fix: allow non integers in alert reference value
2016-06-13 13:13:27 +03:00
Arik Fraimovich
f2643521f7
Fix: allow non integers in alert reference value
2016-06-13 13:03:08 +03:00
nabil
0d897e6878
move hive depencencies into req_all_ds.txt
2016-06-09 22:29:46 +00:00
Arik Fraimovich
4ec473cf5e
Merge pull request #1110 from getredash/fix-1097
...
Fix #1109 : mixed group permissions resulting in wrong permission
2016-06-09 20:02:06 +03:00
Arik Fraimovich
0c7f0c25a8
Fix #1109 : mixed group permissions resulting in wrong permission
2016-06-09 19:59:26 +03:00
Arik Fraimovich
8c21e9149d
Merge pull request #1108 from getredash/fix-1097
...
Remove potnetially concurrency not safe code form enqueue_query
2016-06-09 17:08:53 +03:00
Arik Fraimovich
7159f0beb0
Remove potnetially concurrency not safe code form enqueue_query.
...
This might have been causing the behavior described in #1097 .
2016-06-09 16:53:29 +03:00
Arik Fraimovich
095e7596b5
Merge pull request #1103 from AntoineAugusti/patch-1
...
Docs: add section about monitoring
2016-06-09 16:32:24 +03:00
Arik Fraimovich
31013836ea
Fix path reference in embed.html.
2016-06-09 11:06:52 +03:00
kitsuyui
91e99c42cd
Fix #1101 : Query execution fails if user name has unicode characters
...
- Encode the query with connection's charset when its type is unicode(not str).
2016-06-09 12:08:58 +09:00
Arik Fraimovich
b67f412f58
Add test for enqueue_query
2016-06-08 20:00:59 +03:00
Antoine Augusti
c1bf9dc67d
Add section about monitoring
2016-06-08 15:47:00 +02:00
Arik Fraimovich
65635ec703
Merge pull request #1102 from getredash/feature/hipchat_v2
...
Switch to HipChat V2 API
2016-06-08 16:17:10 +03:00
Arik Fraimovich
ceaa00e448
Fix HipChat base URL
2016-06-08 16:09:06 +03:00
Arik Fraimovich
679b0a3125
Switch to HipChat V2.
2016-06-08 16:04:28 +03:00
Arik Fraimovich
fe81dbd3a2
Fix paths in Gulp build pipeline
2016-06-08 10:00:05 +03:00
Arik Fraimovich
1409907ef1
WIP: gulp fix
2016-06-08 09:32:14 +03:00
Arik Fraimovich
cbbfc4e931
Update bower.json
2016-06-08 08:57:51 +03:00
Arik Fraimovich
1ca5262fa8
Merge pull request #1099 from someones/heroku-clean
...
Fix RST syntax for links
2016-06-08 08:14:29 +03:00
Adam Griffiths
429b76f5a7
Fix RST syntax for links
2016-06-08 15:01:03 +10:00
Arik Fraimovich
8b73a2b135
Merge pull request #1098 from getredash/flexible_notifications
...
Feature: UI for alert destinations & new destination types
2016-06-07 15:18:11 +03:00
Arik Fraimovich
eed5485080
Update Alerts/subscriptions UI for new look and feel.
2016-06-07 15:12:47 +03:00
Arik Fraimovich
daa6c1cd6f
Merge pull request #1096 from AntoineAugusti/patch-2
...
Fix typo in env variable VERSION_CHECK
2016-06-07 11:01:00 +03:00
Antoine Augusti
68dc3b033c
Fix typo in env variable VERSION_CHECK
2016-06-07 09:58:49 +02:00
Anthony Coble
2e88e7f396
fixup! Add a word cloud vis
2016-06-06 17:49:31 -04:00
Arik Fraimovich
cd06d276e4
Merge pull request #1095 from ordd/fix_new_query_permission
...
Fix: use create_query permission for new query button.
2016-06-06 17:25:28 +03:00
Or
437f589fde
Fix: use create_query permission for new query button.
2016-06-06 12:27:08 +03:00
Arik Fraimovich
1fbeb5d2a5
Merge pull request #1092 from someones/heroku-clean
...
Add Heroku support
2016-06-06 09:24:27 +03:00
Arik Fraimovich
df1e72ca01
Take into account that node_modules moves to root
2016-06-06 09:24:13 +03:00
Arik Fraimovich
fcc656e04e
Add support for REDIS_URL and DATABASE_URL in settings.
...
(preparation for Heroku support - #1092 )
2016-06-06 09:22:33 +03:00
Adam Griffiths
a0b97c1fc9
Update Heroku support as per comments
...
Fix comment in bin/pre_compile.
Remove .gitattributes and .travis.yml in rd_ui/.
Remove bin/run from Procfile.heroku.
Update documentation:
-Add a note about upgrading from version to version.
-Remove commands for DATABASE_URL and REDIS_URL.
-Add importance to the cookie secret variable.
-Merge adding redis and postgres addons into 1 step.
2016-06-06 11:39:10 +10:00
Arik Fraimovich
4d6599e0ea
WIP
2016-06-05 15:51:49 +03:00
Adam Griffiths
c75054b320
Add Heroku support
...
Move .bowerrc, bower.json, gulpfile.js, package.json
down to root level.
Update paths in .bowerrc, gulpfile.js, Makefile
Add a heroku-postbuild step to package.json which
installs devDependencies and runs the build.
Add step in bin/pre_compile which adds the
requirements_all_ds.txt to requirements.txt to ensure that
cffi is installed. Also removes pymssql as this is
not supported on Heroku.
Add content from rd_ui/.gitignore to .gitignore and
remove rd_ui/.gitignore.
Add section in setup.rst about Heroku deployments.
2016-06-03 12:21:09 +10:00
Waldemar Hummer
011ca74338
add caching for queries used in embeds
2016-06-03 09:14:59 +10:00
Arik Fraimovich
434615a1be
Merge remote-tracking branch 'origin/master' into flexible_notifications
2016-06-02 10:21:52 +03:00
Arik Fraimovich
2bc0b276b5
Merge pull request #1061 from thoughtworks/fix/area_plots
...
Fix: area chart stacking doesn't work
2016-06-01 21:21:18 +03:00
Arik Fraimovich
e942486ed7
Merge pull request #1090 from getredash/contributing_guide
...
Contributing Guide
2016-06-01 15:56:36 +03:00
Arik Fraimovich
9eff7ef8c9
Update CONTRIBUTING.md
2016-06-01 15:55:50 +03:00
Arik Fraimovich
34b305d232
Update CONTRIBUTING.md
2016-06-01 15:52:52 +03:00
Arik Fraimovich
f0d97bc5d1
Update CONTRIBUTING.md
2016-06-01 15:30:04 +03:00
Arik Fraimovich
f64622db77
Merge pull request #1089 from James226/master
...
Add support for serialising UUID type within MSSQL #961
2016-06-01 15:14:59 +03:00
Arik Fraimovich
8030baa6a5
Create "Contributing Guide"
2016-06-01 14:55:11 +03:00
Raymond Machira
3d82b702b3
Merge branch 'upstream/master' into fix/area_plots
...
# Conflicts:
# rd_ui/app/scripts/directives/plotly.js
2016-05-31 10:50:05 -05:00
Arik Fraimovich
ad8676df2e
Merge pull request #1087 from getredash/fix/chart_editor
...
Maintain fixed size of chart area
2016-05-31 11:29:37 +03:00
Arik Fraimovich
ea031e9a98
Maintain fixed size of chart area
2016-05-31 11:27:01 +03:00
Arik Fraimovich
9cfebedec9
Merge pull request #1086 from getredash/fix/chart_editor
...
Give bottom margin setting more meaningful name & change to input type to number.
2016-05-31 10:36:24 +03:00
Arik Fraimovich
772d263827
Give bottom margin setting more meaningful name & change to input to number.
2016-05-31 10:27:28 +03:00
Arik Fraimovich
8c455c8a1c
Update login page title
2016-05-31 09:46:29 +03:00
Arik Fraimovich
857caab20e
Merge pull request #1085 from getredash/feature/pause-api
...
Feature: API to pause a data source
2016-05-31 09:08:03 +03:00
Arik Fraimovich
59f8af2c44
Switch to Redis for pause state storage
2016-05-30 22:44:09 +03:00
Arik Fraimovich
9538ee7c31
Feature: API to pause a data source
2016-05-30 18:30:05 +03:00
Arik Fraimovich
e8312185dc
Merge pull request #1084 from getredash/fix_dup_alerts
...
Fix #1049 : duplicate alerts when data source belongs to multiple groups
2016-05-30 14:42:05 +03:00
Arik Fraimovich
07d2b5ba42
Fix #1049 : duplicate alerts
2016-05-30 14:39:58 +03:00
Arik Fraimovich
f8120284d5
WIP: updated look and feel
2016-05-30 14:39:01 +03:00
James Parker
5b654fd1c8
Add support for serialising UUID type within MSSQL #961
2016-05-27 09:22:38 +01:00
Arik Fraimovich
6edb0ca8ec
Merge pull request #1080 from jeffwidman/patch-1
...
Fix typo
2016-05-27 08:42:21 +03:00
Lloyd Weehuizen
3f208c03fd
Add missing type parameter to collect_value call
2016-05-27 10:23:16 +12:00
Jeff Widman
ef0de1414d
Fix typo
2016-05-26 14:29:40 -07:00
Arik Fraimovich
214aa3b799
Merge pull request #1060 from thoughtworks/saml-authorization
...
Feature: support configuring user's groups with SAML
2016-05-26 23:07:30 +03:00
Arik Fraimovich
64d7538040
Merge pull request #1074 from toyama0919/master
...
Fix: ElasticSearch wasn't using correct type names
2016-05-26 22:57:32 +03:00
Kumar Vora
69177752bc
addresses PR feedback!
2016-05-26 14:46:25 -05:00
Kumar Vora
d83c6c42dd
Raymond/Kumar : Fixes issue where going into edit more would break stacking. - selects legend divs from current graph only (instead of selecting from the entire dom)
2016-05-26 14:17:19 -05:00
nabil
2043834ae9
Issue #1076 : addtional dependencies for Hive Datasource
2016-05-26 10:38:07 +01:00
toyama0919
d6f4af448c
fix bug. There is a case set unsupport type for elasticsearch.
2016-05-25 17:50:13 +09:00
Raymond Machira
43b425f91c
Merge branch 'get-redash-master' of github.com:thoughtworks/redash into fix/area_plots
2016-05-24 18:11:13 -05:00
Raymond Machira
17427cf47b
Names the legend item click listener to avoid overriding other places the event may be used. Also removes the event listener when type of chart changes.
2016-05-24 17:54:50 -05:00
Kumar Vora
b5be5a8fa4
no need to check count of results
2016-05-24 16:38:41 -05:00
Arik Fraimovich
14fcf01751
Merge pull request #1072 from getredash/arikfr-patch-2
...
Remove counter from the tasks Done tab (as it always shows 50). #1047
2016-05-23 21:24:01 +03:00
Arik Fraimovich
09848d65a1
Remove counter from the tasks Done tab (as it always shows 50). #1047
2016-05-23 18:32:59 +03:00
Arik Fraimovich
0d897ea959
Update AMIs to 0.10.1
2016-05-22 13:35:07 +03:00
Arik Fraimovich
e88d4c3d27
Remove reference to Google Groups and add Discourse instead
2016-05-22 10:33:46 +03:00
Arik Fraimovich
82f0b4c386
Update version reference in bootstrap scripts.
2016-05-22 10:33:46 +03:00
Arik Fraimovich
3037c4f90d
Merge pull request #1066 from edwardsharp/edwardsharp-fix-1057
...
Docs: command type-o fix.
2016-05-22 08:59:12 +03:00
Kumar Vora
8900d02c95
fixing test
2016-05-20 14:35:49 -05:00
Kumar Vora
c1c2db4a73
use user.org instead of passing org as a separate argument
2016-05-20 14:28:08 -05:00
Anthony Coble
574d8a18ae
Add a word cloud vis
2016-05-19 16:19:08 -04:00
edward sharp
82872db111
command type-o in setup docs. fix #1057
2016-05-19 12:57:18 -07:00
Arik Fraimovich
3f90dd9247
Merge pull request #1064 from getredash/fix/keys_cleanup
...
Fix: old task trackers were not really removed
2016-05-19 10:08:58 +03:00
Arik Fraimovich
b2e2277d0b
Fix: old task trackers were not really removed
2016-05-19 09:58:30 +03:00
Arik Fraimovich
e20a00566a
Merge pull request #1007 from vorakumar/issue-1006
...
Issue#1006: Make bottom margin editable for Chart visualization
2016-05-18 23:18:12 +03:00
Arik Fraimovich
e10ecd2dad
Merge pull request #1058 from AntoineAugusti/patch-1
...
Bring back filters if dashboard filters are enabled
2016-05-18 22:50:31 +03:00
Arik Fraimovich
6e0dd2b9a3
Merge pull request #1063 from windward-ltd/master
...
Add support for date/time Y axis
2016-05-18 22:50:13 +03:00
tomerb
0bb3fb9c40
added datetime to the yaxis scale options
2016-05-18 18:41:08 +03:00
Arik Fraimovich
1a1160eb76
Merge pull request #1062 from getredash/fix_dql
...
DynamoDB: Better exception handling
2016-05-18 14:14:00 +03:00
Arik Fraimovich
d4ae97aab2
Move pyparsing import to the try/except block
2016-05-18 14:08:42 +03:00
Arik Fraimovich
8bc42c8ad9
Remove duplicate reference to ParseException
2016-05-18 13:45:26 +03:00
Arik Fraimovich
6c5865bd3b
Better exception handling
2016-05-18 13:44:38 +03:00
Arik Fraimovich
701035fabd
Merge pull request #1059 from getredash/fix_dql
...
Fix: DynamoDB having issues when setting host
2016-05-18 13:42:48 +03:00
Arik Fraimovich
31aee1b6b9
Better exception handling
2016-05-18 13:30:20 +03:00
Arik Fraimovich
367ea859e4
If host param is empty, change it to None
2016-05-18 13:30:10 +03:00
Raymond Machira
d79d3da955
Merge branch 'get-redash-master' into fix/area_plots
2016-05-17 15:55:21 -05:00
Raymond Machira
6c822d1e4b
Force area charts to recalculate on click of legend items.
...
This fixes issue #948 where stacked area plots do not update once series are enabled/disabled using the legend.
It also fixes the behaviour of percentage stack area plots, so as to have similar behaviour to percentage stacked bar charts.
2016-05-17 15:49:25 -05:00
Ama Asare
ad85b9a62c
Ama/Kumar: Configure authorization for SAML
2016-05-17 14:01:18 -05:00
Arik Fraimovich
b5a4a6b880
Merge pull request #979 from ninneko/860-managepy_support_gropu_operation
...
Feature: Add CLI to edit group permissions
2016-05-17 15:05:16 +03:00
Arik Fraimovich
1828de20b0
Fix: DynamoDB having issues when setting host
2016-05-17 14:36:15 +03:00
Antoine Augusti
48c85645c6
Bring back filters if dashboard filters are enabled
2016-05-17 09:57:08 +02:00
Arik Fraimovich
ed45dcb01d
Merge pull request #1044 from thoughtworks/improve-vagrant-flow
...
Improve vagrant flow
2016-05-13 15:47:10 +03:00
Ama Asare
d4ff7482ad
Ama: Install just pymongo and not everything in requirements_all_ds.txt
...
Because some dependencies were missing and we dont really need everything in the file...just pymongo
Also removed unneeded files, reverted circle.yml to as it is on redash, so it doesnt show in the PR diff
2016-05-09 17:15:07 -05:00
Ama Asare
90f0b3b49a
Ama: Consolidate vagrant_provision script, move files to more intuitive locations, include command from #1021 .
...
Also reset circle.yml to be as in the main redash repo so our changes are not included in the changeset
Check earlier PR https://github.com/getredash/redash/pull/1027 to follow conversation.
2016-05-09 17:13:33 -05:00
Ama Asare
f8efb2d7ea
Ama/Chris #7121 Added script to run or test redash vagrant server in one command.
2016-05-09 17:13:18 -05:00
Kumar Vora
d2ba0cb6cf
Let plotly calculate the height based on provided margin values
2016-05-09 16:11:51 -05:00
Arik Fraimovich
cfb852e9c5
Add missing import.
2016-05-08 22:29:36 +03:00
Arik Fraimovich
d5c6e57c62
Optionally get org_slug from g.
2016-05-08 10:41:56 +03:00
Arik Fraimovich
2924d4fce6
Merge pull request #1040 from getredash/fix/visaulizations
...
Small fixes to visualizations view
2016-05-08 10:39:37 +03:00
Arik Fraimovich
e602b8cf2b
Don't render visualizations in the background
2016-05-08 10:34:30 +03:00
Arik Fraimovich
0b806e2e7d
Fix: link in pivot tab was broken
2016-05-08 10:34:14 +03:00
yohei.naruse
c3c302e11e
modify indent size
2016-05-08 12:43:42 +09:00
Arik Fraimovich
aa837ed09b
Update for new design
2016-05-07 22:20:06 +03:00
Arik Fraimovich
f07e7273c1
Fix: add destination to list of static routes
2016-05-07 22:19:53 +03:00
Arik Fraimovich
9b6f555d76
Update alert task to use destinations
2016-05-07 17:58:15 +03:00
Arik Fraimovich
e069374232
Merge w/ latest master
2016-05-07 17:49:49 +03:00
Arik Fraimovich
c496df3b87
Update ISSUE_TEMPLATE.md
2016-05-05 22:30:10 +03:00
Arik Fraimovich
2ee0065102
Merge pull request #1038 from getredash/docs-github
...
Add an ISSUE_TEMPLATE.md to direct people at the forum
2016-05-05 22:29:23 +03:00
Arik Fraimovich
c0ffea7083
Add an ISSUE_TEMPLATE.md to direct people at the forum
2016-05-05 22:28:04 +03:00
Arik Fraimovich
fec0d5fecc
Merge pull request #1037 from dheerajrav/master
...
multifilter bug fix
2016-05-05 16:28:03 +03:00
dheerajrav
83a03a22b1
multifilter bug fix
2016-05-05 18:51:41 +05:30
Arik Fraimovich
8b5dc8ef68
Merge pull request #1036 from getredash/fixes_160504
...
Add optional block for more scripts in template
2016-05-05 11:26:22 +03:00
Arik Fraimovich
f3a274a5c0
Add optional block for more scripts in template
2016-05-05 11:26:02 +03:00
Arik Fraimovich
386d6efdaa
Merge pull request #1035 from whummer/feat/test_params_on_embeds
...
Add test case for embeds with parameters
2016-05-05 09:56:56 +03:00
Waldemar Hummer
e415189017
add test case for embeds with parameters; minor fix in embeds.py
2016-05-05 11:15:49 +10:00
Arik Fraimovich
b066ce4b74
Merge pull request #1033 from getredash/fixes_160504
...
Fix: only ask for notification permissions if wasn't denied
2016-05-04 17:03:26 +03:00
Arik Fraimovich
056ae4f63e
Fix: only ask for notification permissions if wasn't denied
2016-05-04 16:57:58 +03:00
Arik Fraimovich
6d495d2f2c
Merge pull request #1014 from whummer/feat/params_on_embeds
...
Add server-side parameter handling for embeds
2016-05-04 16:56:35 +03:00
Arik Fraimovich
960c416fcb
Merge pull request #1032 from getredash/fixes_160504
...
Fix: make sure we return dashboards only for current org only
2016-05-04 16:54:25 +03:00
Arik Fraimovich
f7322a413f
Merge pull request #1021 from ariarijp/documentation-improvement
...
Vagrant docs: add purging the cache step
2016-05-04 16:49:58 +03:00
Arik Fraimovich
d9cc063be2
Fix: make sure we return dashboards only for current org
2016-05-04 16:32:49 +03:00
Arik Fraimovich
8fa6fdb0d5
Merge pull request #1030 from getredash/fixes_160504
...
Make sure data sources list ordered by id
2016-05-04 12:12:17 +03:00
Arik Fraimovich
7016477700
Restore support for forwarding events
2016-05-04 12:07:59 +03:00
Arik Fraimovich
0bb722df5d
Make sure data sources ordered by id
2016-05-04 12:03:47 +03:00
Arik Fraimovich
b3844d3643
Merge pull request #1029 from getredash/fixes_160504
...
Hive: close connection only if it exists
2016-05-04 10:42:59 +03:00
Arik Fraimovich
e32bfe3db7
Hive: close connection only if it exists
2016-05-04 10:40:53 +03:00
Waldemar Hummer
4591eff557
add server-side parameter handling for embeds
2016-05-03 10:49:01 +10:00
Arik Fraimovich
7062873cd1
Add note re. GCE image version
2016-05-02 12:48:43 +03:00
Lloyd Weehuizen
203cf6e28b
Style updates
2016-05-02 10:18:11 +12:00
Arik Fraimovich
9e23cc2bf2
update version references
2016-05-01 15:49:39 +03:00
ariarijp
c5d92b4e7e
Add purging the cache step
2016-05-01 21:37:51 +09:00
Arik Fraimovich
41dfcd8cbf
Bump version.
2016-05-01 11:18:32 +03:00
Arik Fraimovich
869c060f5a
Merge pull request #1017 from getredash/fix/ds_cli
...
Add data source to default group when creating with CLI
2016-04-29 16:11:30 +03:00
Arik Fraimovich
b9322004f8
Add data source to default group when creating with CLI
2016-04-29 16:08:23 +03:00
yohei.naruse
1fa701c136
apply reviews.
2016-04-28 11:43:01 +09:00
Arik Fraimovich
7b5d16ef6c
Merge pull request #1005 from staritza/master
...
Update bootstrap.sh to include saml dependency
2016-04-25 23:44:39 +03:00
Kumar Vora
303e158eb1
Issue#1006: allowing user to change bottom margin for Chart visualizations
2016-04-22 13:16:00 -05:00
Arik Fraimovich
d331285c1f
Merge pull request #980 from machira/master
...
Add environment variable to override secure_flag on session cookie
2016-04-21 19:16:40 +03:00
Ama A
aab0542a93
Update bootstrap.sh to include saml dependency
...
Required for saml to work
2016-04-20 14:17:10 -05:00
Arik Fraimovich
1f824fc5e3
Merge pull request #957 from gseva:dashboard-permissions
...
Hide dashboards that current user cannot see based on his groups
2016-04-20 20:18:19 +03:00
Raymond Machira
c19a0209eb
Make secure_flag environment var default to Enforce HTTPs
...
Also wraps parse_boolean around the os.get call for the secure_flag variable
2016-04-20 11:01:37 -05:00
Arik Fraimovich
5bd133ca50
Add additional tests
2016-04-20 18:30:31 +03:00
Arik Fraimovich
3ce07782ad
Fix #986 : search might return duplicate queries
2016-04-20 17:54:20 +03:00
Arik Fraimovich
078fd96660
Record event when opening shared dashboard
2016-04-20 17:54:20 +03:00
Arik Fraimovich
5fe70b7aff
Record event when opening visualization embed ( closes #971 ).
2016-04-20 17:54:20 +03:00
Arik Fraimovich
ad445ef40d
Fix: don't show viz edit button if user can't edit
2016-04-20 17:54:20 +03:00
Arik Fraimovich
61aca53300
Show query description only if enabled
2016-04-20 17:54:20 +03:00
Arik Fraimovich
6881da930b
Fix #996 : only show edit controls if user can edit
2016-04-20 17:54:20 +03:00
Arik Fraimovich
d9a8b25430
Fix #994 : query description was rendered with bigger font than name
2016-04-20 17:54:20 +03:00
Antoine Augusti
8c77d77668
Mention how to use some special features
2016-04-20 17:54:20 +03:00
Antoine Augusti
5cef835a78
Specify the user to use when using the provided AMIs
2016-04-20 17:54:20 +03:00
Arik Fraimovich
3c0fc3b134
Feature: running queries (tasks) monitor
...
- Refactored tasks module into a package.
- Add new admins screens (running queries & outdated queries).
2016-04-20 17:54:20 +03:00
Arik Fraimovich
a9cab5fd46
Avoid drawing chart before there is data
2016-04-20 17:54:20 +03:00
Arik Fraimovich
152109a8ef
use ng-src to avoid errors before scope is available
2016-04-20 17:54:20 +03:00
Arik Fraimovich
4ed1db3ccd
Show message if dashboard is archived
2016-04-20 17:54:20 +03:00
Arik Fraimovich
b4af116fc5
Fix: new user form was in wrong scope
2016-04-20 17:54:20 +03:00
Arik Fraimovich
20f6993c8b
Fix: embeds got broken due to missing inject
2016-04-20 17:54:20 +03:00
Arik Fraimovich
15c032668b
Add material font to gulpfile
2016-04-20 17:54:20 +03:00
Arik Fraimovich
0f20f8d5f9
Fix #779 : use the default chart type for new series
2016-04-20 17:54:20 +03:00
Arik Fraimovich
fc0dd22e03
Remove angular-plotly and use Plotly's autoresize
2016-04-20 17:54:20 +03:00
Arik Fraimovich
ae98bf9f60
Remove Plotly legend height workaround and use official support for scrolling.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
a426002adf
Switch to official Plotly.js bower distribution and use latest version.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
2e9c6dd05d
bower.json: move bootstrap version to correct location
2016-04-20 17:54:20 +03:00
Arik Fraimovich
509b8afefc
Add documentation on permissions model
2016-04-20 17:54:20 +03:00
Arik Fraimovich
43fb88d49b
Add Slack to list of contact methods
2016-04-20 17:54:20 +03:00
Arik Fraimovich
2bd60663b9
Update name in conf.py
2016-04-20 17:54:20 +03:00
Arik Fraimovich
accb3d973d
Docs: re:dash -> Re:dash & new screenshots
2016-04-20 17:54:20 +03:00
Arik Fraimovich
807df66ae9
Refine docker instructions
2016-04-20 17:54:20 +03:00
Antoine Augusti
bdfb2e9e63
Snake case it is
2016-04-20 17:54:20 +03:00
Antoine Augusti
3d946b9a36
Clean code
2016-04-20 17:54:20 +03:00
Antoine Augusti
9ebd7c8f04
Add a command to send an invitation link to a user
2016-04-20 17:54:20 +03:00
Arik Fraimovich
222eb369ca
Change logoUrl to logo_url to comply w/ code style
2016-04-20 17:54:20 +03:00
Arik Fraimovich
d8207241b7
New design 🎉 and UX improvements! In more detail:
...
- Based on the SuperFlat admin theme (I bought the extended license).
- All pages are now full-width to give your data the room it deserves.
- Various UX improvements (althuogh there is still room for improvement).
2016-04-20 17:54:20 +03:00
Antoine Augusti
2f94a21bd0
Inject variables with app context and ability to change the logo
2016-04-20 17:54:20 +03:00
tdawber
1233706aac
Add link to embeds to open query in new window
2016-04-20 17:54:20 +03:00
Arik Fraimovich
0fb17c5478
Fix #958 : group members/datasources were cached.
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
b74db8148d
Correct ports per installation strategy used
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
d1b979b64e
Add more instructions on getting started.
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
bf47e57abc
Remove extra gif
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
f8161dc9a5
Add second demo
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
3fccd23a62
Add missing )
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
2888f0dbf4
Add documentation link at the top
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
3b4bb6a557
Add gitter chat button
2016-04-20 17:54:20 +03:00
Arik Fraimovich
346b31d39e
Add support for using Redis via unix socket
2016-04-20 17:54:20 +03:00
Arik Fraimovich
1d2425e002
Ability to disable some query runners
2016-04-20 17:54:20 +03:00
Arik Fraimovich
bee6a6d80b
Friendlier name for MySQL query runner
2016-04-20 17:54:20 +03:00
Arik Fraimovich
515b52196c
Allow toggling dashboard full screen from URL
2016-04-20 17:54:20 +03:00
Andrew Davison
02601ace68
Release download path must use the version, not the branch
2016-04-20 17:54:20 +03:00
Andrew Davison
5cb03baa95
Use a REDASH_BRANCH environment variable instead, in the same way as REDASH_VERSION.
...
Move REDASH_VERSION var setup to top of file where it is more visible and easier to update.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
fac8295aaf
Use ng-if instead of ng-show for schema
2016-04-20 17:54:20 +03:00
Arik Fraimovich
fd913402bc
Fix: on first save, make sure we load alredy existing data
2016-04-20 17:54:20 +03:00
Arik Fraimovich
7f7ab39329
Fix mobile state of query page
2016-04-20 17:54:20 +03:00
Andrew Davison
23c7218195
Allow passing version to bootstrap.sh as a cli parameter, to download a specific tag's setup files.
2016-04-20 17:54:20 +03:00
Andrew Davison
2a559d6452
Fix "http directive is not allowed here"
2016-04-20 17:54:20 +03:00
Sam Ehlers
3a8af1e4c7
Fixed error when result doesn't contain series
2016-04-20 17:54:20 +03:00
Sam Ehlers
3c2877123f
Fixed error when series doesn't have tags
2016-04-20 17:54:20 +03:00
Sam Ehlers
ebb07946ac
Added support for multiple queries and tags
...
Multiple queries are separated by semicolons and could possibly have
different columns and tags.
https://docs.influxdata.com/influxdb/v0.11/guides/querying_data/#multiple-queries
Tags come in to the result set when you use a GROUP BY statement.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
afd009e540
When opening a query page, don't automatically execute it
2016-04-20 17:54:20 +03:00
Arik Fraimovich
5d86d34b4e
Fix: show notifications only when page in background
2016-04-20 17:54:20 +03:00
Arik Fraimovich
8b5673e973
Ask for notification permissions only on query execution
2016-04-20 17:54:20 +03:00
Arik Fraimovich
50c043ca54
Split colors palette to base and additional
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
42fdfdeb97
Update color palette to add more pretty colors
...
Inspired from ggplot2 color palette, update ColorPalette to make charts
more pretty.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
cc51baabce
Move buttons in the query page
2016-04-20 17:54:20 +03:00
Alex DeBrie
586f035a5c
Prevent schemas from expanding on search
2016-04-20 17:54:20 +03:00
Andrea Leesley
d3c47e5bf3
Adjust query info ui.
2016-04-20 17:54:20 +03:00
Andrea Leesley
cfc064ef48
Make query results full width.
2016-04-20 17:54:20 +03:00
Andrea Leesley
36b471f26d
Move the schema container to the right.
...
- Clean up ui on the new query page.
2016-04-20 17:54:20 +03:00
atharva.inamdar
96a0fe8ed8
updated query search bar visibility threshold to 500
2016-04-20 17:54:20 +03:00
Alexander Leibzon
f33a2fcaa9
code style, name method
2016-04-20 17:54:20 +03:00
Alexander Leibzon
073182612b
requirements rearrangement
2016-04-20 17:54:20 +03:00
Alexander Leibzon
d3d6121fc0
fixes
2016-04-20 17:54:20 +03:00
Alexander Leibzon
0b222498e7
the dynamoDB SQL connector
2016-04-20 17:54:20 +03:00
Alexander Leibzon
1b3fe9dde2
add requirements
2016-04-20 17:54:20 +03:00
Alexander Leibzon
ccf6c0ede6
dynamodb SQL connector
2016-04-20 17:54:20 +03:00
John Katsnelson
07f18cbe0c
docker-compose ls should be docker-machine ls
2016-04-20 17:54:20 +03:00
John Katsnelson
619b4ec32d
adds basic docker compose instructions
2016-04-20 17:54:20 +03:00
Arik Fraimovich
b73fdf1f33
Merge pull request #1003 from getredash/feature/embed_event
...
Fix #986 : search might return duplicate queries
2016-04-20 17:14:05 +03:00
Arik Fraimovich
10f12e5008
Fix #986 : search might return duplicate queries
2016-04-20 17:09:59 +03:00
Arik Fraimovich
ff9336907e
Merge pull request #1002 from getredash/feature/embed_event
...
Feature: record events for embed and shared dashboard open
2016-04-20 16:25:45 +03:00
Arik Fraimovich
fe54e63dd3
Record event when opening shared dashboard
2016-04-20 16:23:00 +03:00
Arik Fraimovich
17d371379b
Record event when opening visualization embed ( closes #971 ).
2016-04-20 16:15:31 +03:00
Arik Fraimovich
0908e222a6
Merge pull request #1000 from getredash/fix/edit_button
...
Fix: don't show visualization edit button if user can't edit it.
2016-04-19 14:14:37 +03:00
Arik Fraimovich
dbfe6c385c
Fix: don't show viz edit button if user can't edit
2016-04-19 14:11:50 +03:00
Arik Fraimovich
e63220cc3a
Merge pull request #998 from getredash/fix/embed_title
...
Fix #994 : query description was rendered with bigger font than name
2016-04-18 22:10:30 +03:00
Arik Fraimovich
07ccd0986d
Show query description only if enabled
2016-04-18 22:08:32 +03:00
Arik Fraimovich
9e96b7f81e
Merge pull request #999 from getredash/fix/empty_dropdown
...
Fix #996 : only show dashboard edit controls if user can edit
2016-04-18 18:46:40 +03:00
Arik Fraimovich
a9ccdc79a4
Fix #996 : only show edit controls if user can edit
2016-04-18 18:43:56 +03:00
Arik Fraimovich
3ad726e87f
Fix #994 : query description was rendered with bigger font than name
2016-04-18 18:36:42 +03:00
Arik Fraimovich
2655eec907
Merge pull request #997 from AntoineAugusti/additional-documentation
...
Additional documentation
2016-04-18 18:09:36 +03:00
Antoine Augusti
1d54bf000b
Mention how to use some special features
2016-04-18 17:00:23 +02:00
Antoine Augusti
2e45b67e11
Specify the user to use when using the provided AMIs
2016-04-18 15:39:42 +02:00
Arik Fraimovich
30227f4815
Merge pull request #856 from getredash/feature/task_monitoring
...
Feature: running queries monitor
2016-04-18 13:49:55 +03:00
Arik Fraimovich
d38ab20c45
Feature: running queries (tasks) monitor
...
- Refactored tasks module into a package.
- Add new admins screens (running queries & outdated queries).
2016-04-18 13:46:31 +03:00
Arik Fraimovich
c17ba03a20
Merge pull request #992 from getredash/fix/2016-04-17
...
Small UI fixes
2016-04-17 18:15:51 +03:00
Arik Fraimovich
ff641440aa
Avoid drawing chart before there is data
2016-04-17 18:12:12 +03:00
Arik Fraimovich
505f807e5a
use ng-src to avoid errors before scope is available
2016-04-17 18:08:09 +03:00
Arik Fraimovich
eb61caa6b8
Show message if dashboard is archived
2016-04-17 18:05:15 +03:00
Arik Fraimovich
cbc58ba594
Fix: new user form was in wrong scope
2016-04-17 17:57:25 +03:00
Arik Fraimovich
8b4e8729dd
Fix: embeds got broken due to missing inject
2016-04-17 14:30:02 +03:00
Arik Fraimovich
3925c48d14
Add material font to gulpfile
2016-04-17 12:26:48 +03:00
Arik Fraimovich
376199957e
Merge pull request #991 from getredash/plotly
...
Improvements to Plotly.js integration
2016-04-17 12:13:57 +03:00
Arik Fraimovich
cf2407b69b
Fix #779 : use the default chart type for new series
2016-04-17 11:58:29 +03:00
Arik Fraimovich
c51779708e
Remove angular-plotly and use Plotly's autoresize
2016-04-17 11:58:00 +03:00
Arik Fraimovich
9cded144e6
Remove Plotly legend height workaround and use official support for scrolling.
2016-04-17 11:12:33 +03:00
Arik Fraimovich
1dd8b6293b
Switch to official Plotly.js bower distribution and use latest version.
2016-04-17 11:12:09 +03:00
Arik Fraimovich
3881eaa72e
bower.json: move bootstrap version to correct location
2016-04-17 11:12:03 +03:00
Arik Fraimovich
6db399893b
Add documentation on permissions model
2016-04-17 09:45:52 +03:00
Arik Fraimovich
a98c45f649
Add Slack to list of contact methods
2016-04-17 09:24:21 +03:00
Arik Fraimovich
8e9cced4c5
Update name in conf.py
2016-04-15 23:27:29 +03:00
Arik Fraimovich
05eb9685ee
Docs: re:dash -> Re:dash & new screenshots
2016-04-15 23:26:21 +03:00
Arik Fraimovich
7f920f352a
Refine docker instructions
2016-04-15 23:14:14 +03:00
Arik Fraimovich
874793e4b0
Merge pull request #977 from ChiragKParmar/master
...
Adding two badges for better visibility.
2016-04-15 23:13:29 +03:00
Arik Fraimovich
6e440d8263
Merge pull request #911 from jkatsnelson/patch-1
...
Docs: Docker compose instructions
2016-04-15 22:45:17 +03:00
Arik Fraimovich
235109c3f7
Merge pull request #984 from getredash/surprise
...
New design 🎉 and UX improvements!
2016-04-15 18:59:04 +03:00
Arik Fraimovich
c7f2217f15
Merge pull request #988 from AntoineAugusti/cli-invite-user
...
Feature: add CLI to invite user
2016-04-15 18:54:52 +03:00
Antoine Augusti
25cfa04a2b
Snake case it is
2016-04-15 17:34:57 +02:00
Antoine Augusti
a8758c3a5f
Clean code
2016-04-15 16:38:05 +02:00
Antoine Augusti
e015adba7e
Add a command to send an invitation link to a user
2016-04-15 15:55:52 +02:00
Arik Fraimovich
38b603b28c
Change logoUrl to logo_url to comply w/ code style
2016-04-14 22:31:02 +03:00
Arik Fraimovich
44f8ccfd75
New design 🎉 and UX improvements! In more detail:
...
- Based on the SuperFlat admin theme (I bought the extended license).
- All pages are now full-width to give your data the room it deserves.
- Various UX improvements (althuogh there is still room for improvement).
2016-04-14 22:27:26 +03:00
Arik Fraimovich
6cc2cf765d
Merge pull request #987 from AntoineAugusti/inject-app-context
...
Feature: ability to change logo
2016-04-14 22:18:32 +03:00
Arik Fraimovich
748f6e4f2c
Merge pull request #983 from tdawber/feature/embed_open_in_redash
...
Add link to embeds to open query page in new window
2016-04-14 21:53:11 +03:00
Antoine Augusti
2d578247ef
Inject variables with app context and ability to change the logo
2016-04-14 11:50:00 +02:00
tdawber
bde60d5919
Add link to embeds to open query in new window
2016-04-12 12:02:02 +10:00
Raymond Machira
17ca702cb3
Add environment variable to override secure_flag on session cookie
2016-04-11 13:02:29 -05:00
yohei.naruse
19aaa938d8
manage.py support group operations.
2016-04-10 22:08:36 +09:00
Arik Fraimovich
c80728c3fa
Merge pull request #978 from getredash/fix958
...
Fix #958 : group members/datasources were cached.
2016-04-10 11:28:28 +03:00
Arik Fraimovich
39a832aff5
Fix #958 : group members/datasources were cached.
2016-04-10 11:26:33 +03:00
chiragkparmar@gmail.com
f3a12d20f8
Correct ports per installation strategy used
2016-04-08 12:41:29 -04:00
chiragkparmar@gmail.com
0743c4a532
Add more instructions on getting started.
2016-04-07 18:32:01 -04:00
chiragkparmar@gmail.com
1169ed2542
Remove extra gif
2016-04-07 18:19:31 -04:00
chiragkparmar@gmail.com
3f3a8fb903
Add second demo
2016-04-07 18:07:44 -04:00
chiragkparmar@gmail.com
8b87ac39d1
Add missing )
2016-04-07 18:05:33 -04:00
chiragkparmar@gmail.com
4520d1889c
Add documentation link at the top
2016-04-07 18:04:30 -04:00
chiragkparmar@gmail.com
57ec4bf21e
Add gitter chat button
2016-04-07 17:55:32 -04:00
chiragkparmar@gmail.com
8091b546e0
Merge remote-tracking branch 'getredash/master'
2016-04-07 17:52:56 -04:00
Arik Fraimovich
d78ef8fab5
Merge pull request #974 from getredash/embed
...
Add support for using Redis via unix socket
2016-04-06 20:57:13 +03:00
Arik Fraimovich
31879f9f7d
Add support for using Redis via unix socket
2016-04-06 20:54:21 +03:00
Arik Fraimovich
0c6317c1db
Merge pull request #973 from getredash/embed
...
Small updates to data sources (friendlier name for MySQL, and ability to disable query runners)
2016-04-06 20:42:24 +03:00
Arik Fraimovich
eec883763a
Ability to disable some query runners
2016-04-06 18:19:51 +03:00
Arik Fraimovich
85be5fb7e9
Friendlier name for MySQL query runner
2016-04-06 18:19:42 +03:00
Arik Fraimovich
2308a3af10
Merge pull request #972 from getredash/embed
...
Feature: allow toggling dashboard full screen from URL
2016-04-06 18:12:43 +03:00
Arik Fraimovich
db56818a52
Allow toggling dashboard full screen from URL
2016-04-06 18:02:42 +03:00
Arik Fraimovich
39315dbb18
Merge pull request #962 from handwritingio/influxdb_tags
...
InfluxDB: Added support for multiple queries and tags
2016-04-05 14:50:39 +03:00
Arik Fraimovich
0d9faa8c04
Merge pull request #964 from ink-adavison/bootstrap_version_parameter
...
Allow passing branch name to bootstrap.sh
2016-04-05 14:44:23 +03:00
Andrew Davison
70f7219057
Release download path must use the version, not the branch
2016-04-04 16:02:58 +01:00
Andrew Davison
ad2a5601bf
Use a REDASH_BRANCH environment variable instead, in the same way as REDASH_VERSION.
...
Move REDASH_VERSION var setup to top of file where it is more visible and easier to update.
2016-04-04 15:37:38 +01:00
Arik Fraimovich
b0ea6b0f7f
Merge pull request #970 from getredash/query_page
...
Use ng-if instead of ng-show for schema
2016-04-03 12:07:23 +03:00
Arik Fraimovich
43078f60cf
Use ng-if instead of ng-show for schema
2016-04-03 12:06:52 +03:00
Arik Fraimovich
637c17bcd1
Merge pull request #969 from getredash/query_page
...
Fix: on first save, make sure we load alredy existing data
2016-04-03 11:08:09 +03:00
Arik Fraimovich
941657fbbc
Fix: on first save, make sure we load alredy existing data
2016-04-03 10:42:48 +03:00
Arik Fraimovich
07a53d6aa8
Fix mobile state of query page
2016-04-03 10:30:53 +03:00
Lloyd Weehuizen
c850acb3b9
Extend ElasticSearch query_runner to support aggregations
2016-04-01 14:06:54 +13:00
Arik Fraimovich
93c663d5aa
Merge pull request #963 from ink-adavison/nginx_vhost_http_fix
...
Fix "http directive is not allowed here" on Ubuntu and Amazon Linux
2016-03-31 10:38:25 +03:00
Andrew Davison
4a401db4d2
Allow passing version to bootstrap.sh as a cli parameter, to download a specific tag's setup files.
2016-03-30 17:04:57 +01:00
Andrew Davison
90128b90e6
Fix "http directive is not allowed here"
2016-03-30 16:19:14 +01:00
Sam Ehlers
c6794dde64
Fixed error when result doesn't contain series
2016-03-30 10:17:55 -05:00
Sam Ehlers
b100824f94
Fixed error when series doesn't have tags
2016-03-30 10:17:45 -05:00
Sam Ehlers
9ff33ac024
Added support for multiple queries and tags
...
Multiple queries are separated by semicolons and could possibly have
different columns and tags.
https://docs.influxdata.com/influxdb/v0.11/guides/querying_data/#multiple-queries
Tags come in to the result set when you use a GROUP BY statement.
2016-03-30 09:28:24 -05:00
Arik Fraimovich
f6f9dace4d
Merge pull request #960 from getredash/notification
...
When opening a query page, don't automatically execute it
2016-03-30 11:53:11 +03:00
Arik Fraimovich
4cc8dd1df8
When opening a query page, don't automatically execute it
2016-03-30 11:33:55 +03:00
Arik Fraimovich
52902c3f47
Merge pull request #959 from getredash/notification
...
Fix: show browser notification only when page is hidden
2016-03-30 11:04:32 +03:00
Arik Fraimovich
1768778d1d
Fix: show notifications only when page in background
2016-03-30 11:01:11 +03:00
Arik Fraimovich
f5abb47d89
Ask for notification permissions only on query execution
2016-03-30 11:01:01 +03:00
Arik Fraimovich
ffe23fc59c
Split colors palette to base and additional
2016-03-30 10:30:15 +03:00
chiragkparmar@gmail.com
d6a474b9f1
Update color palette to add more pretty colors
...
Inspired from ggplot2 color palette, update ColorPalette to make charts
more pretty.
2016-03-30 10:27:38 +03:00
Arik Fraimovich
c5a763b5f2
Merge pull request #932 from hudl:SkunkUI
...
Adjust the UI on the New Query page
2016-03-30 10:11:37 +03:00
Arik Fraimovich
aab2da2f4c
Move buttons in the query page
2016-03-30 10:06:48 +03:00
Arik Fraimovich
d83dfc977e
Merge pull request #934 from alexanderlz/master
...
Feature: DynamoDB DQL query runner
2016-03-29 22:00:32 +03:00
Seva Gavrilov
5149845eec
Merge branch 'master' of github.com:gseva/redash into dashboard-permissions
2016-03-29 13:29:45 -03:00
Seva Gavrilov
c98cdef8f2
Fixed dashboard restrictions and added tests.
2016-03-29 13:27:35 -03:00
Arik Fraimovich
0f727c2424
Fix typo in requirements.txt.
2016-03-29 16:16:57 +03:00
Arik Fraimovich
982b0efbe8
Fix #946 : update Python redis lib version.
...
Looks like some of the Celery dependencies (which we don't have pinned version for) require newer version of redis lib.
2016-03-29 16:12:24 +03:00
Arik Fraimovich
5e22576c5c
Merge pull request #956 from getredash/fix/impala
...
Fix: adapt Impala query runner for new configuration
2016-03-29 10:38:13 +03:00
Arik Fraimovich
76c2d37d0e
Fix: adapt Impala query runner for new configuration
2016-03-29 10:30:31 +03:00
Seva Gavrilov
5bb1d2757e
Text only widgets are now shown to everybody.
2016-03-28 18:00:37 -03:00
Arik Fraimovich
a66ac849ff
Merge pull request #951 from seanauriti/patch-1
...
Fixes URL for Github Release
2016-03-28 21:35:22 +03:00
Arik Fraimovich
8b4e3226a8
Merge pull request #952 from seanauriti/patch-2
...
Update upgrade.rst
2016-03-28 21:34:49 +03:00
Sean Auriti
00c455fea5
Update upgrade.rst
2016-03-28 13:41:21 -04:00
Sean Auriti
339c91836f
Fixes URL for Github Release
2016-03-28 12:17:52 -04:00
Arik Fraimovich
0dfbe6fc72
Merge pull request #947 from getredash/fix/migration
...
Fix: permissions migration was changing default's group type
2016-03-27 10:32:14 +03:00
Arik Fraimovich
dd836d909d
Migration to make sure the default group has correct type
2016-03-27 10:29:26 +03:00
Arik Fraimovich
6cff6e833a
Fix permissions migration
2016-03-27 10:26:09 +03:00
Arik Fraimovich
5885cd9aef
Merge pull request #940 from kirikiriyamama/improve_security
...
Nginx configuration: hide version
2016-03-25 20:16:37 +02:00
Alex DeBrie
d43d5731ee
Prevent schemas from expanding on search
2016-03-24 17:00:45 +00:00
Andrea Leesley
1701d6cb60
Adjust query info ui.
2016-03-24 16:59:14 +00:00
Andrea Leesley
a9fbb1ccb2
Make query results full width.
2016-03-24 16:59:14 +00:00
Andrea Leesley
c096a133c5
Move the schema container to the right.
...
- Clean up ui on the new query page.
2016-03-24 16:55:49 +00:00
atharva.inamdar
be90353cca
updated query search bar visibility threshold to 500
2016-03-24 16:39:19 +00:00
Alex DeBrie
4bcb705a2a
Hide user subscriptions if email is not enabled
2016-03-24 14:28:47 +00:00
Alex DeBrie
1c04f3cc29
Fix broken tests
2016-03-24 13:55:46 +00:00
Alex DeBrie
ee29f07802
Clean up after rebase
2016-03-24 02:46:59 +00:00
Alex DeBrie
df2067eec1
Make subscription display more clear
2016-03-23 20:57:19 +00:00
Alex DeBrie
601010e44e
Remove email destination from AlertSubscription migration
2016-03-23 20:57:19 +00:00
Alex DeBrie
6c3b713b3d
Add destination subscriptions to Alert page
2016-03-23 20:57:19 +00:00
Alex DeBrie
faf2f7dede
Add user subscriptions back to Alert page
2016-03-23 20:57:19 +00:00
Alex DeBrie
bf880a834b
Move notify to AlertSubscription; adjust email destination to take multiple addresses
2016-03-23 20:57:19 +00:00
Alex DeBrie
ce6ceac5c4
Add hipchat to default destinations
2016-03-23 20:57:19 +00:00
Alex DeBrie
70b4f9d447
Create dynamicForm directive
2016-03-23 20:57:18 +00:00
Alex DeBrie
3838b03417
Clean up tasks.py to remove unneeded code
2016-03-23 20:52:50 +00:00
Alex DeBrie
a11fa2717d
Add migrations of existing alerts
2016-03-23 20:51:10 +00:00
Alex DeBrie
becf315e66
Add hipchat destination
2016-03-23 20:51:10 +00:00
Alex DeBrie
04eb37a7f2
Pass objects instead of IDs to notify method
2016-03-23 20:51:10 +00:00
Alex DeBrie
e91610f4b4
Remove hacky backwards compatibility for notifications
2016-03-23 20:51:10 +00:00
Alex DeBrie
63786c98df
Remove unnecessary code
2016-03-23 20:51:10 +00:00
Alex DeBrie
54f3df6988
Move destination icons to BaseDestination
2016-03-23 20:49:20 +00:00
Alex DeBrie
bb3874e631
Pass subscription user to notify method
2016-03-23 20:49:20 +00:00
Alex DeBrie
eef18510d5
Fix email destination bugs; make email alerts backward compatible
2016-03-23 20:49:20 +00:00
Alex DeBrie
a3c0917d85
Fix AlertSubscription unsubscribe permissions and broken tests
2016-03-23 20:49:20 +00:00
Alex DeBrie
ed7f9ea5f0
Create UI for adding/removing alert subscriptions
2016-03-23 20:49:20 +00:00
Alex DeBrie
82b7146216
Enforce AlertSubscription uniqueness; update AlertSubscription delete handler
2016-03-23 20:49:20 +00:00
Alex DeBrie
3cfbb9855b
Update notify logic in tasks and add destinations for Slack, email, and webhooks
2016-03-23 20:49:20 +00:00
Alex DeBrie
4938f8e013
Add ability to choose destination when creating alert
2016-03-23 20:47:50 +00:00
Alex DeBrie
a43761da39
Require destination_id in POSTs that create a subscription
2016-03-23 20:47:50 +00:00
Alex DeBrie
a3703b2058
Fix broken tests
2016-03-23 20:47:08 +00:00
Alex DeBrie
f2d5d52310
Remove destination groups; use ConfigurationContainer for options; Add user field on NotificationDestination
2016-03-23 20:44:14 +00:00
Alex DeBrie
eed2a41816
Add destination field to AlertSubscription
2016-03-23 20:39:22 +00:00
Alex DeBrie
16c0df4117
Group handlers for Destinations
2016-03-23 20:38:33 +00:00
Alex DeBrie
3844483776
Add destination elements to rd_ui
2016-03-23 20:35:50 +00:00
Alex DeBrie
53f8f1de3b
Fix typo
2016-03-23 20:24:26 +00:00
Alex DeBrie
3ac7f02aea
Add NotificationDestination model and handlers; Add BaseNotification class
2016-03-23 20:24:26 +00:00
Seva Gavrilov
66d1bb1af6
Merge github.com:yanenok/redash into dashboard-permissions
2016-03-23 12:36:11 -03:00
Arik Fraimovich
002396117d
Merge pull request #941 from kasajei/master
...
Fix install command for freetds-devel on amazon_linux
2016-03-23 14:58:47 +02:00
kasajei
eaaeffb8a2
Fix install command for freetds-devel on amazon_linux
2016-03-23 19:06:27 +09:00
Alexander Leibzon
7bb80e375a
code style, name method
2016-03-23 11:44:57 +02:00
kirikiriyamama
3aca06b57f
Remove unnecessary blanks
2016-03-23 11:16:12 +09:00
kirikiriyamama
d2a57cbf62
Improve security
...
Hide nginx version
2016-03-23 11:16:05 +09:00
Arik Fraimovich
70a5ffdbf5
Merge pull request #939 from AntoineAugusti/patch-1
...
Docs: Fix command to restart the web server
2016-03-22 11:03:52 +02:00
Antoine Augusti
a77b2168bd
Fix command to restart the web server
2016-03-22 10:00:14 +01:00
Arik Fraimovich
ba3013a513
Merge pull request #883 from tsibley/remote-user-auth
...
Support for REMOTE_USER authentication
2016-03-22 09:53:13 +02:00
Thomas Sibley
e61a5f3567
Support for remote user authentication via a trusted request header
...
This allows redash to use nearly any custom authentication setup.
Authentication via the REMOTE_USER environment variable is not provided
as it's deemed unlikely to ever be used.
Note that, like existing authentication providers, if you disable
password authentication and the remote user auth is unsuccessful
(probably due to a misconfiguration), then you'll get a redirect
loop of /login ⇄ /remote_user/login.
2016-03-21 17:00:16 -07:00
Arik Fraimovich
624ebbadb9
Retain copy of the event before it's being changed
2016-03-21 14:29:07 +02:00
Arik Fraimovich
2ce6b567ca
Include public.html in frontend build
2016-03-21 13:12:01 +02:00
Arik Fraimovich
70e2b5de23
Merge pull request #938 from getredash/api_key_name
...
Fix: event reporting breaks when using ApiUser.
2016-03-21 12:49:40 +02:00
Arik Fraimovich
c3299ff0e6
Fix: event reporting breaks when using ApiUser.
2016-03-21 12:40:23 +02:00
Arik Fraimovich
0ec8c3e0b9
Add find_by_email method to User model
2016-03-21 10:20:58 +02:00
Arik Fraimovich
fbb81b62d6
Make signed out layout more modular
2016-03-20 10:07:10 +02:00
Arik Fraimovich
ea57175bfa
Merge pull request #935 from getredash/extensibility
...
Feature: allow forwarding events to a webhook
2016-03-17 13:47:50 +02:00
Alexander Leibzon
ad95a5eb5e
requirements rearrangement
2016-03-17 13:10:15 +02:00
Arik Fraimovich
efe1f8370c
Feature: allow forwarding events to a webhook
2016-03-17 13:10:09 +02:00
Alexander Leibzon
2e93af3a21
fixes
2016-03-17 13:09:02 +02:00
Alexander Leibzon
c2f3c55d80
Merge remote-tracking branch 'upstream/master'
2016-03-17 12:51:53 +02:00
Alexander Leibzon
629c16acbe
the dynamoDB SQL connector
2016-03-17 12:51:06 +02:00
Alexander Leibzon
158fc6222d
add requirements
2016-03-17 12:50:39 +02:00
Alexander Leibzon
d88d1a1e61
dynamodb SQL connector
2016-03-17 03:13:44 +02:00
John Katsnelson
f2a1bc7f0e
docker-compose ls should be docker-machine ls
2016-03-16 09:17:09 -07:00
Arik Fraimovich
9e6e913347
Merge pull request #928 from getredash/extensibility
...
Add extension points to override frontend elements
2016-03-15 22:49:45 +02:00
Arik Fraimovich
fde36298ce
Add extension points to override frontend elemnts
2016-03-15 22:46:36 +02:00
Arik Fraimovich
e75c3c6871
Merge pull request #927 from getredash/fix/format
...
Fix: format API not working for non default organization
2016-03-15 15:28:13 +02:00
Arik Fraimovich
82871f606a
Fix: format API not working for non defualt organization
2016-03-15 15:25:52 +02:00
Arik Fraimovich
0fcf232b5e
Move footer to include file
2016-03-15 14:22:12 +02:00
Arik Fraimovich
e0ad3ee309
Merge pull request #925 from getredash/feature/password_reset
...
Feature: password reset & invite links functionality.
2016-03-15 10:59:54 +02:00
Arik Fraimovich
df180a2cb8
Allow admin to reset password instead of resend invite
2016-03-15 10:56:37 +02:00
Arik Fraimovich
0dccaa9ca4
Show warning if email server isn't configured
2016-03-15 10:37:33 +02:00
Arik Fraimovich
5a222beff4
Merge pull request #926 from erans/master
...
Python query runner: make max and min functions available to the scripts
2016-03-15 10:11:05 +02:00
Eran Sandler
86980793ac
made Python's max and min functions available to the scripts
2016-03-15 09:40:03 +02:00
Arik Fraimovich
7a943f62b3
Password reset & invite links functionality.
2016-03-14 18:33:17 +02:00
Arik Fraimovich
56b3675a23
Merge pull request #923 from getredash/sentry_logs
...
Setup Sentry to catch error logs
2016-03-14 11:54:33 +02:00
Arik Fraimovich
7e094f2b2d
Setup Sentry to catch error logs
2016-03-14 11:50:11 +02:00
Arik Fraimovich
079ae09253
Merge pull request #917 from getredash/modular
...
Restructure the Flask app
2016-03-14 11:47:26 +02:00
Arik Fraimovich
9ae503289c
Restructure the Flask app:
...
Tried to untangle the cyclic dependencies, although there are still some of
them left. The main reason for this restructuring/refactoring is to make
the application a bit more extensible, so it's possible to add more routes
to it without touching the core.
2016-03-14 11:45:02 +02:00
Arik Fraimovich
f8a8928a90
Merge pull request #922 from getredash/feature/google_login
...
Allow existing users sign in with Google Apps even if they are not from an allowed domain
2016-03-14 11:30:11 +02:00
Arik Fraimovich
7da1c85315
Allow existing users sign in with Google Apps even if they are not in domain list.
2016-03-14 11:19:23 +02:00
Arik Fraimovich
d8b1131011
Merge pull request #921 from getredash/events
...
Additional events and information
2016-03-14 11:16:29 +02:00
Arik Fraimovich
3bdcd958ca
Track data source and query creation
2016-03-14 10:59:11 +02:00
Arik Fraimovich
4d5d9fc42f
Track user ip and useragent in events
2016-03-14 10:53:41 +02:00
Arik Fraimovich
dd5c1866f2
Merge pull request #920 from getredash/mongo_improvements
...
Feature: MongoDB - add support for $date and relative dates.
2016-03-14 10:16:25 +02:00
Arik Fraimovich
1359d386c6
Change tag to be humanTime
2016-03-14 10:13:38 +02:00
Arik Fraimovich
1aab5b4963
Install Pymongo for tests (temporary solution)
2016-03-13 23:32:54 +02:00
Arik Fraimovich
18d7c33620
Feature: MongoDB - add support for $date and relative dates.
2016-03-13 23:25:24 +02:00
Arik Fraimovich
abde67f2d9
Fix: gulp wasn't building app_layout.html
2016-03-13 22:58:12 +02:00
Arik Fraimovich
e60caf87a6
Merge pull request #919 from alexanderlz/master
...
Fix: schema fetching for Vertica & SQLite was broken (fix #916 )
2016-03-13 22:51:25 +02:00
Alexander Leibzon
3f15ad36a5
fix schema resolution, resolves #916
2016-03-13 16:59:09 +02:00
Arik Fraimovich
2f35c1ea2b
Merge pull request #918 from getredash/query_runners_improvements
...
Several improvements to query runners:
2016-03-13 15:44:04 +02:00
Arik Fraimovich
2d1a28389b
Sort query runners by name
2016-03-13 15:40:51 +02:00
Arik Fraimovich
5cc7eda420
Remove from default list query runners we don't install deps for by default
2016-03-13 15:39:49 +02:00
Arik Fraimovich
32682483cd
Add explicit Redshift query runner
2016-03-13 15:38:09 +02:00
Arik Fraimovich
605a12c34b
PostgreSQL query runner: add timeout for connection
2016-03-13 15:38:00 +02:00
Arik Fraimovich
a6b86c7af2
Friendly name for MSSQL query runner
2016-03-13 15:34:41 +02:00
Arik Fraimovich
741faeef2b
Update PyMongo versino to 3.2.1
2016-03-13 15:33:19 +02:00
Arik Fraimovich
2a745d5d54
Dockerfile: set the path to static assets
2016-03-12 18:37:20 +02:00
Arik Fraimovich
12660c3d51
Remove references to deprecated config
2016-03-12 18:22:53 +02:00
Arik Fraimovich
7c0c189b55
Merge pull request #910 from getredash/feature/better_fullscreen
...
Better full screen support
2016-03-12 18:18:07 +02:00
Arik Fraimovich
b0b9cd92f8
Merge pull request #912 from jkatsnelson/patch-2
...
redash static assets path should be pointed at dist, not app
2016-03-12 18:10:00 +02:00
Arik Fraimovich
27feb676b2
Added X-Forwarded-Proto to nginx config ( closes #884 )
2016-03-11 23:19:28 +02:00
Arik Fraimovich
cd5aec2b63
Fix #848 : change instructions to recreate database instead of running migrations.
2016-03-11 23:13:17 +02:00
Arik Fraimovich
a1a73a1b2f
Merge pull request #888 from toru-takahashi/improve-treasuredata-plugin
...
Improve TreasureData query runner
2016-03-11 22:58:11 +02:00
toru-takahashi
99ed8f8daf
Modify property name and change default behavior
2016-03-12 00:31:54 +09:00
John Katsnelson
6fe5127f20
redash static assets path should be pointed at dist, not app
2016-03-10 11:36:42 -08:00
John Katsnelson
4d06a26038
adds basic docker compose instructions
2016-03-10 11:33:08 -08:00
Arik Fraimovich
841805496e
Better full screen support
2016-03-10 14:05:34 +02:00
Arik Fraimovich
0e7098020c
Merge pull request #909 from getredash/fix908
...
Fix #908 : updating configuration without secrets was failing
2016-03-10 11:58:38 +02:00
Arik Fraimovich
33a5e06eb1
Fix #908 : updating configuration without secrets was failing
2016-03-10 11:56:49 +02:00
Arik Fraimovich
536d7595c5
Merge pull request #906 from getredash/feature/public_dashboard
...
Feature: public dashboards
2016-03-10 11:52:01 +02:00
Arik Fraimovich
6104e5df3c
Remove unused (Heroku related) Procfiles
2016-03-10 11:51:06 +02:00
Arik Fraimovich
b183651e04
Verify user has access to visualization before creating widget
2016-03-10 11:42:04 +02:00
Arik Fraimovich
fad8f2b7be
UI for controlling access to dashboard
2016-03-10 11:28:39 +02:00
Arik Fraimovich
298db14bc1
API to create api key for dashboards
2016-03-10 10:09:26 +02:00
Arik Fraimovich
6bc3970ad5
Make sure user has access to data source when loading query result
2016-03-09 15:15:03 +02:00
Arik Fraimovich
be65582da9
Remove explicit header setting as we do it in the config
2016-03-09 13:43:52 +02:00
Arik Fraimovich
b92fbb489b
Fix call to authenticate_request
2016-03-09 13:41:33 +02:00
Arik Fraimovich
52ad1f1ba1
Public dasboards feature.
2016-03-09 13:38:02 +02:00
Arik Fraimovich
b4b2bb86ee
Merge pull request #902 from jeffwidman/fix-execute-bit
...
Make create_database script executable
2016-03-08 11:36:08 +02:00
Jeff Widman
ed01773d4e
Make create_database script executable
2016-03-08 01:34:31 -08:00
Arik Fraimovich
399b7ad348
Merge pull request #901 from jeffwidman/fix-docker-compose
...
Docker: fix docker-compose env variables in example
2016-03-08 11:25:23 +02:00
Jeff Widman
6393f0225a
No longer specifying google-apps domain from ENV var
...
http://docs.redash.io/en/latest/setup.html#users-google-authentication-setup
2016-03-08 01:21:04 -08:00
Jeff Widman
30066f6d04
Postgres and Redis urls should call out to their own container
2016-03-08 01:20:32 -08:00
Arik Fraimovich
feadf88159
Merge pull request #894 from jeffwidman/patch-4
...
Dockerfile: use redash's docker-hub nginx image
2016-03-08 10:56:21 +02:00
Jeff Widman
8d8605c7d8
volume mapping already handled in dockerfile
2016-03-08 00:53:31 -08:00
Arik Fraimovich
bf55d2f4da
Merge pull request #895 from jeffwidman/patch-5
...
Use redash's docker-hub redash image
2016-03-08 08:32:03 +02:00
Arik Fraimovich
aec5f78e7b
Merge pull request #893 from jeffwidman/patch-3
...
Fix YAML syntax error due to missing spaces
2016-03-08 08:27:44 +02:00
Jeff Widman
2a1354e70b
Use redash's docker-hub redash image
2016-03-07 15:44:42 -08:00
Jeff Widman
2365f25e11
Use redash's docker-hub nginx image
2016-03-07 15:16:49 -08:00
Jeff Widman
8d10e9696e
Fix YAML syntax error due to missing spaces
...
Environment variables weren't being parsed properly due to missing spaces.
2016-03-07 14:50:12 -08:00
toru-takahashi
6065545352
Fix case sensitive issue for query type
2016-03-08 02:13:52 +09:00
toru-takahashi
a98ead9030
Add option to enable Auto Get Schema
2016-03-08 02:05:05 +09:00
toru-takahashi
f07ed1df31
Update td-client to v0.4.1
2016-03-07 22:51:13 +09:00
Arik Fraimovich
a8ece8641a
Bump version.
2016-03-06 12:13:19 +02:00
Arik Fraimovich
bac4025eff
Merge pull request #882 from tsibley/new-data-source-via-cli
...
CLI: Restore ability to pass JSON options string for a new data source
2016-03-06 12:01:23 +02:00
Thomas Sibley
d07bf7e0aa
CLI: Restore ability to pass JSON options string for a new data source
...
Commit "Encapsulate data source/query runner configuration in an
object." (ed99b84 ) accidentally removed that functionality by not
inflating the passed in JSON into a ConfigurationContainer object.
This led to errors of the form if you passed -o:
Traceback (most recent call last):
...
File "/opt/redash/redash-git/redash/models.py", line 321, in db_value
return value.to_json()
AttributeError: 'unicode' object has no attribute 'to_json'
2016-03-04 09:22:42 -08:00
Yana Manukhina
207dac693c
Fix: show empty dashboards to their creators
2016-03-02 20:44:38 +03:00
Arik Fraimovich
8f937b7a35
Merge pull request #850 from toyama0919/master
...
Kibana: add support for limiting # of results returned
2016-03-01 23:37:24 +02:00
Arik Fraimovich
8747d0e724
Merge pull request #872 from erans/master
...
MongoDB: support for count queries
2016-03-01 23:36:24 +02:00
Yana Manukhina
866f378c88
List only dashboards available to current user based on user's groups
2016-03-01 20:46:36 +03:00
Arik Fraimovich
4a280eea29
Merge pull request #877 from ink-adavison/ink-adavison-ubuntubasepathfix
...
Correct Ubuntu Bootstrap.sh to a working Base URL
2016-03-01 13:36:25 +02:00
ink-adavison
194e9f4d7e
Correct Ubuntu Bootstrap.sh to a working Base URL
...
The redash/docker/setup/... path is returning 404, but redash/master/setup/... works
2016-03-01 11:17:11 +00:00
Arik Fraimovich
4c5d2f14bf
Merge pull request #866 from jeffwidman/fix_end_of_file_spacing
...
Fix whitespace issues
2016-02-29 22:39:15 +02:00
Jeff Widman
b86cf6ea4d
Check should be 'x not in y' rather than 'not x in y'
2016-02-29 12:34:50 -08:00
Jeff Widman
dd72faaa77
Fix docstring spacing per PEP 257
2016-02-29 12:34:50 -08:00
Jeff Widman
c1b33939d0
A few misc whitespaces fixes
2016-02-29 12:34:50 -08:00
Jeff Widman
1aad95986b
Add spaces around arithmetic operators per PEP 8
2016-02-29 12:34:50 -08:00
Jeff Widman
80209defc9
Remove extraneous spaces at end of lines
2016-02-29 12:34:46 -08:00
Jeff Widman
c198d22691
Format files to end in a single newline per PEP 8
2016-02-29 12:00:03 -08:00
Arik Fraimovich
43ac5600e5
Merge pull request #873 from getredash/feature/print_layout
...
Feature: print layout for dashboards
2016-02-29 21:11:41 +02:00
Arik Fraimovich
863365a412
Feature: print layout for dashboards
2016-02-29 21:07:07 +02:00
Eran Sandler
50c6bca421
added support for count queries
2016-02-29 21:05:50 +02:00
Arik Fraimovich
30b97e37f0
Merge pull request #854 from erans/master
...
Minors fixes for MongoDB and Python query runners
2016-02-29 21:04:14 +02:00
Eran Sandler
7f96de8b22
updated reverted change
2016-02-29 21:02:05 +02:00
Arik Fraimovich
dec30549f6
Merge pull request #867 from jeffwidman/fix_weird_indenting
...
Fix non-standard indentation to conventional four spaces
2016-02-29 15:25:11 +02:00
Arik Fraimovich
1a9059f1cc
Merge pull request #865 from jeffwidman/fix_flask_ext
...
Replace deprecated flask.ext.* with flask_*
2016-02-29 15:22:13 +02:00
Jeff Widman
5208abd072
Make lines indented by four spaces instead of three
2016-02-29 01:58:19 -08:00
Jeff Widman
0ccbb24b3f
Fix non-standard indentation to conventional four spaces
...
Not sure what happened in this section of code, but it was incorrectly indented by two spaces rather than four in several places.
2016-02-29 01:09:43 -08:00
Jeff Widman
09ccec59f5
Replace deprecated flask.ext.* with flask_*
...
Importing flask extensions using flask.ext.* is deprecated in favor of flask_*
For background, see: https://github.com/mitsuhiko/flask/issues/1135
2016-02-29 00:39:50 -08:00
Arik Fraimovich
8688b1c432
Merge pull request #864 from getredash/fix/datasource_show
...
Fix: data source loaded without properties
2016-02-28 18:56:10 +02:00
Arik Fraimovich
d06d1ada28
Fix: data source loaded without properties
2016-02-28 18:54:20 +02:00
Arik Fraimovich
3328de3462
Merge pull request #863 from getredash/fix/filters_datetime
...
Fix: properly show date/time in filters
2016-02-28 11:06:02 +02:00
Arik Fraimovich
84f71d1837
Fix: properly show date/time in filters
2016-02-28 11:04:08 +02:00
Arik Fraimovich
f219d20299
Merge pull request #857 from jeffwidman/patch-1
...
Fix typo: completly => completely
2016-02-27 21:55:56 +02:00
Eran Sandler
bdd2e0c418
fixed the query runner actually running code
2016-02-26 09:59:49 +02:00
Jeff Widman
d0cdf53b33
Fix typo: completly => completely
2016-02-25 18:00:15 -08:00
Arik Fraimovich
27faf8f88a
Merge pull request #849 from sortable/presto-column-names
...
Fix: Presto - deduplicate column names
2016-02-25 21:39:29 +02:00
Arik Fraimovich
caf0734bac
Merge pull request #855 from sreynen/patch-2
...
Docs: document settings.py
2016-02-25 21:37:57 +02:00
Eran Sandler
5f501b9df6
added JSON serialization support for internal bson timestamp which sometimes gets return in newer pymongo versions
2016-02-25 09:25:26 +02:00
Scott Reynen
caaf180d13
Create settings.rst
...
This is mostly just a template so far, as I'm only able to describe the settings I already understand, which isn't many.
2016-02-24 16:28:24 -07:00
Eran Sandler
68220a0d67
Added 'additionalModulesPaths' to the config allowing import modules from an external verified path. You'd still need to whitelist the module name in 'allowedImportModules'
2016-02-25 00:35:00 +02:00
Colin Dellow
0ebb53994b
presto: use the disambiguated column name
2016-02-24 15:40:22 -05:00
Colin Dellow
177b62ea40
presto: use existing disambiguation path
2016-02-24 15:23:50 -05:00
Arik Fraimovich
a26da3aed3
Merge pull request #846 from sreynen/patch-1
...
Add link to dev environment documentation.
2016-02-24 22:07:35 +02:00
Arik Fraimovich
3a27955d24
Merge pull request #853 from getredash/arikfr-patch-1
...
Fix #851 : embed doesn't load due to missing module.
2016-02-24 21:59:29 +02:00
Arik Fraimovich
86f2a0172f
Fix #851 : embed doesn't load due to missing module.
2016-02-24 21:53:12 +02:00
Arik Fraimovich
db59b34bda
Merge pull request #852 from hudl/ConfigurationFixes
...
Small fixes for new ConfigurationContainer use
2016-02-24 21:49:57 +02:00
Alex DeBrie
51e92e0c71
Small fixes for new ConfigurationContainer use
2016-02-24 17:52:49 +00:00
toyama0919
246ce10a7f
fix bug: Kibana not working limit, all select results.
2016-02-24 13:02:28 +09:00
Colin Dellow
cde54cec8b
presto: don't merge columns with the same name
...
Fixes #847
2016-02-23 18:40:49 -05:00
Scott Reynen
21dc36b506
Add link to dev environment documentation.
2016-02-23 14:16:47 -07:00
Arik Fraimovich
d74442184e
Merge pull request #844 from getredash/kms
...
Encapsulate data sources configuration logic in an object
2016-02-23 15:06:29 +02:00
Arik Fraimovich
db3e689e68
Update query runners for new config class
2016-02-23 15:02:49 +02:00
Arik Fraimovich
491e2e10d1
Fix test
2016-02-23 15:02:49 +02:00
Arik Fraimovich
ed99b8452c
Encapsulate data source/query runner configuration in an object.
...
This is a step towards adding more complex logic in configuration
handling, like encryption of secrets.
2016-02-23 15:02:49 +02:00
Arik Fraimovich
f1e90fde31
Merge pull request #843 from getredash/design/download_links
...
Fix: dashboard query results links broken
2016-02-23 11:35:06 +02:00
Arik Fraimovich
954e63a41f
Fix: dashboard query results links broken
2016-02-23 11:33:13 +02:00
Arik Fraimovich
6ec4c4c19c
Merge pull request #840 from getredash/design/download_links
...
Improve layout of download links
2016-02-22 11:53:43 +02:00
Arik Fraimovich
553c6ac8d7
Improve layout of download links
2016-02-22 11:50:42 +02:00
Arik Fraimovich
b462869be7
Merge pull request #833 from toyama0919/feature/download-excel-from-dashboard
...
Feature: download Excel file link from dashboard.
2016-02-22 10:55:20 +02:00
Arik Fraimovich
3a5d59cf69
Merge pull request #839 from getredash/feature/api_params
...
Feature: add API to trigger query refresh and support for parameters.
2016-02-22 10:43:42 +02:00
Arik Fraimovich
c12b059d10
Add API to trigger query refresh and support for parameters.
2016-02-22 10:40:46 +02:00
Arik Fraimovich
e705ede3b7
Merge pull request #838 from erans/master
...
Python query runner -- added access to sorted and reversed functions
2016-02-21 13:03:05 +02:00
Eran Sandler
3b5aafa8e1
Added access to sorted and reversed functions
2016-02-21 11:13:46 +02:00
Arik Fraimovich
2440a83e46
Merge pull request #835 from benmanns/ubuntu-bootstrap-update-reorder
...
Ubuntu bootstrap script - move update before upgrade
2016-02-18 10:56:00 +02:00
Benjamin Manns
2b5a36cb3f
Move update before upgrade
...
Running update before upgrade will fetch the latest sources, so we
can be sure that the upgrades will bring the box to the latest
versions of everything. Otherwise, this is often a no-op because
the box's sources will be cached at time of generation, meaning
there is nothing to upgrade.
2016-02-17 16:11:16 -05:00
toyama0919
78511fd0ce
add feature, Excel download from dashboard.
2016-02-17 14:48:23 +09:00
Arik Fraimovich
a50ae19236
Merge pull request #823 from mobiledefense/add-widescreen-toggle
...
Feature: Button toggle to display dashboard in at full screen width
2016-02-16 10:23:16 +02:00
Arik Fraimovich
65f81c4d93
Merge pull request #831 from ninneko/801-download-excel
...
Feature: download results in Excel (XSLX) format (closes #801 )
2016-02-16 09:19:53 +02:00
yohei.naruse
0afca7321a
#801 fix test case.
...
schedule = "{:02d}:00".format(now.hour - 3) maybe be negative value when now.hour < 3.
I've fixed it.
2016-02-16 13:16:31 +09:00
yohei.naruse
32824f7575
apply reviews
2016-02-16 10:56:06 +09:00
yohei.naruse
2f16c8ae5f
#801 Download DataSheets as Excel file
2016-02-15 23:47:31 +09:00
Arik Fraimovich
868263315b
Merge pull request #829 from getredash/fix/embed
...
Fix: Plot.ly was given wrong timestamp
2016-02-14 20:40:43 +02:00
Arik Fraimovich
1ceddc9e91
Fix: we were sending wrong timestamp to Plotly
2016-02-14 20:38:32 +02:00
Arik Fraimovich
a96d135a4f
Merge pull request #828 from getredash/fix/embed
...
Fix #797 : user redirected to homepage when changing permission type
2016-02-14 20:11:51 +02:00
Arik Fraimovich
cec4e71d99
Fix #797 : user redirected to homepage when changing permission type
2016-02-14 16:01:36 +02:00
Arik Fraimovich
0730ed8ed4
Merge pull request #827 from getredash/fix/embed
...
Feature: pivot tables are now regular visualizations that can be *saved*
2016-02-14 15:21:45 +02:00
Arik Fraimovich
e3420acd4b
Feature: pivots are now regular visualizations that can be *saved*.
2016-02-14 15:17:52 +02:00
Arik Fraimovich
d21e2a79cc
Close #772 : upgrade to latest PivotTable.js lib
2016-02-14 14:40:01 +02:00
Arik Fraimovich
d1cf376ab3
Merge pull request #826 from getredash/fix/embed
...
Fix #802 : switching to/from query source view resets chart colors
2016-02-14 14:13:24 +02:00
Arik Fraimovich
0ea0ba3fbe
Fix #802 : switching to/from query source view resets chart colors
2016-02-14 13:52:53 +02:00
Arik Fraimovich
0c93fe12ba
Amend jshint settings
2016-02-14 13:51:32 +02:00
Arik Fraimovich
dad7b22cba
Merge pull request #825 from getredash/fix/embed
...
Fix: sorting X values in charts had no effect
2016-02-14 13:26:32 +02:00
Arik Fraimovich
19766cf4ce
Fix: sorting X values had no effect.
2016-02-14 13:24:14 +02:00
Arik Fraimovich
5e2727cfdf
Use unminified d3.js in development.
2016-02-14 12:25:16 +02:00
Arik Fraimovich
3da326009b
Bump Plot.ly version to a more recent one.
2016-02-14 12:24:56 +02:00
Matt Sochor
240739a445
Add dashboard toggle to display dashboard in at full screen width
2016-02-11 16:39:40 -05:00
Arik Fraimovich
253c4fd0a6
Merge pull request #821 from getredash/fix/embed
...
Fix embed URL & move logic into a directive
2016-02-10 15:41:05 +02:00
Arik Fraimovich
cda1068ff1
Show logo in embdes
2016-02-10 15:39:02 +02:00
Arik Fraimovich
eb324a4067
Limit the amount of information we return for embeds
2016-02-10 15:34:48 +02:00
Arik Fraimovich
8cf7314dc0
Fix embed URL & move logic into a directive
2016-02-10 15:34:31 +02:00
Arik Fraimovich
32b928d247
BSD 2-Clause
...
Updated copyright holder & removed last paragraph that doesn't belong to BSD-2 clause.
2016-02-10 11:32:00 +02:00
Arik Fraimovich
a5168ecc80
Update bootstrap.sh to more recent release
2016-02-09 15:18:58 +02:00
Arik Fraimovich
262ebb3bf1
Merge pull request #820 from getredash/gulp
...
Switch to Gulp from Grunt for faster builds
2016-02-09 15:15:38 +02:00
Arik Fraimovich
3e58d8798a
Copy additional files on gulp build
2016-02-09 15:09:31 +02:00
Arik Fraimovich
bab536aaea
Support for embeds in multi-org
2016-02-09 14:59:38 +02:00
Arik Fraimovich
bab4080430
Switch to Gulp from Grunt
2016-02-09 14:59:19 +02:00
Arik Fraimovich
a894f035dd
Merge pull request #815 from getredash/fix/cli
...
Fix CLI issues with recent version
2016-02-09 00:56:16 +02:00
Arik Fraimovich
d4a83e29d4
Fix: delete data source CLI failing when data source has references
2016-02-09 00:03:35 +02:00
Arik Fraimovich
ded4761c8a
If start_time not found skip metric collections (probably not running in real request context)
2016-02-09 00:01:44 +02:00
Arik Fraimovich
3fa143cfb1
Merge pull request #813 from ojarva/shellcheck-fixes
...
Fix shellcheck issues in bootstrap.sh scripts
2016-02-07 08:49:06 +02:00
Olli Jarva
de01184bbd
Small shellcheck updates
...
Fix shellcheck complaints. These changes are not particularly important,
but spotting new/real issues is easier when checker output is empty by
default.
2016-02-06 16:42:24 +02:00
Arik Fraimovich
635bcc3e9f
Pull latest docker image before building
2016-02-03 11:06:09 +02:00
Arik Fraimovich
b6b8daced6
Update Circle: build deps on master branch
2016-02-03 10:20:07 +02:00
Arik Fraimovich
b222f85d88
Add freetds-dev to Dockerfile
2016-02-03 09:06:01 +02:00
Arik Fraimovich
27c3fee345
Merge pull request #808 from joeharris76/master
...
Feature: Microsoft SQL Server query runner
2016-02-03 08:48:05 +02:00
Joe Harris
8c48ec5508
Cleanup of issues with the SQL Server feature PR
2016-02-02 16:18:21 -05:00
Joe Harris
cc176f5cba
Add error handling to the pymssql import
2016-02-02 09:24:58 -05:00
Joe Harris
3a970a00c4
Add Microsoft SQL Server as a data source
...
Uses `pymssql` which in turn uses `FreeTDS`. Note that the data type
support is somewhat limited (see “datasources” page in docs).
2016-02-01 16:53:52 -05:00
Joe Harris
3b395a05b8
Merge pull request #1 from getredash/master
...
Pull from origin
2016-01-29 15:55:50 -05:00
Arik Fraimovich
9fa249a519
Update screenshots.
2016-01-27 12:55:52 +02:00
Arik Fraimovich
4e9b60ac82
Merge pull request #794 from getredash/hotfixes
...
Fixes for #792 , #785 , #733 and additional logging for execute_query
2016-01-24 12:03:34 +02:00
Arik Fraimovich
7a7e5be166
Fix #733 : update migrations to work with new code
2016-01-24 11:57:05 +02:00
Arik Fraimovich
a1eec8490a
Add more logging to execute_query
2016-01-24 11:32:44 +02:00
Arik Fraimovich
197bbde788
Fix #785 : remove admin check box and direct users to use the groups
...
admin.
2016-01-24 11:08:02 +02:00
Arik Fraimovich
fed9d80fdb
Fix #792 : can't grant admin with CLI
2016-01-24 10:58:05 +02:00
Arik Fraimovich
78ba6f2739
Merge pull request #781 from woei66/master
...
Amazon Linux bootstrap script: check nginx default directory
2016-01-23 16:52:39 +02:00
Arik Fraimovich
cbb84ae3d3
Merge pull request #786 from JohnConnell/patch-1
...
Docs: instructions for compressed backup.
2016-01-23 16:51:21 +02:00
Arik Fraimovich
8120158119
Merge pull request #782 from shyamgopal/bug-768
...
Fix: Empty cells in google sheets displayed as datetime values #768
2016-01-23 16:50:44 +02:00
Arik Fraimovich
bd7b60d859
Merge pull request #784 from bobrik/fix-isoformat
...
Fix json serialization for datetime.timedelta, closes #783
2016-01-23 16:49:46 +02:00
Arik Fraimovich
80c03a5900
Merge pull request #787 from JohnConnell/patch-2
...
Docs: Updated links to Google's documentation about creating a service account
2016-01-23 16:46:04 +02:00
Arik Fraimovich
77e2d5db9b
Merge pull request #790 from tknzk/fix_typo_on_doc
...
Docs: fix a typo in backup instructions
2016-01-23 16:44:35 +02:00
tknzk
7174dd856e
fix a typo.
2016-01-22 17:45:40 +09:00
John Connell
6b5efc9e16
Update datasources.rst
...
Updated links to Google's documentation about creating a service account.
2016-01-21 13:05:02 -07:00
John Connell
4f95205795
Update maintenance.rst
...
Added: How to create a compressed backup.
2016-01-21 12:51:13 -07:00
Ivan Babrou
e26ea40c9b
Fix json serialization for datetime.timedelta, closes #783
2016-01-21 14:37:36 +00:00
Arik Fraimovich
24137e87fd
Update cloud images references
2016-01-21 14:47:51 +02:00
Shyamgopal Kundapurkar
221ec3a2a1
Fix of #768
2016-01-21 16:35:03 +05:30
David Lin
7081e25fa3
add -y to expect package, check nginx default directory and install to the right directory
2016-01-21 06:37:12 +00:00
Arik Fraimovich
8d126331cf
Fix #778 : update docs with correct CLI command.
2016-01-20 22:19:43 +02:00
Arik Fraimovich
33ffb2158b
Update __init__.py
2016-01-20 10:21:45 +02:00
Arik Fraimovich
76ee88608d
Merge pull request #777 from getredash/hotfix
...
Treat query errors as expected errors
2016-01-20 10:21:08 +02:00
Arik Fraimovich
a1ac289fb4
Treat query errors as expected errors
2016-01-20 10:17:10 +02:00
Arik Fraimovich
4f0b18b44e
Merge pull request #776 from getredash/hotfix
...
Friendlier error messages for BigQuery query errors
2016-01-20 10:16:36 +02:00
Arik Fraimovich
44595cc930
Friendlier error messages for BigQuery
2016-01-20 10:01:08 +02:00
Arik Fraimovich
fcd478c93c
Merge pull request #774 from getredash/hotfix
...
Fix: don't fail refresh_schema if one of the refresh ops fails
2016-01-19 18:44:47 +02:00
Arik Fraimovich
9971496401
Fix: don't fail refresh_schema if one of the refresh ops fails
2016-01-19 18:37:47 +02:00
Arik Fraimovich
8473783b0b
Merge pull request #773 from getredash/hotfix
...
0.9.0 Hot Fixes
2016-01-19 18:34:19 +02:00
Arik Fraimovich
a9ae3c9ea3
Don't use DataSource.all in old migrations
2016-01-19 18:31:08 +02:00
Arik Fraimovich
505166455d
Fix: show each data source only once
2016-01-19 18:26:51 +02:00
Arik Fraimovich
c6a06bd40a
Remove debugging text
2016-01-19 18:01:35 +02:00
Arik Fraimovich
ed9e27019f
Remove references to activity_log table
2016-01-19 18:00:42 +02:00
Arik Fraimovich
5b1abaaa52
Bump version.
2016-01-18 10:14:15 +02:00
Arik Fraimovich
c1da2579a3
Test for embed handler
2016-01-16 21:25:19 +02:00
Arik Fraimovich
1b36a62b91
Add conversion to int for Organization
2016-01-16 21:25:09 +02:00
Arik Fraimovich
ed2e06a787
Fix: counter visualization doesn't update when editing
2016-01-16 21:17:23 +02:00
Arik Fraimovich
47d3faae92
Fix: dashboard editor doesn't include last added widget
2016-01-16 21:11:25 +02:00
Olga Kogan
ff49321056
Update supervisor configs to recycle Gunicorn/Celery workers
...
This helps with avoiding memory leaks.
2016-01-15 17:57:09 +02:00
Arik Fraimovich
ee98b5a5c6
Improve the migration for unique data source name
2016-01-15 17:53:24 +02:00
Arik Fraimovich
245a4b5a3f
Merge pull request #765 from nakechi/master
...
Feature: support HipChat Server
2016-01-15 17:30:48 +02:00
Arik Fraimovich
0546528b2c
Merge pull request #762 from JohnConnell/master
...
Fix: typos and formatting issues in letsencrypt SSL cert documentation
2016-01-15 17:29:46 +02:00
Arik Fraimovich
d8d925c297
Merge pull request #764 from JohnConnell/master
...
Documentation: How to backup & restore redash db
2016-01-15 17:28:43 +02:00
nao-akechi
fac0af548b
Feature: support HipChat Server
2016-01-15 18:36:07 +09:00
John Connell
5deca9bd60
Documentation: How to backup & restore redash db
2016-01-14 19:48:04 -07:00
John Connell
b1e0620f85
Update backup_restore.rst
2016-01-14 18:50:20 -07:00
John Connell
0a35f70a27
Update backup_restore.rst
2016-01-14 18:49:13 -07:00
John Connell
bd1551fb9d
Rename backup_restore to backup_restore.rst
2016-01-14 18:47:18 -07:00
John Connell
f6a8a9975f
How To: Backup re:dash database & restore to different server
...
Short guide explaining how to backup your re:dash database and restore it on a different server.
2016-01-14 18:46:31 -07:00
John Connell
179649d422
Update letsencrypt.rst
2016-01-14 01:32:10 -07:00
John Connell
1c584f65ba
Update letsencrypt.rst
...
Fix various typos and formatting issues, including the commands for step 5 not being displayed.
2016-01-14 01:30:56 -07:00
John Connell
b62c75ac66
Update letsencrypt.rst
...
Fix two small typos. The first prevented the commands for step 5 from appearing and the second was a typo in the SSLLabs test URL.
2016-01-14 01:19:26 -07:00
Arik Fraimovich
f4096c0356
Update README.md
2016-01-14 09:56:17 +02:00
Arik Fraimovich
419fe389a4
Update README.md
2016-01-14 09:56:07 +02:00
Arik Fraimovich
031cb63f67
Rename peronal.html -> index.html
2016-01-13 10:03:52 +02:00
Arik Fraimovich
a62c5b5b24
Merge pull request #759 from getredash/fix/new_ds
...
Remove unused client side code
2016-01-13 10:02:25 +02:00
Arik Fraimovich
3befab7244
Remove client side performance collection
2016-01-13 10:00:06 +02:00
Arik Fraimovich
8c006238c5
Remove old IndexCtrl
2016-01-13 09:56:58 +02:00
Arik Fraimovich
03d897886e
Merge pull request #758 from getredash/fix/new_ds
...
Fix: update dashboard after layout change
2016-01-12 21:43:10 +02:00
Arik Fraimovich
ebe032070e
Fix: update dashboard after layout change
2016-01-12 16:25:10 +02:00
Arik Fraimovich
4a29f41ab3
Merge pull request #757 from getredash/fix/new_ds
...
Fix: infinite digest loop in coutner visualization
2016-01-12 15:14:05 +02:00
Arik Fraimovich
566cda359e
Fix: infinite digest loop in coutner visualization
2016-01-12 15:13:23 +02:00
Arik Fraimovich
5a1736ad31
Merge pull request #756 from getredash/fix/new_ds
...
Fix: new data source should be assigned to default group
2016-01-12 15:13:04 +02:00
Arik Fraimovich
eed3d50372
create data source with default group specific method
2016-01-12 15:10:03 +02:00
Arik Fraimovich
901cf6f017
Fix: new data source should be assigned to default group?
2016-01-12 13:39:54 +02:00
Arik Fraimovich
83458ab25e
increase opacity of overlay
2016-01-12 12:08:02 +02:00
Arik Fraimovich
9ab4e0e888
Merge pull request #754 from getredash/proxy_fix
...
Make groups listing only available for users with list_users permission
2016-01-12 09:22:06 +02:00
Arik Fraimovich
89ac67555e
Make groups listing only available for users with list_users permission
2016-01-11 15:46:41 +02:00
Arik Fraimovich
4d7e58c8d7
Merge pull request #753 from getredash/proxy_fix
...
Show meaningful message when no data sources defined yet
2016-01-11 12:48:29 +02:00
Arik Fraimovich
14c4203593
Show meaningful message when no data sources defined yet
2016-01-11 12:47:17 +02:00
Arik Fraimovich
ccec964c24
Merge pull request #752 from getredash/proxy_fix
...
Fix: creating new user w/ Google Auth was broken.
2016-01-11 12:46:53 +02:00
Arik Fraimovich
d65e1a799a
Fix: creating new user w/ Google Auth was broken.
2016-01-11 12:46:19 +02:00
Arik Fraimovich
451f216c31
Merge pull request #750 from JohnConnell/master
...
Docs: how to setup SSL using Let's Encrypt SSL certs
2016-01-11 12:07:21 +02:00
Arik Fraimovich
270afad6cf
Merge pull request #751 from getredash/proxy_fix
...
Feature: ability to set # of proxies for the ProxyFix & fix the unique data source name migration
2016-01-11 12:07:14 +02:00
Arik Fraimovich
ccae8bcc69
Add option to override # of proxies
2016-01-11 12:02:18 +02:00
Arik Fraimovich
07f96a22af
Update data source unique name migration to support another name of constraint
2016-01-11 11:30:26 +02:00
John Connell
3f6cf95307
Update letsencrypt.rst
2016-01-10 14:41:32 -07:00
John Connell
6f2d5090e6
Add documentation on using Let's Encrypt SSL certs
2016-01-09 16:00:09 -07:00
Arik Fraimovich
9cedb3bb66
Merge pull request #749 from getredash/unique_ds
...
Data sources should have unique names per organization
2016-01-09 22:37:40 +02:00
Arik Fraimovich
9751d3584b
Remove forgotten console.log
2016-01-08 20:45:13 +02:00
Arik Fraimovich
13ced12cc9
Change data source index to be (org, name)
2016-01-08 20:44:11 +02:00
Arik Fraimovich
fdd60b364f
Merge pull request #746 from Xangis/master
...
Feature: add an option to update a query every 30 days
2016-01-07 21:47:14 +02:00
Arik Fraimovich
dde63d1e96
Fix #745 : when creating user from CLI, use default org.
2016-01-07 21:46:46 +02:00
=
174f7c0b1a
Add an option to update a query every 30 days for use with things like monthly reports.
2016-01-07 08:24:34 -08:00
Arik Fraimovich
887d7179c4
Merge pull request #744 from getredash/feature/permissions
...
Run make deps only if rd_ui/app exists
2016-01-07 14:56:52 +02:00
Arik Fraimovich
fc84cf39fc
Run make deps only if rd_ui/app exists
2016-01-07 14:56:28 +02:00
Arik Fraimovich
849c11b5f4
Merge pull request #743 from getredash/feature/permissions
...
Explicitly add httplib2 to requirements
2016-01-07 14:20:07 +02:00
Arik Fraimovich
66b4fe8e32
Explicitly add httplib2 to requirements
2016-01-07 14:18:12 +02:00
Arik Fraimovich
9d1823426c
Fix SSLify skip list.
2016-01-07 13:09:41 +02:00
Arik Fraimovich
c004274108
Merge pull request #742 from getredash/feature/permissions
...
Add option to enforce HTTPs at the "Flask level"
2016-01-07 12:25:01 +02:00
Arik Fraimovich
0b89ee4653
Add option to enforce HTTPs at the Flask level
2016-01-07 12:22:32 +02:00
Arik Fraimovich
caff2e5caa
Fix logo URL for multi-org
2016-01-07 12:03:28 +02:00
Arik Fraimovich
aa98f22a04
Merge pull request #741 from getredash/feature/permissions
...
Upgrade gunicorn version to latest.
2016-01-07 11:55:52 +02:00
Arik Fraimovich
db8915f154
Upgrade gunicorn
2016-01-07 11:52:50 +02:00
Arik Fraimovich
ce9a5c05fb
Merge pull request #740 from getredash/feature/permissions
...
Fix #738 : alert code was referencing non existing attribute
2016-01-07 11:48:27 +02:00
Arik Fraimovich
246725515d
Fix #738 : alert code was referencing non existing attribute
2016-01-07 11:46:35 +02:00
Arik Fraimovich
be4c59e73d
Merge pull request #739 from toyama0919/master
...
Fix: Alert: when Alert.name is multibyte character, occur UnicodeEncodeError
2016-01-07 11:44:58 +02:00
toyama0919
40e047a47c
Fix: Alert: when Alert.name is multibyte character, occur UnicodeEncodeError.
2016-01-07 11:03:33 +09:00
Arik Fraimovich
048ef7234c
Merge pull request #737 from getredash/feature/permissions
...
Fix: user created without groups (+2 more)
2016-01-07 00:38:27 +02:00
Arik Fraimovich
bd29bdbb2e
Fix: datasource refresh schemas was broken
2016-01-07 00:36:09 +02:00
Arik Fraimovich
13252bb0af
Fix #736 : user missing groups & events missing ord_id
2016-01-07 00:34:23 +02:00
Arik Fraimovich
07a709d59a
Upgrade Sentry client to support new flask-login
2016-01-07 00:24:34 +02:00
Arik Fraimovich
55f80695b0
Merge pull request #707 from ryotarai/bower-in-dockerfile
...
Build dependencies during building Docker image
2016-01-06 23:11:14 +02:00
Arik Fraimovich
991512bc17
Merge pull request #735 from getredash/feature/permissions
...
Fix migration issue and CLI
2016-01-06 22:28:33 +02:00
Arik Fraimovich
5e58818043
Fix CLI to work with organizations
2016-01-06 15:14:09 +02:00
Arik Fraimovich
224998c62a
Fix #733 : merge migration #20 into #18 , to avoid errors.
2016-01-06 14:59:18 +02:00
Arik Fraimovich
9a31077a99
Merge pull request #732 from getredash/feature/permissions
...
Fix #730 : migration failing when no Google Apps domain set
2016-01-05 12:48:08 +02:00
Arik Fraimovich
ab39ed2898
Fix #730 : migration failing when no Google Apps domain set
2016-01-05 12:46:00 +02:00
Arik Fraimovich
cb4fbf81a2
Merge pull request #724 from getredash/feature/permissions
...
Feature: new permission model
2016-01-04 17:27:01 +02:00
Arik Fraimovich
7c6b95e71d
Change multi-org implementation:
...
To avoid complications with how Google Auth works, when enabling organization
multi-tenancy on a single instance, each organization becomes a "sub folder"
instead of a sub-domain.
2016-01-04 00:03:49 +02:00
Arik Fraimovich
f7b57fa580
Feature: new permissions system
...
This is one huge change for the permissions system and related:
* (Backward incompatible:) Remove the table based permissions in favour of the new model.
* Manage permission to view or query datasources based on groups.
* Add the concept of Organization. It's irrelevant for most deployments, but allows for
multi-tenant support in re:dash.
* Replace ActivityLog with Event based rows (old data in activity_log table is retained).
* Enforce permissions on the server-side. There were some permissions that were only enforced
on the client side. This is no more. All permissions are enforced by the server.
* Added new permission: 'super-admin' to access the status and Flask-Admin interface.
* Make sure that html is never cached by the browser - this is to make sure that the browser
will always ask for the new Javascript/CSS resources (if such are available).
2015-12-31 10:43:33 +02:00
Arik Fraimovich
6e32f5b9f2
Merge pull request #726 from getredash/fix/lazy_load_oauth_app
...
Fix: lazy load the oauth app
2015-12-28 15:15:43 +02:00
Arik Fraimovich
1a748c2141
Fix expected path in test
2015-12-28 15:10:42 +02:00
Arik Fraimovich
99ed076c0c
To speed up builds, install npm & pack only on master branch.
2015-12-28 15:06:12 +02:00
Arik Fraimovich
8a7dd3b46a
Fix: lazy load the oauth app
2015-12-28 14:52:33 +02:00
Arik Fraimovich
6e28f949fb
Merge pull request #725 from akariv/master
...
Fix: Google OAuth - support for next
2015-12-28 12:07:34 +02:00
Adam Kariv
a9ccfb8b42
Fix next for Google oauth
2015-12-27 13:48:59 +02:00
Arik Fraimovich
1aba777b61
Change output path for junit.xml.
2015-12-27 10:12:19 +02:00
Arik Fraimovich
1894df49fa
Use XUnit reports in CircleCI tests.
2015-12-27 09:46:45 +02:00
Arik Fraimovich
200131bb45
Silence metrics collection in tests.
2015-12-27 09:43:36 +02:00
Arik Fraimovich
5e25ba0cf6
Merge pull request #722 from ninneko/721-chart-right-axis
...
Fix: use second y axis for line charts while stacking
2015-12-24 17:39:52 +02:00
Arik Fraimovich
184d208020
Merge pull request #723 from getredash/feature/metrics
...
Feature: collect metrics on query time & request time
2015-12-24 17:33:18 +02:00
Arik Fraimovich
610fe2a8a2
Feature: collect metrics on query time & request time
2015-12-24 16:35:41 +02:00
yohei.naruse
068ce57b24
make right axis enabled if there are stacked bars on right axis and lines on right axis.
2015-12-24 17:34:29 +09:00
Arik Fraimovich
af61784a28
Merge pull request #664 from akariv/master
...
Feature: ability to embed visualizations in external sites
2015-12-21 22:07:32 +02:00
Arik Fraimovich
871d8d6b6a
Merge pull request #716 from getredash/fix/perf
...
Fix #708 : dashboard breaks when removing widgets and adding again
2015-12-21 16:34:13 +02:00
Adam Kariv
ea1fac76a3
Adapt to changes in upstream
2015-12-21 09:01:44 +02:00
Adam Kariv
ed380fefaa
CR fixes
2015-12-21 09:01:44 +02:00
Adam Kariv
cc9e89bb69
Fix allowAllToEditQueries not bound to settings
2015-12-21 09:01:44 +02:00
Adam Kariv
e9aeb11685
Embedding of visualizations in external sites
2015-12-21 09:01:44 +02:00
Arik Fraimovich
cc2dcb25b6
Merge pull request #714 from erans/mongodb-schema-support
...
Feature: load schema for MongoDB data source
2015-12-20 15:38:36 +02:00
Arik Fraimovich
bfb73166c6
Merge pull request #713 from alexanderlz/master
...
Fix: don't add "Copy of" when saving a query
2015-12-20 14:36:46 +02:00
Arik Fraimovich
30adfccd79
Fix #708 : dashboard breaks when removing widgets and adding again
2015-12-20 13:15:58 +02:00
Eran Sandler
c3b6de55c0
added an extra check when a collection is empty and there are no documents to merge to show as fields
2015-12-20 09:58:29 +02:00
Eran Sandler
fa2cae1753
added schema support for MongoDB. Collections will be shown as tables and we merge the first and last documents (sorted by Natural order) to show the properties of the document. Since MongoDB is document based it might miss a few fields but it should give a good enough reference
2015-12-20 09:55:26 +02:00
Alexander Leibzon
b337a50fcc
fix queryname when forking, add forked query_id to the name
2015-12-20 01:24:24 +02:00
Arik Fraimovich
3d178f9a60
Merge pull request #711 from alexanderlz/master
...
Feature: update forked query name
2015-12-16 20:56:06 +02:00
Arik Fraimovich
a0219bf354
Merge pull request #706 from alonho/fix/692_3
...
#692 : Enable scrolling for pie charts with long legend
2015-12-16 17:41:02 +02:00
Ryota Arai
ec41077dc1
Run apt-get clean to reduce image size.
2015-12-17 00:07:56 +09:00
Ryota Arai
15f9a063ae
Install nodejs, build assets and uninstall it in one instruction.
2015-12-17 00:07:56 +09:00
Ryota Arai
a15085dc93
Run supervisord as root.
2015-12-17 00:07:56 +09:00
Ryota Arai
78ae9ac647
Build dependencies during building Docker image.
2015-12-17 00:07:56 +09:00
Ryota Arai
f31ec7b1dd
Stop to install bower and grunt-cli globally.
2015-12-17 00:07:56 +09:00
Arik Fraimovich
85916efa81
Merge pull request #710 from ryotarai/bq-max-mb-processed
...
Feature: BigQuery: limit amount of MB processed per query
2015-12-16 16:30:47 +02:00
Alexander Leibzon
31b6e6ff0f
Merge remote-tracking branch 'upstream/master'
2015-12-16 15:17:58 +02:00
Ryota Arai
f20774b6c2
Rename maximumTotalMBytesProcessed to totalMBytesProcessedLimit.
2015-12-16 20:25:18 +09:00
Ryota Arai
dac6cabd1e
Extract code into a method _get_query_result.
2015-12-16 20:19:35 +09:00
Ryota Arai
51949230d6
Extract code into a method _get_total_bytes_processed.
2015-12-16 20:19:31 +09:00
Ryota Arai
81386bcf37
If maximumTotalMBytesProcessed is set, do dryrun and check data size.
2015-12-16 20:04:33 +09:00
Alexander Leibzon
67118ee1aa
add 'Copy of' to forked query
2015-12-15 01:15:03 +02:00
Alon Horev
e863d83bf4
#692 : Enable scrolling for pie charts with long legend
2015-12-14 11:24:56 +02:00
Arik Fraimovich
d958817b10
Update 0014_add_alert_rearm_seconds.py
2015-12-14 10:47:46 +02:00
Arik Fraimovich
450631d6ce
Merge pull request #680 from alexanderlz/master
...
Feature: show rows count per table
2015-12-14 10:31:08 +02:00
Arik Fraimovich
8b5a0206c2
Merge pull request #705 from alonho/fix/692_2
...
#692 : Fix scrolling issue with plotly charts (didn't always work)
2015-12-13 17:25:02 +02:00
Alon Horev
49848a193a
#692 : Fix scrolling issue with plotly charts (didn't always work)
2015-12-13 17:06:07 +02:00
Alexander Leibzon
0f9d5219ef
add setting for global enable/disable of table size estimations for schema
2015-12-13 15:13:14 +02:00
Alexander Leibzon
3cb14786f5
Bug 704: fix
2015-12-13 12:22:58 +02:00
Alexander Leibzon
8e432200aa
Merge remote-tracking branch 'upstream/master'
2015-12-12 12:10:35 +02:00
Arik Fraimovich
30dd030a9d
Merge pull request #703 from alonho/fix/area_stacking_hover
...
Chart: regular area stacking (not percent) now shows both the value and sum per point.
2015-12-12 07:46:22 +02:00
Alon Horev
fc3fc0e84a
Chart: pie chart colors should use our custom palette and not the default plotly palette
2015-12-12 01:02:22 +02:00
Alon Horev
24b70e66af
Chart: regular area stacking (not percent) now shows both the value and sum per point.
2015-12-11 23:22:22 +02:00
Arik Fraimovich
76a1b9fdbe
Merge pull request #701 from alonho/fix/694_2
...
Fix : #694 : When stacking is enabled show both the relative value (in %) and the absolute value (attempt #2 )
2015-12-11 17:02:34 +02:00
Arik Fraimovich
e310f9d522
Merge pull request #700 from alonho/fix/692
...
Fix : #692 : Chart legend was cut off with a large number of series. The wrapping div now scrolls to make it visible.
2015-12-11 14:18:19 +02:00
Alon Horev
86a0e74db8
#694 : When stacking is enabled show both the relative value (in %) and the absolute value
2015-12-10 23:00:49 +02:00
Alon Horev
30a70338ba
#692 : Chart legend was cut off with a large number of series. The wrapping div now scrolls to make it visible.
2015-12-10 22:16:58 +02:00
Arik Fraimovich
b242dbb531
Merge pull request #698 from alonho/fix/694
...
Fix: When stacking is enabled show both the relative value (in %) and the absolute value
2015-12-10 21:59:38 +02:00
Arik Fraimovich
ca47b0e6f7
Merge pull request #699 from alonho/fix/695
...
Fix: Charts: when stacking is enabled we should use one yaxis otherwise they overlap
2015-12-10 18:57:14 +02:00
Alon Horev
7c992c53eb
#694 : When stacking is enabled show both the relative value (in %) and the absolute value
2015-12-10 17:28:47 +02:00
Alon Horev
4deb150a89
#695 : Charts: when stacking is enabled we should use one yaxis otherwise they overlap
2015-12-10 16:18:32 +02:00
Arik Fraimovich
63f0a8cc20
Merge pull request #631 from brickx/master
...
Feature: alert rearm setting which allows periodic resending of alert messages.
2015-12-10 09:19:58 +02:00
Arik Fraimovich
7e4f5e1e03
Merge pull request #687 from alonho/feature/plotly
...
Feature: replace HighCharts with Plotly
2015-12-09 10:17:40 +02:00
Arik Fraimovich
6f1fed47b3
Merge pull request #691 from VirtualPaul/patch-1
...
Docs: add TreasureData to the list of datasources
2015-12-09 10:17:26 +02:00
Arik Fraimovich
4505437097
Bump version.
2015-12-09 10:16:15 +02:00
Paul Lacey
2ea2df5943
Update datasources.rst
...
Add Treasure Data to list of supported data sources
2015-12-08 15:31:58 -08:00
Alon Horev
135ffd693a
Add an option to disable chart legend.
...
A user can disable it if he has tons of series.
Now that we explicitly enable it, it's also visible for a single series.
2015-12-07 19:07:04 +02:00
Alon Horev
0f82d4e17b
Remove highcharts as it's not used anymore
2015-12-06 21:05:35 +02:00
Arik Fraimovich
32c0d3eb3d
Merge pull request #688 from Xangis/patch-1
...
Docs: Add Greenplum to Postgresql section since it works with same settings.
2015-12-06 09:22:49 +02:00
Jason Champion
1bee22a578
Add Greenplum to Postgresql section since it works with same settings.
2015-12-05 15:24:55 -08:00
Arik Fraimovich
6bb57508e1
Merge pull request #686 from scottkrager/patch-1
...
Docs: Update bootstrap.sh link to getredash repo
2015-12-05 22:15:32 +02:00
Alon Horev
b7a43feeca
#273 : Replace highcharts with plotly (it's free!)
2015-12-05 03:01:44 +02:00
Arik Fraimovich
2d34bf1c54
Typo fix in task name.
2015-12-04 17:09:01 +02:00
Arik Fraimovich
7e3856b4f5
Unify deployment sections in CirlceCI config.
2015-12-04 16:18:58 +02:00
Scott Krager
189e105c68
Update bootstrap.sh link to getredash repo
2015-12-03 16:30:06 -08:00
Arik Fraimovich
378459d64f
Merge pull request #685 from getredash/fix/alert_sub_migration
...
Feature: add settings to query results cleanup
2015-12-03 11:20:51 +02:00
Arik Fraimovich
ab72531889
Add settings to query results cleanup ( closes #683 )
2015-12-03 11:10:02 +02:00
Arik Fraimovich
51deb8f75d
Merge pull request #684 from getredash/fix/alert_sub_migration
...
Fix: add migration for AlertSubscriber table
2015-12-03 11:04:31 +02:00
Arik Fraimovich
68f6e9b5e5
Add migration for AlertSubscriber table
2015-12-03 11:03:38 +02:00
Arik Fraimovich
fbfa76f4d6
Merge pull request #682 from alonho/master
...
Fix: bug with new version of ui-select and 'track by ' on choices
2015-12-02 20:12:42 +02:00
Alon Horev
28e8e049eb
fix bug with new version of ui-select and 'track by ' on choices
2015-12-02 20:10:19 +02:00
Alon Horev
47dcead383
#273 : as a preparation for adding plotly, remove date range picker in the chart (plotly supports it within the chart)
2015-12-02 11:08:25 +02:00
Arik Fraimovich
f1f9597998
Bump version.
2015-12-02 11:03:50 +02:00
Alexander Leibzon
0da39edf1a
Merge branch 'master' of github.com:alexanderlz/redash
...
Conflicts:
redash/models.py
redash/query_runner/__init__.py
2015-12-01 16:32:03 +02:00
Alexander Leibzon
7845ad5ff7
refresh param
2015-12-01 16:27:35 +02:00
Alexander Leibzon
3808b451c6
add param to allow skipping table row count
2015-12-01 16:27:34 +02:00
Alexander Leibzon
c78789a670
modify hive/impala/oracle to use BaseSQLQueryRunner
2015-12-01 16:27:34 +02:00
Alexander Leibzon
2cd08d25a0
improve code, create BaseSQLQueryRunner class, adapt postgres/mysql
2015-12-01 16:27:34 +02:00
Alexander Leibzon
09ed4d5ede
feature #674
2015-12-01 16:23:28 +02:00
Alexander Leibzon
1e97a0ce9f
add param to allow skipping table row count
2015-12-01 15:18:25 +02:00
Alexander Leibzon
61cb203ce7
modify hive/impala/oracle to use BaseSQLQueryRunner
2015-12-01 13:38:17 +02:00
Alexander Leibzon
58c0c5c099
improve code, create BaseSQLQueryRunner class, adapt postgres/mysql
2015-12-01 13:30:39 +02:00
blu35ky
8072b06246
Merge with upstream/master.
2015-12-01 20:50:42 +11:00
Niels Draaisma
65f2c2136b
Added handling of empty rearm settings
2015-12-01 20:47:42 +11:00
Niels Draaisma
8b9a9e9ac4
Added alert rearm setting
2015-12-01 20:43:49 +11:00
Arik Fraimovich
0b389d51aa
Merge pull request #644 from toyama0919/feature/alert-to-hipchat
...
Feature: send alert notifications to HipChat or web hook
2015-12-01 10:50:53 +02:00
toyama0919
46f3e82571
Apply reviews. fix redash.utils instead of bson.
2015-12-01 10:36:21 +09:00
toyama0919
5b64918379
Apply reviews. fix, post json nested data for webhook.
2015-12-01 10:36:21 +09:00
toyama0919
7549f32d9a
Apply reviews. fix http client library httplib2 to requests.
2015-12-01 10:36:21 +09:00
toyama0919
6f51776cbb
fix, basic auth for webhook.
2015-12-01 10:36:21 +09:00
toyama0919
ad0afd8f3e
add, alert notification to webhook.
2015-12-01 10:36:21 +09:00
toyama0919
8863282e58
Apply reviews from arikfr
2015-12-01 10:34:56 +09:00
toyama0919
9c1fda488c
fix, alert notification to hipchat.
2015-12-01 10:33:01 +09:00
blu35ky
30a494dab0
Changes based on PR
2015-12-01 11:22:19 +11:00
Arik Fraimovich
995659ee0d
Merge pull request #679 from alonho/table_pagination
...
Improve table widget pagination UI
2015-11-30 23:39:06 +02:00
Alon Horev
ad2642e9e5
Improve table widget pagination UI
2015-11-30 23:37:56 +02:00
Arik Fraimovich
740b305910
Merge pull request #676 from getredash/feature/version_check
...
Feature: re:dash version check
2015-11-30 22:37:20 +02:00
Arik Fraimovich
ca8cca0a8c
Merge pull request #678 from alonho/655
...
Fix: Dashboard shouldn't crash with empty queries
2015-11-30 22:34:00 +02:00
Arik Fraimovich
7c4410ac63
Use ng-cloak to hide the new version message until relevant
2015-11-30 22:31:06 +02:00
Alon Horev
91a209ae82
#655 : Dashboard shouldn't crash with empty queries
2015-11-30 18:17:37 +02:00
Arik Fraimovich
60cdb85cc4
Move all version check logic into a module of its own
2015-11-30 17:06:21 +02:00
Arik Fraimovich
becb4decf1
Show in UI if new version available
2015-11-30 16:38:42 +02:00
Arik Fraimovich
5f33e7ea18
Perform daily version check
2015-11-30 16:31:49 +02:00
Arik Fraimovich
7675de4ec7
Merge pull request #675 from alonho/redash_link
...
Add link to redash.io
2015-11-30 16:16:10 +02:00
Alon Horev
fe2aa71349
Add link to redash.io
2015-11-30 16:10:33 +02:00
Arik Fraimovich
b7720f7001
Merge pull request #672 from alonho/chart_editor
...
Feature: Improved chart editor UI/UX
2015-11-30 12:38:01 +02:00
Alon Horev
3b24f56eba
#671 : Improve chart editor UI/UX
2015-11-30 12:37:00 +02:00
Alexander Leibzon
06065badd4
feature #674
2015-11-29 01:16:27 +02:00
Arik Fraimovich
52b8e98b1a
Merge pull request #620 from getredash/docker
...
Reorganize setup files & update Docker configurations
2015-11-26 11:27:52 +02:00
Arik Fraimovich
5fe9c2fcf0
Update Ubuntu with docker readme
2015-11-26 10:39:42 +02:00
Arik Fraimovich
816142aa54
Update evn files
2015-11-26 10:38:06 +02:00
Arik Fraimovich
f737be272f
Update GitHub repo url (EverythingMe -> GetRedash)
2015-11-26 10:34:16 +02:00
Arik Fraimovich
0343fa7980
Merge pull request #661 from hudl/fix-cancelquery
...
Fix cancelling queries for Redshift/Postgres
2015-11-24 15:18:58 +02:00
Arik Fraimovich
0f9f9a24a0
Remove spaces in export command.
2015-11-24 15:10:27 +02:00
Alex DeBrie
5b9b18639b
Move signal handler
2015-11-23 14:02:09 +00:00
Arik Fraimovich
ce46295dd3
Update location of config files
2015-11-23 15:46:00 +02:00
Arik Fraimovich
3781b0758e
Fix nginx conf mounting
2015-11-23 15:39:48 +02:00
Arik Fraimovich
8d20180d40
Update mail setup guide.
2015-11-23 14:24:43 +02:00
Arik Fraimovich
a7b41327c6
Update docker hub organization
2015-11-23 11:41:45 +02:00
Arik Fraimovich
4d415c0246
WIP: bootstrap for docker
2015-11-23 11:38:17 +02:00
Arik Fraimovich
5331008e78
add docker-compose.yml
2015-11-23 11:38:17 +02:00
Arik Fraimovich
80783feda6
Bootstrap files for Docker image
2015-11-23 11:38:17 +02:00
Arik Fraimovich
2f308c3fa6
Remove test file
2015-11-23 11:38:17 +02:00
Arik Fraimovich
a63055f7f0
Fix build step
2015-11-23 11:38:17 +02:00
Arik Fraimovich
ce884ba6d3
Update CircleCI config to build images
2015-11-23 11:38:17 +02:00
Arik Fraimovich
63765281fe
Fix path in bootstrap script
2015-11-23 11:38:16 +02:00
Arik Fraimovich
47e79003e5
Update packer config
2015-11-23 11:38:16 +02:00
Arik Fraimovich
541060c62e
Remove latest_release_url.py - docker images will be created with current code base as context
2015-11-23 11:38:16 +02:00
Arik Fraimovich
3ba19fa80f
update readme for ubuntu bootstrap
2015-11-23 11:38:16 +02:00
Arik Fraimovich
f3ec0448f5
Updates to Dockerfile:
...
- No need to pg client anymore.
- Fix path to supervisord.conf.
2015-11-23 11:38:16 +02:00
Arik Fraimovich
654349a7ae
Better arrangement of setup directory
2015-11-23 11:38:16 +02:00
Arik Fraimovich
2b32de184e
Change suffix of docker-compose file to .yml as suggested by docker-compose
2015-11-23 11:38:15 +02:00
Arik Fraimovich
1fb57edd1f
Remove old Vagrant file
2015-11-23 11:38:15 +02:00
Arik Fraimovich
f6c65d139a
Move Amazon Linux bootstrap into folder of its own
2015-11-23 11:38:15 +02:00
Arik Fraimovich
4e59472238
Fix .dockerignore file:
...
Allow sending rd_ui/dist, remove rd_ui/nodemodules.
2015-11-23 11:38:15 +02:00
Arik Fraimovich
feabc46da4
Merge pull request #668 from cou929/fix-all_models
...
Fix: AlertSubscription missing in all_models
2015-11-23 11:13:49 +02:00
Kosei Moriyama
51a10e5a20
Add AlertSubscription to all_models
2015-11-23 02:06:39 +09:00
Arik Fraimovich
5bf370d0f0
Merge pull request #660 from hudl/fix-regexanchors
...
Fix: strings that start with a date wrongly treated as date fields
2015-11-21 20:41:56 +02:00
Arik Fraimovich
5beec581d8
Merge pull request #667 from getredash/docs_alerts
...
Docs: add instructions on setting up email server
2015-11-20 21:32:20 +02:00
Arik Fraimovich
70080df534
Add instructions on setting up email server
2015-11-20 21:31:50 +02:00
Arik Fraimovich
0d4c3c329e
Merge pull request #666 from alonho/patch-1
...
Fix: Specifying field type in the field name using __ didn't work
2015-11-20 16:39:06 +02:00
Alon Horev
76dfbad971
Specifying field type in the field name using __ didn't work
...
It works for '::' but probably didn't work for '__' due to a a copy-paste
2015-11-20 14:20:26 +02:00
Alex DeBrie
45a85c110f
Add SIGINT signal
2015-11-18 18:30:54 +00:00
Alex DeBrie
f77c0aeb1d
Add InterruptException to __all__
2015-11-18 18:07:47 +00:00
Alex DeBrie
b23e328f69
Add sigint signal handler to BaseQueryRunner
2015-11-18 17:20:39 +00:00
Alex DeBrie
165d782b98
Add end of string anchor to date parsing regex
2015-11-18 16:15:10 +00:00
Arik Fraimovich
1bdc1bef73
Merge pull request #653 from hakobera/fix-date-range-selector
...
Fix date range selector does not show data of last day when user timezone is not UTC
2015-11-18 17:58:20 +02:00
Arik Fraimovich
e3b41b15d7
Update links in README.
2015-11-18 17:49:11 +02:00
Arik Fraimovich
7a95dec33b
Merge pull request #659 from getredash/fixes_151118
...
Add footer to the layout, to have links to docs & GitHub
2015-11-18 17:45:55 +02:00
Arik Fraimovich
a3d059041c
Add footer
2015-11-18 17:36:24 +02:00
Arik Fraimovich
3a6c1599f3
Update index.rst
2015-11-18 17:35:06 +02:00
Arik Fraimovich
f92aa7b15f
Merge pull request #658 from getredash/fixes_151118
...
Charts: remove "Show Total %" menu option and the yellow color
2015-11-18 16:51:41 +02:00
Arik Fraimovich
d823506e5b
Remove menu option and yellow color
2015-11-18 16:50:59 +02:00
Arik Fraimovich
fc93de7aa2
Merge pull request #657 from getredash/fixes_151118
...
Fix: Change user create button from Save to Create
2015-11-18 16:49:19 +02:00
Arik Fraimovich
a0cc25d174
Change user create button from Save to Create
2015-11-18 16:45:15 +02:00
Arik Fraimovich
df24bc3aae
Merge pull request #656 from enriquesaid/header-gravatar-src
...
Fix: load user avatar image with ng-src
2015-11-17 23:19:23 +02:00
Enrique Marques Junior
60c2cb0a75
using ng-src
2015-11-17 14:53:43 -02:00
Kazuyuki Honda
ad19f2d304
Treat dateRange as UTC
2015-11-17 11:03:07 +09:00
Arik Fraimovich
3aa59a8152
Update README links.
2015-11-16 16:12:41 +02:00
Arik Fraimovich
32638aebed
Merge pull request #650 from alonho/mql
...
Feature: MQL query runner
2015-11-15 17:21:44 +02:00
Arik Fraimovich
346ea66c9d
Merge pull request #651 from alonho/datasource_defaults
...
Support default values in data source creation forms
2015-11-15 17:17:26 +02:00
Arik Fraimovich
d14b74b683
Merge pull request #654 from EverythingMe/fix-graphite-verify
...
Fix: verify is optional value of Graphite's config
2015-11-15 17:10:46 +02:00
Arik Fraimovich
5d879ce358
Update circle.yml
2015-11-15 17:02:43 +02:00
Arik Fraimovich
b4da4359a8
Fix: verify is optional value of Graphite's config
2015-11-14 23:35:37 +02:00
Kazuyuki Honda
7e08518a31
Fix date range selector when user timezone is not UTC
2015-11-14 13:03:14 +09:00
Alon Horev
bea0e9aad0
Add support for MQL (a propietery SQL implementation for MongoDB by digdata.io)
2015-11-13 23:35:34 +02:00
Alon Horev
a87179b68b
Support default values in data source creation forms
2015-11-13 23:28:33 +02:00
Arik Fraimovich
91806eda44
Merge pull request #647 from runa/patch-3
...
Fix: bind Redis to localhost
2015-11-11 06:04:58 +02:00
martin sarsale
d1fe3d63fd
bind redis to localhost
...
Having it bound to the public addresses is a security problem.
See http://antirez.com/news/96
2015-11-10 23:03:53 -03:00
Arik Fraimovich
8408409ce2
Merge pull request #642 from tjwudi/patch-3
...
Docs: make migrating Vagrant box command a one-liner
2015-11-10 20:43:59 +02:00
John Wu
6bbdd5eb44
Make migrating command one-liner
2015-11-09 14:54:45 -08:00
Arik Fraimovich
34ba54397d
Merge pull request #638 from underdogio/dev/show.db.select.mobile.sqwished
...
Removed `rd-hidden-xs` to make everything visible on mobile
2015-11-08 22:59:14 +02:00
Arik Fraimovich
ec79ce74d0
Merge pull request #639 from hudl/Feature-ScheduleQueryPermission
...
Feature: permission to schedule query
2015-11-07 23:11:38 +02:00
Alex DeBrie
f324f1bf6f
Add schedule_query permission
2015-11-07 17:52:32 +00:00
Todd Wolfson
47cfb7d620
Removed rd-hidden-xs to make everything visible on mobile
2015-11-05 18:55:40 -06:00
Arik Fraimovich
dab1a21b40
Merge pull request #637 from underdogio/dev/explore.regression.sqwished
...
Reverted pivottable upgrade to remove XSS vulnerability
2015-11-05 20:36:05 +02:00
Arik Fraimovich
aa04a6e4a5
Merge pull request #630 from gissehel/sqlite_query_runner
...
Feature: SQLite query runner
2015-11-05 09:19:13 +02:00
gissehel
e0a43a32ab
* Removed commented lines
...
* Renamed "Database Name"/dbname to "Database Path"/dbpath
2015-11-04 07:17:58 +01:00
gissehel
68001ae0f1
sqlite support
2015-11-04 07:17:58 +01:00
Todd Wolfson
9d9501b158
Reverted pivottable upgrade to remove XSS vulnerability
2015-11-03 16:49:30 -06:00
Arik Fraimovich
67aecc0201
Merge pull request #594 from tjwudi/diwu/feature/date-range-selector
...
Feature: date range selector support for charts
2015-11-03 23:16:04 +02:00
Arik Fraimovich
0bc9fc1ed5
Merge pull request #575 from Wondermall/feature/support_for_basic_auth_on_elastic_queries
...
Feature: new ElasticSearch datasource, and rename previous one to Kibana
2015-11-03 22:01:51 +02:00
Arik Fraimovich
b548cb1d8f
Merge pull request #625 from essence-tech/oracle-support
...
Feature: Oracle query runner
2015-11-03 21:56:38 +02:00
Arik Fraimovich
eb5c4dd5f3
Merge pull request #623 from stanhu/support-mysql-ssl
...
Feature: support MySQL over SSL
2015-11-03 21:54:58 +02:00
Stan Hu
a07a9b9390
Normalize SSL titles
2015-11-03 10:16:48 -08:00
Arik Fraimovich
56ade4735c
Merge pull request #634 from tjwudi/patch-1
...
Document APIs exposed to Python scripts
2015-11-03 10:17:52 +02:00
John Wu
b8a9f1048a
Document APIs exposed to Python scripts
2015-11-02 13:52:39 -08:00
Niels Draaisma
3dc62e3c85
Added handling of empty rearm settings
2015-10-30 16:18:15 +11:00
Niels Draaisma
73b2c5d38e
Added alert rearm setting
2015-10-30 16:01:21 +11:00
Arik Fraimovich
5b3bcff4f5
Update README.md
2015-10-26 12:54:21 +02:00
Arik Fraimovich
b41b21c69e
Update README.md
2015-10-26 12:53:32 +02:00
Arik Fraimovich
172d57e82c
Update README.md
2015-10-26 12:51:58 +02:00
Arik Fraimovich
f507da9df7
Update README about re:dash future.
2015-10-26 12:51:20 +02:00
Stan Hu
2e27e43357
Support MySQL over SSL
2015-10-21 16:21:17 -07:00
Josh Fyne
8a0c287d05
Updated datasources docs
2015-10-21 12:06:47 -04:00
Josh Fyne
664a1806bc
Better number handling
2015-10-21 10:05:38 -04:00
Josh Fyne
9a0ccd1bb5
Added cx_Oracle requirement
2015-10-20 15:40:18 -04:00
Josh Fyne
076fca0c5a
Initial Oracle pass
2015-10-20 15:27:07 -04:00
Arik Fraimovich
59f099418a
Merge pull request #617 from EverythingMe/fix/timezone
...
Improve timezone handling:
2015-10-20 16:29:47 +03:00
Arik Fraimovich
b9a0760d7e
Improve timezone handling:
...
1. Load all date/datetime values with moment.utc() which doesn't apply
current timezone to them.
2. Don't use toLocaleString to format strings (which was converting them
to current timezone as well).
Ref #411 .
2015-10-20 16:17:57 +03:00
Arik Fraimovich
a0c26c64f0
Bump version.
2015-10-20 15:50:27 +03:00
Arik Fraimovich
5f47689553
Update AWS/GCE image links.
2015-10-19 23:01:43 +03:00
Arik Fraimovich
a5bc90c816
Merge pull request #615 from EverythingMe/fix_y_axis
...
Fix: y axis settings should take into account two axes
2015-10-19 11:33:12 +03:00
Arik Fraimovich
39b8f40ad4
Fix: y axis settings should take into account two axes
2015-10-19 11:32:47 +03:00
Arik Fraimovich
070caa6976
Gruntfile.js: copy image files.
2015-10-18 23:45:21 +03:00
Arik Fraimovich
56b51f68bc
Merge pull request #614 from EverythingMe/fix/caching
...
Fix: don't cache /results API endpoint
2015-10-18 14:20:52 +03:00
Arik Fraimovich
799ce3e718
Fix: don't cache /results API endpoint
2015-10-16 23:11:19 +03:00
Arik Fraimovich
9b47f0d08a
Fix: test shouldn't depend on currnet time
2015-10-16 23:10:50 +03:00
Arik Fraimovich
4f4dc135f5
Merge pull request #607 from tlpham/master
...
Docs: Remove trailing spaces
2015-10-14 13:26:48 +03:00
Lior Rozner
4eb490a839
Code review fix.
...
Added migration to change all existing elasticsearch datasource to kibana datasource.
2015-10-13 20:14:58 -07:00
John Wu
410c5671f0
Revert: python data source in setting
2015-10-13 11:42:42 -07:00
John Wu
fad8bd47e8
Remove commented code
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-13 11:35:56 -07:00
John Wu
89f5074054
Prevent unneccesary call to setDateRangeToExtreme
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-13 11:33:20 -07:00
John Wu
5826fbd05f
Use moment.min and moment.max
2015-10-13 11:20:36 -07:00
John Wu
ddab1c9493
Update angular-moment and moment
2015-10-13 11:19:19 -07:00
John Wu
f9d5fe235b
Always use _addPointToSeriesIfInDateRange
2015-10-13 11:01:21 -07:00
tlpham
afe64fe981
Update upgrade.rst
...
Trailing spaces.
2015-10-13 12:25:55 +08:00
tlpham
99efe497ee
Update results_format.rst
...
Trailing spaces.
2015-10-13 12:25:11 +08:00
Arik Fraimovich
9e183f1500
Merge pull request #588 from tjwudi/diwu/feature/docker-deployment
...
Docker deployment support
2015-10-11 23:13:22 +03:00
Arik Fraimovich
4b17b9869e
Merge pull request #551 from ElJoche:hidden_widgets
...
Feature: allow adding hidden text box widgets.
2015-10-11 22:56:41 +03:00
Arik Fraimovich
872d58688f
Update the hidden widgets code (only use for textbox, ng-hide)
2015-10-11 22:54:24 +03:00
Arik Fraimovich
37272dc2d9
Capitalize logout link
2015-10-11 15:54:08 +03:00
Arik Fraimovich
1a3df37940
Merge pull request #605 from EverythingMe/small_fixes_11_10_2015
...
Feature: allow setting HighChart's turbo threshold value
2015-10-11 15:30:58 +03:00
Arik Fraimovich
ddbf264020
Close #572 : allow setting the HighCharts turbo threshold value
2015-10-11 15:29:50 +03:00
Arik Fraimovich
e93b71af85
Don't sanitize non string values
2015-10-11 15:16:23 +03:00
Arik Fraimovich
13184519c3
Merge pull request #604 from EverythingMe/small_fixes_11_10_2015
...
Fix #597 : MongoDB date parsing logic improvement
2015-10-11 15:00:23 +03:00
Arik Fraimovich
0f8da884f9
Fix #597 : MongoDB date parsing logic improvement
2015-10-11 14:44:12 +03:00
Arik Fraimovich
21de1d90e3
Merge pull request #599 from EverythingMe/fix/passwords
...
Fix: don't send passwords back to the UI
2015-10-11 12:33:33 +03:00
Arik Fraimovich
ed9eb691c1
Merge pull request #603 from EverythingMe/small_fixes_11_10_2015
...
Feature: allow setting only the additional query runners you need
2015-10-11 12:29:46 +03:00
Arik Fraimovich
d6c229759f
Update docs
2015-10-11 12:20:59 +03:00
Arik Fraimovich
f0b8dfb449
Allow setting only the additional query runners instead of overriding whole list
2015-10-11 12:17:28 +03:00
Arik Fraimovich
6f335d34b9
Merge pull request #602 from EverythingMe/small_fixes_11_10_2015
...
Close #564 : support setting API key with headers
2015-10-11 12:10:04 +03:00
Arik Fraimovich
bed63083a7
Close #564 : support setting API key in headers
2015-10-11 11:54:21 +03:00
Arik Fraimovich
9886f5b13b
Merge pull request #601 from EverythingMe/small_fixes_11_10_2015
...
Fix #581 : execute_query permission ignored by UI
2015-10-11 11:26:50 +03:00
Arik Fraimovich
f0ee7a67d2
Fix #581 : execute_query permission ignored by UI
2015-10-11 11:26:11 +03:00
Arik Fraimovich
9c43e1540e
Merge pull request #600 from EverythingMe/small_fixes_11_10_2015
...
Fix: cohort visulization had infinte digest loop
2015-10-11 11:24:37 +03:00
Arik Fraimovich
b0cb2d3f1c
Fix: cohort visulization had infinte digest loop
2015-10-11 11:16:49 +03:00
Arik Fraimovich
b525ad0622
Fix: don't require uploading file again when editing BQ/GS data source
2015-10-11 10:29:05 +03:00
Arik Fraimovich
602b9128a7
Stop sending passwords to the UI
2015-10-11 09:27:51 +03:00
Arik Fraimovich
45d3b18c0c
Update comment
2015-10-11 08:26:57 +03:00
Arik Fraimovich
b1918743f2
Merge pull request #596 from Oneross/master
...
Docs: added notes about Python query runner configuration
2015-10-10 11:41:26 +03:00
qjo744
716f36ef9c
updated python datasources note to reflect preference for setting environ variable over editing settings.py
2015-10-09 07:54:25 -04:00
qjo744
62aa21cdc8
updated python datasources note to reflect preference for setting environ variable over editing settings.py
2015-10-09 07:53:36 -04:00
qjo744
4e30fc1054
updated python datasources note to reflect preference for setting environ variable over editing settings.py
2015-10-09 07:52:48 -04:00
Arik Fraimovich
5a1d38c572
Merge pull request #593 from hudl/chartColourPalette
...
Chart colour palette updated
2015-10-09 06:43:14 +03:00
qjo744
360b0da159
added notes for python query runner configuration to docs #595
2015-10-08 19:09:03 -04:00
John Wu
cc91981845
Naming stuff
...
`seriesCollection` -> `allSeries` (shorter)
`s` -> `series`
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 14:49:45 -07:00
John Wu
e19962d4e3
Remove unnecessary ENV line
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 13:40:03 -07:00
John Wu
99b6f8955e
Add some mandatory nginx directives
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 13:25:44 -07:00
John Wu
cf6ce0599b
Use volume to store postgres data
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 12:14:07 -07:00
John Wu
a699c04ee1
Download and build from latest source instead
2015-10-08 12:09:24 -07:00
John Wu
a8d7547dc7
Rename folder
2015-10-08 12:09:07 -07:00
John Wu
72804e6d80
Add redash-nginx repo content
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 11:57:44 -07:00
John Wu
e51db087c5
Remove unnecessarily exposed ports
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 11:46:16 -07:00
John Wu
0e9607205b
Add nginx frontend in docker-compose
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 11:43:33 -07:00
John Wu
9f799f4bfe
Use built image in docker-compose
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-08 11:38:17 -07:00
atharva.inamdar
17e0bd4cd2
hudl/fulla#140 new chart colours added to palette
2015-10-08 16:27:44 +01:00
atharva.inamdar
102038b129
hudl/fulla#140 new chart colours added to palette
2015-10-08 16:21:51 +01:00
Arik Fraimovich
c01d88cbea
Merge pull request #591 from hudl/master
...
Feature: export pivot table as TSV
2015-10-08 08:35:28 +03:00
John Wu
9d6d88ebff
Remove "export" in **.env**
...
Since we add `export` using `sed` in `bin/run`, there is no need to add
`export` in **.env** anymore. Also, docker-compose's `env_file` option
does not agree with `export`.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-07 17:26:14 -07:00
John Wu
3f429ebcb7
Don't use bin/run in docker
...
`bin/run` exports environment variables, which can override environment
variables provided by docker-compose.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-07 17:22:58 -07:00
John Wu
c854ce3c10
Remove postgres user
...
Also changed **docker_init_postgres.sh**. Since we don't have postgres
user now, then we cannot use `sudo -u postgres`. The alternative will be
running `psql --username=blahblah`.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-07 17:04:27 -07:00
John Wu
ab6cc3f146
Run celery using redash user
2015-10-07 16:21:37 -07:00
John Wu
97d0035f4a
Group supervisord installation commands
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-07 11:16:49 -07:00
John Wu
8108bc7cb1
Group relevant commands
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-07 11:07:33 -07:00
John Wu
690cb2fccd
Group all apt-get commands
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-07 10:58:52 -07:00
Arik Fraimovich
515c45776e
Merge pull request #590 from underdogio/dev/select.last.data.source.sqwished
...
Added "Select last used data source" to query view
2015-10-07 19:50:15 +03:00
Todd Wolfson
fc44dba2ef
Added "Select last used data source" to query view
2015-10-07 11:43:28 -05:00
Ben Cook
5329fe547c
Merge pull request #1 from hudl/ExportPivotTable
...
Upgrade PivotTable.js and enable TSV export
2015-10-07 09:02:19 -05:00
John Wu
d6bb6d33a3
Expose ports in Dockerfile
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 16:30:18 -07:00
John Wu
9832b7f72a
Use more descriptive name for series collection
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 15:04:34 -07:00
John Wu
2a6ed3ca52
Use bind(this) instead of creating that
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 15:04:02 -07:00
John Wu
2e78ef0128
Use more descriptive method name
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 14:50:15 -07:00
John Wu
d2d52d44f7
Postgres&Redis version consistency
...
Use Postgres 9.3 and Redis 2.8 images. This is to keep it consistent
with the version we use in provision script.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 14:38:24 -07:00
John Wu
987f4bd356
Use .env file through Dockefile
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 14:38:05 -07:00
John Wu
0c8c196d65
Group apt-get instructions
...
Given how docker caching works, it is better the group multiple
`apt-get` instructions into one when possible because it prevents docker
from building too many layers.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 14:13:53 -07:00
John Wu
9d703b44de
Create postgres user
...
Create postgres user because we are now using `postgres-client` packages
which does not create postgres user by default. We need this user when
running `docker_init_postgres.sh`, so let's create it by hand.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 14:12:48 -07:00
John Wu
fb00350c58
Migrate stuff in bootstrap_docker.sh into Dockerfile
...
By using Dockerfile `RUN` command, we can enable docker to cache our
build. Also, much more easier to maintain.
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 13:21:09 -07:00
jbencook
6cccd30553
Upgrade PivotTable.js and enable TSV export
2015-10-06 20:14:05 +00:00
John Wu
0bbcb69197
Remove redis build + use postgres-client package instead of postgres
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 11:43:35 -07:00
John Wu
b0eaffdf6c
tag postgres & redis version in docker-compose.yaml
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 11:42:36 -07:00
John Wu
407a649d17
Use ubuntu instead
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 11:42:19 -07:00
John Wu
73bd83a527
Revert TCP listening address
...
Instead of binding to `0.0.0.0`, use `127.0.0.1` instead for security
concerns. "The Python Web server is more
vulnerable than nginx that proxies it."
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 11:17:48 -07:00
John Wu
72e48a191b
Remove Node.js infra
2015-10-06 11:12:13 -07:00
John Wu
11682b3779
Remove redundant database migration scripts
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-06 10:35:54 -07:00
Arik Fraimovich
a15d7964fa
Merge pull request #585 from matthew-sochor/add-d3js-boxplot
...
Feautre: d3.js based Box Plot visualization.
2015-10-06 17:14:33 +03:00
Matt Sochor
2feb8b81f5
fixup! Removed unused function and options
2015-10-06 10:11:19 -04:00
Arik Fraimovich
6286024350
Merge pull request #589 from shyamgopal/master
...
Fix: Google spreadsheet data source: cast values to their actual type from string
2015-10-06 17:08:53 +03:00
Matt Sochor
0b5dce0ebf
Removed unused function and options
2015-10-06 09:26:33 -04:00
Arik Fraimovich
32311c55e6
Merge pull request #587 from matthew-sochor/add-logarithmic-scale-to-chart
...
Feature: logarithmic scale support in chart
2015-10-06 15:26:46 +03:00
Shyamgopal Kundapurkar
2ac795d6f7
Fixed non-plotting of charts for Google spreadsheet data source
2015-10-06 10:00:32 +05:30
John Wu
d50af7dec9
Use dateRangeEnabled to decided whether we should display the data range selector
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 17:35:41 -07:00
John Wu
20159a1c2a
Separate setDateRangeToExtreme function
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 17:32:46 -07:00
John Wu
06400ed840
Refactor addPointToSeries
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 17:13:36 -07:00
John Wu
0ddc6cf135
Use null to state empty object instead
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 17:13:04 -07:00
John Wu
46a008346f
Use standalone supervisord.conf for docker deployment
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 15:00:52 -07:00
John Wu
21c413f699
Add CMD to start service since docker doesn't support init scripts
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 14:59:52 -07:00
Matt Sochor
e7222944a5
Added logarithmic option to chart x axis type
2015-10-05 17:47:23 -04:00
Matt Sochor
f49839eadf
Add logarithmic y-axis option to chart
2015-10-05 17:42:16 -04:00
John Wu
aa1b72908b
Do not ignore .env file
...
Signed-off-by: John Wu <webmaster@leapoahead.com >
2015-10-05 14:33:20 -07:00
Matt Sochor
5dd457e5f1
fixup! Added d3 box plot visualization
2015-10-05 15:55:07 -04:00
Matt Sochor
a471134e07
Added X and Y axis labels
2015-10-05 15:53:06 -04:00
Matt Sochor
8a8f91ee8f
Added ggplot style gridlines
2015-10-05 14:39:54 -04:00
Matt Sochor
59aa218b24
Added axes to boxplot
2015-10-05 10:44:59 -04:00
Matt Sochor
5fd8dbe523
fixup! Added variable width for box plots
2015-10-04 23:35:13 -04:00
Matt Sochor
a08f3c7cd0
fixup! Added variable width for box plots
2015-10-04 23:30:49 -04:00
Matt Sochor
824d053ddd
Added variable width for box plots
2015-10-04 23:10:49 -04:00
Matt Sochor
b6e61deb24
Added d3 box plot visualization
2015-10-04 21:43:28 -04:00
Matt Sochor
4f40b28120
Added d3js
2015-10-04 21:43:28 -04:00
Arik Fraimovich
5d1c75df1c
Merge pull request #576 from joaofraga/fix/deduplicate-column-names
...
Fix: support for duplicate columns for MySQL query runner
2015-10-01 19:01:49 +03:00
John Wu
28ccaedfff
Ignore .env file
2015-09-30 17:11:56 -07:00
John Wu
1ee05e12fd
Docker support
2015-09-30 14:19:22 -07:00
John Wu
6f91849419
Bind to 0.0.0.0 instead of 127.0.0.1
2015-09-30 10:38:51 -07:00
Joao Fraga
65cc67d1dd
Changed duplicated column name formating
2015-09-30 10:47:49 -03:00
Joao Fraga
a8f6d9e45b
Moved columns full data to BaseQueryRunner to avoid unnecessary loops
2015-09-29 14:56:18 -03:00
Joao Fraga
2c39a2faae
Improved column name formater
2015-09-29 14:53:39 -03:00
Arik Fraimovich
1052528a5f
Merge pull request #577 from EverythingMe/fix/get_key
...
Fix: getKeyFromObject was failing if key had dot in name
2015-09-29 09:38:06 +03:00
Arik Fraimovich
92cd2f1367
Fix: getKeyFromObject was failing if key had dot in name
...
This is due to incorrect use of `_.include` instead of `_.has`.
#571
2015-09-29 09:30:00 +03:00
Joao Fraga
990717a43d
run_query now uses fetch_column to get column names
2015-09-29 01:29:00 -03:00
Joao Fraga
a2608d6a44
Added fetch_columns method to avoid columns duplications
2015-09-29 01:28:39 -03:00
John Wu
dedae03c8c
Remove imagemin grunt task
...
grunt-contrib-imagemin seems to be broken because several dependencies
are quite obsolete and cannot be downloaded.
2015-09-28 17:14:49 -07:00
John Wu
61f2be02b7
Redundant filter removed
2015-09-28 15:06:09 -07:00
John Wu
9eca43801a
Fix: date range does not update in dashboard
...
Replace the whole dateRange object in scope instead of changing min and max properties one-by-one. Given how angular `$watch` works with Moment.js object, I wrote some comment to clarify the right way to update dateRange.
2015-09-28 15:00:55 -07:00
John Wu
bcaefda600
Clearfix date-range-selector
2015-09-28 14:58:26 -07:00
Lior Rozner
42b0430866
Added support for ElasticSearch with basic auth.
...
Initial support for full blown ElasticSearch Search API (https://www.elastic.co/guide/en/elasticsearch/reference/current/search.html )
2015-09-28 08:56:38 -07:00
Arik Fraimovich
445dbb5ade
Merge pull request #573 from easytaxibr/PR/feature/logout_link_for_admin_UI
...
Feature: Add logout link to Admin UI
2015-09-25 08:18:36 +03:00
John Wu
40ee0d8a6e
Add date-range-selector to chart
2015-09-24 15:06:35 -07:00
wesleybatista
a5b738a035
Feature: Add logout link to Admin UI
2015-09-24 18:24:48 -03:00
Arik Fraimovich
e893ab4519
Merge pull request #556 from nathanlubchenco/paramaterized_cohorts
...
Feature: options for Cohort visualization
2015-09-24 21:44:30 +03:00
Arik Fraimovich
8b569379bc
Merge pull request #570 from toru-takahashi/feature/treasuredata
...
Add TreasureData query runner
2015-09-21 14:23:08 +03:00
toru-takahashi
bff3e7c3b2
Add TreasureData query runner
2015-09-21 16:12:34 +09:00
Arik Fraimovich
3fbd0d9579
Merge pull request #560 from stanhu/add-yaxis-label
...
Feature: add ability to configure y-Axis title
2015-09-20 15:27:39 +03:00
Arik Fraimovich
00f4ec16f8
Merge pull request #569 from EverythingMe/fix/remove_warnings
...
Remove import warnings from query runners
2015-09-20 12:39:46 +03:00
Arik Fraimovich
6f24b31858
Update setup.rst
2015-09-20 12:39:29 +03:00
Arik Fraimovich
7a8844180b
Updated cloud images to latest version.
2015-09-20 12:38:06 +03:00
Arik Fraimovich
aefaf204a3
Merge pull request #568 from EverythingMe/fix/bq_timeout
...
Add timeout setting for BigQuery query runner
2015-09-20 12:32:18 +03:00
Arik Fraimovich
1527ea36b1
Remove import warnings from query runners
2015-09-20 12:32:04 +03:00
Arik Fraimovich
a71b83d98a
Add timeout setting for BigQuery query runner
2015-09-20 12:27:58 +03:00
Arik Fraimovich
7add6287dc
Merge pull request #567 from EverythingMe/fixes
...
Remove page title from navbar & limit # of recent entries to 20
2015-09-20 12:02:16 +03:00
Arik Fraimovich
d37b5ed075
Remove title from navbar
2015-09-20 11:18:43 +03:00
Arik Fraimovich
23b8b77feb
Don't send log entries to Sentry.
2015-09-20 11:13:35 +03:00
Arik Fraimovich
46f1478e0d
Make sure only 20 dashboards/queries returned in recent call.
2015-09-20 11:12:44 +03:00
Arik Fraimovich
ec46312bf6
Bump version.
2015-09-20 11:05:56 +03:00
Arik Fraimovich
7c308bee09
Merge pull request #563 from stanhu/allow-admin-to-edit-all
...
Fix: allow admins to edit everything.
2015-09-20 09:46:05 +03:00
Arik Fraimovich
5f656f3868
Fix: upload assets url changed
2015-09-20 09:22:41 +03:00
Arik Fraimovich
4e27331d56
Move vertica requirement to correct requirements file.
2015-09-20 08:52:33 +03:00
Stan Hu
8f28c52b8d
Allow admins to edit everything
...
Closes #562
2015-09-17 17:24:12 -07:00
Stan Hu
47e6960b83
Add ability to configure y-Axis title
2015-09-17 15:57:44 -07:00
nathanlubchenco
0990d93b03
allow defaults for existing visualizations, link time label to time interval
2015-09-16 10:34:22 -06:00
nathanlubchenco
bf88d8b578
explicitly pass in just timeInterval and timeLabel from visualization.options to be watched
2015-09-15 14:57:27 -06:00
nathanlubchenco
384e756817
don't pass data as an argument to scope
2015-09-15 14:52:10 -06:00
nathanlubchenco
d2c46c99eb
actually pass in visualization options
2015-09-15 14:46:40 -06:00
nathanlubchenco
9c2858191f
typo fix
2015-09-15 14:28:51 -06:00
nathanlubchenco
0473de7392
add editor directive
2015-09-15 14:23:33 -06:00
nathanlubchenco
faece4f2c4
fixing mistakes, adding editTemplate and defaultOptions to visualization registration
2015-09-14 16:40:25 -06:00
Arik Fraimovich
c9e74104b1
Merge pull request #549 from shinjiikeda/master
...
Feature: Vertica query runner
2015-09-14 22:58:39 +03:00
nathanlubchenco
d100c915f4
changed text to select and replaced original cohort directive
2015-09-11 13:29:40 -06:00
nathanlubchenco
ef3636145c
Revert "weekly cohort visualization modeled after chort.js"
...
This reverts commit 6210d6ab80 .
2015-09-10 15:29:17 -06:00
nathanlubchenco
6bd7dc9237
paramaterized cohort visualization
2015-09-10 15:10:31 -06:00
nathanlubchenco
6210d6ab80
weekly cohort visualization modeled after chort.js
2015-09-10 14:34:15 -06:00
ike_s
864a12a3be
Merge https://github.com/EverythingMe/redash
2015-09-10 15:40:52 +09:00
Arik Fraimovich
f48c47712d
Merge pull request #553 from EverythingMe/sentry
...
Feature: optional Sentry support
2015-09-10 08:30:44 +03:00
Arik Fraimovich
2c90fb3fa9
Sentry support in Celery
2015-09-10 07:29:44 +03:00
jvasquez
176fd16e95
Adding behavior into the controller.
2015-09-09 16:33:51 -03:00
jvasquez
75d3a63070
Removing extra class from dashboard.html
2015-09-09 14:56:50 -03:00
jvasquez
8c4a5a644e
Clean up branch.
2015-09-09 14:55:14 -03:00
jvasquez
5b024a3518
Hidden widgets
2015-09-09 14:39:43 -03:00
jvasquez
d474267934
Adding hidden options for widgets.
2015-09-09 14:14:27 -03:00
ike_s
9429314b6e
update
2015-09-10 00:57:41 +09:00
EC2 Default User
7cd132b47d
update
2015-09-09 12:17:17 +00:00
EC2 Default User
89661990e7
add vertica query runner
2015-09-09 10:59:37 +00:00
EC2 Default User
01564d7e10
add vertica query runner
2015-09-09 10:59:21 +00:00
Arik Fraimovich
98307aec0d
Make the counter migration safer.
2015-09-09 09:57:54 +03:00
Arik Fraimovich
5de3de12f0
Remove details about datasources, as they're managed through the web UI now.
2015-09-08 12:19:13 +03:00
Arik Fraimovich
dea64734d6
Update instructions on how to flush Redis.
2015-09-08 12:17:30 +03:00
Arik Fraimovich
98857ea64c
Feature: Support for Sentry
2015-09-07 10:51:51 +03:00
Arik Fraimovich
3181f28509
Merge pull request #547 from EverythingMe/fix/counter_vis
...
Fix: allow to control if to render script tags from user input
2015-09-07 09:14:35 +03:00
Arik Fraimovich
37745ad1c0
Fix: allow to control if to render script tags
2015-09-07 08:59:20 +03:00
Arik Fraimovich
5fe5c94b3d
Merge pull request #546 from EverythingMe/fix/counter_vis
...
Improvements to counter visualization:
2015-09-07 08:58:55 +03:00
Arik Fraimovich
59cbafa724
Fix migration - always set target row number
2015-09-07 08:49:04 +03:00
Arik Fraimovich
1d99da5a32
Improvements to counter visualization:
...
1. Ability to take target value from different row.
2. Ability to clear target column name.
3. Use explicit default configuration values instead of "magic" defaults.
2015-09-06 23:30:02 +03:00
Arik Fraimovich
8dfa1ca7bd
Merge pull request #543 from quaninte/fix_gte_mongo
...
Fix $gte mongodb query fail
2015-09-06 11:20:02 +03:00
Arik Fraimovich
1fb6860ee2
Merge pull request #545 from EverythingMe/feature/users_admin
...
Fix: logout wasn't working in Angluar context
2015-09-06 11:18:47 +03:00
Arik Fraimovich
99c50c1f64
Fix: logout wasn't working in Angluar context
2015-09-06 11:18:20 +03:00
Arik Fraimovich
b1576b5a91
Merge pull request #531 from EverythingMe/feature/users_admin
...
Feature: users admin in the web interface
2015-09-06 10:25:18 +03:00
Arik Fraimovich
6f2ee2c0bb
Update vagrant instructions
2015-09-06 10:18:33 +03:00
Arik Fraimovich
eec5e3290b
Return dashboard after archive
2015-09-06 10:17:38 +03:00
Arik Fraimovich
aaac5928c4
Fix: tests w/ celery breaking
2015-09-06 10:15:26 +03:00
Arik Fraimovich
b97b35d9b5
Update icons size in navbar
2015-09-06 10:15:26 +03:00
Arik Fraimovich
6955514ec3
Update documentation re. users admin
2015-09-06 10:15:26 +03:00
Arik Fraimovich
c8d5267bc7
Bump version
2015-09-06 10:15:25 +03:00
Arik Fraimovich
993a861c78
Users UI.
2015-09-06 10:15:25 +03:00
Arik Fraimovich
a11e100050
Tests for users API
2015-09-06 10:15:25 +03:00
Arik Fraimovich
470ec4924c
Remove redash.cache module
2015-09-06 10:15:25 +03:00
Arik Fraimovich
cdb6aaac6e
Split the giant redash.controllers module into a package
2015-09-06 10:15:25 +03:00
Arik Fraimovich
580d33a6f8
API for users resource
2015-09-06 10:14:56 +03:00
Arik Fraimovich
8686694be9
Merge pull request #544 from EverythingMe/fix/archived_dashboard_in_recent
...
Fix: archived dashboards were shown in recent list (and move archive button)
2015-09-03 08:44:10 +03:00
Arik Fraimovich
795a9fe011
Move dashboard archive to dashboard page.
2015-09-03 08:31:51 +03:00
Arik Fraimovich
4b08a3a5f2
Fix #541 : archived dashboards appear in recent list.
2015-09-03 08:31:17 +03:00
Quan MT
d9e8a81655
Fix $gte mongodb query fail
2015-08-28 10:06:18 +07:00
Arik Fraimovich
7000547419
Merge pull request #537 from ekampf/patch-3
...
Docs: Missing --source-uri in command
2015-08-25 23:46:45 +03:00
Arik Fraimovich
e0100543cd
Merge pull request #538 from ekampf/patch-4
...
Docs: Space-separated list of scopes is deprecated. Need to use comma-seper…
2015-08-25 23:46:07 +03:00
Arik Fraimovich
7ea640927f
Merge pull request #539 from ekampf/patch-5
...
Docs: Misc. UI fixes because Google changed their console
2015-08-25 23:45:48 +03:00
Eran Kampf
db26cafc41
Misc. UI fixes because Google changed their console
2015-08-24 17:07:11 -07:00
Eran Kampf
100b9e7c71
Space-separated list of scopes is deprecated. Need to use comma-seperated
2015-08-24 16:53:29 -07:00
Eran Kampf
d3391db8f0
Missing --source-uri in command
2015-08-24 16:50:36 -07:00
Arik Fraimovich
1ad01d8394
Warn about using the bootstrap script with existing machines.
2015-08-19 21:25:36 +03:00
Arik Fraimovich
3ef3f2c01b
Merge pull request #529 from rm420/fix/multifilters_for_bq
...
Enables multi-filtering for big-query.
2015-08-16 11:07:02 +03:00
Ryan McClarnon
371422a9ae
Merge multi-filter check into one statement
2015-08-10 23:58:46 +01:00
Ryan McClarnon
f4af650292
Enables multi-filtering for big-query. Before had issue with hyphen in field name
2015-08-10 16:17:39 +01:00
Arik Fraimovich
5f38e87f01
Fix images links.
2015-08-09 13:26:23 +03:00
Arik Fraimovich
b98e4a27ce
Update images.
2015-08-09 13:25:25 +03:00
Arik Fraimovich
9ff8db31d2
Merge pull request #528 from EverythingMe/chore/packer_update
...
Cleanup packer.json (no longer building GCE image with it).
2015-08-09 11:40:07 +03:00
Arik Fraimovich
446148d07f
Run dist-upgrade before apt-get install
2015-08-09 11:29:01 +03:00
Arik Fraimovich
2d6ca50568
Remove google compute
2015-08-09 11:29:01 +03:00
Arik Fraimovich
650ccac501
Merge pull request #527 from EverythingMe/fix/filters_for_bq
...
Fix: support for filters in BigQuery.
2015-08-09 11:09:21 +03:00
Arik Fraimovich
ab507f0fd5
Update path to tarball.
2015-08-09 11:09:05 +03:00
Arik Fraimovich
7187b5ffee
Fix: support for filters in BigQuery.
...
BigQuery doesn't support :: in column names, so using __ to split instead of ::.
2015-08-09 11:00:35 +03:00
Arik Fraimovich
5e73da1df4
Fix link to tarball (it changes on every build).
2015-08-07 19:34:00 +03:00
Arik Fraimovich
244d25b12c
Fix #524 : use v0.7.1 in bootstrap.sh.
2015-08-07 19:18:18 +03:00
Arik Fraimovich
2dcf676cf2
Fix #525 : make sure we're in right path for requirements_all_ds.txt
2015-08-07 19:14:46 +03:00
Arik Fraimovich
e07af676a5
Fix #526 : install latest setuptools in bootstrap.sh.
2015-08-07 19:12:17 +03:00
Arik Fraimovich
3dea6302de
Merge pull request #523 from EverythingMe/feature/new_home
...
Fix: global_recent isnt set if user has enough recents
2015-08-06 16:58:44 +03:00
Arik Fraimovich
b1ceb60360
Fix: global_recent isnt set if user has enough recents
2015-08-06 16:58:15 +03:00
Arik Fraimovich
1ef94b77e9
Merge pull request #522 from EverythingMe/feature/new_home
...
Feature: "personalized" homepage with recent queries and dashboards
2015-08-06 16:48:29 +03:00
Arik Fraimovich
292d31e490
Improve /personal and use it as default home
2015-08-06 16:42:29 +03:00
Arik Fraimovich
6f0ac1e730
Merge pull request #521 from kataring/update-doc
...
Update docs about data sources for Presto
2015-08-06 10:16:39 +03:00
Noriaki Katayama
9f82e5850d
Update docs about data sources for Presto
2015-08-06 16:02:18 +09:00
Arik Fraimovich
4a18fa07ec
Merge pull request #518 from massaru129/feature/bootstrap_amazon_linux
...
Other: created bootstrap script for amazon linux
2015-08-04 16:17:18 +03:00
Arik Fraimovich
05d1886467
Merge pull request #520 from EverythingMe/docs-datasources
...
Docs: update documentation about data sources
2015-08-02 10:49:57 +03:00
Arik Fraimovich
6e45706825
Update docs about data sources
2015-08-02 10:15:11 +03:00
Arik Fraimovich
464402a233
Merge pull request #519 from EverythingMe/feature/disable_collaborative_editing
...
Feature: ability to disable the ability to edit anyone's query by everyone
2015-08-01 16:41:08 +03:00
Arik Fraimovich
3a56b9ded7
Don't set last_modified_by if only changing ref to last result
2015-08-01 16:36:56 +03:00
Arik Fraimovich
142295671b
Feature flag to control if everyone can edit queries
2015-08-01 16:30:03 +03:00
masaru
0e46a24112
fixed config file pathes
2015-07-31 19:21:36 +09:00
masaru
a3cb698be0
fixed file path
...
the fixed pathes will work if my original files are uploaded
2015-07-31 14:34:25 +09:00
masaru
08730ad113
created bootstrap script for amazon linux
2015-07-31 14:05:48 +09:00
Arik Fraimovich
d155f166d7
Merge pull request #517 from EverythingMe/cleanup
...
Fix: URL query runner was failing without base URL
2015-07-30 21:27:00 +03:00
Arik Fraimovich
ca95e9252f
Fix: URL query runner was failing without base URL
2015-07-30 21:26:14 +03:00
Arik Fraimovich
d078e80e79
Grammar fix.
2015-07-30 14:50:52 +03:00
Arik Fraimovich
8ad1d2672c
Clarify about -i.
2015-07-30 14:49:55 +03:00
Arik Fraimovich
735130efc9
Merge pull request #510 from rghose/patch-1
...
for aws based and password less logins to boxes
2015-07-30 14:46:44 +03:00
Arik Fraimovich
7e6b7398a4
Remove confusing exception logging
2015-07-30 14:36:27 +03:00
Arik Fraimovich
edf8f5b1fd
Fix tests post field name change in #515
2015-07-30 14:36:01 +03:00
Arik Fraimovich
08c09d896a
Merge pull request #516 from EverythingMe/cleanup
...
Fix: multi-filter was broken in newer version of angular-ui-select
2015-07-30 13:36:50 +03:00
Arik Fraimovich
58403634cf
Fix: multi-filter was broken in newer version of angular-ui-select
2015-07-30 13:35:50 +03:00
Arik Fraimovich
2eb171e40d
Merge pull request #515 from moyomot/fix/only_email_authentication
...
Fix: change wording on login screen "username or email" -> "email"
2015-07-30 12:25:37 +03:00
moyomot
3753f58980
authentication are allowed e-mail only.
2015-07-30 17:56:57 +09:00
Arik Fraimovich
fe1cc78ab3
Merge pull request #514 from alexanderlz/master
...
Feature: Support Hive as datasource
2015-07-30 08:48:26 +03:00
Alexander Leibzon
c140668648
minor fixes. working version of Hive datasource.
2015-07-29 23:39:39 +03:00
Arik Fraimovich
41ca1321cf
Merge pull request #513 from EverythingMe/cleanup
...
Cleanup: remove select2 and use ui-select.
2015-07-29 09:36:13 +03:00
Alexander Leibzon
d88340158a
add Hive as datasource
2015-07-29 02:01:22 +03:00
Arik Fraimovich
52f335edd5
Cleanup: remove select2 and use ui-select.
2015-07-28 10:03:56 +03:00
Arik Fraimovich
22200ec7b2
Merge pull request #511 from stanhu/add-primary-key-to-flask-admin
...
Add the primary key to Flask admin to make it possible to lookup queries
2015-07-27 23:40:15 +03:00
Arik Fraimovich
e458ed03c8
Bump version.
2015-07-27 23:38:10 +03:00
Arik Fraimovich
e9f1e3a189
Merge pull request #512 from johnkearney/tidier-requirements
...
Move datasource requirements from bootstrap to own requirements file
2015-07-27 23:32:44 +03:00
John Kearney
d202570b0d
Move datasource requirements from bootstrap to own requirements file
2015-07-27 11:46:53 -07:00
Stan Hu
9b6edde5c8
Add the primary key to Flask admin to make it possible to lookup queries
2015-07-27 10:24:34 -07:00
Rahul Ghose
975c92d40d
for aws based and password less logins to boxes
2015-07-27 13:23:38 +05:30
Arik Fraimovich
27639f83c7
Update index.rst
2015-07-26 22:38:37 +03:00
Arik Fraimovich
c08e6791df
Remove version info from conf.py -- rtd doesn't use it
2015-07-26 15:54:56 +03:00
Arik Fraimovich
5c7158b6ae
Update vagrant instructions
2015-07-26 15:46:26 +03:00
Arik Fraimovich
b886067a9f
Merge pull request #509 from EverythingMe/docs
...
Moving documentation to ReatTheDocs
2015-07-26 15:25:29 +03:00
Arik Fraimovich
2421de8819
Add Sphinx based documentation to the project.
2015-07-26 15:24:16 +03:00
Arik Fraimovich
9e87e42400
Merge pull request #508 from EverythingMe/cleanup
...
Some cleanup (updated settings and bootstrap script)
2015-07-26 12:30:31 +03:00
Arik Fraimovich
8c750826e3
Install dependencies for new sources
2015-07-26 11:49:23 +03:00
Arik Fraimovich
b14b6d1773
Give permission to read user(id, name) to redash_reader
2015-07-26 11:45:58 +03:00
Arik Fraimovich
76cb73f4ce
Add description to the server param of elastic search
2015-07-26 11:45:25 +03:00
Arik Fraimovich
8854a45598
Update to settings:
...
1. Enable API key auth by default.
2. Enable query results cleanup by default.
3. Add ElasticSearch to the enabled query runners list.
2015-07-26 11:44:11 +03:00
Arik Fraimovich
228b8c7614
Merge pull request #507 from EverythingMe/cleanup
...
Fix: when editing alerts show correct column
2015-07-26 11:39:55 +03:00
Arik Fraimovich
5de79213ae
Fix: when editing alerts show correct column
2015-07-26 11:39:22 +03:00
Arik Fraimovich
c7d30c8b87
Merge pull request #498 from EverythingMe/feature/ds_admin
...
Feature: datasources web admin (closes #193 )
2015-07-26 11:35:52 +03:00
Arik Fraimovich
076710f0c6
Bump version
2015-07-26 10:24:09 +03:00
Arik Fraimovich
a9172dac00
Fix: if connection fails connection isn't set
2015-07-26 10:24:08 +03:00
Arik Fraimovich
accca51f39
Feature: web interface to edit datasources
...
* Web interface to add and delete data sources, without the need to ssh
into the server.
* Ability to safely delete datasources -- query results from this data sources
are deleted, while queries get assigned null datasource.
* Updated the BigQuery datasource to use the JSON key file from Google Developer
console. Also both BigQuery and the Google Spreadsheets datasource no longer store
their key on the filesystem, but rather in the DB.
* Minor updates to the Flask Admin.
2015-07-26 10:24:08 +03:00
Arik Fraimovich
5f5774d01b
Merge pull request #506 from EverythingMe/small_fixes
...
Fix: makes sure the totals series is sorted
2015-07-23 15:03:36 +03:00
Arik Fraimovich
00e99d858c
Fix: makes sure the totals series is sorted
2015-07-23 15:03:18 +03:00
Arik Fraimovich
da56dc883f
Merge pull request #505 from EverythingMe/small_fixes
...
Fix: Update URL after creating an alert
2015-07-22 20:38:52 +03:00
Arik Fraimovich
02582cab65
Update URL after creating an alert
2015-07-22 20:38:22 +03:00
Arik Fraimovich
bff4d31ada
Read HOST from env.
2015-07-22 18:19:27 +03:00
Arik Fraimovich
83554207e1
Merge pull request #504 from EverythingMe/fix/python_result_set
...
Fix: cohort was wrong if values were not sorted
2015-07-22 18:06:41 +03:00
Arik Fraimovich
1c0c3e0b93
Fix: cohort was wrong if values were not sorted
2015-07-22 18:05:54 +03:00
Arik Fraimovich
5feb563dc9
Merge pull request #503 from EverythingMe/fix/python_result_set
...
Fix: if you change the result object, python runner wouldn't return any results
2015-07-22 18:03:29 +03:00
Arik Fraimovich
07b88d0b53
Fix: log results were lost
2015-07-22 17:56:49 +03:00
Arik Fraimovich
21f33462d5
Anoter try in removing optipng from build
2015-07-22 17:43:05 +03:00
Arik Fraimovich
6a9d95f1ac
Fix: if you change the result object, python runner wouldn't return any results
2015-07-22 17:36:46 +03:00
Arik Fraimovich
36b80fc4ef
Remove optipng from build artifacts
2015-07-22 17:21:50 +03:00
Arik Fraimovich
d89dd2c9af
Merge pull request #502 from EverythingMe/feature/alerts
...
Feature: alerts on query results
2015-07-22 17:14:29 +03:00
Arik Fraimovich
658af526c7
Add alerts to menu
2015-07-22 17:05:31 +03:00
Arik Fraimovich
3d859ec5f3
Feature: alerts for query results.
...
This is basic implementation for alerts feature, where you can
define a simple rule on the last query result to send an alert.
As part of the implementation added Flask-Mail to the project,
to send emails. Should be useful to make re:dash more "self aware"
(notify users about potential issues, when queries done executing
and more).
2015-07-22 17:05:31 +03:00
Arik Fraimovich
fdff799d23
ng_smart_table: support for inline templates
2015-07-22 17:05:09 +03:00
Arik Fraimovich
5fc0b88b23
ng_smart_table: support for nested objects
2015-07-22 17:05:09 +03:00
Alexander Leibzon
63de247478
add datasources
2015-07-22 14:55:26 +03:00
Arik Fraimovich
5d3caac1b5
Merge pull request #499 from alexanderlz/master
...
Feature: Support Impala as DataSource
2015-07-22 14:23:55 +03:00
Alexander Leibzon
e4b9d23dfe
minor fixes
2015-07-22 14:21:40 +03:00
Alexander Leibzon
890f59a4c9
add get_schema ability to impala
2015-07-22 13:54:00 +03:00
Arik Fraimovich
d4a18ba611
Merge pull request #501 from johnkearney/all_pg_queries_with_no_results
...
All pg queries with no results
2015-07-21 06:47:33 +03:00
John Kearney
c4502b2925
Add a more use-friendly message when redshift returns no rows
2015-07-20 14:17:51 -07:00
Alexander Leibzon
1d5efdd93f
fixes in accordance with pull req spec
2015-07-20 23:21:02 +03:00
John Kearney
2b95da102e
Remove unused exports for env examples
2015-07-20 12:36:10 -07:00
Arik Fraimovich
d512cd0c1d
Merge pull request #500 from EverythingMe/feature/login_events
...
Feature: add event for users logining in
2015-07-20 18:30:57 +03:00
Arik Fraimovich
3dc9c84a98
Feature: add event for users logining in
2015-07-20 18:26:45 +03:00
Alexander Leibzon
4a33b987b8
datasource rename
2015-07-20 02:07:17 +03:00
Alexander Leibzon
f7041977d5
impala datasource fixes
2015-07-20 02:06:15 +03:00
Alexander Leibzon
83bc38579e
impala data source
2015-07-19 01:44:48 +03:00
Arik Fraimovich
4b8a94e795
Merge pull request #495 from EverythingMe/fix/bq_param
...
Fix: Update BigQuery configuration parameter name to avoid confusion.
2015-07-15 19:49:56 +03:00
Arik Fraimovich
406010a7a6
Fix: Update BigQuery configuration parameter name to avoid confusion.
2015-07-15 19:45:55 +03:00
Arik Fraimovich
4f11f28efa
Merge pull request #494 from erans/master
...
MongoDB query runner: cleanup
2015-07-15 18:24:28 +03:00
Eran Sandler
c919602b20
cleanups and shit.
2015-07-15 18:17:55 +03:00
Arik Fraimovich
7702b05635
Merge pull request #493 from erans/master
...
Fix: a generic way to parse all the input JSON and make sure we replace ISODate to Python date times.
2015-07-15 17:50:21 +03:00
Eran Sandler
5fc7c499a3
stupid auto merge.
2015-07-15 17:48:03 +03:00
Eran Sandler
628240906e
Fix: a generic way to parse all the input JSON and make sure we replace ISODate to Python date times.
2015-07-15 17:44:33 +03:00
Arik Fraimovich
41b9b21a20
Merge pull request #492 from erans/master
...
Fix: MongoDB: Date parsing and dates in aggregation $match
2015-07-15 17:03:17 +03:00
Eran Sandler
dbd3f754ba
- Fixed parsing dates in the format of YYYY-MM-DDTHH:mm
...
- Added handling dates in the aggregate $match
2015-07-15 16:58:10 +03:00
Arik Fraimovich
4ef3c27fe6
Merge pull request #489 from kataring/suport-presto
...
Feature: Support Presto
2015-07-15 16:50:51 +03:00
Arik Fraimovich
58a005c71b
Merge pull request #484 from alexanderlz/master
...
Feature: Google Spreadsheets support (alpha)
2015-07-14 12:14:57 +03:00
Alexander Leibzon
9d7ff31178
replace camelcase vars
2015-07-14 12:13:04 +03:00
Noriaki Katayama
93d6b01fbf
add bigint
2015-07-14 16:59:25 +09:00
Arik Fraimovich
7d57f9d0f1
Merge pull request #488 from EverythingMe/fix/mongo-support-sandbox
...
Fix: Drop database name check in MongoDB queries to support sandboxed environments
2015-07-14 08:56:47 +03:00
Arik Fraimovich
e80f470255
Mongo: Drop database name check to support sandboxed environments
2015-07-14 08:51:31 +03:00
Arik Fraimovich
5636cec0eb
Merge pull request #487 from erans/master
...
Fix: Support newer as well as older PyMongo versions
2015-07-14 08:23:58 +03:00
Eran Sandler
912bbc1a4a
Added backwards compatibility mode with older versions of PyMongo.
...
It appears that older versions would return a dictionary from an aggregate operation that had the cursor inside the "result" key.
Newer versions return a new type of cursor called CommandCursor.
2015-07-14 08:19:25 +03:00
Arik Fraimovich
d3bb58167e
Merge pull request #486 from EverythingMe/fix/mysql-noerror-onconnect
...
Fix: no error when failing to connect to a MySQL data source
2015-07-13 19:04:16 +03:00
Arik Fraimovich
2911fa8af7
Bump version.
2015-07-13 18:31:31 +03:00
Arik Fraimovich
4503c6af66
Move the MySQL connect to the try/except block
2015-07-13 18:31:00 +03:00
Arik Fraimovich
7fc2d5ee0b
Update bootstrap.sh to use 0.6.3.
2015-07-13 12:00:28 +03:00
Arik Fraimovich
3c9c1466a3
Merge pull request #483 from erans/master
...
Feature: Updated more fine grained support for CORS in QueryResultAPI
2015-07-13 11:04:10 +03:00
Eran Sandler
4a7c066bf0
Too many languages... :-(
2015-07-13 10:05:07 +03:00
Alexander Leibzon
b850da52a2
remove .nojekyll, naming convention
2015-07-13 09:56:11 +03:00
Eran Sandler
1a3657572e
Added fine grind control of CORS header for QueryResultAPI and possibly future APIs.
2015-07-13 09:42:23 +03:00
Arik Fraimovich
666e3281e4
Merge pull request #482 from erans/master
...
Feature: CORS support for the Query Result API to allow embedding in other domains
2015-07-13 08:41:38 +03:00
Eran Sandler
66084b1a3b
minor fixes
2015-07-12 23:07:06 +03:00
Eran Sandler
421470666a
use set_from_string.
2015-07-12 23:06:00 +03:00
Eran Sandler
f8e2bc9eca
Added configurable CORS support for the Query Result API (to export data as JSON or CSV). Configuration is via an environment variable that is comma separated to include one or more domains (REDASH_QUERIES_RESULT_CORS)
2015-07-12 23:00:50 +03:00
Alexander Leibzon
079fbf33f4
don't execute query if the query string is empty (when changing datasource)
2015-07-12 22:53:08 +03:00
Arik Fraimovich
c195362710
Merge pull request #479 from erans/master
...
Feature: improved error reporting and new log information support for the Python query runner
2015-07-12 22:30:21 +03:00
Arik Fraimovich
b671dd0431
Merge pull request #480 from EverythingMe/feature/multiple-domains
...
Feature: support for multiple domains with Google OAuth
2015-07-12 13:36:17 +03:00
Arik Fraimovich
7793f3b257
Feature: support for multiple Google Auth domains
2015-07-12 12:51:45 +03:00
Arik Fraimovich
e09aa6f81a
Show message for wrong user/password ( closes #275 )
2015-07-12 12:43:37 +03:00
Eran Sandler
780e0c0418
- refactored the Python query runner
...
- Improved error handling to show the real error (including indentation and syntax errors - it should show the right row number)
- Added support for "print" statements which becomes log messages show in a single query window (where you edit). It's on by default. To remove it simply called 'disable_print_log()'
2015-07-12 12:14:46 +03:00
Alexander Leibzon
43edb009d6
safer handling of worksheet num
2015-07-12 01:28:52 +03:00
Alexander Leibzon
81978c5049
jekyll disable
2015-07-11 22:51:31 +03:00
Alexander Leibzon
239813e195
modify google spreadsheed datasource params, only the credentials file needed
2015-07-11 22:43:07 +03:00
Alexander Leibzon
28dd571a03
google spreadsheets working version
2015-07-10 21:27:16 +03:00
Alexander Leibzon
808126cf91
forgot type
2015-07-09 01:22:08 +03:00
Alexander Leibzon
69a8295f4c
forgot type
2015-07-09 01:18:31 +03:00
Arik Fraimovich
a692e3f664
Merge pull request #476 from EverythingMe/feature/api
...
Feature: support for per user API keys
2015-07-08 21:34:06 +03:00
Arik Fraimovich
6860dde1f7
Set api_key to be unique
2015-07-08 21:29:32 +03:00
Arik Fraimovich
e183affdd0
Feature: support for per user api keys
2015-07-08 20:59:07 +03:00
Noriaki Katayama
6338be3811
modified response
2015-07-08 10:33:55 +09:00
Alexander Leibzon
3ee6371250
initial work on google spreadsheets
2015-07-07 01:39:59 +03:00
Noriaki Katayama
4f38d42182
add presto
2015-07-06 18:22:23 +09:00
Arik Fraimovich
39db74ff20
Merge pull request #475 from hakobera/support-infuxdb
...
Feature: Support InfluxDB v0.9+
2015-07-05 22:39:40 +03:00
Arik Fraimovich
05c2c21a85
Bump version.
2015-07-05 22:39:12 +03:00
Kazuyuki Honda
00edc29e50
Support influxdb 0.9+
2015-07-06 01:15:43 +09:00
Arik Fraimovich
3771af0a8c
Update bootstrap.sh to use 0.6.2.
2015-07-05 08:30:11 +03:00
Arik Fraimovich
c32c2d43f7
Bump version.
2015-07-04 10:41:06 +03:00
Arik Fraimovich
4e2e3f9077
Merge pull request #472 from BrunoSalerno/map_visualization_options_fixed
...
map visualization: options fixed
2015-07-04 10:23:55 +03:00
Bruno Salerno
2a27422df9
map visualization: draw_options to scope
2015-07-03 18:02:22 -03:00
Bruno Salerno
f9e0ce8e9c
map visualization: options fixed
2015-07-03 16:45:55 -03:00
Arik Fraimovich
a1d49f13d3
Merge pull request #471 from EverythingMe/fix/visualization_api
...
Fix: opening viz editor resets its options
2015-07-02 13:17:50 +03:00
Arik Fraimovich
26aa199f9c
Fix: opening viz editor resets its options
2015-07-02 13:17:32 +03:00
Arik Fraimovich
4c77f3f914
Merge pull request #470 from EverythingMe/fix/visualization_api
...
Increase limit of tables for showing search.
2015-07-02 11:06:19 +03:00
Arik Fraimovich
d6be792595
Increase limit of tables for showing search.
2015-07-02 11:05:45 +03:00
Arik Fraimovich
59c1ea7f16
Merge pull request #469 from EverythingMe/fix/visualization_api
...
Fix: map - HTTPS support in tiles/marker
2015-07-02 11:05:25 +03:00
Arik Fraimovich
4d24005eff
Fix: map - HTTPS support in tiles/marker
2015-07-02 11:02:44 +03:00
Arik Fraimovich
2dab35b614
Merge pull request #468 from EverythingMe/fix/visualization_api
...
Fix: visualizations API fixes
2015-07-02 08:51:09 +03:00
Arik Fraimovich
0b61b88f5f
Fix: make default options apply to new visualizations
2015-07-02 08:38:08 +03:00
Arik Fraimovich
e5cb58207c
Fix: vis title wasn't updating when changing type
2015-07-02 08:26:10 +03:00
Arik Fraimovich
fc17d1af81
Don't cache static assets in debug mode
2015-07-02 08:25:51 +03:00
Arik Fraimovich
e6650e1e2d
Merge pull request #467 from BrunoSalerno/leaflet-visualization-marker-path-bug-fixed
...
leaflet visualization: marker path bug handled
2015-07-01 22:49:12 +03:00
Bruno Salerno
3aa1cd0133
leaflet visualization: marker path bug handled
2015-07-01 16:40:56 -03:00
Arik Fraimovich
e04833c327
Merge pull request #466 from BrunoSalerno/leaflet-visualization
...
Feature: Map visualization (using Leaflet)
2015-07-01 20:58:43 +03:00
Bruno Salerno
b743cceb60
leaflet visualization: map template margins fixed
2015-07-01 14:53:31 -03:00
Bruno Salerno
a0e134d3b5
leaflet visualization: dinamic height
2015-07-01 14:15:17 -03:00
Bruno Salerno
d7fb2d7458
leaflet-visualization: div size fixed and bounds storting improved
2015-07-01 12:30:48 -03:00
Bruno Salerno
b913ce6022
leaflet visualization: color series named properly
2015-07-01 10:03:43 -03:00
Bruno Salerno
1eb7945d16
leaflet visualization: map bounds are stored and kept
2015-06-30 18:18:34 -03:00
Bruno Salerno
37d0026ee4
leaflet-visualization: point feature
2015-06-30 17:34:31 -03:00
Arik Fraimovich
9cdc2cb2f7
Merge pull request #465 from EverythingMe/fix/time_field_serialize
...
Feature: ability to control series order in charts.
2015-06-30 09:26:26 +03:00
Arik Fraimovich
a9bff9063e
Feature: cli to get status.
2015-06-30 09:25:32 +03:00
Arik Fraimovich
380126ee44
Feature: ability to control series index in charts.
2015-06-30 09:15:00 +03:00
Arik Fraimovich
d8377375b8
Merge pull request #461 from myinsiders/saml
...
Added SAML authentication support, eg for OneLogin or Okta
2015-06-30 08:25:44 +03:00
Arik Fraimovich
98ff701f9a
Merge pull request #464 from EverythingMe/fix/time_field_serialize
...
Fix #463 : support for datetime.time and datetime.timedelta fields
2015-06-29 18:06:25 +03:00
Arik Fraimovich
f5ea3e97d3
Fix: support for datetime.time and datetime.timedelta fields
2015-06-29 18:01:36 +03:00
Mark White
719e96dd2f
Added SAML login option to login form
2015-06-28 17:19:57 +01:00
Arik Fraimovich
6c6c0256ba
Merge pull request #462 from EverythingMe/fix_codemirror_resize_issue
...
Fix: refresh CodeMirror size when schema browser appears
2015-06-28 13:46:12 +03:00
Arik Fraimovich
723df51cdd
Fix: refresh CodeMirror size when schema browser appears
2015-06-28 13:45:49 +03:00
Arik Fraimovich
a0f4e263b2
Merge pull request #459 from olgakogan/patch-2
...
Fixed an error in case a query doesn't have last_modified_date
2015-06-28 10:27:04 +03:00
Arik Fraimovich
4706bf8060
Merge pull request #458 from erans/master
...
Initial and very early support for ElasticSearch query runner
2015-06-28 10:26:26 +03:00
Mark White
f96a9f659a
Added Apache license to code taken from Okta
2015-06-26 11:45:24 +01:00
Mark White
63c273f896
Fixed issue in saml login
2015-06-26 11:12:27 +01:00
Mark White
622ac6d781
Fixes to saml callback server name code
2015-06-26 10:26:59 +01:00
Mark White
8dc564a8bc
Added configuration of flask server name
2015-06-26 09:06:50 +01:00
Mark White
3ae5baef22
Added OneLogin support
2015-06-25 17:52:00 +01:00
olga
8d819068b5
Fixed an error in case a query doesn't have last_modified_date
2015-06-25 11:31:22 +03:00
Eran Sandler
585e056265
Initial very early release of an ElasticSearch query runner. It only support Lucene style queries (single line, similar to what Kibana uses but without aggregations).
2015-06-24 09:53:09 +03:00
Arik Fraimovich
1914ed7c7c
Merge pull request #456 from bells17/master
...
Changed the README's 'Setting up re:dash instance' url to a new url
2015-06-19 10:25:11 +01:00
bells17
bd216e93e7
Changed the README's 'Setting up re:dash instance' url to a new url
2015-06-19 10:20:41 +09:00
Arik Fraimovich
5e351de896
Merge pull request #455 from erans/master
...
added Mongo JSON serializer to correctly serialize ObjectId + datetime.datetime serialization
2015-06-17 10:59:42 +03:00
Eran Sandler
de0e534c77
removed the unnecessary check for datetime.datetime in the JSON encoder.
2015-06-17 10:58:12 +03:00
Eran Sandler
5fa1f9440d
duh!
2015-06-16 11:50:20 +03:00
Eran Sandler
b3ddc5f8b9
removed old conversion of ObjectId to string since it is now part of the new JSON serializer
2015-06-16 11:34:19 +03:00
Eran Sandler
8cde5f9673
added Mongo JSON serializer to correctly serialize ObjectId
2015-06-16 11:27:23 +03:00
Arik Fraimovich
1bb53ca497
Merge pull request #451 from EverythingMe/fix/unicode_in_annotation
...
Fix: charts with category X axis were not sorted properly
2015-06-11 21:46:26 +03:00
Arik Fraimovich
0a3cd9267f
Fix: charts with category x axis were not sorted properly
2015-06-11 21:45:45 +03:00
Arik Fraimovich
075d843354
Merge pull request #449 from EverythingMe/fix/unicode_in_annotation
...
Fix: schema browser chokes on large schemas
2015-06-10 13:36:53 +03:00
Arik Fraimovich
b14e5e8c0e
Fix: schema browser chokes on large schemas
2015-06-10 13:36:05 +03:00
Arik Fraimovich
c9da4be422
Merge pull request #442 from EverythingMe/fix/timezone
...
Fix: when the server has non UTC timezone, timestamps were wrong
2015-06-07 22:23:46 +03:00
Arik Fraimovich
276ee7c27a
Merge pull request #448 from olgakogan/master
...
supervisord default config: separate queue for ad-hoc and scheduled queries
2015-06-07 17:38:53 +03:00
olga
334040532a
changed default concurrency level to 2 per queue
2015-06-07 17:36:24 +03:00
olga
335a3a98b5
separated the queue for ad-hoc and for scheduled queries (someone who runs an ad-hoc query should not wait because there scheduled queries are being refreshed at that time)
2015-06-07 17:28:57 +03:00
Arik Fraimovich
b17080a7f5
Merge pull request #446 from EverythingMe/fix/unicode_in_annotation
...
Fix #443 : open table when searching & don't hide columns
2015-06-05 18:13:05 +03:00
Arik Fraimovich
8441c12b01
Fix #443 : open table when searching & don't hide columns
2015-06-05 18:08:06 +03:00
Arik Fraimovich
3b4af1b6fa
Merge pull request #445 from EverythingMe/fix/unicode_in_annotation
...
Fix #444 : unicode characters in username fail query execution
2015-06-05 16:58:00 +03:00
Arik Fraimovich
c3deb8e2fa
Fix #444 : unicode characters in username fail query execution
2015-06-05 16:49:25 +03:00
Arik Fraimovich
a60b1686da
Fix: when the server has non UTC timezone, timestamps were wrong
2015-06-03 07:58:28 +03:00
Arik Fraimovich
b56e87ceb2
Merge pull request #440 from EverythingMe/fix_ui
...
Fix: python query runner didn't allow iterating lists
2015-05-31 10:20:32 +03:00
Arik Fraimovich
fc89bcdaf3
Fix: python query runner didn't allow accessing dicts
2015-05-31 10:15:48 +03:00
Arik Fraimovich
15ec8321bb
Merge pull request #437 from EverythingMe/fix_ui
...
Feature: ability to disable x axis labels
2015-05-19 22:24:36 +03:00
Arik Fraimovich
e6ba62485c
Merge pull request #436 from EverythingMe/fix_ui
...
Fix: sorting not working for columns with special characters
2015-05-19 22:15:21 +03:00
Arik Fraimovich
9077b01fb9
Feature: ability to disable x axis labels
2015-05-19 22:15:08 +03:00
Arik Fraimovich
f45281be96
Fix: annotation was failing if query had unicode in it
2015-05-19 22:01:02 +03:00
Arik Fraimovich
a1c8ef9037
Merge pull request #435 from EverythingMe/fix_ui
...
Fix: string columns with date/time values failed to render.
2015-05-19 22:00:37 +03:00
Arik Fraimovich
f46e8af23f
Fix: sorting not working for columns with special characters
2015-05-19 22:00:15 +03:00
Arik Fraimovich
30a89bfd2c
Fix: string columns with dates failed to render.
2015-05-19 21:43:50 +03:00
Arik Fraimovich
6312f8738d
Merge pull request #433 from stanhu/make-query-link-obvious
...
Make it obvious that the query link is clickable.
2015-05-17 08:18:19 +03:00
Stan Hu
9e3d5c10c5
Make it obvious that the query link is clickable: underline when hovering and add glyphicon
2015-05-16 22:06:04 -07:00
Arik Fraimovich
59b87ec4fd
Merge pull request #434 from erans/master
...
MongoDB aggregation support + mongo documentation (as comments)
2015-05-17 07:49:20 +03:00
Eran Sandler
27ecf5f25c
Merged the older MongoDB code into the new mongodb query runner to support aggregation
2015-05-16 22:22:33 +03:00
Arik Fraimovich
105971c4c8
Merge pull request #432 from stanhu/allow-undefined-max-age
...
Allow undefined max_age parameter in query_results endpoint
2015-05-15 11:25:24 +03:00
Stan Hu
690f8323c3
Allow undefined max_age parameter in query_results endpoint
...
An Error 500 would be returned by the endpoint if you attempted to
pass a query parameter to the dashboard since maxAge was undefined in JavaScript.
2015-05-14 22:00:08 -07:00
Arik Fraimovich
20eb110ce3
Fix: update_release_commit_sha should return json
2015-05-14 10:09:57 +03:00
Arik Fraimovich
571c9d0aee
Update release manager: update tag commit sha on new release
2015-05-14 09:59:21 +03:00
Arik Fraimovich
0ee7292f16
Merge pull request #431 from EverythingMe/feature/additional_refresh_rates
...
Feature: additional refresh times (5, 10, 15, 30 minutes)
2015-05-14 09:25:35 +03:00
Arik Fraimovich
8c28392dfd
Feature: additional refersh times (5,10,15,30 minutes)
2015-05-13 20:59:39 +03:00
Arik Fraimovich
671f1f4478
Merge pull request #428 from olgakogan/master
...
Feature: support for column types in MySQL query runner
2015-05-12 13:55:56 +03:00
olga
557d3748be
added support to column types in mysql
2015-05-12 12:01:47 +03:00
Arik Fraimovich
f00d080ed2
Install optipng in CircleCI.
2015-05-12 10:33:11 +03:00
Arik Fraimovich
4e76c1305f
Merge pull request #425 from EverythingMe/new_logo
...
New logo
2015-05-12 10:27:01 +03:00
Arik Fraimovich
36ef388e92
Bump version
2015-05-12 10:26:16 +03:00
Arik Fraimovich
2e1ee7f76c
New logo
2015-05-12 10:25:57 +03:00
Arik Fraimovich
fc1e38772d
New logo!
2015-05-11 23:13:15 +03:00
Arik Fraimovich
0e631a5121
Merge pull request #422 from EverythingMe/feature/288_bq_instance_auth
...
Feature: BigQueryGCE query runner that uses instance auth (fixes #288 )
2015-05-10 23:18:45 +03:00
Arik Fraimovich
d74175efca
Feature: BigQueryGCE query runner that uses instance auth
2015-05-10 08:46:41 +03:00
Arik Fraimovich
bf5fe7d2c7
Merge pull request #421 from EverythingMe/fix/issue_417
...
Feature: show visualization name next to query name (#418 )
2015-05-08 22:28:12 +03:00
Arik Fraimovich
0f022aba92
Feature: show visualization name next to query name.
2015-05-07 21:58:12 +03:00
Arik Fraimovich
0b6e55e55a
Remove unused code
2015-05-07 21:58:08 +03:00
Arik Fraimovich
e1c409366c
Merge pull request #420 from EverythingMe/fix/issue_417
...
Fix: Make query editor auto resize again to prevent scroll issues
2015-05-07 21:52:07 +03:00
Arik Fraimovich
3b942118e9
Make query editor auto resize again to prevent scroll issues
2015-05-07 21:39:25 +03:00
Arik Fraimovich
7f1543db8f
Merge pull request #419 from EverythingMe/fix/issue_417
...
Fix #417 : integer columns treated as floats
2015-05-07 21:38:54 +03:00
Arik Fraimovich
74a5121be2
Fix #417 : integer columns treated as floats
2015-05-07 21:25:30 +03:00
Arik Fraimovich
26fe136a1a
Merge pull request #416 from daamien/patch-1
...
Upgrade to requests 2.3.0
2015-05-07 09:30:43 +03:00
damien clochard
83fb189b05
Update requirements.txt
...
The bootstrap.sh script fails on Debian 7.8
I solved the problem with :
$ sudo pip install requests==2.3.0
Check this bug for more details :
https://github.com/kennethreitz/requests/issues/2028
2015-05-06 18:36:24 +02:00
Arik Fraimovich
5e8d0d36c0
Merge pull request #409 from erans/master
...
Fix: minor fixes for MongoDB, script and Python query runners
2015-04-26 11:07:33 +03:00
Eran Sandler
4ae4cffa04
Removed a copy-paste duplication. Hmpf.
2015-04-26 11:05:40 +03:00
Eran Sandler
bc433e88fe
Fix for _getitem_ error when accessing a dictionary directly.
2015-04-26 11:03:53 +03:00
Arik Fraimovich
513ef501a4
Merge pull request #410 from stanhu/sort-by-y-values
...
Feature: sort by Y values charts that have a single value per series
2015-04-26 10:23:06 +03:00
Stan Hu
f2bdcbedfb
Simplify code and remove sortY option to avoid confusion
2015-04-26 00:18:03 -07:00
Stan Hu
fd056edb2a
Support sort by y values for charts that have a single value per series
2015-04-21 22:52:14 -07:00
Eran Sandler
0f0acfdd12
Fix which prevented MongoDB connections to execute queries due to a faulty json schema configuration.
2015-04-22 00:18:28 +03:00
Eran Sandler
1e3b507b2b
For for the script data source when command line parameters are passed as part of the query.
2015-04-21 09:36:05 +03:00
Arik Fraimovich
84d95272f3
Comment out active tasks cleanup, as it sometimes fails.
2015-04-20 10:05:04 +03:00
Arik Fraimovich
3b08e9e214
Merge pull request #408 from alexanderlz/master
...
Feature: additional metadata in query annotation (username, query id, queue name)
2015-04-20 08:48:59 +03:00
Arik Fraimovich
f4be83b06f
Use query id from UI & annotate scheduled queries
2015-04-20 08:46:01 +03:00
Alexander Leibzon
4918d0430c
add redash username/query_id to query for easier backtracking
2015-04-20 02:16:12 +03:00
Arik Fraimovich
e25b86b10d
Merge pull request #398 from lenguyenthedat/data_sources_name_unique
...
Fix: make the data_sources' name unique
2015-04-18 22:51:12 +03:00
Arik Fraimovich
d3d305a843
Make sure data sources have unique names in tests
2015-04-18 22:46:42 +03:00
Arik Fraimovich
825b93bfe9
Fix migration numbering (there is 0007 already)
2015-04-18 22:46:42 +03:00
Arik Fraimovich
8c98282200
Rename only data sources with duplicates
2015-04-18 22:46:42 +03:00
Dat Le
768ac9eb04
Fix: make the data_sources's name unique
...
Also added migration script.
2015-04-18 22:46:42 +03:00
Arik Fraimovich
71011d2fca
Merge pull request #407 from stanhu/add-flask-admin
2015-04-18 22:23:10 +03:00
Arik Fraimovich
9683a8ed82
Dedicated view for data source
2015-04-18 22:21:58 +03:00
Arik Fraimovich
10a6ac9313
Dedicated view for User model
2015-04-18 18:48:44 +03:00
Arik Fraimovich
dba325e9a2
Use ArrayListField for Array fields.
2015-04-18 18:47:54 +03:00
Arik Fraimovich
fcd9ab533c
Fix: correctly call CustomModelConverter __init__.
2015-04-18 18:46:32 +03:00
Arik Fraimovich
68e3e8e1c5
Update name in admin screens
2015-04-18 18:00:52 +03:00
Arik Fraimovich
7f8b738b9e
Fix requirements.txt (peewee was specified twice)
2015-04-18 16:58:05 +03:00
Arik Fraimovich
8a35dcedfa
Merge pull request #406 from stanhu/add-mysql-port
...
Add support for configuring MySQL port
2015-04-18 16:14:26 +03:00
Stan Hu
ef763b7157
Use Flask-Admin to provide basic Web-based /admin page
2015-04-18 04:11:30 -07:00
Stan Hu
498e1d4474
Add support for configuring MySQL port
2015-04-17 22:57:34 -07:00
Arik Fraimovich
73de936c75
Merge pull request #405 from EverythingMe/feature/syntax_highglight
...
Feature: use correct syntax highlighting for Python/Mongo data sources
2015-04-14 17:53:46 +03:00
Arik Fraimovich
e32b709a41
Typo fix in the python query runner
2015-04-14 17:50:36 +03:00
Arik Fraimovich
60652f63c4
Use correct syntax highlighting for Python/Mongo sources
2015-04-14 17:48:36 +03:00
Arik Fraimovich
d0d4101f90
Merge pull request #404 from erans/master
...
Improvement: make Python datasource to use the RestrictedPython sandbox
2015-04-13 16:13:00 +03:00
Eran Sandler
646875794f
Per request by Arik - the BDFL :-)
2015-04-13 15:27:28 +03:00
Eran Sandler
cdad4be0d5
Removed the try..catch block in the import of RestrictedPython since we are putting it in the requirements.txt file.
2015-04-13 15:23:49 +03:00
Eran Sandler
8f4285be62
Minor fixes from code review.
2015-04-13 15:21:43 +03:00
Eran Sandler
acfa55e2d0
Python datasource that uses RestrictedPython. Only modules listed in "allowedImportModules" (command separated) will be allowed to be imported and the code assume they are installed on the server running the actual code.
2015-04-13 11:22:22 +03:00
Arik Fraimovich
0b7cd07db0
Merge pull request #403 from EverythingMe/chore/release_process
...
Fix: schema browser styles
2015-04-08 16:14:30 +03:00
Arik Fraimovich
6297ffd523
Fix: schema browser styles
2015-04-08 16:13:03 +03:00
Arik Fraimovich
368f4fdbef
Merge pull request #402 from EverythingMe/chore/release_process
...
New release process.
2015-04-06 12:51:12 +03:00
Arik Fraimovich
f52044a209
New release process
2015-04-06 12:50:17 +03:00
Arik Fraimovich
9fb33cf746
Merge pull request #399 from EverythingMe/feature/schema
...
Feature: schema browser and simple autocomplete
2015-04-02 17:10:07 +03:00
Arik Fraimovich
e3c5da5bc5
Fix tests to use correct data
2015-04-02 17:05:16 +03:00
Arik Fraimovich
e675690cc6
Sort schema by name
2015-04-02 16:56:00 +03:00
Arik Fraimovich
edc1622cf5
Schema support for MySQL
2015-04-02 16:55:52 +03:00
Arik Fraimovich
5ab3d4a40d
Basic autocomplete functionality
2015-04-02 16:12:33 +03:00
Arik Fraimovich
cb29d87b63
Improve formatting of schema browser
2015-04-02 15:40:43 +03:00
Arik Fraimovich
6ff6bdad9f
Use the correct redis connection in tests
2015-04-02 11:25:42 +03:00
Arik Fraimovich
e3cc3ef9a4
Move schema fetching to DataSource + tests
2015-04-02 11:25:42 +03:00
Arik Fraimovich
1fe4f291f2
Flush test redis db after each test
2015-04-02 11:25:22 +03:00
Arik Fraimovich
a54119f4a2
Show schema along side the query
2015-04-02 11:25:22 +03:00
Arik Fraimovich
c5b7fe5321
Use codemirror directly without ui-codemirror
2015-04-02 11:24:47 +03:00
Arik Fraimovich
d487ec9153
Upgrade codemirror to latest version
2015-04-02 11:24:18 +03:00
Arik Fraimovich
fa19b1ddc8
Endpoint to return data source schema
2015-04-02 11:23:52 +03:00
Arik Fraimovich
267c32b390
Merge pull request #401 from EverythingMe/fix/wrong_time_zone
...
Fix: use correct date when converting to UTC to get correct timezone.
2015-04-02 07:40:27 +03:00
Arik Fraimovich
aeff3f1494
Fix: use correct date when converting to UTC to get correct timezone.
2015-04-02 07:39:37 +03:00
Arik Fraimovich
e80e52f6c9
Add annotations for the injector.
2015-04-01 20:23:18 +03:00
Arik Fraimovich
fe41a70602
Merge pull request #400 from EverythingMe/feature/better_scheduler
...
Improved query scheduling option
2015-04-01 17:28:02 +03:00
Arik Fraimovich
976d9abe2d
Disable UI tests, as they are no longer maintained :-(
2015-04-01 17:23:08 +03:00
Arik Fraimovich
041bc1100a
New UI for query schedule setting
2015-04-01 17:07:19 +03:00
Arik Fraimovich
5d095ff6ab
Resolve #113 : upgrade to latest ui-bootstrap
2015-04-01 12:48:24 +03:00
Arik Fraimovich
ef01b61b29
Fix: refresh selector had empty option
2015-04-01 12:11:14 +03:00
Arik Fraimovich
faad6b656b
Change query ttl field to be a string and named schedule.
...
This to allow other types of scheduling than just repeat every X seconds.
The first supported option will be: repeat every day at hour X.
2015-04-01 11:23:26 +03:00
Arik Fraimovich
0bc775584b
Merge pull request #397 from EverythingMe/feature/edit_others_queries
...
Fix: forking broken
2015-03-22 17:32:13 +02:00
Arik Fraimovich
f2d96d61a1
Fix: forking broken
2015-03-22 17:28:47 +02:00
Arik Fraimovich
09bf2dd608
Merge pull request #396 from EverythingMe/feature/edit_others_queries
...
Feature: allow editing others' queries
2015-03-22 14:53:02 +02:00
Arik Fraimovich
ad1b9b06cf
Fix test.
2015-03-22 14:42:08 +02:00
Arik Fraimovich
a4bceae60b
Allow anyone to edit any query & show who edited it
2015-03-22 13:22:11 +02:00
Arik Fraimovich
9385449feb
Add updated_at timestamp to visualization, query, dashboard and users models
2015-03-22 12:58:26 +02:00
Arik Fraimovich
562e1bb8c9
Merge pull request #395 from EverythingMe/feature/post_to_create_a_query
...
Convert additional dates to user's formatting
2015-03-19 08:54:54 +02:00
Arik Fraimovich
082b718303
Convert additional dates to user's formatting
2015-03-19 08:54:04 +02:00
Arik Fraimovich
c0872899e9
Merge pull request #394 from EverythingMe/feature/post_to_create_a_query
...
Fix: column definitions weren't updated.
2015-03-19 08:43:17 +02:00
Arik Fraimovich
086bbf129d
Fix: column definitions weren't udpated
2015-03-19 08:40:21 +02:00
Arik Fraimovich
4b7561e538
Merge pull request #393 from EverythingMe/feature/post_to_create_a_query
...
Fix: allow Unicode and other special chars in column names
2015-03-19 08:34:06 +02:00
Arik Fraimovich
407c5a839b
Fix: allow Unicode and other special chars in column names
...
Stopped using Angular's $parse and just accessing the property directly.
2015-03-19 08:33:16 +02:00
Arik Fraimovich
b8aefd26b8
Merge pull request #392 from EverythingMe/feature/post_to_create_a_query
...
Support posting to /queries/new to create a new query.
2015-03-18 13:42:55 +02:00
Arik Fraimovich
85a762bcd2
Support posting to /queries/new to create a new query.
2015-03-18 13:28:23 +02:00
Arik Fraimovich
4f1b3d5beb
Merge pull request #391 from EverythingMe/feature/api_key_auth
...
Fix: allow dots in column name
2015-03-16 15:08:00 +02:00
Arik Fraimovich
9218a7c437
Fix: allow dots in column name
2015-03-16 14:59:51 +02:00
Arik Fraimovich
71a3f066a5
Ignore gh-pages branch in CircleCI.
2015-03-16 09:03:52 +02:00
Arik Fraimovich
89436d779c
Merge pull request #390 from fedex1/patch-1
...
Update bootstrap.sh
2015-03-16 05:37:33 +02:00
Ralph Yozzo
3631e938da
Update bootstrap.sh
...
# modified by @fedex1 3/15/2015 seems to be the latest version at this point in time.
2015-03-15 23:27:45 -04:00
Arik Fraimovich
c0a9db68f0
Merge pull request #389 from EverythingMe/feature/api_key_auth
...
Fix: show date/time with respect to user's locale
2015-03-15 18:53:31 +02:00
Arik Fraimovich
bec9c9e14e
Fix: show date/time in user's locale
2015-03-15 18:53:02 +02:00
Arik Fraimovich
47bbc25277
Merge pull request #388 from EverythingMe/feature/api_key_auth
...
Make it possible to set enabled query runners from env
2015-03-12 12:00:26 +02:00
Arik Fraimovich
f02c2588d2
Make it possible to set enabled query runners from env
2015-03-12 11:52:31 +02:00
Arik Fraimovich
7db5449dad
Merge pull request #387 from EverythingMe/feature/api_key_auth
...
Record event when accessing query result from API
2015-03-12 11:46:35 +02:00
Arik Fraimovich
7f6c7f0634
Record event when accessing query result from API
2015-03-12 11:43:21 +02:00
Arik Fraimovich
73955c74f7
Merge pull request #386 from EverythingMe/feature/api_key_auth
...
Code cleanup (remove "worker's status" dead link & unused settings)
2015-03-11 11:30:15 +02:00
Arik Fraimovich
7de85da8ef
Remove unused settings
2015-03-11 07:50:49 +02:00
Arik Fraimovich
0aab35252a
Remove broken "Worker's Status" page
2015-03-11 07:47:10 +02:00
Arik Fraimovich
141dbc9e70
Merge pull request #385 from EverythingMe/feature/api_key_auth
...
Feature: optional API Key authentication instead of HMAC
2015-03-10 18:29:01 +02:00
Arik Fraimovich
2e513c347c
Cleanup
2015-03-10 18:21:51 +02:00
Arik Fraimovich
335c136ec2
Show API Key button in query view
2015-03-10 18:08:02 +02:00
Arik Fraimovich
df1170eb9b
Feature: optional api key only authentication
2015-03-10 17:51:17 +02:00
Arik Fraimovich
69bcaddbe0
Fix: migrations stopped working due to peewee upgrade
2015-03-09 16:55:55 +02:00
Arik Fraimovich
67958cc27b
MySQL query runner: make configuration access safer
2015-03-09 10:16:06 +02:00
Arik Fraimovich
6c716f23d9
Fix migration & query runner for mysql
2015-03-09 08:58:03 +02:00
Arik Fraimovich
bea11b0ac2
Merge pull request #384 from EverythingMe/feature/python_query_runner
...
Experimental Python query runner
2015-03-08 15:03:59 +02:00
Arik Fraimovich
4927386299
Experimental Python query runner
2015-03-08 15:02:57 +02:00
Arik Fraimovich
30a8550f6b
Merge pull request #383 from EverythingMe/fix/migration
...
Fix: make migration work with new peewee
2015-03-08 14:37:42 +02:00
Arik Fraimovich
0389a45be4
Fix: make migration work with new peewee
2015-03-08 13:28:18 +02:00
Arik Fraimovich
707c169867
Merge pull request #382 from EverythingMe/feature/datasources_v2
...
Fix: import should be global
2015-03-08 12:27:34 +02:00
Arik Fraimovich
fca034ac0d
Fix: import should be global
2015-03-08 12:23:51 +02:00
Arik Fraimovich
97691ea5ee
Merge pull request #380 from EverythingMe/feature/datasources_v2
...
Refactor datasources (query runners)
2015-03-08 11:50:09 +02:00
Arik Fraimovich
40335a0e21
Fix: add missing option flags
2015-03-08 11:00:56 +02:00
Arik Fraimovich
9344cbd078
Update bootstrap script to support new format
2015-03-08 10:38:50 +02:00
Arik Fraimovich
9442fd9465
Update logging messages
2015-03-02 09:49:17 +02:00
Arik Fraimovich
c816f1003d
Bump version
2015-03-02 09:45:29 +02:00
Arik Fraimovich
2107b79a80
Use validation for data source editing
2015-03-02 09:44:55 +02:00
Arik Fraimovich
8fae6de8c7
Update datasource CLI to use new format
2015-03-02 09:40:15 +02:00
Arik Fraimovich
d798c77574
Support for already valid data source config
2015-03-02 07:34:06 +02:00
Arik Fraimovich
0abce27381
Set configuration in base ctor
2015-02-24 07:50:10 +02:00
Arik Fraimovich
8a171ba39a
Use JSON Schema for data source configuration
2015-02-24 07:50:10 +02:00
Arik Fraimovich
20af276772
Updated configuration spec to include friendly name and more
2015-02-24 07:50:10 +02:00
Arik Fraimovich
4058342763
WIP: configuration object
2015-02-24 07:50:10 +02:00
Arik Fraimovich
af64657260
Migration to update all data source options
2015-02-24 07:50:09 +02:00
Arik Fraimovich
b6bd46e59e
New query runners implementation
2015-02-24 07:50:09 +02:00
Arik Fraimovich
31fe547e03
Merge pull request #378 from EverythingMe/feature/variables
...
Fix #263 : timestamp fields should be with time zone
2015-02-23 11:10:20 +02:00
Arik Fraimovich
aff324071e
Update peewee version
2015-02-23 09:19:39 +02:00
Arik Fraimovich
131266e408
Fix #263 : timestamp fields should be with time zone
2015-02-23 09:02:16 +02:00
Arik Fraimovich
b1f97e8c8d
Merge pull request #377 from olgakogan/master
...
'Download Dataset' fix - error in case of big numeric values
2015-02-21 15:21:18 +02:00
Arik Fraimovich
9783d6e839
Merge pull request #374 from akariv/master
...
Support unicode queries in search API
2015-02-21 14:48:36 +02:00
akariv
8eea2fb367
Support unicode queries in search API
...
Modify query test case to use unicode strings
2015-02-20 23:49:37 +02:00
olgakogan
b585480c81
removed redundant handling of large numbers when generating a csv file (causes ValueError: timestamp out of range)
2015-02-20 22:33:02 +02:00
Arik Fraimovich
89e307daba
Merge pull request #373 from EverythingMe/feature/variables
...
UI Fixes
2015-02-08 18:18:37 +02:00
Arik Fraimovich
a5eb0e293c
Fix: don't lock query editing while executing
2015-02-08 18:17:08 +02:00
Arik Fraimovich
48d1113225
Fix #371 : show notification when query fails.
2015-02-08 18:08:24 +02:00
Arik Fraimovich
d82d5c3bdc
Merge pull request #372 from EverythingMe/feature/variables
...
Several UI fixes
2015-02-08 18:05:05 +02:00
Arik Fraimovich
dfe58b3953
Give the user the option to disable sorting of chart data
2015-02-08 18:02:36 +02:00
Arik Fraimovich
44019b8357
Variables: allow nesting variables
2015-02-08 17:07:20 +02:00
Arik Fraimovich
3c15a44faf
Fix: keyboard shortcuts were not unbinded
2015-02-08 17:07:06 +02:00
Arik Fraimovich
8d113dadd2
Revert "Fix #242 : handle the case there is no connection to the server"
...
This reverts commit 3960005002 .
Conflicts:
rd_ui/app/index.html
rd_ui/bower.json
2015-02-02 18:02:42 +02:00
Arik Fraimovich
c1dd26aee7
Merge pull request #370 from alexanderlz/master
...
add ISO datetime to filename when saving chart as image
2015-02-02 10:52:00 +02:00
Alexander Leibzon
b2228c2a39
replace 'possibly dangerous for some OSs' characters
2015-02-01 15:29:46 +02:00
Alexander Leibzon
d9618cb09c
add ISO datetime to filename when saving chart as image
2015-02-01 14:52:58 +02:00
Arik Fraimovich
c8ca683d3a
Merge pull request #368 from alexanderlz/master
...
Issue #168 . Visualization: save as image.
2015-02-01 13:22:40 +02:00
Alexander Leibzon
888963ffaa
Merge branch 'master' of https://github.com/alexanderlz/redash
...
Conflicts:
rd_ui/app/index.html
rd_ui/bower.json
2015-02-01 13:20:26 +02:00
Alexander Leibzon
ae947a8310
removing unwanted commit
2015-02-01 13:18:57 +02:00
Alexander Leibzon
bee9cde347
removing unwanted commit
2015-02-01 12:00:23 +02:00
Arik Fraimovich
c131dab125
Merge pull request #369 from EverythingMe/fix/dashboard_filters
...
Fix: filters got linked when they shouldn't have.
2015-02-01 11:57:46 +02:00
Arik Fraimovich
e113642ae4
Fix: filters got linked when they shouldn't have.
...
- Make a copy of the first filter, to prevent it controlling the other filters.
- If no query string value given or dashboard filters enabled, don't link filters.
2015-02-01 11:51:07 +02:00
Arik Fraimovich
b76906b168
Merge pull request #367 from EverythingMe/feature/offline
...
Fix #242 : handle the case there is no connection to the server
2015-01-29 20:46:32 +02:00
Arik Fraimovich
3960005002
Fix #242 : handle the case there is no connection to the server
2015-01-29 20:43:03 +02:00
Arik Fraimovich
3dde578b86
Only try to render params if they are required.
2015-01-29 15:33:08 +02:00
Arik Fraimovich
813f0e74ff
Merge pull request #366 from EverythingMe/fix/mget_error
...
Several chart editor fixes and additions
2015-01-27 22:49:41 +02:00
Arik Fraimovich
1e4e37c2ce
Ability to set y axis min/max ( closes #257 )
2015-01-27 22:45:16 +02:00
Arik Fraimovich
a00c80eab2
Don't change zIndex if it was already set
2015-01-27 22:30:26 +02:00
Arik Fraimovich
496e5ebe8c
Fix: if new series was created in result set, it wasn't using the default chart type
2015-01-27 22:23:10 +02:00
Arik Fraimovich
18cc8434a0
Merge pull request #365 from EverythingMe/fix/mget_error
...
Fix: when no queries are being run, cleanup job fails with error
2015-01-27 18:39:26 +02:00
Arik Fraimovich
5eba318019
Fix: when no queries are being run, cleanup job fails with error
2015-01-27 18:23:21 +02:00
Arik Fraimovich
63274dbb17
Merge pull request #363 from EverythingMe/feature/query_parameters
...
Feature: support for query parameters
2015-01-27 18:22:29 +02:00
Arik Fraimovich
4c73e788ae
Ability to set ttl (max age) from query string
2015-01-27 17:17:58 +02:00
Arik Fraimovich
b71a2b3651
Enable query params in dashboard
2015-01-27 17:00:21 +02:00
Arik Fraimovich
521a32dfff
Merge pull request #364 from EverythingMe/fix/missing_text_widgets
...
Remove unneeded where clause which was preventing from text widgets to show.
2015-01-27 12:59:58 +02:00
Arik Fraimovich
fd6ebe6e12
Remove unneeded where clause which was preventing from text widgets to show.
2015-01-27 12:52:17 +02:00
Arik Fraimovich
6fb97675ad
Add mustache to Karma conf
2015-01-27 11:28:51 +02:00
Arik Fraimovich
c0c102207d
Initial work on support for query parameters
2015-01-27 10:28:11 +02:00
Arik Fraimovich
3b9d9ac75d
Merge pull request #362 from joeysim/ctrl-s-for-save
...
added support for saving query with ctrl+s
2015-01-26 07:31:53 +02:00
Joey Simhon
2536fd57ed
added support for saving query with cmd+s
2015-01-25 22:52:31 +02:00
Arik Fraimovich
d941e5e5b1
Merge pull request #361 from EverythingMe/DAT-825
...
Fix: fail with 403 when user not allowed to archive query.
2015-01-25 17:44:58 +02:00
Arik Fraimovich
039b0a89bb
Merge pull request #359 from alexanderlz/master
...
add 'autoclose' to notifications (i.e. close after 3 seconds)
2015-01-25 17:35:53 +02:00
Arik Fraimovich
febf9939c8
Fix: fail with 403 when user not allowed to archive query.
2015-01-25 17:30:10 +02:00
Arik Fraimovich
bb84c6dab8
Merge pull request #360 from EverythingMe/DAT-825
...
Fix Gruntfile.js settings to copy font files.
2015-01-25 17:29:57 +02:00
Arik Fraimovich
cddc00e2cc
Fix Gruntfile.js settings to copy font files.
2015-01-25 17:28:41 +02:00
Alexander Leibzon
091e3d41e1
add 'autoclose' to notifications (i.e. close after 3 seconds)
2015-01-25 17:14:06 +02:00
Arik Fraimovich
9dc3a35c1a
Merge pull request #357 from alexanderlz/master
...
Bug #303 : 'Show Total' duplicates values on multiple runs
2015-01-25 16:27:24 +02:00
Arik Fraimovich
f8878d3006
Merge pull request #358 from EverythingMe/DAT-825
...
Feature: archive query
2015-01-25 16:24:32 +02:00
Arik Fraimovich
1c0d596f26
Bump version due to migration.
2015-01-25 16:23:58 +02:00
Arik Fraimovich
1afd2ab388
Refactoring of @christophervalles work on query delete feature:
...
- Change delete into archive.
- Safely remove widgets.
- Make sure archived queries don't get scheduled, or show up in search.
- If direct link to query used, show notification.
- Tests.
- Some more.
2015-01-25 16:17:52 +02:00
Christopher Valles
4aa9500402
Working on delete query
2015-01-25 16:16:31 +02:00
Alexander Leibzon
4a8a4482fc
add {} for readability
2015-01-25 15:29:45 +02:00
Alexander Leibzon
d83849a1b5
fix to apply with the original logic
2015-01-25 14:44:02 +02:00
Alexander Leibzon
44272f5d66
Bug #303 : 'Show Total' duplicates values on multiple runs
2015-01-24 22:02:13 +02:00
Arik Fraimovich
83727ae931
Merge pull request #356 from alexanderlz/master
...
Bug #307 Fix: Notifications stopped working
2015-01-22 12:01:30 +02:00
Alexander Leibzon
0b0b88a255
remove unused line
2015-01-22 00:27:01 +02:00
Alexander Leibzon
f23d709f4e
Bug #307 fix. Notifications stopped working
2015-01-22 00:16:31 +02:00
Arik Fraimovich
88abbc7ea6
Merge pull request #355 from EverythingMe/feature/personal_home
...
Several small fixes
2015-01-20 16:36:32 +02:00
Arik Fraimovich
16f0413af8
Fix: don't show dashboard filters where it's not enabled
2015-01-20 16:35:55 +02:00
Arik Fraimovich
f47020a64d
Report personal page as different page
2015-01-20 16:32:31 +02:00
Arik Fraimovich
55e1ef81f7
Add activity_log to list of tables redash_reader can query
2015-01-20 16:32:31 +02:00
Arik Fraimovich
6bb43d0411
Merge pull request #354 from EverythingMe/feature/personal_home
...
Feature: personal home with recent queries & dashboards
2015-01-19 12:15:13 +02:00
Arik Fraimovich
f51c2328c9
Feature: personal home with recent queries & dashboards
2015-01-19 12:09:06 +02:00
Arik Fraimovich
fd37188ace
Merge pull request #353 from EverythingMe/bug/dashboard_auto_refresh
...
Fix: nulls converted to strings in UI
2015-01-19 10:51:44 +02:00
Arik Fraimovich
758e27ce91
Fix: nulls converted to strings in UI
2015-01-19 10:49:39 +02:00
Arik Fraimovich
9a3b25eb50
Merge pull request #352 from EverythingMe/bug/dashboard_auto_refresh
...
Fix: dashboard auto refresh stopped working
2015-01-19 09:14:32 +02:00
Arik Fraimovich
6da890dfb8
FIX: dashboard auto refresh stopped working
2015-01-19 08:32:40 +02:00
Arik Fraimovich
0d35ec7139
Merge pull request #349 from erans/master
...
Minor bug fixes + supprot for limit and skip in simple query
2015-01-18 10:11:27 +02:00
Arik Fraimovich
dc0f9a63cb
Merge pull request #351 from joeysim/search_improvements
...
Search improvements
2015-01-18 09:22:41 +02:00
Arik Fraimovich
21c042996e
Merge pull request #350 from joeysim/ctrl_enter_exec
...
Added support for Cmd+Enter query execution for PCs
2015-01-18 09:21:32 +02:00
Joey Simhon
5f22adadf2
ordering all_queries by created_at desc for better relevancy with big lists
2015-01-17 21:19:22 +02:00
Joey Simhon
4e8888ce2f
sort searched queries by creation time, assuming the newer queries are usually more relevant
2015-01-17 21:14:56 +02:00
Joey Simhon
0a69609d38
Added support for Cmd+Enter query execution for PCs
2015-01-17 00:32:21 +02:00
Eran Sandler
2dbcd88313
added support for skip and limit
2015-01-15 17:14:48 +02:00
Eran Sandler
6b0775f7c7
fixed an issue where 'query' element is missing as well as a bad sort order in simple queries
2015-01-15 17:11:32 +02:00
Arik Fraimovich
e85d3c3c9f
Merge pull request #348 from EverythingMe/feature/additional_manage_commands
...
Feature: new data source management commands in manage.py
2015-01-14 12:35:13 +02:00
Arik Fraimovich
e20f57bba8
Added edit & delete commands to data source cli
2015-01-14 12:23:53 +02:00
Arik Fraimovich
933ace2e38
Split CLI commands to several files for easier editing and naming.
2015-01-14 10:52:11 +02:00
Arik Fraimovich
4c1e5aed6b
Remove import from settings command (obsolete).
2015-01-14 10:27:53 +02:00
Arik Fraimovich
77d982b4aa
Merge pull request #347 from barnash/query-params-for-filters
...
Query params for filters
2015-01-13 22:35:32 +02:00
barnash
02c8163265
Changed the query param to something more url friendly
2015-01-12 18:56:44 +02:00
Arik Fraimovich
ef868dbb6e
Merge pull request #346 from erans/master
...
Initial support for Mongo's aggregation framework.
2015-01-12 18:17:41 +02:00
Iftach Bar
b2bab33baa
added support for deep links to dashboards with saved filters
2015-01-12 09:23:27 +02:00
Iftach Bar
149e0835f8
fixed jshint stuff - semicolon in different places
2015-01-12 09:22:53 +02:00
Eran Sandler
50bed1d8f2
Initial support for Mongo's aggregation framework.
2015-01-11 12:37:37 +02:00
Eran Sandler
d4b5d78743
Perform a JSON.stringify on values who's type is "object"
2015-01-11 12:28:21 +02:00
Arik Fraimovich
7fc82a2562
Merge pull request #345 from EverythingMe/vagrant_dev
...
Developer Vagrant box for easier contribution
2014-12-30 07:52:07 +02:00
Arik Fraimovich
92fb138c2c
Vagrant file to use the redash/dev box
2014-12-30 07:45:30 +02:00
Arik Fraimovich
71b4b45a3c
Merge pull request #344 from EverythingMe/feature/query_results_cleanup
...
Job to cleanup unused query results
2014-12-25 15:58:10 +02:00
Arik Fraimovich
07f4a1b227
Fix: wiredep failing after version upgrade
2014-12-25 15:52:52 +02:00
Arik Fraimovich
e116e88e98
Job to cleanup unused query results
2014-12-25 15:39:49 +02:00
Arik Fraimovich
2278a181ca
Merge pull request #339 from EverythingMe/counter-vis
...
bugfix: Counter visualization font size issues
2014-11-11 18:21:29 +02:00
Amir Nissim
98dc75a404
bugfix: Counter visualization was not watching for filter changes
2014-11-11 13:04:45 +02:00
Amir Nissim
536918aab3
bugfix: Counter visualization font size issues
2014-11-10 15:21:03 +02:00
Arik Fraimovich
c75ac80c7a
Merge pull request #333 from EverythingMe/fix/import
...
Fix: mixed number columns was wrongly detected as integer
2014-11-05 11:33:46 +02:00
Arik Fraimovich
522d8542e9
Fix: mixed number columns was wrongly detected as integer
2014-11-05 11:30:17 +02:00
Arik Fraimovich
562df44c22
Merge pull request #331 from EverythingMe/fix/import
...
Fixes and improvements to import dashboard command:
2014-11-04 07:34:59 +02:00
Arik Fraimovich
86e6798c96
manage.py: better output for list data sources command
2014-11-04 07:26:32 +02:00
Arik Fraimovich
db7a287e82
manage.py: list all users command
2014-11-04 07:26:16 +02:00
Arik Fraimovich
518206f208
Fixes and imporvements to import dashboard:
...
- Update it to not expect query result.
- Add support for specifying data source.
- Create mapping file if it doesn't exist yet.
2014-11-04 07:24:51 +02:00
Arik Fraimovich
bcee1e12b4
Merge pull request #325 from EverythingMe/feature/search-by-id
...
Add support for searching for query by id
2014-10-30 08:23:41 +02:00
Arik Fraimovich
410f4f35e2
Add support for searching for query by id
2014-10-30 07:58:53 +02:00
Arik Fraimovich
84ea9fec43
Merge pull request #323 from EverythingMe/counter-vis
...
Counter visualization
2014-10-27 13:58:58 +02:00
Amir Nissim
cda82b7adc
#27 : use <select> for columns names
2014-10-27 11:47:38 +02:00
Amir Nissim
f2d8c2020b
#27 : counter and target as query params, change UI
2014-10-27 11:34:56 +02:00
Amir Nissim
1b82ecbc46
#27 : Counter visualization draft
2014-10-26 15:42:57 +02:00
Arik Fraimovich
e381331c36
Merge pull request #319 from EverythingMe/bug_292
...
#292 : Customizable series colors
2014-10-23 14:44:02 +03:00
Amir Nissim
ff58247987
#292 : move color palette to ng_highcharts
2014-10-23 14:36:30 +03:00
Amir Nissim
dcf0d2cbe3
#292 : Customizable series colors
2014-10-23 13:46:43 +03:00
Arik Fraimovich
eb99fa5671
Merge pull request #318 from EverythingMe/docs_setup
...
Packer: make re:dash version configurable
2014-10-22 12:01:32 +03:00
Arik Fraimovich
ce3e19f212
Make redash version configurable
2014-10-22 11:55:17 +03:00
Arik Fraimovich
44dca6da01
Spelling mistakes.
2014-10-21 19:02:17 +03:00
Arik Fraimovich
34c9fee540
Link to new setup instructions.
2014-10-21 19:01:40 +03:00
Arik Fraimovich
e0b13b2ffa
Merge pull request #316 from EverythingMe/feature_users_cli
...
Add commands to change user's password and grant admin
2014-10-21 18:57:40 +03:00
Arik Fraimovich
df362c12b6
Add commands to change user password and grant admin
2014-10-21 18:51:23 +03:00
Arik Fraimovich
0d1f8c948a
Merge pull request #309 from EverythingMe/docs_setup
...
Setup script for Ubuntu/Debian + packer configuration
2014-10-21 18:42:26 +03:00
Arik Fraimovich
f523378326
Setup script for Ubuntu/Debian + packer configuration
...
This script is intended to work on Ubuntu 12.04, Ubuntu 14.04 and Debian Wheezy (for GCE users).
To make sure we use the same version of Redis across all distributions we install from source,
and to make sure we use the same version of PostgreSQL we install it from PostgreSQL's apt.
Also included Packer configuration to generate GCE & AWS images.
2014-10-21 18:28:39 +03:00
Arik Fraimovich
b0f9e49709
Merge pull request #313 from erans/master
...
Forced setting a script execution path
2014-10-21 14:32:03 +03:00
Eran Sandler
b6dbb4e3f8
forced setting a script execution path
2014-10-21 11:20:31 +03:00
Arik Fraimovich
3f6a0e8ffa
Merge pull request #312 from erans/master
...
MongoDB ReplicaSet support and a new connection string format.
2014-10-21 10:21:49 +03:00
Eran Sandler
a7bcc6d31e
Added support for MongoDB ReplicaSet as well as changed the connection string format to a JSON based one (like BigQuery). Check the wiki for an example.
2014-10-21 10:16:48 +03:00
Arik Fraimovich
8aa2d8e70a
landscape.io configuration file
2014-10-19 13:41:29 +03:00
Arik Fraimovich
4720e12be7
add angular-ui-select to list of dependencies
2014-10-15 17:56:32 +03:00
Arik Fraimovich
5463591f0d
Merge branch 'feature/dashboard_add_query_by_name'
2014-10-15 17:45:57 +03:00
Arik Fraimovich
2a0198fba8
Make search expect at least 2 characters
2014-10-15 17:45:39 +03:00
Arik Fraimovich
652f214b25
Updated bower dependencies:
...
- Angular 1.2.7 -> 1.2.18 (to support angular-ui-select).
- angular-resource and angular-route to match Angular version.
- angular-growl to latest version that supports ~1.2.
- Change version of angular-ui-select to specific one.
2014-10-15 17:42:08 +03:00
Arik Fraimovich
aa49780134
Use unminified version of angular-ui-select
2014-10-15 17:41:55 +03:00
Raymond
f483b61cfb
add global html sanitizer
2014-10-15 20:55:29 +08:00
Arik Fraimovich
38a189b671
Merge pull request #306 from raymoondtang/fix/clomun_type_ingeter
...
Client fix, clomun type support ingeter
2014-10-15 15:46:15 +03:00
Raymond
c2331988db
use selected_query for ng-show of visualisation form
2014-10-15 20:32:15 +08:00
Raymond
eff5bdb454
Merge branch 'master' of github-yalo:EverythingMe/redash into fix/clomun_type_ingeter
2014-10-15 19:29:01 +08:00
Raymond
bd1babec3a
Add query to dashboard based on name not query id, issue #171
2014-10-15 14:46:55 +08:00
Raymond
d43c2bbf62
table column type handle both integer and float
2014-10-13 12:57:42 +08:00
Arik Fraimovich
87db8099d6
Fix: need to group by runtime and retrieved_at
2014-10-06 09:53:02 +03:00
Arik Fraimovich
ebea118c7d
Merge pull request #300 from EverythingMe/feature_google_oauth
...
Remove query stats (runtime, last retrieve) from search as it was too slow
2014-10-06 09:45:03 +03:00
Arik Fraimovich
297ac5c9bd
Fix markdown filter (failing for undefined)
2014-10-06 09:41:56 +03:00
Arik Fraimovich
9b23fb4235
Remove query stats from search, as it was too slow
2014-10-06 09:41:40 +03:00
Arik Fraimovich
0a71f5e22d
Merge pull request #298 from erans/master
...
Initial support for MongoDB.
2014-10-06 08:26:03 +03:00
Arik Fraimovich
0a8aaceb85
Merge pull request #299 from EverythingMe/feature_google_oauth
...
Show last execution time & runtime in search results + event tracking
2014-10-06 08:25:17 +03:00
Arik Fraimovich
00979f3ad7
Event tracking for search
2014-10-06 08:00:56 +03:00
Arik Fraimovich
c7b48837f2
Show last execution time & runtime in search results
2014-10-06 07:55:17 +03:00
Eran Sandler
418c5322c1
added extra error handling for invalid query and invalid database name
2014-10-02 12:42:46 +03:00
Arik Fraimovich
dc5b4c26a3
Updated README: link to new demo instance.
2014-10-02 07:57:52 +03:00
Eran Sandler
9ed0a5ba85
removed a debug message and change to a better error message when collection is not specified.
2014-09-30 18:43:40 +03:00
Eran Sandler
db0770fc17
Initial support for MongoDB.
...
Support simple queries using the a JSON format:
{
"collection" : THE NAME OF THE COLLECTION TO QUERY,
"query" : {
A DICTIONARY FOR QUERYING FIELDS (similar to what you would find in PyMongo
},
"fields" : {
LIST OF FIELDS TO RETURN IN THE SPECIFIED ORDER
},
"sort" : {
LIST OF FIELDS TO SORT BY (1 - Ascending, -1 - descending)
}
}
For example:
{
"collection" : "mycoolcollection",
"query" : {
"fieldA" : { "$gte" : 5 },
"created" : { "$lt" : "ISODate(\"2014-09-01 23:43\")" }
},
"fields" : {
"fieldA" : 1,
"created" : 2
},
"sort" : {
"created" : -1
}
}
2014-09-30 18:34:35 +03:00
Arik Fraimovich
9bb58e71d2
Merge pull request #296 from EverythingMe/feature_google_oauth
...
Feature: basic search page for queries
2014-09-30 08:43:16 +03:00
Arik Fraimovich
560598eaad
Search UI.
2014-09-30 08:39:13 +03:00
Arik Fraimovich
f9144fc927
Naive search implementation.
2014-09-30 08:37:59 +03:00
Arik Fraimovich
883bf173c0
Merge pull request #295 from EverythingMe/feature_google_oauth
...
Feature: support markdown in query description (fixes #293 )
2014-09-29 18:15:24 +03:00
Arik Fraimovich
3f2bb65b32
Show markdown in query view too
2014-09-29 18:10:17 +03:00
Arik Fraimovich
3917af019a
Feature: support markdown in query description
2014-09-29 17:59:40 +03:00
Arik Fraimovich
e88837e835
Merge pull request #291 from EverythingMe/feature_google_oauth
...
Move event recording to Celery/database instead of log file
2014-09-27 17:45:55 +03:00
Arik Fraimovich
7abdc2543e
update manage.py to use new Event.record method.
2014-09-27 17:45:04 +03:00
Arik Fraimovich
91ab90a6fe
Move event recording to Celery/database instead of log file
2014-09-27 17:41:50 +03:00
Arik Fraimovich
7fd2bd3d24
Merge pull request #290 from EverythingMe/feature_google_oauth
...
Clearer google login button
2014-09-27 16:26:02 +03:00
Arik Fraimovich
3ed1ea1e33
Clearer google login button
2014-09-26 13:13:05 +03:00
Arik Fraimovich
a4486c56b9
Merge pull request #289 from EverythingMe/feature_google_oauth
...
Fix: add necessary scope to get user's name
2014-09-26 00:40:11 +03:00
Arik Fraimovich
3da0ecf36c
Fix: add necessary scope to get user's name
2014-09-25 17:55:43 +03:00
Arik Fraimovich
11a1095b18
Merge pull request #284 from EverythingMe/feature_google_oauth
...
Feature: Google OAuth support (instead of deprecated OpenID)
2014-09-24 18:13:45 +03:00
Arik Fraimovich
b43485f322
Update tests
2014-09-21 10:11:03 +03:00
Arik Fraimovich
d83675326b
Only enable google oauth if client id & secret provided
2014-09-21 09:07:52 +03:00
Arik Fraimovich
8d7b9a552e
Google OAuth support ( fixes #223 )
2014-09-21 08:53:41 +03:00
Arik Fraimovich
e1eb75b786
Add to requirements flask-oauth and remove flask-googleopenid
2014-09-21 08:48:15 +03:00
Arik Fraimovich
34a3c9e91c
Link to wiki in readme
2014-09-17 16:14:49 +03:00
Arik Fraimovich
e007a2891d
Fix build status image in readme
2014-09-17 16:06:15 +03:00
Arik Fraimovich
febe6e4aa7
Update readme
2014-09-17 16:04:30 +03:00
Arik Fraimovich
8099dafc68
Merge pull request #283 from EverythingMe/fix_stuck_jobs
...
Update psycopg2 to 2.5.2.
2014-09-15 09:28:47 +03:00
Arik Fraimovich
ce3d5e637f
Update psycopg2 to 2.5.2.
...
In 2.5.1 they had an issue, where OperationalError exception was causing SEGFAULT
when being pickled. This was crashing the Celery worker, causing the jobs to be lost.
2014-09-15 07:25:35 +03:00
Arik Fraimovich
4a52ccd4fa
Gitter integration for CircleCI.
2014-09-14 18:23:02 +03:00
Arik Fraimovich
a0c81f8a31
Merge pull request #281 from EverythingMe/fix_stuck_jobs
...
Several fixes to reduce cases of stuck jobs
2014-09-11 07:50:35 +03:00
Arik Fraimovich
ce13b79bdc
Use correct logging level
2014-09-11 07:47:30 +03:00
Arik Fraimovich
c580db277d
Add cleanup_tasks job.
...
Enumerates all locks and removes those of non existing jobs. Useful
for case the worker is being cold restarted, and jobs are finished
properly.
2014-09-11 07:42:36 +03:00
Arik Fraimovich
5e944e9a8f
If found lock is for a ready job, ignore it.
...
ready - revoked, finished or failed.
2014-09-11 07:41:43 +03:00
Arik Fraimovich
4b94cf706a
Set default locks expiry time to 12 hours
2014-09-11 07:41:23 +03:00
Arik Fraimovich
364c51456d
Set expiry time to locks, just in case for some reason they get stuck.
2014-09-11 07:40:20 +03:00
Arik Fraimovich
1274d36abc
Merge pull request #280 from EverythingMe/fix_stuck_jobs
...
Fix #261 : cancelling jobs sends them to limbo
2014-09-06 18:12:03 +03:00
Arik Fraimovich
f6bd562dd2
Remove cleanup_tasks, as it's not stable
2014-09-06 18:09:04 +03:00
Arik Fraimovich
065d2bc2c6
Schedule removal of dead tasks
2014-09-06 14:18:35 +03:00
Arik Fraimovich
653ed1c57a
Add cleanup task to remove locks of dead jobs
2014-09-06 14:18:15 +03:00
Arik Fraimovich
7dc1176628
Fix #261 : cancelling jobs sends them to limbo
2014-09-06 13:56:36 +03:00
Arik Fraimovich
365b8a8c93
Merge pull request #279 from EverythingMe/json-results
...
API - query results in JSON format. fixes #278
2014-09-03 12:07:36 +03:00
Arik Fraimovich
6e1e0a9967
Merge QueryResultAPI with CSVQueryResultAPI
2014-09-03 11:55:17 +03:00
Amir Nissim
170640a63f
API - query results in JSON format. fixes #278
2014-09-02 17:52:04 +03:00
Arik Fraimovich
5e970b73d5
Merge pull request #270 from olgakogan/master
...
added handling for querying strings with non standard characters
2014-08-25 12:00:02 +03:00
olgakogan
a4643472a5
added handling for querying strings with non standard characters
2014-08-24 19:08:10 +03:00
Arik Fraimovich
7aa01f2bd2
Comment out filters url sync tests.
2014-08-20 09:07:08 +03:00
Arik Fraimovich
cb4b0e0296
Merge pull request #269 from EverythingMe/257-chart-editor
...
Disable filters url syncing
2014-08-20 08:59:22 +03:00
Arik Fraimovich
2c05e921c4
Disable filters url syncing
2014-08-20 08:58:56 +03:00
Arik Fraimovich
c4877f254e
Merge pull request #268 from EverythingMe/257-chart-editor
...
[#257 ] chart editor: global series type
2014-08-19 19:51:57 +03:00
Arik Fraimovich
9fc59de35f
remove throttling of redrawData
2014-08-19 18:37:32 +03:00
Amir Nissim
eb50f3fc94
[ #257 ] chart editor: use globalSeriesType when creating new series
2014-08-19 14:44:53 +03:00
Arik Fraimovich
12fe59827f
Merge pull request #267 from EverythingMe/257-chart-editor
...
[#257 ] chart editor: global series type
2014-08-19 14:04:44 +03:00
Arik Fraimovich
d32caff31d
Merge pull request #266 from EverythingMe/265-db-reloads
...
disable reloadOnSearch for /dashboard. fixes #265
2014-08-19 13:17:17 +03:00
Amir Nissim
ba540ff380
[ #257 ] chart editor: global series type
2014-08-19 13:14:24 +03:00
Amir Nissim
2112faab02
disable reloadOnSearch for /dashboard. fixes #265
2014-08-19 12:01:23 +03:00
Arik Fraimovich
34c6be398a
Merge pull request #264 from EverythingMe/fix_data_error
...
Treat all psycopg2.DatabaseError the same.
2014-08-19 09:53:38 +03:00
Arik Fraimovich
3f9c2a5592
Treat all psycopg2.DatabaseError the same.
...
Sometimes division by zero are reported as OperationalError rather than
DataError.
2014-08-19 09:47:31 +03:00
Arik Fraimovich
8076b7f0b7
Gruntfile.js: add login.html back to minified files.
2014-08-12 13:34:39 +03:00
Arik Fraimovich
8940d66b0b
Merge pull request #253 from EverythingMe/146-filter-sync
...
rd_ui: sync filters with location.search [closes #146 ]
2014-08-07 14:28:06 +03:00
Amir Nissim
948e2247e4
rd_ui: sync filters with location.search [ closes #146 ]
2014-08-07 14:11:43 +03:00
Arik Fraimovich
eba2ba1918
Merge pull request #260 from EverythingMe/fix_queue_name
...
Fix: dashboard filters broken after #252
2014-08-07 08:20:01 +03:00
Arik Fraimovich
59d5ba9273
Use promises to create dashboard filters.
2014-08-06 23:39:30 +03:00
Arik Fraimovich
4aba24a976
Add promise support to QueryResult.
2014-08-06 23:39:09 +03:00
Arik Fraimovich
762c331ddf
Merge pull request #259 from EverythingMe/fix_queue_name
...
Fix events import code
2014-08-06 17:58:28 +03:00
Amir Nissim
9592610f8b
update .gitignore
2014-08-06 16:19:09 +03:00
Arik Fraimovich
8b7399ddc9
Fix events import code
2014-08-06 09:31:19 +03:00
Arik Fraimovich
f6221da9dc
Merge pull request #256 from EverythingMe/fix_queue_name
...
Fix: series options not showing up when first running the query.
2014-08-05 12:42:43 +03:00
Arik Fraimovich
10c84d2cd0
Fix: series options not showing up when first running the query.
2014-08-05 12:39:35 +03:00
Arik Fraimovich
60d784d7bc
Cleanup Query.prototype.getQueryResult and make sure it caches result by id.
2014-08-05 12:38:53 +03:00
Arik Fraimovich
b28e4be8d7
Sort data sources by id.
2014-08-05 12:30:51 +03:00
Arik Fraimovich
e74b36996f
Merge pull request #255 from EverythingMe/fix_queue_name
...
Fix: use correct queue name for scheduled queries
2014-08-04 22:40:16 +03:00
Arik Fraimovich
4c28d11259
Fix: use correct queue name for scheduled queries
2014-08-04 22:31:13 +03:00
Arik Fraimovich
b1e1a32f37
Merge pull request #252 from EverythingMe/perf
...
perf: HTTP caching headers for /api/query_results [fixes #228 ]
2014-08-04 16:55:39 +03:00
Amir Nissim
a12b43265d
perf: HTTP caching headers for /api/query_results [ fixes #228 ]
2014-08-04 16:50:56 +03:00
Arik Fraimovich
c2d621ae0f
Merge pull request #247 from EverythingMe/245-refresh-btn
...
[#245 ] Add refresh button to query view page
2014-08-03 14:51:06 +03:00
Amir Nissim
d93e07061b
[ #245 ] Add refresh button to query view page
2014-08-03 13:14:17 +03:00
Arik Fraimovich
cb59973b9a
Merge pull request #251 from EverythingMe/tests
...
setup Karma unit tests
2014-08-03 11:27:38 +03:00
Amir Nissim
72e41a94e4
update ci config
2014-08-03 11:15:02 +03:00
Amir Nissim
9013497fc7
rd_ui: fix failing unit test
2014-08-03 11:15:00 +03:00
Amir Nissim
a74ae32122
testing infra: basic QueryViewCtrl tests
2014-07-31 16:11:37 +03:00
Amir Nissim
9cfae349da
testing infra: updated Karma and Grunt
2014-07-30 14:28:00 +03:00
Arik Fraimovich
a16718917b
Merge pull request #248 from EverythingMe/243-db-requests
...
#243 dashboards api will not return query results by default
2014-07-29 16:14:08 +03:00
Amir Nissim
e2e365d9ff
Query.to_dict never with results
2014-07-29 11:11:40 +03:00
Amir Nissim
5310498d0f
[ #241 ] fix textbox widget layout
2014-07-28 17:17:20 +03:00
Amir Nissim
bb1d2f8805
[ #243 ] dashboards api will not return query results by default
2014-07-28 16:52:19 +03:00
Amir Nissim
0d5f001d38
fix migration add_text_to_widgets
2014-07-28 16:27:23 +03:00
Amir Nissim
236f7f9c04
fix add_global_filters_to_dashboard migration script
2014-07-28 12:15:08 +03:00
Amir Nissim
74bf8e5239
ignore celery files
2014-07-28 12:08:59 +03:00
Arik Fraimovich
71e125b4b0
Update Procfile.dev to use celery.
2014-07-20 12:08:08 +03:00
Arik Fraimovich
6a8befc641
Merge pull request #239 from EverythingMe/feature_outdated_queries_monitor
...
Model and import script for events
2014-07-09 18:55:53 +03:00
Arik Fraimovich
a79aa382d7
command to import events
2014-07-09 18:33:29 +03:00
Arik Fraimovich
5698f9692a
Events model
2014-07-09 18:33:21 +03:00
Arik Fraimovich
b2381f6933
Merge pull request #238 from EverythingMe/feature_outdated_queries_monitor
...
Show outdated queries count and queue size in status
2014-07-08 21:51:13 +03:00
Arik Fraimovich
9a732a4dbf
Show outdated queries count and queue size in status
2014-07-08 18:54:25 +03:00
Arik Fraimovich
17eb7e4146
Fix: when updating visualization need to ignore query_id
2014-07-07 16:59:18 +03:00
Arik Fraimovich
16a6c96c22
Use correct instance of queryResult
2014-07-06 18:34:26 +03:00
Arik Fraimovich
bc0a5160ac
Fix: view going into infinite loop of calling getQueryResult.
2014-07-06 18:17:23 +03:00
Arik Fraimovich
62ab1fda80
Fix: UI hanging when saving query.
...
Clone query object, before modifying/sending over the wire.
2014-07-06 14:38:37 +03:00
Arik Fraimovich
b5309833ee
Add logging to saveQuery
2014-07-06 13:59:51 +03:00
Arik Fraimovich
7b932507a6
Merge pull request #237 from EverythingMe/feature_column_editor
...
Feature: chart editor (no more "::x", "::y", "::series") + a lot more
2014-07-05 12:50:18 +03:00
Arik Fraimovich
c9fda5e6f1
Improve layout
2014-07-05 12:19:59 +03:00
Arik Fraimovich
a274bde092
Fix: after saving the column type mapping is empty
2014-07-05 12:19:48 +03:00
Arik Fraimovich
b4024ec880
Settings for chart options.
2014-07-05 12:02:51 +03:00
Arik Fraimovich
6367943d31
Make sure all paths of getQueryResult return same object.
2014-07-05 12:02:51 +03:00
Arik Fraimovich
eaa83556c3
Settings for second y axis.
2014-07-05 12:02:51 +03:00
Arik Fraimovich
7e720bcecd
Chart columns type mapping.
2014-07-05 12:02:51 +03:00
Arik Fraimovich
003c285d11
Fix: dashboard view event
2014-07-05 12:02:51 +03:00
Arik Fraimovich
54687e72bd
Merge pull request #236 from EverythingMe/fix_234
...
Fix #234 : when converting value to moment, also set the column type
2014-07-05 11:37:00 +03:00
Arik Fraimovich
8c59386dc9
Fix #234 : when converting value to moment, also set the column type
2014-07-05 11:35:10 +03:00
Arik Fraimovich
0369c557a4
Merge pull request #235 from shayel/master
...
Add Emacs (The One True Editor(TM)) backup files to .gitignore
2014-06-30 13:56:08 +03:00
Shay Elkin
1ca95dc497
Add Emacs (The One True Editor(TM)) backup files to .gitignore
2014-06-30 13:53:20 +03:00
Arik Fraimovich
85ea9060b0
Merge pull request #232 from jeremi/feature-bigquery-types
...
Add support for types in BigQuery
2014-06-27 16:31:29 +03:00
Arik Fraimovich
19b4ec7102
Merge pull request #233 from jeremi/fix-boolean-support-table
...
when the value is false, display false instead of empty cell
2014-06-27 16:29:46 +03:00
jeremi
b2fea7f2fe
Add support for timestamps
...
Fix the type field
2014-06-27 15:48:52 +08:00
jeremi
d5947669ab
when the value is false, display false instead of empty cell
2014-06-27 15:43:30 +08:00
jeremi
4cb97db98e
Add support for types in BigQuery
2014-06-25 18:05:34 +08:00
Arik Fraimovich
9b5d43067a
Revert "Merge pull request #231 from erans/master"
...
This introduced some unicode issues. Reverting until resolved.
This reverts commit 8731a8d273 , reversing
changes made to 90157157df .
2014-06-24 14:00:21 +03:00
Arik Fraimovich
8731a8d273
Merge pull request #231 from erans/master
...
Force the use of JSON in Celery
2014-06-24 12:47:19 +03:00
Eran Sandler
08a06b0792
only use json in celery for serialization. pickle is going to be deprecated soon
2014-06-24 12:29:44 +03:00
Arik Fraimovich
90157157df
Merge pull request #229 from jeremi/fix-heroku-procfile
...
fix starting of celery in Heroku
2014-06-24 11:24:54 +03:00
Arik Fraimovich
f5ea1f1559
Merge pull request #230 from jeremi/fix-default-groups
...
Add default group when user is created
2014-06-24 11:24:20 +03:00
jeremi
cf89e6b184
Make sure when users are created that it is with the default groups and not permissions.
2014-06-24 09:54:22 +08:00
jeremi
5920747122
fix starting of celery in Heroku
2014-06-24 09:46:40 +08:00
Arik Fraimovich
2fff4f4036
Merge pull request #227 from EverythingMe/feature_celery_status
...
Show Celery Flower in an iframe.
2014-06-20 15:32:49 +03:00
Arik Fraimovich
442ece5a4f
Show celery flower url inside an iframe.
2014-06-20 15:29:02 +03:00
Arik Fraimovich
4bbf04b68a
Update migration for new structure
2014-06-18 20:24:53 +03:00
Arik Fraimovich
f74af231ce
Merge pull request #226 from EverythingMe/feature_toggle_series
...
Progress indicator for requests and reload on failure for dashboards
2014-06-11 18:06:26 +03:00
Arik Fraimovich
ffa679e04b
Add reload in case of error for dashboards
2014-06-11 17:54:42 +03:00
Arik Fraimovich
8f1d267c00
Add pace, to indicate while things are loading ( #24 )
2014-06-11 17:54:21 +03:00
Arik Fraimovich
af61517384
Merge pull request #225 from hailocab/spelling-mistake-1
...
Spelling mistake 1
2014-06-10 15:53:38 +03:00
Zach Yewman
15a7374a4b
Fixed spelling mistake of "Visualation" to "Visualization"
2014-06-10 12:55:03 +01:00
Arik Fraimovich
c0fe4a7c84
Merge pull request #224 from EverythingMe/feature_toggle_series
...
Feature: additional chart controls - toggle all, show total
2014-06-10 09:31:38 +03:00
Arik Fraimovich
2a18c4493b
Update to latest pivottable. ( fixes #211 )
2014-06-10 09:27:14 +03:00
Arik Fraimovich
fc60c1b86a
Additional chart controls: toggle all, show total
2014-06-10 09:26:59 +03:00
Arik Fraimovich
5b998269b3
Merge pull request #222 from EverythingMe/feature_download_from_dashboard
...
Feature download from dashboard
2014-05-19 16:31:53 +03:00
Arik Fraimovich
914378cc65
Remove debug printing
2014-05-19 16:29:31 +03:00
Arik Fraimovich
30f98e9796
Feature: download dataset button in dashboard
2014-05-19 16:28:25 +03:00
Arik Fraimovich
2b524075d9
Fix: indention
2014-05-19 16:16:04 +03:00
Arik Fraimovich
3641e332b0
Merge pull request #221 from EverythingMe/ui_fixes
...
Several bug fixes (#211 , #209 and more)
2014-05-18 17:01:11 +03:00
Arik Fraimovich
4ce3f4eaa9
Include data source id in job "lock"
2014-05-18 16:35:47 +03:00
Arik Fraimovich
0b173e67a5
When changing data source, save query only if it was saved
2014-05-18 16:29:01 +03:00
Arik Fraimovich
2af234d180
Reset new dashboard form after saving ( fixes #209 )
2014-05-18 15:44:23 +03:00
Arik Fraimovich
d751fd8c8c
Make sure table/pivot doesn't overflow
2014-05-18 15:01:40 +03:00
Arik Fraimovich
35552f9b77
Update to latest pivottable. ( fixes #211 )
2014-05-18 15:00:55 +03:00
Arik Fraimovich
1cc36b481a
When formatting datge/time, if value is null, ignore
2014-05-18 14:36:46 +03:00
Arik Fraimovich
c9b95bc359
Fix: if column named only ::x the table was broken
2014-05-18 14:34:13 +03:00
Arik Fraimovich
86d64c35ab
Add favicon to the project
2014-05-18 14:28:08 +03:00
Arik Fraimovich
8712c8567c
Add /\ to escpaed characters in column name
2014-05-18 14:25:54 +03:00
Arik Fraimovich
b0cc646b5e
Merge pull request #220 from EverythingMe/celery
...
Reconnect to database on every task.
2014-05-18 13:59:42 +03:00
Arik Fraimovich
8e1c852b0d
Reset the database lock if pid changed
2014-05-18 13:57:08 +03:00
Arik Fraimovich
349f67337d
Merge pull request #219 from EverythingMe/celery
...
Split __init__ into several modules and remove flask-peewee dependency.
2014-05-18 10:21:38 +03:00
Arik Fraimovich
4af979d3eb
Split __init__ into several modules and remove flask-peewee dependency.
...
This should make imports more sensible and with less side effects. Also might reduce the memory footprint of the workers.
2014-05-18 10:19:07 +03:00
Arik Fraimovich
727cc67f19
Merge pull request #218 from EverythingMe/celery
...
Fix: queries were enqueued more than once because lock wasn't saved
2014-05-17 18:16:09 +03:00
Arik Fraimovich
f51df00564
Fix: queries were enqueued >1 because lock wasn't saved
2014-05-17 18:12:39 +03:00
Arik Fraimovich
8d7044a81a
Merge pull request #217 from EverythingMe/celery
...
Use celery to replace our home grown background workers
2014-05-17 17:21:55 +03:00
Arik Fraimovich
d1c62b106d
Fix: refresh fails if no status was previously set
2014-05-17 17:17:18 +03:00
Arik Fraimovich
a1dcf94d4d
Update tests
2014-05-17 17:11:46 +03:00
Arik Fraimovich
53fc9bbf54
Use data source's queue name.
2014-05-17 16:50:44 +03:00
Arik Fraimovich
7755e9859d
Add queue name to data source
2014-05-17 16:44:30 +03:00
Arik Fraimovich
21f3a80940
Use cls instead of explicit class name
2014-05-17 16:22:55 +03:00
Arik Fraimovich
06910d9002
Remove unused dependencies.
2014-05-17 16:19:32 +03:00
Arik Fraimovich
5777070bec
Schedule refresh_queries using celery_beat.
2014-05-16 18:36:42 +03:00
Arik Fraimovich
8e3adcd283
Update .gitignore.
2014-05-16 18:36:21 +03:00
Arik Fraimovich
381ab62505
Move outdated queries selection logic to model.
2014-05-16 18:34:53 +03:00
Arik Fraimovich
93491004e2
Fix test due to refactor.
2014-05-16 18:19:01 +03:00
Arik Fraimovich
d1f0ae9538
Remove tests for old Job class.
2014-05-16 18:14:42 +03:00
Arik Fraimovich
94bb55d66b
Remove the data.Manager as it's not needed anymore.
2014-05-16 18:13:37 +03:00
Arik Fraimovich
9de6996dc8
Deprecate old runworkers command.
2014-05-16 17:57:43 +03:00
Arik Fraimovich
9636359497
Update controllers to use new Job class.
2014-05-16 17:57:14 +03:00
Arik Fraimovich
9a6b40aff9
Enqueue jobs to celery.
2014-05-16 17:56:57 +03:00
Arik Fraimovich
82dee49a43
Remove old workers code.
2014-05-16 17:56:28 +03:00
Arik Fraimovich
9b4482f25d
Move result storing logic to models.
2014-05-16 17:56:04 +03:00
Arik Fraimovich
4caf1ac3d3
Create celery app object.
2014-05-16 17:54:14 +03:00
Arik Fraimovich
0cda4a6632
Bump version to 0.4
2014-05-16 14:37:20 +03:00
Arik Fraimovich
a80618fbe2
Celery related settings
2014-05-16 14:37:11 +03:00
Arik Fraimovich
310808f1fb
Add celery to requirements.txt
2014-05-16 14:26:54 +03:00
Christopher Valles
939168773a
Merge remote-tracking branch 'upstream/master'
2014-05-14 11:10:43 +01:00
Arik Fraimovich
c6a415535e
Merge pull request #213 from EverythingMe/feature_auto_links
...
Feature: auto link URLs in table
2014-05-13 20:17:26 +03:00
Arik Fraimovich
ce87c7b736
Apply cell contents as html.
2014-05-13 20:15:00 +03:00
Arik Fraimovich
036eb46ea4
Apply linking filter to string columns.
2014-05-13 20:14:45 +03:00
Arik Fraimovich
95ad15057b
Filter to convert URLs into <a> elements.
2014-05-13 20:14:23 +03:00
Arik Fraimovich
459309ee4e
Merge branch 'feature_group_permissions' (updated version of #208 )
2014-05-13 19:42:04 +03:00
Arik Fraimovich
4e0069810e
Bump version to 0.3.7
2014-05-13 19:41:50 +03:00
Arik Fraimovich
5a62e90f17
Fix migration code
2014-05-13 19:36:04 +03:00
Arik Fraimovich
cf689c424f
Fix user creation in manage.py
2014-05-13 18:34:19 +03:00
Arik Fraimovich
dad9eb21a0
Create user groups in test setup.
2014-05-13 18:29:59 +03:00
Arik Fraimovich
8b581368dc
Use the User.permissions property instead of groups.
2014-05-13 18:29:39 +03:00
Arik Fraimovich
ca093ec235
Move permissions logic back to a property on User model.
2014-05-13 18:18:10 +03:00
Arik Fraimovich
c6e210f107
Use new SQLMetadata class to check table permissions.
2014-05-13 18:17:39 +03:00
Arik Fraimovich
e2d0285496
Feature flag for enabling table permission checking.
2014-05-13 18:17:08 +03:00
Arik Fraimovich
16125327b1
Class for SQL metadata logic (tables, ddl, dml statements)
2014-05-13 18:16:30 +03:00
Arik Fraimovich
d8d666c971
Update the migration to use the admin permission too
2014-05-13 17:13:05 +03:00
Arik Fraimovich
772ea94b59
Fix: move the groups creation to init function
2014-05-13 16:47:58 +03:00
Yosi Taguri
e499e8099d
aligned the file. added sleep to job status retry and fixed the error message when HttpError is raised
2014-05-13 16:26:17 +03:00
Yosi Taguri
75bc9bb318
support monitoring a long running job.
2014-05-13 16:26:16 +03:00
Christopher Valles
f79362c7a3
Merge remote-tracking branch 'upstream/master'
2014-05-13 14:06:37 +01:00
Arik Fraimovich
2c34ecde35
Merge pull request #210 from yosit/master-yosit
...
support monitoring a long running job.
2014-05-13 09:07:11 +03:00
Yosi Taguri
1610d9b782
aligned the file. added sleep to job status retry and fixed the error message when HttpError is raised
2014-05-13 09:03:30 +03:00
Yosi Taguri
17dd4efb27
support monitoring a long running job.
2014-05-12 19:31:29 +03:00
Christopher Valles
7a2af73bea
Fix table case sensitive for permissions
2014-05-12 14:15:11 +01:00
Christopher Valles
81d027611f
Remove is_admin flag
2014-05-09 18:12:34 +01:00
Christopher Valles
9ef941bc63
Adding default groups to manage.py database create_tables command
2014-05-09 18:02:22 +01:00
Christopher Valles
cb0d27e691
Fix errors
2014-05-09 14:44:26 +01:00
Christopher Valles
03767bbc0a
Adding logging for permission denied situations
2014-05-09 13:19:23 +01:00
Christopher Valles
0042b73cd9
Fixes
2014-05-09 13:06:01 +01:00
Christopher Valles
1c095bcd99
Fix tests
2014-05-09 12:43:29 +01:00
Christopher Valles
4287d9a2e2
Remove gemfiles from gitignore
2014-05-08 19:54:12 +01:00
Christopher Valles
e297faab7c
Fixing more tests
2014-05-08 19:29:50 +01:00
Christopher Valles
c0329cc0ef
Fixed tests;
2014-05-08 19:19:23 +01:00
Christopher Valles
dc7050d4ef
Fix manage.py permission reference
2014-05-08 18:43:59 +01:00
Christopher Valles
3a2f2be95d
Merge stuff
2014-05-08 18:38:44 +01:00
Christopher Valles
b4432ee21d
Merge branch 'master' of https://github.com/hailocab/redash
2014-05-08 18:22:40 +01:00
Christopher Valles
d9b0e84bbe
Remove ADMIN env variable
2014-05-08 12:40:58 +01:00
Arik Fraimovich
e8c946b88b
Merge pull request #205 from joeysim/keyboard-shortcut
...
added support for cmd+enter execution
2014-05-08 10:57:30 +03:00
Joey Simhon
7b94260135
added support for cmd+enter execution
2014-05-07 22:45:39 +03:00
Christopher Valles
51c59dad63
Put back jquery-ui reference
2014-05-07 17:00:52 +01:00
Christopher Valles
2d398696d0
Update from upstream
2014-05-07 15:36:42 +01:00
Christopher Valles
ceb08808f8
Merge pull request #5 from hailocab/permission_system
...
Permission system
2014-05-07 15:28:52 +01:00
Arik Fraimovich
e7c6ba8c1d
Merge pull request #204 from EverythingMe/performance
...
Add Bucky (client side metrics client).
2014-05-07 17:28:19 +03:00
Arik Fraimovich
3cee9c9b3a
Merge pull request #204 from EverythingMe/performance
...
Add Bucky (client side metrics client).
2014-05-07 17:28:19 +03:00
Arik Fraimovich
509edf651b
Add bucky (client side metrics client).
2014-05-07 17:25:43 +03:00
Arik Fraimovich
28224a0ba1
Add bucky (client side metrics client).
2014-05-07 17:25:43 +03:00
Christopher Valles
4e8cd93905
Fix conflict
2014-05-07 15:24:49 +01:00
Christopher Valles
069fe38354
Merge pull request #2 from hailocab/add/requirement
...
Add gunicorn to the requirements
2014-05-07 15:20:15 +01:00
Arik Fraimovich
05c915cf00
Fix indendentation
2014-05-07 15:48:29 +03:00
Arik Fraimovich
37512b5fdd
Fix indendentation
2014-05-07 15:48:29 +03:00
Arik Fraimovich
0fa22500be
Merge pull request #203 from EverythingMe/performance
...
Report to statsd request render time
2014-05-07 15:15:56 +03:00
Arik Fraimovich
3fbc73d181
Merge pull request #203 from EverythingMe/performance
...
Report to statsd request render time
2014-05-07 15:15:56 +03:00
Arik Fraimovich
4d4f41733d
Report to statsd request render time
2014-05-07 15:13:29 +03:00
Arik Fraimovich
113821cc97
Report to statsd request render time
2014-05-07 15:13:29 +03:00
Christopher Valles
3f9ba7ff00
Fix cohort visualization
2014-05-06 14:28:35 +01:00
Arik Fraimovich
37bf79c9eb
Merge pull request #201 from EverythingMe/feature_dashboard_filters
...
Use column type data (if available) to properly render data table.
2014-05-05 19:48:05 +03:00
Arik Fraimovich
073deb8315
Merge pull request #201 from EverythingMe/feature_dashboard_filters
...
Use column type data (if available) to properly render data table.
2014-05-05 19:48:05 +03:00
Arik Fraimovich
38293fc155
Fix: query save fails if query has queryResult property.
2014-05-05 19:45:07 +03:00
Arik Fraimovich
7793b3fe41
Fix: query save fails if query has queryResult property.
2014-05-05 19:45:07 +03:00
Arik Fraimovich
52f44588e6
Use column type (if available) to better render tables.
2014-05-05 19:44:52 +03:00
Arik Fraimovich
25de0303a1
Use column type (if available) to better render tables.
2014-05-05 19:44:52 +03:00
Arik Fraimovich
0ffda9d002
Populate the column type field.
2014-05-05 19:44:28 +03:00
Arik Fraimovich
a37aa11baf
Populate the column type field.
2014-05-05 19:44:28 +03:00
Arik Fraimovich
e7331633a4
Fix indentation.
2014-05-05 19:32:17 +03:00
Arik Fraimovich
1ae40981fe
Fix indentation.
2014-05-05 19:32:17 +03:00
Arik Fraimovich
19743f387b
Merge pull request #200 from EverythingMe/feature_dashboard_filters
...
Feature: dashboard filters
2014-05-05 18:49:52 +03:00
Arik Fraimovich
17bb5eac91
Merge pull request #200 from EverythingMe/feature_dashboard_filters
...
Feature: dashboard filters
2014-05-05 18:49:52 +03:00
Arik Fraimovich
77d628d2db
Support for dashboard filters in the UI.
2014-05-05 18:46:38 +03:00
Arik Fraimovich
e5348bcf9f
Support for dashboard filters in the UI.
2014-05-05 18:46:38 +03:00
Arik Fraimovich
bcce69904d
Global filters flag for dashboard.
2014-05-05 18:42:49 +03:00
Arik Fraimovich
ee7e452c70
Global filters flag for dashboard.
2014-05-05 18:42:49 +03:00
Arik Fraimovich
7b4c04024c
Use new getQuery accessor.
2014-05-05 18:36:12 +03:00
Arik Fraimovich
73402a4f3c
Use new getQuery accessor.
2014-05-05 18:36:12 +03:00
Arik Fraimovich
a40da45b1e
Show filters in dashboards (if available).
2014-05-05 18:35:07 +03:00
Arik Fraimovich
42a3309731
Show filters in dashboards (if available).
2014-05-05 18:35:07 +03:00
Arik Fraimovich
638fb123ec
Query: cache QueryResult so each call gets the same one.
2014-05-05 18:34:54 +03:00
Arik Fraimovich
f2e06e6191
Query: cache QueryResult so each call gets the same one.
2014-05-05 18:34:54 +03:00
Arik Fraimovich
f95a09a015
Widget: accessor function to get Query object.
2014-05-05 18:34:29 +03:00
Arik Fraimovich
a10a38575b
Widget: accessor function to get Query object.
2014-05-05 18:34:29 +03:00
Arik Fraimovich
b74f4639a0
Merge pull request #199 from EverythingMe/feature_dashboard_filters
...
Fix: set was messing up column order
2014-05-04 16:02:53 +03:00
Arik Fraimovich
c7efe3a99f
Merge pull request #199 from EverythingMe/feature_dashboard_filters
...
Fix: set was messing up column order
2014-05-04 16:02:53 +03:00
Arik Fraimovich
a7b10db3f4
Fix: set was messing up column order
2014-05-04 16:00:57 +03:00
Arik Fraimovich
cc544e9343
Fix: set was messing up column order
2014-05-04 16:00:57 +03:00
Arik Fraimovich
0a301bd997
Merge pull request #198 from EverythingMe/fixes
...
Fix version name in tarball
2014-05-04 15:01:18 +03:00
Arik Fraimovich
2abffff9fd
Merge pull request #198 from EverythingMe/fixes
...
Fix version name in tarball
2014-05-04 15:01:18 +03:00
Arik Fraimovich
174eb2408e
Fix version name in tarball
2014-05-04 15:00:20 +03:00
Arik Fraimovich
e91c9a00b1
Fix version name in tarball
2014-05-04 15:00:20 +03:00
Arik Fraimovich
3b6af18009
Merge pull request #197 from EverythingMe/fixes
...
Small fixes (show version in admin/status, open the visualization editor by default in new visualizations)
2014-05-04 14:27:44 +03:00
Arik Fraimovich
c9608dfa4f
Merge pull request #197 from EverythingMe/fixes
...
Small fixes (show version in admin/status, open the visualization editor by default in new visualizations)
2014-05-04 14:27:44 +03:00
Arik Fraimovich
ab2fa1e352
Show version in admin/status
2014-05-04 14:25:20 +03:00
Arik Fraimovich
bd0b5c7136
Show version in admin/status
2014-05-04 14:25:20 +03:00
Arik Fraimovich
9a025a7e05
Fix the pack make command
2014-05-04 14:02:20 +03:00
Arik Fraimovich
d198a99419
Fix the pack make command
2014-05-04 14:02:20 +03:00
Arik Fraimovich
96081de51f
update makefile to set version"
2014-05-04 13:46:11 +03:00
Arik Fraimovich
16c461c15f
update makefile to set version"
2014-05-04 13:46:11 +03:00
Arik Fraimovich
1bf56899f3
Open visualization editor when adding a new visualization.
2014-05-04 13:23:18 +03:00
Arik Fraimovich
c874a2218b
Open visualization editor when adding a new visualization.
2014-05-04 13:23:18 +03:00
Arik Fraimovich
79b4c86520
Improve latest_release utility
2014-05-04 13:14:49 +03:00
Arik Fraimovich
d92d994532
Improve latest_release utility
2014-05-04 13:14:49 +03:00
Christopher Valles
1704914d6b
Add stuff to gitignore
2014-05-01 18:36:01 +01:00
Arik Fraimovich
9c43b55668
Merge pull request #196 from EverythingMe/fixes
...
Bug fixes (#91 , #195 )
2014-05-01 17:56:34 +03:00
Arik Fraimovich
cddd7e909d
Merge pull request #196 from EverythingMe/fixes
...
Bug fixes (#91 , #195 )
2014-05-01 17:56:34 +03:00
Arik Fraimovich
9a6852db78
Fix #195 : When two columns have the same name their values get overriden
2014-05-01 17:52:42 +03:00
Arik Fraimovich
2270042c0f
Fix #195 : When two columns have the same name their values get overriden
2014-05-01 17:52:42 +03:00
Arik Fraimovich
6ae3a7552a
Fix #91 : better filtering of bad tokens in column names
2014-05-01 17:45:35 +03:00
Arik Fraimovich
8e5e37ee1b
Fix #91 : better filtering of bad tokens in column names
2014-05-01 17:45:35 +03:00
Christopher Valles
146131761f
DAT-768
2014-04-30 17:04:24 +01:00
Arik Fraimovich
855aecd85f
Merge pull request #194 from EverythingMe/feature_markdown_widget
...
Several small fixes (#186 , #120 , #174 )
2014-04-29 16:06:38 +03:00
Arik Fraimovich
cdf6a1994b
Merge pull request #194 from EverythingMe/feature_markdown_widget
...
Several small fixes (#186 , #120 , #174 )
2014-04-29 16:06:38 +03:00
Arik Fraimovich
a7ce5246a6
Fix: return last cached result for ttl=-1 ( fix #174 )
2014-04-29 16:02:17 +03:00
Arik Fraimovich
6efd830bd4
Fix: return last cached result for ttl=-1 ( fix #174 )
2014-04-29 16:02:17 +03:00
Arik Fraimovich
a8ea811fed
Make job expiry time configurable.
2014-04-29 12:13:33 +03:00
Arik Fraimovich
f39a848aa2
Make job expiry time configurable.
2014-04-29 12:13:33 +03:00
Arik Fraimovich
a71b99a873
Workaround for cases when widget is missing but referenced in a dashboard layout (re. #120 )
2014-04-29 12:09:38 +03:00
Arik Fraimovich
9f2fc1f90a
Workaround for cases when widget is missing but referenced in a dashboard layout (re. #120 )
2014-04-29 12:09:38 +03:00
Arik Fraimovich
391c220604
Show error message if failed deleting a visualization
2014-04-29 11:57:16 +03:00
Arik Fraimovich
fd9d71b927
Show error message if failed deleting a visualization
2014-04-29 11:57:16 +03:00
Arik Fraimovich
e5bf431987
Fix: Chart type resets to Date/Time when editing #186
2014-04-29 11:37:42 +03:00
Arik Fraimovich
ba8a39db57
Fix: Chart type resets to Date/Time when editing #186
2014-04-29 11:37:42 +03:00
Arik Fraimovich
f23b434972
Merge pull request #192 from EverythingMe/feature_markdown_widget
...
Feature: text box widget that supports markdown
2014-04-29 11:30:32 +03:00
Arik Fraimovich
191ad19cac
Merge pull request #192 from EverythingMe/feature_markdown_widget
...
Feature: text box widget that supports markdown
2014-04-29 11:30:32 +03:00
Arik Fraimovich
ef366df1fb
Remove unused dependencies
2014-04-29 11:23:32 +03:00
Arik Fraimovich
14112fd45b
Remove unused dependencies
2014-04-29 11:23:32 +03:00
Arik Fraimovich
2caf02b4e0
Markdown support for textbox.
2014-04-29 11:15:19 +03:00
Arik Fraimovich
676cf32c22
Markdown support for textbox.
2014-04-29 11:15:19 +03:00
Arik Fraimovich
b7a0b7454a
Add textbox widget support.
2014-04-29 10:36:56 +03:00
Arik Fraimovich
289d38b2a6
Add textbox widget support.
2014-04-29 10:36:56 +03:00
Arik Fraimovich
fa2986a154
Add underscore.string lib.
2014-04-29 10:36:00 +03:00
Arik Fraimovich
850ac9f4c8
Add underscore.string lib.
2014-04-29 10:36:00 +03:00
Arik Fraimovich
084e9f8394
Migration to add text column to widgets and make visualization_id nullable.
2014-04-29 10:35:47 +03:00
Arik Fraimovich
4ffd21be09
Migration to add text column to widgets and make visualization_id nullable.
2014-04-29 10:35:47 +03:00
Christopher Valles
3e87fff8b1
Merge branch 'master' into permission_system
2014-04-28 17:57:43 +01:00
Christopher Valles
a37c1eb589
Merge pull request #4 from hailocab/capistrano
...
cap initial commit - DON'T MERGE
2014-04-28 17:56:41 +01:00
Arik Fraimovich
7d0324be91
Merge pull request #181 from EverythingMe/feature_imrpove_updater
...
Switch to multiprocessing instead of threading
2014-04-27 18:21:50 +03:00
Arik Fraimovich
63c85deb5c
Merge pull request #181 from EverythingMe/feature_imrpove_updater
...
Switch to multiprocessing instead of threading
2014-04-27 18:21:50 +03:00
Arik Fraimovich
2938e57980
Cleaner shutdown ( #8 )
2014-04-27 18:14:15 +03:00
Arik Fraimovich
ac89584083
Cleaner shutdown ( #8 )
2014-04-27 18:14:15 +03:00
Arik Fraimovich
413dd61491
Remove atfork (it's not needed anymore)
2014-04-27 18:13:43 +03:00
Arik Fraimovich
74f9d85752
Remove atfork (it's not needed anymore)
2014-04-27 18:13:43 +03:00
Arik Fraimovich
08d6a90469
Switch to multiprocessing instead of threading.
2014-04-27 18:13:43 +03:00
Arik Fraimovich
b85c535c6f
Switch to multiprocessing instead of threading.
2014-04-27 18:13:43 +03:00
Christopher Valles
f50799cc7b
Working on permissions
2014-04-25 16:44:33 +01:00
Arik Fraimovich
e8aba6b682
Merge pull request #191 from EverythingMe/fix_185_null_values
...
Fix: job variable was used before assignment
2014-04-25 17:21:36 +03:00
Arik Fraimovich
a2dbc76116
Merge pull request #191 from EverythingMe/fix_185_null_values
...
Fix: job variable was used before assignment
2014-04-25 17:21:36 +03:00
Arik Fraimovich
163ee33ae6
Fix: job variable was used before assignment
2014-04-25 17:18:39 +03:00
Arik Fraimovich
83933e24ac
Fix: job variable was used before assignment
2014-04-25 17:18:39 +03:00
Arik Fraimovich
a9f24669b7
Merge pull request #190 from EverythingMe/fix_185_null_values
...
Fix #185 : when y value is null, convert it to 0.
2014-04-25 17:16:56 +03:00
Arik Fraimovich
638df29d95
Merge pull request #190 from EverythingMe/fix_185_null_values
...
Fix #185 : when y value is null, convert it to 0.
2014-04-25 17:16:56 +03:00
Arik Fraimovich
73d99031b7
Fix #185 : when y value is null, convert it to 0.
2014-04-25 17:14:05 +03:00
Arik Fraimovich
2e01d57c9b
Fix #185 : when y value is null, convert it to 0.
2014-04-25 17:14:05 +03:00
Arik Fraimovich
6f6c1678ff
Merge pull request #182 from EverythingMe/feature_events_throtle
...
Make sure events are reported at most once per second
2014-04-22 16:40:34 +03:00
Arik Fraimovich
d26b822f6c
Merge pull request #182 from EverythingMe/feature_events_throtle
...
Make sure events are reported at most once per second
2014-04-22 16:40:34 +03:00
Arik Fraimovich
976dc1e496
Report event for viewing widget/visualization/query
2014-04-22 16:35:40 +03:00
Arik Fraimovich
c49fbe1ac2
Report event for viewing widget/visualization/query
2014-04-22 16:35:40 +03:00
Arik Fraimovich
6a7e322b97
Report events at most once per second
2014-04-22 16:35:22 +03:00
Arik Fraimovich
4b6b1984aa
Report events at most once per second
2014-04-22 16:35:22 +03:00
Arik Fraimovich
0e564bc8f8
Merge pull request #180 from EverythingMe/feature_imrpove_updater
...
Fix: support for .env files without EXPORT
2014-04-20 09:51:27 +03:00
Arik Fraimovich
8a546b4193
Merge pull request #180 from EverythingMe/feature_imrpove_updater
...
Fix: support for .env files without EXPORT
2014-04-20 09:51:27 +03:00
Arik Fraimovich
6fe733aeaa
Fix: support for .env files without EXPORT
2014-04-20 09:43:17 +03:00
Arik Fraimovich
31c09dd7ce
Fix: support for .env files without EXPORT
2014-04-20 09:43:17 +03:00
Arik Fraimovich
af18670131
Merge pull request #179 from EverythingMe/feature_imrpove_updater
...
CLI for data sources management
2014-04-19 17:22:46 +03:00
Arik Fraimovich
98f0bc0188
Merge pull request #179 from EverythingMe/feature_imrpove_updater
...
CLI for data sources management
2014-04-19 17:22:46 +03:00
Arik Fraimovich
362e5b820e
CLI for data sources.
2014-04-19 17:06:47 +03:00
Arik Fraimovich
36d27dfd74
CLI for data sources.
2014-04-19 17:06:47 +03:00
Arik Fraimovich
2204c437a2
Merge pull request #178 from EverythingMe/feature_imrpove_updater
...
Typo fix in import code.
2014-04-19 15:41:49 +03:00
Arik Fraimovich
9edd8313ec
Merge pull request #178 from EverythingMe/feature_imrpove_updater
...
Typo fix in import code.
2014-04-19 15:41:49 +03:00
Arik Fraimovich
95bcffc28a
Use exec in bin/run.
2014-04-19 15:39:26 +03:00
Arik Fraimovich
790cbd95b1
Use exec in bin/run.
2014-04-19 15:39:26 +03:00
Arik Fraimovich
efdaf4cf3a
Typo fix.
2014-04-19 15:39:09 +03:00
Arik Fraimovich
5dd8b102e1
Typo fix.
2014-04-19 15:39:09 +03:00
Arik Fraimovich
04d92ce14b
Merge pull request #176 from EverythingMe/feature_imrpove_updater
...
Fix: selection of true/false values in filters wasn't working.
2014-04-16 17:01:21 +03:00
Arik Fraimovich
43496ecdb2
Merge pull request #176 from EverythingMe/feature_imrpove_updater
...
Fix: selection of true/false values in filters wasn't working.
2014-04-16 17:01:21 +03:00
Arik Fraimovich
fec6c8b6a7
Fix: selection of true/false values in filters wasn't working.
2014-04-16 14:25:40 +03:00
Arik Fraimovich
ff099b4314
Fix: selection of true/false values in filters wasn't working.
2014-04-16 14:25:40 +03:00
Christopher Valles
78da5ae92e
First refactor of permissions;
2014-04-14 18:14:01 +01:00
Arik Fraimovich
6ab4c4551a
Fix upload version script.
2014-04-13 16:49:57 +03:00
Arik Fraimovich
59a8c0c2c2
Fix upload version script.
2014-04-13 16:49:57 +03:00
Arik Fraimovich
851c080c13
Merge pull request #172 from EverythingMe/feature_imrpove_updater
...
Feature imrpove updater
2014-04-13 16:38:14 +03:00
Arik Fraimovich
cb800c5907
Merge pull request #172 from EverythingMe/feature_imrpove_updater
...
Feature imrpove updater
2014-04-13 16:38:14 +03:00
Arik Fraimovich
0daf715152
Utility to get last redash release url
2014-04-13 16:35:45 +03:00
Arik Fraimovich
31cc6fdaeb
Utility to get last redash release url
2014-04-13 16:35:45 +03:00
Arik Fraimovich
e335398ba7
Set select2 options via object
2014-04-13 16:11:42 +03:00
Arik Fraimovich
1a8611a3c0
Set select2 options via object
2014-04-13 16:11:42 +03:00
Arik Fraimovich
8178900d56
Copy select2 assets, as the grunt pipeline skips them
2014-04-13 16:11:21 +03:00
Arik Fraimovich
258e3c957d
Copy select2 assets, as the grunt pipeline skips them
2014-04-13 16:11:21 +03:00
Arik Fraimovich
9f9d78fd7a
Update upload script to include checksums
2014-04-13 14:14:55 +03:00
Arik Fraimovich
1d83021ab3
Update upload script to include checksums
2014-04-13 14:14:55 +03:00
Arik Fraimovich
d9af5d3943
Fix: user should be able to cancel query even if process not existing already ( #8 ).
2014-04-12 16:43:40 +03:00
Arik Fraimovich
7ed9dc90d3
Fix: user should be able to cancel query even if process not existing already ( #8 ).
2014-04-12 16:43:40 +03:00
Arik Fraimovich
433e004295
Set TTL on finishsed jobs ( fix #106 )
2014-04-12 16:36:20 +03:00
Arik Fraimovich
f3628f7bba
Set TTL on finishsed jobs ( fix #106 )
2014-04-12 16:36:20 +03:00
Christopher Valles
314a75f8a2
Update from upstream + adding venv to gitignore
2014-04-10 16:05:07 +01:00
Arik Fraimovich
185b1c9df0
Merge pull request #170 from EverythingMe/feature_usage_tracking
...
Feature: basic usage tracking
2014-04-10 16:11:10 +03:00
Arik Fraimovich
a686baa372
Merge pull request #170 from EverythingMe/feature_usage_tracking
...
Feature: basic usage tracking
2014-04-10 16:11:10 +03:00
Arik Fraimovich
881e44fbb6
Fix: access query after it's assigned
2014-04-10 15:10:39 +03:00
Arik Fraimovich
a4518dc2aa
Fix: access query after it's assigned
2014-04-10 15:10:39 +03:00
Arik Fraimovich
d7e1328fc0
Make it possible to log events to stdout without logging to file.
2014-04-10 13:04:03 +03:00
Arik Fraimovich
9b8c3872c6
Make it possible to log events to stdout without logging to file.
2014-04-10 13:04:03 +03:00
Arik Fraimovich
2c7a6004c0
Pass timestamp with event.
2014-04-10 13:02:52 +03:00
Arik Fraimovich
5a0f524b5e
Pass timestamp with event.
2014-04-10 13:02:52 +03:00
Arik Fraimovich
6d62f0d2c9
Setup events logging from settings.
2014-04-10 13:02:40 +03:00
Arik Fraimovich
0551e992fa
Setup events logging from settings.
2014-04-10 13:02:40 +03:00
Arik Fraimovich
8615429e0c
Logging setup for events.
2014-04-10 13:02:24 +03:00
Arik Fraimovich
1b0d315b30
Logging setup for events.
2014-04-10 13:02:24 +03:00
Arik Fraimovich
bd67c2ff21
Bump version (about time...)
2014-04-10 12:55:31 +03:00
Arik Fraimovich
577fdffc7f
Bump version (about time...)
2014-04-10 12:55:31 +03:00
Arik Fraimovich
65e8bef22c
Improved logging output.
2014-04-10 12:55:02 +03:00
Arik Fraimovich
241d31f608
Improved logging output.
2014-04-10 12:55:02 +03:00
Arik Fraimovich
c84f18449b
Events end point.
2014-04-10 12:29:21 +03:00
Arik Fraimovich
57a23a1181
Events end point.
2014-04-10 12:29:21 +03:00
Arik Fraimovich
718577f565
Events reporting from client side.
2014-04-10 12:29:07 +03:00
Arik Fraimovich
c2e4e19004
Events reporting from client side.
2014-04-10 12:29:07 +03:00
Christopher Valles
69f14c3a61
Merge remote-tracking branch 'upstream/master'
2014-04-10 10:15:55 +01:00
Arik Fraimovich
52441ec5b4
Merge pull request #169 from EverythingMe/feature_filter_imporvements
...
Feature: improved ::filter
2014-04-09 16:30:45 +03:00
Arik Fraimovich
fcda122107
Merge pull request #169 from EverythingMe/feature_filter_imporvements
...
Feature: improved ::filter
2014-04-09 16:30:45 +03:00
Arik Fraimovich
01b908539b
Show filter name
2014-04-09 16:27:16 +03:00
Arik Fraimovich
d7f6b589cd
Show filter name
2014-04-09 16:27:16 +03:00
Arik Fraimovich
eca62cd1f2
Use select2 for filters, for autocomplete and multiple selection ( #161 , #160 )
2014-04-09 15:25:49 +03:00
Arik Fraimovich
4de9bf2d61
Use select2 for filters, for autocomplete and multiple selection ( #161 , #160 )
2014-04-09 15:25:49 +03:00
Arik Fraimovich
67ec5614e1
Add multi-filter option ( #161 )
2014-04-09 15:25:22 +03:00
Arik Fraimovich
599f12fdc2
Add multi-filter option ( #161 )
2014-04-09 15:25:22 +03:00
Arik Fraimovich
a92ef02b07
Add select2 to the project
2014-04-09 15:24:33 +03:00
Arik Fraimovich
18d16bb92d
Add select2 to the project
2014-04-09 15:24:33 +03:00
Arik Fraimovich
45d11d3227
Merge pull request #167 from EverythingMe/fix_small_stuff
...
Fix: pie charts display (all categories were named "Slice X")
2014-04-08 11:21:26 +03:00
Arik Fraimovich
26365054bf
Merge pull request #167 from EverythingMe/fix_small_stuff
...
Fix: pie charts display (all categories were named "Slice X")
2014-04-08 11:21:26 +03:00
Arik Fraimovich
3cefa004cd
Fix pie charts display
2014-04-08 11:20:52 +03:00
Arik Fraimovich
58a22c0a97
Fix pie charts display
2014-04-08 11:20:52 +03:00
Arik Fraimovich
d3852db164
Merge pull request #166 from EverythingMe/fix_small_stuff
...
Control over xAxis type & fix for a bug when deleting a visualization
2014-04-07 21:02:55 +03:00
Arik Fraimovich
cce4a08b54
Merge pull request #166 from EverythingMe/fix_small_stuff
...
Control over xAxis type & fix for a bug when deleting a visualization
2014-04-07 21:02:55 +03:00
Arik Fraimovich
b242295de0
Feature: Control over xAxis type.
2014-04-07 20:50:46 +03:00
Arik Fraimovich
f80a940ff4
Feature: Control over xAxis type.
2014-04-07 20:50:46 +03:00
Arik Fraimovich
a37142426c
Fix: when deleting visualization it would fail because DEFAULT_TAB is undefined
2014-04-07 20:50:06 +03:00
Arik Fraimovich
794d8ddfcf
Fix: when deleting visualization it would fail because DEFAULT_TAB is undefined
2014-04-07 20:50:06 +03:00
Arik Fraimovich
271d577074
Merge pull request #165 from erans/master
...
Make sure qr serialization will always be in JSON
2014-04-07 13:44:21 +03:00
Arik Fraimovich
7adf4bf763
Merge pull request #165 from erans/master
...
Make sure qr serialization will always be in JSON
2014-04-07 13:44:21 +03:00
Eran Sandler
2fd3033418
Make sure qr serialization will always be in JSON - in the case we do end up serializing big objects - so that other parts of the system can be written in languages other than Python
2014-04-07 12:14:10 +03:00
Eran Sandler
e50aa536c2
Make sure qr serialization will always be in JSON - in the case we do end up serializing big objects - so that other parts of the system can be written in languages other than Python
2014-04-07 12:14:10 +03:00
Arik Fraimovich
74de143636
Merge pull request #164 from EverythingMe/feature_view_query_permission
...
Feature: "view_query" permission
2014-04-06 20:31:20 +03:00
Arik Fraimovich
2d3348b1a9
Merge pull request #164 from EverythingMe/feature_view_query_permission
...
Feature: "view_query" permission
2014-04-06 20:31:20 +03:00
Arik Fraimovich
81ca8b9012
More control over creating users from CLI
2014-04-06 20:26:35 +03:00
Arik Fraimovich
df733d3e9c
More control over creating users from CLI
2014-04-06 20:26:35 +03:00
Arik Fraimovich
0167bebf04
Create stub User object for API to use permissions model
2014-04-06 20:05:43 +03:00
Arik Fraimovich
b1d6a5a45a
Create stub User object for API to use permissions model
2014-04-06 20:05:43 +03:00
Arik Fraimovich
5de1795380
Don't show links to queries in the UI.
2014-04-06 19:32:46 +03:00
Arik Fraimovich
3bb26c5906
Don't show links to queries in the UI.
2014-04-06 19:32:46 +03:00
Arik Fraimovich
99a9fdde25
Use view_query permission in controllers
2014-04-06 19:16:30 +03:00
Arik Fraimovich
e2f9b7565b
Use view_query permission in controllers
2014-04-06 19:16:30 +03:00
Arik Fraimovich
3e6dd8e929
Migration for new permission
2014-04-06 19:16:18 +03:00
Arik Fraimovich
6556f22e91
Migration for new permission
2014-04-06 19:16:18 +03:00
Arik Fraimovich
c0fc7c8222
new permission: view_query
2014-04-06 19:16:10 +03:00
Arik Fraimovich
e5377abf0f
new permission: view_query
2014-04-06 19:16:10 +03:00
Amir Nissim
1eb2d562a5
Merge pull request #156 from EverythingMe/90-ui-issues
...
90 ui issues
2014-04-03 15:21:54 +03:00
Amir Nissim
b4625f1c78
Merge pull request #156 from EverythingMe/90-ui-issues
...
90 ui issues
2014-04-03 15:21:54 +03:00
Amir Nissim
82f5f15c2a
[ #90 ] edit vis. form touchup
2014-04-03 15:14:27 +03:00
Amir Nissim
63037c62a0
[ #90 ] edit vis. form touchup
2014-04-03 15:14:27 +03:00
Amir Nissim
a696e10ef7
[ #90 ] visualization edit mode
2014-04-03 15:05:17 +03:00
Amir Nissim
617bbc213f
[ #90 ] visualization edit mode
2014-04-03 15:05:17 +03:00
Amir Nissim
87933bd8ac
rename: QueryEditCtrl -> QuerySourceCtrl
...
'edit' is confusing since it is also possible to make changes in the QueryViewCtrl
2014-04-03 15:05:17 +03:00
Amir Nissim
9e3cb6e581
rename: QueryEditCtrl -> QuerySourceCtrl
...
'edit' is confusing since it is also possible to make changes in the QueryViewCtrl
2014-04-03 15:05:17 +03:00
Amir Nissim
29f01a5780
[ #90 ] clear visualization hash when redirecting to forked query
2014-04-03 15:05:17 +03:00
Amir Nissim
d4dfc67059
[ #90 ] clear visualization hash when redirecting to forked query
2014-04-03 15:05:17 +03:00
Arik Fraimovich
23a3a7f20e
Merge pull request #157 from EverythingMe/fix_dashboard_watch
...
Fix: some dashboards get into infinite loop of watches
2014-03-30 18:03:48 +03:00
Arik Fraimovich
5ec2d2fe97
Merge pull request #157 from EverythingMe/fix_dashboard_watch
...
Fix: some dashboards get into infinite loop of watches
2014-03-30 18:03:48 +03:00
Arik Fraimovich
b2e7813d87
Fix: some dashboards get into infinite loop of watches
2014-03-30 17:30:32 +03:00
Arik Fraimovich
0b093415ca
Fix: some dashboards get into infinite loop of watches
2014-03-30 17:30:32 +03:00
Arik Fraimovich
ff9fadd55a
Merge pull request #154 from EverythingMe/90-ui-issues
...
[#90 ] save only modified fields when changing query name/description
2014-03-26 18:02:38 +02:00
Arik Fraimovich
77f226e4a2
Merge pull request #154 from EverythingMe/90-ui-issues
...
[#90 ] save only modified fields when changing query name/description
2014-03-26 18:02:38 +02:00
Amir Nissim
40adba4242
[ #90 ] query-link: use ng-href as @arikfr suggested
2014-03-26 17:52:07 +02:00
Amir Nissim
71a4d5288d
[ #90 ] query-link: use ng-href as @arikfr suggested
2014-03-26 17:52:07 +02:00
Amir Nissim
d4d118af17
update angular-resource (adds .$promise support)
2014-03-26 17:27:18 +02:00
Amir Nissim
72c74101da
update angular-resource (adds .$promise support)
2014-03-26 17:27:18 +02:00
Amir Nissim
ace657d95a
[ #90 ] handle widget creation failures
2014-03-26 16:42:56 +02:00
Amir Nissim
1bb12b87ac
[ #90 ] handle widget creation failures
2014-03-26 16:42:56 +02:00
Amir Nissim
fd3e9e3fcb
query links: no underline
2014-03-26 13:30:50 +02:00
Amir Nissim
ec40436a65
query links: no underline
2014-03-26 13:30:50 +02:00
Amir Nissim
3243f277f2
[ #90 ] query link: style, link to #table, 'query' attr required
2014-03-26 13:25:21 +02:00
Amir Nissim
7cd129db52
[ #90 ] query link: style, link to #table, 'query' attr required
2014-03-26 13:25:21 +02:00
Amir Nissim
7ac76c2996
dashboard_directives.js
2014-03-26 12:19:02 +02:00
Amir Nissim
904c54003d
dashboard_directives.js
2014-03-26 12:19:02 +02:00
Amir Nissim
84b0590ec5
move DashboardCtrl and WidgetCtrl to dashboard.js
2014-03-26 12:14:23 +02:00
Amir Nissim
ba63048fc0
move DashboardCtrl and WidgetCtrl to dashboard.js
2014-03-26 12:14:23 +02:00
Arik Fraimovich
a46c651dad
Merge pull request #155 from EverythingMe/vis-fix
...
[#144 ] Allow users to edit raw JSON visualization options
2014-03-26 10:06:04 +02:00
Arik Fraimovich
ecb80df10a
Merge pull request #155 from EverythingMe/vis-fix
...
[#144 ] Allow users to edit raw JSON visualization options
2014-03-26 10:06:04 +02:00
Amir Nissim
11ba93cc80
[ #90 ] query links in widget title
2014-03-25 17:58:38 +02:00
Amir Nissim
782919788d
[ #90 ] query links in widget title
2014-03-25 17:58:38 +02:00
Amir Nissim
23760ffa86
[ #90 ] switch to new visualization tab on save
2014-03-25 17:29:19 +02:00
Amir Nissim
37dbdf494f
[ #90 ] switch to new visualization tab on save
2014-03-25 17:29:19 +02:00
Amir Nissim
5ad2bd048c
[ #90 ] perf: don't render (ngIf) the table visualization tab instead of hiding (ngHide)
2014-03-25 17:12:54 +02:00
Amir Nissim
9717a686be
[ #90 ] perf: don't render (ngIf) the table visualization tab instead of hiding (ngHide)
2014-03-25 17:12:54 +02:00
Amir Nissim
839abe627e
[ #144 ] Allow users to edit raw JSON visualization options
2014-03-25 17:06:28 +02:00
Amir Nissim
55167adef6
[ #144 ] Allow users to edit raw JSON visualization options
2014-03-25 17:06:28 +02:00
Amir Nissim
9305b76b85
[ #90 ] save only modified fields when changing query name/description
2014-03-25 15:25:37 +02:00
Amir Nissim
001e2a8887
[ #90 ] save only modified fields when changing query name/description
2014-03-25 15:25:37 +02:00
Arik Fraimovich
61a196fafc
Merge pull request #150 from EverythingMe/query-refactor
...
#138 : Query controllers refactor
2014-03-25 14:34:15 +02:00
Arik Fraimovich
a503e20c92
Merge pull request #150 from EverythingMe/query-refactor
...
#138 : Query controllers refactor
2014-03-25 14:34:15 +02:00
Arik Fraimovich
0a05d31b17
Fix: only save query on meta+s if user can edit query
2014-03-25 14:30:07 +02:00
Arik Fraimovich
80a5804c9c
Fix: only save query on meta+s if user can edit query
2014-03-25 14:30:07 +02:00
Amir Nissim
001950a116
Revert "Navigation service"
...
This reverts commit 3dc8d9a842 .
2014-03-25 14:11:29 +02:00
Amir Nissim
89cbaf0ac5
Revert "Navigation service"
...
This reverts commit 3dc8d9a842 .
2014-03-25 14:11:29 +02:00
Amir Nissim
3670c7c3a7
[ #138 ] onQuerySave callback
2014-03-25 14:04:18 +02:00
Amir Nissim
f2f61a1fc9
[ #138 ] onQuerySave callback
2014-03-25 14:04:18 +02:00
Amir Nissim
3dc8d9a842
Navigation service
2014-03-25 12:28:18 +02:00
Amir Nissim
b93132e5d9
Navigation service
2014-03-25 12:28:18 +02:00
Amir Nissim
fbb8943eeb
[ #138 ] update queryText when query is saved
2014-03-25 11:38:52 +02:00
Amir Nissim
156bf96788
[ #138 ] update queryText when query is saved
2014-03-25 11:38:52 +02:00
Arik Fraimovich
84d07903f6
Merge pull request #153 from EverythingMe/feature_data_source
...
Shell wrapper to source env before running command
2014-03-25 10:25:12 +02:00
Arik Fraimovich
4d1908dceb
Merge pull request #153 from EverythingMe/feature_data_source
...
Shell wrapper to source env before running command
2014-03-25 10:25:12 +02:00
Arik Fraimovich
1571676d7a
Shell wrapper to source env before running command
2014-03-25 10:22:50 +02:00
Arik Fraimovich
870cc142a9
Shell wrapper to source env before running command
2014-03-25 10:22:50 +02:00
Arik Fraimovich
8cb0472497
Add manage.py command to print settings
2014-03-25 10:22:21 +02:00
Arik Fraimovich
eade74ffb0
Add manage.py command to print settings
2014-03-25 10:22:21 +02:00
Arik Fraimovich
de41dc84af
Remove migrate make command
2014-03-25 10:19:11 +02:00
Arik Fraimovich
880412da94
Remove migrate make command
2014-03-25 10:19:11 +02:00
Arik Fraimovich
5ae2b88cec
Merge pull request #152 from EverythingMe/feature_data_source
...
Make task to run a migration
2014-03-25 09:34:19 +02:00
Arik Fraimovich
a9dae21483
Merge pull request #152 from EverythingMe/feature_data_source
...
Make task to run a migration
2014-03-25 09:34:19 +02:00
Arik Fraimovich
0a22fb61dc
Make task to run a migration
2014-03-25 09:33:44 +02:00
Arik Fraimovich
0578273f7e
Make task to run a migration
2014-03-25 09:33:44 +02:00
Amir Nissim
5d37f1a34b
KeyboardShortcuts service
2014-03-24 17:51:57 +02:00
Amir Nissim
cf9fe300fe
KeyboardShortcuts service
2014-03-24 17:51:57 +02:00
Amir Nissim
bbe17f3a09
[ #138 ] fix ui-codemirror bug when used as directive
2014-03-24 16:13:59 +02:00
Amir Nissim
1bea6a9627
[ #138 ] fix ui-codemirror bug when used as directive
2014-03-24 16:13:59 +02:00
Amir Nissim
21ad5bbb4a
[ #138 ] simplify saveQuery, drop $route dependency
2014-03-24 16:07:24 +02:00
Amir Nissim
5ce4fcb974
[ #138 ] simplify saveQuery, drop $route dependency
2014-03-24 16:07:24 +02:00
Amir Nissim
977193b009
fix getColumns failures when QueryResult has no data
2014-03-24 14:33:03 +02:00
Amir Nissim
028a3e9d62
fix getColumns failures when QueryResult has no data
2014-03-24 14:33:03 +02:00
Amir Nissim
16a83f6134
getQueryResult only if query.data_source_id exists
2014-03-24 14:33:03 +02:00
Amir Nissim
fa2438f40d
getQueryResult only if query.data_source_id exists
2014-03-24 14:33:03 +02:00
Amir Nissim
e0af1f20af
[ #138 ] cherry pick rebase conflicts:
...
366cdbf616 Remove reference to query result when changing data source
872cee2228 Unless data source set already, set it to the first one.
8ae41c0b6a Show query's data source.
2014-03-24 14:33:02 +02:00
Amir Nissim
10bccfb4ad
[ #138 ] cherry pick rebase conflicts:
...
366cdbf616 Remove reference to query result when changing data source
872cee2228 Unless data source set already, set it to the first one.
8ae41c0b6a Show query's data source.
2014-03-24 14:33:02 +02:00
Amir Nissim
ca415c50ad
[ #138 ] store original query text to detect changes
2014-03-24 14:33:02 +02:00
Amir Nissim
3c0972b8ac
[ #138 ] store original query text to detect changes
2014-03-24 14:33:02 +02:00
Amir Nissim
c4cbe06c12
[ #138 ] Query.newQuery
2014-03-24 14:33:02 +02:00
Amir Nissim
98ac23a843
[ #138 ] Query.newQuery
2014-03-24 14:33:02 +02:00
Amir Nissim
34fb58d403
typo: cancelInterval -> clearInterval
2014-03-24 14:33:02 +02:00
Amir Nissim
df458c1052
typo: cancelInterval -> clearInterval
2014-03-24 14:33:02 +02:00
Amir Nissim
cddf69e422
[ #138 ] rebase fixes (cherry pick f3d4635)
2014-03-24 14:33:02 +02:00
Amir Nissim
dd86711b32
[ #138 ] rebase fixes (cherry pick f3d4635)
2014-03-24 14:33:02 +02:00
Amir Nissim
6a1c5aeae7
[ #138 ] move saveQuery to ViewCtrl
2014-03-24 14:33:02 +02:00
Amir Nissim
4493d22ec9
[ #138 ] move saveQuery to ViewCtrl
2014-03-24 14:33:02 +02:00
Amir Nissim
f3411a46a5
[ #138 ] alert-unsaved-changes directive
2014-03-24 14:33:02 +02:00
Amir Nissim
5ffd2615e7
[ #138 ] alert-unsaved-changes directive
2014-03-24 14:33:02 +02:00
Amir Nissim
7616738fc6
[ #138 ] QueryEditCtrl cleanup
2014-03-24 14:33:02 +02:00
Amir Nissim
e996b4fa22
[ #138 ] QueryEditCtrl cleanup
2014-03-24 14:33:02 +02:00
Amir Nissim
5d03ce6b50
[ #138 ] QueryViewCtrl cleanup and formatting
2014-03-24 14:33:02 +02:00
Amir Nissim
bcca2aa341
[ #138 ] QueryViewCtrl cleanup and formatting
2014-03-24 14:33:02 +02:00
Amir Nissim
3ad8114a28
[ #138 ] query directives
2014-03-24 14:33:02 +02:00
Amir Nissim
602d935559
[ #138 ] query directives
2014-03-24 14:33:02 +02:00
Amir Nissim
37d56a2bf6
[ #138 ] editCtrl inheriting viewCtrl
2014-03-24 14:33:02 +02:00
Amir Nissim
af9318fbd1
[ #138 ] editCtrl inheriting viewCtrl
2014-03-24 14:33:02 +02:00
Arik Fraimovich
cff07a3e3d
Merge pull request #151 from EverythingMe/feature_data_source
...
Fix issue with serializing unicode queries.
2014-03-24 14:31:13 +02:00
Arik Fraimovich
2ba4bcd98e
Merge pull request #151 from EverythingMe/feature_data_source
...
Fix issue with serializing unicode queries.
2014-03-24 14:31:13 +02:00
Arik Fraimovich
a1f81705dd
Unicode test case for Job
2014-03-24 14:26:57 +02:00
Arik Fraimovich
fac9082a03
Unicode test case for Job
2014-03-24 14:26:57 +02:00
Arik Fraimovich
b8dba48759
Fix issue with serializing unicode queries
2014-03-24 14:18:03 +02:00
Arik Fraimovich
9ac335116c
Fix issue with serializing unicode queries
2014-03-24 14:18:03 +02:00
Arik Fraimovich
ae8706ab85
Merge pull request #149 from EverythingMe/feature_data_source
...
Feature: Support multiple data sources (databases) for querying (#12 )
2014-03-23 17:02:55 +02:00
Arik Fraimovich
fbc325bf07
Merge pull request #149 from EverythingMe/feature_data_source
...
Feature: Support multiple data sources (databases) for querying (#12 )
2014-03-23 17:02:55 +02:00
Arik Fraimovich
af85943c08
Add comment about moving logic to the model
2014-03-23 12:52:22 +02:00
Arik Fraimovich
cad34f63bf
Add comment about moving logic to the model
2014-03-23 12:52:22 +02:00
Arik Fraimovich
d7a453e8b1
Fix tests (were rightfully failing on system with clock set to utc)
2014-03-20 20:57:35 +02:00
Arik Fraimovich
d9964d84b3
Fix tests (were rightfully failing on system with clock set to utc)
2014-03-20 20:57:35 +02:00
Arik Fraimovich
725a8f2bb5
Reverse comparison
2014-03-20 20:16:23 +02:00
Arik Fraimovich
9379f76562
Reverse comparison
2014-03-20 20:16:23 +02:00
Arik Fraimovich
5979d91875
Reduce Peewee's logging level to INFO in tests.
2014-03-20 19:45:16 +02:00
Arik Fraimovich
21e02ee04e
Reduce Peewee's logging level to INFO in tests.
2014-03-20 19:45:16 +02:00
Arik Fraimovich
86b95a404a
Apply filters only when available
2014-03-20 19:38:05 +02:00
Arik Fraimovich
214806d31b
Apply filters only when available
2014-03-20 19:38:05 +02:00
Arik Fraimovich
366cdbf616
Remove reference to query result when changing data source
2014-03-20 19:30:05 +02:00
Arik Fraimovich
cea1a73ad6
Remove reference to query result when changing data source
2014-03-20 19:30:05 +02:00
Arik Fraimovich
addaf97489
Add results verification
2014-03-20 18:49:38 +02:00
Arik Fraimovich
e37fa7e5a0
Add results verification
2014-03-20 18:49:38 +02:00
Arik Fraimovich
6989c7d2fd
Script to test concurrency issues
2014-03-20 18:16:09 +02:00
Arik Fraimovich
b079b27875
Script to test concurrency issues
2014-03-20 18:16:09 +02:00
Arik Fraimovich
166b1a7c6b
Switch to using peewee models in Manager + fix bugs + add tests ( #8 ).
2014-03-20 13:22:37 +02:00
Arik Fraimovich
3c895310f4
Switch to using peewee models in Manager + fix bugs + add tests ( #8 ).
2014-03-20 13:22:37 +02:00
Arik Fraimovich
2d3a0cc917
Update peewee version to be able to use window functions.
2014-03-20 13:18:32 +02:00
Arik Fraimovich
ae9e80d6a8
Update peewee version to be able to use window functions.
2014-03-20 13:18:32 +02:00
Arik Fraimovich
f58ffd884b
Remove data.manager.QueryResult class.
2014-03-20 10:47:07 +02:00
Arik Fraimovich
9f0abd0bc6
Remove data.manager.QueryResult class.
2014-03-20 10:47:07 +02:00
Arik Fraimovich
afb1b3f16f
Merge pull request #147 from EverythingMe/fix_141_digest_called_every_second
...
Fix #141 : prevent the timer directive call digest loop every second
2014-03-20 09:33:46 +02:00
Arik Fraimovich
3bedfe75a8
Merge pull request #147 from EverythingMe/fix_141_digest_called_every_second
...
Fix #141 : prevent the timer directive call digest loop every second
2014-03-20 09:33:46 +02:00
Arik Fraimovich
93f87f0922
Fix #141 : prevent the timer directive call digest loop every second
...
By using setInterval & $scope.$digest instead of $timeout which uses
$scope.$apply, which in turn calls $rootScope.$digest.
2014-03-20 09:29:27 +02:00
Arik Fraimovich
76ce8b0876
Fix #141 : prevent the timer directive call digest loop every second
...
By using setInterval & $scope.$digest instead of $timeout which uses
$scope.$apply, which in turn calls $rootScope.$digest.
2014-03-20 09:29:27 +02:00
Arik Fraimovich
872cee2228
Unless data source set already, set it to the first one.
2014-03-20 09:21:01 +02:00
Arik Fraimovich
fcebbb4856
Unless data source set already, set it to the first one.
2014-03-20 09:21:01 +02:00
Arik Fraimovich
99b7e3126b
When updating query result, set the data source id.
2014-03-20 09:20:41 +02:00
Arik Fraimovich
1b02f58247
When updating query result, set the data source id.
2014-03-20 09:20:41 +02:00
Arik Fraimovich
8d8dafade3
Allow updating data source when updating query.
2014-03-20 09:20:27 +02:00
Arik Fraimovich
687b3be784
Allow updating data source when updating query.
2014-03-20 09:20:27 +02:00
Arik Fraimovich
ee3150fc6b
Update query results for same data source only
2014-03-19 14:58:13 +02:00
Arik Fraimovich
4922be1422
Update query results for same data source only
2014-03-19 14:58:13 +02:00
Arik Fraimovich
515eb28d4d
No need to pass connection string to workers
2014-03-19 13:52:19 +02:00
Arik Fraimovich
062e65732a
No need to pass connection string to workers
2014-03-19 13:52:19 +02:00
Arik Fraimovich
f186c8cb5f
Remove get_query_result_by_id from data.Manager.
2014-03-19 13:50:52 +02:00
Arik Fraimovich
c40a73726e
Remove get_query_result_by_id from data.Manager.
2014-03-19 13:50:52 +02:00
Arik Fraimovich
193587dcfb
Move QUeyrResult logic from data.Manager to QueryResult.
2014-03-19 13:48:48 +02:00
Arik Fraimovich
e8d453e2d4
Move QUeyrResult logic from data.Manager to QueryResult.
2014-03-19 13:48:48 +02:00
Arik Fraimovich
3f91ebea5f
Fix QueryResult factory.
2014-03-19 13:48:11 +02:00
Arik Fraimovich
0c4d0cb5c5
Fix QueryResult factory.
2014-03-19 13:48:11 +02:00
Arik Fraimovich
7f118635b4
Fix import job to use data source with query result.
2014-03-19 13:47:35 +02:00
Arik Fraimovich
7efa48b3d7
Fix import job to use data source with query result.
2014-03-19 13:47:35 +02:00
Arik Fraimovich
0c199431a9
Add data source to QueryResult
2014-03-19 12:57:42 +02:00
Arik Fraimovich
000c482f1b
Add data source to QueryResult
2014-03-19 12:57:42 +02:00
Arik Fraimovich
4fffcab8aa
Fix tests to use data source
2014-03-19 12:53:51 +02:00
Arik Fraimovich
c919648412
Fix tests to use data source
2014-03-19 12:53:51 +02:00
Arik Fraimovich
7eb849affb
Data Source factory
2014-03-19 12:53:39 +02:00
Arik Fraimovich
6b57d4a2f7
Data Source factory
2014-03-19 12:53:39 +02:00
Arik Fraimovich
579ca28d6d
Fix importer to use data source
2014-03-19 12:53:30 +02:00
Arik Fraimovich
21b52e0b80
Fix importer to use data source
2014-03-19 12:53:30 +02:00
Arik Fraimovich
679921dc8e
Add DataSource to models list
2014-03-19 11:45:38 +02:00
Arik Fraimovich
7bd5604607
Add DataSource to models list
2014-03-19 11:45:38 +02:00
Arik Fraimovich
259ea39d55
Move Highcharts color definitions to highchart's code file
2014-03-19 11:44:50 +02:00
Arik Fraimovich
bb83157cbe
Move Highcharts color definitions to highchart's code file
2014-03-19 11:44:50 +02:00
Arik Fraimovich
f637ddf8ca
Remove definition of QueryFIddleCtrl.
2014-03-19 11:42:36 +02:00
Arik Fraimovich
ca7af014ae
Remove definition of QueryFIddleCtrl.
2014-03-19 11:42:36 +02:00
Arik Fraimovich
08b92e1f3d
Remove QueryFiddle ctrl.
2014-03-19 11:39:08 +02:00
Arik Fraimovich
a429487894
Remove QueryFiddle ctrl.
2014-03-19 11:39:08 +02:00
Arik Fraimovich
d4e4afb97d
Put deprecation comment for data source settings.
2014-03-19 11:37:07 +02:00
Arik Fraimovich
12f2dc8795
Put deprecation comment for data source settings.
2014-03-19 11:37:07 +02:00
Arik Fraimovich
dad207912e
Fix: query wasn't saving.
2014-03-19 11:34:26 +02:00
Arik Fraimovich
ec76ea307f
Fix: query wasn't saving.
2014-03-19 11:34:26 +02:00
Arik Fraimovich
6c9322624d
Use datasource when executing queries.
2014-03-19 11:23:38 +02:00
Arik Fraimovich
499909e09e
Use datasource when executing queries.
2014-03-19 11:23:38 +02:00
Arik Fraimovich
8ae41c0b6a
Show query's data source.
2014-03-19 11:22:51 +02:00
Arik Fraimovich
baad4742ef
Show query's data source.
2014-03-19 11:22:51 +02:00
Arik Fraimovich
b6dbc3356d
dict representation for DataSource.
2014-03-19 11:22:15 +02:00
Arik Fraimovich
a8773a9582
dict representation for DataSource.
2014-03-19 11:22:15 +02:00
Arik Fraimovich
2e078294c9
Update angular-resource to 1.2.7
2014-03-19 11:19:43 +02:00
Arik Fraimovich
efbb78ad7f
Update angular-resource to 1.2.7
2014-03-19 11:19:43 +02:00
Arik Fraimovich
1d001407a0
Move query runner creation to worker based on data source in Job.
2014-03-18 20:45:03 +02:00
Arik Fraimovich
8d41180f4c
Move query runner creation to worker based on data source in Job.
2014-03-18 20:45:03 +02:00
Arik Fraimovich
0b994de531
Refactor Job class to be easier to extend.
...
Moved the Redis logic out of it.
2014-03-18 17:48:37 +02:00
Arik Fraimovich
5a07ac38da
Refactor Job class to be easier to extend.
...
Moved the Redis logic out of it.
2014-03-18 17:48:37 +02:00
Arik Fraimovich
caa198964c
Move logging setup to __init__.py so it's always available
2014-03-18 17:48:37 +02:00
Arik Fraimovich
163f483a56
Move logging setup to __init__.py so it's always available
2014-03-18 17:48:37 +02:00
Arik Fraimovich
c7ded66057
Data sources model
2014-03-18 17:48:37 +02:00
Arik Fraimovich
e2ce0809da
Data sources model
2014-03-18 17:48:37 +02:00
Arik Fraimovich
8c80e99d3b
Merge pull request #139 from erans/master
...
Added support for running scripts as queries
2014-03-18 17:45:09 +02:00
Arik Fraimovich
bea85d0f62
Merge pull request #139 from erans/master
...
Added support for running scripts as queries
2014-03-18 17:45:09 +02:00
Christopher Valles
f87119e31a
Merge pull request #3 from hailocab/fix/bower
...
Fix ECMDERR
2014-03-18 12:08:36 +00:00
Arik Fraimovich
3f2ac6ab76
Merge pull request #143 from EverythingMe/fix_stacking
...
Feature: import query from json file
2014-03-17 21:29:49 +02:00
Arik Fraimovich
6a5b3a89d9
Merge pull request #143 from EverythingMe/fix_stacking
...
Feature: import query from json file
2014-03-17 21:29:49 +02:00
Arik Fraimovich
b97c9ee3c9
Feature: import query from json file
2014-03-17 21:28:48 +02:00
Arik Fraimovich
48b0c60cf1
Feature: import query from json file
2014-03-17 21:28:48 +02:00
Arik Fraimovich
f9fbff3fa5
Merge pull request #142 from EverythingMe/fix_stacking
...
Fix stacking
2014-03-17 21:24:39 +02:00
Arik Fraimovich
9b31e193ee
Merge pull request #142 from EverythingMe/fix_stacking
...
Fix stacking
2014-03-17 21:24:39 +02:00
Arik Fraimovich
cdac5fbf52
Remove console.log
2014-03-17 21:24:18 +02:00
Arik Fraimovich
20d12c0498
Remove console.log
2014-03-17 21:24:18 +02:00
Arik Fraimovich
aa7e010342
Fix: when having categories chart and not all series had values
...
it wouldn't draw the chart with stacking other than none.
2014-03-17 21:22:07 +02:00
Arik Fraimovich
fec57ecf59
Fix: when having categories chart and not all series had values
...
it wouldn't draw the chart with stacking other than none.
2014-03-17 21:22:07 +02:00
Arik Fraimovich
74d667b942
Merge pull request #140 from EverythingMe/query_filters
...
Feature: filters for all visualizations and not only tables
2014-03-17 21:08:58 +02:00
Arik Fraimovich
1c52d533d4
Merge pull request #140 from EverythingMe/query_filters
...
Feature: filters for all visualizations and not only tables
2014-03-17 21:08:58 +02:00
Arik Fraimovich
9a04535e6b
Reset filterFreeze when updating data.
2014-03-17 20:25:58 +02:00
Arik Fraimovich
c26fdb5dad
Reset filterFreeze when updating data.
2014-03-17 20:25:58 +02:00
Arik Fraimovich
f3d46355af
Because we draw the table without VisualizationRenderer we need to explicitly add filters here too.
2014-03-17 20:23:12 +02:00
Arik Fraimovich
db35b6f4e8
Because we draw the table without VisualizationRenderer we need to explicitly add filters here too.
2014-03-17 20:23:12 +02:00
Arik Fraimovich
44621e4f37
Switch to $watchCollection to resolve the issue of chart not updating when length of series stays the same.
2014-03-17 20:22:49 +02:00
Arik Fraimovich
690d4b8f50
Switch to $watchCollection to resolve the issue of chart not updating when length of series stays the same.
2014-03-17 20:22:49 +02:00
Arik Fraimovich
a99e290bc5
Store filters on QueryResult object and use them in getQueryData.
2014-03-17 20:22:24 +02:00
Arik Fraimovich
5b0f124307
Store filters on QueryResult object and use them in getQueryData.
2014-03-17 20:22:24 +02:00
Arik Fraimovich
2b5291900d
Show filters directive on all visualizations.
2014-03-17 20:21:39 +02:00
Arik Fraimovich
cc9d10b12b
Show filters directive on all visualizations.
2014-03-17 20:21:39 +02:00
Arik Fraimovich
19209d16aa
Filters directive.
2014-03-17 20:20:49 +02:00
Arik Fraimovich
5ee924a770
Filters directive.
2014-03-17 20:20:49 +02:00
Eran Sandler
a2257999a7
moved to use the query_runner.annotate_query flag so we won't get the SQL comment
2014-03-17 18:56:50 +02:00
Eran Sandler
d6337ec472
moved to use the query_runner.annotate_query flag so we won't get the SQL comment
2014-03-17 18:56:50 +02:00
Eran Sandler
d3e87a3d28
added support for a 'url' source where you can supply a URL to retrieve the same JSON result used in other query runners
2014-03-17 18:44:31 +02:00
Eran Sandler
05f1a6b7ea
added support for a 'url' source where you can supply a URL to retrieve the same JSON result used in other query runners
2014-03-17 18:44:31 +02:00
Eran Sandler
d435d122eb
Added support for running scripts as queries
2014-03-17 16:36:51 +02:00
Eran Sandler
dc364981c8
Added support for running scripts as queries
2014-03-17 16:36:51 +02:00
Arik Fraimovich
362c899632
Merge pull request #136 from EverythingMe/logout
...
Logout button
2014-03-13 12:37:06 +02:00
Arik Fraimovich
dd8478fe0a
Merge pull request #136 from EverythingMe/logout
...
Logout button
2014-03-13 12:37:06 +02:00
Amir Nissim
a80ed6998e
logout button. closes #125
2014-03-13 12:29:25 +02:00
Amir Nissim
97d614659a
logout button. closes #125
2014-03-13 12:29:25 +02:00
Arik Fraimovich
c7540ba87b
Fix minification issue
2014-03-12 16:53:22 +02:00
Arik Fraimovich
3b11f010b5
Fix minification issue
2014-03-12 16:53:22 +02:00
Alessio Garofalo
06e282102c
Fix ECMDERR
2014-03-12 12:42:37 +00:00
Arik Fraimovich
0b0d2bcdfc
Reduce expire time to 1800, to reduce changes of test failing
2014-03-12 13:41:42 +02:00
Arik Fraimovich
607123e67a
Reduce expire time to 1800, to reduce changes of test failing
2014-03-12 13:41:42 +02:00
Arik Fraimovich
3451deee03
Merge pull request #135 from EverythingMe/feature_roles
...
Fix: create table only if it doesn't exists.
2014-03-12 13:35:14 +02:00
Arik Fraimovich
67e4d24c11
Merge pull request #135 from EverythingMe/feature_roles
...
Fix: create table only if it doesn't exists.
2014-03-12 13:35:14 +02:00
Arik Fraimovich
2d995d0935
Create table only if it doesn't exists
2014-03-12 13:32:28 +02:00
Arik Fraimovich
0e3c6ac275
Create table only if it doesn't exists
2014-03-12 13:32:28 +02:00
Arik Fraimovich
3b34b1c2d9
Merge pull request #134 from EverythingMe/feature_roles
...
Feature: control the system name
2014-03-12 13:24:45 +02:00
Arik Fraimovich
549f9288a1
Merge pull request #134 from EverythingMe/feature_roles
...
Feature: control the system name
2014-03-12 13:24:45 +02:00
Arik Fraimovich
ae3151d3a7
Feature: control the system name
2014-03-12 13:22:37 +02:00
Arik Fraimovich
86ba16fbb8
Feature: control the system name
2014-03-12 13:22:37 +02:00
Arik Fraimovich
f07428a0df
Merge pull request #133 from EverythingMe/feature_roles
...
Feature: basic permissions system
2014-03-12 13:17:41 +02:00
Arik Fraimovich
cb74a2c6ae
Merge pull request #133 from EverythingMe/feature_roles
...
Feature: basic permissions system
2014-03-12 13:17:41 +02:00
Arik Fraimovich
0ab59033b5
Update manage.py to use permissions
2014-03-12 13:13:06 +02:00
Arik Fraimovich
97b163bc95
Update manage.py to use permissions
2014-03-12 13:13:06 +02:00
Arik Fraimovich
09f2e89bc4
Update tests for /status.json
2014-03-12 13:08:19 +02:00
Arik Fraimovich
13f3a5e172
Update tests for /status.json
2014-03-12 13:08:19 +02:00
Arik Fraimovich
3066327b0e
Use permissions in the UI
2014-03-12 12:59:05 +02:00
Arik Fraimovich
3bcd8bf2d5
Use permissions in the UI
2014-03-12 12:59:05 +02:00
Arik Fraimovich
52d7650d61
send user's permissions to the view
2014-03-12 12:46:05 +02:00
Arik Fraimovich
b0c50bd817
send user's permissions to the view
2014-03-12 12:46:05 +02:00
Arik Fraimovich
aaa38689b3
Change roles to permissions
2014-03-12 12:45:12 +02:00
Arik Fraimovich
3d95d6b8c9
Change roles to permissions
2014-03-12 12:45:12 +02:00
Arik Fraimovich
bf62b52183
Require admin role when asking for admin resource
2014-03-12 11:40:40 +02:00
Arik Fraimovich
cff710ee52
Require admin role when asking for admin resource
2014-03-12 11:40:40 +02:00
Arik Fraimovich
0961d13ac2
require_role(s) decorators
2014-03-12 11:40:40 +02:00
Arik Fraimovich
5003f36337
require_role(s) decorators
2014-03-12 11:40:40 +02:00
Arik Fraimovich
e976f39d2b
Add roles field to user
2014-03-12 11:40:40 +02:00
Arik Fraimovich
2854a1c8c0
Add roles field to user
2014-03-12 11:40:40 +02:00
Arik Fraimovich
c34889ced9
Remove unneeded wrapper function.
2014-03-12 11:40:40 +02:00
Arik Fraimovich
5eeaf6853e
Remove unneeded wrapper function.
2014-03-12 11:40:40 +02:00
Arik Fraimovich
a569a2c2c1
Merge pull request #132 from EverythingMe/feature_import
...
Fix overflow CSS to be auto instead of scroll
2014-03-12 11:38:44 +02:00
Arik Fraimovich
08b6141d06
Merge pull request #132 from EverythingMe/feature_import
...
Fix overflow CSS to be auto instead of scroll
2014-03-12 11:38:44 +02:00
Arik Fraimovich
356128fbf5
Fix overflow CSS to be auto instead of scroll
2014-03-12 11:38:21 +02:00
Arik Fraimovich
6cbc2736d8
Fix overflow CSS to be auto instead of scroll
2014-03-12 11:38:21 +02:00
Arik Fraimovich
a1ac2d512b
Merge pull request #131 from EverythingMe/feature_import
...
Feature: import dashboard (along with widgets, visualization and queries) from JSON
2014-03-11 19:23:24 +02:00
Arik Fraimovich
2db600b8d7
Merge pull request #131 from EverythingMe/feature_import
...
Feature: import dashboard (along with widgets, visualization and queries) from JSON
2014-03-11 19:23:24 +02:00
Arik Fraimovich
c3fc9879e0
Fix: use relative file path
2014-03-11 19:15:44 +02:00
Arik Fraimovich
5df3dbde1a
Fix: use relative file path
2014-03-11 19:15:44 +02:00
Arik Fraimovich
126d6f7f60
Update importer to use mappings
2014-03-11 18:51:41 +02:00
Arik Fraimovich
417571ecd6
Update importer to use mappings
2014-03-11 18:51:41 +02:00
Arik Fraimovich
3d726fe7b0
Update importer to update existing objects
2014-03-11 18:40:42 +02:00
Arik Fraimovich
6fa5668cbc
Update importer to update existing objects
2014-03-11 18:40:42 +02:00
Arik Fraimovich
c6ba21ad4c
Update Widget and QueryResult to inherit from BaseModel
2014-03-11 18:40:24 +02:00
Arik Fraimovich
07b8d3d157
Update Widget and QueryResult to inherit from BaseModel
2014-03-11 18:40:24 +02:00
Arik Fraimovich
be3bad7b90
Move import functions into a class, to have state
2014-03-11 18:23:25 +02:00
Arik Fraimovich
d6bd19438c
Move import functions into a class, to have state
2014-03-11 18:23:25 +02:00
Arik Fraimovich
2f53c7924d
Import functions to import JSON representation of a dashboard
2014-03-11 18:23:25 +02:00
Arik Fraimovich
0f29506dda
Import functions to import JSON representation of a dashboard
2014-03-11 18:23:25 +02:00
Arik Fraimovich
08d46bbbe3
Merge pull request #126 from EverythingMe/query-view-page
...
Fixes #121 : redesign query page (have separate page for editing and viewing)
2014-03-11 18:22:31 +02:00
Arik Fraimovich
f420c91909
Merge pull request #126 from EverythingMe/query-view-page
...
Fixes #121 : redesign query page (have separate page for editing and viewing)
2014-03-11 18:22:31 +02:00
Arik Fraimovich
db94db2957
Add support for ESC key in edit-in-place
2014-03-11 18:16:15 +02:00
Arik Fraimovich
6c00b8a853
Add support for ESC key in edit-in-place
2014-03-11 18:16:15 +02:00
Arik Fraimovich
c87dcf8aac
Fix tab size
2014-03-11 18:09:12 +02:00
Arik Fraimovich
38f20d7eba
Fix tab size
2014-03-11 18:09:12 +02:00
Arik Fraimovich
0e1dbc9624
Change fork button to default
2014-03-11 18:08:24 +02:00
Arik Fraimovich
19b97f63e5
Change fork button to default
2014-03-11 18:08:24 +02:00
Amir Nissim
0b90b7ea79
#121 fixes:
...
* fork your own query
* better redirect after saving new query
* UI fixes
2014-03-11 17:16:58 +02:00
Amir Nissim
fa4258f75c
#121 fixes:
...
* fork your own query
* better redirect after saving new query
* UI fixes
2014-03-11 17:16:58 +02:00
Amir Nissim
2b652cac1f
rd-time-ago directive
2014-03-11 16:35:19 +02:00
Amir Nissim
583546a7ca
rd-time-ago directive
2014-03-11 16:35:19 +02:00
Amir Nissim
6c40610d34
#121 More UI issues:
...
* source as link instead of button
* fix source link when url has a hash
* new query uses the new layout
* rename url /src => /source...
* when deleting a visualization update the hash
* don't submit title/description if it hasn't changed
* mobile: fix description field wrapping
2014-03-11 15:21:53 +02:00
Amir Nissim
a6f527bd51
#121 More UI issues:
...
* source as link instead of button
* fix source link when url has a hash
* new query uses the new layout
* rename url /src => /source...
* when deleting a visualization update the hash
* don't submit title/description if it hasn't changed
* mobile: fix description field wrapping
2014-03-11 15:21:53 +02:00
Amir Nissim
f1aec05835
#121 : source button to play nice with hashes - cont'd
2014-03-11 15:20:13 +02:00
Amir Nissim
56672a862f
#121 : source button to play nice with hashes - cont'd
2014-03-11 15:20:13 +02:00
Arik Fraimovich
4860ea1b4e
Revert to urls without slash when not needed
2014-03-11 15:20:13 +02:00
Arik Fraimovich
b5e5fb2bde
Revert to urls without slash when not needed
2014-03-11 15:20:13 +02:00
Arik Fraimovich
53dcd8b7b2
Fix routes
2014-03-11 15:20:13 +02:00
Arik Fraimovich
cf82b4899a
Fix routes
2014-03-11 15:20:13 +02:00
Amir Nissim
e8e2aab8e3
#121 : source button to play nice with hashes
2014-03-11 15:20:13 +02:00
Amir Nissim
554b21241b
#121 : source button to play nice with hashes
2014-03-11 15:20:13 +02:00
Amir Nissim
8d1b523b94
#121 : alerts
2014-03-11 15:20:13 +02:00
Amir Nissim
d6068395fa
#121 : alerts
2014-03-11 15:20:13 +02:00
Amir Nissim
31c59467db
#121 : editing query name, description, ttl triggers save
2014-03-11 15:20:13 +02:00
Amir Nissim
4836e5c239
#121 : editing query name, description, ttl triggers save
2014-03-11 15:20:13 +02:00
Amir Nissim
54c5a7dcb3
#121 : /src url
2014-03-11 15:20:13 +02:00
Amir Nissim
0ff4de1e10
#121 : /src url
2014-03-11 15:20:13 +02:00
Amir Nissim
d4287558f9
#121 : use resolve in RouteProvider to get query and instantiate controller when resolved
2014-03-11 15:20:12 +02:00
Amir Nissim
c91368229a
#121 : use resolve in RouteProvider to get query and instantiate controller when resolved
2014-03-11 15:20:12 +02:00
Amir Nissim
da496975bc
#121 : more layout changes
2014-03-11 15:20:12 +02:00
Amir Nissim
324205ed37
#121 : more layout changes
2014-03-11 15:20:12 +02:00
Amir Nissim
aaafb0f465
#121 : routing new views
2014-03-11 15:20:12 +02:00
Amir Nissim
950989b139
#121 : routing new views
2014-03-11 15:20:12 +02:00
Amir Nissim
7618fc97d2
#121 : mobile tweaks
2014-03-11 15:20:12 +02:00
Amir Nissim
498027301e
#121 : mobile tweaks
2014-03-11 15:20:12 +02:00
Amir Nissim
f01d224bdf
#121 : layout change - query editor on top
2014-03-11 15:20:12 +02:00
Amir Nissim
35f4be1abc
#121 : layout change - query editor on top
2014-03-11 15:20:12 +02:00
Amir Nissim
08355ff8af
#121 : edit refresh schedule, move alerts to right column
2014-03-11 15:20:12 +02:00
Amir Nissim
c9a8f7bd82
#121 : edit refresh schedule, move alerts to right column
2014-03-11 15:20:12 +02:00
Arik Fraimovich
f2ebfaba3e
Fix: no more flickering when switching visualization tabs.
2014-03-11 15:20:12 +02:00
Arik Fraimovich
7ad20ccff6
Fix: no more flickering when switching visualization tabs.
2014-03-11 15:20:12 +02:00
Amir Nissim
67f4c78d61
#121 : editable query name and description
2014-03-11 15:20:12 +02:00
Amir Nissim
1d4d5b4c1f
#121 : editable query name and description
2014-03-11 15:20:12 +02:00
Amir Nissim
02cf984711
#121 : 'show query' button for non-owners
2014-03-11 15:20:12 +02:00
Amir Nissim
2fa37a9732
#121 : 'show query' button for non-owners
2014-03-11 15:20:12 +02:00
Amir Nissim
ef86f44215
organizing /app files
2014-03-11 15:20:12 +02:00
Amir Nissim
51db8346d3
organizing /app files
2014-03-11 15:20:12 +02:00
Amir Nissim
315803dde2
#121 : QueryView page edit mode
2014-03-11 15:20:11 +02:00
Amir Nissim
e0c330fb29
#121 : QueryView page edit mode
2014-03-11 15:20:11 +02:00
Amir Nissim
f8280552a0
#121 : QueryViewCtrl with 'strict mode'
2014-03-11 15:20:11 +02:00
Amir Nissim
61316c40e5
#121 : QueryViewCtrl with 'strict mode'
2014-03-11 15:20:11 +02:00
Amir Nissim
4adfc4353b
#121 query view page
2014-03-11 15:20:11 +02:00
Amir Nissim
e57fabbd1d
#121 query view page
2014-03-11 15:20:11 +02:00
Arik Fraimovich
7d9a7eafc6
Merge pull request #130 from EverythingMe/fix_category_chart_sorting
...
Fix: (in category charts) don't sort values when there is more than one category
2014-03-11 15:16:51 +02:00
Arik Fraimovich
6ee4e6cd8e
Merge pull request #130 from EverythingMe/fix_category_chart_sorting
...
Fix: (in category charts) don't sort values when there is more than one category
2014-03-11 15:16:51 +02:00
Arik Fraimovich
97b727dcc0
Fix: don't sort values when there is more than one category
2014-03-11 15:14:32 +02:00
Arik Fraimovich
2cbee1bf82
Fix: don't sort values when there is more than one category
2014-03-11 15:14:32 +02:00
Arik Fraimovich
81525fa61b
Fix: compile all views.
2014-03-09 12:52:33 +02:00
Arik Fraimovich
30b4628593
Fix: compile all views.
2014-03-09 12:52:33 +02:00
Arik Fraimovich
87bb092c9d
Merge pull request #128 from EverythingMe/fix_visualizations_issues
...
Several visualizations related fixes.
2014-03-06 22:09:43 +02:00
Arik Fraimovich
5e72cc61b6
Merge pull request #128 from EverythingMe/fix_visualizations_issues
...
Several visualizations related fixes.
2014-03-06 22:09:43 +02:00
Arik Fraimovich
02f376b6d3
Hackish way to show dates as dates in the table and timestamps
...
as date+timestamp.
2014-03-06 19:58:04 +02:00
Arik Fraimovich
db1df07337
Hackish way to show dates as dates in the table and timestamps
...
as date+timestamp.
2014-03-06 19:58:04 +02:00
Arik Fraimovich
10f2bc3df5
Fix: custom visualization name was ignored (ref #127 )
2014-03-06 19:23:56 +02:00
Arik Fraimovich
ceb2e0cfb3
Fix: custom visualization name was ignored (ref #127 )
2014-03-06 19:23:56 +02:00
Arik Fraimovich
3e7b1cdc15
Pie chart: show value and not only %
2014-03-06 19:21:13 +02:00
Arik Fraimovich
5e981a579b
Pie chart: show value and not only %
2014-03-06 19:21:13 +02:00
Arik Fraimovich
234b15765c
Fix: the pivot table visualization was messing up other visualizations
...
by changing the data.
2014-03-06 19:18:07 +02:00
Arik Fraimovich
2b03973cf0
Fix: the pivot table visualization was messing up other visualizations
...
by changing the data.
2014-03-06 19:18:07 +02:00
Alessio Garofalo
53d81aebed
Add gunicorn to the requirements
...
So when we install it is already there.
2014-03-06 12:17:02 +00:00
Arik Fraimovich
462aaad9c0
Merge pull request #124 from erans/master
...
BigQuery support
2014-03-05 14:40:28 +02:00
Arik Fraimovich
afac41d3e6
Merge pull request #124 from erans/master
...
BigQuery support
2014-03-05 14:40:28 +02:00
Eran Sandler
4f72a61ea6
Added try..except to handle missing imports
2014-03-05 09:05:33 +02:00
Eran Sandler
f54d08a628
Added try..except to handle missing imports
2014-03-05 09:05:33 +02:00
Eran Sandler
bc1ae8b496
Bigquery support
2014-03-05 08:46:27 +02:00
Eran Sandler
5b42a4b36e
Bigquery support
2014-03-05 08:46:27 +02:00
Eran Sandler
98ee88c1bb
No need to use github style authenticated URLs, it can just break things.
2014-03-05 08:46:09 +02:00
Eran Sandler
7c89ff5c1b
No need to use github style authenticated URLs, it can just break things.
2014-03-05 08:46:09 +02:00
Arik Fraimovich
bd8abbbdbd
Merge pull request #122 from hailocab/DAT-706
...
Adding a new table called activity_log to log who runs what and when
2014-03-04 17:41:08 +02:00
Arik Fraimovich
9249dfee4c
Merge pull request #122 from hailocab/DAT-706
...
Adding a new table called activity_log to log who runs what and when
2014-03-04 17:41:08 +02:00
Christopher Valles
1ac945ad66
Adding a constant to activity model
2014-03-04 14:36:57 +00:00
Christopher Valles
e270d2534f
Adding a constant to activity model
2014-03-04 14:36:57 +00:00
Arik Fraimovich
c2b038c1c0
Merge pull request #123 from ekampf/feature/fixmyql
...
Handle empty data returned by queries
2014-03-04 15:36:00 +02:00
Arik Fraimovich
d5862f476b
Merge pull request #123 from ekampf/feature/fixmyql
...
Handle empty data returned by queries
2014-03-04 15:36:00 +02:00
Eran Kampf
02b5179eb3
Handle empty data returned by queries
2014-03-04 15:21:03 +02:00
Eran Kampf
100fd2c9f0
Handle empty data returned by queries
2014-03-04 15:21:03 +02:00
Christopher Valles
a2f55b9838
Removing unneeded imports in migration script
2014-03-04 13:12:43 +00:00
Christopher Valles
4fef4a8d33
Removing unneeded imports in migration script
2014-03-04 13:12:43 +00:00
Christopher Valles
933f799952
Merge branch 'master' into DAT-706
2014-03-04 13:10:34 +00:00
Christopher Valles
3018f8c521
Merge branch 'master' into DAT-706
2014-03-04 13:10:34 +00:00
Christopher Valles
826fccbc94
Adding a new table called activity_log to log who runs what and when
2014-03-04 13:04:55 +00:00
Christopher Valles
54453ee9e5
Adding a new table called activity_log to log who runs what and when
2014-03-04 13:04:55 +00:00
Amir Nissim
be0b5bb0d1
Merge pull request #100 from EverythingMe/feature_visualization_options
...
Visualizations refactor
2014-03-04 11:42:57 +02:00
Amir Nissim
cc957cc3e8
Merge pull request #100 from EverythingMe/feature_visualization_options
...
Visualizations refactor
2014-03-04 11:42:57 +02:00
Arik Fraimovich
2b274b706e
Set default name when creating
2014-03-04 11:38:00 +02:00
Arik Fraimovich
dd5fd72bd2
Set default name when creating
2014-03-04 11:38:00 +02:00
Arik Fraimovich
3ab1f9b5a3
Fixes #81 : reset query when saving widget
2014-03-04 11:33:11 +02:00
Arik Fraimovich
9d4655cc00
Fixes #81 : reset query when saving widget
2014-03-04 11:33:11 +02:00
Arik Fraimovich
e512fef78c
Switch to config object instead of millions of params
2014-03-04 11:09:04 +02:00
Arik Fraimovich
3320de07f2
Switch to config object instead of millions of params
2014-03-04 11:09:04 +02:00
Arik Fraimovich
448e82108d
Fix: reset visualization form after saving visualization
2014-03-04 10:59:07 +02:00
Arik Fraimovich
68482afa5c
Fix: reset visualization form after saving visualization
2014-03-04 10:59:07 +02:00
Arik Fraimovich
be93e77b2f
Rename Visaulization to VisualizationProvider
2014-03-04 10:19:28 +02:00
Arik Fraimovich
bfeded207a
Rename Visaulization to VisualizationProvider
2014-03-04 10:19:28 +02:00
Arik Fraimovich
5aed2b6baf
typo fix
2014-03-04 10:17:09 +02:00
Arik Fraimovich
a5971b0c69
typo fix
2014-03-04 10:17:09 +02:00
Arik Fraimovich
00b5aba88a
Remove the need to declare each visualization module in app dependencies.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
6d93ccc0d0
Remove the need to declare each visualization module in app dependencies.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
9c0edfdb9d
Fix chart editor declaration.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
69f5de6478
Fix chart editor declaration.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
b40e2e0a6f
Fix switch regular expression.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
4630a8d18d
Fix switch regular expression.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
d73130ebac
Refactor visualizations:
...
The main code doesn't know about individual visualizations and each visualization is contained in its own module. Should make adding/editing/removing visualizations easier.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
79e40a667b
Refactor visualizations:
...
The main code doesn't know about individual visualizations and each visualization is contained in its own module. Should make adding/editing/removing visualizations easier.
2014-03-04 10:17:08 +02:00
Arik Fraimovich
13016c7476
Remove unused dependency.
2014-03-04 10:16:32 +02:00
Arik Fraimovich
2c904641a5
Remove unused dependency.
2014-03-04 10:16:32 +02:00
Arik Fraimovich
667eb3035b
Merge pull request #119 from EverythingMe/fix_chart_name
...
Set the chart name by default to chart type.
2014-03-03 20:47:21 +02:00
Arik Fraimovich
1303163aee
Merge pull request #119 from EverythingMe/fix_chart_name
...
Set the chart name by default to chart type.
2014-03-03 20:47:21 +02:00
Arik Fraimovich
13f2ee2ae8
Fix: set the chart name by default to chart type.
2014-03-03 20:40:50 +02:00
Arik Fraimovich
14ecfd2cc8
Fix: set the chart name by default to chart type.
2014-03-03 20:40:50 +02:00
Arik Fraimovich
1b46c39a27
typo fix
2014-03-03 20:29:43 +02:00
Arik Fraimovich
a91eb9435b
typo fix
2014-03-03 20:29:43 +02:00
Arik Fraimovich
5d19096e0c
merge conflict fix & bump version
2014-03-03 20:27:04 +02:00
Arik Fraimovich
b5d2285b99
merge conflict fix & bump version
2014-03-03 20:27:04 +02:00
Arik Fraimovich
3f79189410
Merge pull request #118 from EverythingMe/feature_statsd
...
Feature: StatsD integration
2014-03-03 20:25:05 +02:00
Arik Fraimovich
fece24a50a
Merge pull request #118 from EverythingMe/feature_statsd
...
Feature: StatsD integration
2014-03-03 20:25:05 +02:00
Arik Fraimovich
1940099d3c
Merge pull request #112 from hailocab/DAT-741
...
PR to fix Issue 82
2014-03-03 20:17:54 +02:00
Arik Fraimovich
7d77da8339
Merge pull request #112 from hailocab/DAT-741
...
PR to fix Issue 82
2014-03-03 20:17:54 +02:00
Arik Fraimovich
240e0780a0
Basic stats reporting.
2014-03-03 20:17:25 +02:00
Arik Fraimovich
e43366f422
Basic stats reporting.
2014-03-03 20:17:25 +02:00
Arik Fraimovich
3e38ef959b
Use integers instead of uuid for workers id.
2014-03-03 20:16:42 +02:00
Arik Fraimovich
c7af5bdce9
Use integers instead of uuid for workers id.
2014-03-03 20:16:42 +02:00
Arik Fraimovich
9e2af21d5e
Statsd settings.
2014-03-03 20:15:14 +02:00
Arik Fraimovich
3f302ee4a3
Statsd settings.
2014-03-03 20:15:14 +02:00
Arik Fraimovich
3aa4d4c36c
Add statsd client requirements.
2014-03-03 20:15:02 +02:00
Arik Fraimovich
53ef0f3f2d
Add statsd client requirements.
2014-03-03 20:15:02 +02:00
Christopher Valles
81866cb6d3
Resolve conflicts
2014-03-03 17:35:01 +00:00
Christopher Valles
c6dbb8d7c8
Resolve conflicts
2014-03-03 17:35:01 +00:00
Christopher Valles
bee20a5478
Merge remote-tracking branch 'upstream/master'
2014-03-03 17:33:40 +00:00
Christopher Valles
f4088e0b38
Merge remote-tracking branch 'upstream/master'
2014-03-03 17:33:40 +00:00
Christopher Valles
b43e32169b
Merge branch 'master' into DAT-741
2014-03-03 17:18:15 +00:00
Christopher Valles
d3d46aa023
Merge branch 'master' into DAT-741
2014-03-03 17:18:15 +00:00
Christopher Valles
4d99541f7c
Fixing PR #112 as discussed with Arik
2014-03-03 17:11:38 +00:00
Christopher Valles
55cc3dd90e
Fixing PR #112 as discussed with Arik
2014-03-03 17:11:38 +00:00
Christopher Valles
089b67c40e
Fixing PR #112 as discussed with Arik
2014-03-03 17:08:07 +00:00
Christopher Valles
0822789002
Fixing PR #112 as discussed with Arik
2014-03-03 17:08:07 +00:00
Christopher Valles
9ca0f4a4fa
Fixing PR #112 as discussed with Arik
2014-03-03 16:45:45 +00:00
Christopher Valles
ffb2ec9bd1
Fixing PR #112 as discussed with Arik
2014-03-03 16:45:45 +00:00
Christopher Valles
0e1a0b4798
Fixing PR #112 as discussed with Arik
2014-03-03 16:41:53 +00:00
Christopher Valles
2bcb56d249
Fixing PR #112 as discussed with Arik
2014-03-03 16:41:53 +00:00
Arik Fraimovich
467ae5c8fa
Update the refresh queries query
2014-03-03 18:26:15 +02:00
Arik Fraimovich
8ccbe9c069
Update the refresh queries query
2014-03-03 18:26:15 +02:00
Arik Fraimovich
a3bf50e15e
Merge pull request #116 from EverythingMe/fix_category_graphs
...
Fixes to category charts
2014-03-03 15:31:30 +02:00
Arik Fraimovich
85f98f7405
Merge pull request #116 from EverythingMe/fix_category_graphs
...
Fixes to category charts
2014-03-03 15:31:30 +02:00
Arik Fraimovich
9d44a73d02
Feature: sort category charts by y value.
2014-03-03 15:27:39 +02:00
Arik Fraimovich
ac946fd014
Feature: sort category charts by y value.
2014-03-03 15:27:39 +02:00
Arik Fraimovich
8e9d537882
Fix: graphs with category as x axis were shown as datetime
...
graphs, because drawChart is called twice and on second pass
there is no x attribute on point object.
2014-03-03 15:21:49 +02:00
Arik Fraimovich
3680d0c65d
Fix: graphs with category as x axis were shown as datetime
...
graphs, because drawChart is called twice and on second pass
there is no x attribute on point object.
2014-03-03 15:21:49 +02:00
Christopher Valles
774b9cc368
Merge remote-tracking branch 'upstream/master'
2014-03-03 11:52:55 +00:00
Christopher Valles
8130d28442
Merge remote-tracking branch 'upstream/master'
2014-03-03 11:52:55 +00:00
Arik Fraimovich
00e3b06004
Merge pull request #114 from EverythingMe/feature_login_form
...
Feature: non OpenID users & login screen
2014-03-03 13:10:40 +02:00
Arik Fraimovich
9cac38d5da
Merge pull request #114 from EverythingMe/feature_login_form
...
Feature: non OpenID users & login screen
2014-03-03 13:10:40 +02:00
Arik Fraimovich
3014ba8eec
Fix: create_user_and_login should accept user
2014-03-03 13:07:57 +02:00
Arik Fraimovich
81122c9865
Fix: create_user_and_login should accept user
2014-03-03 13:07:57 +02:00
Arik Fraimovich
823f0b8db5
user management commands
2014-03-03 12:18:15 +02:00
Arik Fraimovich
b8a0077b1d
user management commands
2014-03-03 12:18:15 +02:00
Arik Fraimovich
af1b1c0edb
Set is_admin of user based on ADMINS list.
2014-03-03 11:53:49 +02:00
Arik Fraimovich
62108e3dac
Set is_admin of user based on ADMINS list.
2014-03-03 11:53:49 +02:00
Arik Fraimovich
dd4c3f152a
Build assets for login page
2014-03-03 11:49:31 +02:00
Arik Fraimovich
0c9fa8b51b
Build assets for login page
2014-03-03 11:49:31 +02:00
Arik Fraimovich
0a511e4f8a
Ability to disable openid or password login
2014-03-02 21:54:50 +02:00
Arik Fraimovich
aa2bf4fe22
Ability to disable openid or password login
2014-03-02 21:54:50 +02:00
Arik Fraimovich
524c2b8203
BaseResource.current_user wrapper to get real user object.
2014-03-02 18:30:06 +02:00
Arik Fraimovich
e82f561c03
BaseResource.current_user wrapper to get real user object.
2014-03-02 18:30:06 +02:00
Arik Fraimovich
578d9c6785
Logout controller
2014-03-02 18:27:05 +02:00
Arik Fraimovich
d348fe9012
Logout controller
2014-03-02 18:27:05 +02:00
Arik Fraimovich
c7efad2197
Login view
2014-03-02 17:59:08 +02:00
Arik Fraimovich
7271b7a5f0
Login view
2014-03-02 17:59:08 +02:00
Arik Fraimovich
adda8707ba
CircleCi: install dev_requirements.txt
2014-03-02 15:46:29 +02:00
Arik Fraimovich
522536cfe0
CircleCi: install dev_requirements.txt
2014-03-02 15:46:29 +02:00
Arik Fraimovich
640d0082da
Tests for authentication functions
2014-03-02 15:41:38 +02:00
Arik Fraimovich
f557b53ce2
Tests for authentication functions
2014-03-02 15:41:38 +02:00
Arik Fraimovich
f5bd7f113f
Chagne logging not to depend on app context
2014-03-02 15:41:20 +02:00
Arik Fraimovich
1277da7e92
Chagne logging not to depend on app context
2014-03-02 15:41:20 +02:00
Arik Fraimovich
8b1978fb26
Add mock to dev_requirements
2014-03-02 15:37:33 +02:00
Arik Fraimovich
f334122e41
Add mock to dev_requirements
2014-03-02 15:37:33 +02:00
Arik Fraimovich
812e8cca9a
Add flask_login and use it for managing authentication
2014-03-02 14:42:13 +02:00
Arik Fraimovich
269cbe839b
Add flask_login and use it for managing authentication
2014-03-02 14:42:13 +02:00
Arik Fraimovich
63bc04e800
Bump version.
2014-02-27 12:55:06 +02:00
Arik Fraimovich
2a3bcc2ecb
Bump version.
2014-02-27 12:55:06 +02:00
Arik Fraimovich
7eb776bc3f
Remove milestone v0.2 from README.
2014-02-27 12:45:56 +02:00
Arik Fraimovich
5babab85c8
Remove milestone v0.2 from README.
2014-02-27 12:45:56 +02:00
Arik Fraimovich
56981a5333
Merge pull request #105 from EverythingMe/feature_user_object
...
Resolve #17 : User model
2014-02-27 12:44:30 +02:00
Arik Fraimovich
8debd01a36
Merge pull request #105 from EverythingMe/feature_user_object
...
Resolve #17 : User model
2014-02-27 12:44:30 +02:00
Arik Fraimovich
54cd4723ba
Fix: saving new query.
2014-02-27 10:24:28 +02:00
Arik Fraimovich
51a37cae3d
Fix: saving new query.
2014-02-27 10:24:28 +02:00
Christopher Valles
c9f8b04a12
UX/UI issues with visualizations fixed
2014-02-25 19:59:14 +00:00
Christopher Valles
3c24e76eb4
UX/UI issues with visualizations fixed
2014-02-25 19:59:14 +00:00
Christopher Valles
11e970ee8a
Merge branch 'master' into DAT-741
2014-02-25 18:15:48 +00:00
Christopher Valles
6dc9f8ea2b
Merge branch 'master' into DAT-741
2014-02-25 18:15:48 +00:00
Christopher Valles
3d7367aa04
Merge remote-tracking branch 'upstream/master'
2014-02-25 18:15:24 +00:00
Christopher Valles
157b1ca0b4
Merge remote-tracking branch 'upstream/master'
2014-02-25 18:15:24 +00:00
Christopher Valles
2bcf5b2fc5
DAT-741
2014-02-25 18:14:47 +00:00
Christopher Valles
8be95262d4
DAT-741
2014-02-25 18:14:47 +00:00
Arik Fraimovich
39bc4d7151
Merge pull request #111 from EverythingMe/fix_graphite_settings
...
Fix: added JSON parsing of the Graphite settings
2014-02-25 08:38:32 +02:00
Arik Fraimovich
3cbdae6e5c
Merge pull request #111 from EverythingMe/fix_graphite_settings
...
Fix: added JSON parsing of the Graphite settings
2014-02-25 08:38:32 +02:00
Arik Fraimovich
f08e58a301
Fix: add parsing of graphite settings
2014-02-25 08:37:19 +02:00
Arik Fraimovich
edcf0661a6
Fix: add parsing of graphite settings
2014-02-25 08:37:19 +02:00
Arik Fraimovich
a49270630c
Fix graphite settings example
2014-02-25 08:36:59 +02:00
Arik Fraimovich
6d14c5c555
Fix graphite settings example
2014-02-25 08:36:59 +02:00
Arik Fraimovich
f703517f70
Remove outdated vagrant file
2014-02-25 08:17:16 +02:00
Arik Fraimovich
a0662d5323
Remove outdated vagrant file
2014-02-25 08:17:16 +02:00
Arik Fraimovich
6c1ca3036b
Make sure visualization don't overflow
2014-02-25 08:16:36 +02:00
Arik Fraimovich
cbd1cf7c25
Make sure visualization don't overflow
2014-02-25 08:16:36 +02:00
Arik Fraimovich
6ed80a9b92
Merge pull request #110 from ekampf/feature/fixmyql
...
Fixed mysql error handling
2014-02-24 20:20:20 +02:00
Arik Fraimovich
a55225b5e8
Merge pull request #110 from ekampf/feature/fixmyql
...
Fixed mysql error handling
2014-02-24 20:20:20 +02:00
Eran Kampf
42fa5c2ee7
Fixed MySQL Errors
2014-02-24 16:44:08 +02:00
Eran Kampf
b81c3ba614
Fixed MySQL Errors
2014-02-24 16:44:08 +02:00
Arik Fraimovich
8f34b241d4
Update Getting Started instructions.
2014-02-24 14:40:47 +02:00
Arik Fraimovich
2d0998a995
Update Getting Started instructions.
2014-02-24 14:40:47 +02:00
Arik Fraimovich
b0d6ce61b0
Fix tests
2014-02-22 14:52:04 +02:00
Arik Fraimovich
766840de68
Fix tests
2014-02-22 14:52:04 +02:00
Arik Fraimovich
9defa45428
Use of user object (fix views, update migrations and some).
2014-02-22 14:43:00 +02:00
Arik Fraimovich
791f2e0b34
Use of user object (fix views, update migrations and some).
2014-02-22 14:43:00 +02:00
Arik Fraimovich
52bcb8dfb6
User model & migration (ref #17 )
2014-02-18 11:15:46 +02:00
Arik Fraimovich
9241a7c35d
User model & migration (ref #17 )
2014-02-18 11:15:46 +02:00
Arik Fraimovich
1f90f13b81
Merge pull request #103 from EverythingMe/refresh_button
...
Use database number from redis url if available.
2014-02-17 18:02:22 +02:00
Arik Fraimovich
dda92477cf
Merge pull request #103 from EverythingMe/refresh_button
...
Use database number from redis url if available.
2014-02-17 18:02:22 +02:00
Arik Fraimovich
0a522863dc
Use database number from redis url if available.
2014-02-17 18:01:44 +02:00
Arik Fraimovich
07455e5821
Use database number from redis url if available.
2014-02-17 18:01:44 +02:00
Arik Fraimovich
e8a974813d
Merge pull request #102 from EverythingMe/refresh_button
...
Only refresh widgets that have their query data updated.
2014-02-17 17:59:27 +02:00
Arik Fraimovich
1b9aae0137
Merge pull request #102 from EverythingMe/refresh_button
...
Only refresh widgets that have their query data updated.
2014-02-17 17:59:27 +02:00
Arik Fraimovich
50da387936
Only refresh widgets that have their query data updated.
2014-02-17 17:57:26 +02:00
Arik Fraimovich
30b86ea781
Only refresh widgets that have their query data updated.
2014-02-17 17:57:26 +02:00
Arik Fraimovich
489869ee42
Merge pull request #101 from EverythingMe/refresh_button
...
Auto-refresh button for dashboards & every minute refresh rate
2014-02-17 17:22:22 +02:00
Arik Fraimovich
a186d44d8f
Merge pull request #101 from EverythingMe/refresh_button
...
Auto-refresh button for dashboards & every minute refresh rate
2014-02-17 17:22:22 +02:00
Arik Fraimovich
316b2a1b1c
Option to set every minute refresh rate.
2014-02-17 17:19:48 +02:00
Arik Fraimovich
574f75b293
Option to set every minute refresh rate.
2014-02-17 17:19:48 +02:00
Arik Fraimovich
a1625f7125
Auto-refresh button for dashboards.
2014-02-17 17:19:32 +02:00
Arik Fraimovich
252ae7455a
Auto-refresh button for dashboards.
2014-02-17 17:19:32 +02:00
Christopher Valles
63379d9b24
Adding .ruby-version to .gitignore
2014-02-14 11:57:42 +00:00
Christopher Valles
d73dbdeee0
Adding .ruby-version to .gitignore
2014-02-14 11:57:42 +00:00
Arik Fraimovich
d812f26e81
Merge pull request #99 from EverythingMe/feature_allow_external_users
...
Procfile changes:
2014-02-13 20:21:08 +02:00
Arik Fraimovich
72065c0ee2
Merge pull request #99 from EverythingMe/feature_allow_external_users
...
Procfile changes:
2014-02-13 20:21:08 +02:00
Arik Fraimovich
4ba3152a99
Procfile changes:
...
1. Renamed Honchofile -> Procfile.heroku and changed it to work better with Heroku.
2. Added Procfile.dev for development.
2014-02-13 20:16:36 +02:00
Arik Fraimovich
07caee1d12
Procfile changes:
...
1. Renamed Honchofile -> Procfile.heroku and changed it to work better with Heroku.
2. Added Procfile.dev for development.
2014-02-13 20:16:36 +02:00
Arik Fraimovich
d4f48cdc21
Merge pull request #98 from EverythingMe/feature_allow_external_users
...
Feature: allow external users
2014-02-13 20:15:54 +02:00
Arik Fraimovich
4c3904760c
Merge pull request #98 from EverythingMe/feature_allow_external_users
...
Feature: allow external users
2014-02-13 20:15:54 +02:00
Arik Fraimovich
dc0cc3af65
If only domain specified and not external users, use federated login.
2014-02-13 20:13:08 +02:00
Arik Fraimovich
8ad2c2a59e
If only domain specified and not external users, use federated login.
2014-02-13 20:13:08 +02:00
Arik Fraimovich
27031c96b5
Bring back the ability to set allowed external users & publicly open re:dash.
2014-02-13 20:04:28 +02:00
Arik Fraimovich
e5a365ba41
Bring back the ability to set allowed external users & publicly open re:dash.
2014-02-13 20:04:28 +02:00
Arik Fraimovich
b1ca28fbb5
Merge pull request #96 from EverythingMe/fix_description_nullable
...
Fix: allow queries.description to be null (+ migration)
2014-02-13 19:18:39 +02:00
Arik Fraimovich
fc0b118188
Merge pull request #96 from EverythingMe/fix_description_nullable
...
Fix: allow queries.description to be null (+ migration)
2014-02-13 19:18:39 +02:00
Arik Fraimovich
1b7bfb42fc
Fix: allow queries.description to be null.
2014-02-13 19:08:35 +02:00
Arik Fraimovich
a207b93d0d
Fix: allow queries.description to be null.
2014-02-13 19:08:35 +02:00
Arik Fraimovich
ea65204eaa
Merge pull request #95 from EverythingMe/feature_stacking_selection
...
Allow user to set the stacking of the chart.
2014-02-13 16:24:39 +02:00
Arik Fraimovich
b1d588b1f2
Merge pull request #95 from EverythingMe/feature_stacking_selection
...
Allow user to set the stacking of the chart.
2014-02-13 16:24:39 +02:00
Arik Fraimovich
4351e5a642
Allow user to set the stacking of the chart.
2014-02-13 16:19:15 +02:00
Arik Fraimovich
95a6bab8b5
Allow user to set the stacking of the chart.
2014-02-13 16:19:15 +02:00
Arik Fraimovich
f35289624c
CirlceCI: no longer need to delete settings.py.
2014-02-13 14:50:42 +02:00
Arik Fraimovich
c82433e6b4
CirlceCI: no longer need to delete settings.py.
2014-02-13 14:50:42 +02:00
Arik Fraimovich
47c322cb31
Merge pull request #94 from EverythingMe/fix_query_hash_not_updating
...
Fix: when updating query text the hash should change.
2014-02-13 13:13:38 +02:00
Arik Fraimovich
2e84852519
Merge pull request #94 from EverythingMe/fix_query_hash_not_updating
...
Fix: when updating query text the hash should change.
2014-02-13 13:13:38 +02:00
Arik Fraimovich
88f1237990
Fix: when updating query text the hash should change.
2014-02-13 13:08:48 +02:00
Arik Fraimovich
da746d15a0
Fix: when updating query text the hash should change.
2014-02-13 13:08:48 +02:00
Arik Fraimovich
4740a8b520
Merge pull request #93 from EverythingMe/feature_env
...
Feature: better Heroku support - move configuration to environment variables & Procfile
2014-02-13 12:15:52 +02:00
Arik Fraimovich
1b519269d8
Merge pull request #93 from EverythingMe/feature_env
...
Feature: better Heroku support - move configuration to environment variables & Procfile
2014-02-13 12:15:52 +02:00
Arik Fraimovich
521b6ab851
Fix CircleCI configuration
2014-02-12 21:37:56 +02:00
Arik Fraimovich
5ffaf1aead
Fix CircleCI configuration
2014-02-12 21:37:56 +02:00
Arik Fraimovich
9e328551e4
Example .env file.
2014-02-12 20:53:32 +02:00
Arik Fraimovich
b704406164
Example .env file.
2014-02-12 20:53:32 +02:00
Arik Fraimovich
44eaffd110
Bump version.
2014-02-12 20:52:36 +02:00
Arik Fraimovich
5c9fe40702
Bump version.
2014-02-12 20:52:36 +02:00
Arik Fraimovich
cb964b5888
Fix: allow passing relative path for assets.
2014-02-12 20:52:19 +02:00
Arik Fraimovich
fe7c4f96aa
Fix: allow passing relative path for assets.
2014-02-12 20:52:19 +02:00
Arik Fraimovich
81cbc7b87c
Read settings from environment variables instead of a settings file.
...
This is mostly done to make it easier to run re:dash on Heroku but should be convenient in other platforms too.
2014-02-12 20:43:41 +02:00
Arik Fraimovich
83909a07fa
Read settings from environment variables instead of a settings file.
...
This is mostly done to make it easier to run re:dash on Heroku but should be convenient in other platforms too.
2014-02-12 20:43:41 +02:00
Arik Fraimovich
8fa45749a9
Add Honcho (foreman alternative in Python) file(s).
...
The reason we have both Procfile and Honchofile is to be able to run both the workers and the web server in a single dyno on Heroku.
2014-02-12 20:42:32 +02:00
Arik Fraimovich
cd99927881
Add Honcho (foreman alternative in Python) file(s).
...
The reason we have both Procfile and Honchofile is to be able to run both the workers and the web server in a single dyno on Heroku.
2014-02-12 20:42:32 +02:00
Arik Fraimovich
910ea4caec
Rename test files to test_.
2014-02-12 20:41:36 +02:00
Arik Fraimovich
8bbb485d5b
Rename test files to test_.
2014-02-12 20:41:36 +02:00
Arik Fraimovich
0bff263c4b
Merge pull request #89 from EverythingMe/feature_pie_chart
...
Feature: pie charts
2014-02-11 16:46:12 +02:00
Arik Fraimovich
b2ec77668e
Merge pull request #89 from EverythingMe/feature_pie_chart
...
Feature: pie charts
2014-02-11 16:46:12 +02:00
Arik Fraimovich
38f85d3cc8
Better support for single series tooltips.
2014-02-11 16:30:41 +02:00
Arik Fraimovich
f8302ab65a
Better support for single series tooltips.
2014-02-11 16:30:41 +02:00
Arik Fraimovich
83002d09a4
Support for pie charts.
2014-02-11 16:30:23 +02:00
Arik Fraimovich
e632cf1c42
Support for pie charts.
2014-02-11 16:30:23 +02:00
Arik Fraimovich
a567178987
Merge pull request #88 from EverythingMe/feature_graphite_v2
...
Feature: graphite query runner
2014-02-11 11:47:11 +02:00
Arik Fraimovich
640557df4f
Merge pull request #88 from EverythingMe/feature_graphite_v2
...
Feature: graphite query runner
2014-02-11 11:47:11 +02:00
Arik Fraimovich
13c47639da
Make the default newOptions apply to all but the chart vis
2014-02-11 11:42:37 +02:00
Arik Fraimovich
9b7227a88b
Make the default newOptions apply to all but the chart vis
2014-02-11 11:42:37 +02:00
Arik Fraimovich
74b0535b31
Graphite query runner support
2014-02-11 11:38:34 +02:00
Arik Fraimovich
aabc912862
Graphite query runner support
2014-02-11 11:38:34 +02:00
Arik Fraimovich
cbd7799b44
Imrpove (?) line chart settings
2014-02-11 11:38:01 +02:00
Arik Fraimovich
02d6567347
Imrpove (?) line chart settings
2014-02-11 11:38:01 +02:00
Arik Fraimovich
98a8c4752b
Merge pull request #87 from EverythingMe/fix_viz
...
Some more visualizations UI updates
2014-02-10 21:11:13 +02:00
Arik Fraimovich
6f8767d1fc
Merge pull request #87 from EverythingMe/fix_viz
...
Some more visualizations UI updates
2014-02-10 21:11:13 +02:00
Arik Fraimovich
b2debb32d1
Show delete/edit/create new visualization only to query owner.
...
This is a temporary solution until we have owners for visualizations.
2014-02-10 21:06:52 +02:00
Arik Fraimovich
bc787efc86
Show delete/edit/create new visualization only to query owner.
...
This is a temporary solution until we have owners for visualizations.
2014-02-10 21:06:52 +02:00
Arik Fraimovich
098f3f6e4c
When clicking on widget in dashboard, it should take to the correct visualization tab.
2014-02-10 19:38:23 +02:00
Arik Fraimovich
e0d46c3942
When clicking on widget in dashboard, it should take to the correct visualization tab.
2014-02-10 19:38:23 +02:00
Arik Fraimovich
e8c7f728a2
Merge pull request #86 from EverythingMe/fix_viz
...
Fixes and improvements (most related to visualizations)
2014-02-10 10:29:40 +02:00
Arik Fraimovich
5a2bed29aa
Merge pull request #86 from EverythingMe/fix_viz
...
Fixes and improvements (most related to visualizations)
2014-02-10 10:29:40 +02:00
Arik Fraimovich
387ffbb0fc
Performance improvements for chart rendering:
...
1. Don't redraw when adding or removing a single series, but redraw at the end.
2. Use $timeout to postpone high charts rendering until DOM is ready.
2014-02-10 10:05:56 +02:00
Arik Fraimovich
8fbcd0c34d
Performance improvements for chart rendering:
...
1. Don't redraw when adding or removing a single series, but redraw at the end.
2. Use $timeout to postpone high charts rendering until DOM is ready.
2014-02-10 10:05:56 +02:00
Arik Fraimovich
d2d4f6186f
Remove SERIES_TYPES from Visualization.
2014-02-10 09:55:49 +02:00
Arik Fraimovich
97df37536c
Remove SERIES_TYPES from Visualization.
2014-02-10 09:55:49 +02:00
Arik Fraimovich
d5cd02cab3
Bring back logging level setting
2014-02-09 21:03:24 +02:00
Arik Fraimovich
373b9c6a97
Bring back logging level setting
2014-02-09 21:03:24 +02:00
Arik Fraimovich
d831710b0a
Fix for high charts bug with stacked areas.
2014-02-09 20:42:01 +02:00
Arik Fraimovich
009726c62d
Fix for high charts bug with stacked areas.
2014-02-09 20:42:01 +02:00
Arik Fraimovich
d5316b2c4d
Make tooltip work for all chart types.
2014-02-09 20:28:37 +02:00
Arik Fraimovich
69c07a41e9
Make tooltip work for all chart types.
2014-02-09 20:28:37 +02:00
Arik Fraimovich
7c4bedf371
Add scatter plot type.
...
cc: @christophervalles
2014-02-09 20:17:29 +02:00
Arik Fraimovich
64afd62a1f
Add scatter plot type.
...
cc: @christophervalles
2014-02-09 20:17:29 +02:00
Arik Fraimovich
7018ed28fb
There is no bar chart type -- it's column.
2014-02-09 20:03:32 +02:00
Arik Fraimovich
4318468957
There is no bar chart type -- it's column.
2014-02-09 20:03:32 +02:00
Arik Fraimovich
7213e62937
After duplicating a query, put user back on table tab.
2014-02-09 20:02:58 +02:00
Arik Fraimovich
1af3fc1c96
After duplicating a query, put user back on table tab.
2014-02-09 20:02:58 +02:00
Arik Fraimovich
219ea98f33
Set description of default table visualization to "".
2014-02-09 20:02:38 +02:00
Arik Fraimovich
1e11f8032a
Set description of default table visualization to "".
2014-02-09 20:02:38 +02:00
Arik Fraimovich
f6cbc36112
Set Visualization.description to nullable.
2014-02-09 19:38:41 +02:00
Arik Fraimovich
a1a7ca8a0a
Set Visualization.description to nullable.
2014-02-09 19:38:41 +02:00
Arik Fraimovich
93bc54e275
Return query with visualizations when saving.
2014-02-09 19:38:24 +02:00
Arik Fraimovich
52758fa66e
Return query with visualizations when saving.
2014-02-09 19:38:24 +02:00
Arik Fraimovich
44cd109ba3
Set default visualization description to ''.
2014-02-09 19:34:43 +02:00
Arik Fraimovich
fa43ff1365
Set default visualization description to ''.
2014-02-09 19:34:43 +02:00
Arik Fraimovich
482168f98e
Merge pull request #84 from EverythingMe/refactor_flask
...
Big refactor: flask, peewee, tests, structure changes and more
2014-02-09 19:11:59 +02:00
Arik Fraimovich
bd15162fb7
Merge pull request #84 from EverythingMe/refactor_flask
...
Big refactor: flask, peewee, tests, structure changes and more
2014-02-09 19:11:59 +02:00
Arik Fraimovich
f9b9c7136e
Remove coveralls.io integration as it's breaking builds.
2014-02-09 19:07:56 +02:00
Arik Fraimovich
cc980edc66
Remove coveralls.io integration as it's breaking builds.
2014-02-09 19:07:56 +02:00
Arik Fraimovich
84ec26f648
Tests for HMAC authentication.
2014-02-09 18:51:04 +02:00
Arik Fraimovich
7fd094ba39
Tests for HMAC authentication.
2014-02-09 18:51:04 +02:00
Arik Fraimovich
fcfe5da506
Add dev_requirements.txt file.
2014-02-09 17:37:47 +02:00
Arik Fraimovich
68ef489d8c
Add dev_requirements.txt file.
2014-02-09 17:37:47 +02:00
Arik Fraimovich
1e4bdb367e
Change coveralls badge to point at master branch
2014-02-09 17:37:37 +02:00
Arik Fraimovich
21ff1d7482
Change coveralls badge to point at master branch
2014-02-09 17:37:37 +02:00
Arik Fraimovich
d3ee55a971
Switch to Flask-Script.
2014-02-09 17:09:07 +02:00
Arik Fraimovich
669b1d9a63
Switch to Flask-Script.
2014-02-09 17:09:07 +02:00
Arik Fraimovich
3a967c5985
Move version information into python package.
2014-02-09 16:46:32 +02:00
Arik Fraimovich
29531a361c
Move version information into python package.
2014-02-09 16:46:32 +02:00
Arik Fraimovich
92f5df4704
Improve visualizations migration
2014-02-09 16:40:39 +02:00
Arik Fraimovich
c40cf2e7e8
Improve visualizations migration
2014-02-09 16:40:39 +02:00
Arik Fraimovich
2e8789de3b
Set automatic releases as 'prerelease'.
2014-02-09 15:20:58 +02:00
Arik Fraimovich
7bf391e772
Set automatic releases as 'prerelease'.
2014-02-09 15:20:58 +02:00
Arik Fraimovich
b7827f3eea
Update visualizations migration.
2014-02-09 15:14:46 +02:00
Arik Fraimovich
fbb84af955
Update visualizations migration.
2014-02-09 15:14:46 +02:00
Arik Fraimovich
8c101a1bbf
Update getting started instructions in the README.
2014-02-09 15:00:42 +02:00
Arik Fraimovich
d954eb63ef
Update getting started instructions in the README.
2014-02-09 15:00:42 +02:00
Arik Fraimovich
ee216dbf64
Show query name in dashboard editor
2014-02-09 14:48:15 +02:00
Arik Fraimovich
1b14161535
Show query name in dashboard editor
2014-02-09 14:48:15 +02:00
Arik Fraimovich
54675117de
Fix: bring back TABLE renderer to VisualizationRenderer.
2014-02-09 14:37:48 +02:00
Arik Fraimovich
bcf854604b
Fix: bring back TABLE renderer to VisualizationRenderer.
2014-02-09 14:37:48 +02:00
Arik Fraimovich
30d5b46daf
Fix: POST api/queries fields cleanup logic
2014-02-09 14:34:27 +02:00
Arik Fraimovich
f265d9174a
Fix: POST api/queries fields cleanup logic
2014-02-09 14:34:27 +02:00
Arik Fraimovich
45ec489080
Fix: format_sql api call wasn't working.
2014-02-09 14:33:52 +02:00
Arik Fraimovich
970e0e2d04
Fix: format_sql api call wasn't working.
2014-02-09 14:33:52 +02:00
Arik Fraimovich
93fe613a9a
Migratino to set Widget.type and Widget.query_id to nullables
2014-02-09 14:33:05 +02:00
Arik Fraimovich
9055865e1c
Migratino to set Widget.type and Widget.query_id to nullables
2014-02-09 14:33:05 +02:00
Arik Fraimovich
704f2c176d
Prefetching for widgets/visualizations/queries/query resutls when getting dashboard.
2014-02-08 21:16:36 +02:00
Arik Fraimovich
f9b6aca8e8
Prefetching for widgets/visualizations/queries/query resutls when getting dashboard.
2014-02-08 21:16:36 +02:00
Arik Fraimovich
d538134bb9
Bring back type to Widget definition.
2014-02-08 21:01:48 +02:00
Arik Fraimovich
d084b5a03c
Bring back type to Widget definition.
2014-02-08 21:01:48 +02:00
Arik Fraimovich
6e38050ac4
Fix unicode representatino of Widget and Visualization models.
2014-02-08 21:01:21 +02:00
Arik Fraimovich
a6ab0ff2aa
Fix unicode representatino of Widget and Visualization models.
2014-02-08 21:01:21 +02:00
Arik Fraimovich
f3c87ef313
Readme formatting
2014-02-06 21:27:43 +02:00
Arik Fraimovich
1bce924d83
Readme formatting
2014-02-06 21:27:43 +02:00
Arik Fraimovich
09a2136f02
Fix build status image link
2014-02-06 21:26:51 +02:00
Arik Fraimovich
f571e8ac6e
Fix build status image link
2014-02-06 21:26:51 +02:00
Arik Fraimovich
5c7331d0a4
Coveralls badge
2014-02-06 21:25:18 +02:00
Arik Fraimovich
27bf2e642b
Coveralls badge
2014-02-06 21:25:18 +02:00
Arik Fraimovich
187ea86c24
CirlceCI badge
2014-02-06 21:21:52 +02:00
Arik Fraimovich
d4ca903a07
CirlceCI badge
2014-02-06 21:21:52 +02:00
Arik Fraimovich
48639adc42
Create default visualization.
2014-02-06 21:12:02 +02:00
Arik Fraimovich
0f8bbdc9f2
Create default visualization.
2014-02-06 21:12:02 +02:00
Arik Fraimovich
509412dee6
Visualization API tests.
2014-02-06 21:02:14 +02:00
Arik Fraimovich
fb9f814b00
Visualization API tests.
2014-02-06 21:02:14 +02:00
Arik Fraimovich
44a95c4888
Use same database name in tests as CircleCI (until we add config for tests).
2014-02-06 21:02:13 +02:00
Arik Fraimovich
b4f88196dc
Use same database name in tests as CircleCI (until we add config for tests).
2014-02-06 21:02:13 +02:00
Arik Fraimovich
0f3400a6b7
Update circle config to create settings.py file.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
78e748548c
Update circle config to create settings.py file.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
a55bbc5e8c
Tests for Query, Widget and Dashboard controllers.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
199cddfbdb
Tests for Query, Widget and Dashboard controllers.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
8dad478a19
Factories for all models for tests.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
c0ca602017
Factories for all models for tests.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
31208c2af1
Update circle config to run python tests & cache packages.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
3471b9853e
Update circle config to run python tests & cache packages.
2014-02-06 21:02:13 +02:00
Arik Fraimovich
11f57b02e6
Migrations folder
2014-02-06 21:02:13 +02:00
Arik Fraimovich
6765d7d89f
Migrations folder
2014-02-06 21:02:13 +02:00
Arik Fraimovich
86a99e2337
Fix: bring back support for MySQL
2014-02-06 21:02:13 +02:00
Arik Fraimovich
250aa17e63
Fix: bring back support for MySQL
2014-02-06 21:02:13 +02:00
Arik Fraimovich
3470d38d7c
Visualization handlers.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
2942d20ac3
Visualization handlers.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
e6959e75f9
Add Visualization model.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
d32799b2dc
Add Visualization model.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
1e4f70747b
More tests (Dasboard API).
2014-02-06 20:56:00 +02:00
Arik Fraimovich
ff62fbbcf4
More tests (Dasboard API).
2014-02-06 20:56:00 +02:00
Arik Fraimovich
6ee3bc099d
Fix: make sure all dashboard slug are unique
2014-02-06 20:56:00 +02:00
Arik Fraimovich
69ec362a8d
Fix: make sure all dashboard slug are unique
2014-02-06 20:56:00 +02:00
Arik Fraimovich
13d44ee3e8
Create db task instead of SQL tables.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
41d00543d0
Create db task instead of SQL tables.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
fc9bffddbd
Updated requirements.txt (flask-peewee).
2014-02-06 20:56:00 +02:00
Arik Fraimovich
f890e590e1
Updated requirements.txt (flask-peewee).
2014-02-06 20:56:00 +02:00
Arik Fraimovich
64d573e28e
Add created_at to all models. ( #10 )
2014-02-06 20:56:00 +02:00
Arik Fraimovich
2aec982577
Add created_at to all models. ( #10 )
2014-02-06 20:56:00 +02:00
Arik Fraimovich
b2781a1ea6
Set needed fields as indexed.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
b66d5daad0
Set needed fields as indexed.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
04cdc75841
Remove MAX_CONNECTIONS from example settings
2014-02-06 20:56:00 +02:00
Arik Fraimovich
6ff07b99dc
Remove MAX_CONNECTIONS from example settings
2014-02-06 20:56:00 +02:00
Arik Fraimovich
bb7bb40e76
Use peewee in data.Manager.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
1586860e15
Use peewee in data.Manager.
2014-02-06 20:56:00 +02:00
Arik Fraimovich
a4055364e4
Remove Django from requirements.txt
2014-02-06 20:56:00 +02:00
Arik Fraimovich
99dac8f6fd
Remove Django from requirements.txt
2014-02-06 20:56:00 +02:00
Arik Fraimovich
71da6e4528
Remove Django from config
2014-02-06 20:56:00 +02:00
Arik Fraimovich
5fb910b886
Remove Django from config
2014-02-06 20:56:00 +02:00
Arik Fraimovich
5c113284e2
Remove Django models
2014-02-06 20:56:00 +02:00
Arik Fraimovich
fb826ec838
Remove Django models
2014-02-06 20:56:00 +02:00
Arik Fraimovich
b2cb3bcf1d
peewee based models
2014-02-06 20:55:14 +02:00
Arik Fraimovich
5198cc17d3
peewee based models
2014-02-06 20:55:14 +02:00
Arik Fraimovich
1821f90664
make test command
2014-02-06 20:55:14 +02:00
Arik Fraimovich
261ecfcb11
make test command
2014-02-06 20:55:14 +02:00
Arik Fraimovich
a66a8982ee
Exclude settings.py from coverage report.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
6582bce0d3
Exclude settings.py from coverage report.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
0a83a1f168
Coverage & coveralls.io support
2014-02-06 20:55:14 +02:00
Arik Fraimovich
db91ca82c1
Coverage & coveralls.io support
2014-02-06 20:55:14 +02:00
Arik Fraimovich
e97d3172eb
Initial version of tests.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
cb7fbc16b0
Initial version of tests.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
7c838bf54e
Add .coverage file to gitignore
2014-02-06 20:55:14 +02:00
Arik Fraimovich
c6c639f16f
Add .coverage file to gitignore
2014-02-06 20:55:14 +02:00
Arik Fraimovich
4a5c5143b3
Cleanup manage.py.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
cb5968bc5f
Cleanup manage.py.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
c02afbb4f9
Remove commented out code.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
693b25efc5
Remove commented out code.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
b647bc9b41
This version of GoogleAuth has no force_auth_on_every_request option.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
6eddaeda61
This version of GoogleAuth has no force_auth_on_every_request option.
2014-02-06 20:55:14 +02:00
Arik Fraimovich
c36b90db0f
Remove debug print.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
349bfa9139
Remove debug print.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
ddf3959d4d
Real HAMC authentication
2014-02-06 20:55:13 +02:00
Arik Fraimovich
b0f75678ee
Real HAMC authentication
2014-02-06 20:55:13 +02:00
Arik Fraimovich
b5f88c199c
Add API authentication support
2014-02-06 20:55:13 +02:00
Arik Fraimovich
0a0f7d7365
Add API authentication support
2014-02-06 20:55:13 +02:00
Arik Fraimovich
a0586457da
Make manage.py executable.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
6d1ff98bda
Make manage.py executable.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
288d1f7e5a
Fix import issues (renamed api to controllers).
2014-02-06 20:55:13 +02:00
Arik Fraimovich
065324d256
Fix import issues (renamed api to controllers).
2014-02-06 20:55:13 +02:00
Arik Fraimovich
38c28bccdb
Add server starting option to manage.py.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
69f7c3417e
Add server starting option to manage.py.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
e8b0178ae4
Update requirements.txt.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
806f57c627
Update requirements.txt.
2014-02-06 20:55:13 +02:00
Arik Fraimovich
9eeebf93fa
Remove code duplications
2014-02-06 20:55:13 +02:00
Arik Fraimovich
e4c7844cae
Remove code duplications
2014-02-06 20:55:13 +02:00
Arik Fraimovich
c1ccf02ff9
Move manage cli into top level
2014-02-06 20:55:13 +02:00
Arik Fraimovich
6ebfa16740
Move manage cli into top level
2014-02-06 20:55:13 +02:00
Arik Fraimovich
6533aa2826
Cleanup the api module
2014-02-06 20:55:13 +02:00
Arik Fraimovich
43cfdb8727
Cleanup the api module
2014-02-06 20:55:13 +02:00
Arik Fraimovich
ece1a51530
Replace Tornado with Flask
2014-02-06 20:55:13 +02:00
Arik Fraimovich
b31c5be70e
Replace Tornado with Flask
2014-02-06 20:55:13 +02:00
Arik Fraimovich
1d4a407161
Rename rd_service to redash.
2014-02-06 20:51:51 +02:00
Arik Fraimovich
d84d047470
Rename rd_service to redash.
2014-02-06 20:51:51 +02:00
Arik Fraimovich
9f5678c711
Merge pull request #83 from EverythingMe/viz
...
Visualization Followups + workers bugfix
2014-02-06 19:46:28 +02:00
Arik Fraimovich
42a0659012
Merge pull request #83 from EverythingMe/viz
...
Visualization Followups + workers bugfix
2014-02-06 19:46:28 +02:00
Amir Nissim
819ac84c2a
fix issue where start_workers failed when settings.CONNECTION_ADAPTER does not exist
2014-02-06 16:40:58 +02:00
Amir Nissim
6386f0f9aa
fix issue where start_workers failed when settings.CONNECTION_ADAPTER does not exist
2014-02-06 16:40:58 +02:00
Amir Nissim
fe90f3703e
Fixes #80 :
...
* Create default 'Table' visualization for all queries
* remove 'Table' type when creating new visualization
* Set type as the default visualization name (instead of the query name)
* Remove description field and advanced mode
* Remove section for adding new visualization in new widget dialog
2014-02-06 16:35:29 +02:00
Amir Nissim
9aaf17d478
Fixes #80 :
...
* Create default 'Table' visualization for all queries
* remove 'Table' type when creating new visualization
* Set type as the default visualization name (instead of the query name)
* Remove description field and advanced mode
* Remove section for adding new visualization in new widget dialog
2014-02-06 16:35:29 +02:00
Arik Fraimovich
0e956a605f
Merge pull request #79 from EverythingMe/viz
...
fix migration to set 'bars' as default
2014-02-05 17:55:23 +02:00
Arik Fraimovich
1f908f9040
Merge pull request #79 from EverythingMe/viz
...
fix migration to set 'bars' as default
2014-02-05 17:55:23 +02:00
Amir Nissim
32210d89f8
fix migration to set 'bars' as default
2014-02-05 17:54:12 +02:00
Amir Nissim
b51ef059f5
fix migration to set 'bars' as default
2014-02-05 17:54:12 +02:00
Arik Fraimovich
18a77c995f
Exclude venv dir from the release package
2014-02-05 09:48:11 +02:00
Arik Fraimovich
a9e135c94f
Exclude venv dir from the release package
2014-02-05 09:48:11 +02:00
Arik Fraimovich
9f36234c52
Add query_id back to widgets in tables.sql until we remove it from Model
2014-02-05 09:47:51 +02:00
Arik Fraimovich
212ade2da7
Add query_id back to widgets in tables.sql until we remove it from Model
2014-02-05 09:47:51 +02:00
Arik Fraimovich
0b74d9e998
Merge pull request #76 from EverythingMe/fix_75
...
Fix #75 : Large numbers shown as NaN/NaN/NaN NaN:NaN
2014-02-04 23:45:01 -08:00
Arik Fraimovich
54d545094f
Remove backward compatability workaround ( fixes #75 )
2014-02-05 09:41:03 +02:00
Arik Fraimovich
c239c476af
Merge pull request #74 from EverythingMe/update_readme
...
Readme update (added reference to mailing list & IRC channel)
2014-02-04 07:37:04 -08:00
Arik Fraimovich
a382a0cd44
Small fix to README.
2014-02-04 17:02:24 +02:00
Arik Fraimovich
0fee59a6ed
Merge pull request #73 from EverythingMe/viz
...
Visualization Support
2014-02-04 07:01:40 -08:00
Arik Fraimovich
e18226d108
Readme update (added reference to mailing list & IRC channel)
2014-02-04 16:58:36 +02:00
Amir Nissim
b079952491
version bump 0.2
2014-02-04 16:56:35 +02:00
Amir Nissim
d2da71c22a
migrating Widgets to Visualizations
2014-02-04 16:11:48 +02:00
Amir Nissim
9eb2a6a535
Visualization.name length to 255 (should match Query.name length)
2014-02-04 15:16:07 +02:00
Amir Nissim
dd5ef7ec72
add Visualization and SERIES types
2014-02-03 16:35:16 +02:00
Amir Nissim
c2cbcd3727
Dashboard visualizations
2014-02-03 16:12:29 +02:00
Amir Nissim
5c7baf9e05
QueryFiddle: Live chart type editing
2014-02-03 15:01:41 +02:00
Amir Nissim
e5f5e18ecc
Live visualization config POC (title only)
2014-02-02 18:20:18 +02:00
Amir Nissim
dae30037b6
delete visualizations
2014-02-02 13:23:01 +02:00
Amir Nissim
30eba3bfae
edit and create visualizations
2014-02-02 13:23:01 +02:00
Amir Nissim
77c0486f8c
create Visualization cont.
2014-02-02 13:23:01 +02:00
Amir Nissim
e00475520a
create Visualization [WIP]
2014-02-02 13:23:01 +02:00
Amir Nissim
bf90a6247e
Visualization models
2014-02-02 13:23:01 +02:00
Amir Nissim
3185cc041a
Visualization UI:
...
* queryfiddle page
* new widget form
2014-02-02 13:23:01 +02:00
Arik Fraimovich
f64b9084f5
Merge pull request #69 from ekampf/feature/mysql
...
MySQL Support
2014-01-30 06:20:58 -08:00
Eran Kampf
dc09561f30
Fixed MySQL Runner
2014-01-30 16:15:03 +02:00
Eran Kampf
e154cbe1ba
Redshift shouldn't be here
2014-01-30 16:03:58 +02:00
Eran Kampf
1f9ac49e27
Removed unnecessary logging
2014-01-30 11:28:49 +02:00
Eran Kampf
a7de923cea
Returned redshift code
2014-01-30 11:28:11 +02:00
Eran Kampf
a75430106e
Merge branch 'refs/heads/master' into feature/mysql
2014-01-30 11:21:33 +02:00
Eran Kampf
bc816100a0
Removed unecessary logging
2014-01-29 21:02:12 +02:00
Eran Kampf
33de209497
Separated query runners to diff files
2014-01-29 20:57:09 +02:00
Eran Kampf
8401e25504
Include MySQL example
2014-01-29 19:30:59 +02:00
Eran Kampf
db14c695e6
MySQL query runner
2014-01-29 19:02:21 +02:00
Arik Fraimovich
7a61b2ec80
Merge pull request #66 from EverythingMe/bug-9
...
Dashboard: update layout editor when adding/removing widgets. fixes #9
2014-01-26 07:28:54 -08:00
Arik Fraimovich
1e16e58f37
Fix to upload script
2014-01-26 17:04:12 +02:00
Arik Fraimovich
e84ca44178
Use only filename; without path
2014-01-26 16:59:59 +02:00
Arik Fraimovich
644c03503b
More explicit python version
2014-01-26 16:54:32 +02:00
Arik Fraimovich
d88288302a
Set Python version
2014-01-26 16:51:07 +02:00
Arik Fraimovich
42e0797b5b
Install requests in CircleCI
2014-01-26 16:34:31 +02:00
Arik Fraimovich
8826d41922
Cirlce: upload file to GitHub when done.
2014-01-26 16:30:16 +02:00
Arik Fraimovich
26d2d6f403
Add version to gzip file
2014-01-26 16:26:46 +02:00
Arik Fraimovich
438386de5d
Upload version to github script
2014-01-26 16:26:32 +02:00
Arik Fraimovich
99197396f1
Merge pull request #67 from EverythingMe/circleci
...
CircleCI configuration & makefile.
2014-01-25 23:28:15 -08:00
Arik Fraimovich
3770463499
CircleCI configuration & makefile.
2014-01-26 09:23:39 +02:00
Amir Nissim
d3979a5a5a
Dashboard: update layout editor when adding/removing widgets. fixes #9
2014-01-23 18:12:44 +02:00
Arik Fraimovich
e5bba73ea8
Merge pull request #65 from EverythingMe/bug-33
...
QueryFiddle: reset sorting when executing query. fixes #33
2014-01-23 05:35:34 -08:00
Arik Fraimovich
cd925d1896
Merge pull request #56 from EverythingMe/feature-queryform
...
queryFiddle: reset form state if changes have been reverted to original values (no ngForm)
2014-01-23 05:35:11 -08:00
Amir Nissim
82fe6f6fa7
QueryFiddle: reset sorting when executing query. fixes #33
2014-01-23 14:57:38 +02:00
Arik Fraimovich
c05cf29a37
Pass the widget options object as is.
2014-01-22 09:27:01 +02:00
Arik Fraimovich
160f491cc5
Option to control chart type
2014-01-22 08:56:54 +02:00
Amir Nissim
d652013572
queryFiddle: reset form state if changes have been reverted to original values (no ngForm)
2014-01-16 16:10:12 +02:00
Arik Fraimovich
c970503f61
Merge pull request #55 from EverythingMe/feature-queryform
...
use ngForm in queryFiddle page for detecting pristine and dirty states
2014-01-16 04:07:12 -08:00
Amir Nissim
5218f4f182
use ngForm in queryFiddle page for detecting pristine and dirty states
2014-01-16 13:44:13 +02:00
Amir Nissim
9230a77f96
edit-in-place: set ng-class inside directive
2014-01-15 17:02:23 +02:00
Arik Fraimovich
f8cc78eca5
Show link button on dashboard
2014-01-15 15:05:19 +02:00
Arik Fraimovich
a9f9af3cb8
Merge pull request #53 from EverythingMe/feature_description
...
Updates to edit-in-place directive & showing description in dashboard
2014-01-15 04:42:36 -08:00
Arik Fraimovich
ec71621d93
Make margin margin after description smaller
2014-01-15 14:35:56 +02:00
Amir Nissim
52376993df
edit-in-place: editable attr
2014-01-15 13:59:11 +02:00
Arik Fraimovich
74a5253c69
Show description in dashboard.
2014-01-15 11:38:38 +02:00
Arik Fraimovich
2aebc023d1
Show edit-in-place only if the user can edit.
2014-01-15 11:38:30 +02:00
Arik Fraimovich
8dfd453381
Change look of edit in place text area.
2014-01-15 11:15:35 +02:00
Arik Fraimovich
899cb9d4cf
Merge pull request #52 from EverythingMe/dev
...
Upgrade angular + editing query description
2014-01-14 11:33:38 -08:00
Amir Nissim
e34021c0be
Add ability to edit query description (FED #22 )
2014-01-14 17:10:55 +02:00
Arik Fraimovich
041d5da13b
Fix: default predicate should be undefined and not empty string
2014-01-14 17:10:55 +02:00
Amir Nissim
d421848795
upgrade: angular v1.2.7
2014-01-14 17:10:55 +02:00
Arik Fraimovich
96185e9c60
Add semicolon
2014-01-14 09:32:23 +02:00
Arik Fraimovich
5bd8ef2e5d
Fix: homepage was skipping dashboards in other group
2014-01-14 09:24:17 +02:00
Arik Fraimovich
3dae7e9523
use currentUser.canEdit in more places
2014-01-14 09:11:19 +02:00
Arik Fraimovich
7d4660173e
Show warning of leaving the page only if the user can edit the query.
2014-01-14 09:03:04 +02:00
Arik Fraimovich
612c6a331b
Only unbind save shortcut if we're actually leaving the page.
2014-01-14 09:02:10 +02:00
Arik Fraimovich
0c852a145e
Only save query if the user can edit it.
2014-01-14 09:01:42 +02:00
Arik Fraimovich
ed2d3a27e7
Add canEdit function to user object.
...
Checks if currentUser included in the user string the provided object. The reason I check inclusion and not equality, is to support scenario of multiple users.
2014-01-14 09:01:20 +02:00
Arik Fraimovich
de162817af
Add the option to specify analytics code to inject into the template.
2014-01-13 16:52:35 +02:00
Arik Fraimovich
fd1acd6533
Save query when pressing Cmd+S.
2014-01-11 20:04:27 +02:00
Arik Fraimovich
7282f61133
Fix: don't show save warning, when switching tabs.
2014-01-11 20:04:12 +02:00
Arik Fraimovich
0687d9ed98
Merge pull request #48 from EverythingMe/feature_query_api_key
...
Feature: allow downloading CSV of a query by using an API key
2014-01-04 02:00:15 -08:00
Arik Fraimovich
e45a3ebdb4
Allow downloading CSV for unauthenticated users with api_key.
2014-01-04 11:53:45 +02:00
Arik Fraimovich
b72f9f054d
Allow downloading CSV by query id and not just query_result id.
2014-01-04 11:21:52 +02:00
Arik Fraimovich
92b9fb60e9
Add api_key field to queries.
2014-01-04 11:09:13 +02:00
Arik Fraimovich
08951ab515
Add BaseAuthenticatedHandler and move authentication logic there.
2014-01-04 10:55:40 +02:00
Arik Fraimovich
c2d2bd0ea1
Fix cookbook path
2014-01-04 10:52:21 +02:00
Arik Fraimovich
ff6204c98e
Move vagrant related files to top level
2014-01-04 10:51:05 +02:00
Timor Raiman
c08831ca13
In Vagrantfile, support skiping tarball download, and graft the current development tree in stead
2014-01-04 10:51:04 +02:00
Timor Raiman
c8ef72e4d2
Correct postgresql encrypted vs cleartext passwords
2014-01-04 10:51:04 +02:00
Timor Raiman
b1bd52423a
Use md5 digest of readable pg password postgres user
2014-01-04 10:51:04 +02:00
Timor Raiman
4b980b8076
Force postgresql::server in Vagrant
2014-01-04 10:51:04 +02:00
Timor Raiman
63baa20403
Improve Vagrantfile
2014-01-04 10:51:04 +02:00
Timor Raiman
612aca217c
Code review by Yoni
2014-01-04 10:51:04 +02:00
Timor Raiman
92b56c99a3
Remove chef cookbooks (migrated to separate repo)
2014-01-04 10:51:04 +02:00
Timor Raiman
349b18d63a
Cleanup
2014-01-04 10:51:04 +02:00
Timor Raiman
11d331c051
Still hitting the encoding conversion error
2014-01-04 10:51:04 +02:00
Timor Raiman
63851b16af
Add .DS_Store to .gitignore
2014-01-04 10:51:04 +02:00
Timor
4384eed09f
add vanila vagrant configuration
2014-01-04 10:51:04 +02:00
Arik Fraimovich
e746805eaa
Merge pull request #47 from EverythingMe/fed-issue1
...
FED issue #1 [r=arikfr]
2013-12-31 01:05:04 -08:00
Amir Nissim
6c480178fe
Show confirm box, when trying to leave the page before saving the query (FED #1 )
2013-12-30 16:34:48 +02:00
Amir Nissim
7e94cc7ff8
Show indication when query has unsaved changes (FED #1 )
2013-12-30 15:11:49 +02:00
Amir Nissim
db20eeb555
Show error notification when saving a query fails (FED #1 )
2013-12-30 14:32:07 +02:00
Amir Nissim
9794f12a9b
harcode dependencies
2013-12-29 18:25:50 +02:00
Arik Fraimovich
9af88076e6
Limit page title size
2013-12-26 14:09:59 +02:00
Arik Fraimovich
290ae85128
You can't have dashes in object properties. Fixes #42
2013-12-23 21:59:01 +02:00
Arik Fraimovich
5c78760649
Prevent from setting a blank query title. Fixes #34
2013-12-23 21:56:01 +02:00
Arik Fraimovich
3cb8365ef3
Escape % in column names. Fixes #42
2013-12-23 21:33:11 +02:00
Arik Fraimovich
38e95a7f07
Dashboard menu has sub-menus now
2013-12-23 21:23:52 +02:00
Arik Fraimovich
6d392b1c91
having values ordered by Y, messes up the data so removing this
2013-12-22 17:23:39 +02:00
Arik Fraimovich
a8f7028c22
Merge branch 'bug_workers_dying'
2013-12-22 17:05:44 +02:00
Arik Fraimovich
35c7366b96
Fix: need to make sure that each category has a value
2013-12-22 17:05:40 +02:00
Arik Fraimovich
137bd43821
Add afork to mitigate issues of mixing threading and forking
2013-12-18 09:40:48 +02:00
Arik Fraimovich
08c9a0630d
Take only needed vals for connection params
2013-12-17 12:46:06 +02:00
Arik Fraimovich
abdc9f75cc
More places where I need to use redis_connection
2013-12-17 12:19:50 +02:00
Arik Fraimovich
ecaae1b934
Run annotated queries.
2013-12-17 12:03:10 +02:00
Arik Fraimovich
fc06f8c88e
Change Job to use redis connection instead of data manager & use own redis connection in forked process.
2013-12-17 12:02:58 +02:00
Arik Fraimovich
0fc62f07cc
Set proctitle for worker
2013-12-16 18:52:30 +02:00
Arik Fraimovich
4afb12669a
Add support for refreshing a query once a week
2013-12-13 18:46:14 +02:00
Arik Fraimovich
030864b72b
Humanize query runtime
2013-12-08 15:44:46 +02:00
Arik Fraimovich
0bf6e39c66
Improvements to queries page: ( #6 )
...
1. Search (client side).
2. Stats about queries.
3. Pagination.
2013-12-08 15:26:35 +02:00
Arik Fraimovich
0d6613b998
Return query stats (runtime and such) in API.
2013-12-08 15:25:44 +02:00
Arik Fraimovich
99875ff746
Bring back browser notifications ( #1 )
2013-12-07 14:18:39 +02:00
Arik Fraimovich
05bb0fcf43
Support for non date time x values.
2013-12-07 13:14:02 +02:00
Arik Fraimovich
bce60758e9
No more using connection pool in DataManager, as it used accross processes
2013-12-06 20:56:08 +02:00
Arik Fraimovich
7b85e78636
Add log_level to settings_example
2013-12-06 17:52:13 +02:00
Arik Fraimovich
4fa6ef828c
More readable status
2013-12-06 15:50:02 +02:00
Arik Fraimovich
08ca3431ac
Jobs done counter was updated in the wrong place
2013-12-06 15:32:36 +02:00
Arik Fraimovich
cfcc21b1cb
Improved system status.
2013-12-06 15:14:39 +02:00
Arik Fraimovich
4ea54ef5ce
Instead of killing the process, send SIGINT and cancel query on interupt.
2013-12-01 11:52:14 +02:00
Arik Fraimovich
fc65920462
Show cancel button in UI.
2013-11-29 21:30:03 +02:00
Arik Fraimovich
88a7ff62af
Job: when cancelling send SIGKILL instead of SIGINT.
2013-11-29 21:30:03 +02:00
Arik Fraimovich
1c75ae08bc
Job: support for old job that had no process id.
2013-11-29 21:30:03 +02:00
Arik Fraimovich
5ea63534f7
Naive implementation of job cancel
2013-11-29 21:30:03 +02:00
Arik Fraimovich
95805169dc
Store job process id
2013-11-29 21:30:03 +02:00
Arik Fraimovich
bcd018d8de
If worker forked process didn't exit cleanly, update job
2013-11-29 21:30:02 +02:00
Arik Fraimovich
34627f5e60
Don't use connection pool in query runner
2013-11-29 21:30:02 +02:00
Arik Fraimovich
0ae1692f99
Fix: child process wasn't exiting
2013-11-29 21:30:02 +02:00
Arik Fraimovich
6becbee27a
Run query in forked process
2013-11-29 21:30:02 +02:00
Arik Fraimovich
78633b06de
Log exception when refresh queries fails
2013-11-29 21:30:02 +02:00
Arik Fraimovich
78bf265d7a
Fix: use String ctor function instead of toString to handle nulls
2013-11-29 21:30:02 +02:00
Arik Fraimovich
1690a25262
Fix: use String ctor function instead of toString to handle nulls
2013-11-24 16:06:01 +02:00
Arik Fraimovich
f76f284ce2
Add support for displaying cohorts in dashbaords
2013-11-17 13:41:54 +02:00
Arik Fraimovich
5080b754d4
Merge pull request #36 from shayel/master
...
Fixed installation dependencies, instructions
2013-11-07 10:09:23 -08:00
Arik Fraimovich
bdb97182e4
Fixes #38 : getChartData returns sorted data by x
2013-11-06 15:24:41 +02:00
Arik Fraimovich
c668ed8a2b
Show shared tooltip & percentage
2013-11-06 15:03:08 +02:00
Arik Fraimovich
10a1350bb3
Support multiple series on one row
2013-11-05 13:50:27 +02:00
Arik Fraimovich
c10fb2916f
Fix: when series name was 0 (the number) it would use the y name instead
2013-11-05 13:27:28 +02:00
Arik Fraimovich
91185abb4c
Update title to use | instead of :
2013-11-04 17:11:45 +02:00
Arik Fraimovich
e402b06c6c
Make qr take redis connection params from the general redis connection
2013-11-04 15:52:48 +02:00
Shay Elkin
6a09adf11c
Take specific grunt commit (that fixes gh-886)
2013-11-02 15:15:31 +02:00
Shay Elkin
ba7ba751fd
Fixed installation dependencies, instructions
...
* rd_ui/package.json:
* Add missing bower, grunt-cli dependencies
* Take grunt from HEAD, as 0.4.1 has broken dependency: 08a3af53ff
* README.md:
* Update instructions
2013-10-31 17:19:13 +02:00
Arik Fraimovich
ba3c02c912
Update README.md
2013-10-31 12:22:45 +02:00
Arik Fraimovich
6f6bd256b5
Update README.md
2013-10-30 18:25:17 +02:00
Arik Fraimovich
c8d1780ee8
Fix: columns with multiple spaces were not showing correctly
2013-10-30 17:45:26 +02:00
Arik Fraimovich
31e904c21a
Fix: move utf deocding to proper place
2013-10-30 17:38:05 +02:00
Arik Fraimovich
6773488644
Fix: when query had unicode characters it was failling to execute
2013-10-30 17:11:00 +02:00
Arik Fraimovich
84b0d52510
Don't send query result when saving a query
2013-10-30 16:51:08 +02:00
Arik Fraimovich
db9aa4bc38
Fix #18 : don't retrieve query results when already have them & ttl = -1.
2013-10-30 16:43:24 +02:00
Arik Fraimovich
04e1534001
Fix: stop sending latest_query_data back to the server. Fixes #31
2013-10-30 16:43:24 +02:00
Arik Fraimovich
74d4928fb0
Add getting started instructions.
2013-10-30 13:10:16 +02:00
Arik Fraimovich
d31d422eb0
Add screenshots to README.
2013-10-30 12:37:33 +02:00
Arik Fraimovich
eb5b62b670
Add dist folder to gitignore
2013-10-30 12:33:36 +02:00
Arik Fraimovich
53ef4fee1e
Update README.md
2013-10-30 12:23:49 +02:00
Arik Fraimovich
b3cdc4f5fc
Add link to demo instance.
2013-10-30 12:23:16 +02:00
Arik Fraimovich
63abb61248
Merge pull request #35 from amirnissim/patch-1
...
Update README.md
2013-10-30 01:13:07 -07:00
Amir Nissim
59e16866fb
Update README.md
...
fixed broken Tornado link
2013-10-30 10:08:22 +02:00
Arik Fraimovich
9fc36bd6fa
Group dashboards by category.
2013-10-29 19:08:11 +02:00
Arik Fraimovich
4051fae33b
Enable cohorts to all users
2013-10-29 09:13:07 +02:00
Arik Fraimovich
b014dadfe3
Fix numbers format in grid.
2013-10-28 22:01:18 +02:00
Arik Fraimovich
900b084156
Fix: sorting on number/dates columns was wrong
2013-10-28 21:52:21 +02:00
Arik Fraimovich
fa96c94085
Move cookie secret to settings. #7
2013-10-28 19:48:20 +02:00
Arik Fraimovich
bd1d287c87
Fix use min configuration not to depend on the bower_components directory in dist.
2013-10-28 19:34:51 +02:00
Arik Fraimovich
b74f7e4eac
Add resolutions to bower.json.
2013-10-28 18:24:41 +02:00
Arik Fraimovich
7a57132c1c
updated roadmap
2013-10-28 16:51:49 +02:00
Arik Fraimovich
46c2367e50
README: fix link to new issue.
2013-10-28 15:23:10 +02:00
Arik Fraimovich
7378f85297
Link to the license file in README.
2013-10-28 15:21:03 +02:00