Skip to content

Commit 7ac6058

Browse files
authored
Update v8 branch to v8-beta.2 (#4149)
* 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 * 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 * 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. * Removed redash-newstyle.less (#4017) * Make sure we always pass a list to _get_column_lists (#4095) (some data sources might return None as the columns list) * [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 * [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 * 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 * Migrate with SQL statements. (#4105) * 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 * Fix widget bottom element alignment (#4110) * 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 * Fix Dropdown parameter options appearing behind Dialog (#4109) * Add ability to use Ant's Table loading property when using ItemsTable (#4117) * Display data source icon in query editor (#4119) * 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. * Fix number param value normlization (#4116) * Use ng-src for data source icons (#4123) * hive_ds: show a user friendly error message when possible (#4121) * Update botocore, to get pass pip warning (#4122) * Widget table scroll-x visible (#4101) * Table viz horizontal scroll made visible * Added tests * Fixed snapshot pre-condition * Perhaps this would trigger percy * Upgrade Sentry-SDK and enable additional integratoins (#4127) * Update sentry-sdk version * Add additional Sentry integrations * 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 * Sync botocor eversions across requirements files. (#4128) * Decrease size of widget pagination (#4120) * Added tests * Perhaps this would trigger percy * Decrease size of widget pagination * Removed unused attr * Updated tests * Allow the user to decide how to handle null values in charts (#4071) * #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 * Alerts: Add more condition comparison options (#4134) * #4132 Add more condition comparison options * Add arguments to fallback lambda * Remove duplicate messages method (#4131) * 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 * Add jsconfig settings with '@' webpack alias (#4135) * Counter Editor: move components to own files (#4138) * 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 * CHANGELOG for V8-beta. (#4057) * CHANGELOG for V8-beta. * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md * Bug fix: Query view doesn't sync parameters when selecting and deleting (#4146) * 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 2f346f3. * Query Snippets: use onClick instead of link * Color picker component (#4136) * Widget filters overlapped by visualization (#4137) * Fix: widget filters overlapped by visualization * Fix tests * Fix tests * CHANGELOG for v8.0.0-beta.2 (#4145) * Stop building tarballs. * Update version reference. * CHANGELOG for 8.0.0-beta.2
1 parent b426e4f commit 7ac6058

File tree

198 files changed

+6884
-3346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+6884
-3346
lines changed

.circleci/config.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,6 @@ jobs:
9090
- run:
9191
name: Execute Cypress tests
9292
command: npm run cypress run-ci
93-
build-tarball:
94-
docker:
95-
- image: circleci/node:8
96-
steps:
97-
- checkout
98-
- run: sudo apt install python-pip
99-
- run: sudo pip install -r requirements_bundles.txt
100-
- run: npm install
101-
- run: .circleci/update_version
102-
- run: npm run bundle
103-
- run: npm run build
104-
- run: rm -rf ./node_modules/
105-
- run: .circleci/pack
106-
- store_artifacts:
107-
path: /tmp/artifacts/
10893
build-docker-image:
10994
docker:
11095
- image: circleci/node:8
@@ -130,16 +115,6 @@ workflows:
130115
- frontend-e2e-tests:
131116
requires:
132117
- frontend-lint
133-
- build-tarball:
134-
requires:
135-
- backend-unit-tests
136-
- frontend-unit-tests
137-
- frontend-e2e-tests
138-
filters:
139-
branches:
140-
only:
141-
- master
142-
- /release\/.*/
143118
- build-docker-image:
144119
requires:
145120
- backend-unit-tests

CHANGELOG.md

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,118 @@
11
# Change Log
22

3+
## v8.0.0-beta.2 - 2019-09-16
4+
5+
This is an update to the previous beta release, which includes:
6+
7+
* Add options for users to share anonymous usage information with us (see [docs](https://redash.io/help/open-source/admin-guide/usage-data) for details).
8+
* Visualizations:
9+
- Allow the user to decide how to handle null values in charts.
10+
* Upgrade Sentry-SDK to latest version.
11+
* Make horizontal table scroll visible in dashboard widgets without scrolling.
12+
* Data Sources:
13+
* Add support for Azure Data Explorer (Kusto).
14+
* MySQL: fix connections without SSL configuration failing.
15+
* Amazon Redshift: option to set query group for adhoc/scheduled queries.
16+
* Hive: make error message more friendly.
17+
* Qubole: add support to run Quantum queries.
18+
* Display data source icon in query editor.
19+
* Fix: allow users with view only acces to use the queries in Query Results
20+
* Dashboard: when updating parameters refersh only widgets that use those parameters.
21+
22+
This release had contributions from 12 people: @arikfr, @cclauss, @gabrieldutra, @justinclift, @kravets-levko, @ranbena, @rauchy, @sandeepV2, @shinsuke-nara, @spacentropy, @sphenlee, @swfz.
23+
24+
25+
## v8.0.0-beta - 2019-08-18
26+
27+
After months of being heads down with hard work, it's finally time to wrap up the V8 release 🤩 This release includes many long awaited improvements to parameters, UX improvements, further React migration and other changes, fixes and improvements.
28+
29+
While this version is already running on the hosted platform to make sure it's stable, we're excited to put this in the hands of our Open Source users.
30+
31+
Starting from this release we will no longer build a tarball distribution of the codebase and recommend everyone to switch over to using our Docker images. We're planning on dropping Python 2 support towards its EOL this year and switching over to the Docker image will make this transition much simpler.
32+
33+
This release was made possible by contributions from over 40 people: @aidarbek, @AntonZarutsky, @ariarijp, @arikfr, @combineads, @deecay, @fmy, @gabrieldutra, @guwenqing, @guyco33, @ialeinikov, @Jakdaw, @jezdez, @justinclift, @k-tomoyasu, @katty0324, @koooge, @kravets-levko, @ktmud, @KumanoTanaka, @kyoshidajp, @nason, @oldPadavan, @openjck, @osule, @otsaloma, @ranbena, @rauchy, @rueian, @sekiyama58, @shinsuke-nara, @taminif, @The-Alchemist, @vv-p, @washort, @wudi-ayuan, @ygrishaev, @yoavbls, @yoshiken, @yusukegoto and the support of over 500 organizations who subscribed to our hosted version and by that sponsor the team's work.
34+
35+
### Parameters
36+
37+
- Parameter UI improvements:
38+
- Support for multi-select in dropdown (and query dropdown) parameters.
39+
- Support for dynamic values in date and date-range parameters.
40+
- Search dropdown parameter values.
41+
- New UX for applying parameter changes in queries and dashboards.
42+
- Allow using Safe Parameters in visualization embeds and public dashboards. Safe Parameters are any parameter type except for the a text parameter (dropdowns are safe).
43+
44+
### Data Sources
45+
46+
- New Data Sources: Couchbase, Phoenix and Dgraph.
47+
- New JSON data source (and deprecated old URL data source).
48+
- Snowflake: update connector to latest version.
49+
- PostgreSQL: show only accessible tables in schema.
50+
- BigQuery:
51+
- Correctly handle NaN values.
52+
- Treat repeated fields as rrays.
53+
- [BigQuery] Fix: in some queries there is no mode field
54+
- DynamoDB:
55+
- Support for Unicode in queries.
56+
- Safe loading of schema.
57+
- Rockset: better handling of query errors.
58+
- Google Sheets:
59+
- Support for Team Drive.
60+
- Friendlier error message in case of an API error and more reliable test connection.
61+
- MySQL:
62+
- Support for calling Stored Procedures and better handling of query cancellation.
63+
- Switch to using `mysqlclient` (a maintained fork of `Python-MySQL`).
64+
- MongoDB: Support serializing Decimal128 values.
65+
- Presto: support for passwords in connection settings.
66+
- Amazon Athena: allow to specify custom work group.
67+
- Query Results: querying a column with a dictionary or array fails
68+
- Clickhouse: make sure we don't show password in error messages.
69+
- Enable Cassandra support by default.
70+
71+
### Visualizations
72+
73+
- Charts:
74+
- Fix: legend overlapping chart on small screens.
75+
- Fix: Pie chart not rendering when series doesn't exist in options.
76+
- Pie Chart: add option to set direction of slices.
77+
- WordCloud: rewritten to support new options (provide frequency in query, limits), scale when resizing, handle long words and more.
78+
- Pivot Table: support hiding totals.
79+
- Counters: apply formatting to target value.
80+
- Maps:
81+
- Ability to customize marker icon and color.
82+
- Customization options for Choropleth maps.
83+
- New Visualization: Details View.
84+
85+
### **UX**
86+
87+
- Replace blank screen with a loading indicator when the application is doing its first load.
88+
- Multiple improvements to dashboards editing: auto-save, grid markings and better refresh indicator.
89+
- Admin can now edit user's groups from the user page.
90+
- Add keyboard shortcut (Ctrl/Cmd+Shift+F) to trigger query formatting.
91+
92+
### API
93+
94+
- Query Result API response minimized to only required fields when called with a non user API key.
95+
- Prefer API key over cookies in authentication.
96+
- User can now regenerate Query API Key.
97+
98+
### Other Changes
99+
100+
- Sends CSP headers to prevent various kinds of security attacks via the browser. Might break unusual usages and embeds of Redash.
101+
- New Failed Scheduled Queries email report (can be enabled from organization settings screen).
102+
- Deprecated HipChat Alert Destination.
103+
- Add options to hide different parts of a Visualization embed UI (parameters, title, link to query).
104+
- Support multi-byte search for query names and descriptions (needs to be enabled in Organization settings screen).
105+
- CSV query results download: correctly serialize booleans and date values.
106+
- Dashboard filters now collect values from all widgets with the same filter.
107+
- Support for custom message and description in alert notifications (currently disabled behind a feature flag until we improve the alert UX).
108+
109+
### Bug Fixes
110+
111+
- Fix: adding widget to dashboard from a query page is broken.
112+
- Fix: default time format option was wrong.
113+
- Fix: when too many errors of a scheduled queries occur it causes an OverflowError.
114+
- Fix: when forking a query maintain the same visualizations order.
115+
3116
## v7.0.0 - 2019-03-17
4117

5118
We're trying a new format for the CHANGELOG in this release. Focusing on the bigger changes, but for whoever interested, you can see all the changes [here](https://github.com/getredash/redash/compare/v6.0.0...master).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![Documentation](https://img.shields.io/badge/docs-redash.io/help-brightgreen.svg)](https://redash.io/help/)
66
[![Datree](https://s3.amazonaws.com/catalog.static.datree.io/datree-badge-20px.svg)](https://datree.io/?src=badge)
7-
![Build Status](https://circleci.com/gh/getredash/redash.png?circle-token=8a695aa5ec2cbfa89b48c275aea298318016f040)
7+
[![Build Status](https://circleci.com/gh/getredash/redash.png?style=shield&circle-token=8a695aa5ec2cbfa89b48c275aea298318016f040)](https://circleci.com/gh/getredash/redash/tree/master)
88

99
**_Redash_** is our take on freeing the data within our company in a way that will better fit our culture and usage patterns.
1010

bin/flake8_tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/sh
22

3+
set -o errexit # fail the build if any task fails
4+
35
flake8 --version ; pip --version
46
# stop the build if there are Python syntax errors or undefined names
5-
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
7+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
68
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
79
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
Loading

client/app/assets/less/ant.less

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@
7777
}
7878
}
7979

80-
// Fix for Ant dropdowns when they are used in Boootstrap modals
81-
// ANGULAR_REMOVE_ME Remove when all dialogs will be migrated to React (also search and remove usages)
82-
.ant-dropdown-in-bootstrap-modal {
83-
z-index: 1050;
84-
}
85-
8680
// Button overrides
8781
.@{btn-prefix-cls} {
8882
transition-duration: 150ms;
@@ -156,6 +150,10 @@
156150
border-color: transparent;
157151
color: @pagination-color;
158152
line-height: @pagination-item-size - 2px;
153+
154+
.@{pagination-prefix-cls}.mini & {
155+
line-height: @pagination-item-size-sm - 2px;
156+
}
159157
}
160158

161159
&:focus .@{pagination-prefix-cls}-item-link,

client/app/assets/less/inc/alert.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.alert {
2-
padding-left: 30px;
3-
padding-right: 30px;
2+
padding: 15px;
43

54
span {
65
cursor: pointer;

0 commit comments

Comments
 (0)