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

M21 rebase #952

Closed
wants to merge 129 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
9de676a
Fix: make sure that only the top level node_modules directory is excl…
arikfr Mar 18, 2019
15c815f
Remove node_modules before creating tarball (#3603)
arikfr Mar 18, 2019
c47dd05
Nest query ACL to dropdowns (#3544)
Mar 20, 2019
4e69b73
[Bug fix] Query Results fails to use query which has double quotes in…
kravets-levko Mar 21, 2019
a7b930a
Widget tests - add, remove, auto height (#3590)
ranbena Mar 23, 2019
2f8aade
Added a skipped test for issue #3202 (#3616)
ranbena Mar 23, 2019
aea3c9d
Fix for time based mongodb test (#3630)
ranbena Mar 24, 2019
e712c19
E2E test for query search (#3633)
arikfr Mar 24, 2019
173f9ba
Fix: triggers not created for queries.search_vector (#3631)
arikfr Mar 24, 2019
8e5ba80
Fix a DeprecationWarning about the Flask.static_path parameter. (#3624)
jezdez Mar 24, 2019
25910e7
Move cypress to client folder (#3566)
gabrieldutra Mar 24, 2019
b4a4ee2
Replace toastr with Ant Notification (#3610)
gabrieldutra Mar 24, 2019
1d7378f
Update docker compose with the stable Redash v7 tag (#3638)
justinclift Mar 25, 2019
70d4c72
Add env var to skip Flask rate limits (#3622)
gabrieldutra Mar 25, 2019
0995dfb
Widget drag tests (#3598)
ranbena Mar 25, 2019
ec4b36b
Cypress eslint fixes and config (#3636)
ranbena Mar 25, 2019
fd42091
Add Lint step to CircleCI (#3642)
arikfr Mar 26, 2019
8230098
Migrated Textbox edit dialog to React (#3632)
ranbena Mar 26, 2019
73c8e30
[Feature] Migrate Admin pages to React (#3568)
kravets-levko Mar 27, 2019
77c5313
Fix a few more inconsistencies when loading and dumping JSON. (#3626)
jezdez Mar 27, 2019
712fc63
Use flask-talisman for handling backend response headers (#3404)
jezdez Mar 27, 2019
6c26aa7
Render LDAP and remote auth login links correctly when multi org mode…
jezdez Mar 27, 2019
b5d97e2
Browser support config (#3609)
ranbena Mar 27, 2019
71afc99
Add phoenix query runner. (#3153)
combineads Mar 27, 2019
d5494cf
Fail query task properly even if error message is empty (#3499)
Mar 27, 2019
49ffaae
Fix email shows as unverified when no email server is configured (#3613)
Mar 27, 2019
7a7fdf9
allowing to specify a custom work group for AWS Athena queries (#3592)
ialeinikov Mar 27, 2019
973ad56
Update PostgreSQL version to always use latest in the 9.5 series (#3639)
justinclift Mar 27, 2019
872d0ca
Show accessible tables only in New Query view for PostgreSQL (#3599)
Mar 27, 2019
375e61f
Add error message when destination name already exists (#3597)
gabrieldutra Mar 27, 2019
1933dee
Fix Celery worker --max-tasks-per-child for Celery 4.x. (#3625)
jezdez Mar 27, 2019
2699d24
Manage user groups in UserEdit (#3450)
gabrieldutra Mar 27, 2019
b3819de
Treat repeated BigQuery fields as arrays (#3480)
Mar 27, 2019
fe4a7b6
Widget resize tests (#3620)
ranbena Mar 28, 2019
f9cc230
Migrate Data Sources and Alert Destinations pages to React (#3470)
gabrieldutra Mar 28, 2019
1871287
Fixed notification alignment (#3645)
ranbena Mar 28, 2019
ec4f77c
Change has_access and require_access signatures (#3611)
Mar 28, 2019
704b78a
[Feature, Bug fix] Migrate Timer component to React; update TimeAgo c…
kravets-levko Mar 28, 2019
12782e4
Fix Percy diff due to Api Key secret (#3654)
gabrieldutra Mar 29, 2019
02a5852
Widget size and position test (#3628)
ranbena Mar 29, 2019
33ad89a
in case of a parameter type mismatch, show the actual message to the …
Apr 1, 2019
1333aae
Handle dropdown queries which are detached from data source (#3453)
Apr 1, 2019
6f9aee4
Update to modern Redis for the docker images (#3640)
justinclift Apr 1, 2019
5decd26
Fixed wrong width assertion (#3665)
ranbena Apr 1, 2019
dd477d4
Sharing embeds with safe parameters (#3495)
Apr 2, 2019
13814c7
Add max-width to Notification (#3667)
gabrieldutra Apr 2, 2019
1b142b3
reduce volatility in embed percy snapshots (#3672)
Apr 2, 2019
dba7efe
refs https://github.com/getredash/redash/issues/3675 (#3676)
KumanoTanaka Apr 4, 2019
595af3b
avoid erroring when creating embed links for queries that don't have …
Apr 6, 2019
8f42885
Updated Cypress default timeout values (#3685)
ranbena Apr 7, 2019
47bf91e
Fix: support date ranges for parameterized embeds (#3681)
Apr 7, 2019
fc5a624
Dashboard one column mode test (#3621)
ranbena Apr 8, 2019
768bfb3
Cypress Dashboard Service (#3683)
ranbena Apr 9, 2019
1babd01
Bolder markdown in textbox (#3686)
ranbena Apr 9, 2019
70227f2
Changed viz embed download menu to drop up (#3696)
ranbena Apr 10, 2019
9fcf510
add package.json after including qs (#3695)
Apr 10, 2019
e9711a0
Bye footer (#3697)
ranbena Apr 10, 2019
1524d06
Percy: Introduce hide-in-percy and hide diff problematic elements (#3…
gabrieldutra Apr 11, 2019
563e34a
Fixed public dashboard footer (#3703)
ranbena Apr 14, 2019
63e052c
Support LDAP servers where one doesn't first have to bind to the LDAP…
Jakdaw Apr 14, 2019
af168c6
Fix search ordered by best match (#3706)
Jakdaw Apr 14, 2019
3ab46bb
BigQuery: support for NaN values. (#3701)
arikfr Apr 14, 2019
01e64db
Fix Decimal128 error (#3684)
aidarbek Apr 14, 2019
1f43537
Update CardsList to use visual-card styling (#3679)
gabrieldutra Apr 14, 2019
b96094b
add a test to make sure reset password form are displayed correctly (…
Apr 14, 2019
5b30d08
Dynamic query time limits (#3702)
Apr 15, 2019
e485c96
Add rate limits to user creation/update (#3709)
arikfr Apr 15, 2019
9b3dd82
Sync PyAthena/botocore versions with requirements_all_ds.txt. (#3713)
arikfr Apr 17, 2019
18761cf
Dashboard auto-saving (#3653)
ranbena Apr 17, 2019
97492d7
Fix: update default CSP policy to allow KB iframe. (#3714)
arikfr Apr 17, 2019
aa9d246
Split redash/__init__.py to prevent import time side-effects. (#3601)
jezdez Apr 18, 2019
fea082e
Update Percy network idle timeout (#3724)
gabrieldutra Apr 19, 2019
10a6ccb
Dashboard save fail indication (#3715)
ranbena Apr 19, 2019
fb48bc3
Refactored dashboard drag/resize testing (#3726)
ranbena Apr 22, 2019
a1e75d2
feature: add couchbase query runner (#3658)
AntonZarutsky Apr 24, 2019
c93a905
Fix Ability to save with Multiple Dropdown Parameters (#3717)
Apr 28, 2019
99bb24d
Make creating the BigQuery job data pluggable. (#3742)
jezdez Apr 29, 2019
8758279
Use REDASH_BASE_PATH everywhere instead of hardcoded path (#3740)
arikfr Apr 29, 2019
24a5748
Dashboard grid markings (#3656)
ranbena Apr 29, 2019
48955b5
Use monospace font in query output log (#3743)
otsaloma Apr 29, 2019
c9bf412
Update npm run to fix hpe_header_overflow (#3732)
guwenqing Apr 29, 2019
f3a653c
Fix query based parameter has value null when created (#3707)
gabrieldutra Apr 29, 2019
21e22a2
add get_by_id to Organization (#3712)
Apr 29, 2019
d0b2151
Fix query page height (#3744)
ranbena Apr 29, 2019
9a4433b
Migrate visualizations registry/renderer/editor to React (#3493)
kravets-levko Apr 30, 2019
47cd05b
Cypress: Fix Stuck E2E test - create_query_spec (#3748)
gabrieldutra Apr 30, 2019
30f725f
Add missing parameter to new BigQuery query runner method. (#3747)
jezdez Apr 30, 2019
fbff4f9
Convert query control dropdown button to React (#3698)
openjck May 1, 2019
33930a5
Remove unused import statements (#3751)
ariarijp May 1, 2019
da2d6bc
Move is_url_key method to function for testability. (#3750)
ariarijp May 1, 2019
5b077ab
Support for Presto password (#3619)
aidarbek May 1, 2019
72d0031
[Code style] Add semi-colons (#3755)
taminif May 2, 2019
2cd1b07
Add: organization setting for time format (#3754)
yusukegoto May 5, 2019
17aba39
Fix: default value for Presto password should be None (#3757)
arikfr May 5, 2019
ee29cf9
Fix: pie chart not rendering when series doesn't exist in options. (#…
arikfr May 5, 2019
9fec3ca
Poll for results in parameterized embeds (#3752)
May 6, 2019
81bc4ef
[Feature] Add direction option in Pie Chart (#3762)
kyoshidajp May 6, 2019
c85e097
[Bug fix] Fix dashboard filters to collect options too (#3759)
yoavbls May 6, 2019
3eddea6
Show non relative timestamp when printing an embed. (#3773)
arikfr May 6, 2019
0b22aa5
DynamoDB: safe implementation of schema loading (#3774)
arikfr May 6, 2019
b7b345d
[Feature] Choropleth customize (added new map: Japanese Prefectures) …
deecay May 7, 2019
feafbbe
Avoid error with duplicate log lines (#3777)
otsaw May 7, 2019
f25d937
In docker-entrypoint ensure tables exist
Apr 12, 2017
9c43e80
Update Circle CI for our workflow
robotblake Apr 19, 2017
da69eac
Switch to PyMySQL for MySQL 5.7 support
Sep 14, 2017
d47f80f
Don't execute query when changing data sources (fixes #29)
Feb 10, 2017
61d4af6
Add compare query version support (re #7)
spasovski Feb 6, 2017
b79b8ed
Filter tables from schema browser (re #31)
Jul 9, 2018
5a5a4f4
Merge mozilla schema updates with schema from master
Dec 12, 2017
53011d1
merge upstream db changes
Feb 14, 2018
3c7a0ee
Properly rollback failed db commits
Mar 21, 2018
4cd38bf
Install redash-stmo.
jezdez Feb 28, 2018
478ea79
Unique names for query parameters (re #164)
Jan 16, 2018
9a1c890
Closes #396: Integration with Flower.
May 11, 2018
2941a72
Add data source health monitoring via an extension.
Apr 27, 2018
f1dfa26
Use production build of react when deployed (fixes #606)
Nov 9, 2018
bfc7fb0
Enable documentation links and versions of data sources (re #6).
Nov 8, 2016
64fc8d8
Use entry_point.module_name instead of entry_point.name for looking u…
Nov 27, 2018
90a88b8
Show query results for execution after changing data sources (re #29)…
Jan 29, 2019
934c17a
Show number of queries ahead in queue when executing (#786)
Jan 24, 2019
4418a75
Aggregate query results (re #35) (#339)
Mar 26, 2019
d1d6fe4
Add empty migration to replace the removed schedule_until migration
Mar 25, 2019
2a48c29
Add merge migration.
Mar 26, 2019
3f00108
Schema Viewer Drawer (#3291)
Jul 28, 2017
092fa68
bump redash-stmo
Apr 2, 2019
6b19137
Fix migration names.
jezdez May 13, 2019
fd4f684
Schema Improvements Part 2: Add data source config options.
Nov 1, 2018
bc4add2
Schema Improvements Part 2: Rebase Commit.
May 14, 2019
b90b5e2
Adding BigQuery schema drawer with data types and samples.
Apr 30, 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 @@ -6,7 +6,7 @@ WORKDIR $APP
COPY package.json $APP/package.json
RUN npm run cypress:install > /dev/null

COPY cypress $APP/cypress
COPY client/cypress $APP/client/cypress
COPY cypress.json $APP/cypress.json

RUN ./node_modules/.bin/cypress verify
98 changes: 65 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,43 +39,32 @@ jobs:
name: Copy Test Results
command: |
mkdir -p /tmp/test-results/unit-tests
docker cp tests:/app/coverage.xml ./coverage.xml
docker cp tests:/app/coverage.xml ./coverage.xml
docker cp tests:/app/junit.xml /tmp/test-results/unit-tests/results.xml
- store_test_results:
path: /tmp/test-results
- store_artifacts:
path: coverage.xml
frontend-unit-tests:
frontend-lint:
docker:
- image: circleci/node:8
steps:
- checkout
- run: sudo apt install python-pip
- run: mkdir -p /tmp/test-results/eslint
- run: npm install
- run: npm run bundle
- run: npm test
frontend-e2e-tests:
environment:
COMPOSE_FILE: .circleci/docker-compose.cypress.yml
COMPOSE_PROJECT_NAME: cypress
PERCY_TOKEN_ENCODED: ZGRiY2ZmZDQ0OTdjMzM5ZWE0ZGQzNTZiOWNkMDRjOTk4Zjg0ZjMxMWRmMDZiM2RjOTYxNDZhOGExMjI4ZDE3MA==
- run: npm run lint:ci
- store_test_results:
path: /tmp/test-results
frontend-unit-tests:
docker:
- image: circleci/node:8
steps:
- setup_remote_docker
- checkout
- run:
name: Install npm dependencies
command: |
npm install
- run:
name: Setup Redash server
command: |
npm run cypress start
docker-compose run cypress node ./cypress/cypress.js db-seed
- run:
name: Execute Cypress tests
command: npm run cypress run-ci
- run: sudo apt install python-pip
- run: npm install
- run: npm run bundle
- run: npm test
- run: npm run lint
build-tarball:
docker:
- image: circleci/node:8
Expand All @@ -86,6 +75,7 @@ jobs:
- 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/
Expand All @@ -95,35 +85,77 @@ jobs:
steps:
- setup_remote_docker
- checkout
- run: .circleci/update_version
- run: .circleci/docker_build
- run: .circleci/update_version "master"
- run: .circleci/docker_build "master"
build-docker-image-rc:
docker:
- image: circleci/buildpack-deps:xenial
steps:
- setup_remote_docker
- checkout
- run: .circleci/update_version "rc"
- run: .circleci/docker_build "rc"
build-docker-image-tag:
docker:
- image: circleci/buildpack-deps:xenial
steps:
- setup_remote_docker
- checkout
- run: .circleci/update_version "$CIRCLE_TAG"
- run: .circleci/docker_build "rc"
# Create alias from tag to "latest":
- run: docker tag $DOCKERHUB_REPO:$CIRCLE_TAG $DOCKERHUB_REPO:latest
- run: docker push $DOCKERHUB_REPO:latest
workflows:
version: 2
build:
jobs:
- python-flake8-tests
- legacy-python-flake8-tests
- backend-unit-tests
- frontend-unit-tests
- frontend-e2e-tests
- backend-unit-tests:
filters:
tags:
only: /^m[0-9]+(\.[0-9]+)?$/
- frontend-lint:
filters:
tags:
only: /^m[0-9]+(\.[0-9]+)?$/
- frontend-unit-tests:
requires:
- frontend-lint
filters:
tags:
only: /^m[0-9]+(\.[0-9]+)?$/
- build-tarball:
requires:
- backend-unit-tests
- frontend-unit-tests
- frontend-e2e-tests
filters:
branches:
only:
- master
- /release\/.*/
- build-docker-image:
requires:
- backend-unit-tests
- frontend-unit-tests
- frontend-e2e-tests
filters:
branches:
only:
- master
- preview-image
- /release\/.*/
- build-docker-image-rc:
requires:
- backend-unit-tests
- frontend-unit-tests
filters:
branches:
only:
- release
- build-docker-image-tag:
requires:
- backend-unit-tests
- frontend-unit-tests
filters:
branches:
ignore: /.*/
tags:
only: /^m[0-9]+(\.[0-9]+)?$/
3 changes: 3 additions & 0 deletions .circleci/docker-compose.cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
REDASH_RATELIMIT_ENABLED: "false"
worker:
build: ../
command: scheduler
Expand All @@ -38,6 +39,8 @@ services:
PERCY_BRANCH: ${CIRCLE_BRANCH}
PERCY_COMMIT: ${CIRCLE_SHA1}
PERCY_PULL_REQUEST: ${CIRCLE_PR_NUMBER}
CYPRESS_PROJECT_ID: ${CYPRESS_PROJECT_ID}
CYPRESS_RECORD_KEY: ${CYPRESS_RECORD_KEY}
redis:
image: redis:3.0-alpine
restart: unless-stopped
Expand Down
14 changes: 3 additions & 11 deletions .circleci/docker_build
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
#!/bin/bash
VERSION=$(jq -r .version package.json)
VERSION_TAG=$VERSION.b$CIRCLE_BUILD_NUM
VERSION_TAG="$1"

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
docker build -t $DOCKERHUB_REPO:$VERSION_TAG .
docker push $DOCKERHUB_REPO:$VERSION_TAG

echo "Built: $VERSION_TAG"
2 changes: 1 addition & 1 deletion .circleci/pack
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ FILENAME=$NAME.$FULL_VERSION.tar.gz

mkdir -p /tmp/artifacts/

tar -zcv -f /tmp/artifacts/$FILENAME --exclude="optipng*" --exclude=".git*" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" --exclude="node_modules" *
tar -zcv -f /tmp/artifacts/$FILENAME --exclude=".git" --exclude="optipng*" --exclude="cypress" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" *
5 changes: 4 additions & 1 deletion .circleci/update_version
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash
MOZILLA_VERSION="$1"
bin/dockerflow-version "$MOZILLA_VERSION"

VERSION=$(jq -r .version package.json)
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM-$MOZILLA_VERSION

sed -ri "s/^__version__ = '([A-Za-z0-9.-]*)'/__version__ = '$FULL_VERSION'/" redash/__init__.py
sed -i "s/dev/$CIRCLE_SHA1/" client/app/version.json
24 changes: 8 additions & 16 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,12 @@ plugins:
pep8:
enabled: true
eslint:
enabled: true
channel: "eslint-5"
config:
config: client/.eslintrc.js
checks:
import/no-unresolved:
enabled: false
no-multiple-empty-lines: # TODO: Enable
enabled: false
enabled: false
exclude_patterns:
- "tests/**/*.py"
- "migrations/**/*.py"
- "setup/**/*"
- "bin/**/*"
- "**/node_modules/"
- "client/dist/"
- "**/*.pyc"
- "tests/**/*.py"
- "migrations/**/*.py"
- "setup/**/*"
- "bin/**/*"
- "**/node_modules/"
- "client/dist/"
- "**/*.pyc"
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[*.{js,css,html}]
[*.{js,jsx,css,less,html}]
indent_style = space
indent_size = 2
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ node_modules
.sass-cache
npm-debug.log

cypress/screenshots
cypress/videos
client/cypress/screenshots
client/cypress/videos
9 changes: 6 additions & 3 deletions bin/bundle-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ os.environ["EXTENSIONS_DIRECTORY"] = EXTENSIONS_RELATIVE_PATH
for entry_point in iter_entry_points('redash.extensions'):
# This is where the frontend code for an extension lives
# inside of its package.
content_folder_relative = os.path.join(
entry_point.name, 'bundle')
(root_module, _) = os.path.splitext(entry_point.module_name)

split_module_path = entry_point.module_name.split(os.extsep)
root_module = split_module_path.pop(0)

content_folder_relative = os.path.join(os.path.join(
*split_module_path), 'bundle')

if not resource_isdir(root_module, content_folder_relative):
continue
Expand Down
8 changes: 6 additions & 2 deletions bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,28 @@
set -e

worker() {
/app/manage.py db upgrade
WORKERS_COUNT=${WORKERS_COUNT:-2}
QUEUES=${QUEUES:-queries,scheduled_queries,celery,schemas}
WORKER_EXTRA_OPTIONS=${WORKER_EXTRA_OPTIONS:-}

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
exec /usr/local/bin/celery worker --app=redash.worker -c$WORKERS_COUNT -Q$QUEUES -linfo --max-tasks-per-child=10 -Ofair $WORKER_EXTRA_OPTIONS
}

scheduler() {
/app/manage.py db upgrade
WORKERS_COUNT=${WORKERS_COUNT:-1}
QUEUES=${QUEUES:-celery}
SCHEDULE_DB=${SCHEDULE_DB:-celerybeat-schedule}

echo "Starting scheduler and $WORKERS_COUNT workers for queues: $QUEUES..."

exec /usr/local/bin/celery worker --app=redash.worker --beat -s$SCHEDULE_DB -c$WORKERS_COUNT -Q$QUEUES -linfo --maxtasksperchild=10 -Ofair
exec /usr/local/bin/celery worker --app=redash.worker --beat -s$SCHEDULE_DB -c$WORKERS_COUNT -Q$QUEUES -linfo --max-tasks-per-child=10 -Ofair
}

server() {
/app/manage.py db upgrade
exec /usr/local/bin/gunicorn -b 0.0.0.0:5000 --name redash -w${REDASH_WEB_WORKERS:-4} redash.wsgi:app
}

Expand Down
13 changes: 13 additions & 0 deletions bin/dockerflow-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -eo pipefail

VERSION="$1"

printf '{"commit":"%s","version":"%s","source":"https://github.com/%s/%s","build":"%s"}\n' \
"$CIRCLE_SHA1" \
"$VERSION" \
"$CIRCLE_PROJECT_USERNAME" \
"$CIRCLE_PROJECT_REPONAME" \
"$CIRCLE_BUILD_URL" \
> version.json
8 changes: 0 additions & 8 deletions bin/pack

This file was deleted.

5 changes: 4 additions & 1 deletion client/.babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"presets": [
["@babel/preset-env", {
"targets": "> 0.5%, last 2 versions, Firefox ESR, ie 11, not dead",
"exclude": [
"@babel/plugin-transform-async-to-generator",
"@babel/plugin-transform-arrow-functions"
],
"useBuiltIns": "usage"
}],
"@babel/preset-react"
Expand Down
2 changes: 1 addition & 1 deletion client/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
build/*.js
config/*.js
node_modules
client/dist
Loading