Skip to content

Commit

Permalink
Merge pull request #215 from Catrobat/develop
Browse files Browse the repository at this point in the history
Release 1.1.0
  • Loading branch information
wslany authored Oct 10, 2020
2 parents f0ce0d2 + d67bd5e commit 5653f08
Show file tree
Hide file tree
Showing 654 changed files with 53,621 additions and 25,237 deletions.
6 changes: 4 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
babel.config.js
webpack.config.js
**/*config.js
dist/
release/
tools/
16 changes: 14 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,27 @@
"warn"
],
"indent": [
"warn",
2,
{ "SwitchCase": 1 }
],
"curly": [
"error",
2
"all"
],
"no-multi-spaces": [
"error"
],
"no-multi-assign": [
"error"
],
"no-mixed-spaces-and-tabs": [
"error"
]
},
"globals": {
"process": false
"process": false,
"$": true
},
"plugins": ["jest"]
}
19 changes: 19 additions & 0 deletions .github/workflows/interval_catroid_check_action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Interval Action for brick support and language update check

on:
schedule:
- cron: '0 7 * * 1' # Mondays 7AM UTC
- cron: '0 7 * * 4' # Thursdays 7AM UTC

jobs:
runDocker:
if: github.repository == 'Catrobat/Catblocks'
name: checkout repo and check supported bricks and language updates
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: run checker for brick support and language updates
uses: ./github_actions/catroid-support-checker-action/
with:
slack_webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
26 changes: 26 additions & 0 deletions .github/workflows/interval_dependabot_action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Interval Action checking for Blockly updates

on:
schedule:
- cron: '0 0 * * *'

jobs:
updatePackages:
if: github.repository == 'Catrobat/Catblocks'
name: Update
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: set remote url
run: git remote set-url --push origin https://$GITHUB_ACTOR:${{ secrets.PAT }}@github.com/$GITHUB_REPOSITORY
- name: update packages
uses: taichi/actions-package-update@master
env:
AUTHOR_EMAIL: [email protected]
AUTHOR_NAME: catrobat-github-bot
COMMIT_MESSAGE: BLOCKS-MAINTENANCE update blockly version
EXECUTE: "true"
GITHUB_TOKEN: ${{ secrets.PAT }}
UPDATE_COMMAND: yarn
with:
args: upgrade blockly --latest
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: Merge Action
name: Merge Action develop

on:
push:
branches: [ develop ] # merge creates commit + push

jobs:
deployTestingpage:
if: github.repository == 'Catrobat/Catblocks'
name: Deploy Testpage to GH-Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Project and push to gh-pages
uses: ./gh-pages-deploy-action/
uses: ./github_actions/gh-pages-deploy-action/

rerunTests:
if: github.repository == 'Catrobat/Catblocks'
name: Restart all Pull Request Tests
runs-on: ubuntu-latest
steps:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/merge_actions_master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Merge Action Master

on:
push:
branches: [ master ] # merge creates commit + push

jobs:
deployToShare:
if: github.repository == 'Catrobat/Catblocks'
name: Deploy Catblocks to Share
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Pull Request with Release of Catblocks to Share
uses: ./github_actions/gh-deploy-new-develop-on-webtest/
with:
github-token: ${{ secrets.PAT }}
19 changes: 18 additions & 1 deletion .github/workflows/pull_request_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ on:

jobs:
runTests:
if: github.repository == 'Catrobat/Catblocks'
name: Run Auto-Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Run jest test action
uses: ./jest-testing-action/
uses: ./github_actions/jest-testing-action/
- name: Prepare test report
if: always()
run: cd /home/runner/work/Catblocks/Catblocks && mkdir -p ./catblocksTestReport/ && cp ./jest_html_reporters.html ./catblocksTestReport/rep_${GITHUB_SHA}.html
Expand All @@ -26,6 +27,7 @@ jobs:
path: /home/runner/work/Catblocks/Catblocks/catblocksTestReport/

uploadDocker:
if: github.repository == 'Catrobat/Catblocks'
name: Create new artifact for PO review
runs-on: ubuntu-latest
steps:
Expand All @@ -38,3 +40,18 @@ jobs:
with:
name: DockerCatblocks
path: ./docker/po-review/


lintCode:
if: github.repository == 'Catrobat/Catblocks'
name: Lint Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/[email protected]
with:
cmd: install
- uses: borales/[email protected]
with:
cmd: lint

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ dist/
node_modules/
*.log
i18n/json
\.vscode/
./jenkins/testresults/*
jest_html_reporters.html
release/
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/*config.js
dist/
release/
tools/
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"useTabs": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none"
}
45 changes: 45 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome (http://localhost:8080)",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack://CatBlocks/./*": "${workspaceFolder}/*"
}
},
{
"type": "node",
"request": "launch",
"name": "Debug Jest Tests",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"env": {
"CI": "true"
},
"args": [
"-c",
"./test/jest_debug_config.js",
"--verbose",
"-i",
"--no-cache",
"--runInBand"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chromium Ubuntu (http://localhost:8080)",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/snap/bin/chromium"
}
]
}
8 changes: 0 additions & 8 deletions BlockLibrary/AddItemToUserListBrick.xml

This file was deleted.

4 changes: 0 additions & 4 deletions BlockLibrary/ArduinoSendDigitalValueBrick.xml

This file was deleted.

4 changes: 0 additions & 4 deletions BlockLibrary/ArduinoSendPWMValueBrick.xml

This file was deleted.

9 changes: 0 additions & 9 deletions BlockLibrary/AskBrick.xml

This file was deleted.

8 changes: 0 additions & 8 deletions BlockLibrary/AskSpeechBrick.xml

This file was deleted.

5 changes: 0 additions & 5 deletions BlockLibrary/BroadcastBrick.xml

This file was deleted.

3 changes: 0 additions & 3 deletions BlockLibrary/BroadcastScript.xml

This file was deleted.

3 changes: 0 additions & 3 deletions BlockLibrary/BroadcastWaitBrick.xml

This file was deleted.

3 changes: 0 additions & 3 deletions BlockLibrary/CameraBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeBrightnessByNBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeColorByNBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeSizeByNBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeTransparencyByNBrick.xml

This file was deleted.

8 changes: 0 additions & 8 deletions BlockLibrary/ChangeVariableBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeVolumeByNBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeXByNBrick.xml

This file was deleted.

7 changes: 0 additions & 7 deletions BlockLibrary/ChangeYByNBrick.xml

This file was deleted.

3 changes: 0 additions & 3 deletions BlockLibrary/ChooseCameraBrick.xml

This file was deleted.

2 changes: 0 additions & 2 deletions BlockLibrary/ClearBackgroundBrick.xml

This file was deleted.

2 changes: 0 additions & 2 deletions BlockLibrary/ClearGraphicEffectBrick.xml

This file was deleted.

3 changes: 0 additions & 3 deletions BlockLibrary/CloneBrick.xml

This file was deleted.

3 changes: 0 additions & 3 deletions BlockLibrary/CollisionScript.xml

This file was deleted.

2 changes: 0 additions & 2 deletions BlockLibrary/ComeToFrontBrick.xml

This file was deleted.

Loading

0 comments on commit 5653f08

Please sign in to comment.