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

update #1

Merged
merged 187 commits into from
Mar 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
7847cf7
Fix invitation pending for older invitations (#3298)
Jan 17, 2019
06887f6
Multifilter's dropdown cropped when visualization container is too small
kravets-levko Jan 17, 2019
40c6a26
Merge pull request #3299 from kravets-levko/fix/multifilter-dropdown
kravets-levko Jan 17, 2019
e8120c5
Use None as "not scheduled" default value of a query (#3277)
arikfr Jan 18, 2019
84d5bec
Update form text colors (#3296)
gabrieldutra Jan 20, 2019
8bc8e2d
Allow execution of highlighted subquery (#3288)
chang Jan 20, 2019
b91d4bd
override default integer/float formatting with environment variables …
chang Jan 20, 2019
b3643ff
Add regenerate function of user's API key (#3224)
kyoshidajp Jan 20, 2019
8bdcfb0
add wait time before percy data source page snapshot (#3320)
gabrieldutra Jan 22, 2019
c4bf446
Fix an error of exporting dict value as Excel (#3323)
kyoshidajp Jan 22, 2019
ff6b20b
support for fetching all JQL results by way of pagination (#3304)
justmiles Jan 22, 2019
7fa6665
Use Ant's Paginator component; migrate SortIcon to React (#3317)
kravets-levko Jan 22, 2019
a9c514a
Textless query result endpoint (#3311)
Jan 23, 2019
bfeb015
Add configuration for the Support probot. (#3327)
arikfr Jan 23, 2019
8766767
Remove link to roadmap (#3329)
arikfr Jan 23, 2019
d5afa18
Filtering out incompatible dashboard params (#3330)
ranbena Jan 23, 2019
1a61ee3
Add: Uptycs query runner (#3319)
vibhorkum Jan 23, 2019
c2c722e
Migrate PageHeader component to React (#3324)
kravets-levko Jan 23, 2019
b0b4d5e
Convert Angular services to CommonJS-style and use them in React comp…
kravets-levko Jan 24, 2019
d204c15
Allow query owners to hard-overwrite query content in case of overlap…
jezdez Jan 25, 2019
1fa5867
Refine SettingsMenu service and <settings-screen> component (#3339)
kravets-levko Jan 25, 2019
c31cb01
Move BigQueryGCE to its own file (#3356)
arikfr Jan 28, 2019
37821ee
Add Percy Page Screenshots (#3338)
gabrieldutra Jan 28, 2019
c085964
WIP: Add dashboard details section for dashboard owner and more (#2934)
kocsmy Jan 28, 2019
6930106
getredash/redash#3355 Widget params: Date/Date range value empty in s…
kravets-levko Jan 28, 2019
7278d4b
Refactor Policy and OrganizationStatus services (#3345)
kravets-levko Jan 28, 2019
ff42ec2
Cypress tests: preset the admin API key to a static value (#3358)
arikfr Jan 28, 2019
371b319
Server-side parameter validation (#3315)
Jan 29, 2019
2da5110
Frontend lint update (#3253)
koooge Jan 29, 2019
53aecdc
yandex_metrica: changed auth from params to headers (#3360)
Jan 29, 2019
61e7cda
Filename set when /results called directly (#3359)
aidarbek Jan 29, 2019
9e2f8e2
Fix: Escape button in tag edit modal (#3363)
ranbena Jan 30, 2019
13bc910
Update CodeClimate configuration format to Version 2 (#3286)
koooge Jan 30, 2019
0b9f575
Fix: make ClickHouse password and username truly optional (#3362)
aidarbek Jan 30, 2019
0d95911
Migrate FavoritesControl component to React
kravets-levko Jan 30, 2019
9a1c829
Migrate TagsList component to React
kravets-levko Jan 30, 2019
1ea532f
CR1
kravets-levko Jan 30, 2019
a362e97
CR2
kravets-levko Jan 30, 2019
00e991e
Fix: Static param value not editable for Text/Number (#3369)
ranbena Jan 30, 2019
225c98c
Merge branch 'master' into feature/react-favorites-and-tags-list
kravets-levko Jan 30, 2019
0674726
CR3
kravets-levko Jan 30, 2019
cc13539
Fix: static param text value is `[object Object]` (#3371)
ranbena Jan 30, 2019
3ad1709
Merge branch 'master' into feature/react-favorites-and-tags-list
kravets-levko Jan 30, 2019
4a2645d
Merge pull request #3368 from kravets-levko/feature/react-favorites-a…
kravets-levko Jan 30, 2019
c51191a
Tune CodeClimate's config to make it less annoying (#3370)
arikfr Jan 31, 2019
bd559b6
Fix some incompatible dependencies (#3348)
jezdez Jan 31, 2019
ee0e81e
Fix eslint errors
kravets-levko Jan 31, 2019
f98cf78
Merge branch 'master' into fix-eslint-errors
kravets-levko Jan 31, 2019
9c06e9a
CR1
kravets-levko Jan 31, 2019
1439714
Migrate EmptyState component to React (#3373)
kravets-levko Jan 31, 2019
c223566
Merge branch 'master' into fix-eslint-errors
kravets-levko Jan 31, 2019
3d58860
Merge pull request #3374 from kravets-levko/fix-eslint-errors
kravets-levko Jan 31, 2019
ebb96d7
Widget param url prefix p to p_w (#3380)
ranbena Jan 31, 2019
35c390a
Show disabled unpublished queries for alert and dashboard modals. (#3…
Jan 31, 2019
feab2a0
BigQuery should correctly handle tmp tables that do not have a schema…
Jan 31, 2019
9859610
Alternative implementation: Step component
arikfr Jan 31, 2019
f957055
Bring back data sources step for non admins
arikfr Jan 31, 2019
a1cf065
No need to export Step
arikfr Jan 31, 2019
e314715
Refine implementation, fix 'shouldShow' condition, fix eslint warnings
kravets-levko Feb 1, 2019
78df7e7
Last refinements:
arikfr Feb 1, 2019
fde52f5
Fix Cypress E2E failing in CI
gabrieldutra Feb 2, 2019
10b5c03
Merge pull request #3389 from getredash/cypress
kravets-levko Feb 2, 2019
aa619c4
Merge branch 'master' into step-component
kravets-levko Feb 2, 2019
abccff0
Fix Add datasource step; EmptyState.icon is optional
kravets-levko Feb 2, 2019
324a1f5
Merge pull request #3384 from getredash/step-component
kravets-levko Feb 2, 2019
807e6aa
Migrate "time ago" components to React (#3385)
kravets-levko Feb 2, 2019
b0a1198
fix lint error - getDerivedStateFromProps should be placed after stat…
Feb 3, 2019
69e34f0
Add archived queries section to queries list. (#2888)
jezdez Feb 3, 2019
3992bcd
Ignore to copy some files onto docker container (#3388)
koooge Feb 3, 2019
933dd75
Make the logic around schedule['until'] easier to read (#3376)
arikfr Feb 3, 2019
3df3724
[Widget Params] Migrated edit params + new widget dialog to Ant Moda…
ranbena Feb 4, 2019
8f0cffe
Use textless endpoint for pristine queries (#3367)
Feb 5, 2019
2011864
Fix: Selected item in dropdown unreadable (#3398)
ranbena Feb 5, 2019
7cfea8a
Fix: only login user when it's the current user. (#3396)
arikfr Feb 5, 2019
c9681d5
Added pre-push hook (#3390)
ranbena Feb 5, 2019
5b62883
[Widget Params] Switched parameter list to table style (all parts) (#…
ranbena Feb 5, 2019
1385593
Add YAML support in QueryEditor (#3395)
arikfr Feb 5, 2019
ac68fe1
Migrate Dashboards/Queries/Users list pages to React (#3381)
kravets-levko Feb 5, 2019
2134113
Fix: cohorts get stuck when passing strings instead of numbers. (#3397)
arikfr Feb 5, 2019
045c171
Refactor TagsControl; fix TagsEditorModal animation (#3399)
kravets-levko Feb 5, 2019
ec475e4
[Bug fix] Few small bugs on Queries list page (#3402)
kravets-levko Feb 5, 2019
029bee1
Coerce to moment when 'datetime' selected by user. (#3150)
Feb 7, 2019
c49dccf
Work around a resizing issue. (#3412)
jezdez Feb 7, 2019
11507c5
Show active and pending users separately (for admins) (#3400)
kravets-levko Feb 7, 2019
593ebde
Fix: “Add TextBox” dialog not opening (#3414)
ranbena Feb 7, 2019
29326f3
[Widget Params] Title edit fixes (#3413)
ranbena Feb 8, 2019
23f5dde
[Codebase Improvement] Refine dialog wrapper and use it for all exist…
kravets-levko Feb 8, 2019
e21bbcc
[UI/UX Improvement] Use Ant's Button component on users list page (#3…
kravets-levko Feb 8, 2019
03f040d
Unify query based dropdown population (#3337)
Feb 10, 2019
df4ca86
Added short modal specific styling (#3366)
ranbena Feb 10, 2019
23908ed
Handle InterruptException in Athena query runnner like in the Presto …
jezdez Feb 10, 2019
71fb144
Upgrade Sentry SDK (#3418)
Feb 10, 2019
eee77a1
[Bug fix] Show query result footer only when there is a query result.…
arikfr Feb 11, 2019
cb22764
Bug fix] Saving a new query removes reference to last query result (#…
arikfr Feb 11, 2019
2c1400d
[Feature] Alternative implementation of dashboard param title editing…
kravets-levko Feb 11, 2019
330c5a8
Enable remote debugging with ptvsd (#3419)
Feb 12, 2019
4dbc175
Converted Share modal to Ant (#3424)
ranbena Feb 12, 2019
d567765
[Bug fix] Notifications randomly shown with visible page or not shown…
kravets-levko Feb 12, 2019
3fed697
[Bug fix] Query Parameters: don't save urlPrefix (#3427)
kravets-levko Feb 12, 2019
901f28a
Pre-commit hook to run on modified files only (#3410)
ranbena Feb 13, 2019
9b1f277
[Widget Params] Updated help url and tooltip (#3428)
ranbena Feb 13, 2019
c028e49
send ip and user id to sentry (#3430)
Feb 13, 2019
d6827e3
Version update time ⏰ (#3429)
arikfr Feb 13, 2019
f2df717
HelpTrigger (#3431)
ranbena Feb 13, 2019
afaedb9
[Feature] Table visualization: Raise the upper limit of MAX_JSON_SIZE…
swfz Feb 13, 2019
b9644b7
React version of UserEdit (#3354)
gabrieldutra Feb 14, 2019
fba2a35
[Feature] Sharing disabled if dashboard has query params (#3439)
ranbena Feb 16, 2019
58a53e3
Fix: remove widgets when deleting a visualization. (#3423)
arikfr Feb 17, 2019
a8f74a1
remove the word "type" from error message, as enum out-of-range error…
Feb 17, 2019
a34269c
Change: encrypt data source options. 🔓 (#2970)
arikfr Feb 17, 2019
81c9504
HelpTrigger to open in drawer (#3436)
ranbena Feb 17, 2019
60472e2
Add support for Amazon ES service with IAM authentication (#3446)
arikfr Feb 17, 2019
f07e613
Fix: ScheduleDialog won't render for "30 days" interval with no time …
arikfr Feb 17, 2019
298fe6a
HelpTrigger in header (#3457)
ranbena Feb 18, 2019
d483785
[Codebase improvement] Refine ItemsList base component (previously Li…
kravets-levko Feb 18, 2019
2c70571
Fixes to Percy (#3440)
gabrieldutra Feb 18, 2019
3147a0b
Version data - footer -> header menu (#3458)
ranbena Feb 18, 2019
8fc2ecf
[Bug fix] Widget oblivious to updated parameter values (#3445)
ranbena Feb 18, 2019
ebef0ef
Fix: timedelta values were not JSON serialized properly (#3463)
arikfr Feb 19, 2019
f421119
Remove options NullPool does not support (#3460)
arikfr Feb 19, 2019
0bca2d8
when working with a schema, fail in the case that there are parameter…
Feb 19, 2019
e35f2b8
Fix: when max_age is None the handler fails (#3462)
arikfr Feb 19, 2019
fe10b06
Fix: JS Map needs a set call rather than assignment (#3464)
arikfr Feb 20, 2019
77dcc80
Fix: ParameterizedQuery: support for upper cases column names. (#3461)
arikfr Feb 20, 2019
1ad0fa6
avoid Flask debug error message about strict slashes (#3469)
Feb 20, 2019
a17eb14
support e-mail verification for multi org setups (#3468)
Feb 20, 2019
8b19f16
Help trigger dynamic component (#3472)
ranbena Feb 20, 2019
4999ab5
Provide default value for .pop to avoid KeyError exception (#3474)
arikfr Feb 21, 2019
8fe1d33
monitor "schemas" queue to run refresh_schema (#3459)
koron Feb 21, 2019
4ad303b
Fix some flex layout issue (#3476)
ranbena Feb 21, 2019
2a37cb3
Fix max-age issues on textless endpoint (#3477)
Feb 21, 2019
8679b87
Cleaner approach for _is_collection_a_view (#3113)
jodevsa Feb 21, 2019
33b8bd2
[Feature] Migrate Group List and Details pages to React (#3411)
kravets-levko Feb 22, 2019
5e5b0d6
[Feature, Tech debt] Improve list pages layout (#3482)
kravets-levko Feb 22, 2019
5d525b8
fix broken link in CONTRIBUTING.md (#3483)
taminif Feb 22, 2019
3fdd308
Use series name as pie chart label (#3484)
Feb 25, 2019
f4f34d0
Create PULL_REQUEST_TEMPLATE.md (#3485)
arikfr Feb 25, 2019
d36e5ac
Fix update logo (#3489)
yoshiken Feb 25, 2019
1a357df
Fix prometheus query runner: get_schema and query range (#3471)
veerkat Feb 25, 2019
b56cc1c
Pin SQLAlchemy-Utils version (#3490)
arikfr Feb 25, 2019
75c34bf
Add custom JSON encoder for PostgreSQL (#3442)
s22su Feb 25, 2019
5c5bfbd
Make sure Flask app created in Celery's worker process (#3465)
arikfr Feb 25, 2019
60cd881
Update Percy token (#3492)
gabrieldutra Feb 25, 2019
138c55c
Fix DynamicForm ignoring default value for checkboxes (#3487)
gabrieldutra Feb 26, 2019
0d76c03
Be more permissive when parameters are safe (#3383)
Feb 26, 2019
570e8d9
set invitation as not-pending in render_token_login_page only when (#…
Feb 27, 2019
fbaded4
adding gevent worker in requirements.txt, adding some gunicorn config…
ialeinikov Feb 27, 2019
e9c88ea
Verify address when users change their e-mail (#3504)
Feb 27, 2019
c9a4f07
Support AWS IAM profile for Amazon Elasticsearch (#3005)
tilfin Feb 28, 2019
83668a6
LDAP Authentication. Create two envars REDASH_LDAP_USE_SSL and REDASH…
MrCirca Feb 28, 2019
194f452
[Feature] Migrate Alerts List Page to React (#3505)
gabrieldutra Feb 28, 2019
549f878
Added <QuerySelector /> component (#3494)
ranbena Feb 28, 2019
a93741e
CircleCI build improvements (#3511)
arikfr Feb 28, 2019
dab35ac
QuerySelector in Alert page (#3501)
ranbena Feb 28, 2019
34e03b0
Migrated query edit/add param dialog to React/AntD/Hooks (#3488)
ranbena Feb 28, 2019
6e3b9c2
Fixed navbar responsiveness (#3510)
ranbena Feb 28, 2019
02e82a7
Fix verification_email endpoint when in MULTI_ORG mode (#3502)
Mar 2, 2019
ade3cc7
Fix eslint error on AlertsList (#3518)
gabrieldutra Mar 2, 2019
dd0fab7
Moved widget and dashboard save logic out of dialog (#3522)
ranbena Mar 4, 2019
34da15f
Migrated AddTextboxDialog to AntD (#3524)
ranbena Mar 4, 2019
6a75ac4
Migrate User Pages to React (#3506)
gabrieldutra Mar 4, 2019
7a4fe50
Added UTC display to scheduler dialog (#3517)
ranbena Mar 5, 2019
bc22797
[Refactor] Refine New user modal (#3529)
kravets-levko Mar 5, 2019
b68051d
Add Hangouts Chat as alert destination (#3525)
pieter-venter Mar 5, 2019
4e7d16b
Remove Flask-Admin. (#3532)
jezdez Mar 6, 2019
21082fb
Make the "celery" queue the default instead of "schema" to stay backw…
jezdez Mar 6, 2019
75bc469
Remove duplicate column information for late-binding views (#3537)
paulgraff Mar 6, 2019
8eb751f
Remove docker-compose.production.yml in favor of setup/docker-compose…
jezdez Mar 6, 2019
160c3c1
Param fix (#3528)
ranbena Mar 6, 2019
4f79c86
Pin pymapd version to 0.7.1 (#3543)
arikfr Mar 7, 2019
507ea61
Fix long tag labels breaking table layout (#3545)
ranbena Mar 7, 2019
be1bd28
[Bug fix] Wrong behavior when clicking table rows on list pages (#3540)
kravets-levko Mar 7, 2019
e4c933a
Update PULL_REQUEST_TEMPLATE.md (#3549)
arikfr Mar 7, 2019
dfa48ca
Fix: order dashboard favorites (#3552)
arikfr Mar 7, 2019
8737e80
Add: Docker entrypoint to do Celery healthchecks. (#3548)
arikfr Mar 7, 2019
61f143d
Snowflake: add support for regions and enable by default (#3550)
arikfr Mar 7, 2019
5501f3e
Upgrade jest & babel (#3405)
koooge Mar 10, 2019
12d2a04
Download Query Result links: use query name for downloaded filename (…
kravets-levko Mar 10, 2019
26f0ce0
New Celery/Queries Execution Status API (#3057)
arikfr Mar 10, 2019
b703f7a
Create weekly-digest.yml
arikfr Mar 10, 2019
5dc74e1
npm audit fixes (#3561)
ranbena Mar 10, 2019
4cfa26a
[Bug fix] Handle errors on Group members, Group datasources and User …
kravets-levko Mar 10, 2019
685c771
Update Amazon Elasticsearch Service image (#3567)
gabrieldutra Mar 11, 2019
63d3f22
Convert all dropdown values to strings to support parameter lookup (#…
Mar 11, 2019
93ec19b
Prevent blank edit-in-place value (#3557)
ranbena Mar 11, 2019
5943bf0
change the order of configuration of the Elasticsearch data source to…
Mar 12, 2019
fbf4dae
Fix webpack config to work with symlinks (#3573)
kravets-levko Mar 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/Dockerfile.cypress
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM cypress/browsers:chrome67
ENV APP /usr/src/app
WORKDIR $APP

RUN npm install --no-save cypress @percy/cypress > /dev/null
RUN npm install --no-save puppeteer@1.10.0 cypress@^3.1.5 @percy/cypress@^0.2.3 atob@2.1.2 > /dev/null

COPY cypress $APP/cypress
COPY cypress.json $APP/cypress.json
Expand Down
42 changes: 21 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
environment:
COMPOSE_FILE: .circleci/docker-compose.cypress.yml
COMPOSE_PROJECT_NAME: cypress
PERCY_TOKEN_ENCODED: MWM3OGUzNzk4ZWQ2NTE4YTBhMDAwZDNiNWE1Nzc4ZjEzZjYyMzY1MjE0NjY0NDRiOGE5ODc5ZGYzYTU4ZmE4NQ==
PERCY_TOKEN_ENCODED: ZGRiY2ZmZDQ0OTdjMzM5ZWE0ZGQzNTZiOWNkMDRjOTk4Zjg0ZjMxMWRmMDZiM2RjOTYxNDZhOGExMjI4ZDE3MA==
docker:
- image: circleci/node:8
steps:
Expand Down Expand Up @@ -96,9 +96,7 @@ jobs:
- setup_remote_docker
- checkout
- run: .circleci/update_version
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- run: docker build -t redash/redash:$(.circleci/docker_tag) .
- run: docker push redash/redash:$(.circleci/docker_tag)
- run: .circleci/docker_build
workflows:
version: 2
build:
Expand All @@ -109,21 +107,23 @@ workflows:
- frontend-unit-tests
- frontend-e2e-tests
- build-tarball:
requires:
- backend-unit-tests
filters:
tags:
only: /v[0-9]+(\.[0-9\-a-z]+)*/
branches:
only:
- master
- /release\/.*/
requires:
- backend-unit-tests
- frontend-unit-tests
- frontend-e2e-tests
filters:
branches:
only:
- master
- /release\/.*/
- build-docker-image:
requires:
- backend-unit-tests
filters:
branches:
only:
- master
- preview-build
- /release\/.*/
requires:
- backend-unit-tests
- frontend-unit-tests
- frontend-e2e-tests
filters:
branches:
only:
- master
- preview-image
- /release\/.*/
2 changes: 1 addition & 1 deletion .circleci/docker-compose.cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
QUEUES: "queries,scheduled_queries,celery"
QUEUES: "queries,scheduled_queries,celery,schemas"
WORKERS_COUNT: 2
cypress:
build:
Expand Down
17 changes: 17 additions & 0 deletions .circleci/docker_build
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
VERSION=$(jq -r .version package.json)
VERSION_TAG=$VERSION.b$CIRCLE_BUILD_NUM

docker login -u $DOCKER_USER -p $DOCKER_PASS

if [ $CIRCLE_BRANCH = master ] || [ $CIRCLE_BRANCH = preview-image ]
then
docker build -t redash/redash:preview -t redash/preview:$VERSION_TAG .
docker push redash/redash:preview
docker push redash/preview:$VERSION_TAG
else
docker build -t redash/redash:$VERSION_TAG .
docker push redash/redash:$VERSION_TAG
fi

echo "Built: $VERSION_TAG"
10 changes: 0 additions & 10 deletions .circleci/docker_tag

This file was deleted.

42 changes: 29 additions & 13 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
engines:
version: "2"
checks:
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
config:
threshold: 100
nested-control-flow:
enabled: false
identical-code:
enabled: false
plugins:
pep8:
enabled: true
eslint:
enabled: true
channel: "eslint-3"
channel: "eslint-5"
config:
config: client/.eslintrc.js
checks:
import/no-unresolved:
enabled: false
ratings:
paths:
- "redash/**/*.py"
- "client/**/*.js"
exclude_paths:
- tests/**/*.py
- migrations/**/*.py
- old_migrations/**/*.py
- setup/**/*
- bin/**/*

no-multiple-empty-lines: # TODO: Enable
enabled: false
exclude_patterns:
- "tests/**/*.py"
- "migrations/**/*.py"
- "setup/**/*"
- "bin/**/*"
- "**/node_modules/"
- "client/dist/"
- "**/*.pyc"
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,12 @@ client/dist/
node_modules/
.tmp/
.venv/
venv/
.git/
/.codeclimate.yml
/.coverage
/coverage.xml
/.circleci/
/.github/
/netlify.toml
/setup/
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## What type of PR is this? (check all applicable)
<!-- Please leave only what's applicable -->

- [ ] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] New Query Runner (Data Source)
- [ ] New Alert Destination
- [ ] Other

## Description

## Related Tickets & Documents

## Mobile & Desktop Screenshots/Recordings (if there are UI changes)
23 changes: 23 additions & 0 deletions .github/support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Configuration for Support Requests - https://github.com/dessant/support-requests

# Label used to mark issues as support requests
supportLabel: Support Question

# Comment to post on issues marked as support requests, `{issue-author}` is an
# optional placeholder. Set to `false` to disable
supportComment: >
:wave: @{issue-author}, we use the issue tracker exclusively for bug reports
and planned work. However, this issue appears to be a support request.
Please use [our forum](https://discuss.redash.io) to get help.

# Close issues marked as support requests
close: true

# Lock issues marked as support requests
lock: false

# Assign `off-topic` as the reason for locking. Set to `false` to disable
setLockReason: true

# Repository to extend settings from
# _extends: repo
7 changes: 7 additions & 0 deletions .github/weekly-digest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Configuration for weekly-digest - https://github.com/apps/weekly-digest
publishDay: mon
canPublishIssues: true
canPublishPullRequests: true
canPublishContributors: true
canPublishStargazers: true
canPublishCommits: true
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ The following is a set of guidelines for contributing to Redash. These are guide

## Quick Links:

- [Feature Roadmap](https://trello.com/b/b2LUHU7A/redash-roadmap)
- [Feature Requests](https://discuss.redash.io/c/feature-requests)
- [Documentation](https://redash.io/help/)
- [Blog](https://blog.redash.io/)
Expand Down Expand Up @@ -61,7 +60,7 @@ If you would like to suggest an enhancement or ask for a new feature:

### Documentation

The project's documentation can be found at [https://redash.io/help/](https://redash.io/help/). The [documentation sources](https://github.com/getredash/website/tree/master/website/_kb) are hosted on GitHub. To contribute edits / new pages, you can use GitHub's interface. Click the "Edit on GitHub" link on the documentation page to quickly open the edit interface.
The project's documentation can be found at [https://redash.io/help/](https://redash.io/help/). The [documentation sources](https://github.com/getredash/website/tree/master/src/pages/kb) are hosted on GitHub. To contribute edits / new pages, you can use GitHub's interface. Click the "Edit on GitHub" link on the documentation page to quickly open the edit interface.

## Additional Notes

Expand Down
13 changes: 12 additions & 1 deletion bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

worker() {
WORKERS_COUNT=${WORKERS_COUNT:-2}
QUEUES=${QUEUES:-queries,scheduled_queries,celery}
QUEUES=${QUEUES:-queries,scheduled_queries,celery,schemas}

echo "Starting $WORKERS_COUNT workers for queues: $QUEUES..."
exec /usr/local/bin/celery worker --app=redash.worker -c$WORKERS_COUNT -Q$QUEUES -linfo --maxtasksperchild=10 -Ofair
Expand All @@ -27,6 +27,10 @@ create_db() {
exec /app/manage.py database create_tables
}

celery_healthcheck() {
exec /usr/local/bin/celery inspect ping --app=redash.worker -d celery@$HOSTNAME
}

help() {
echo "Redash Docker."
echo ""
Expand All @@ -36,9 +40,11 @@ help() {
echo "server -- start Redash server (with gunicorn)"
echo "worker -- start Celery worker"
echo "scheduler -- start Celery worker with a beat (scheduler) process"
echo "celery_healthcheck -- runs a Celery healthcheck. Useful for Docker's HEALTHCHECK mechanism."
echo ""
echo "shell -- open shell"
echo "dev_server -- start Flask development server with debugger and auto reload"
echo "debug -- start Flask development server with remote debugger via ptvsd"
echo "create_db -- create database tables"
echo "manage -- CLI to manage redash"
echo "tests -- run tests"
Expand Down Expand Up @@ -72,6 +78,11 @@ case "$1" in
export FLASK_DEBUG=1
exec /app/manage.py runserver --debugger --reload -h 0.0.0.0
;;
debug)
export FLASK_DEBUG=1
export REMOTE_DEBUG=1
exec /app/manage.py runserver --debugger --no-reload -h 0.0.0.0
;;
shell)
exec /app/manage.py shell
;;
Expand Down
11 changes: 9 additions & 2 deletions client/.babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"presets": ["env", "react", "stage-2"],
"presets": [
["@babel/preset-env", {
"targets": "> 0.5%, last 2 versions, Firefox ESR, ie 11, not dead",
"useBuiltIns": "usage"
}],
"@babel/preset-react"
],
"plugins": [
"angularjs-annotate",
"transform-object-assign",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-object-assign",
["babel-plugin-transform-builtin-extend", {
"globals": ["Error"]
}]
Expand Down
14 changes: 13 additions & 1 deletion client/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
'no-param-reassign': 0,
'no-mixed-operators': 0,
'no-underscore-dangle': 0,
"no-use-before-define": ["error", "nofunc"],
"prefer-destructuring": "off",
"prefer-template": "off",
"no-restricted-properties": "off",
Expand All @@ -26,15 +27,24 @@ module.exports = {
"no-lonely-if": "off",
"consistent-return": "off",
"no-control-regex": "off",
'no-multiple-empty-lines': 'warn',
"no-script-url": "off", // some <a> tags should have href="javascript:void(0)"
'operator-linebreak': 'off',
'react/destructuring-assignment': 'off',
"react/jsx-filename-extension": "off",
'react/jsx-one-expression-per-line': 'off',
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
'react/jsx-wrap-multilines': 'warn',
'react/no-access-state-in-setstate': 'warn',
"react/prefer-stateless-function": "warn",
"react/forbid-prop-types": "warn",
"react/prop-types": "warn",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/label-has-associated-control": ["warn", {
"controlComponents": true
}],
"jsx-a11y/label-has-for": "off",
"jsx-a11y/no-static-element-interactions": "off",
"max-len": ['error', 120, 2, {
Expand All @@ -43,6 +53,8 @@ module.exports = {
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
}]
}],
"no-else-return": ["error", {"allowElseIf": true}],
"object-curly-newline": ["error", {"consistent": true}],
}
};
Binary file added client/app/assets/images/db-logos/aws_es.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/app/assets/images/db-logos/uptycs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified client/app/assets/images/destinations/slack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading