mirror of
https://github.com/unraid/api.git
synced 2026-01-02 14:40:01 -06:00
Compare commits
403 Commits
fix/back-t
...
v3.2.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
612fcc271c | ||
|
|
38d6fd69c3 | ||
|
|
18065dbc31 | ||
|
|
580a159ab8 | ||
|
|
bd901e6ef9 | ||
|
|
5a3b98bac9 | ||
|
|
b39543d744 | ||
|
|
800fb6a79f | ||
|
|
470a0eca41 | ||
|
|
389da7a7fd | ||
|
|
83e2b495c5 | ||
|
|
e3c3cb0688 | ||
|
|
dffc35be74 | ||
|
|
09fb0d6c5a | ||
|
|
8358d64355 | ||
|
|
17c7757bf6 | ||
|
|
320b181601 | ||
|
|
69596b88c2 | ||
|
|
4bab23a232 | ||
|
|
888c3a7063 | ||
|
|
6eef10dff2 | ||
|
|
0e396ff86f | ||
|
|
805a029333 | ||
|
|
61c162dc1e | ||
|
|
a500e3a81b | ||
|
|
5c557d0184 | ||
|
|
32dea9e39a | ||
|
|
a611fcf630 | ||
|
|
ba8220037c | ||
|
|
6539c58c7f | ||
|
|
5494026e29 | ||
|
|
d3547b966b | ||
|
|
e940e47798 | ||
|
|
d6fa980b57 | ||
|
|
034c2fedf6 | ||
|
|
90244e1a8f | ||
|
|
e1cd8eb4fb | ||
|
|
051ecb605e | ||
|
|
dc9a561535 | ||
|
|
eee6394d2a | ||
|
|
02adbe5397 | ||
|
|
f4a5c1f97b | ||
|
|
93a3fb0e6b | ||
|
|
7c4448fbab | ||
|
|
b70b888ed1 | ||
|
|
9491ea7db7 | ||
|
|
d432f795fc | ||
|
|
ad0a83608b | ||
|
|
f74987b3e9 | ||
|
|
73c0930ce1 | ||
|
|
6bcff77dc2 | ||
|
|
a9c4267871 | ||
|
|
f75cc7ab33 | ||
|
|
286cc08933 | ||
|
|
8097333510 | ||
|
|
06b97ba872 | ||
|
|
cedaceaff8 | ||
|
|
0fc5eb43e6 | ||
|
|
a5fae72b45 | ||
|
|
74b33d8473 | ||
|
|
5aac3abbd3 | ||
|
|
57b4643ed2 | ||
|
|
55db8501b8 | ||
|
|
462b1e2752 | ||
|
|
dafb8e48ab | ||
|
|
4589cc8c32 | ||
|
|
d23d68fb25 | ||
|
|
311f021bd6 | ||
|
|
b55f1ef6a2 | ||
|
|
2c7f9c64f6 | ||
|
|
4829c0a793 | ||
|
|
f15e9d9da7 | ||
|
|
db04c4094c | ||
|
|
cd68aafa1f | ||
|
|
b31f9df4ac | ||
|
|
bb38374265 | ||
|
|
97b22e18d6 | ||
|
|
f6bd1bbc53 | ||
|
|
c85ad3f289 | ||
|
|
7c90d364c3 | ||
|
|
26b386c330 | ||
|
|
4ea6569eef | ||
|
|
f68854a016 | ||
|
|
f915db2719 | ||
|
|
48c0add1cc | ||
|
|
cf542e332b | ||
|
|
e222fc5d84 | ||
|
|
f47b0f7d81 | ||
|
|
3144a17c3d | ||
|
|
92ba937656 | ||
|
|
0898ba092f | ||
|
|
68c335d31f | ||
|
|
dbc302a288 | ||
|
|
1b3e344c6a | ||
|
|
0f02804ae6 | ||
|
|
f464f28c9f | ||
|
|
29550668f1 | ||
|
|
adecbc2fbe | ||
|
|
5da71d383f | ||
|
|
74e42c2599 | ||
|
|
5983c64ed1 | ||
|
|
2e259ed677 | ||
|
|
2f5c690bd6 | ||
|
|
8ac28a881d | ||
|
|
c10123a665 | ||
|
|
d475df8f28 | ||
|
|
7bbc240407 | ||
|
|
1cab0070fb | ||
|
|
dac73ede1a | ||
|
|
397a614698 | ||
|
|
f232aa47f7 | ||
|
|
d395056a12 | ||
|
|
f75ff38607 | ||
|
|
c8a620a736 | ||
|
|
4f54650645 | ||
|
|
b97b9f9ddb | ||
|
|
2c067f5de2 | ||
|
|
1ac0161b30 | ||
|
|
56ef58cdb2 | ||
|
|
476a53509a | ||
|
|
27badde6a6 | ||
|
|
40fda92ad0 | ||
|
|
a21506c0fa | ||
|
|
485e36c635 | ||
|
|
f77521845f | ||
|
|
af7333b498 | ||
|
|
31847c4b2d | ||
|
|
7d66e90584 | ||
|
|
e934506d05 | ||
|
|
b5b5174bf7 | ||
|
|
505d10d1f1 | ||
|
|
8c7d262dc3 | ||
|
|
959a2618c0 | ||
|
|
2c5dbdd123 | ||
|
|
6844e173e3 | ||
|
|
a5534d0a12 | ||
|
|
9c66a6b13d | ||
|
|
88974bce2a | ||
|
|
383b3263d7 | ||
|
|
de6eb743c4 | ||
|
|
f5c950a949 | ||
|
|
93e331ed68 | ||
|
|
921fc8cb6f | ||
|
|
e735847742 | ||
|
|
45fbe9ad1f | ||
|
|
406e1405f0 | ||
|
|
0910d21acf | ||
|
|
2e4997ea60 | ||
|
|
532cf5a0d7 | ||
|
|
e7a4aebcad | ||
|
|
055ce84d33 | ||
|
|
220306dfa0 | ||
|
|
8027392fd8 | ||
|
|
c9408e0ed9 | ||
|
|
635c6ecddc | ||
|
|
977628187f | ||
|
|
f0a98e584c | ||
|
|
ea66b96575 | ||
|
|
ca41631927 | ||
|
|
d33b62121d | ||
|
|
0414a96c46 | ||
|
|
12ee38b58d | ||
|
|
ed93c2934d | ||
|
|
a8e4d76da1 | ||
|
|
db79da04f7 | ||
|
|
7467443831 | ||
|
|
e7058dfd00 | ||
|
|
70f1a7b0d1 | ||
|
|
c752544414 | ||
|
|
2b81cd819d | ||
|
|
c2c69df60f | ||
|
|
be789aec73 | ||
|
|
c4f5db7426 | ||
|
|
e2a38fc666 | ||
|
|
1a90c02f3a | ||
|
|
2c2aca440f | ||
|
|
99b3037f0f | ||
|
|
d6b8f8182c | ||
|
|
a1cd954442 | ||
|
|
f12fc1dfa5 | ||
|
|
5c7e2eb609 | ||
|
|
1edc803c0b | ||
|
|
d1b1596818 | ||
|
|
126c9b85f1 | ||
|
|
2b8e42065c | ||
|
|
313d7a5235 | ||
|
|
4f1f1dd805 | ||
|
|
e4d6c7a95f | ||
|
|
b1b78d0002 | ||
|
|
304212b688 | ||
|
|
b8f4fa98c1 | ||
|
|
9d62c033ef | ||
|
|
219c69504b | ||
|
|
5917109f47 | ||
|
|
d9b16e57b4 | ||
|
|
9c1dbec0f9 | ||
|
|
dd360795e9 | ||
|
|
ffaadfdccf | ||
|
|
b18bd3fe5d | ||
|
|
47c0326430 | ||
|
|
ee87813731 | ||
|
|
89bc78512f | ||
|
|
bd631c3a3f | ||
|
|
7d87bd0542 | ||
|
|
d1d31eb1dc | ||
|
|
6d240f883d | ||
|
|
80d1c70e35 | ||
|
|
cb60fb1283 | ||
|
|
1caaed264c | ||
|
|
f6a5317be2 | ||
|
|
6f03bb27da | ||
|
|
e457adb672 | ||
|
|
2a0592d97c | ||
|
|
c8f3578b44 | ||
|
|
cace036362 | ||
|
|
675d93b924 | ||
|
|
fb05a5e26d | ||
|
|
dd3ae0ed3d | ||
|
|
269c452aa7 | ||
|
|
f2d1738f7b | ||
|
|
68fd5b83f2 | ||
|
|
358fdd9a7a | ||
|
|
cb9add4aa5 | ||
|
|
0944f38ba1 | ||
|
|
37fb1a88fe | ||
|
|
262a085d0c | ||
|
|
1dd717be2e | ||
|
|
a46f5a3cb4 | ||
|
|
65be9f0d30 | ||
|
|
abd556f4b5 | ||
|
|
3c5b7e9a56 | ||
|
|
da78b5b7ab | ||
|
|
e12f342724 | ||
|
|
57b5cc462b | ||
|
|
aeca7bbc2b | ||
|
|
b65030143a | ||
|
|
256f1a3d5a | ||
|
|
bbbdff6c60 | ||
|
|
9e24019d60 | ||
|
|
9a2eb2dc1d | ||
|
|
1906bd1d7d | ||
|
|
b1019b6f32 | ||
|
|
1316d12e11 | ||
|
|
3391f93fab | ||
|
|
38349e399d | ||
|
|
a11a65c755 | ||
|
|
5db71a8d7d | ||
|
|
cc8c02c729 | ||
|
|
cb2cdd3428 | ||
|
|
b720232a55 | ||
|
|
bed928ee5b | ||
|
|
4b84acf4f8 | ||
|
|
755b4c973c | ||
|
|
ec3b501a35 | ||
|
|
0c3691d70d | ||
|
|
e1d016055c | ||
|
|
a7b0bc20c5 | ||
|
|
ee384bec37 | ||
|
|
d154576672 | ||
|
|
59083678cb | ||
|
|
134a4d37a9 | ||
|
|
791e0aaeb0 | ||
|
|
df4999951d | ||
|
|
b277a12113 | ||
|
|
6857c3b023 | ||
|
|
08d60401a8 | ||
|
|
2cafeff93a | ||
|
|
41225e8c4e | ||
|
|
32fd82dea4 | ||
|
|
9bda99b1d1 | ||
|
|
1ffc4ef03d | ||
|
|
97d64bb89b | ||
|
|
49f600a25a | ||
|
|
4fffcb167e | ||
|
|
2f905caccc | ||
|
|
8ef6bf99e1 | ||
|
|
b8f1f1847f | ||
|
|
14f81ed811 | ||
|
|
83d9b3989c | ||
|
|
e6e6a6dc13 | ||
|
|
89736767a1 | ||
|
|
0ff9dba5a8 | ||
|
|
33dc34730f | ||
|
|
e4676de4d8 | ||
|
|
b0797f4e5b | ||
|
|
732f310e79 | ||
|
|
2d03a9ad76 | ||
|
|
3f64d8e405 | ||
|
|
db469232ed | ||
|
|
f8b5db9853 | ||
|
|
47bf63c273 | ||
|
|
54e98b6128 | ||
|
|
ab795b2346 | ||
|
|
6c88299566 | ||
|
|
bf69e857f1 | ||
|
|
55df4a9738 | ||
|
|
9f12d62c80 | ||
|
|
07f21dbe77 | ||
|
|
d718d2684d | ||
|
|
ca8c98f7e2 | ||
|
|
17ca9adc79 | ||
|
|
e884b051f4 | ||
|
|
4494d0b06d | ||
|
|
e507b9ffcb | ||
|
|
e36e90724c | ||
|
|
9c6f669f73 | ||
|
|
eb06f889a1 | ||
|
|
65506a454d | ||
|
|
4ff8339caa | ||
|
|
535ca1632c | ||
|
|
902909ed0a | ||
|
|
e5e076f948 | ||
|
|
6f28f0dc55 | ||
|
|
8137504c5d | ||
|
|
14f28207f9 | ||
|
|
930c1ee26f | ||
|
|
c6a5263135 | ||
|
|
931853018d | ||
|
|
a20fcfe84e | ||
|
|
96894b7ff4 | ||
|
|
9dec0b4346 | ||
|
|
7c288f01e8 | ||
|
|
5f27e72eed | ||
|
|
d2ad99789b | ||
|
|
dd8d8cdac9 | ||
|
|
ff556a5e9e | ||
|
|
fe3b235cf8 | ||
|
|
7ad5547328 | ||
|
|
61c6df51d2 | ||
|
|
734d47c5f6 | ||
|
|
a69066324e | ||
|
|
2ef113dcb2 | ||
|
|
2a61601c5f | ||
|
|
313326d953 | ||
|
|
54c16c6514 | ||
|
|
8c98f462f4 | ||
|
|
55c492147f | ||
|
|
9dc81bdd31 | ||
|
|
cf82d76b6f | ||
|
|
5ac9a76027 | ||
|
|
4e03e64f94 | ||
|
|
dea80ec070 | ||
|
|
b0dd7030a8 | ||
|
|
16f3898a1c | ||
|
|
d010238adc | ||
|
|
3f6064c0d2 | ||
|
|
a4d5618972 | ||
|
|
d3dfa934c5 | ||
|
|
2c8b516adc | ||
|
|
77535a9307 | ||
|
|
0f7f17be24 | ||
|
|
9d7b15198a | ||
|
|
82a45dd624 | ||
|
|
1f0611f6b0 | ||
|
|
3992647a39 | ||
|
|
6ce48a830d | ||
|
|
f33064c3bf | ||
|
|
53725d322a | ||
|
|
cbb4861eed | ||
|
|
b21ececa7a | ||
|
|
a6cbe09ee1 | ||
|
|
fb319361f9 | ||
|
|
c96c0a765c | ||
|
|
a205bca6ec | ||
|
|
5165e1190a | ||
|
|
e635f1afeb | ||
|
|
628e25ed0d | ||
|
|
f59ac00b4d | ||
|
|
8719909288 | ||
|
|
aa3ec94056 | ||
|
|
a73cc86c38 | ||
|
|
38f2e6a9a6 | ||
|
|
8ffe565ca6 | ||
|
|
5503b253c2 | ||
|
|
e2d0a1b6ac | ||
|
|
c328f61118 | ||
|
|
2a891c211e | ||
|
|
d617854d84 | ||
|
|
aa8a6f1934 | ||
|
|
8733921b6b | ||
|
|
47c192df9e | ||
|
|
214572bf6f | ||
|
|
336312523d | ||
|
|
a8f4337c25 | ||
|
|
49c639c10f | ||
|
|
77cf384d6a | ||
|
|
1660ac7e02 | ||
|
|
6b80016123 | ||
|
|
a0c2e4fe71 | ||
|
|
5ab0a44473 | ||
|
|
ee9f68f776 | ||
|
|
9479fd7d09 | ||
|
|
d6f386a992 | ||
|
|
01e0ffcbc0 | ||
|
|
085eb3d345 | ||
|
|
a168ab43a6 | ||
|
|
ba7c6e8e2d | ||
|
|
d7f2d6d44a | ||
|
|
a91732959b | ||
|
|
2011cf453d | ||
|
|
f9d656fc0d | ||
|
|
0a9b047170 | ||
|
|
abd66d6082 |
74
.github/workflows/lint-test-build-web.yml
vendored
Normal file
74
.github/workflows/lint-test-build-web.yml
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
name: Lint, Test, and Build Web Components
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
|
||||
build-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-web]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build to Github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: web/.nuxt/nuxt-custom-elements/dist/unraid-components
|
||||
100
.github/workflows/main.yml
vendored
100
.github/workflows/main.yml
vendored
@@ -78,36 +78,50 @@ jobs:
|
||||
git config --global url."https://github.com/".insteadOf
|
||||
ssh://git@github.com/
|
||||
|
||||
- name: Build Docker Compose
|
||||
run: |
|
||||
docker network create mothership_default
|
||||
docker-compose build builder
|
||||
|
||||
- name: Run Docker Compose
|
||||
run: docker-compose run builder npm run coverage
|
||||
|
||||
lint-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
|
||||
# - name: Get npm cache directory
|
||||
# id: npm-cache
|
||||
# run: echo "::set-output name=dir::$(npm config get cache)"
|
||||
|
||||
# - name: Load npm cache
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: ${{ steps.npm-cache.outputs.dir }}
|
||||
# key: ${{ runner.os }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Run unit tests with code coverage
|
||||
run: npm run coverage
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
|
||||
build-api:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-api, test-api]
|
||||
|
||||
outputs:
|
||||
API_VERSION: ${{ steps.build-pack-binary.outputs.API_VERSION }}
|
||||
@@ -161,12 +175,52 @@ jobs:
|
||||
name: unraid-api
|
||||
path: ${{ github.workspace }}/api/deploy/release/*.tgz
|
||||
|
||||
build-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: production
|
||||
needs: [lint-web]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build to Github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: web/.nuxt/nuxt-custom-elements/dist/unraid-components
|
||||
|
||||
build-plugin:
|
||||
needs: [lint-api, lint-web, test-api, build-api, build-web]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: plugin
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-api]
|
||||
steps:
|
||||
- name: Set Timezone
|
||||
uses: szenius/set-timezone@v1.2
|
||||
@@ -174,6 +228,11 @@ jobs:
|
||||
timezoneLinux: "America/Los_Angeles"
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Download unraid web components
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: ./plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components
|
||||
- name: Build Plugin
|
||||
run: |
|
||||
cd source/dynamix.unraid.net
|
||||
@@ -223,11 +282,6 @@ jobs:
|
||||
removeMarkdown: false
|
||||
filePath: "./api/CHANGELOG.md"
|
||||
|
||||
- name: Create release notes
|
||||
run: |
|
||||
escapedNotes=$(sed -e 's/[&\\/]/\\&/g; s/$/\\/' -e '$s/\\$//' <<<"${{steps.changelog.outputs.latestBody}}")
|
||||
sed -i -z -E "s/<CHANGES>(.*)<\/CHANGES>/<CHANGES>\n${escapedNotes}\n<\/CHANGES>/g" "plugins/dynamix.unraid.net.staging.plg"
|
||||
|
||||
- name: Run LS in unraid-api folder
|
||||
run: |
|
||||
cp archive/dynamix.unraid.net.staging-*.txz staging-release/
|
||||
|
||||
82
.github/workflows/pull-request-web.yml
vendored
Normal file
82
.github/workflows/pull-request-web.yml
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
name: Pull Request Web
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'web/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-web
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
|
||||
build-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: production
|
||||
needs: [lint-web]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build to Github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: web/.nuxt/nuxt-custom-elements/dist/unraid-components
|
||||
146
.github/workflows/pull-request.yml
vendored
146
.github/workflows/pull-request.yml
vendored
@@ -3,9 +3,7 @@ name: Pull Request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.js'
|
||||
- '**.ts'
|
||||
|
||||
- api/**
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
@@ -13,6 +11,12 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
lint-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
continue-on-error: true
|
||||
defaults:
|
||||
run:
|
||||
@@ -22,77 +26,69 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Reconfigure git to use HTTP authenti:cation
|
||||
run: >
|
||||
git config --global url."https://github.com/".insteadOf
|
||||
ssh://git@github.com/
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
persist-credentials: true
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
|
||||
# - name: Cache dependencies
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: npm-${{ hashFiles('package-lock.json') }}
|
||||
# restore-keys: npm-
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm ci
|
||||
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
# network=host driver-opt needed to push to local registry
|
||||
driver-opts: network=host
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: api
|
||||
target: builder
|
||||
push: true
|
||||
tags: localhost:5000/unraid-api:builder
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Lint
|
||||
run: |
|
||||
docker run localhost:5000/unraid-api:builder npm run lint
|
||||
|
||||
test-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Reconfigure git to use HTTP authentication
|
||||
run: >
|
||||
git config --global url."https://github.com/".insteadOf
|
||||
ssh://git@github.com/
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
persist-credentials: true
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
# network=host driver-opt needed to push to local registry
|
||||
driver-opts: network=host
|
||||
|
||||
# - name: Cache dependencies
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: npm-${{ hashFiles('package-lock.json') }}
|
||||
# restore-keys: npm-
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm ci
|
||||
|
||||
- name: Run unit tests with code coverage
|
||||
run: npm run coverage
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: api
|
||||
target: builder
|
||||
push: true
|
||||
tags: localhost:5000/unraid-api:builder
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Test
|
||||
run: |
|
||||
docker run localhost:5000/unraid-api:builder npm run coverage
|
||||
|
||||
build-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-api, test-api]
|
||||
|
||||
outputs:
|
||||
API_VERSION: ${{ steps.build-pack-binary.outputs.API_VERSION }}
|
||||
@@ -102,31 +98,25 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
persist-credentials: true
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
# network=host driver-opt needed to push to local registry
|
||||
driver-opts: network=host
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: api
|
||||
target: builder
|
||||
push: true
|
||||
tags: localhost:5000/unraid-api:builder
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
# - name: Cache dependencies
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: npm-${{ hashFiles('package-lock.json') }}
|
||||
# restore-keys: npm-
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Install pkg
|
||||
run: npm i -g pkg
|
||||
|
||||
- name: Build and Pack
|
||||
id: build-pack-binary
|
||||
run: WORKDIR=${{ github.workspace }} && npm run build-pkg
|
||||
- name: Run Build
|
||||
run: docker run -e GIT_SHA=$(git rev-parse --short HEAD) -e IS_TAGGED=$(git describe --tags --abbrev=0 --exact-match) -v $(pwd)/deploy:/app/deploy/ localhost:5000/unraid-api:builder npm run build-pkg
|
||||
|
||||
- name: Set Hashes
|
||||
id: set-hashes
|
||||
@@ -158,7 +148,7 @@ jobs:
|
||||
run:
|
||||
working-directory: plugin
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-api]
|
||||
needs: [lint-api, test-api, build-api]
|
||||
steps:
|
||||
- name: Set Timezone
|
||||
uses: szenius/set-timezone@v1.2
|
||||
|
||||
87
.gitignore
vendored
Normal file
87
.gitignore
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
# Logs
|
||||
./logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
coverage-ts
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
|
||||
# next.js build output
|
||||
.next
|
||||
|
||||
# Visual Studio Code workspace
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
|
||||
# OSX
|
||||
.DS_Store
|
||||
|
||||
# Temp dir for tests
|
||||
test/__temp__/*
|
||||
|
||||
# Built files
|
||||
dist
|
||||
|
||||
# Typescript
|
||||
typescript
|
||||
|
||||
# Ultra runner
|
||||
.ultra.cache.json
|
||||
|
||||
# Github actions
|
||||
RELEASE_NOTES.md
|
||||
|
||||
# Docker Deploy Folder
|
||||
deploy/*
|
||||
!deploy/.gitkeep
|
||||
|
||||
# pkg cache
|
||||
.pkg-cache
|
||||
|
||||
*.log*
|
||||
.nuxt
|
||||
.nitro
|
||||
.cache
|
||||
.output
|
||||
.env*
|
||||
!.env.example
|
||||
30
.vscode/settings.json
vendored
Normal file
30
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": false,
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.activeBackground": "#78797d",
|
||||
"activityBar.background": "#78797d",
|
||||
"activityBar.foreground": "#e7e7e7",
|
||||
"activityBar.inactiveForeground": "#e7e7e799",
|
||||
"activityBarBadge.background": "#df9fac",
|
||||
"activityBarBadge.foreground": "#15202b",
|
||||
"commandCenter.border": "#e7e7e799",
|
||||
"sash.hoverBorder": "#78797d",
|
||||
"statusBar.background": "#5f6063",
|
||||
"statusBar.foreground": "#e7e7e7",
|
||||
"statusBarItem.hoverBackground": "#78797d",
|
||||
"statusBarItem.remoteBackground": "#5f6063",
|
||||
"statusBarItem.remoteForeground": "#e7e7e7",
|
||||
"titleBar.activeBackground": "#5f6063",
|
||||
"titleBar.activeForeground": "#e7e7e7",
|
||||
"titleBar.inactiveBackground": "#5f606399",
|
||||
"titleBar.inactiveForeground": "#e7e7e799"
|
||||
},
|
||||
"peacock.color": "#5f6063",
|
||||
"i18n-ally.localesPaths": [
|
||||
"locales"
|
||||
],
|
||||
"i18n-ally.keystyle": "flat"
|
||||
}
|
||||
18
api/.env.development
Normal file
18
api/.env.development
Normal file
@@ -0,0 +1,18 @@
|
||||
PATHS_UNRAID_DATA=./dev/data # Where we store plugin data (e.g. permissions.json)
|
||||
PATHS_STATES=./dev/states # Where .ini files live (e.g. vars.ini)
|
||||
PATHS_DYNAMIX_BASE=./dev/dynamix # Dynamix's data directory
|
||||
PATHS_DYNAMIX_CONFIG=./dev/dynamix/dynamix.cfg # Dynamix's config file
|
||||
PATHS_MY_SERVERS_CONFIG=./dev/Unraid.net/myservers.cfg # My servers config file
|
||||
PATHS_KEYFILE_BASE=./dev/Unraid.net # Keyfile location
|
||||
PATHS_MACHINE_ID=./dev/data/machine-id
|
||||
|
||||
ENVIRONMENT="development"
|
||||
NODE_ENV="development"
|
||||
PORT="3001"
|
||||
PLAYGROUND=true
|
||||
INTROSPECTION=true
|
||||
MOTHERSHIP_GRAPHQL_LINK="http://authenticator:3000/graphql"
|
||||
NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||
BYPASS_PERMISSION_CHECKS=true
|
||||
BYPASS_CORS_CHECKS=false
|
||||
CHOKIDAR_USEPOLLING=true
|
||||
@@ -26,6 +26,7 @@ module.exports = {
|
||||
],
|
||||
'import/no-cycle': 'off', // Change this to "error" to find circular imports
|
||||
'@typescript-eslint/no-use-before-define': ['error'],
|
||||
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
|
||||
1
api/.nvmrc
Normal file
1
api/.nvmrc
Normal file
@@ -0,0 +1 @@
|
||||
18.17.1
|
||||
157
api/CHANGELOG.md
157
api/CHANGELOG.md
@@ -2,6 +2,163 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [3.2.2](https://github.com/unraid/api/compare/v3.2.1...v3.2.2) (2023-09-07)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **web:** namespace conflight with dynamix.file.manager ([d3c2b74](https://github.com/unraid/api/commit/d3c2b74b9f36ccc3cbe6b4b633fb1a03001b73c7))
|
||||
|
||||
### [3.2.1](https://github.com/unraid/api/compare/v3.2.0...v3.2.1) (2023-09-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove release notes entirely for now ([8474cce](https://github.com/unraid/api/commit/8474cce32a53c3eee83b6541ed92c5d29113d4af))
|
||||
* remove staging changelog temporarily ([e4c98e8](https://github.com/unraid/api/commit/e4c98e87e39a98dd542d68161e86c73216b078d3))
|
||||
|
||||
## [3.2.0](https://github.com/unraid/api/compare/v3.1.1...v3.2.0) (2023-09-06)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add env for allowing console logs on build ([0e9510c](https://github.com/unraid/api/commit/0e9510cb23f335db5902044d61e8fe3ec63c52fe))
|
||||
* add readme for introspecting the api ([d69d552](https://github.com/unraid/api/commit/d69d55295a52eb78b062800fda5632f396e0b406))
|
||||
* api offline restart button ([9090848](https://github.com/unraid/api/commit/90908485b079b4c23f47482b3865b702ac853f2e))
|
||||
* api sign in / out ([#642](https://github.com/unraid/api/issues/642)) ([709666e](https://github.com/unraid/api/commit/709666e214920d29464c7132d8431649dfbd2ad4))
|
||||
* auth web component ([3803766](https://github.com/unraid/api/commit/38037663a6e891da7f17f3860671cf477e2db2fb))
|
||||
* basic vue-i18n ([4e79dfd](https://github.com/unraid/api/commit/4e79dfd13e3cfd5b1ef2effc227bad7d3aa35538))
|
||||
* build with deploy to local unraid server ([ec1ed32](https://github.com/unraid/api/commit/ec1ed328ddd72e4a5136e27257b6f3de22464648))
|
||||
* contact support using webgui feedback modal ([120382f](https://github.com/unraid/api/commit/120382f38632034bdfe00c050cddb670201fbbf5))
|
||||
* create beta component ([5cf6cf4](https://github.com/unraid/api/commit/5cf6cf47ae4d1c1b276911ecfb78ee5c0c58e17a))
|
||||
* create keyline component ([f800247](https://github.com/unraid/api/commit/f800247a6d88357ba02b71b6193d61366e1a5619))
|
||||
* create main css for default vars ([e969481](https://github.com/unraid/api/commit/e96948145ffe7729b8d6a654b6b4e40d7f4f6c72))
|
||||
* create meta info ServerState component ([25cd0d7](https://github.com/unraid/api/commit/25cd0d7fa58ec86707999f566654265cd70a2229))
|
||||
* create UptimeExpire component ([4c12591](https://github.com/unraid/api/commit/4c12591ac3eccc8cab678511370339808745429b))
|
||||
* disable sign out w/o a key ([feaf10a](https://github.com/unraid/api/commit/feaf10a165e72aa0d7bf00d03b56a7aea10ee251))
|
||||
* don't watch libvirt until after start ([#644](https://github.com/unraid/api/issues/644)) ([50c5132](https://github.com/unraid/api/commit/50c5132894a7d125fe630e223dff72df65ce5181))
|
||||
* download api logs web component ([588a3c5](https://github.com/unraid/api/commit/588a3c5460edf63b3bda2d9f5dc36520fdc930eb))
|
||||
* eslint setup ([abff0c0](https://github.com/unraid/api/commit/abff0c09bf4d72a5acdfbfdece4cb8912e037637))
|
||||
* gql retrylink ([5778466](https://github.com/unraid/api/commit/57784666b4a6b5632587dd98f3aec99b7c071874))
|
||||
* i18n web components ([fb34d79](https://github.com/unraid/api/commit/fb34d79a372c32af32b59d7e6bba714661962dab))
|
||||
* implement .env usage ([9f6fff1](https://github.com/unraid/api/commit/9f6fff1eb17940d20f7386f9c9552f98c4b31780))
|
||||
* init commit w/ callback prototype components ([f92a0ed](https://github.com/unraid/api/commit/f92a0ed83134559f925c785390b4d4052175444a))
|
||||
* injecting translations from webgui's php ([5e45d86](https://github.com/unraid/api/commit/5e45d867b7c0462d340af40a0145388d731445af))
|
||||
* install key and account config webgui requests ([f79c2e5](https://github.com/unraid/api/commit/f79c2e55f443d04fa1c87261d668983b7e980d1f))
|
||||
* install plugin ([695c7e7](https://github.com/unraid/api/commit/695c7e72c6562126105d819dd123b148bc5dbaee))
|
||||
* KeyActions component & general progress ([e3150db](https://github.com/unraid/api/commit/e3150dbb12b9f58ae89ab6faa5ab8a546b13d323))
|
||||
* node update ([#698](https://github.com/unraid/api/issues/698)) ([8d201fd](https://github.com/unraid/api/commit/8d201fdf898b38fb46e7e0ef6f3c00b03bdd6b1b))
|
||||
* notification support ([#640](https://github.com/unraid/api/issues/640)) ([7d4b888](https://github.com/unraid/api/commit/7d4b888a22e4e2d6db903ba1e9d61b8f72b4c25d))
|
||||
* open in upc dropdown ([7155746](https://github.com/unraid/api/commit/7155746fed8d2ef24dc231c0d4680ab830d2ca0f))
|
||||
* paginate notifications ([d54ec97](https://github.com/unraid/api/commit/d54ec973060b1bdaeb212a3f02c1026b1ae9bcc8))
|
||||
* quicker PR builds using docker ([7a3b802](https://github.com/unraid/api/commit/7a3b802c7908287f31b7a745862c8992cc941291))
|
||||
* rebuild manifest ([617b36e](https://github.com/unraid/api/commit/617b36e0fe8c863e521c185c0d9328bc6eb7d61c))
|
||||
* redact username ([#699](https://github.com/unraid/api/issues/699)) ([f037568](https://github.com/unraid/api/commit/f037568ccba6ac0e3e2c733a5312450c31abda86))
|
||||
* script to deploy working changes to server ([ea4bb40](https://github.com/unraid/api/commit/ea4bb4049acbb348c35f0a9d4fa68900d7cb3a14))
|
||||
* server state component ([e229128](https://github.com/unraid/api/commit/e229128a5fcc5525e044d32f65bea6561a31f025))
|
||||
* server state i18n ([caaaa45](https://github.com/unraid/api/commit/caaaa45de7f638bed9993ac680193a4d26760740))
|
||||
* start trial from upc ([685342f](https://github.com/unraid/api/commit/685342f356f3f5f10b4ba957bfe0ab840e9be019))
|
||||
* theme setting ([42563ef](https://github.com/unraid/api/commit/42563efbe4375b8ccaff8cf3805a02a26f9369a1))
|
||||
* transition dropdown ([ec6647a](https://github.com/unraid/api/commit/ec6647ad64db66ba66342e3f82fe082f1b0c74bb))
|
||||
* unraid-components .gitkeep ([91b1ae9](https://github.com/unraid/api/commit/91b1ae92455ff0991a8f2bea7acef4af67003546))
|
||||
* **upc:** avatar & brand components ([901d112](https://github.com/unraid/api/commit/901d112660851890f04caf4a18724f7e76173d0c))
|
||||
* update small package versions ([#726](https://github.com/unraid/api/issues/726)) ([6d884fe](https://github.com/unraid/api/commit/6d884feb3646577d7781232e2872017ec4549c13))
|
||||
* uptime and expire time component ([3d7c353](https://github.com/unraid/api/commit/3d7c3535fa3386f5d9fa089e16c9e628d491e24b))
|
||||
* url helpers ([3ed140f](https://github.com/unraid/api/commit/3ed140ffac158c15b087fc46eb430ce4e52406ad))
|
||||
* user profile dropdown components ([cbddb08](https://github.com/unraid/api/commit/cbddb08fc8df5f68fff1b654117da0460b68e316))
|
||||
* vue components pass t prop ([c084162](https://github.com/unraid/api/commit/c084162c3421c4eb88f55196eb266138535713cc))
|
||||
* vue3 web component translations ([48faf82](https://github.com/unraid/api/commit/48faf82f8c8ec3db0c22b87fae012a6dadc88cc8))
|
||||
* **web:** disable sign in / out until connected to api ([0e0fd55](https://github.com/unraid/api/commit/0e0fd55cf88e03ca617e209cd6a5ebe14c20e877))
|
||||
* **web:** restart unraid-api after sign out ([64dd8b0](https://github.com/unraid/api/commit/64dd8b09063915e7000c2681823effd16c866040))
|
||||
* WIP error store progress with server data ([dfbb0c1](https://github.com/unraid/api/commit/dfbb0c1f49c3e97cea769f8e1f3d6fecd134cfb7))
|
||||
* WIP global error handling ([c6e956e](https://github.com/unraid/api/commit/c6e956edcc46cc06a55d228df7415fe1574a705a))
|
||||
* WIP messages from php to i18n ([dcda3fc](https://github.com/unraid/api/commit/dcda3fcfeaecda59a7259708282228b9ca695262))
|
||||
* WIP promo component ([3cfeb08](https://github.com/unraid/api/commit/3cfeb0804bd40797a3d43d7b7223245c0c133dd0))
|
||||
* working unraid-api gql ([418fa2b](https://github.com/unraid/api/commit/418fa2b6ac059e779aad58c78741650f25131c74))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* actions open in new link if connect iframe ([074a988](https://github.com/unraid/api/commit/074a98825276b914416cfe902e5404481aee6a35))
|
||||
* actions open in new link if in connect iframe ([623479b](https://github.com/unraid/api/commit/623479be80e8f0b54d933da26d98b6ddbcf0c7de))
|
||||
* auth component button ([fe8944f](https://github.com/unraid/api/commit/fe8944f94dd3ba8ae6f33d7a5c633017559852ff))
|
||||
* authAction server getter ([ef0740a](https://github.com/unraid/api/commit/ef0740a36a1e35158bcaf086b71fad9784de3289))
|
||||
* avoid Vue bug remove component styles ([4e3227c](https://github.com/unraid/api/commit/4e3227c094a44e48ee5ee6a7459f6be478bb1ea3))
|
||||
* builds to prevent redeclartion with webgui vars ([02ff78f](https://github.com/unraid/api/commit/02ff78fa8d55cf1fe3c47ec3f5ab32515df0e8c2))
|
||||
* button component ([b486f01](https://github.com/unraid/api/commit/b486f019b482f1c95d996e20aa79ee8a36b3d83f))
|
||||
* connect status icon color online ([e3eda88](https://github.com/unraid/api/commit/e3eda88194c56ddbc60452acb0b291493f2966eb))
|
||||
* connect status icon color online ([12e20e6](https://github.com/unraid/api/commit/12e20e653c06f4b528bf5f7bac77f150967751af))
|
||||
* coverage v8 ([4aa2f68](https://github.com/unraid/api/commit/4aa2f68a7882ad3697527f199314151c324c0d2b))
|
||||
* **deps:** update apollo graphql packages ([#675](https://github.com/unraid/api/issues/675)) ([aa8e960](https://github.com/unraid/api/commit/aa8e960e6464910c4da4404f9008641c0bded23a))
|
||||
* **deps:** update apollo graphql packages ([#697](https://github.com/unraid/api/issues/697)) ([b08ce31](https://github.com/unraid/api/commit/b08ce31386ad36a6fb7706f2308724fdf4fb8704))
|
||||
* **deps:** update dependency @headlessui/vue to v1.7.15 ([#657](https://github.com/unraid/api/issues/657)) ([0501fff](https://github.com/unraid/api/commit/0501fff516536e133e0a2465c3c0e9902019ed67))
|
||||
* **deps:** update dependency @vueuse/components to v10.3.0 ([#676](https://github.com/unraid/api/issues/676)) ([301dc62](https://github.com/unraid/api/commit/301dc62b533c08c1a0b0fc56c6729644f93f11c5))
|
||||
* **deps:** update dependency convert to v4.13.1 ([#677](https://github.com/unraid/api/issues/677)) ([65cdc90](https://github.com/unraid/api/commit/65cdc9016e82a24b00d83bd27bcb2a52a7162a37))
|
||||
* **deps:** update dependency cross-fetch to v3.1.8 ([#658](https://github.com/unraid/api/issues/658)) ([dbed55c](https://github.com/unraid/api/commit/dbed55c2c43250463278e2007818828f859a5f65))
|
||||
* **deps:** update dependency dotenv to v16.3.1 ([#678](https://github.com/unraid/api/issues/678)) ([c8d70c7](https://github.com/unraid/api/commit/c8d70c7e6424df687e73a81483a2049ffca65da1))
|
||||
* **deps:** update dependency graphql to v16.7.1 ([#679](https://github.com/unraid/api/issues/679)) ([84f6e6d](https://github.com/unraid/api/commit/84f6e6dab8fbf4b867b187cfe499c790a84d26b1))
|
||||
* **deps:** update dependency graphql-scalars to v1.22.2 ([#680](https://github.com/unraid/api/issues/680)) ([7d6de18](https://github.com/unraid/api/commit/7d6de1879aa99e33155218aefd35c3db1e8df419))
|
||||
* **deps:** update dependency graphql-ws to v5.14.0 ([#681](https://github.com/unraid/api/issues/681)) ([807ed2b](https://github.com/unraid/api/commit/807ed2b3e611dd8f5ef49eadd1e3e800f8ce372a))
|
||||
* **deps:** update dependency ini to v4.1.1 ([#659](https://github.com/unraid/api/issues/659)) ([feb8613](https://github.com/unraid/api/commit/feb86131c04a0e18ca56466fbfad6da0c06d63d0))
|
||||
* **deps:** update dependency jose to v4.14.4 ([#592](https://github.com/unraid/api/issues/592)) ([ad0cfe3](https://github.com/unraid/api/commit/ad0cfe3330eb0223c9c539c241b50fd5a449f5b5))
|
||||
* **deps:** update dependency launchdarkly-eventsource to v2 ([#692](https://github.com/unraid/api/issues/692)) ([90bcdff](https://github.com/unraid/api/commit/90bcdff1774696351439fdf3e2137f1cc87c614f))
|
||||
* **deps:** update dependency openid-client to v5.4.3 ([#624](https://github.com/unraid/api/issues/624)) ([8fa2f5f](https://github.com/unraid/api/commit/8fa2f5f512acd5484d7f6713258ad7f4955783a7))
|
||||
* **deps:** update dependency semver to v7.5.4 ([#660](https://github.com/unraid/api/issues/660)) ([de68b9a](https://github.com/unraid/api/commit/de68b9ac9d6ac12f2b9489b54110c7579b5f0c6c))
|
||||
* **deps:** update dependency systeminformation to v5.18.14 ([#682](https://github.com/unraid/api/issues/682)) ([e25b90e](https://github.com/unraid/api/commit/e25b90e9944e956435ae5ec5d520cda11d867895))
|
||||
* **deps:** update dependency systeminformation to v5.21.3 ([#721](https://github.com/unraid/api/issues/721)) ([8177919](https://github.com/unraid/api/commit/81779193618c4459674c215bf9f4dfd30784f6a7))
|
||||
* **deps:** update dependency ts-command-line-args to v2.5.1 ([#661](https://github.com/unraid/api/issues/661)) ([bb13c49](https://github.com/unraid/api/commit/bb13c490e1827bd14d5de43fa486a692f78c2da4))
|
||||
* **deps:** update graphql-tools monorepo ([#621](https://github.com/unraid/api/issues/621)) ([231d8e9](https://github.com/unraid/api/commit/231d8e99688c8441c8838e91c35443b9524e500f))
|
||||
* download api logs sizing ([90c253b](https://github.com/unraid/api/commit/90c253b9e81fca1ccb98b8bdba86c41800d15b8d))
|
||||
* dropdown content keyline conditional display ([b1fcaf3](https://github.com/unraid/api/commit/b1fcaf38523d87cc65dcf378c72c89db13436b05))
|
||||
* eslint fixes rd.1 ([aa87993](https://github.com/unraid/api/commit/aa87993fccbaac89eb9d65773f9b3be37e778506))
|
||||
* eslint fixes rd.3 ([40afab9](https://github.com/unraid/api/commit/40afab95d586579669acc6174c06f169b552c79c))
|
||||
* eslint fixes stores ([9ab7824](https://github.com/unraid/api/commit/9ab78246f35a8f9040f5a816f31404fe2eccf1b8))
|
||||
* eslint fixes stores rd.2 ([807e3ad](https://github.com/unraid/api/commit/807e3ad6336218dc79df121d42cc07a43e4d619e))
|
||||
* expired state ([ca45562](https://github.com/unraid/api/commit/ca455629c34ed5ab5e4f66cdb13462f10a0b8cdb))
|
||||
* format time ([5e29475](https://github.com/unraid/api/commit/5e294751cabf72669cb9adca268ee47ced70aa87))
|
||||
* invalid api key error only w/ plg ([21ab3b7](https://github.com/unraid/api/commit/21ab3b7085ee62b5215613d6a291f4d333a88c79))
|
||||
* launchpad width ([9e85d24](https://github.com/unraid/api/commit/9e85d24e66395445e8f79e02d48f0ad96d039016))
|
||||
* loader in modal ([3304292](https://github.com/unraid/api/commit/33042920bab778619ef4f42e3a3516f5f5834cab))
|
||||
* locale data ts ([db73d66](https://github.com/unraid/api/commit/db73d66bcdcd4c3c3e74e71a09fa780096d94f06))
|
||||
* missing translation key ([6da1680](https://github.com/unraid/api/commit/6da16807628fdabf2869ab425ddb7ef3064af73c))
|
||||
* missing upgrade translation for callback ([1430ec0](https://github.com/unraid/api/commit/1430ec0674285ecaab6ea5ad0073e122a8c2107a))
|
||||
* myservers2 var usage for plugin version ([90ecc27](https://github.com/unraid/api/commit/90ecc27eca39639b7e4f3c479fb48ed4d0153162))
|
||||
* nuxt config type ([7457302](https://github.com/unraid/api/commit/74573023dfdf23ee56b94649a5a1e4fc6beb5fde))
|
||||
* **plg:** server-state parse dynamix.cfg ([695809d](https://github.com/unraid/api/commit/695809dd0aec60c56d2b9767c28b2d55f2151856))
|
||||
* prevent api client from starting to early ([76ca88e](https://github.com/unraid/api/commit/76ca88e95ca6f62b4417e5ac03c0b2d10e1690e9))
|
||||
* PRO state remove upgrade btn ([3d812d4](https://github.com/unraid/api/commit/3d812d4747ef4a1bd7b885a8c06520c6d73940b2))
|
||||
* purchase payloads ([7376be4](https://github.com/unraid/api/commit/7376be4301f3a05da59c0479244221bbd0a795b7))
|
||||
* remove login / logout listener ([#728](https://github.com/unraid/api/issues/728)) ([06e959b](https://github.com/unraid/api/commit/06e959b4c6ce2b0d4474ac2e84b4956df6f7c76d))
|
||||
* remove some notices ([#649](https://github.com/unraid/api/issues/649)) ([1dd28d1](https://github.com/unraid/api/commit/1dd28d103e746548e9fd6b7a9b16d22146fd0859))
|
||||
* remove translation test from connect settings ([7b1b255](https://github.com/unraid/api/commit/7b1b25532de53e648dce3cf2518c0ddcf27b3f63))
|
||||
* run pr build on renovate ([9f1f443](https://github.com/unraid/api/commit/9f1f4435d618ccdacff9192f2c3ef516efde8071))
|
||||
* server state buy component ([b926f5e](https://github.com/unraid/api/commit/b926f5e642fbbe177429aa96e030c18d3a417bf4))
|
||||
* sign in / out only allowed with plg installed ([74e7bb2](https://github.com/unraid/api/commit/74e7bb299b0b23b57a935e753c79678cd905fb1c))
|
||||
* sign in post working ([88f1854](https://github.com/unraid/api/commit/88f185416fd76adc7f27d616765bc529191d77b1))
|
||||
* translation key issue ([e8ec081](https://github.com/unraid/api/commit/e8ec081f367f9a45724b1f2b3ed01f67eb516f3d))
|
||||
* translation keys for errors ([033cd7f](https://github.com/unraid/api/commit/033cd7f27c37962d6dc6abc5448dea87943b6bc5))
|
||||
* upc text vertical centering ([d2e68ea](https://github.com/unraid/api/commit/d2e68ea6806ff7ba3d3186502565c682161ad77f))
|
||||
* **upc:** callback modal trial install expiration time ([162928a](https://github.com/unraid/api/commit/162928ab308020a040e8c8214a11ffeec8bb2665))
|
||||
* **upc:** dropdown button title ([5de7ebe](https://github.com/unraid/api/commit/5de7ebed53c96ec8081257abf6d40542d68805cd))
|
||||
* **upc:** open dropdown first ENOKEYFILE page load ([829a82f](https://github.com/unraid/api/commit/829a82f4f39305d1c826e5133138af485c15a9aa))
|
||||
* upgrades ([1a7f7b7](https://github.com/unraid/api/commit/1a7f7b710558be75d90f90c0baf460cddd099ee4))
|
||||
* UptimeExpire ([5f9064d](https://github.com/unraid/api/commit/5f9064dc481ca197e0d059771929cfa64b51dc32))
|
||||
* WanIpCheck web component ([1d0a2d4](https://github.com/unraid/api/commit/1d0a2d44498033f4581d0d630fedf74ca7a69405))
|
||||
* web component modals ([b95ba5b](https://github.com/unraid/api/commit/b95ba5b2fe08b11a6935538dee98c543fac30f85))
|
||||
* web component styles ([30e8812](https://github.com/unraid/api/commit/30e8812837a42da1a2e66444eafb8f293e5be3a4))
|
||||
* web lint ([660f9a8](https://github.com/unraid/api/commit/660f9a87b068e04d0697bdf60b991b794039293f))
|
||||
* **web:** sign out ux hide api error ([70c1a8d](https://github.com/unraid/api/commit/70c1a8db67e1a4870ef092c2ed5bb79ca831504c))
|
||||
|
||||
### [3.1.1](https://github.com/unraid/api/compare/v3.1.0...v3.1.1) (2023-05-03)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* always get unraid version from var ([#638](https://github.com/unraid/api/issues/638)) ([f117331](https://github.com/unraid/api/commit/f1173319747d26d6a0c297e0844f0746b8e8de3c))
|
||||
* app can be linted ([#639](https://github.com/unraid/api/issues/639)) ([c159232](https://github.com/unraid/api/commit/c1592320b623f8e69128c7fcf184dc3ef336de99))
|
||||
* disable dynamic manual port unless USE_SSL = strict ([#636](https://github.com/unraid/api/issues/636)) ([0baf138](https://github.com/unraid/api/commit/0baf1385ebc86f63dd645e4da584bd4c94b92a07))
|
||||
* ensure api key before allowing connection ([#635](https://github.com/unraid/api/issues/635)) ([ffe9d2c](https://github.com/unraid/api/commit/ffe9d2cff65a08e964ca585319333d522a2429bd))
|
||||
|
||||
## [3.1.0](https://github.com/unraid/api/compare/v3.0.1...v3.1.0) (2023-04-27)
|
||||
|
||||
|
||||
|
||||
@@ -1,42 +1,48 @@
|
||||
###########################################################
|
||||
# Development/Build Image
|
||||
###########################################################
|
||||
ARG NODE_IMAGE=node:18
|
||||
FROM $NODE_IMAGE As development
|
||||
FROM node:18.17.1-alpine As development
|
||||
|
||||
# Install build tools
|
||||
RUN apt-get update -y && apt-get install -y \
|
||||
python \
|
||||
# Install build tools and dependencies
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
# Real PS Command (needed for some dependencies)
|
||||
procps \
|
||||
alpine-sdk \
|
||||
python3 \
|
||||
libvirt-dev \
|
||||
jq \
|
||||
zstd
|
||||
|
||||
RUN mkdir /var/log/unraid-api/
|
||||
|
||||
|
||||
ARG NODE_ENV=development
|
||||
ARG NPM_I_CMD=npm i
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Set app env
|
||||
ENV NODE_ENV=$NODE_ENV
|
||||
ENV NODE_ENV=development
|
||||
|
||||
# Setup cache for pkg
|
||||
ENV PKG_CACHE_PATH /app/.pkg-cache
|
||||
RUN mkdir -p ${PKG_CACHE_PATH}
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
COPY tsconfig.json tsup.config.ts ./
|
||||
COPY .npmrc ./
|
||||
COPY .env.production .env.staging ./
|
||||
COPY tsconfig.json tsup.config.ts .eslintrc.cjs .npmrc .env.production .env.staging ./
|
||||
|
||||
# Install deps
|
||||
RUN $NPM_I_CMD
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install pkg
|
||||
RUN npm i -g pkg zx
|
||||
|
||||
# Install deps
|
||||
RUN npm ci
|
||||
|
||||
EXPOSE 4000
|
||||
|
||||
###########################################################
|
||||
# Builder Image
|
||||
###########################################################
|
||||
|
||||
FROM development AS builder
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npm", "run", "build-pkg"]
|
||||
77
api/codegen.yml
Normal file
77
api/codegen.yml
Normal file
@@ -0,0 +1,77 @@
|
||||
overwrite: true
|
||||
emitLegacyCommonJSImports: false
|
||||
verbose: true
|
||||
require:
|
||||
- ts-node/register
|
||||
config:
|
||||
namingConvention:
|
||||
typeNames: './fix-array-type.cjs'
|
||||
enumValues: 'change-case#upperCase'
|
||||
useTypeImports: true
|
||||
scalars:
|
||||
DateTime: string
|
||||
Long: number
|
||||
JSON: "{ [key: string]: any }"
|
||||
URL: URL
|
||||
Port: number
|
||||
UUID: string
|
||||
|
||||
generates:
|
||||
src/graphql/generated/client/:
|
||||
documents: './src/graphql/mothership/*.ts'
|
||||
schema:
|
||||
'${MOTHERSHIP_GRAPHQL_LINK}':
|
||||
headers:
|
||||
origin: 'https://forums.unraid.net'
|
||||
preset: client
|
||||
presetConfig:
|
||||
gqlTagName: graphql
|
||||
config:
|
||||
useTypeImports: true
|
||||
withObjectType: true
|
||||
plugins:
|
||||
- add: { content: '/* eslint-disable */' }
|
||||
|
||||
# Generate Types for the API Server
|
||||
src/graphql/generated/api/types.ts:
|
||||
schema:
|
||||
- './src/graphql/types.ts'
|
||||
- './src/graphql/schema/types/**/*.graphql'
|
||||
plugins:
|
||||
- typescript
|
||||
- typescript-resolvers
|
||||
- add: { content: '/* eslint-disable */' }
|
||||
config:
|
||||
contextType: '@app/graphql/schema/utils#Context'
|
||||
useIndexSignature: true
|
||||
# Generate Operations for any built in API Server Operations (ie report.ts)
|
||||
src/graphql/generated/api/operations.ts:
|
||||
documents: './src/graphql/client/api/*.ts'
|
||||
schema:
|
||||
- './src/graphql/types.ts'
|
||||
- './src/graphql/schema/types/**/*.graphql'
|
||||
preset: import-types
|
||||
presetConfig:
|
||||
typesPath: '@app/graphql/generated/api/types'
|
||||
plugins:
|
||||
- typescript-validation-schema
|
||||
- typescript-operations
|
||||
- typed-document-node
|
||||
- add: { content: '/* eslint-disable */' }
|
||||
config:
|
||||
importFrom: '@app/graphql/generated/api/types'
|
||||
strictScalars: false
|
||||
schema: 'zod'
|
||||
withObjectType: true
|
||||
src/graphql/generated/client/validators.ts:
|
||||
schema:
|
||||
'${MOTHERSHIP_GRAPHQL_LINK}':
|
||||
headers:
|
||||
origin: 'https://forums.unraid.net'
|
||||
plugins:
|
||||
- typescript-validation-schema
|
||||
- add: { content: '/* eslint-disable */'}
|
||||
config:
|
||||
importFrom: '@app/graphql/generated/client/graphql'
|
||||
strictScalars: false
|
||||
schema: 'zod'
|
||||
@@ -1,5 +1,5 @@
|
||||
[api]
|
||||
version="3.0.1+b26ff388"
|
||||
version="3.1.1+8efc0992"
|
||||
[local]
|
||||
[notifier]
|
||||
apikey="unnotify_30994bfaccf839c65bae75f7fa12dd5ee16e69389f754c3b98ed7d5"
|
||||
|
||||
191
api/dev/data/permissions.json
Normal file
191
api/dev/data/permissions.json
Normal file
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"admin": {
|
||||
"extends": "user",
|
||||
"permissions": [
|
||||
{
|
||||
"resource": "apikey",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "array",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "cpu",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "device",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "device/unassigned",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "disk",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "disk/settings",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "display",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "docker/container",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "docker/network",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "info",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "license-key",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "machine-id",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "memory",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "notifications",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "online",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "os",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "parity-history",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "permission",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "servers",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "service",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "service/emhttpd",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "service/unraid-api",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "services",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "share",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "software-versions",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "unraid-version",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "user",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "var",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "vars",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "vm/domain",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "vm/network",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user": {
|
||||
"extends": "guest",
|
||||
"permissions": [
|
||||
{
|
||||
"resource": "apikey",
|
||||
"action": "read:own",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "permission",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"guest": {
|
||||
"permissions": [
|
||||
{
|
||||
"resource": "welcome",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
35
api/dev/dynamix/dynamix.cfg
Normal file
35
api/dev/dynamix/dynamix.cfg
Normal file
@@ -0,0 +1,35 @@
|
||||
[display]
|
||||
date="%c"
|
||||
number=".,"
|
||||
scale="-1"
|
||||
tabs="1"
|
||||
users="Tasks:3"
|
||||
resize="0"
|
||||
wwn="0"
|
||||
total="1"
|
||||
usage="0"
|
||||
banner="image"
|
||||
dashapps="icons"
|
||||
theme="white"
|
||||
text="1"
|
||||
unit="C"
|
||||
warning="70"
|
||||
critical="90"
|
||||
hot="45"
|
||||
max="55"
|
||||
sysinfo="/Tools/SystemProfiler"
|
||||
[notify]
|
||||
entity="1"
|
||||
normal="1"
|
||||
warning="1"
|
||||
alert="1"
|
||||
unraid="1"
|
||||
plugin="1"
|
||||
docker_notify="1"
|
||||
report="1"
|
||||
display="0"
|
||||
date="d-m-Y"
|
||||
time="H:i"
|
||||
position="top-right"
|
||||
path="/app/dev/notifications"
|
||||
system="*/1 * * * *"
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683699325
|
||||
event=Appdata Backup
|
||||
subject=Warning
|
||||
description=Please check the backup log tab!
|
||||
importance=warning
|
||||
message=Container did not started! - Code: Server error
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683223240
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=dynamix.unraid.net.staging.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683568807
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=community.applications.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683655211
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=parity.check.tuning.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683741604
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=appdata.backup.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - AirConnect [3d53..ad24]
|
||||
subject=Notice [UNRAID] - Version update 3d53..ad24
|
||||
description=A new version of AirConnect is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - AirConnect [91bd..76e7]
|
||||
subject=Notice [UNRAID] - Version update 91bd..76e7
|
||||
description=A new version of AirConnect is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683346254
|
||||
event=Docker - AirConnect [ca7f..6b17]
|
||||
subject=Notice [UNRAID] - Version update ca7f..6b17
|
||||
description=A new version of AirConnect is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683432654
|
||||
event=Docker - PhotoPrism [295d..2ed1]
|
||||
subject=Notice [UNRAID] - Version update 295d..2ed1
|
||||
description=A new version of PhotoPrism is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - PhotoPrism [906c..d43c]
|
||||
subject=Notice [UNRAID] - Version update 906c..d43c
|
||||
description=A new version of PhotoPrism is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683346254
|
||||
event=Docker - binhex-prowlarr [1126..5559]
|
||||
subject=Notice [UNRAID] - Version update 1126..5559
|
||||
description=A new version of binhex-prowlarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683778254
|
||||
event=Docker - caddy-custom [024e..04d1]
|
||||
subject=Notice [UNRAID] - Version update 024e..04d1
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - caddy-custom [18da..c9bd]
|
||||
subject=Notice [UNRAID] - Version update 18da..c9bd
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683864655
|
||||
event=Docker - caddy-custom [3005..022f]
|
||||
subject=Notice [UNRAID] - Version update 3005..022f
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683259850
|
||||
event=Docker - caddy-custom [7c36..343c]
|
||||
subject=Notice [UNRAID] - Version update 7c36..343c
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - caddy-custom [7f52..acca]
|
||||
subject=Notice [UNRAID] - Version update 7f52..acca
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684123859
|
||||
event=Docker - caddy-custom [9f05..b531]
|
||||
subject=Notice [UNRAID] - Version update 9f05..b531
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - caddy-custom [cf91..b716]
|
||||
subject=Notice [UNRAID] - Version update cf91..b716
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - caddy-custom [d851..8877]
|
||||
subject=Notice [UNRAID] - Version update d851..8877
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683432654
|
||||
event=Docker - caddy-custom [dfd0..0e5d]
|
||||
subject=Notice [UNRAID] - Version update dfd0..0e5d
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683346254
|
||||
event=Docker - caddy-custom [e6c6..fbb4]
|
||||
subject=Notice [UNRAID] - Version update e6c6..fbb4
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - caddy-custom [fcc0..f692]
|
||||
subject=Notice [UNRAID] - Version update fcc0..f692
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683864655
|
||||
event=Docker - filestash [6b94..7dd4]
|
||||
subject=Notice [UNRAID] - Version update 6b94..7dd4
|
||||
description=A new version of filestash is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - jellyfin [2902..af01]
|
||||
subject=Notice [UNRAID] - Version update 2902..af01
|
||||
description=A new version of jellyfin is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - mariadb [45af..47d4]
|
||||
subject=Notice [UNRAID] - Version update 45af..47d4
|
||||
description=A new version of mariadb is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - mariadb [e036..3e8e]
|
||||
subject=Notice [UNRAID] - Version update e036..3e8e
|
||||
description=A new version of mariadb is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - plex [7bfa..19fb]
|
||||
subject=Notice [UNRAID] - Version update 7bfa..19fb
|
||||
description=A new version of plex is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - qbittorrent [43b9..9adc]
|
||||
subject=Notice [UNRAID] - Version update 43b9..9adc
|
||||
description=A new version of qbittorrent is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - radarr-4k [62ca..1a81]
|
||||
subject=Notice [UNRAID] - Version update 62ca..1a81
|
||||
description=A new version of radarr-4k is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - radarr [62ca..1a81]
|
||||
subject=Notice [UNRAID] - Version update 62ca..1a81
|
||||
description=A new version of radarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - rtorrent-rutorrent [a16c..af8b]
|
||||
subject=Notice [UNRAID] - Version update a16c..af8b
|
||||
description=A new version of rtorrent-rutorrent is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - rtorrent-rutorrent [b722..38c5]
|
||||
subject=Notice [UNRAID] - Version update b722..38c5
|
||||
description=A new version of rtorrent-rutorrent is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683432654
|
||||
event=Docker - sonarr [12c7..6b53]
|
||||
subject=Notice [UNRAID] - Version update 12c7..6b53
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684123859
|
||||
event=Docker - sonarr [12c9..01df]
|
||||
subject=Notice [UNRAID] - Version update 12c9..01df
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - sonarr [27f9..c81b]
|
||||
subject=Notice [UNRAID] - Version update 27f9..c81b
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - sonarr [354f..3ed7]
|
||||
subject=Notice [UNRAID] - Version update 354f..3ed7
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683864655
|
||||
event=Docker - sonarr [6145..3ba7]
|
||||
subject=Notice [UNRAID] - Version update 6145..3ba7
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - sonarr [b2f0..9f04]
|
||||
subject=Notice [UNRAID] - Version update b2f0..9f04
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - sonarr [bcfd..b7bd]
|
||||
subject=Notice [UNRAID] - Version update bcfd..b7bd
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - sonarr [c04c..6b30]
|
||||
subject=Notice [UNRAID] - Version update c04c..6b30
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - synclounge [38f9..8503]
|
||||
subject=Notice [UNRAID] - Version update 38f9..8503
|
||||
description=A new version of synclounge is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212331
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Array operation will not be restarted
|
||||
description=Unclean shutdown detected
|
||||
importance=alert
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212357
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Automatic unRaid Parity-Check will be started
|
||||
description=Unclean shutdown detected
|
||||
importance=warning
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212414
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (0.0% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212430
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=No array operation in progress (0.0% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683696603
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (0.0% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683699512
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Backup running
|
||||
description=No description
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683699523
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (2.7% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683700590
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Backup no longer running
|
||||
description=No description
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683700596
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (2.7% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683730812
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (32.6% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683783001
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (32.6% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683817213
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (59.2% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683869402
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (59.2% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683903615
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (88.1% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683955802
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (88.1% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691803
|
||||
event=Plugin - appdata.backup [2023.05.09]
|
||||
subject=Notice [UNRAID] - Version update 2023.05.09
|
||||
description=A new version of appdata.backup is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519002
|
||||
event=Plugin - community.applications [2023.05.07a]
|
||||
subject=Notice [UNRAID] - Version update 2023.05.07a
|
||||
description=A new version of community.applications is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519003
|
||||
event=Plugin - parity.check.tuning [2023.05.07]
|
||||
subject=Notice [UNRAID] - Version update 2023.05.07
|
||||
description=A new version of parity.check.tuning is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683325569
|
||||
event=Remote Access Started
|
||||
subject=Unraid API
|
||||
description=Remote access has been started
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683325597
|
||||
event=Remote Access Started
|
||||
subject=Unraid API
|
||||
description=Remote access has been started
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683383543
|
||||
event=Remote Access Started
|
||||
subject=Unraid API
|
||||
description=Remote access has been started
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683397158
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683422667
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683820748
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683986670
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684161220
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683971161
|
||||
event=Unraid Parity check
|
||||
subject=Notice [UNRAID] - Parity check finished (0 errors)
|
||||
description=Canceled
|
||||
importance=warning
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683570896
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Power failure on UPS Unraid. Running on batteries.
|
||||
importance=alert
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683570945
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683570980
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571299
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571468
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571535
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571565
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683260401
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 32 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 31 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 31 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 22 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 31 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 41 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683346801
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 26 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 29 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 31 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 31 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 22 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 31 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 33 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 39 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (2 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683433201
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 26 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 29 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 32 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 32 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 23 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 31 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 32 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 39 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (3 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683519601
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 27 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 30 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 32 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 32 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 33 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 39 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (4 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683606001
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 27 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 30 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 34 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 32 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 41 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (5 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683692401
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 35 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 25 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (6 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683778802
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Wed 10 May 2023 11:00:07 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683865201
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 27 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 30 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 32 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 32 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 33 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 11 May 2023 11:00:07 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683951601
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 25 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Fri 12 May 2023 11:00:08 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1684038001
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 25 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 35 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 41 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 45 C [OK]<br><br>Parity is valid<br>Last checked on Sat 13 May 2023 05:45:11 AM EDT (yesterday), finding 0 errors.<br>Duration: 4 hours, 15 minutes, 4 seconds. Average speed: 1.2 GB/s
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user