-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3c791e6
Showing
461 changed files
with
49,647 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Editor configuration, see https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
trim_trailing_whitespace = true | ||
|
||
[*.ts] | ||
quote_type = single | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": [ | ||
"projects/**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.ts" | ||
], | ||
"parserOptions": { | ||
"project": [ | ||
"tsconfig.json", | ||
"cypress/tsconfig.json" | ||
], | ||
"createDefaultProgram": true | ||
}, | ||
"plugins": [ | ||
"unicorn" | ||
], | ||
"extends": [ | ||
"plugin:@angular-eslint/recommended", | ||
"plugin:@angular-eslint/template/process-inline-templates", | ||
"plugin:unicorn/recommended" | ||
], | ||
"rules": { | ||
"@angular-eslint/component-class-suffix": [ | ||
"error", | ||
{ | ||
"suffixes": [ | ||
"Component", | ||
"Page" | ||
] | ||
} | ||
], | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"prefix": "app", | ||
"style": "kebab-case", | ||
"type": "element" | ||
} | ||
], | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"prefix": "app", | ||
"style": "camelCase", | ||
"type": "attribute" | ||
} | ||
], | ||
"unicorn/no-null": "off", | ||
"unicorn/no-useless-undefined": "off", | ||
"unicorn/prefer-ternary": "off", | ||
"unicorn/prevent-abbreviations": [ | ||
"error", | ||
{ | ||
"allowList": { | ||
"changeDetectorRef": true | ||
} | ||
} | ||
], | ||
"@typescript-eslint/no-floating-promises": [ | ||
"error" | ||
] | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"*.html" | ||
], | ||
"extends": [ | ||
"plugin:@angular-eslint/template/recommended" | ||
], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: 'bug: ' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
# Bug report | ||
|
||
**Current behavior:** | ||
|
||
<!-- | ||
Describe how the bug manifests. Be specific. | ||
--> | ||
|
||
**Expected behavior:** | ||
|
||
<!-- | ||
Describe what the behavior should be. | ||
--> | ||
|
||
**Steps to reproduce:** | ||
|
||
<!-- | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. See error | ||
--> | ||
|
||
Steps to reproduce the behavior: | ||
|
||
1. | ||
|
||
**Platform(s):** | ||
|
||
<!-- | ||
List the platforms that this bug affects. | ||
--> | ||
|
||
- [ ] Android | ||
- [ ] iOS | ||
|
||
**Screenshots:** | ||
|
||
<!-- | ||
If applicable, add screenshots to help explain your problem. | ||
--> | ||
|
||
**Additional context:** | ||
|
||
<!-- | ||
Add any other context about the problem here. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: 'feat: ' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
# Feature request | ||
|
||
**Is your feature request related to a problem? Please describe:** | ||
|
||
<!-- | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
--> | ||
|
||
**Describe the solution you'd like:** | ||
|
||
<!-- | ||
A clear and concise description of what you want to happen. | ||
--> | ||
|
||
**Describe alternatives you've considered:** | ||
|
||
<!-- | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
--> | ||
|
||
**Additional context:** | ||
|
||
<!-- | ||
Add any other context or screenshots about the feature request here. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: Support question | ||
about: Question on how to use this project | ||
title: 'support: ' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
# Support question |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "**.md" | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
workflow_dispatch: | ||
|
||
env: | ||
NODE_VERSION: 14 | ||
JAVA_VERSION: 8 | ||
JAVA_DISTRIBUTION: "adopt" | ||
RUBY_VERSION: 2.7 | ||
|
||
jobs: | ||
build-web: | ||
name: Build web assets | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install Node.js dependencies | ||
run: npm ci | ||
- name: Build web assets | ||
run: npm run build -- --prod | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: www | ||
path: www | ||
build-android: | ||
name: Build Android platform | ||
runs-on: macos-latest | ||
needs: [build-web] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: www | ||
path: www | ||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install Node.js dependencies | ||
run: npm ci | ||
- name: Set up JDK ${{ env.JAVA_VERSION }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: ${{ env.JAVA_DISTRIBUTION }} | ||
java-version: ${{ env.JAVA_VERSION }} | ||
- name: Set up Ruby ${{ env.RUBY_VERSION }} and install dependencies | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true | ||
- name: Copy web assets to native platform | ||
run: npx ionic capacitor copy android --no-build | ||
- name: Update native platform | ||
run: npx ionic capacitor update android | ||
- name: Add keystore files | ||
run: | | ||
echo "${{ secrets.KEYSTORE_PROPERTIES_BASE64 }}" | base64 --decode > android/keystore.properties | ||
echo "${{ secrets.DHBW_VS_KEYSTORE_BASE64 }}" | base64 --decode > android/DHBW-VS.keystore | ||
- name: Build native platform | ||
run: bundle exec fastlane android build release:false | ||
build-ios: | ||
name: Build iOS platform | ||
runs-on: macos-latest | ||
needs: [build-web] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: www | ||
path: www | ||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install Node.js dependencies | ||
run: npm ci | ||
- name: Set up Ruby ${{ env.RUBY_VERSION }} and install dependencies | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true | ||
- name: Copy web assets to native platform | ||
run: npx ionic capacitor copy ios --no-build | ||
- name: Update native platform | ||
run: npx ionic capacitor update ios | ||
- name: Download iOS certificates and provisioning profiles | ||
run: bundle exec fastlane ios sync_certificates type:development | ||
env: | ||
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
- name: Build native platform | ||
run: bundle exec fastlane ios build release:false | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install Node.js dependencies | ||
run: npm ci | ||
- name: Run ESLint and Prettier | ||
run: npm run lint | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install Node.js dependencies | ||
run: npm ci | ||
- name: Run unit tests | ||
run: npm run test:ci | ||
e2e: | ||
name: E2E | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install Node.js dependencies | ||
run: npm ci | ||
- name: Run end-to-end tests | ||
run: npm run e2e:ci | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: screenshots | ||
path: cypress/screenshots |
Oops, something went wrong.