Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Release v0.5.0 #1122

Merged
merged 73 commits into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from 72 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
4b45174
Restructure project (#1018)
crapStone Jan 16, 2022
f178755
bump rust edition to 2021 (#1020)
crapStone Jan 17, 2022
a9c9e35
Update dependabot.yml (#1024)
6543 Jan 17, 2022
d1fe6de
remove version reqirement from config handler (#1023)
crapStone Jan 17, 2022
b34a9e5
Bump @types/node from 17.0.8 to 17.0.9 in /frontend (#1026)
dependabot[bot] Jan 17, 2022
685e83e
Bump webpack-bundle-analyzer from 4.4.2 to 4.5.0 in /frontend (#1025)
dependabot[bot] Jan 17, 2022
038b2bc
add every rust project to dependabot config (#1029)
crapStone Jan 17, 2022
40c5e4d
Bump serde_json from 1.0.74 to 1.0.75 in /frontend/src-wasm (#1030)
dependabot[bot] Jan 17, 2022
2b9af51
wrap RwLock to simlify code (#1028)
crapStone Jan 17, 2022
9163c5a
Migrate angular to 13 (#1031)
Epsilon02 Jan 17, 2022
999d808
Bump eslint-plugin-import from 2.25.2 to 2.25.4 in /frontend (#1034)
dependabot[bot] Jan 18, 2022
1d4aaf6
Bump rxjs from 6.6.7 to 7.5.2 in /frontend (#1032)
dependabot[bot] Jan 18, 2022
5695d9c
Improve READMEs and IntelliJ support (#1036)
crapStone Jan 18, 2022
32e227e
Bump @typescript-eslint/parser from 5.3.0 to 5.10.0 in /frontend (#1033)
dependabot[bot] Jan 18, 2022
cace975
Bump @typescript-eslint/eslint-plugin from 5.3.0 to 5.10.0 in /fronte…
dependabot[bot] Jan 18, 2022
d9e3ee1
Feature/airbnb style guide (#1037)
Epsilon02 Jan 18, 2022
886eadd
Bump @types/node from 17.0.9 to 17.0.10 in /frontend (#1039)
dependabot[bot] Jan 19, 2022
afb002d
Bump @angular-devkit/build-angular from 13.1.3 to 13.1.4 in /frontend…
dependabot[bot] Jan 20, 2022
d6ef654
Bump @angular/cli from 13.1.3 to 13.1.4 in /frontend (#1047)
dependabot[bot] Jan 20, 2022
40f9aec
add .gitattributes file to force lf on checkout (#1044)
Epsilon02 Jan 20, 2022
f777beb
Bump @ngneat/transloco from 3.1.1 to 3.1.2 in /frontend (#1050)
dependabot[bot] Jan 20, 2022
5c61326
rename ureq to request in config (#1041)
crapStone Jan 21, 2022
e5d69ee
New error handling in crates (#1051)
crapStone Jan 21, 2022
5ba9ed6
Bump typescript from 4.5.4 to 4.5.5 in /frontend (#1049)
dependabot[bot] Jan 21, 2022
ac036ee
Add tests (#1053)
crapStone Jan 21, 2022
53b8f25
Bump log4js from 6.3.0 to 6.4.0 in /frontend (#1055)
dependabot[bot] Jan 21, 2022
44a89ee
Bump serde from 1.0.133 to 1.0.134 in /webserver (#1056)
dependabot[bot] Jan 22, 2022
940660c
Bump @types/node from 17.0.10 to 17.0.12 in /frontend (#1072)
dependabot[bot] Jan 26, 2022
4d8dcda
Bump serde_json from 1.0.75 to 1.0.78 in /frontend/src-tauri (#1063)
dependabot[bot] Jan 26, 2022
72c742a
Bump serde from 1.0.134 to 1.0.136 in /webserver (#1071)
dependabot[bot] Jan 26, 2022
984069a
Bump @angular/cli from 13.1.4 to 13.2.0 in /frontend (#1075)
dependabot[bot] Jan 27, 2022
3800bcf
Bump @angular-devkit/build-angular from 13.1.4 to 13.2.0 in /frontend…
dependabot[bot] Jan 27, 2022
69f8d05
set wasm-bindgen to 0.2.78 (#1077)
crapStone Jan 27, 2022
7a29365
add correct clippy arguments (#1076)
crapStone Jan 27, 2022
f5067a5
Bump eslint-plugin-jsdoc from 37.6.1 to 37.7.0 in /frontend (#1073)
dependabot[bot] Jan 27, 2022
a8bc3fa
Bump nanoid from 3.1.30 to 3.2.0 in /frontend (#1061)
dependabot[bot] Jan 27, 2022
2a29a8a
Bump karma from 6.3.11 to 6.3.12 in /frontend (#1069)
dependabot[bot] Jan 27, 2022
a2c582d
Bump @ngneat/transloco from 3.1.2 to 3.1.3 in /frontend (#1068)
dependabot[bot] Jan 27, 2022
7417406
Bump @typescript-eslint/parser from 5.10.0 to 5.10.1 in /frontend (#1…
dependabot[bot] Jan 27, 2022
1fe3e08
Bump @typescript-eslint/eslint-plugin from 5.10.0 to 5.10.1 in /front…
dependabot[bot] Jan 27, 2022
1de2bc8
Bump serde_json from 1.0.75 to 1.0.78 in /frontend/src-wasm (#1065)
dependabot[bot] Jan 27, 2022
c330fcc
Bump serde from 1.0.133 to 1.0.136 in /frontend/src-wasm (#1070)
dependabot[bot] Jan 27, 2022
9cb16dd
Bump @types/node from 17.0.12 to 17.0.13 in /frontend (#1082)
dependabot[bot] Jan 27, 2022
75639d5
Bump tokio from 1.15.0 to 1.16.1 in /webserver (#1086)
dependabot[bot] Jan 29, 2022
ef0a8dd
Bump tokio from 1.15.0 to 1.16.1 in /frontend/src-tauri (#1087)
dependabot[bot] Jan 29, 2022
62a9208
Bump eslint from 8.7.0 to 8.8.0 in /frontend (#1088)
dependabot[bot] Jan 29, 2022
0c9d29a
dont format line endings on binary files (#1091)
6543 Jan 29, 2022
ce5dd53
Gestis parser rewrite (#1060)
crapStone Jan 29, 2022
46145a7
Changed alterSnackbar to alert snackbar (#1090)
DipayanP007 Jan 29, 2022
0a12472
Introduce NGXS (#1048)
Epsilon02 Jan 30, 2022
d5109cd
remove lodash.merge dependency (#1093)
Epsilon02 Jan 30, 2022
378f36e
fix unit translation (#1096)
crapStone Jan 30, 2022
59e2c6c
complete remove of e2e (#1099)
Epsilon02 Jan 30, 2022
119f9b4
force three symbols in each row in preview (#1098)
Epsilon02 Jan 30, 2022
7444b0b
update contrib scripts (#1095)
6543 Jan 31, 2022
562e7e1
remove unnecessary transloco object (#1106)
crapStone Feb 1, 2022
f1fd706
Bump @angular/cli from 13.2.0 to 13.2.1 in /frontend (#1103)
dependabot[bot] Feb 1, 2022
4694595
new error implementation for serialization (#1104)
crapStone Feb 1, 2022
90a8def
fix log level filter (#1105)
crapStone Feb 1, 2022
159ec27
Bump @typescript-eslint/parser from 5.10.1 to 5.10.2 in /frontend (#1…
dependabot[bot] Feb 1, 2022
dab3eb0
Bump @typescript-eslint/eslint-plugin from 5.10.1 to 5.10.2 in /front…
dependabot[bot] Feb 1, 2022
c258215
Bump @angular-devkit/build-angular from 13.2.0 to 13.2.1 in /frontend…
dependabot[bot] Feb 1, 2022
2b630ae
print all log messages in tauri also via `console.*` methods (#1109)
crapStone Feb 1, 2022
44208ff
fix logging message when saving file (#1110)
crapStone Feb 1, 2022
b59abb6
Bump @types/node from 17.0.13 to 17.0.14 in /frontend (#1114)
dependabot[bot] Feb 2, 2022
879e5ac
Bump karma from 6.3.12 to 6.3.13 in /frontend (#1113)
dependabot[bot] Feb 2, 2022
d299e77
replace config-model hack with ngxs approach (#1111)
Epsilon02 Feb 2, 2022
dd9cb29
change message for gestis disclaimer (#1116)
crapStone Feb 2, 2022
b735610
move search icon to the beginning (#1117)
Epsilon02 Feb 2, 2022
c443032
Destroy all Observables and fix bad code (#1118)
crapStone Feb 2, 2022
8e1e3f7
Update translations & pull-translations script (#1120)
6543 Feb 2, 2022
1bc966e
Changelog v0.5.0 (#1119)
6543 Feb 2, 2022
37cddd8
Merge branch 'main' into develop
crapStone Feb 2, 2022
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: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Save all text files with linux line endings
* text=auto eol=lf
22 changes: 20 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
directory: "/frontend/"
schedule:
interval: daily
time: "22:30"
open-pull-requests-limit: 10
- package-ecosystem: cargo
directory: "/"
directory: "/webserver/"
schedule:
interval: daily
time: "22:30"
open-pull-requests-limit: 10
- package-ecosystem: cargo
directory: "/crates/"
schedule:
interval: daily
time: "22:30"
open-pull-requests-limit: 10
- package-ecosystem: cargo
directory: "/frontend/src-tauri/"
schedule:
interval: daily
time: "22:30"
open-pull-requests-limit: 10
- package-ecosystem: cargo
directory: "/frontend/src-wasm/"
schedule:
interval: daily
time: "22:30"
Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/backend.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/crates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: checks

on:
# Triggers the workflow on push or pull request events but only for the main and develop branches
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
paths:
- '.github/workflows/crates.yml'
- 'crates/**'

jobs:
crates:
runs-on: ubuntu-20.04
container: a6543/cabr2_ci:latest
strategy:
fail-fast: true
steps:
- name: Checkout Project
uses: actions/checkout@v2

- name: Set Rust Toolchain
run: rustup default stable

- name: Check formatting crates
run: cd crates && cargo fmt -- --check

- name: Lint crates
run: cd crates && cargo clippy --workspace --all-features -- --deny clippy::all --deny warnings

- name: Build crates
run: cd crates && cargo build --workspace --all-features

- name: Test crates
run: cd crates && cargo test --workspace --all-features
41 changes: 17 additions & 24 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: checks

on:
# Triggers the workflow on push or pull request events but only for the master branch
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [master, develop]
branches: [main, develop]
pull_request:
branches: [master, develop]
branches: [main, develop]
paths:
- 'src/**'
- '*.json'
- '*.js'
- '.prettierignore'
- 'yarn.lock'
- '.github/workflows/frontend.yml'
- 'src-wasm/**'
- 'frontend/src/**'
- 'frontend/*.json'
- 'frontend/*.js'
- 'frontend/.prettierignore'
- 'frontend/yarn.lock'
- 'frontend/src-wasm/**'

jobs:
frontend:
Expand All @@ -30,27 +30,20 @@ jobs:
run: rustup default stable

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: cd frontend && yarn install --frozen-lockfile

- name: Check Formatting
run: yarn prettier -c src
run: cd frontend && yarn prettier -c src

- name: Eslint
run: yarn lint
run: cd frontend && yarn lint

- name: codespell
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: true
skip: ./.git,./.gitignore,node_modules,dist,yarn.lock,./src/assets,./translations,*.html,./src-tauri
ignore_words_list: crate,ser
- name: Build Tauri Frontend
run: cd frontend && yarn ng build --configuration production

- name: Build WASM binary
run: yarn wasm_lib:release

- name: Build Tauri Frontend
run: yarn ng build --configuration production
# debug compiles faster and everything gets checked in the dedicated wasm ci pipeline
run: cd frontend && yarn wasm_lib:debug

- name: Build Web Frontend
run: yarn ng build --configuration webProd
run: cd frontend && yarn ng build --configuration webProd
22 changes: 22 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: checks

on:
# Triggers the workflow on push or pull request events but only for the main and develop branches
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
codespell:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
steps:
- name: codespell
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: true
skip: ./.git,./.gitignore,node_modules,dist,yarn.lock,./src/assets,./translations
ignore_words_list: crate,ser
40 changes: 40 additions & 0 deletions .github/workflows/tauri-app-rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: checks

on:
# Triggers the workflow on push or pull request events but only for the main and develop branches
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
paths:
- '.github/workflows/frontend-rust.yml'
- 'frontend/src-tauri/**'

jobs:
frontend-rust:
runs-on: ubuntu-20.04
container: a6543/cabr2_ci:latest
strategy:
fail-fast: true
steps:
- name: Checkout Project
uses: actions/checkout@v2

- name: Set Rust Toolchain
run: rustup default stable

- name: Fix Build
run: mkdir -p frontend/dist/CaBr2 && echo "Hello" > frontend/dist/CaBr2/index.html

- name: Check formatting Tauri app
run: cd frontend/src-tauri && cargo fmt -- --check

- name: Lint Tauri app
run: cd frontend/src-tauri && cargo clippy --all-features -- --deny clippy::all --deny warnings

- name: Build Tauri app
run: cd frontend/src-tauri && cargo build

# TODO(692) reactivate when tests are written
# - name: Test Tauri app
# run: cd frontend/src-tauri && cargo test
40 changes: 40 additions & 0 deletions .github/workflows/wasm-lib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: checks

on:
# Triggers the workflow on push or pull request events but only for the main and develop branches
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
paths:
- '.github/workflows/wasm-lib.yml'
- 'frontend/src-wasm/**'

jobs:
wasm-lib:
runs-on: ubuntu-20.04
container: a6543/cabr2_ci:latest
strategy:
fail-fast: true
steps:
- name: Checkout Project
uses: actions/checkout@v2

- name: Set Rust Toolchain
run: rustup default stable

- name: Check formatting WASM library
run: cd frontend/src-wasm && cargo fmt -- --check

- name: Lint WASM library
run: cd frontend/src-wasm && cargo clippy --all-features -- --deny clippy::all --deny warnings

- name: Build WASM library debug
run: cd frontend/src-wasm && wasm-pack build --out-dir ../cabr2_wasm --dev -- --features debug_build

- name: Build WASM library release
run: cd frontend/src-wasm && wasm-pack build --out-dir ../cabr2_wasm --release

# TODO(692) reactivate when tests are written
# - name: Test WASM library
# run: cd frontend/src-wasm && cargo test
37 changes: 37 additions & 0 deletions .github/workflows/webserver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: checks

on:
# Triggers the workflow on push or pull request events but only for the main and develop branches
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
paths:
- '.github/workflows/webserver.yml'
- 'webserver/**'

jobs:
webserver:
runs-on: ubuntu-20.04
container: a6543/cabr2_ci:latest
strategy:
fail-fast: true
steps:
- name: Checkout Project
uses: actions/checkout@v2

- name: Set Rust Toolchain
run: rustup default stable

- name: Check formatting webserver
run: cd webserver && cargo fmt -- --check

- name: Lint webserver
run: cd webserver && cargo clippy --all-features -- --deny clippy::all --deny warnings

- name: Build webserver
run: cd webserver && cargo build

# TODO(692) reactivate when tests are written
# - name: Test Webserver
# run: cd webserver && cargo test
Loading