diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 5dd976a08..71925b0d1 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1a70ce5f4..98ecfb6d7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,14 +43,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install OS dependencies run: sudo apt-get install -y python3-dev libasound2-dev # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -61,7 +61,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -75,4 +75,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index cb298866c..78b74ca12 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -19,43 +19,32 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 - - - name: Check Dockerfile exists - id: dockerfile - uses: andstor/file-existence-action@v2 - with: - files: "Dockerfile" + uses: actions/checkout@v4 - name: Set up QEMU - if: steps.Dockerfile.outputs.files_exists == 'true' id: qemu - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: image: tonistiigi/binfmt:latest platforms: arm - name: Set up Docker Buildx - if: steps.Dockerfile.outputs.files_exists == 'true' - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta - if: steps.Dockerfile.outputs.files_exists == 'true' id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: theyosh/terrariumpi - name: Login to DockerHub - if: steps.Dockerfile.outputs.files_exists == 'true' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - if: steps.Dockerfile.outputs.files_exists == 'true' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: true diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 8f8a61825..1bfc827c7 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -24,7 +24,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # for posts's lastmod diff --git a/.github/workflows/svelte-gui.yml b/.github/workflows/svelte-gui.yml index 17909f9d6..4ef82b74f 100644 --- a/.github/workflows/svelte-gui.yml +++ b/.github/workflows/svelte-gui.yml @@ -25,12 +25,12 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Use Node.js LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: registry-url: https://registry.npmjs.org/ node-version: lts/* diff --git a/docs/_config.yml b/docs/_config.yml index 23f5e2a67..d366748b8 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -87,7 +87,7 @@ avatar: /assets/img/profile_image.jpg toc: true comments: - active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable + active: giscus # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable # The active options are as follows: disqus: shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname @@ -97,14 +97,14 @@ comments: issue_term: # < url | pathname | title | ...> # Giscus options › https://giscus.app giscus: - repo: # / - repo_id: - category: - category_id: - mapping: # optional, default to 'pathname' + repo: theyosh/TerrariumPI # / + repo_id: MDEwOlJlcG9zaXRvcnk0OTY3MjQ1Mg== + category: Comments + category_id: DIC_kwDOAvXxBM4Ccopg + mapping: pathname # optional, default to 'pathname' input_position: # optional, default to 'bottom' lang: # optional, default to the value of `site.lang` - reactions_enabled: # optional, default to the value of `1` + reactions_enabled: 1 # optional, default to the value of `1` # Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets assets: diff --git a/docs/_hardware/hls-live_webcam.md b/docs/_hardware/hls-live_webcam.md index 6e8a7c28e..e5c33945f 100644 --- a/docs/_hardware/hls-live_webcam.md +++ b/docs/_hardware/hls-live_webcam.md @@ -1,7 +1,7 @@ --- title: Live HLS Stream categories: [Hardware, Webcam] -tags: [webcam, live, remote, streaming] +tags: [webcam, live, streaming] image: path: /assets/img/HLS_Livestream.webp diff --git a/docs/_hardware/remote_button.md b/docs/_hardware/remote_button.md index 2f27122d7..cb6a8200a 100644 --- a/docs/_hardware/remote_button.md +++ b/docs/_hardware/remote_button.md @@ -1,7 +1,7 @@ --- title: Remote Button categories: [Hardware, Button] -tags: [button, remote, json, temperature, humidity,fertility,ph,uva,moisture,uvb,altitude,co2,distance,uvi,pressure,light] +tags: [button, remote] image: path: /assets/img/remote_sensor.webp diff --git a/docs/_posts/2018-11-28-pascal-hideout.md b/docs/_posts/2018-11-28-pascal-hideout.md new file mode 100644 index 000000000..1ffb8082a --- /dev/null +++ b/docs/_posts/2018-11-28-pascal-hideout.md @@ -0,0 +1,13 @@ +--- +title: TerrariumPI on Pascal's Hideout +date: 2018-11-28 12:00:00 +0100 +categories: [Website, News] +tags: [publication] + +image: + path: /assets/img/publications/TerrariumPI_on_Pascals_Hideout.webp + src: /assets/img/publications/TerrariumPI_on_Pascals_Hideout.webp + alt: TerrariumPI on Pascal's Hideout +--- +Website: [Pascal's Hideout](https://pascal.kolyn.nl/raspberry-pi/)\ +Publication date: 28 november 2018 diff --git a/docs/assets/img/publications/TerrariumPI_on_Pascals_Hideout.webp b/docs/assets/img/publications/TerrariumPI_on_Pascals_Hideout.webp new file mode 100644 index 000000000..c2b6f8d67 Binary files /dev/null and b/docs/assets/img/publications/TerrariumPI_on_Pascals_Hideout.webp differ diff --git a/gui/App.svelte b/gui/App.svelte index 4dc29bdd3..aba1458aa 100644 --- a/gui/App.svelte +++ b/gui/App.svelte @@ -40,7 +40,7 @@ DropdownButton, DropdownMenu, DropdownDivider, - } from 'svelte-adminlte'; + } from '@keenmate/svelte-adminlte'; import RoutePages, { onRouteLoaded, Pages, PageUrls } from './pages'; import { listenPageTitleChanged, customPageTitleUsed } from './stores/page-title'; @@ -543,7 +543,7 @@