Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/remove access to public dashboard #4660

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6b39437
Migrate Parameters component to React (#4006)
gabrieldutra Aug 18, 2019
56d444b
Add more flake8 tests and fail build if any test fails (#4055)
cclauss Aug 18, 2019
4866be6
Fix: MySQL connections without SSL are failing (#4090)
arikfr Aug 21, 2019
ee85923
Removed redash-newstyle.less (#4017)
ranbena Aug 22, 2019
d53d05c
Make sure we always pass a list to _get_column_lists (#4095)
arikfr Aug 25, 2019
21ac9e8
[Data Sources] Add: Azure Data Explorer (Kusto) query runner (#4091)
spacentropy Aug 26, 2019
cbfd994
[Qubole] - Adding support to process Quantum query types. (#4066)
sandeepV2 Aug 29, 2019
61a80ad
Dashboard: when updating parameters, run only relevant queries (#3804)
Aug 30, 2019
0207ba1
Migrate with SQL statements. (#4105)
Aug 30, 2019
194d4e1
Update badge in README.md to link to CircleCI (#4104)
Sep 1, 2019
7e9db06
Fix widget bottom element alignment (#4110)
ranbena Sep 1, 2019
8af099b
Fix: allow users with view only acces to use the queries in Query Res…
arikfr Sep 1, 2019
e776544
Fix Dropdown parameter options appearing behind Dialog (#4109)
gabrieldutra Sep 2, 2019
a8440d3
Add ability to use Ant's Table loading property when using ItemsTable…
arikfr Sep 2, 2019
966b599
Display data source icon in query editor (#4119)
swfz Sep 2, 2019
cc21a32
Move annotation logic into Query Runner (#4113)
arikfr Sep 2, 2019
10b57b6
Fix number param value normlization (#4116)
ranbena Sep 2, 2019
b59e210
Use ng-src for data source icons (#4123)
gabrieldutra Sep 3, 2019
49b3dca
hive_ds: show a user friendly error message when possible (#4121)
sphenlee Sep 4, 2019
4dea1d6
Update botocore, to get pass pip warning (#4122)
justinclift Sep 4, 2019
959822c
Widget table scroll-x visible (#4101)
ranbena Sep 9, 2019
c9b3c95
Upgrade Sentry-SDK and enable additional integratoins (#4127)
arikfr Sep 9, 2019
4edfd23
Migrate Counter visualization to React (#4106)
kravets-levko Sep 9, 2019
4a74263
Sync botocor eversions across requirements files. (#4128)
arikfr Sep 9, 2019
c74ece4
Decrease size of widget pagination (#4120)
ranbena Sep 9, 2019
d2d78e7
Allow the user to decide how to handle null values in charts (#4071)
kravets-levko Sep 9, 2019
2cdc882
Alerts: Add more condition comparison options (#4134)
kravets-levko Sep 11, 2019
f252821
Remove duplicate messages method (#4131)
arikfr Sep 11, 2019
da09de6
Migrate Chart visualization to React Part 1: Renderer (#4130)
kravets-levko Sep 12, 2019
fe477aa
Add jsconfig settings with '@' webpack alias (#4135)
gabrieldutra Sep 12, 2019
7bf4219
Counter Editor: move components to own files (#4138)
kravets-levko Sep 13, 2019
f0ba045
Allow users to share aggregated usage information with us (#4108)
arikfr Sep 15, 2019
76e0fa6
CHANGELOG for V8-beta. (#4057)
arikfr Sep 15, 2019
c622a76
Bug fix: Query view doesn't sync parameters when selecting and deleti…
ranbena Sep 16, 2019
c5a65b3
Query Snippets: Use onClick instead of link for 'Click here' option (…
gabrieldutra Sep 16, 2019
ba0cceb
Color picker component (#4136)
kravets-levko Sep 16, 2019
f5802d2
Widget filters overlapped by visualization (#4137)
kravets-levko Sep 18, 2019
13b6bfc
CHANGELOG for v8.0.0-beta.2 (#4145)
arikfr Sep 18, 2019
6227a1d
Remove beta tag
arikfr Oct 2, 2019
8de1fa3
Make the build-docker-image step take approval
arikfr Oct 27, 2019
e94515d
Updated package-lock.json file
arikfr Oct 27, 2019
a16f551
Pin Cypress version (#4284)
arikfr Oct 24, 2019
a0a20ec
Fix the DB migration so that the correct key is used for encrypting D…
Jakdaw Nov 11, 2019
1bea65c
Bump pymssql to get around https://github.com/pymssql/pymssql/issues/…
Jakdaw Nov 13, 2019
cd13c97
Add CHANGELOG entry for v8.0.1 (#4367)
arikfr Nov 17, 2019
c531847
Remove embed option. Remove public sharing of dashboards. Allow DML q…
masterlittle Feb 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 4 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,6 @@ jobs:
- run:
name: Execute Cypress tests
command: npm run cypress run-ci
build-tarball:
docker:
- image: circleci/node:8
steps:
- checkout
- run: sudo apt install python-pip
- run: sudo pip install -r requirements_bundles.txt
- run: npm install
- run: .circleci/update_version
- run: npm run bundle
- run: npm run build
- run: rm -rf ./node_modules/
- run: .circleci/pack
- store_artifacts:
path: /tmp/artifacts/
build-docker-image:
docker:
- image: circleci/node:8
Expand All @@ -130,7 +115,8 @@ workflows:
- frontend-e2e-tests:
requires:
- frontend-lint
- build-tarball:
- hold:
type: approval
requires:
- backend-unit-tests
- frontend-unit-tests
Expand All @@ -139,15 +125,8 @@ workflows:
branches:
only:
- master
- preview-image
- /release\/.*/
- build-docker-image:
requires:
- backend-unit-tests
- frontend-unit-tests
- frontend-e2e-tests
filters:
branches:
only:
- master
- preview-image
- /release\/.*/
- hold
123 changes: 123 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,128 @@
# Change Log

## v8.0.1 - 2019-11-17

* Fix the DB migration so that the correct key is used for encrypting Data Source credentials. Otherwise direct upgrades from versions older than v7 will not work properly.
* Bump pymssql to get around pymssql/pymssql#520.
* Specify version of pandas to allow clean install against vanilla Python 2.7.17.

## v8.0.0 - 2019-10-27

There were no changes in this release since v8.0.0-beta.2. This is just to mark a stable release.

## v8.0.0-beta.2 - 2019-09-16

This is an update to the previous beta release, which includes:

* 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).
* Visualizations:
- Allow the user to decide how to handle null values in charts.
* Upgrade Sentry-SDK to latest version.
* Make horizontal table scroll visible in dashboard widgets without scrolling.
* Data Sources:
* Add support for Azure Data Explorer (Kusto).
* MySQL: fix connections without SSL configuration failing.
* Amazon Redshift: option to set query group for adhoc/scheduled queries.
* Hive: make error message more friendly.
* Qubole: add support to run Quantum queries.
* Display data source icon in query editor.
* Fix: allow users with view only acces to use the queries in Query Results
* Dashboard: when updating parameters refersh only widgets that use those parameters.

This release had contributions from 12 people: @arikfr, @cclauss, @gabrieldutra, @justinclift, @kravets-levko, @ranbena, @rauchy, @sandeepV2, @shinsuke-nara, @spacentropy, @sphenlee, @swfz.


## v8.0.0-beta - 2019-08-18

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.

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.

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.

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.

### Parameters

- Parameter UI improvements:
- Support for multi-select in dropdown (and query dropdown) parameters.
- Support for dynamic values in date and date-range parameters.
- Search dropdown parameter values.
- New UX for applying parameter changes in queries and dashboards.
- 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).

### Data Sources

- New Data Sources: Couchbase, Phoenix and Dgraph.
- New JSON data source (and deprecated old URL data source).
- Snowflake: update connector to latest version.
- PostgreSQL: show only accessible tables in schema.
- BigQuery:
- Correctly handle NaN values.
- Treat repeated fields as rrays.
- [BigQuery] Fix: in some queries there is no mode field
- DynamoDB:
- Support for Unicode in queries.
- Safe loading of schema.
- Rockset: better handling of query errors.
- Google Sheets:
- Support for Team Drive.
- Friendlier error message in case of an API error and more reliable test connection.
- MySQL:
- Support for calling Stored Procedures and better handling of query cancellation.
- Switch to using `mysqlclient` (a maintained fork of `Python-MySQL`).
- MongoDB: Support serializing Decimal128 values.
- Presto: support for passwords in connection settings.
- Amazon Athena: allow to specify custom work group.
- Query Results: querying a column with a dictionary or array fails
- Clickhouse: make sure we don't show password in error messages.
- Enable Cassandra support by default.

### Visualizations

- Charts:
- Fix: legend overlapping chart on small screens.
- Fix: Pie chart not rendering when series doesn't exist in options.
- Pie Chart: add option to set direction of slices.
- WordCloud: rewritten to support new options (provide frequency in query, limits), scale when resizing, handle long words and more.
- Pivot Table: support hiding totals.
- Counters: apply formatting to target value.
- Maps:
- Ability to customize marker icon and color.
- Customization options for Choropleth maps.
- New Visualization: Details View.

### **UX**

- Replace blank screen with a loading indicator when the application is doing its first load.
- Multiple improvements to dashboards editing: auto-save, grid markings and better refresh indicator.
- Admin can now edit user's groups from the user page.
- Add keyboard shortcut (Ctrl/Cmd+Shift+F) to trigger query formatting.

### API

- Query Result API response minimized to only required fields when called with a non user API key.
- Prefer API key over cookies in authentication.
- User can now regenerate Query API Key.

### Other Changes

- Sends CSP headers to prevent various kinds of security attacks via the browser. Might break unusual usages and embeds of Redash.
- New Failed Scheduled Queries email report (can be enabled from organization settings screen).
- Deprecated HipChat Alert Destination.
- Add options to hide different parts of a Visualization embed UI (parameters, title, link to query).
- Support multi-byte search for query names and descriptions (needs to be enabled in Organization settings screen).
- CSV query results download: correctly serialize booleans and date values.
- Dashboard filters now collect values from all widgets with the same filter.
- Support for custom message and description in alert notifications (currently disabled behind a feature flag until we improve the alert UX).

### Bug Fixes

- Fix: adding widget to dashboard from a query page is broken.
- Fix: default time format option was wrong.
- Fix: when too many errors of a scheduled queries occur it causes an OverflowError.
- Fix: when forking a query maintain the same visualizations order.

## v7.0.0 - 2019-03-17

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).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

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

Expand Down
4 changes: 3 additions & 1 deletion bin/flake8_tests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/sh

set -o errexit # fail the build if any task fails

flake8 --version ; pip --version
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
Binary file added client/app/assets/images/db-logos/azure_kusto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions client/app/assets/less/ant.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@
}
}

// Fix for Ant dropdowns when they are used in Boootstrap modals
// ANGULAR_REMOVE_ME Remove when all dialogs will be migrated to React (also search and remove usages)
.ant-dropdown-in-bootstrap-modal {
z-index: 1050;
}

// Button overrides
.@{btn-prefix-cls} {
transition-duration: 150ms;
Expand Down Expand Up @@ -156,6 +150,10 @@
border-color: transparent;
color: @pagination-color;
line-height: @pagination-item-size - 2px;

.@{pagination-prefix-cls}.mini & {
line-height: @pagination-item-size-sm - 2px;
}
}

&:focus .@{pagination-prefix-cls}-item-link,
Expand Down
3 changes: 1 addition & 2 deletions client/app/assets/less/inc/alert.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.alert {
padding-left: 30px;
padding-right: 30px;
padding: 15px;

span {
cursor: pointer;
Expand Down
Loading