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

Dev/data center #53

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
fd496b4
feat: 🎸 ws client
ZingerLittleBee Jun 30, 2023
2df746d
feat: 🎸 reporter
ZingerLittleBee Jul 1, 2023
5cea136
feat: 🎸 reporter
ZingerLittleBee Jul 2, 2023
951dd64
feat: 🎸 full process
ZingerLittleBee Jul 2, 2023
cd9ad14
feat: 🎸 device info
ZingerLittleBee Jul 3, 2023
d5186ef
feat: 🎸 device info
ZingerLittleBee Jul 4, 2023
cf76ca5
feat: 🎸 client
ZingerLittleBee Jul 9, 2023
846141a
feat: 🎸 check token
ZingerLittleBee Jul 13, 2023
d7289e0
refactor: 💡 config
ZingerLittleBee Jul 29, 2023
c0e2418
refactor: 💡 config
ZingerLittleBee Jul 29, 2023
88e5741
refactor: 💡 config
ZingerLittleBee Jul 29, 2023
fcb4355
refactor: 💡 register
ZingerLittleBee Jul 30, 2023
819ead7
feat: 🎸 task
ZingerLittleBee Aug 11, 2023
a28d69b
feat: 🎸 client token
ZingerLittleBee Aug 11, 2023
5d6e13c
feat: 🎸 client token api
ZingerLittleBee Aug 12, 2023
1a2b194
feat: 🎸 task
ZingerLittleBee Aug 13, 2023
1720774
feat: 🎸 simple process
ZingerLittleBee Aug 17, 2023
ce33235
feat: 🎸 disable ssl
ZingerLittleBee Aug 18, 2023
81f2e39
feat: 🎸 curl version
ZingerLittleBee Aug 21, 2023
0249601
feat: 🎸 view
ZingerLittleBee Aug 21, 2023
9a2c999
chore: 🤖 guard
ZingerLittleBee Aug 21, 2023
713bd50
feat: 🎸 auth support url param
ZingerLittleBee Aug 21, 2023
0a6d3dd
feat: 🎸 communication
ZingerLittleBee Aug 21, 2023
152f4e2
feat: 🎸 cpu card
ZingerLittleBee Aug 21, 2023
e98fe87
feat: 🎸 network disk card
ZingerLittleBee Aug 22, 2023
f0c80c5
feat: 🎸 overview
ZingerLittleBee Aug 22, 2023
688d3de
feat: 🎸 overview
ZingerLittleBee Aug 23, 2023
3eeabc3
feat: 🎸 network activity
ZingerLittleBee Aug 23, 2023
2d70026
feat: 🎸 network activity
ZingerLittleBee Aug 23, 2023
9c6e80b
feat: 🎸 mem chart
ZingerLittleBee Aug 24, 2023
171ea97
feat: 🎸 style
ZingerLittleBee Aug 24, 2023
dc0d08c
feat: 🎸 os widget
ZingerLittleBee Aug 24, 2023
f8949a6
feat: 🎸 boot time format
ZingerLittleBee Aug 24, 2023
180af6d
feat: 🎸 process
ZingerLittleBee Aug 26, 2023
0c49d6c
feat: 🎸 virtualized list
ZingerLittleBee Aug 26, 2023
b763d3b
feat: 🎸 list sort
ZingerLittleBee Aug 26, 2023
b161a87
feat: 🎸 sort debounce
ZingerLittleBee Aug 27, 2023
8fbc441
feat: 🎸 ws status
ZingerLittleBee Aug 27, 2023
36b9692
feat: 🎸 process detail
ZingerLittleBee Aug 28, 2023
caba5da
refactor: 💡 key
ZingerLittleBee Aug 28, 2023
925eb44
refactor: 💡 polish
ZingerLittleBee Aug 29, 2023
5a852e2
feat: 🎸 login
ZingerLittleBee Aug 29, 2023
3573d03
feat: 🎸 with auth
ZingerLittleBee Aug 30, 2023
feb94ee
feat: 🎸 auth status
ZingerLittleBee Aug 31, 2023
0b33e88
feat: 🎸 settings
ZingerLittleBee Aug 31, 2023
7865b40
feat: 🎸 icon
ZingerLittleBee Sep 1, 2023
0ae113c
refactor: 💡 config
ZingerLittleBee Sep 1, 2023
17332a5
feat: 🎸 config getter
ZingerLittleBee Sep 1, 2023
b810046
feat: 🎸 db wrapper
ZingerLittleBee Sep 1, 2023
9c60b79
feat: 🎸 merge
ZingerLittleBee Sep 1, 2023
a7c5bb7
feat: 🎸 config api
ZingerLittleBee Sep 1, 2023
73bc42d
feat: 🎸 config api
ZingerLittleBee Sep 2, 2023
a98be7d
refactor: 💡 communication token
ZingerLittleBee Sep 2, 2023
b7ecaf6
feat: 🎸 use settings
ZingerLittleBee Sep 2, 2023
a29dde6
feat: 🎸 settings
ZingerLittleBee Sep 4, 2023
5843501
fix: 🐛 mem stats
ZingerLittleBee Sep 4, 2023
fb07356
refactor: 💡 placeholder
ZingerLittleBee Sep 4, 2023
237c1c2
feat: 🎸 process selected
ZingerLittleBee Sep 4, 2023
cb6766a
feat: 🎸 settings auth
ZingerLittleBee Sep 5, 2023
ee445b3
refactor: 💡 lint
ZingerLittleBee Sep 5, 2023
9973026
feat: 🎸 host html
ZingerLittleBee Sep 5, 2023
1b362a3
feat: 🎸 page router
ZingerLittleBee Sep 6, 2023
b0800bc
feat: 🎸 rolling log
ZingerLittleBee Sep 6, 2023
524e18a
chore: 🤖 dockerfile
ZingerLittleBee Sep 7, 2023
ea44c01
chore: 🤖 workflow
ZingerLittleBee Sep 7, 2023
bee1351
ci: 🎡 v2.0.0
ZingerLittleBee Sep 7, 2023
9da07b3
ci: 🎡 release
ZingerLittleBee Sep 7, 2023
35860fd
ci: 🎡 release
ZingerLittleBee Sep 7, 2023
8cae20d
feat: 🎸 login route
ZingerLittleBee Sep 8, 2023
526fb48
refactor: 💡 prettier
ZingerLittleBee Sep 8, 2023
a63f97d
refactor: 💡 spa
ZingerLittleBee Sep 9, 2023
50170a4
refactor: 💡 package
ZingerLittleBee Sep 9, 2023
086ec16
refactor: 💡 workflow
ZingerLittleBee Sep 10, 2023
320dc02
feat: 🎸 disk detail
ZingerLittleBee Sep 10, 2023
04e99f2
refactor: 💡 disk ui
ZingerLittleBee Sep 10, 2023
94a5df2
refactor: 💡 lint
ZingerLittleBee Sep 10, 2023
ab02742
feat: 🎸 network detail
ZingerLittleBee Sep 11, 2023
8884717
feat: 🎸 interface sort
ZingerLittleBee Sep 11, 2023
c747ae6
refactor: 💡 router
ZingerLittleBee Sep 11, 2023
ef6eda1
refactor: 💡 chart tooltip
ZingerLittleBee Sep 11, 2023
e015f62
feat: 🎸 chart sync
ZingerLittleBee Sep 11, 2023
17e1b51
chore: 🤖 workspace
ZingerLittleBee Sep 13, 2023
ab30e7c
feat: 🎸 responsive
ZingerLittleBee Sep 13, 2023
b95ddb9
feat: 🎸 responsive
ZingerLittleBee Sep 13, 2023
b3150b6
feat: 🎸 responsive
ZingerLittleBee Sep 13, 2023
1f6ad3a
feat: 🎸 dark color
ZingerLittleBee Sep 13, 2023
82b4c64
docs: ✏️ snapshot
ZingerLittleBee Sep 14, 2023
2b727ab
chore: 🤖 unit test
ZingerLittleBee Sep 14, 2023
a30da2a
chore: 🤖 docker
ZingerLittleBee Sep 15, 2023
75ca588
chore: 🤖 logo
ZingerLittleBee Sep 15, 2023
30c34df
chore: 🤖 workflow
ZingerLittleBee Sep 18, 2023
f6d453a
Merge branch 'main' into dev/data-center
ZingerLittleBee Sep 19, 2023
837702f
chore: 🤖 test workflow
ZingerLittleBee Sep 19, 2023
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
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
view/node_modules
view/dist
pkg
.git
db
target
9 changes: 5 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
# platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
# can not compile linux/arm64 in Github Action
#
# Manually compile
Expand All @@ -37,13 +37,14 @@ jobs:
# 3. Create manifest
# `docker manifest create zingerbee/serverbee-web zingerbee/amd64-serverbee-web zingerbee/arm64-serverbee-web`
# 4. Set manifest
# - `docker manifest annotate zingerbee/serverbee-web zingerbee/amd64-serverbee-web --os linux --arch amd64`
# - `docker manifest annotate zingerbee/serverbee-web zingerbee/arm64-serverbee-web --os linux --arch arm64`
# - `docker manifest annotate zingerbee/serverbee-web:latest zingerbee/amd64-serverbee-web:latest --os linux --arch amd64`
# - `docker manifest annotate zingerbee/serverbee-web:latest zingerbee/arm64-serverbee-web:latest --os linux --arch arm64`
# (Optional) Inspect manifest
# `docker manifest inspect zingerbee/serverbee-web`
# 5. Push manifest
# `docker manifest push zingerbee/serverbee-web`
file: ./docker/Dockerfile
push: true
# `zingerbee/arm64-serverbee-web:latest` need manually compile and publish
tags: zingerbee/amd64-serverbee-web:latest
tags: zingerbee/serverbee-web:latest
# tags: zingerbee/amd64-serverbee-web:latest
37 changes: 33 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,29 @@ jobs:
# path: |
# ${{ steps.compile.outputs.BUILT_ARCHIVE }}
# ${{ steps.compile.outputs.BUILT_CHECKSUM }}
build-view:
name: Build View
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies and build
run: |
pnpm -C view install
pnpm -C view build
- name: Upload view build artifacts
uses: actions/upload-artifact@v2
with:
name: view-build-artifacts
path: view/dist
build:
needs:
- build-view
strategy:
fail-fast: false
matrix:
Expand All @@ -56,10 +78,11 @@ jobs:
suffix: .exe
target: x86_64-pc-windows-msvc
args: --no-default-features --features native-tls
- host: windows-latest
suffix: .exe
target: aarch64-pc-windows-msvc
args: --no-default-features --features native-tls
# https://github.com/briansmith/ring/issues/1614
# - host: windows-latest
# suffix: .exe
# target: aarch64-pc-windows-msvc
# args: --no-default-features --features native-tls
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
- host: ubuntu-latest
Expand All @@ -72,6 +95,12 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@master
- name: Download view build artifacts
uses: actions/download-artifact@v2
if: matrix.package == 'web'
with:
name: view-build-artifacts
path: view/dist
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test CI

on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- examples/**
- .github/**
- view/**
- snapshots/**
pull_request:
branches: [main]

workflow_dispatch:

jobs:
test:
name: Rust Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl https://sh.rustup.rs -sSf | sudo sh -s -- -y
- run: sudo apt-get -y update && sudo apt-get -y install libpcap-dev telnet
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies and build
run: |
pnpm -C view install
pnpm -C view build
- run: sudo ~/.cargo/bin/cargo test
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## `2.0.0` (2023-09-07)
### Features
- Dashboard for web
- Config for web
- Data report

### Refactor
- Refactor the config struct
- Refactor the local api

## `1.2.6` (2023-06-11)
### Bug Fixes
- Linux daemon template
Expand Down
Loading
Loading