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

Websocket communicate with backend #41

Merged
merged 44 commits into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
238043c
wip
fredclausen Jun 2, 2024
0bc79af
wip
fredclausen Jun 2, 2024
ddafc91
wip
fredclausen Jun 2, 2024
778aeb5
wip
fredclausen Jun 2, 2024
3e8fee2
wip
fredclausen Jun 2, 2024
ebecf06
wip
fredclausen Jun 2, 2024
185dd6a
wip
fredclausen Jun 2, 2024
914fb1f
wip
fredclausen Jun 2, 2024
236705a
wip
fredclausen Jun 2, 2024
ae16d32
wip
fredclausen Jun 2, 2024
bd25f0e
wip
fredclausen Jun 2, 2024
efdb725
wip
fredclausen Jun 2, 2024
414d39a
Update readme
fredclausen Jun 3, 2024
65165d5
wip
fredclausen Jun 4, 2024
56dfd1b
wip
fredclausen Jun 6, 2024
a942c19
wip
fredclausen Jun 9, 2024
ddb6272
wip
fredclausen Jun 9, 2024
186b63d
wip
fredclausen Jun 9, 2024
f8540db
wip
fredclausen Jun 9, 2024
658dc38
wip
fredclausen Jun 9, 2024
51a2970
wip
fredclausen Jun 9, 2024
1e12d44
wip
fredclausen Jun 10, 2024
5dcc581
wip
fredclausen Jun 10, 2024
98b61a5
wip
fredclausen Jun 10, 2024
bc753e5
wip
fredclausen Jun 11, 2024
84d5d95
wip
fredclausen Jun 12, 2024
fbf05e7
wip
fredclausen Jun 12, 2024
d23a38f
wip
fredclausen Jun 12, 2024
935ffd7
wip
fredclausen Jun 12, 2024
f700aed
wip
fredclausen Jun 12, 2024
3b0e43c
wip
fredclausen Jun 13, 2024
519aea7
wip
fredclausen Jun 13, 2024
abec35d
wip
fredclausen Jun 13, 2024
89570b2
wip
fredclausen Jun 13, 2024
2179d70
wip
fredclausen Jun 13, 2024
97ea3d3
Bump rust from 1.78.0 to 1.79.0
dependabot[bot] Jun 15, 2024
716b70c
Bump tauri-apps/tauri-action from 0.5.5 to 0.5.6
dependabot[bot] Jun 15, 2024
65d026d
Bump actions/checkout from 4.1.6 to 4.1.7
dependabot[bot] Jun 15, 2024
0636a3d
Bump docker/build-push-action from 5.3.0 to 5.4.0
dependabot[bot] Jun 15, 2024
5e77a5d
wip
fredclausen Jun 15, 2024
f7f88d3
Merge remote-tracking branch 'origin/dependabot/github_actions/action…
fredclausen Jun 15, 2024
8c936df
Merge remote-tracking branch 'origin/dependabot/github_actions/docker…
fredclausen Jun 15, 2024
8000fed
Merge remote-tracking branch 'origin/dependabot/github_actions/tauri-…
fredclausen Jun 15, 2024
11d9825
Merge remote-tracking branch 'origin/dependabot/docker/rust-1.79.0' i…
fredclausen Jun 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -73,7 +73,7 @@ jobs:
uses: docker/[email protected]

- name: Build armv7
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand All @@ -95,7 +95,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -113,7 +113,7 @@ jobs:
uses: docker/[email protected]

- name: Build arm64
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand All @@ -134,7 +134,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -152,7 +152,7 @@ jobs:
uses: docker/[email protected]

- name: Build amd64
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand All @@ -172,7 +172,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -190,7 +190,7 @@ jobs:
uses: docker/[email protected]

- name: Build amd64
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
github.event.inputs.build_latest_as_test == '' )
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/[email protected].6
- uses: actions/[email protected].7

- name: setup node
uses: actions/[email protected]
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
# - name: install frontend dependencies
# run: yarn install # change this to npm, pnpm or bun depending on which one you use.

- uses: tauri-apps/[email protected].5
- uses: tauri-apps/[email protected].6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected].6
- uses: actions/[email protected].7
- name: Pull markdownlint/markdownlint:latest Image
run: docker pull markdownlint/markdownlint:latest
- name: Run markdownlint against *.md files
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/on_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: "Linting: hadolint"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].6
- uses: actions/[email protected].7
- name: Pull hadolint/hadolint:latest Image
run: docker pull hadolint/hadolint:latest
- name: Run hadolint against Dockerfiles
Expand All @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -59,7 +59,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -77,7 +77,7 @@ jobs:
uses: docker/[email protected]

- name: Build armv7
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand All @@ -99,7 +99,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -117,7 +117,7 @@ jobs:
uses: docker/[email protected]

- name: Build arm64
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand All @@ -139,7 +139,7 @@ jobs:

steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -157,7 +157,7 @@ jobs:
uses: docker/[email protected]

- name: Build amd64
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand All @@ -178,7 +178,7 @@ jobs:
needs: [test_rust_functionality]
steps:
- name: Checkout
uses: actions/[email protected].6
uses: actions/[email protected].7
with:
fetch-depth: 0

Expand All @@ -196,7 +196,7 @@ jobs:
uses: docker/[email protected]

- name: Build amd64
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5.4.0
with:
context: .
push: false
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/[email protected].6
- uses: actions/[email protected].7

- name: setup node
uses: actions/[email protected]
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
# - name: install frontend dependencies
# run: yarn install # change this to npm, pnpm or bun depending on which one you use.

- uses: tauri-apps/[email protected].5
- uses: tauri-apps/[email protected].6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].6
- uses: actions/[email protected].7
with:
fetch-depth: 0
- uses: vrslev/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Run yamllint against YAML files
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].6
- uses: actions/[email protected].7
- name: yaml-lint
uses: ibiqlik/[email protected]
with:
Expand Down
35 changes: 23 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"src/libraries/sh-api",
"src/libraries/sh-config",
"src/libraries/sh-common",
"src/libraries/sh-common-server",
]
exclude = ["sh-frontend"]

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build_binary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78.0 as builder
FROM rust:1.79.0 as builder
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
WORKDIR /tmp/sdre-hub
# hadolint ignore=DL3008,DL3003,SC1091,DL4006,DL3009
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build_frontend
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78.0 as builder
FROM rust:1.79.0 as builder
WORKDIR /tmp/sdre-hub
# hadolint ignore=DL3008,DL3003,SC1091,DL4006,DL3009
RUN set -x && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78.0 as builder
FROM rust:1.79.0 as builder
WORKDIR /tmp/sdre-hub
# hadolint ignore=DL3008,DL3003,SC1091,DL4006
RUN set -x && \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Sorry, there is no migration path from ACARS Hub to SDR-E Hub. The data that ACA
- [x] Application build
- [ ] Manage settings from the web interface
- [x] GitHub CI
- [ ] Custom Error handling
- [ ] FIXME/TODO Cleanup
- [ ] Code documentation
- [ ] Unit Tests
Expand Down
Loading
Loading