Compare commits

...

491 Commits

Author SHA1 Message Date
Maxi Quoß 43ebe5f86c fix: ignore static file error 404 on build 2025-09-15 22:52:45 +02:00
Maxi Quoß 5e4664356d fix: icon sometimes gets removed 2025-09-15 22:49:22 +02:00
Maxi Quoß ef75531a6f fix: generate manifest in go backend 2025-09-15 22:45:33 +02:00
Maxi Quoß bd6038720b fix: generate manifest in go backend 2025-09-15 22:21:00 +02:00
Maxi Quoß 41cc546b81 update deps 2025-09-15 21:35:47 +02:00
Maxi Quoß 25a67af29d spelling 2025-09-15 21:32:57 +02:00
Maxi Quoß 3f3ef10fbc feat: custom manifest data from backend, close #1351 2025-09-15 21:31:58 +02:00
Maxi Quoß f9f73da80a fix: pwa website rotation #1350 2025-09-15 20:23:11 +02:00
dependabot[bot] 00d1659474 npm-dep: bump @sveltejs/kit from 2.38.1 to 2.39.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.38.1 to 2.39.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.39.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.39.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 10:00:48 +00:00
dependabot[bot] 36abd34f07 npm-dep: bump @inlang/paraglide-js from 2.3.0 to 2.3.2 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.3.0 to 2.3.2.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 09:59:29 +00:00
dependabot[bot] ba997ba94f npm-dep: bump daisyui from 5.1.10 to 5.1.12 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.1.10 to 5.1.12.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.12/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 09:57:37 +00:00
Maxi Quoß 56b25b708e fix: gopher on welcome page for sub paths 2025-09-12 11:51:25 +02:00
Maxi Quoß 8297498902 add nginx example for sub path 2025-09-12 11:50:59 +02:00
dependabot[bot] 8e63cbe42d npm-dep: bump svelte from 5.38.8 to 5.38.10 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.38.8 to 5.38.10.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.10/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-12 09:09:02 +00:00
dependabot[bot] b0c6696c97 npm-dep: bump eslint-plugin-svelte from 3.12.2 to 3.12.3 in /frontend
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte/tree/HEAD/packages/eslint-plugin-svelte) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/packages/eslint-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/commits/eslint-plugin-svelte@3.12.3/packages/eslint-plugin-svelte)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-version: 3.12.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 09:08:04 +00:00
dependabot[bot] 010e306b07 npm-dep: bump daisyui from 5.1.9 to 5.1.10 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.1.9 to 5.1.10.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.10/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 09:07:54 +00:00
dependabot[bot] 5b755990fa npm-dep: bump @sveltejs/kit from 2.37.1 to 2.38.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.37.1 to 2.38.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.38.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.38.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 09:07:42 +00:00
dependabot[bot] b4c30a4eaa npm-dep: bump @inlang/paraglide-js from 2.2.0 to 2.3.0 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.2.0 to 2.3.0.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 09:07:25 +00:00
dependabot[bot] a6d582bc53 npm-dep: bump globals from 16.3.0 to 16.4.0 in /frontend
Bumps [globals](https://github.com/sindresorhus/globals) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.3.0...v16.4.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 16.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 09:07:46 +00:00
dependabot[bot] 24ceac63e1 npm-dep: bump svelte from 5.38.7 to 5.38.8 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.38.7 to 5.38.8.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.8/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 09:07:24 +00:00
dependabot[bot] 05c2765a3c npm-dep: bump daisyui from 5.1.8 to 5.1.9 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.1.8 to 5.1.9.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.9/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 09:09:57 +00:00
dependabot[bot] 6ce67831f9 npm-dep: bump typescript-eslint from 8.42.0 to 8.43.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.43.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.43.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 09:09:37 +00:00
dependabot[bot] 97774b8e70 npm-dep: bump vite from 6.3.5 to 6.3.6 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.5 to 6.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:19:41 +00:00
dependabot[bot] a103c62a72 npm-dep: bump eslint from 9.34.0 to 9.35.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.34.0 to 9.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:19:15 +00:00
dependabot[bot] 5bc4f94f3d npm-dep: bump eslint-plugin-svelte from 3.12.1 to 3.12.2 in /frontend
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) from 3.12.1 to 3.12.2.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/compare/eslint-plugin-svelte@3.12.1...eslint-plugin-svelte@3.12.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-version: 3.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:15:32 +00:00
dependabot[bot] 0724942481 npm-dep: bump @eslint/js from 9.34.0 to 9.35.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.34.0 to 9.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.35.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:14:44 +00:00
dependabot[bot] b66bb2b1ea npm-dep: bump daisyui from 5.1.7 to 5.1.8 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.1.7 to 5.1.8.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.8/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:13:03 +00:00
dependabot[bot] 57e0285761 go-dep: bump golang.org/x/sys from 0.35.0 to 0.36.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/sys/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:12:33 +00:00
dependabot[bot] a10a5bf575 npm-dep: bump @sveltejs/kit from 2.37.0 to 2.37.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.37.0 to 2.37.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.37.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.37.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:12:04 +00:00
dependabot[bot] 4a874f01d9 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.29.3 to 0.30.0.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.29.3...v0.30.0)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 09:11:46 +00:00
dependabot[bot] dd8df050e3 npm-dep: bump svelte from 5.38.6 to 5.38.7 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.38.6 to 5.38.7.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.7/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 09:08:44 +00:00
dependabot[bot] da91bd3e53 npm-dep: bump daisyui from 5.1.6 to 5.1.7 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.1.6 to 5.1.7.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.7/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 09:06:56 +00:00
dependabot[bot] bf621749cf gh-action: bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 09:06:37 +00:00
Maxi Quoß 3ecec817b5 gh-action: fix goreleaser dirty state 2025-09-05 03:15:49 +02:00
Maxi Quoß 2729424b01 gh-action: fix goreleaser args 2025-09-05 03:10:04 +02:00
Maxi Quoß 03b3e67aa4 gh-action: use more caching 2025-09-05 03:06:59 +02:00
Maxi Quoß 2657a3b119 go-dep: use go 1.24.1 2025-09-04 23:36:33 +02:00
Maxi Quoß 81e9319873 gh-action: setup pnpm via action 2025-09-04 23:28:46 +02:00
Maxi Quoß b35544a455 gh-action: update setup-node and use cache pnpm 2025-09-04 23:21:50 +02:00
Maxi Quoß 7c640ac32e feat: support for sub path hosting 2025-09-04 23:12:50 +02:00
Maxi Quoß 75969b037e fix: improve device group logic
fix: timeout not updating
feat: use resolve() for internal paths
2025-09-04 20:36:05 +02:00
dependabot[bot] b1a4a6ce14 npm-dep: bump eslint-plugin-svelte from 3.11.0 to 3.12.1 in /frontend
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) from 3.11.0 to 3.12.1.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/compare/eslint-plugin-svelte@3.11.0...eslint-plugin-svelte@3.12.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-version: 3.12.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 12:51:19 +00:00
dependabot[bot] 24ccf1f277 gh-action: bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 10:28:10 +00:00
dependabot[bot] 7910f10005 npm-dep: bump daisyui from 5.1.3 to 5.1.6 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.1.3 to 5.1.6.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.6/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 23:56:09 +00:00
dependabot[bot] 6094ba2e6d npm-dep: bump typescript-eslint from 8.41.0 to 8.42.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.42.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.42.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 23:55:54 +00:00
dependabot[bot] bf5861561c npm-dep: bump daisyui from 5.0.54 to 5.1.3 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.54 to 5.1.3.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.1.3/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.1.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 08:05:04 +00:00
dependabot[bot] c77e76b502 npm-dep: bump cron-parser from 5.3.0 to 5.3.1 in /frontend
Bumps [cron-parser](https://github.com/harrisiirak/cron-parser) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/harrisiirak/cron-parser/releases)
- [Commits](https://github.com/harrisiirak/cron-parser/compare/v5.3.0...v5.3.1)

---
updated-dependencies:
- dependency-name: cron-parser
  dependency-version: 5.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 17:48:11 +00:00
Roshan Studley 6ce669d643 Update README.md (#1337) 2025-09-01 11:34:17 +02:00
Maxi Quoß ab5fa0e961 feat: add hindi language (hi-IN) 2025-08-31 10:36:55 +02:00
Maxi Quoß 9ad53148b4 update deps 2025-08-31 10:06:38 +02:00
Maxi Quoß f6a208f4d6 feat: use new svelte 5 syntax 2025-08-31 10:05:25 +02:00
dependabot[bot] 2d1c64c9b4 npm-dep: bump @sveltejs/kit from 2.36.3 to 2.37.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.36.3 to 2.37.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.37.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.37.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 09:07:22 +00:00
dependabot[bot] 05a6a544f0 npm-dep: bump daisyui from 5.0.51 to 5.0.54 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.51 to 5.0.54.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.54/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.54
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 10:55:47 +00:00
dependabot[bot] 10469c8f10 npm-dep: bump svelte from 5.38.3 to 5.38.6 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.38.3 to 5.38.6.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.6/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 10:37:24 +00:00
dependabot[bot] b5ecd4be83 npm-dep: bump typescript-eslint from 8.40.0 to 8.41.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.40.0 to 8.41.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.41.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.41.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 17:04:49 +00:00
dependabot[bot] 7d5fa685e5 npm-dep: bump @sveltejs/kit from 2.36.2 to 2.36.3 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.36.2 to 2.36.3.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.36.3/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.36.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 17:03:18 +00:00
dependabot[bot] 6eadc5b48e npm-dep: bump daisyui from 5.0.50 to 5.0.51 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.50 to 5.0.51.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.51/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.51
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 01:25:13 +00:00
Maxi Quoß 7ab8170f8c remove log 2025-08-26 16:56:11 +02:00
Maxi Quoß 0fcd04884f fix: device cards not updating 2025-08-26 16:55:09 +02:00
Maxi Quoß c9e924813d add vi-VN 2025-08-26 10:30:46 +02:00
Huynh Khac Thao 954c9648e7 feat: Add i18n vi-VN (#1324)
* Create vi.json

* Rename vi.json to vi-VN.json

* Update settings.json for vi-VN

* Update locale.ts for vi-VN

* Update +page.svelte for vi-VN
2025-08-26 10:28:07 +02:00
Maxi Quoß 8afe2f1449 fix: change device.link to string 2025-08-26 10:24:42 +02:00
Maxi Quoß 2aef9806ec fix: search not working, close #1325 2025-08-26 10:22:19 +02:00
dependabot[bot] d028e2d6b1 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.29.2 to 0.29.3.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.29.2...v0.29.3)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.29.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 16:38:30 +00:00
Maxi Quoß bb8a854761 npm-dep: update 2025-08-24 22:36:21 +02:00
Georgi Ivanov 7ef8ba64b7 feat: Add Bulgarian language (#1319)
* Add Bulgarian language

* changed a terminology word and fixed a typo

* add to readme

---------

Co-authored-by: Maxi Quoß <maxi@quoss.org>
2025-08-22 09:35:25 +02:00
dependabot[bot] 9205590555 npm-dep: bump @sveltejs/kit from 2.34.0 to 2.36.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.34.0 to 2.36.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.36.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.36.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 09:26:23 +00:00
Maxi Quoß 8b8cc96412 update deps 2025-08-20 00:19:25 +02:00
Maxi Quoß e8c900528e add note 2025-08-20 00:17:47 +02:00
Dmitro 37b219bd90 feat: Add i18n Ukrainian (#1307)
* add lang

* Update uk-UA.json

* fix: locale uk-UA

* add uk-UA to readme

---------

Co-authored-by: Maxi Quoß <maxi@quoss.org>
2025-08-19 23:49:12 +02:00
dependabot[bot] 313a2dff41 npm-dep: bump svelte from 5.38.1 to 5.38.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.38.1 to 5.38.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 19:24:27 +00:00
dependabot[bot] 83fb7d398b npm-dep: bump typescript-eslint from 8.39.1 to 8.40.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.39.1 to 8.40.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.40.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.40.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 19:22:45 +00:00
dependabot[bot] 6d39733a90 npm-dep: bump @sveltejs/kit from 2.31.1 to 2.33.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.31.1 to 2.33.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.33.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.33.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 16:23:37 +00:00
dependabot[bot] 0c5d14d608 npm-dep: bump @sveltejs/kit from 2.30.1 to 2.31.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.30.1 to 2.31.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.31.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.31.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 14:12:22 +00:00
dependabot[bot] b4f33ea8d3 npm-dep: bump @sveltejs/kit from 2.29.1 to 2.30.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.29.1 to 2.30.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.30.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.30.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 10:02:59 +00:00
dependabot[bot] ac1dbb6d41 npm-dep: bump @tailwindcss/postcss from 4.1.11 to 4.1.12 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.11 to 4.1.12.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.12/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 10:01:55 +00:00
dependabot[bot] e47102311b npm-dep: bump tailwindcss from 4.1.11 to 4.1.12 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.11 to 4.1.12.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.12/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 09:58:15 +00:00
dependabot[bot] 97b1447681 npm-dep: bump @sveltejs/kit from 2.28.0 to 2.29.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.28.0 to 2.29.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.29.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.29.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 09:20:19 +00:00
dependabot[bot] 0ea7815ae3 npm-dep: bump svelte from 5.38.0 to 5.38.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.38.0 to 5.38.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 19:27:58 +00:00
dependabot[bot] a5bddd1f25 npm-dep: bump typescript-eslint from 8.39.0 to 8.39.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.39.0 to 8.39.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.39.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.39.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 19:26:27 +00:00
dependabot[bot] 28561b6181 npm-dep: bump @sveltejs/kit from 2.27.3 to 2.28.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.27.3 to 2.28.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.28.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.28.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 15:58:55 +00:00
dependabot[bot] 6628048bd8 gh-action: bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 15:55:44 +00:00
dependabot[bot] 9bd073c4d3 npm-dep: bump @eslint/js from 9.32.0 to 9.33.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.32.0 to 9.33.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.33.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.33.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 14:49:07 +00:00
dependabot[bot] cb6e7d3a71 npm-dep: bump @eslint/compat from 1.3.1 to 1.3.2 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite/tree/HEAD/packages/compat) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/compat/CHANGELOG.md)
- [Commits](https://github.com/eslint/rewrite/commits/compat-v1.3.2/packages/compat)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-version: 1.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 14:46:13 +00:00
dependabot[bot] 44040192d7 npm-dep: bump @sveltejs/adapter-static from 3.0.8 to 3.0.9 in /frontend
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/adapter-static@3.0.9/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-version: 3.0.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 14:44:01 +00:00
dependabot[bot] 570d35dc51 npm-dep: bump eslint from 9.32.0 to 9.33.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.32.0 to 9.33.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.32.0...v9.33.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.33.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 14:42:23 +00:00
dependabot[bot] 9e387b9eed go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.29.1 to 0.29.2.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.29.1...v0.29.2)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.29.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 13:42:43 +00:00
dependabot[bot] c3299bad6a npm-dep: bump @sveltejs/kit from 2.27.1 to 2.27.3 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.27.1 to 2.27.3.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.27.3/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.27.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-08 09:51:54 +00:00
dependabot[bot] f5af123672 go-dep: bump golang.org/x/sys from 0.34.0 to 0.35.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/sys/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-08 09:43:55 +00:00
dependabot[bot] 14ccf206b6 npm-dep: bump svelte from 5.37.3 to 5.38.0 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.37.3 to 5.38.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.38.0/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-07 09:12:59 +00:00
dependabot[bot] aa1e8a0bce npm-dep: bump @sveltejs/kit from 2.27.0 to 2.27.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.27.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.27.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 09:22:57 +00:00
dependabot[bot] 0a48aaae1e npm-dep: bump typescript-eslint from 8.38.0 to 8.39.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.39.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 16:19:55 +00:00
Maxi Quoß f8a26547bc feat: add auto binary update 2025-08-04 02:52:06 +02:00
Maxi Quoß 16b78768f5 update deps 2025-08-04 02:51:52 +02:00
dependabot[bot] e8c5ec057d npm-dep: bump @sveltejs/kit from 2.26.1 to 2.27.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.26.1 to 2.27.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.27.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-01 09:50:27 +00:00
dependabot[bot] 41c2b0cb3a npm-dep: bump svelte from 5.36.14 to 5.37.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.36.14 to 5.37.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.37.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.37.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:17:08 +00:00
dependabot[bot] 69943aff79 npm-dep: bump daisyui from 5.0.46 to 5.0.50 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.46 to 5.0.50.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.50/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.50
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:14:56 +00:00
dependabot[bot] c117737a1b npm-dep: bump @sveltejs/kit from 2.26.0 to 2.26.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.26.0 to 2.26.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.26.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.26.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:12:34 +00:00
dependabot[bot] 786071e13d npm-dep: bump @eslint/js from 9.31.0 to 9.32.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.31.0 to 9.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.32.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:10:17 +00:00
dependabot[bot] 12fb0db615 npm-dep: bump eslint from 9.31.0 to 9.32.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.31.0 to 9.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.31.0...v9.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 09:09:59 +00:00
dependabot[bot] 7804a98b72 npm-dep: bump @sveltejs/kit from 2.25.2 to 2.26.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.25.2 to 2.26.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.26.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 09:11:02 +00:00
dependabot[bot] 695bd3646d npm-dep: bump @sveltejs/kit from 2.25.1 to 2.25.2 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.25.1 to 2.25.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.25.2/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.25.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-24 09:38:26 +00:00
dependabot[bot] be5ba1fc9e npm-dep: bump pocketbase from 0.26.1 to 0.26.2 in /frontend
Bumps [pocketbase](https://github.com/pocketbase/js-sdk) from 0.26.1 to 0.26.2.
- [Release notes](https://github.com/pocketbase/js-sdk/releases)
- [Changelog](https://github.com/pocketbase/js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/js-sdk/compare/v0.26.1...v0.26.2)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-version: 0.26.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-24 09:36:54 +00:00
dependabot[bot] 46f98a9e42 npm-dep: bump svelte from 5.36.13 to 5.36.14 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.36.13 to 5.36.14.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.36.14/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.36.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-24 09:35:25 +00:00
dependabot[bot] d86a5bb613 npm-dep: bump svelte from 5.36.5 to 5.36.13 in /frontend
---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.36.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 10:47:49 +00:00
dependabot[bot] 403ad7d578 npm-dep: bump typescript-eslint from 8.37.0 to 8.38.0 in /frontend
---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 10:46:44 +00:00
dependabot[bot] 58f61b26df npm-dep: bump @sveltejs/kit from 2.25.0 to 2.25.1 in /frontend
---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.25.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 10:46:31 +00:00
dependabot[bot] 19c6a4fa74 npm-dep: bump eslint-config-prettier from 10.1.5 to 10.1.8 in /frontend
---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 10:41:16 +00:00
dependabot[bot] c22097cf28 go-dep: bump github.com/pocketbase/pocketbase in /backend
---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 10:05:23 +00:00
dependabot[bot] 0b789d6eef npm-dep: bump svelte-check from 4.2.2 to 4.3.0 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.2.2...svelte-check-4.3.0)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-version: 4.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 09:59:43 +00:00
dependabot[bot] 2eae96182e npm-dep: bump svelte from 5.36.2 to 5.36.5 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.36.2 to 5.36.5.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.36.5/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.36.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 09:55:35 +00:00
dependabot[bot] 6d0e245a1b npm-dep: bump eslint-plugin-svelte from 3.10.1 to 3.11.0 in /frontend
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) from 3.10.1 to 3.11.0.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/compare/eslint-plugin-svelte@3.10.1...eslint-plugin-svelte@3.11.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-version: 3.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 09:54:44 +00:00
dependabot[bot] a4c918bddb npm-dep: bump @sveltejs/kit from 2.24.0 to 2.25.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.25.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 09:54:16 +00:00
dependabot[bot] 5509f570fd npm-dep: bump @sveltejs/kit from 2.22.5 to 2.24.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.22.5 to 2.24.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.24.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.24.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 09:17:45 +00:00
dependabot[bot] fab4d0e873 npm-dep: bump svelte from 5.35.6 to 5.36.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.35.6 to 5.36.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.36.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.36.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 09:16:32 +00:00
KJPark23 a4dd97adc2 Update README.md (#1263) 2025-07-15 21:20:37 +02:00
dependabot[bot] 7a15fa2086 npm-dep: bump typescript-eslint from 8.36.0 to 8.37.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.36.0 to 8.37.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.37.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.37.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-15 10:03:57 +00:00
Maxi Quoß c2a83ecdbb update deps 2025-07-14 17:09:39 +02:00
KJPark23 f93c580bf7 feat: New language Norwegian Bokmål (#1256)
* New language Norwegian Bokmål

* clean up pr

---------

Co-authored-by: Maxi Quoß <maxi@quoss.org>
2025-07-14 17:03:48 +02:00
dependabot[bot] 01fc1f9917 npm-dep: bump @sveltejs/vite-plugin-svelte in /frontend
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/@sveltejs/vite-plugin-svelte@5.1.1/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@5.1.1/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-version: 5.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 11:31:33 +00:00
dependabot[bot] ef37414873 npm-dep: bump @eslint/js from 9.30.1 to 9.31.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.30.1 to 9.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.31.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.31.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 11:29:58 +00:00
dependabot[bot] 0c21b9bbcc npm-dep: bump @sveltejs/kit from 2.22.4 to 2.22.5 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.22.4 to 2.22.5.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.22.5/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.22.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 10:52:17 +00:00
dependabot[bot] 88daf4c4d9 npm-dep: bump eslint from 9.30.1 to 9.31.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.30.1 to 9.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.30.1...v9.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.31.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 10:44:03 +00:00
dependabot[bot] e52c2d3bf9 npm-dep: bump svelte from 5.35.5 to 5.35.6 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.35.5 to 5.35.6.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.35.6/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.35.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 09:20:37 +00:00
dependabot[bot] 4ebbbd3c4e go-dep: bump golang.org/x/sys from 0.33.0 to 0.34.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/sys/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 09:52:56 +00:00
dependabot[bot] 241e617b1a npm-dep: bump svelte from 5.35.4 to 5.35.5 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.35.4 to 5.35.5.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.35.5/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.35.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 09:30:30 +00:00
dependabot[bot] 917e61a48e npm-dep: bump @sveltejs/kit from 2.22.2 to 2.22.4 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.22.2 to 2.22.4.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.22.4/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.22.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 09:28:55 +00:00
dependabot[bot] 301c3dce63 npm-dep: bump prettier-plugin-tailwindcss in /frontend
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.13 to 0.6.14.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.13...v0.6.14)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.6.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 09:28:42 +00:00
Maxi Quoß 8a4969f2e1 fix: center custom website title 2025-07-08 22:22:36 +02:00
dependabot[bot] fc94d0b209 npm-dep: bump svelte from 5.35.2 to 5.35.4 in /frontend
---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.35.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 09:16:40 +00:00
dependabot[bot] 31d43bcb1f npm-dep: bump typescript-eslint from 8.35.1 to 8.36.0 in /frontend
---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.36.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 09:16:30 +00:00
Maxi Quoß ce0efdd58b fix: settings cannot be saved, close #1242 2025-07-08 01:35:24 +02:00
dependabot[bot] 63ef2a1e8c npm-dep: bump daisyui from 5.0.43 to 5.0.46 in /frontend
---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.46
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-07 11:09:30 +00:00
dependabot[bot] 8cfdb8a8fd npm-dep: bump svelte from 5.35.1 to 5.35.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.35.1 to 5.35.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.35.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.35.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-04 09:21:51 +00:00
dependabot[bot] ab782cbb4a npm-dep: bump svelte from 5.35.0 to 5.35.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.35.0 to 5.35.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.35.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.35.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-03 09:48:21 +00:00
Maxi Quoß 2e8ecd4947 update deps and fix eslint errors 2025-07-02 18:02:28 +02:00
dependabot[bot] a86cce9ed5 npm-dep: bump eslint from 9.30.0 to 9.30.1 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.30.0 to 9.30.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.30.0...v9.30.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.30.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 09:21:22 +00:00
dependabot[bot] cab4c3b809 npm-dep: bump @inlang/paraglide-js from 2.1.0 to 2.2.0 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.1.0 to 2.2.0.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 09:21:01 +00:00
dependabot[bot] 931ad58926 npm-dep: bump @eslint/js from 9.30.0 to 9.30.1 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.30.0 to 9.30.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.30.1/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.30.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 09:20:48 +00:00
dependabot[bot] 09d00a519d npm-dep: bump typescript-eslint from 8.35.0 to 8.35.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.35.0 to 8.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.35.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 11:12:41 +00:00
dependabot[bot] 961b3e1a49 npm-dep: bump eslint from 9.29.0 to 9.30.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.29.0 to 9.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.29.0...v9.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.30.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 12:57:28 +00:00
dependabot[bot] c538cbe524 npm-dep: bump @eslint/js from 9.29.0 to 9.30.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.29.0 to 9.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.30.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.30.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 12:55:52 +00:00
dependabot[bot] 1e73fa2ab2 npm-dep: bump svelte from 5.34.8 to 5.34.9 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.34.8 to 5.34.9.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.34.9/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 12:21:22 +00:00
dependabot[bot] afc53a40e5 npm-dep: bump @sveltejs/kit from 2.22.0 to 2.22.2 in /frontend
---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.22.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-27 09:15:52 +00:00
dependabot[bot] b78bd7bd45 npm-dep: bump prettier from 3.6.1 to 3.6.2 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.6.1...3.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-27 09:14:47 +00:00
dependabot[bot] fc23e1a2c2 npm-dep: bump tailwindcss from 4.1.10 to 4.1.11 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.11/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-27 09:14:39 +00:00
dependabot[bot] 8a7df6e4c6 npm-dep: bump @tailwindcss/postcss from 4.1.10 to 4.1.11 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.11/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-27 09:14:25 +00:00
dependabot[bot] 4daa1a5438 npm-dep: bump svelte from 5.34.7 to 5.34.8 in /frontend
---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-26 09:07:43 +00:00
dependabot[bot] ab2dacf5ad npm-dep: bump @eslint/compat from 1.3.0 to 1.3.1 in /frontend
---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-version: 1.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-26 09:07:28 +00:00
dependabot[bot] d9a0f437f8 npm-dep: bump prettier from 3.6.0 to 3.6.1 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.6.0...3.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-25 09:39:02 +00:00
dependabot[bot] 32348067c0 npm-dep: bump typescript-eslint from 8.34.1 to 8.35.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.34.1 to 8.35.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-24 10:27:56 +00:00
dependabot[bot] 2e6087c230 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.28.3 to 0.28.4.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.28.3...v0.28.4)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.28.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 11:02:34 +00:00
dependabot[bot] afe4b094f1 npm-dep: bump svelte from 5.34.6 to 5.34.7 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.34.6 to 5.34.7.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.34.7/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 10:41:37 +00:00
dependabot[bot] 5801cd2373 npm-dep: bump prettier from 3.5.3 to 3.6.0 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.3...3.6.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 10:39:52 +00:00
dependabot[bot] c9f924aea9 npm-dep: bump prettier-plugin-tailwindcss in /frontend
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.12 to 0.6.13.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.12...v0.6.13)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.6.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 09:41:11 +00:00
dependabot[bot] fa653c4010 npm-dep: bump svelte-check from 4.2.1 to 4.2.2 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.2.1...svelte-check-4.2.2)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-version: 4.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 09:40:59 +00:00
dependabot[bot] 6f303ac8eb npm-dep: bump @sveltejs/kit from 2.21.5 to 2.22.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.21.5 to 2.22.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.22.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.22.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 09:40:45 +00:00
dependabot[bot] fc6930705d npm-dep: bump svelte from 5.34.5 to 5.34.6 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.34.5 to 5.34.6.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.34.6/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-19 09:59:16 +00:00
dependabot[bot] 5426525e0b npm-dep: bump svelte from 5.34.3 to 5.34.5 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.34.3 to 5.34.5.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.34.5/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-18 09:39:59 +00:00
dependabot[bot] eae541e1a3 npm-dep: bump eslint from 9.28.0 to 9.29.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.28.0 to 9.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.28.0...v9.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.29.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 10:01:57 +00:00
dependabot[bot] dba66b0c89 npm-dep: bump postcss from 8.5.5 to 8.5.6 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.5 to 8.5.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.5...8.5.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 10:00:44 +00:00
dependabot[bot] 25d29ae401 npm-dep: bump typescript-eslint from 8.34.0 to 8.34.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.34.0 to 8.34.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.34.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 10:00:22 +00:00
dependabot[bot] e5909f8527 npm-dep: bump @eslint/js from 9.28.0 to 9.29.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.28.0 to 9.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.29.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.29.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 10:03:40 +00:00
dependabot[bot] 6753d81538 npm-dep: bump svelte from 5.34.1 to 5.34.3 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.34.1 to 5.34.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.34.3/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 10:01:20 +00:00
dependabot[bot] 245feed37a npm-dep: bump @sveltejs/kit from 2.21.4 to 2.21.5 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.21.4 to 2.21.5.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.21.5/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.21.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 09:24:32 +00:00
dependabot[bot] 7e02944a37 npm-dep: bump postcss from 8.5.4 to 8.5.5 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.4 to 8.5.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.4...8.5.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:12:15 +00:00
dependabot[bot] ebbe7a3407 npm-dep: bump @inlang/cli from 3.0.11 to 3.0.12 in /frontend
Bumps @inlang/cli from 3.0.11 to 3.0.12.

---
updated-dependencies:
- dependency-name: "@inlang/cli"
  dependency-version: 3.0.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:12:06 +00:00
dependabot[bot] b3d9ef615c npm-dep: bump @sveltejs/kit from 2.21.3 to 2.21.4 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.21.3 to 2.21.4.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.21.4/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.21.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:11:48 +00:00
dependabot[bot] a463453ec5 npm-dep: bump tailwindcss from 4.1.8 to 4.1.10 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.8 to 4.1.10.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.10/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:11:18 +00:00
dependabot[bot] 68de256b29 npm-dep: bump @tailwindcss/postcss from 4.1.8 to 4.1.10 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.8 to 4.1.10.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.10/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:10:54 +00:00
dependabot[bot] 83918d8981 npm-dep: bump @eslint/compat from 1.2.9 to 1.3.0 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite/tree/HEAD/packages/compat) from 1.2.9 to 1.3.0.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/compat/CHANGELOG.md)
- [Commits](https://github.com/eslint/rewrite/commits/compat-v1.3.0/packages/compat)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-version: 1.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:10:32 +00:00
dependabot[bot] dbee66c1db npm-dep: bump svelte from 5.33.19 to 5.34.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.33.19 to 5.34.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.34.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.34.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:10:18 +00:00
dependabot[bot] 4e5d613bc1 npm-dep: bump @inlang/paraglide-js from 2.0.13 to 2.1.0 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.13 to 2.1.0.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 09:10:03 +00:00
dependabot[bot] 51e7e12f2b npm-dep: bump svelte from 5.33.18 to 5.33.19 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.33.18 to 5.33.19.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.33.19/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.33.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-11 09:36:38 +00:00
dependabot[bot] 6da425716a go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.28.2 to 0.28.3.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.28.2...v0.28.3)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.28.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 10:12:08 +00:00
dependabot[bot] 9931f3a94b npm-dep: bump @sveltejs/kit from 2.21.1 to 2.21.3 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.21.1 to 2.21.3.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.21.3/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.21.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 10:07:10 +00:00
dependabot[bot] 22b395e44a npm-dep: bump typescript-eslint from 8.33.1 to 8.34.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.33.1 to 8.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.34.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 10:05:30 +00:00
dependabot[bot] 6dbaef33b2 npm-dep: bump svelte from 5.33.14 to 5.33.18 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.33.14 to 5.33.18.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.33.18/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.33.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 10:25:43 +00:00
dependabot[bot] 7a6aef5920 npm-dep: bump pocketbase from 0.26.0 to 0.26.1 in /frontend
Bumps [pocketbase](https://github.com/pocketbase/js-sdk) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/pocketbase/js-sdk/releases)
- [Changelog](https://github.com/pocketbase/js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/js-sdk/compare/v0.26.0...v0.26.1)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-version: 0.26.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 10:15:37 +00:00
dependabot[bot] c380988044 npm-dep: bump @sveltejs/vite-plugin-svelte in /frontend
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 5.0.3 to 5.1.0.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@5.1.0/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-04 10:03:11 +00:00
dependabot[bot] b97084e785 npm-dep: bump svelte from 5.33.13 to 5.33.14 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.33.13 to 5.33.14.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.33.14/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.33.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:58:46 +00:00
dependabot[bot] c45f646136 npm-dep: bump typescript-eslint from 8.33.0 to 8.33.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.33.0 to 8.33.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.33.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.33.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 09:58:28 +00:00
Maxi Quoß ff0d526797 fix: trim ping_cmd on save 2025-06-02 22:46:18 +02:00
dependabot[bot] a4650a3350 npm-dep: bump eslint from 9.27.0 to 9.28.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.27.0 to 9.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.27.0...v9.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.28.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 10:24:10 +00:00
dependabot[bot] f172dbf49c npm-dep: bump daisyui from 5.0.41 to 5.0.42 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.41 to 5.0.42.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.42/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.42
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 09:41:27 +00:00
dependabot[bot] 2e4208e640 npm-dep: bump daisyui from 5.0.38 to 5.0.41 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.38 to 5.0.41.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.41/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.41
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-29 09:23:05 +00:00
Maxi Quoß 2cb4ee3bf8 fix: drop freebsd/arm support (modernc.org/sqlite does not support it) 2025-05-28 07:26:39 +02:00
Maxi Quoß d574f3ee0c npm-dep: update 2025-05-27 23:43:39 +02:00
dependabot[bot] b56ab43653 npm-dep: bump svelte from 5.33.2 to 5.33.3 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.33.2 to 5.33.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.33.3/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.33.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 09:26:42 +00:00
dependabot[bot] 5d1460b60c npm-dep: bump daisyui from 5.0.37 to 5.0.38 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.37 to 5.0.38.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.38/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.38
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 09:26:27 +00:00
dependabot[bot] ce5ddc6119 npm-dep: bump svelte from 5.33.1 to 5.33.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.33.1 to 5.33.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.33.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.33.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 10:26:04 +00:00
dependabot[bot] 7d3ef22d61 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.28.1 to 0.28.2.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.28.1...v0.28.2)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.28.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 10:16:25 +00:00
dependabot[bot] 33bb22b7b9 npm-dep: bump svelte from 5.32.1 to 5.33.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.32.1 to 5.33.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.33.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.33.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-23 09:07:33 +00:00
dependabot[bot] b95b08d569 npm-dep: bump daisyui from 5.0.35 to 5.0.37 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.35 to 5.0.37.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.37/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.37
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-22 10:01:08 +00:00
Maxi Quoß c05ea6266f feat: add "wake group" button 2025-05-21 23:34:45 +02:00
Kevin Cui 2ae595ad13 feat(api): support async call (#1166)
* feat(api): support async call

Signed-off-by: Kevin Cui <bh@bugs.cc>

* feat: parse bool to allow various values

---------

Signed-off-by: Kevin Cui <bh@bugs.cc>
Co-authored-by: Maxi Quoß <maxi@quoss.org>
2025-05-21 22:08:23 +02:00
dependabot[bot] 481ad7ffe1 npm-dep: bump svelte from 5.31.1 to 5.32.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.31.1 to 5.32.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.32.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.32.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 10:02:18 +00:00
dependabot[bot] 84498fe120 npm-dep: bump @inlang/paraglide-js from 2.0.12 to 2.0.13 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.12 to 2.0.13.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 10:02:02 +00:00
dependabot[bot] 1908a8c127 npm-dep: bump svelte from 5.30.2 to 5.31.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.30.2 to 5.31.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.31.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.31.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 09:14:12 +00:00
dependabot[bot] 7e9706683b npm-dep: bump @sveltejs/kit from 2.21.0 to 2.21.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.21.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.21.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 09:27:26 +00:00
dependabot[bot] 368c7d752b npm-dep: bump svelte-check from 4.2.0 to 4.2.1 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.2.0...svelte-check-4.2.1)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-version: 4.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 09:27:07 +00:00
dependabot[bot] cc3f473b37 npm-dep: bump eslint from 9.26.0 to 9.27.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.26.0 to 9.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.26.0...v9.27.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 09:25:48 +00:00
dependabot[bot] bacb021b3b npm-dep: bump @eslint/js from 9.26.0 to 9.27.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.26.0 to 9.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.27.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 09:24:53 +00:00
dependabot[bot] 7b2d9e73a2 npm-dep: bump svelte from 5.30.1 to 5.30.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.30.1 to 5.30.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.30.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.30.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 09:24:22 +00:00
dependabot[bot] e12a14f467 npm-dep: bump tailwindcss from 4.1.6 to 4.1.7 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.7/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 09:47:45 +00:00
dependabot[bot] c03a4b1a01 npm-dep: bump @tailwindcss/postcss from 4.1.6 to 4.1.7 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.7/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 09:47:32 +00:00
dependabot[bot] 9b329dae22 npm-dep: bump svelte from 5.28.6 to 5.30.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.28.6 to 5.30.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.30.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.30.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 08:21:35 +00:00
dependabot[bot] 63d300b000 npm-dep: bump prettier-plugin-svelte from 3.3.3 to 3.4.0 in /frontend
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.3.3 to 3.4.0.
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/commits)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-version: 3.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-16 08:20:32 +00:00
Maxi Quoß 0efd8a8674 update lock file 2025-05-16 10:19:02 +02:00
Maxi Quoß 1bf01cadc7 fix: only clear auth on 401 or 403, close #1158 2025-05-16 10:18:34 +02:00
dependabot[bot] 1bd2f64729 npm-dep: bump svelte-check from 4.1.7 to 4.2.0 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.1.7...svelte-check-4.2.0)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-version: 4.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-15 09:40:58 +00:00
Maxi Quoß 58971d0e66 fix: countdown would not show after login 2025-05-14 11:53:32 +02:00
Maxi Quoß 4158c9f164 update deps 2025-05-14 08:58:28 +02:00
Maxi Quoß 0a7762e2b5 fix: date-fns not showing in other languages than english 2025-05-14 08:56:48 +02:00
MinJun Park 74b8e35020 Added Korean i18n Support (#1151)
* Create ko-KR.json

* Update settings.json

* Update +page.svelte

* Update locale.ts

* Update locale.ts
2025-05-14 08:53:07 +02:00
dependabot[bot] e3dcbf18ad npm-dep: bump typescript-eslint from 8.32.0 to 8.32.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.32.0 to 8.32.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.32.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 09:52:18 +00:00
dependabot[bot] ac2bd62b4f npm-dep: bump @sveltejs/kit from 2.20.8 to 2.21.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.20.8 to 2.21.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.21.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 09:52:03 +00:00
dependabot[bot] fde3a0eff9 npm-dep: bump tailwindcss from 4.1.5 to 4.1.6 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 10:32:10 +00:00
dependabot[bot] f4b1c82db4 npm-dep: bump @tailwindcss/postcss from 4.1.5 to 4.1.6 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 10:31:54 +00:00
dependabot[bot] 8af6557378 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.27.2...v0.28.0)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 09:54:47 +00:00
dependabot[bot] afd5112dc6 npm-dep: bump eslint-config-prettier from 10.1.3 to 10.1.5 in /frontend
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.3 to 10.1.5.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.3...v10.1.5)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 09:18:28 +00:00
dependabot[bot] 8af2111037 npm-dep: bump eslint-config-prettier from 10.1.2 to 10.1.3 in /frontend
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.2 to 10.1.3.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.2...v10.1.3)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 09:50:08 +00:00
dependabot[bot] a7f84b2810 npm-dep: bump typescript-eslint from 8.31.1 to 8.32.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.31.1 to 8.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 10:04:03 +00:00
dependabot[bot] 25f7a703c7 go-dep: bump golang.org/x/sys from 0.32.0 to 0.33.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/sys/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 09:09:48 +00:00
dependabot[bot] b2628863de npm-dep: bump eslint from 9.25.1 to 9.26.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.25.1 to 9.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.25.1...v9.26.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 10:12:21 +00:00
dependabot[bot] d2b51bcd96 npm-dep: bump @eslint/js from 9.25.1 to 9.26.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.25.1 to 9.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.26.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 10:10:48 +00:00
dependabot[bot] 537290bccf npm-dep: bump svelte-check from 4.1.6 to 4.1.7 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.1.6...svelte-check-4.1.7)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-version: 4.1.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 10:06:58 +00:00
dependabot[bot] 8588359e69 npm-dep: bump vite from 6.3.4 to 6.3.5 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.4 to 6.3.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 10:06:17 +00:00
dependabot[bot] 0ecaf8ed3d npm-dep: bump @eslint/compat from 1.2.8 to 1.2.9 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.8 to 1.2.9.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.8...compat-v1.2.9)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-version: 1.2.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-02 09:11:39 +00:00
dependabot[bot] b59bc41849 npm-dep: bump @tailwindcss/postcss from 4.1.4 to 4.1.5 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.5/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 10:00:50 +00:00
dependabot[bot] ae2db496a4 npm-dep: bump daisyui from 5.0.30 to 5.0.35 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.30 to 5.0.35.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.35/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.35
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 10:00:41 +00:00
dependabot[bot] eac0703251 npm-dep: bump tailwindcss from 4.1.4 to 4.1.5 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.5/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 10:00:22 +00:00
dependabot[bot] e5a868521b npm-dep: bump @sveltejs/kit from 2.20.7 to 2.20.8 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.20.7 to 2.20.8.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.8/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.20.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 10:00:11 +00:00
dependabot[bot] f1c2b236a8 npm-dep: bump vite from 6.3.3 to 6.3.4 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.3 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 09:26:58 +00:00
dependabot[bot] b17a497f9b npm-dep: bump daisyui from 5.0.28 to 5.0.30 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.28 to 5.0.30.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.30/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.30
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 09:26:39 +00:00
dependabot[bot] d7ce88a0ef go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.27.1...v0.27.2)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.27.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 09:55:05 +00:00
dependabot[bot] 52c91d15d7 npm-dep: bump typescript-eslint from 8.31.0 to 8.31.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.31.0 to 8.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.31.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.31.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 09:40:24 +00:00
dependabot[bot] a7b2c07754 npm-dep: bump daisyui from 5.0.27 to 5.0.28 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.27 to 5.0.28.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.28/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.28
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 09:28:54 +00:00
dependabot[bot] 8824b2f8e0 npm-dep: bump vite from 6.3.2 to 6.3.3 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.2 to 6.3.3.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 09:28:39 +00:00
dependabot[bot] 99813b2f2e npm-dep: bump svelte from 5.28.1 to 5.28.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.28.1 to 5.28.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.28.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.28.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 09:18:07 +00:00
dependabot[bot] 9cb9353e82 npm-dep: bump eslint from 9.25.0 to 9.25.1 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.25.0 to 9.25.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.25.0...v9.25.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.25.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 09:39:00 +00:00
dependabot[bot] c4dce7d9b6 npm-dep: bump @inlang/paraglide-js from 2.0.11 to 2.0.12 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.11 to 2.0.12.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.0.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 09:38:23 +00:00
dependabot[bot] f490641707 npm-dep: bump svelte-fa from 4.0.3 to 4.0.4 in /frontend
Bumps [svelte-fa](https://github.com/Cweili/svelte-fa) from 4.0.3 to 4.0.4.
- [Commits](https://github.com/Cweili/svelte-fa/compare/v4.0.3...v4.0.4)

---
updated-dependencies:
- dependency-name: svelte-fa
  dependency-version: 4.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 09:37:30 +00:00
dependabot[bot] 37e172bf91 npm-dep: bump @eslint/js from 9.25.0 to 9.25.1 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.25.0 to 9.25.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.25.1/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.25.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 09:37:23 +00:00
dependabot[bot] 774fee0769 npm-dep: bump typescript-eslint from 8.30.1 to 8.31.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.30.1 to 8.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.31.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.31.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 09:36:51 +00:00
dependabot[bot] 51280bf899 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.27.0...v0.27.1)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.27.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 10:51:51 +00:00
dependabot[bot] c8ded1aff8 npm-dep: bump @inlang/cli from 3.0.10 to 3.0.11 in /frontend
Bumps @inlang/cli from 3.0.10 to 3.0.11.

---
updated-dependencies:
- dependency-name: "@inlang/cli"
  dependency-version: 3.0.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 10:31:26 +00:00
Maxi Quoß d40d2d1ee5 update all deps 2025-04-19 09:42:09 +02:00
Maxi Quoß 20e274d432 feat: handlers return status of device action 2025-04-19 09:37:23 +02:00
dependabot[bot] a10b16004e npm-dep: bump daisyui from 5.0.23 to 5.0.27 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.23 to 5.0.27.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.27/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.27
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-18 09:46:34 +00:00
dependabot[bot] 66369fd309 npm-dep: bump vite from 6.3.1 to 6.3.2 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-18 09:46:20 +00:00
dependabot[bot] 4f2a07d231 npm-dep: bump pocketbase from 0.25.2 to 0.26.0 in /frontend
Bumps [pocketbase](https://github.com/pocketbase/js-sdk) from 0.25.2 to 0.26.0.
- [Release notes](https://github.com/pocketbase/js-sdk/releases)
- [Changelog](https://github.com/pocketbase/js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/js-sdk/compare/v0.25.2...v0.26.0)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-version: 0.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-18 09:46:11 +00:00
dependabot[bot] 850414b291 npm-dep: bump vite from 6.3.0 to 6.3.1 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 09:08:46 +00:00
dependabot[bot] 6cf573e8cc npm-dep: bump daisyui from 5.0.22 to 5.0.23 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.22 to 5.0.23.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.23/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 09:08:30 +00:00
dependabot[bot] cbbc49f783 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.26.6 to 0.27.0.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.26.6...v0.27.0)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 09:33:26 +00:00
dependabot[bot] 9b8c80c5e9 npm-dep: bump svelte from 5.25.10 to 5.27.0 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.25.10 to 5.27.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.27.0/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 09:30:07 +00:00
dependabot[bot] 468e50862b npm-dep: bump daisyui from 5.0.19 to 5.0.22 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.19 to 5.0.22.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.22/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.22
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 09:28:48 +00:00
dependabot[bot] 6cbf924441 npm-dep: bump vite from 6.2.6 to 6.3.0 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.3.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 09:28:34 +00:00
dependabot[bot] b9200c0949 npm-dep: bump @sveltejs/kit from 2.20.5 to 2.20.7 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.20.5 to 2.20.7.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.7/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.20.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 10:04:15 +00:00
dependabot[bot] 237356c835 npm-dep: bump tailwindcss from 4.1.3 to 4.1.4 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.4/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 10:04:03 +00:00
dependabot[bot] f17ba2647e npm-dep: bump @tailwindcss/postcss from 4.1.3 to 4.1.4 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.4/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 10:03:42 +00:00
dependabot[bot] 76aa7d99e7 npm-dep: bump typescript-eslint from 8.29.1 to 8.30.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.29.1 to 8.30.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.30.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.30.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 10:03:30 +00:00
dependabot[bot] 8d1b831d9a npm-dep: bump svelte-check from 4.1.5 to 4.1.6 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.1.5...svelte-check-4.1.6)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-version: 4.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 09:25:21 +00:00
dependabot[bot] f92100b89f npm-dep: bump eslint-config-prettier from 10.1.1 to 10.1.2 in /frontend
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.1 to 10.1.2.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.1...v10.1.2)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 09:24:43 +00:00
dependabot[bot] bdcd12830e npm-dep: bump daisyui from 5.0.18 to 5.0.19 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.18 to 5.0.19.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.19/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 09:23:42 +00:00
dependabot[bot] 59bbfc1235 npm-dep: bump @sveltejs/kit from 2.20.4 to 2.20.5 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.20.4 to 2.20.5.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.5/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.20.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 09:25:45 +00:00
dependabot[bot] 6483ea8fff npm-dep: bump vite from 6.2.5 to 6.2.6 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 09:24:12 +00:00
dependabot[bot] 8cb3262079 npm-dep: bump daisyui from 5.0.17 to 5.0.18 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.17 to 5.0.18.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.18/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 09:22:40 +00:00
dependabot[bot] c25a878644 npm-dep: bump svelte from 5.25.9 to 5.25.10 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.25.9 to 5.25.10.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.10/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 09:22:13 +00:00
dependabot[bot] 12ca02f823 npm-dep: bump svelte from 5.25.8 to 5.25.9 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.25.8 to 5.25.9.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.9/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 09:37:23 +00:00
dependabot[bot] b81eef09f0 npm-dep: bump daisyui from 5.0.16 to 5.0.17 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.16 to 5.0.17.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.17/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 09:37:08 +00:00
dependabot[bot] 380fd756ba npm-dep: bump svelte from 5.25.7 to 5.25.8 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.25.7 to 5.25.8.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.8/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 10:00:28 +00:00
dependabot[bot] b39f9a3121 npm-dep: bump typescript-eslint from 8.29.0 to 8.29.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.29.0 to 8.29.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.29.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.29.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 10:00:15 +00:00
dependabot[bot] 6dc05181d5 npm-dep: bump daisyui from 5.0.13 to 5.0.16 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.13 to 5.0.16.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.16/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.16
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 10:00:01 +00:00
dependabot[bot] 140e9f6352 go-dep: bump github.com/prometheus-community/pro-bing in /backend
Bumps [github.com/prometheus-community/pro-bing](https://github.com/prometheus-community/pro-bing) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/prometheus-community/pro-bing/releases)
- [Changelog](https://github.com/prometheus-community/pro-bing/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/prometheus-community/pro-bing/compare/v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus-community/pro-bing
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 09:10:38 +00:00
dependabot[bot] 8a0c46b458 npm-dep: bump tailwindcss from 4.1.2 to 4.1.3 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.3/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:50:41 +00:00
dependabot[bot] 2008fbab24 npm-dep: bump eslint from 9.23.0 to 9.24.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.23.0 to 9.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.23.0...v9.24.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.24.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:50:29 +00:00
dependabot[bot] 7042c4cfa2 npm-dep: bump svelte from 5.25.6 to 5.25.7 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.25.6 to 5.25.7.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.7/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-version: 5.25.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:49:12 +00:00
dependabot[bot] 54f9b46e93 npm-dep: bump @inlang/paraglide-js from 2.0.10 to 2.0.11 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.10 to 2.0.11.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.0.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:47:51 +00:00
dependabot[bot] b2cf724641 npm-dep: bump @eslint/js from 9.23.0 to 9.24.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.23.0 to 9.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.24.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.24.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:47:38 +00:00
dependabot[bot] f4abc5258d npm-dep: bump @sveltejs/kit from 2.20.3 to 2.20.4 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.20.3 to 2.20.4.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.4/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-version: 2.20.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:42:54 +00:00
dependabot[bot] ea8abc9f70 npm-dep: bump typescript from 5.8.2 to 5.8.3 in /frontend
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.2 to 5.8.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:41:46 +00:00
dependabot[bot] 7a31362cef npm-dep: bump @tailwindcss/postcss from 4.1.2 to 4.1.3 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.3/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:41:01 +00:00
dependabot[bot] bc0c68710c npm-dep: bump daisyui from 5.0.12 to 5.0.13 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.13/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-version: 5.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:39:52 +00:00
dependabot[bot] 64706ac15c go-dep: bump golang.org/x/sys from 0.31.0 to 0.32.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/sys/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 10:26:24 +00:00
dependabot[bot] 3f613cb39b npm-dep: bump vite from 6.2.4 to 6.2.5 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 09:20:45 +00:00
dependabot[bot] 658ffc753f npm-dep: bump @inlang/paraglide-js from 2.0.8 to 2.0.10 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.8 to 2.0.10.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-version: 2.0.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 09:19:41 +00:00
dependabot[bot] d048b05af3 npm-dep: bump @tailwindcss/postcss from 4.1.1 to 4.1.2 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.2/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 09:18:28 +00:00
dependabot[bot] bb03444c62 npm-dep: bump tailwindcss from 4.1.1 to 4.1.2 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.2/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 09:18:12 +00:00
dependabot[bot] 49d874e290 npm-dep: bump @inlang/cli from 3.0.9 to 3.0.10 in /frontend
Bumps @inlang/cli from 3.0.9 to 3.0.10.

---
updated-dependencies:
- dependency-name: "@inlang/cli"
  dependency-version: 3.0.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-03 09:29:10 +00:00
Maxi Quoß a4d38f4b95 npm-dep: update 2025-04-02 17:00:20 +02:00
dependabot[bot] 8cd8bb123d npm-dep: bump @sveltejs/kit from 2.20.2 to 2.20.3 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.20.2 to 2.20.3.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.20.3/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 09:24:25 +00:00
dependabot[bot] 0043bde5cf npm-dep: bump tailwindcss from 4.0.17 to 4.1.0 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.17 to 4.1.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.0/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 09:23:02 +00:00
dependabot[bot] 8d95d2658d npm-dep: bump @eslint/compat from 1.2.7 to 1.2.8 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.7 to 1.2.8.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.7...compat-v1.2.8)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 09:22:50 +00:00
dependabot[bot] 576bc62497 npm-dep: bump svelte from 5.25.5 to 5.25.6 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.25.5 to 5.25.6.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.25.6/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 09:22:27 +00:00
dependabot[bot] 4a9ed50abc npm-dep: bump daisyui from 5.0.9 to 5.0.11 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui/tree/HEAD/packages/daisyui) from 5.0.9 to 5.0.11.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.11/packages/daisyui)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 09:22:15 +00:00
dependabot[bot] 83e017c6c5 npm-dep: bump @inlang/paraglide-js from 2.0.6 to 2.0.8 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.6 to 2.0.8.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 19:43:08 +00:00
Maxi Quoß 97d559e32e npm-dep: update 2025-03-31 21:41:35 +02:00
Maxi Quoß 74b9cfd34e go-dep: update 2025-03-31 21:39:38 +02:00
seriousm4x fec897944f Update Crowdin configuration file 2025-03-31 21:02:11 +02:00
Maxi Quoß bf51b389c2 rename translations to match locale names 2025-03-31 20:59:43 +02:00
dependabot[bot] 12099d060f npm-dep: bump @inlang/cli from 3.0.7 to 3.0.9 in /frontend
Bumps @inlang/cli from 3.0.7 to 3.0.9.

---
updated-dependencies:
- dependency-name: "@inlang/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 09:31:40 +00:00
dependabot[bot] 642ceaa258 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.26.4 to 0.26.6.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.26.4...v0.26.6)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 09:11:09 +00:00
dependabot[bot] 33f6367118 npm-dep: bump @inlang/paraglide-js from 2.0.5 to 2.0.6 in /frontend
Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.0.5 to 2.0.6.
- [Commits](https://github.com/opral/inlang-paraglide-js/commits)

---
updated-dependencies:
- dependency-name: "@inlang/paraglide-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 09:15:32 +00:00
dependabot[bot] 9ddd893feb npm-dep: bump tailwindcss from 4.0.16 to 4.0.17 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.16 to 4.0.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.17/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-27 09:16:56 +00:00
dependabot[bot] 669f27a821 npm-dep: bump @tailwindcss/postcss from 4.0.16 to 4.0.17 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.16 to 4.0.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.17/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-27 09:16:45 +00:00
seriousm4x 24ed3c3f8f Update Crowdin configuration file 2025-03-26 16:45:14 +01:00
seriousm4x de37325b28 Update Crowdin configuration file 2025-03-26 16:38:32 +01:00
seriousm4x 258cf9e376 Update Crowdin configuration file 2025-03-26 16:35:51 +01:00
seriousm4x c4d93cdfad Update Crowdin configuration file 2025-03-26 16:31:33 +01:00
dependabot[bot] abb9ee648c go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.26.3 to 0.26.4.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.26.3...v0.26.4)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 09:57:19 +00:00
dependabot[bot] 65d9ecae66 npm-dep: bump @tailwindcss/postcss from 4.0.15 to 4.0.16 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.15 to 4.0.16.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.16/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 09:45:31 +00:00
dependabot[bot] 3190d1ab3c npm-dep: bump tailwindcss from 4.0.15 to 4.0.16 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.15 to 4.0.16.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.16/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 09:43:55 +00:00
Maxi Quoß 2b7d68b866 npm-dep: bump, close #1045 2025-03-25 08:14:31 +01:00
Maxi Quoß e13e9dfce0 go-dep: bump 2025-03-25 08:13:53 +01:00
dependabot[bot] 12b3b782cd go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.26.1 to 0.26.3.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.26.1...v0.26.3)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 09:58:04 +00:00
Maxi Quoß 98f222bfb9 go-dep: update 2025-03-21 23:55:45 +01:00
Maxi Quoß de66c39191 fix: validation syntax #1043 2025-03-18 12:57:00 +01:00
Maxi Quoß 69acc57ed2 fix: save failed when creating new device 2025-03-18 01:37:27 +01:00
Maxi Quoß c9bc0c8f38 fix: port check ignore connection refused error 2025-03-18 01:27:02 +01:00
Maxi Quoß fee9d605f1 fix: update interval format in docker compose 2025-03-17 11:19:36 +01:00
Maxi Quoß 8bedcbf88a cleaner if 2025-03-17 11:14:14 +01:00
Maxi Quoß 95946d7cc2 fix: sveltekit-sync and update 2025-03-17 11:12:19 +01:00
Maxi Quoß c125afdfc7 fix: use netErr.Timeout() to check for timeout 2025-03-17 11:05:48 +01:00
Maxi Quoß 80fb1a6127 fix: ping test case 2025-03-17 11:02:10 +01:00
Maxi Quoß 92a66fc8a4 fix: reduce port check errors 2025-03-17 10:39:28 +01:00
seriousm4x 8c52952a1e Update docker-compose version 2025-03-17 01:15:59 +01:00
Maxi Quoß ac16e982ea update docker compose to v5 2025-03-16 15:21:04 +01:00
Maxi Quoß 604c7201e9 fix: use https url for packge 2025-03-16 15:14:05 +01:00
Maxi Quoß 2c48ee7610 replace home screenshot 2025-03-16 14:49:16 +01:00
Maxi Quoß ce42d060ff feat: add <pre> tags for cron explaination 2025-03-16 14:42:55 +01:00
Maxi Quoß 4d24e7ac2b make screenshots bigger 2025-03-16 14:05:08 +01:00
Maxi Quoß 543424a978 fix: make input a fieldset 2025-03-16 14:03:07 +01:00
Maxi Quoß 66cc629d57 update screenshots 2025-03-16 13:43:20 +01:00
Maxi Quoß 3c0ec6310f fix: dropdown on safari 2025-03-16 13:43:11 +01:00
Maxi Quoß ce98a34d5a fix: remove btn outline 2025-03-16 13:42:55 +01:00
Maxi Quoß a13678578d fix: save account avatar 2025-03-16 12:01:00 +01:00
Maxi Quoß cbf8e8dcab fix: ts type 2025-03-16 11:48:28 +01:00
Maxi Quoß 76c6797495 fix: keep description at top 2025-03-16 11:48:17 +01:00
Maxi Quoß 681d75d0dc fix: sol password and shutdown cmd 2025-03-16 11:48:05 +01:00
Maxi Quoß f008efbd47 fix: save new group with enter key 2025-03-16 11:26:04 +01:00
Maxi Quoß 88f69ee99b fix: store order in localStorage 2025-03-16 11:25:42 +01:00
Maxi Quoß b779ca34a3 fix: localeCompare will use $localStore and sort numeric 2025-03-16 10:57:08 +01:00
Maxi Quoß 583bf2181a go-dep: update 2025-03-16 10:42:49 +01:00
Maxi Quoß 7d5cfff62f fix: use temp pr branch for svelte-french-toast 2025-03-16 10:39:54 +01:00
Maxi Quoß e182f1b857 npm-dep: update 2025-03-16 09:31:44 +01:00
Maxi Quoß f2bcf0d77f go-dep: update 2025-03-16 09:31:36 +01:00
Maxi Quoß 40226c2984 fix: change logger warning msg 2025-03-12 14:06:11 +01:00
Maxi Quoß 7b8947656a fix: trim inputs 2025-03-12 14:05:47 +01:00
Maxi Quoß f13e1270c1 feat: search for mac address 2025-03-11 08:43:26 +01:00
Maxi Quoß b7811dbe27 fix: better err msg formatting 2025-03-11 08:30:48 +01:00
Maxi Quoß 4060ee4ad3 fix: seconds optional for wake and shutdown crons 2025-03-11 08:24:58 +01:00
Maxi Quoß 3dcc3fb64b feat: improve cross platform ping
- set privileged ping based on run as root
- distinguish between ping errors
2025-03-08 12:39:46 +01:00
Maxi Quoß 59926b8c28 feat: validate cron with backend, show next cron date 2025-03-08 11:27:24 +01:00
Maxi Quoß ebe28b45c0 fix: remove debug prints 2025-03-06 22:01:49 +01:00
dependabot[bot] 697e9fe07f go-dep: bump golang.org/x/sys from 0.30.0 to 0.31.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/sys/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 09:42:52 +00:00
dependabot[bot] 08892f5afa go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.8 to 0.25.9.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.8...v0.25.9)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 09:41:04 +00:00
Maxi Quoß 5f2ff2d773 fix: rename messages to translations 2025-03-06 00:52:59 +01:00
Maxi Quoß 2e64e85d4b feat: custom timeouts for wake and shutdown 2025-03-06 00:49:24 +01:00
Maxi Quoß 07f9bb5c77 fix: readme link 2025-03-05 04:14:15 +01:00
Maxi Quoß f53b93a3a5 feat: replace typesafe-i18n with inlang/paraglide-js
typesafe-i18n is no longer maintained
2025-03-05 04:07:25 +01:00
Maxi Quoß 33c56016f6 feat: add keyboard shortcut to search bar 2025-03-04 19:21:36 +01:00
Maxi Quoß c6f8beda54 update deps 2025-03-04 18:50:24 +01:00
dependabot[bot] 8d6f5daba8 npm-dep: bump svelte from 5.20.5 to 5.21.0 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.20.5 to 5.21.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.21.0/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 09:09:23 +00:00
dependabot[bot] aba417b1bc npm-dep: bump typescript-eslint from 8.25.0 to 8.26.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.25.0 to 8.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.26.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 09:09:06 +00:00
dependabot[bot] 3095c7bbb4 npm-dep: bump pocketbase from 0.25.1 to 0.25.2 in /frontend
Bumps [pocketbase](https://github.com/pocketbase/js-sdk) from 0.25.1 to 0.25.2.
- [Release notes](https://github.com/pocketbase/js-sdk/releases)
- [Changelog](https://github.com/pocketbase/js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/js-sdk/compare/v0.25.1...v0.25.2)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 10:36:57 +00:00
dependabot[bot] 3be50f138b npm-dep: bump daisyui from 5.0.0-beta.9 to 5.0.0 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 5.0.0-beta.9 to 5.0.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits/v5.0.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 10:36:47 +00:00
dependabot[bot] 58a55e2cbc npm-dep: bump prettier from 3.5.2 to 3.5.3 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.2...3.5.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 10:36:39 +00:00
dependabot[bot] ed1360428d npm-dep: bump svelte from 5.20.4 to 5.20.5 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.20.4 to 5.20.5.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.20.5/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-28 09:43:47 +00:00
Maxi Quoß 184d9335d7 fix: max width for ports 2025-02-27 13:17:23 +01:00
dependabot[bot] 163f9c8af5 npm-dep: bump daisyui from 5.0.0-beta.8 to 5.0.0-beta.9 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 5.0.0-beta.8 to 5.0.0-beta.9.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 09:22:04 +00:00
Maxi Quoß 75d47fcd9c fix: indonesian emoji and date-fns #1007 2025-02-27 09:32:02 +01:00
Yoga Ardiansyah cbbd187214 feat: bahasa indonesia translation (#1007) 2025-02-27 09:29:31 +01:00
Maxi Quoß edd7689887 npm-dep: use svelte-french-toast 2.0.0-alpha.0 2025-02-27 09:18:12 +01:00
Maxi Quoß fe406c59a1 gp-dep: use go 1.24, bump deps 2025-02-27 09:03:19 +01:00
dependabot[bot] 87312e5a89 npm-dep: bump @sveltejs/kit from 2.17.2 to 2.17.3 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.17.2 to 2.17.3.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.17.3/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 09:34:59 +00:00
dependabot[bot] 99e897b35f npm-dep: bump @tailwindcss/postcss from 4.0.8 to 4.0.9 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.9/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 09:34:43 +00:00
dependabot[bot] 07c6788c2c npm-dep: bump tailwindcss from 4.0.8 to 4.0.9 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.9/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 09:34:25 +00:00
dependabot[bot] 4a9c010db8 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.7 to 0.25.8.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.7...v0.25.8)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 10:01:48 +00:00
dependabot[bot] edc8022dc6 npm-dep: bump vite from 6.1.1 to 6.2.0 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.2.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 09:34:46 +00:00
dependabot[bot] 2021dc58af npm-dep: bump svelte from 5.20.2 to 5.20.4 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.20.2 to 5.20.4.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.20.4/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 09:33:54 +00:00
dependabot[bot] dc056789d2 npm-dep: bump typescript-eslint from 8.24.1 to 8.25.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.24.1 to 8.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.25.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 09:33:24 +00:00
dependabot[bot] 59647c66a6 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.6 to 0.25.7.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.6...v0.25.7)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 10:29:22 +00:00
dependabot[bot] bd0519df1b npm-dep: bump @eslint/compat from 1.2.6 to 1.2.7 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.6...compat-v1.2.7)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 10:02:06 +00:00
dependabot[bot] 8c19e13cda npm-dep: bump eslint from 9.20.1 to 9.21.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.20.1 to 9.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.20.1...v9.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 10:01:06 +00:00
dependabot[bot] f8230f1c5b npm-dep: bump prettier from 3.5.1 to 3.5.2 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.1...3.5.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 09:59:17 +00:00
dependabot[bot] 0563c7ccc3 npm-dep: bump tailwindcss from 4.0.7 to 4.0.8 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.8/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 09:58:59 +00:00
dependabot[bot] 596b41c35d npm-dep: bump @eslint/js from 9.20.0 to 9.21.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.20.0 to 9.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.21.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 09:58:40 +00:00
dependabot[bot] ea0236efc0 npm-dep: bump @tailwindcss/postcss from 4.0.7 to 4.0.8 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.8/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 09:58:30 +00:00
dependabot[bot] b35beeb8c3 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.5 to 0.25.6.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.5...v0.25.6)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 09:46:40 +00:00
dependabot[bot] 6c5e09c986 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.4 to 0.25.5.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.4...v0.25.5)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 09:50:38 +00:00
dependabot[bot] d381145bd1 npm-dep: bump tailwindcss from 4.0.6 to 4.0.7 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.7/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 09:34:01 +00:00
dependabot[bot] 40b01fafa3 npm-dep: bump svelte from 5.20.1 to 5.20.2 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.20.1 to 5.20.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.20.2/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 09:32:50 +00:00
dependabot[bot] 54aefadf8e npm-dep: bump postcss from 8.5.2 to 8.5.3 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.2 to 8.5.3.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.2...8.5.3)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 09:31:44 +00:00
dependabot[bot] 2a69725f15 npm-dep: bump @tailwindcss/postcss from 4.0.6 to 4.0.7 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.7/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 09:30:12 +00:00
dependabot[bot] e21cb3e315 npm-dep: bump vite from 6.1.0 to 6.1.1 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.1.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 09:29:31 +00:00
dependabot[bot] a3a0dcd585 npm-dep: bump svelte from 5.20.0 to 5.20.1 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.20.0 to 5.20.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.20.1/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-18 09:42:41 +00:00
dependabot[bot] 86a616bcc3 npm-dep: bump typescript-eslint from 8.24.0 to 8.24.1 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.24.0 to 8.24.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.24.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-18 09:40:58 +00:00
dependabot[bot] a8181eeb8b npm-dep: bump @sveltejs/kit from 2.17.1 to 2.17.2 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.17.2/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 10:07:48 +00:00
dependabot[bot] 9c56c17ebc npm-dep: bump prettier from 3.5.0 to 3.5.1 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.5.0...3.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 09:20:13 +00:00
dependabot[bot] a5b9761537 npm-dep: bump eslint from 9.20.0 to 9.20.1 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.20.0 to 9.20.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.20.0...v9.20.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 09:23:37 +00:00
dependabot[bot] 9534fe21e2 npm-dep: bump globals from 15.14.0 to 15.15.0 in /frontend
Bumps [globals](https://github.com/sindresorhus/globals) from 15.14.0 to 15.15.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.14.0...v15.15.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 09:22:27 +00:00
dependabot[bot] c2e44761c4 npm-dep: bump daisyui from 5.0.0-beta.7 to 5.0.0-beta.8 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 5.0.0-beta.7 to 5.0.0-beta.8.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 09:22:12 +00:00
dependabot[bot] 9741037e96 npm-dep: bump svelte from 5.19.10 to 5.20.0 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.19.10 to 5.20.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.20.0/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 09:21:59 +00:00
dependabot[bot] 41b7c08bce go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.3 to 0.25.4.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.3...v0.25.4)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 10:01:45 +00:00
dependabot[bot] be1db1fc1d npm-dep: bump svelte from 5.19.9 to 5.19.10 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.19.9 to 5.19.10.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.19.10/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 09:12:03 +00:00
dependabot[bot] ee1c5132b7 npm-dep: bump postcss from 8.5.1 to 8.5.2 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.1 to 8.5.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.1...8.5.2)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 09:51:32 +00:00
dependabot[bot] 31fb7c6fff npm-dep: bump typescript-eslint from 8.23.0 to 8.24.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.23.0 to 8.24.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.24.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 09:50:34 +00:00
dependabot[bot] fb4ae2daa5 npm-dep: bump tailwindcss from 4.0.5 to 4.0.6 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.6/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 09:50:18 +00:00
dependabot[bot] 930295ec71 npm-dep: bump @tailwindcss/postcss from 4.0.5 to 4.0.6 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.6/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 09:49:56 +00:00
dependabot[bot] f82747d435 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.2...v0.25.3)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 09:24:22 +00:00
dependabot[bot] ce1283cc68 npm-dep: bump prettier from 3.4.2 to 3.5.0 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 3.4.2 to 3.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.4.2...3.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 10:13:18 +00:00
dependabot[bot] b62e73ac03 npm-dep: bump @eslint/js from 9.19.0 to 9.20.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.19.0 to 9.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.20.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 10:12:14 +00:00
dependabot[bot] c0bef1b6db npm-dep: bump eslint from 9.19.0 to 9.20.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.19.0 to 9.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.19.0...v9.20.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 10:10:38 +00:00
dependabot[bot] 85b9bc00af npm-dep: bump tailwindcss from 4.0.4 to 4.0.5 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.5/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 10:08:56 +00:00
dependabot[bot] 31d246e61f npm-dep: bump @tailwindcss/postcss from 4.0.4 to 4.0.5 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.5/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 10:08:40 +00:00
dependabot[bot] 5ebbc336f2 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.25.0 to 0.25.2.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.25.0...v0.25.2)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 09:42:10 +00:00
Maxi Quoß de4a46995c fix: formatting 2025-02-09 23:49:42 +01:00
Maxi Quoß c2f574426f feat: add more test cases 2025-02-08 02:29:20 +01:00
Maxi Quoß cee1669a0e feat: improve cron syntax validation and force 6 digits with seconds 2025-02-07 14:05:34 +01:00
dependabot[bot] bba23e1f7a npm-dep: bump @tailwindcss/postcss from 4.0.3 to 4.0.4 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.4/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 09:48:56 +00:00
dependabot[bot] 01911874d1 npm-dep: bump tailwindcss from 4.0.3 to 4.0.4 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.4/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 09:48:46 +00:00
dependabot[bot] 052d69a2ca npm-dep: bump svelte from 5.19.8 to 5.19.9 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.19.8 to 5.19.9.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.19.9/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 09:48:33 +00:00
dependabot[bot] f83d23ce23 npm-dep: bump daisyui from 5.0.0-beta.6 to 5.0.0-beta.7 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 5.0.0-beta.6 to 5.0.0-beta.7.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 09:48:15 +00:00
dependabot[bot] d24eabfb3e npm-dep: bump vite from 6.0.11 to 6.1.0 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.11 to 6.1.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.1.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-06 09:54:17 +00:00
dependabot[bot] 83dfa54fbd npm-dep: bump svelte from 5.19.7 to 5.19.8 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.19.7 to 5.19.8.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.19.8/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-06 09:52:56 +00:00
dependabot[bot] d7ba7d812d go-dep: bump golang.org/x/sys from 0.29.0 to 0.30.0 in /backend
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/sys/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-05 09:19:44 +00:00
Maxi Quoß 540278bb67 go-dep: update 2025-02-03 21:38:07 +01:00
Maxi Quoß 3626319a0e fix: search input mobile layout 2025-02-03 21:35:52 +01:00
Maxi Quoß 2a3c426d21 change default light and dark themes 2025-02-03 21:31:12 +01:00
Maxi Quoß 00f82f2b71 fix: order tooltip 2025-02-03 21:29:04 +01:00
Maxi Quoß 0eaff40b51 fix: add search placeholder to pl 2025-02-03 21:26:31 +01:00
seriousm4x efe3b03c34 Merge pull request #969 from majabojarska/i18n-add-pl-PL
Add Polish i18n
2025-02-03 21:21:54 +01:00
Maxi Quoß 77147f04c1 feat: add search bar 2025-02-03 21:18:32 +01:00
dependabot[bot] fa040c3442 npm-dep: bump daisyui from 5.0.0-beta.5 to 5.0.0-beta.6 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 5.0.0-beta.5 to 5.0.0-beta.6.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 09:48:58 +00:00
dependabot[bot] b8df1d89b1 npm-dep: bump @tailwindcss/postcss from 4.0.1 to 4.0.3 in /frontend
Bumps [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.3/packages/@tailwindcss-postcss)

---
updated-dependencies:
- dependency-name: "@tailwindcss/postcss"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 09:47:41 +00:00
dependabot[bot] 4c6aafaec7 npm-dep: bump tailwindcss from 4.0.1 to 4.0.3 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.3/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 09:47:32 +00:00
dependabot[bot] 494413405c npm-dep: bump @eslint/compat from 1.2.5 to 1.2.6 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.5...compat-v1.2.6)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 09:47:20 +00:00
dependabot[bot] 08741d0f5c go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.24.4 to 0.25.0.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.24.4...v0.25.0)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 09:22:54 +00:00
Maja Bojarska f149c25268 add pl i18n 2025-02-02 20:58:32 +01:00
dependabot[bot] 60d509309f npm-dep: bump svelte from 5.19.5 to 5.19.6 in /frontend
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 5.19.5 to 5.19.6.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/main/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@5.19.6/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-31 09:48:13 +00:00
Maxi Quoß 56e7c230b3 fix: replace $page with new page store 2025-01-30 18:54:55 +01:00
Maxi Quoß 169ecf5773 fix: update components to comply with daiysUI v5 2025-01-30 18:52:50 +01:00
Maxi Quoß f410caaa54 fix: order button joint-item border 2025-01-30 17:09:18 +01:00
Maxi Quoß e4a12c5d3c fix: improve welcome screen logic 2025-01-30 17:08:26 +01:00
dependabot[bot] cef361232d npm-dep: bump daisyui from 5.0.0-beta.2 to 5.0.0-beta.5 in /frontend
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 5.0.0-beta.2 to 5.0.0-beta.5.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 09:54:10 +00:00
Maxi Quoß b22ca4525e feat: daisyUI 5, tailwind 4, design adjustments 2025-01-29 22:31:16 +01:00
dependabot[bot] 9107e4f252 npm-dep: bump typescript-eslint from 8.21.0 to 8.22.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.21.0 to 8.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.22.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-28 09:19:46 +00:00
dependabot[bot] 957ad71108 npm-dep: bump @eslint/js from 9.18.0 to 9.19.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.18.0 to 9.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.19.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 09:57:49 +00:00
dependabot[bot] f88b7a4bf6 npm-dep: bump eslint from 9.18.0 to 9.19.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.18.0 to 9.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.18.0...v9.19.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 09:57:30 +00:00
dependabot[bot] d1158df2ed npm-dep: bump prettier-plugin-tailwindcss in /frontend
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.10 to 0.6.11.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.10...v0.6.11)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 09:37:36 +00:00
Maxi Quoß 65be53bd3c fix: goreleaser deprecation warning 2025-01-23 12:31:47 +01:00
Maxi Quoß c70efd082f pnpm format 2025-01-23 12:31:47 +01:00
dependabot[bot] 0c68342c11 npm-dep: bump vite from 5.4.12 to 5.4.14 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.12 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 11:14:37 +00:00
Maxi Quoß 8906b2b6ce fix: dependabot ignore major releases 2025-01-23 12:13:00 +01:00
Maxi Quoß d36da86fb7 Revert "npm-dep: bump tailwindcss from 3.4.17 to 4.0.0 in /frontend"
This reverts commit 09d856e8eb.
2025-01-23 12:05:37 +01:00
Maxi Quoß c926eb792e pnpm format 2025-01-23 11:40:23 +01:00
dependabot[bot] 09d856e8eb npm-dep: bump tailwindcss from 3.4.17 to 4.0.0 in /frontend
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.17 to 4.0.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/next/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.0.0/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 09:09:24 +00:00
Maxi Quoß 0e42758513 feat: auto open device link after wake 2025-01-22 15:28:32 +01:00
Maxi Quoß 973a1b80d0 feat: add device description field 2025-01-22 13:21:07 +01:00
Maxi Quoß 558e6484d0 format 2025-01-22 12:45:19 +01:00
Maxi Quoß 8cb100552d fix: grammar in shutdown description 2025-01-22 12:44:27 +01:00
dependabot[bot] ef58ce188a npm-dep: bump vite from 5.4.11 to 5.4.12 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.11 to 5.4.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 11:20:59 +00:00
dependabot[bot] 5189a2cbf2 npm-dep: bump @sveltejs/kit from 2.16.0 to 2.16.1 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.16.1/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 09:53:25 +00:00
dependabot[bot] 567fa46e77 go-dep: bump github.com/prometheus-community/pro-bing in /backend
Bumps [github.com/prometheus-community/pro-bing](https://github.com/prometheus-community/pro-bing) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/prometheus-community/pro-bing/releases)
- [Changelog](https://github.com/prometheus-community/pro-bing/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/prometheus-community/pro-bing/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus-community/pro-bing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 09:30:59 +00:00
dependabot[bot] 4f015fbeee npm-dep: bump @sveltejs/kit from 2.15.3 to 2.16.0 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.15.3 to 2.16.0.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.16.0/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-21 09:22:42 +00:00
dependabot[bot] 9cd8cb21c9 npm-dep: bump typescript-eslint from 8.20.0 to 8.21.0 in /frontend
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.20.0 to 8.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.21.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-21 09:21:05 +00:00
dependabot[bot] eea7ff492b go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.24.3 to 0.24.4.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.24.3...v0.24.4)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 10:02:01 +00:00
dependabot[bot] 42d35dfbd6 npm-dep: bump pocketbase from 0.25.0 to 0.25.1 in /frontend
Bumps [pocketbase](https://github.com/pocketbase/js-sdk) from 0.25.0 to 0.25.1.
- [Release notes](https://github.com/pocketbase/js-sdk/releases)
- [Changelog](https://github.com/pocketbase/js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/js-sdk/commits)

---
updated-dependencies:
- dependency-name: pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 09:47:27 +00:00
Maxi Quoß 22c16cc455 go-dep: update 2025-01-17 02:02:35 +01:00
Maxi Quoß 7764ccc65f npm-dep: update 2025-01-17 02:02:30 +01:00
Maxi Quoß 62cb0e8f73 fix: js eslint warning 2025-01-17 02:02:12 +01:00
Maxi Quoß 2d8fce32d3 feat: allow non http/https links for ports and devices
https://github.com/seriousm4x/UpSnap/discussions/556
https://github.com/seriousm4x/UpSnap/discussions/662
https://github.com/seriousm4x/UpSnap/discussions/926
2025-01-17 00:53:39 +01:00
Maxi Quoß 3746d71c2d formatting 2025-01-17 00:50:21 +01:00
dependabot[bot] 34a0ae5c65 npm-dep: bump prettier-plugin-tailwindcss in /frontend
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.9 to 0.6.10.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.9...v0.6.10)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 09:19:42 +00:00
dependabot[bot] 3e7eb6cbf9 npm-dep: bump @sveltejs/kit from 2.15.2 to 2.15.3 in /frontend
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 2.15.2 to 2.15.3.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.15.3/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 09:19:27 +00:00
dependabot[bot] 9da93677bf npm-dep: bump postcss from 8.5.0 to 8.5.1 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.0 to 8.5.1.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.0...8.5.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 09:38:14 +00:00
dependabot[bot] 71319f0497 npm-dep: bump eslint-config-prettier from 9.1.0 to 10.0.1 in /frontend
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.1.0 to 10.0.1.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.1.0...v10.0.1)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 09:11:28 +00:00
Maxi Quoß 74326f3436 prettier formatting 2025-01-14 00:04:21 +01:00
Maxi Quoß db8eaab3db npm-dep: update 2025-01-14 00:03:55 +01:00
Maxi Quoß 8da9b15b5e go-dep: update 2025-01-14 00:03:50 +01:00
Maxi Quoß 641095b1bd feat: add freebsd support 2025-01-14 00:00:29 +01:00
seriousm4x 14a9841218 Merge pull request #940 from hrhrkeee/add-Japanese-Language
Added ja-JP language
2025-01-13 23:50:15 +01:00
hrhrkeee 1f0818b5ed Update README.md 2025-01-14 00:50:16 +09:00
dependabot[bot] 84f7a792cf npm-dep: bump svelte-check from 4.1.3 to 4.1.4 in /frontend
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-4.1.3...svelte-check-4.1.4)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 10:00:00 +00:00
dependabot[bot] c9bb412729 npm-dep: bump @eslint/js from 9.17.0 to 9.18.0 in /frontend
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.17.0 to 9.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.18.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 09:58:59 +00:00
dependabot[bot] 1216702203 npm-dep: bump eslint from 9.17.0 to 9.18.0 in /frontend
Bumps [eslint](https://github.com/eslint/eslint) from 9.17.0 to 9.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.17.0...v9.18.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 09:57:27 +00:00
dependabot[bot] 7e30943015 npm-dep: bump @eslint/compat from 1.2.4 to 1.2.5 in /frontend
Bumps [@eslint/compat](https://github.com/eslint/rewrite) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/compat-v1.2.4...compat-v1.2.5)

---
updated-dependencies:
- dependency-name: "@eslint/compat"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 09:55:58 +00:00
dependabot[bot] 7c91f02606 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.24.2...v0.24.3)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 09:25:04 +00:00
hrhrkeee 743da5c4f3 add JapaneseLanguage(日本語) 2025-01-13 18:12:01 +09:00
dependabot[bot] d1a0457702 go-dep: bump github.com/pocketbase/pocketbase in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.24.1...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-10 09:10:10 +00:00
119 changed files with 8264 additions and 9003 deletions
+6
View File
@@ -8,6 +8,9 @@ updates:
open-pull-requests-limit: 10
commit-message:
prefix: go-dep
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- package-ecosystem: npm
directory: "/frontend"
schedule:
@@ -15,6 +18,9 @@ updates:
open-pull-requests-limit: 10
commit-message:
prefix: npm-dep
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- package-ecosystem: github-actions
directory: "/"
schedule:
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
+2 -2
View File
@@ -25,9 +25,9 @@ jobs:
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version-file: "./backend/go.mod"
cache-dependency-path: "./backend/go.sum"
+90 -34
View File
@@ -15,7 +15,9 @@ jobs:
- name: Set runner
id: set-runner
run: |
runners=$(curl -s -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.REPO_ACCESS_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/actions/runners")
runners=$(curl -s -H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.REPO_ACCESS_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/actions/runners")
available=$(echo "$runners" | jq '.runners[] | select(.status == "online" and .busy == false and .labels[] .name == "self-hosted")')
if [ -n "$available" ]; then
echo "runner-label=self-hosted" >> "$GITHUB_OUTPUT"
@@ -23,39 +25,85 @@ jobs:
echo "runner-label=ubuntu-latest" >> "$GITHUB_OUTPUT"
fi
goreleaser:
frontend:
needs: check-runner
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
# pull code
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 1
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: latest
cache: pnpm
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Cache frontend build
uses: actions/cache@v4
with:
path: |
frontend/node_modules
frontend/.svelte-kit
key: ${{ runner.os }}-pnpm-${{ hashFiles('frontend/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Build frontend
run: |
pnpm --prefix=./frontend install --frozen-lockfile --prefer-offline
PUBLIC_VERSION=${GITHUB_REF##*/} pnpm --prefix=./frontend run build
tar -czf frontend-dist.tar.gz -C frontend/build .
- name: Upload frontend artifact
uses: actions/upload-artifact@v4
with:
name: frontend-dist
path: frontend-dist.tar.gz
goreleaser:
needs:
- check-runner
- frontend
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
# install latest node
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Download frontend artifact
uses: actions/download-artifact@v5
with:
node-version: latest
name: frontend-dist
# build sveltekit frontend
- name: Build frontend
- name: Extract frontend into backend
run: |
npm i -g pnpm
pnpm --prefix=./frontend i
PUBLIC_VERSION=${GITHUB_REF##*/} pnpm --prefix=./frontend run build
cp -r ./frontend/build/* ./backend/pb_public/
mkdir -p backend/pb_public
tar -xzf frontend-dist.tar.gz -C backend/pb_public
git reset --hard
git clean -fd
# setup go
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version-file: "./backend/go.mod"
cache-dependency-path: "./backend/go.sum"
go-version-file: backend/go.mod
cache-dependency-path: backend/go.sum
- name: Cache Go build
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('backend/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
# build
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
@@ -67,17 +115,29 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
- name: Upload backend artifact
uses: actions/upload-artifact@v4
with:
name: backend-dist
path: backend/dist
docker:
needs:
- goreleaser
- check-runner
- frontend
- goreleaser
runs-on: ${{ needs.check-runner.outputs.runner-label }}
steps:
# pull code
- name: Check Out Repo
uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Download backend artifact
uses: actions/download-artifact@v5
with:
name: backend-dist
path: backend/dist
# image tags
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
@@ -91,33 +151,27 @@ jobs:
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
# qemu
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# docker buildx
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
# ghcr.io login
- name: Log in to the Container registry
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# ducker hub login
- name: Login to Docker Hub
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# build and push
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
@@ -125,5 +179,7 @@ jobs:
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
VERSION=${{github.ref_name}}
VERSION=${{ github.ref_name }}
+2
View File
@@ -234,3 +234,5 @@ backend/pb_public/*
dist/
vite.config.js.timestamp*
frontend/src/lib/paraglide
+77 -24
View File
@@ -19,6 +19,15 @@
</div>
</div>
> [!NOTE]
>
> #### UpSnap is, and always will be, free and open source software.
>
> If someone is asking you to pay money for access to UpSnap binaries, source code, or licenses, you are being scammed.
>
> The official and only trusted source for UpSnap is this repository (and its linked releases).
> Do not pay third parties for something that is provided here for free.
## ✨ Features
- 🚀 One-Click Device Wake-Up Dashboard
@@ -26,27 +35,21 @@
- 🔌 Ping Any Port You Choose
- 🔍 Discover Devices with Network Scanning (nmap required)
- 👤 Secured User Management
- 🌐 i18n support for [these](https://github.com/seriousm4x/UpSnap/tree/master/frontend/src/lib/i18n) languages
- 🎨 29 Themes
- 🌐 i18n support for [these](/frontend/translations) languages
- 🎨 35 Themes
- 🐳 [Docker images](https://github.com/seriousm4x/UpSnap/pkgs/container/upsnap) for amd64, arm64, arm/v7, arm/v6
- 🏠 Self-Hostable
## 📸 Screenshots
| Dark | Light |
| --------------------------------- | ---------------------------------- |
| ![](/assets/home-dark.webp) | ![](/assets/home-light.webp) |
| ![](/assets/account-dark.webp) | ![](/assets/account-light.webp) |
| ![](/assets/new-manual-dark.webp) | ![](/assets/new-manual-light.webp) |
| ![](/assets/new-scan-dark.webp) | ![](/assets/new-scan-light.webp) |
| ![](/assets/settings-dark.webp) | ![](/assets/settings-light.webp) |
| ![](/assets/users-dark.webp) | ![](/assets/users-light.webp) |
## 🐧 Install from the [AUR](https://aur.archlinux.org/packages/upsnap-bin)
```bash
yay -Sy upsnap-bin
```
| Silk | Dim |
| ---------------------------------- | --------------------------------- |
| ![](/assets/home-light.webp) | ![](/assets/home-dark.webp) |
| ![](/assets/account-light.webp) | ![](/assets/account-dark.webp) |
| ![](/assets/new-manual-light.webp) | ![](/assets/new-manual-dark.webp) |
| ![](/assets/new-scan-light.webp) | ![](/assets/new-scan-dark.webp) |
| ![](/assets/settings-light.webp) | ![](/assets/settings-dark.webp) |
| ![](/assets/users-light.webp) | ![](/assets/users-dark.webp) |
## 🚀 Run the binary
@@ -75,6 +78,8 @@ You can use the [docker-compose](docker-compose.yml) example. See the comments i
### Non-root docker user:
You will lose the ability to add network devices via the scan page.
Create the mount point first:
```bash
@@ -111,6 +116,46 @@ upsnap.example.com {
}
```
### Run in sub path
You can run UpSnap on a different path than `/`, e.g. `/upsnap-sub-path/`. To do this in caddy, set the following:
```
http://localhost:8091 {
handle /upsnap-sub-path/* {
uri strip_prefix /upsnap-sub-path
reverse_proxy localhost:8090
}
}
```
Or nginx:
```
http {
server {
listen 8091;
server_name localhost;
location /upsnap-sub-path/ {
proxy_pass http://localhost:8090/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}
```
Paths must end with a trailing `/`.
## 🐧 Install from the [AUR](https://aur.archlinux.org/packages/upsnap-bin)
```bash
yay -Sy upsnap-bin
```
## 🔒 User permissions
UpSnap offers unique access for each user, per device. While admins have all permissions, they can assign specific rights to users such as displaying/hiding a device, accessing device editing, deleting and powering devices on/off. See the last screenshot in the [📸 Screenshots section](#-screenshots).
@@ -127,15 +172,23 @@ Although UpSnap has user authorisation, it is **not recommended to expose it to
UpSnap is available in the following languages so far:
- 🇺🇸 **English** (en-US)
- 🇩🇪 **German** (de-DE)
- 🇪🇸 **Spanish** (es-ES)
- 🇫🇷 **French** (fr-FR)
- 🇮🇹 **Italian** (it-IT)
- 🇳🇱 **Dutch** (nl-NL)
- 🇵🇹 **Portuguese** (pt-PT)
- 🇨🇳 **Chinese** (zh-CN)
- 🇧🇬 **Bulgarian (Bulgaria)** (bg-BG)
- 🇩🇪 **German (Germany)** (de-DE)
- 🇺🇸 **English (United States)** (en-US)
- 🇪🇸 **Spanish (Spain)** (es-ES)
- 🇫🇷 **French (France)** (fr-FR)
- 🇮🇳 **Hindi (India)** (hi-IN)
- 🇮🇩 **Bahasa (Indonesia)** (id-ID)
- 🇮🇹 **Italian (Italy)** (it-IT)
- 🇯🇵 **Japanese (Japan)** (ja-JP)
- 🇳🇱 **Dutch (Netherlands)** (nl-NL)
- 🇳🇴 **Norwegian (Norway)** (nb-NO)
- 🇵🇱 **Polish (Poland)** (pl-PL)
- 🇵🇹 **Portuguese (Portugal)** (pt-PT)
- 🇺🇦 **Ukrainian (Ukrain)** (uk-UA)
- 🇻🇳 **Vietnamese (Vietnam)** (vi-VN)
- 🇹🇼 **Chinese (Taiwan)** (zh-TW)
- 🇨🇳 **Chinese (China)** (zh-CN)
**If you want to contribute and help translating, check the wiki: [How to add languages](https://github.com/seriousm4x/UpSnap/wiki/How-to-add-languages)**
Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 70 KiB

+13 -1
View File
@@ -2,6 +2,15 @@ version: 2
release:
draft: false
prerelease: auto
header: |
> [!NOTE]
>
> #### UpSnap is, and always will be, free and open source software.
>
> If someone is asking you to pay money for access to UpSnap binaries, source code, or licenses, you are being scammed.
>
> The official and only trusted source for UpSnap is this repository (and its linked releases).
> Do not pay third parties for something that is provided here for free.
before:
hooks:
- go mod tidy
@@ -15,6 +24,7 @@ builds:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm64
@@ -27,8 +37,10 @@ builds:
goarch: arm
- goos: darwin
goarch: arm
- goos: freebsd
goarch: arm
archives:
- format: zip
- formats: [ 'zip' ]
checksum:
name_template: "checksums.txt"
snapshot:
+41 -18
View File
@@ -11,8 +11,12 @@ import (
var (
PingRunning = false
WakeShutdownRunning = false
CronPing = cron.New()
CronWakeShutdown = cron.New()
CronPing = cron.New(cron.WithParser(cron.NewParser(
cron.SecondOptional | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow,
)))
CronWakeShutdown = cron.New(cron.WithParser(cron.NewParser(
cron.SecondOptional | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow,
)))
)
func SetPingJobs(app *pocketbase.PocketBase) {
@@ -55,7 +59,11 @@ func SetPingJobs(app *pocketbase.PocketBase) {
if status == "pending" {
return
}
if networking.PingDevice(d) {
isUp, err := networking.PingDevice(d)
if err != nil {
logger.Error.Println(err)
}
if isUp {
if status == "online" {
return
}
@@ -81,7 +89,10 @@ func SetPingJobs(app *pocketbase.PocketBase) {
logger.Error.Println(err)
}
for _, port := range ports {
isUp := networking.CheckPort(d.GetString("ip"), port.GetString("number"))
isUp, err := networking.CheckPort(d.GetString("ip"), port.GetString("number"))
if err != nil {
logger.Error.Println("Failed to check port:", err)
}
if isUp != port.GetBool("status") {
port.Set("status", isUp)
if err := app.Save(port); err != nil {
@@ -113,15 +124,22 @@ func SetWakeShutdownJobs(app *pocketbase.PocketBase) {
if wake_cron_enabled && wake_cron != "" {
_, err := CronWakeShutdown.AddFunc(wake_cron, func() {
isOnline := networking.PingDevice(dev)
if isOnline {
return
}
d, err := app.FindRecordById("devices", dev.Id)
if err != nil {
logger.Error.Println(err)
return
}
if d.GetString("status") == "pending" {
return
}
isOnline, err := networking.PingDevice(dev)
if err != nil {
logger.Error.Println(err)
return
}
if isOnline {
return
}
d.Set("status", "pending")
if err := app.Save(d); err != nil {
logger.Error.Println("Failed to save record:", err)
@@ -138,21 +156,28 @@ func SetWakeShutdownJobs(app *pocketbase.PocketBase) {
}
})
if err != nil {
logger.Error.Println(err)
logger.Error.Printf("device %s: %+v", dev.GetString("name"), err)
}
}
if shutdown_cron_enabled && shutdown_cron != "" {
_, err := CronWakeShutdown.AddFunc(shutdown_cron, func() {
isOnline := networking.PingDevice(dev)
if !isOnline {
return
}
d, err := app.FindRecordById("devices", dev.Id)
if err != nil {
logger.Error.Println(err)
return
}
if d.GetString("status") == "pending" {
return
}
isOnline, err := networking.PingDevice(dev)
if err != nil {
logger.Error.Println(err)
return
}
if !isOnline {
return
}
status := d.GetString("status")
if status != "online" {
return
@@ -172,7 +197,7 @@ func SetWakeShutdownJobs(app *pocketbase.PocketBase) {
}
})
if err != nil {
logger.Error.Println(err)
logger.Error.Printf("device %s: %+v", dev.GetString("name"), err)
}
}
}
@@ -187,8 +212,7 @@ func StartWakeShutdown() {
func StopWakeShutdown() {
if WakeShutdownRunning {
logger.Info.Println("Stopping wake/shutdown cronjob")
ctx := CronWakeShutdown.Stop()
<-ctx.Done()
CronWakeShutdown.Stop()
}
WakeShutdownRunning = false
}
@@ -201,8 +225,7 @@ func StartPing() {
func StopPing() {
if PingRunning {
logger.Info.Println("Stopping wake/shutdown cronjob")
ctx := CronPing.Stop()
<-ctx.Done()
CronPing.Stop()
}
PingRunning = false
}
+24 -56
View File
@@ -1,83 +1,51 @@
module github.com/seriousm4x/upsnap
go 1.23.4
go 1.24.1
require (
github.com/mdlayher/wol v0.0.0-20220221231636-b763a792253a
github.com/pocketbase/dbx v1.11.0
github.com/pocketbase/pocketbase v0.24.1
github.com/prometheus-community/pro-bing v0.5.0
github.com/pocketbase/pocketbase v0.30.0
github.com/prometheus-community/pro-bing v0.7.0
github.com/robfig/cron/v3 v3.0.1
golang.org/x/sys v0.29.0
golang.org/x/sys v0.36.0
)
require (
github.com/AlecAivazis/survey/v2 v2.3.7 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/aws/aws-sdk-go-v2 v1.32.7 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7 // indirect
github.com/aws/aws-sdk-go-v2/config v1.28.7 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.48 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.22 // indirect
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.44 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.26 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.26 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.26 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.7 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.7 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v1.71.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.24.8 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.7 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.33.3 // indirect
github.com/aws/smithy-go v1.22.1 // indirect
github.com/disintegration/imaging v1.6.2 // indirect
github.com/domodwyer/mailyak/v3 v3.6.2 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.7 // indirect
github.com/ganigeorgiev/fexpr v0.4.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.10 // indirect
github.com/ganigeorgiev/fexpr v0.5.0 // indirect
github.com/go-ozzo/ozzo-validation/v4 v4.3.0 // indirect
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/go-sql-driver/mysql v1.9.3 // indirect
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/native v1.1.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mdlayher/ethernet v0.0.0-20220221185849-529eae5b6118 // indirect
github.com/mdlayher/packet v1.1.2 // indirect
github.com/mdlayher/socket v0.5.1 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/spf13/cast v1.7.1 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.opencensus.io v0.24.0 // indirect
gocloud.dev v0.40.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/image v0.23.0 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/term v0.27.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
google.golang.org/api v0.214.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241230172942-26aa7a208def // indirect
google.golang.org/grpc v1.69.2 // indirect
google.golang.org/protobuf v1.36.1 // indirect
modernc.org/gc/v3 v3.0.0-20241223112719-96e2e1e4408d // indirect
modernc.org/libc v1.55.3 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/cobra v1.10.1 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/stretchr/testify v1.11.1 // indirect
golang.org/x/crypto v0.42.0 // indirect
golang.org/x/exp v0.0.0-20250911091902-df9299821621 // indirect
golang.org/x/image v0.31.0 // indirect
golang.org/x/net v0.44.0 // indirect
golang.org/x/oauth2 v0.31.0 // indirect
golang.org/x/sync v0.17.0 // indirect
golang.org/x/text v0.29.0 // indirect
modernc.org/libc v1.66.3 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/sqlite v1.34.4 // indirect
modernc.org/strutil v1.2.1 // indirect
modernc.org/token v1.1.0 // indirect
modernc.org/memory v1.11.0 // indirect
modernc.org/sqlite v1.38.2 // indirect
)
+68 -290
View File
@@ -1,72 +1,9 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.115.0 h1:CnFSK6Xo3lDYRoBKEcAtia6VSC837/ZkJuRduSFnr14=
cloud.google.com/go v0.115.0/go.mod h1:8jIM5vVgoAEoiVxQ/O4BFTfHqulPZgs/ufEzMcFMdWU=
cloud.google.com/go/auth v0.13.0 h1:8Fu8TZy167JkW8Tj3q7dIkr2v4cndv41ouecJx0PAHs=
cloud.google.com/go/auth v0.13.0/go.mod h1:COOjD9gwfKNKz+IIduatIhYJQIc0mG3H102r/EMxX6Q=
cloud.google.com/go/auth/oauth2adapt v0.2.6 h1:V6a6XDu2lTwPZWOawrAa9HUK+DB2zfJyTuciBG5hFkU=
cloud.google.com/go/auth/oauth2adapt v0.2.6/go.mod h1:AlmsELtlEBnaNTL7jCj8VQFLy6mbZv0s4Q7NGBeQ5E8=
cloud.google.com/go/compute/metadata v0.6.0 h1:A6hENjEsCDtC1k8byVsgwvVcioamEHvZ4j01OwKxG9I=
cloud.google.com/go/compute/metadata v0.6.0/go.mod h1:FjyFAW1MW0C203CEOMDTu3Dk1FlqW3Rga40jzHL4hfg=
cloud.google.com/go/iam v1.1.13 h1:7zWBXG9ERbMLrzQBRhFliAV+kjcRToDTgQT3CTwYyv4=
cloud.google.com/go/iam v1.1.13/go.mod h1:K8mY0uSXwEXS30KrnVb+j54LB/ntfZu1dr+4zFMNbus=
cloud.google.com/go/storage v1.43.0 h1:CcxnSohZwizt4LCzQHWvBf1/kvtHUn7gk9QERXPyXFs=
cloud.google.com/go/storage v1.43.0/go.mod h1:ajvxEa7WmZS1PxvKRq4bq0tFT3vMd502JwstCcYv0Q0=
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ=
github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w=
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg=
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
github.com/aws/aws-sdk-go-v2 v1.32.7 h1:ky5o35oENWi0JYWUZkB7WYvVPP+bcRF5/Iq7JWSb5Rw=
github.com/aws/aws-sdk-go-v2 v1.32.7/go.mod h1:P5WJBrYqqbWVaOxgH0X/FYYD47/nooaPOZPlQdmiN2U=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7 h1:lL7IfaFzngfx0ZwUGOZdsFFnQ5uLvR0hWqqhyE7Q9M8=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.7/go.mod h1:QraP0UcVlQJsmHfioCrveWOC1nbiWUl3ej08h4mXWoc=
github.com/aws/aws-sdk-go-v2/config v1.28.7 h1:GduUnoTXlhkgnxTD93g1nv4tVPILbdNQOzav+Wpg7AE=
github.com/aws/aws-sdk-go-v2/config v1.28.7/go.mod h1:vZGX6GVkIE8uECSUHB6MWAUsd4ZcG2Yq/dMa4refR3M=
github.com/aws/aws-sdk-go-v2/credentials v1.17.48 h1:IYdLD1qTJ0zanRavulofmqut4afs45mOWEI+MzZtTfQ=
github.com/aws/aws-sdk-go-v2/credentials v1.17.48/go.mod h1:tOscxHN3CGmuX9idQ3+qbkzrjVIx32lqDSU1/0d/qXs=
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.22 h1:kqOrpojG71DxJm/KDPO+Z/y1phm1JlC8/iT+5XRmAn8=
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.22/go.mod h1:NtSFajXVVL8TA2QNngagVZmUtXciyrHOt7xgz4faS/M=
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.44 h1:2zxMLXLedpB4K1ilbJFxtMKsVKaexOqDttOhc0QGm3Q=
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.44/go.mod h1:VuLHdqwjSvgftNC7yqPWyGVhEwPmJpeRi07gOgOfHF8=
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.26 h1:I/5wmGMffY4happ8NOCuIUEWGUvvFp5NSeQcXl9RHcI=
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.26/go.mod h1:FR8f4turZtNy6baO0KJ5FJUmXH/cSkI9fOngs0yl6mA=
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.26 h1:zXFLuEuMMUOvEARXFUVJdfqZ4bvvSgdGRq/ATcrQxzM=
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.26/go.mod h1:3o2Wpy0bogG1kyOPrgkXA8pgIfEEv0+m19O9D5+W8y8=
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 h1:VaRN3TlFdd6KxX1x3ILT5ynH6HvKgqdiXoTxAF4HQcQ=
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1/go.mod h1:FbtygfRFze9usAadmnGJNc8KsP346kEe+y2/oyhGAGc=
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.26 h1:GeNJsIFHB+WW5ap2Tec4K6dzcVTsRbsT1Lra46Hv9ME=
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.26/go.mod h1:zfgMpwHDXX2WGoG84xG2H+ZlPTkJUU4YUvx2svLQYWo=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1 h1:iXtILhvDxB6kPvEXgsDhGaZCSC6LQET5ZHSdJozeI0Y=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.1/go.mod h1:9nu0fVANtYiAePIBh2/pFUSwtJ402hLnp854CNoDOeE=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.7 h1:tB4tNw83KcajNAzaIMhkhVI2Nt8fAZd5A5ro113FEMY=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.4.7/go.mod h1:lvpyBGkZ3tZ9iSsUIcC2EWp+0ywa7aK3BLT+FwZi+mQ=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7 h1:8eUsivBQzZHqe/3FE+cqwfH+0p5Jo8PFM/QYQSmeZ+M=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.7/go.mod h1:kLPQvGUmxn/fqiCrDeohwG33bq2pQpGeY62yRO6Nrh0=
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.7 h1:Hi0KGbrnr57bEHWM0bJ1QcBzxLrL/k2DHvGYhb8+W1w=
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.7/go.mod h1:wKNgWgExdjjrm4qvfbTorkvocEstaoDl4WCvGfeCy9c=
github.com/aws/aws-sdk-go-v2/service/s3 v1.71.1 h1:aOVVZJgWbaH+EJYPvEgkNhCEbXXvH7+oML36oaPK3zE=
github.com/aws/aws-sdk-go-v2/service/s3 v1.71.1/go.mod h1:r+xl5yzMk9083rMR+sJ5TYj9Tihvf/l1oxzZXDgGj2Q=
github.com/aws/aws-sdk-go-v2/service/sso v1.24.8 h1:CvuUmnXI7ebaUAhbJcDy9YQx8wHR69eZ9I7q5hszt/g=
github.com/aws/aws-sdk-go-v2/service/sso v1.24.8/go.mod h1:XDeGv1opzwm8ubxddF0cgqkZWsyOtw4lr6dxwmb6YQg=
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.7 h1:F2rBfNAL5UyswqoeWv9zs74N/NanhK16ydHW1pahX6E=
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.7/go.mod h1:JfyQ0g2JG8+Krq0EuZNnRwX0mU0HrwY/tG6JNfcqh4k=
github.com/aws/aws-sdk-go-v2/service/sts v1.33.3 h1:Xgv/hyNgvLda/M9l9qxXc4UFSgppnRczLxlMs5Ae/QY=
github.com/aws/aws-sdk-go-v2/service/sts v1.33.3/go.mod h1:5Gn+d+VaaRgsjewpMvGazt0WfcFO+Md4wLOuBfGR9Bc=
github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro=
github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI=
github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -76,93 +13,42 @@ github.com/domodwyer/mailyak/v3 v3.6.2 h1:x3tGMsyFhTCaxp6ycgR0FE/bu5QiNp+hetUuCO
github.com/domodwyer/mailyak/v3 v3.6.2/go.mod h1:lOm/u9CyCVWHeaAmHIdF4RiKVxKUT/H5XX10lIKAL6c=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/gabriel-vasile/mimetype v1.4.7 h1:SKFKl7kD0RiPdbht0s7hFtjl489WcQ1VyPW8ZzUMYCA=
github.com/gabriel-vasile/mimetype v1.4.7/go.mod h1:GDlAgAyIRT27BhFl53XNAFtfjzOkLaF35JdEG0P7LtU=
github.com/ganigeorgiev/fexpr v0.4.1 h1:hpUgbUEEWIZhSDBtf4M9aUNfQQ0BZkGRaMePy7Gcx5k=
github.com/ganigeorgiev/fexpr v0.4.1/go.mod h1:RyGiGqmeXhEQ6+mlGdnUleLHgtzzu/VGO2WtJkF5drE=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/gabriel-vasile/mimetype v1.4.10 h1:zyueNbySn/z8mJZHLt6IPw0KoZsiQNszIpU+bX4+ZK0=
github.com/gabriel-vasile/mimetype v1.4.10/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
github.com/ganigeorgiev/fexpr v0.5.0 h1:XA9JxtTE/Xm+g/JFI6RfZEHSiQlk+1glLvRK1Lpv/Tk=
github.com/ganigeorgiev/fexpr v0.5.0/go.mod h1:RyGiGqmeXhEQ6+mlGdnUleLHgtzzu/VGO2WtJkF5drE=
github.com/go-ozzo/ozzo-validation/v4 v4.3.0 h1:byhDUpfEwjsVQb1vBunvIjh2BHQ9ead57VkAEY4V+Es=
github.com/go-ozzo/ozzo-validation/v4 v4.3.0/go.mod h1:2NKgrcHl3z6cJs+3Oo940FPRiTzuqKbvfrL2RxCj6Ew=
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y=
github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo=
github.com/golang-jwt/jwt/v4 v4.5.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo=
github.com/go-sql-driver/mysql v1.9.3/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU=
github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo=
github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 h1:FKHo8hFI3A+7w0aUQuYXQ+6EN5stWmeY/AZqtM8xk9k=
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo=
github.com/google/s2a-go v0.1.8 h1:zZDs9gcbt9ZPLV0ndSyQk6Kacx2g/X+SKYovpnz3SMM=
github.com/google/s2a-go v0.1.8/go.mod h1:6iNWHTpQ+nfNRN5E00MSdfDwVesa8hhS32PhPO8deJA=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/pprof v0.0.0-20250317173921-a4b03ec1a45e h1:ijClszYn+mADRFY17kjQEVQ1XRhq2/JR1M3sGqeJoxs=
github.com/google/pprof v0.0.0-20250317173921-a4b03ec1a45e/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/wire v0.6.0 h1:HBkoIh4BdSxoyo9PveV8giw7ZsaBOvzWKfcg/6MrVwI=
github.com/google/wire v0.6.0/go.mod h1:F4QhpQ9EDIdJ1Mbop/NZBRB+5yrR6qg3BnctaoUk6NA=
github.com/googleapis/enterprise-certificate-proxy v0.3.4 h1:XYIDZApgAnrN1c855gTgghdIA6Stxb52D5RnLI1SLyw=
github.com/googleapis/enterprise-certificate-proxy v0.3.4/go.mod h1:YKe7cfqYXjKGpGvmSg28/fFvhNzinZQm8DGnaburhGA=
github.com/googleapis/gax-go/v2 v2.14.1 h1:hb0FFeiPaQskmvakKu5EbCbpntQn48jyHuvrkurSS/Q=
github.com/googleapis/gax-go/v2 v2.14.1/go.mod h1:Hb/NubMaVM88SrNkvl8X/o8XWwDJEPqouaLeN2IUxoA=
github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog=
github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/josharian/native v1.0.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w=
github.com/josharian/native v1.1.0 h1:uuaP0hAbW7Y4l0ZRQ6C9zfb7Mg1mbFKry/xzDAfmtLA=
github.com/josharian/native v1.1.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w=
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs=
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mdlayher/ethernet v0.0.0-20190313224307-5b5fc417d966/go.mod h1:5s5p/sMJ6sNsFl6uCh85lkFGV8kLuIYJCRJLavVJwvg=
@@ -177,20 +63,16 @@ github.com/mdlayher/socket v0.5.1 h1:VZaqt6RkGkt2OE9l3GcC6nZkqD3xKeQLyfleW/uBcos
github.com/mdlayher/socket v0.5.1/go.mod h1:TjPLHI1UgwEv5J1B5q0zTZq12A/6H7nKmtTanQE37IQ=
github.com/mdlayher/wol v0.0.0-20220221231636-b763a792253a h1:fpQi42PM6HzbHwNg6a7OvLbh5l49Rgr7GCARozjHwio=
github.com/mdlayher/wol v0.0.0-20220221231636-b763a792253a/go.mod h1:XX6nvyQpGc8E4KaQm62FyexOYd36ilpyfYf8wjgMDV8=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI=
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4=
github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pocketbase/dbx v1.11.0 h1:LpZezioMfT3K4tLrqA55wWFw1EtH1pM4tzSVa7kgszU=
github.com/pocketbase/dbx v1.11.0/go.mod h1:xXRCIAKTHMgUCyCKZm55pUOdvFziJjQfXaWKhu2vhMs=
github.com/pocketbase/pocketbase v0.24.1 h1:Hhx3L4eap7g3kyBQ8OuWneZo7mYu1lrMvqQpxjK+zcs=
github.com/pocketbase/pocketbase v0.24.1/go.mod h1:VVaUmgKgjCBW3s/ob2SSHuDNtTboTbwK/VyTUguTt3o=
github.com/prometheus-community/pro-bing v0.5.0 h1:Fq+4BUXKIvsPtXUY8K+04ud9dkAuFozqGmRAyNUpffY=
github.com/prometheus-community/pro-bing v0.5.0/go.mod h1:1joR9oXdMEAcAJJvhs+8vNDvTg5thfAZcRFhcUozG2g=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/pocketbase/pocketbase v0.30.0 h1:7v9O3hBYyHyptnnFjdP8tEJIuyHEfjhG6PC4gjf5eoE=
github.com/pocketbase/pocketbase v0.30.0/go.mod h1:gZIwampw4VqMcEdGHwBZgSa54xWIDgVJb4uINUMXLmA=
github.com/prometheus-community/pro-bing v0.7.0 h1:KFYFbxC2f2Fp6c+TyxbCOEarf7rbnzr9Gw8eIb0RfZA=
github.com/prometheus-community/pro-bing v0.7.0/go.mod h1:Moob9dvlY50Bfq6i88xIwfyw7xLFHH69LUgx9n5zqCE=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
@@ -198,183 +80,79 @@ github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzG
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 h1:r6I7RJCN86bpD/FQwedZ0vSixDpwuWREjW9oRMsmqDc=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0/go.mod h1:B9yO6b04uB80CzjedvewuqDhxJxi11s7/GtiGa8bAjI=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 h1:TT4fX+nBOA/+LUkobKGW1ydGcn+G3vRw9+g5HwCphpk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8=
go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY=
go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE=
go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE=
go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY=
go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk=
go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0=
go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc=
go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8=
go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys=
go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A=
gocloud.dev v0.40.0 h1:f8LgP+4WDqOG/RXoUcyLpeIAGOcAbZrZbDQCUee10ng=
gocloud.dev v0.40.0/go.mod h1:drz+VyYNBvrMTW0KZiBAYEdl8lbNZx+OQ7oQvdrFmSQ=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=
golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI=
golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8=
golang.org/x/exp v0.0.0-20250911091902-df9299821621 h1:2id6c1/gto0kaHYyrixvknJ8tUK/Qs5IsmBtrc+FtgU=
golang.org/x/exp v0.0.0-20250911091902-df9299821621/go.mod h1:TwQYMMnGpvZyc+JpB/UAuTNIsVJifOlSkrZkhcvpVUk=
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/image v0.23.0 h1:HseQ7c2OpPKTPVzNjG5fwJsOTCiiwS4QdsYi5XU6H68=
golang.org/x/image v0.23.0/go.mod h1:wJJBTdLfCCf3tiHa1fNxpZmUI4mmoZvwMCPP0ddoNKY=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/image v0.31.0 h1:mLChjE2MV6g1S7oqbXC0/UcKijjm5fnJLUYKIYrLESA=
golang.org/x/image v0.31.0/go.mod h1:R9ec5Lcp96v9FTF+ajwaH3uGxPH4fKfHHAVbUILxghA=
golang.org/x/mod v0.28.0 h1:gQBtGhjxykdjY9YhZpSlZIsbnaE2+PgjfLWUQTnoZ1U=
golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI=
golang.org/x/net v0.0.0-20190313220215-9f648a60d977/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=
golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I=
golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY=
golang.org/x/oauth2 v0.31.0 h1:8Fq0yVZLh4j4YA47vHKFTa9Ew5XIrCP8LC6UeNZnLxo=
golang.org/x/oauth2 v0.31.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug=
golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k=
golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
golang.org/x/time v0.8.0 h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg=
golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk=
golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/tools v0.37.0 h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE=
golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY=
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
google.golang.org/api v0.214.0 h1:h2Gkq07OYi6kusGOaT/9rnNljuXmqPnaig7WGPmKbwA=
google.golang.org/api v0.214.0/go.mod h1:bYPpLG8AyeMWwDU6NXoB00xC0DFkikVvd5MfwoxjLqE=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto v0.0.0-20240812133136-8ffd90a71988 h1:CT2Thj5AuPV9phrYMtzX11k+XkzMGfRAet42PmoTATM=
google.golang.org/genproto v0.0.0-20240812133136-8ffd90a71988/go.mod h1:7uvplUBj4RjHAxIZ//98LzOvrQ04JBkaixRmCMI29hc=
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 h1:CkkIfIt50+lT6NHAVoRYEyAvQGFM7xEwXUUywFvEb3Q=
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576/go.mod h1:1R3kvZ1dtP3+4p4d3G8uJ8rFk/fWlScl38vanWACI08=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241230172942-26aa7a208def h1:4P81qv5JXI/sDNae2ClVx88cgDDA6DPilADkG9tYKz8=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241230172942-26aa7a208def/go.mod h1:bdAgzvd4kFrpykc5/AC2eLUiegK9T/qxZHD4hXYf/ho=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU=
google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk=
google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
modernc.org/cc/v4 v4.21.4 h1:3Be/Rdo1fpr8GrQ7IVw9OHtplU4gWbb+wNgeoBMmGLQ=
modernc.org/cc/v4 v4.21.4/go.mod h1:HM7VJTZbUCR3rV8EYBi9wxnJ0ZBRiGE5OeGXNA0IsLQ=
modernc.org/ccgo/v4 v4.19.2 h1:lwQZgvboKD0jBwdaeVCTouxhxAyN6iawF3STraAal8Y=
modernc.org/ccgo/v4 v4.19.2/go.mod h1:ysS3mxiMV38XGRTTcgo0DQTeTmAO4oCmJl1nX9VFI3s=
modernc.org/fileutil v1.3.0 h1:gQ5SIzK3H9kdfai/5x41oQiKValumqNTDXMvKo62HvE=
modernc.org/fileutil v1.3.0/go.mod h1:XatxS8fZi3pS8/hKG2GH/ArUogfxjpEKs3Ku3aK4JyQ=
modernc.org/gc/v2 v2.4.1 h1:9cNzOqPyMJBvrUipmynX0ZohMhcxPtMccYgGOJdOiBw=
modernc.org/gc/v2 v2.4.1/go.mod h1:wzN5dK1AzVGoH6XOzc3YZ+ey/jPgYHLuVckd62P0GYU=
modernc.org/gc/v3 v3.0.0-20241223112719-96e2e1e4408d h1:d0JExN5U5FjUVHCP6L9DIlLJBZveR6KUM4AvfDUL3+k=
modernc.org/gc/v3 v3.0.0-20241223112719-96e2e1e4408d/go.mod h1:qBSLm/exCqouT2hrfyTKikWKG9IPq8EoX5fS00l3jqk=
modernc.org/libc v1.55.3 h1:AzcW1mhlPNrRtjS5sS+eW2ISCgSOLLNyFzRh/V3Qj/U=
modernc.org/libc v1.55.3/go.mod h1:qFXepLhz+JjFThQ4kzwzOjA/y/artDeg+pcYnY+Q83w=
modernc.org/cc/v4 v4.26.2 h1:991HMkLjJzYBIfha6ECZdjrIYz2/1ayr+FL8GN+CNzM=
modernc.org/cc/v4 v4.26.2/go.mod h1:uVtb5OGqUKpoLWhqwNQo/8LwvoiEBLvZXIQ/SmO6mL0=
modernc.org/ccgo/v4 v4.28.0 h1:rjznn6WWehKq7dG4JtLRKxb52Ecv8OUGah8+Z/SfpNU=
modernc.org/ccgo/v4 v4.28.0/go.mod h1:JygV3+9AV6SmPhDasu4JgquwU81XAKLd3OKTUDNOiKE=
modernc.org/fileutil v1.3.8 h1:qtzNm7ED75pd1C7WgAGcK4edm4fvhtBsEiI/0NQ54YM=
modernc.org/fileutil v1.3.8/go.mod h1:HxmghZSZVAz/LXcMNwZPA/DRrQZEVP9VX0V4LQGQFOc=
modernc.org/gc/v2 v2.6.5 h1:nyqdV8q46KvTpZlsw66kWqwXRHdjIlJOhG6kxiV/9xI=
modernc.org/gc/v2 v2.6.5/go.mod h1:YgIahr1ypgfe7chRuJi2gD7DBQiKSLMPgBQe9oIiito=
modernc.org/goabi0 v0.2.0 h1:HvEowk7LxcPd0eq6mVOAEMai46V+i7Jrj13t4AzuNks=
modernc.org/goabi0 v0.2.0/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI=
modernc.org/libc v1.66.3 h1:cfCbjTUcdsKyyZZfEUKfoHcP3S0Wkvz3jgSzByEWVCQ=
modernc.org/libc v1.66.3/go.mod h1:XD9zO8kt59cANKvHPXpx7yS2ELPheAey0vjIuZOhOU8=
modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU=
modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg=
modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E=
modernc.org/memory v1.8.0/go.mod h1:XPZ936zp5OMKGWPqbD3JShgd/ZoQ7899TUuQqxY+peU=
modernc.org/opt v0.1.3 h1:3XOZf2yznlhC+ibLltsDGzABUGVx8J6pnFMS3E4dcq4=
modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0=
modernc.org/sortutil v1.2.0 h1:jQiD3PfS2REGJNzNCMMaLSp/wdMNieTbKX920Cqdgqc=
modernc.org/sortutil v1.2.0/go.mod h1:TKU2s7kJMf1AE84OoiGppNHJwvB753OYfNl2WRb++Ss=
modernc.org/sqlite v1.34.4 h1:sjdARozcL5KJBvYQvLlZEmctRgW9xqIZc2ncN7PU0P8=
modernc.org/sqlite v1.34.4/go.mod h1:3QQFCG2SEMtc2nv+Wq4cQCH7Hjcg+p/RMlS1XK+zwbk=
modernc.org/memory v1.11.0 h1:o4QC8aMQzmcwCK3t3Ux/ZHmwFPzE6hf2Y5LbkRs+hbI=
modernc.org/memory v1.11.0/go.mod h1:/JP4VbVC+K5sU2wZi9bHoq2MAkCnrt2r98UGeSK7Mjw=
modernc.org/opt v0.1.4 h1:2kNGMRiUjrp4LcaPuLY2PzUfqM/w9N23quVwhKt5Qm8=
modernc.org/opt v0.1.4/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns=
modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w=
modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE=
modernc.org/sqlite v1.38.2 h1:Aclu7+tgjgcQVShZqim41Bbw9Cho0y/7WzYptXqkEek=
modernc.org/sqlite v1.38.2/go.mod h1:cPTJYSlgg3Sfg046yBShXENNtPrWrDX8bsbAQBzgQ5E=
modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0=
modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A=
modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y=
@@ -0,0 +1,106 @@
package migrations
import (
"github.com/pocketbase/pocketbase/core"
m "github.com/pocketbase/pocketbase/migrations"
)
func init() {
m.Register(func(app core.App) error {
// Up migration: Change `url` field type from URL to string
collectionName := "devices"
return app.RunInTransaction(func(txApp core.App) error {
// Step 1: Fetch the collection
collection, err := txApp.FindCollectionByNameOrId(collectionName)
if err != nil {
return err
}
// Step 2: Add a new text field
newField := &core.TextField{
Name: "new_field",
Required: false,
}
collection.Fields.AddAt(6, newField)
if err := txApp.Save(collection); err != nil {
return err
}
// Step 3: Migrate data from `url` to `new_field`
records, err := txApp.FindAllRecords(collectionName)
if err != nil {
return err
}
for _, record := range records {
url := record.GetString("link")
record.Set("new_field", url)
if err := txApp.Save(record); err != nil {
return err
}
}
// Step 4: Remove the old `url` field
collection.Fields.RemoveByName("link")
if err := txApp.Save(collection); err != nil {
return err
}
// Step 5: Rename `new_field` to `url`
renamedField := collection.Fields.GetByName("new_field")
renamedField.SetName("link")
return txApp.Save(collection)
})
}, func(app core.App) error {
// Down migration: Restore the `url` field
collectionName := "devices"
return app.RunInTransaction(func(txApp core.App) error {
// Step 1: Fetch the collection
collection, err := txApp.FindCollectionByNameOrId(collectionName)
if err != nil {
return err
}
// Step 2: Add a new `url` field
newField := &core.URLField{
Name: "new_field",
Required: false,
}
collection.Fields.AddAt(6, newField)
if err := txApp.Save(collection); err != nil {
return err
}
// Step 3: Migrate data from `url` to `new_field`
records, err := txApp.FindAllRecords(collectionName)
if err != nil {
return err
}
for _, record := range records {
text := record.GetString("link")
record.Set("new_field", text)
if err := txApp.Save(record); err != nil {
return err
}
}
// Step 4: Remove the old `url` field
collection.Fields.RemoveByName("link")
if err := txApp.Save(collection); err != nil {
return err
}
// Step 5: Rename `new_field` to `url`
renamedField := collection.Fields.GetByName("new_field")
renamedField.SetName("link")
return txApp.Save(collection)
})
})
}
@@ -0,0 +1,106 @@
package migrations
import (
"github.com/pocketbase/pocketbase/core"
m "github.com/pocketbase/pocketbase/migrations"
)
func init() {
m.Register(func(app core.App) error {
// Up migration: Change `url` field type from URL to string
collectionName := "ports"
return app.RunInTransaction(func(txApp core.App) error {
// Step 1: Fetch the collection
collection, err := txApp.FindCollectionByNameOrId(collectionName)
if err != nil {
return err
}
// Step 2: Add a new text field
newField := &core.TextField{
Name: "new_field",
Required: false,
}
collection.Fields.AddAt(5, newField)
if err := txApp.Save(collection); err != nil {
return err
}
// Step 3: Migrate data from `url` to `new_field`
records, err := txApp.FindAllRecords(collectionName)
if err != nil {
return err
}
for _, record := range records {
url := record.GetString("link")
record.Set("new_field", url)
if err := txApp.Save(record); err != nil {
return err
}
}
// Step 4: Remove the old `url` field
collection.Fields.RemoveByName("link")
if err := txApp.Save(collection); err != nil {
return err
}
// Step 5: Rename `new_field` to `url`
renamedField := collection.Fields.GetByName("new_field")
renamedField.SetName("link")
return txApp.Save(collection)
})
}, func(app core.App) error {
// Down migration: Restore the `url` field
collectionName := "ports"
return app.RunInTransaction(func(txApp core.App) error {
// Step 1: Fetch the collection
collection, err := txApp.FindCollectionByNameOrId(collectionName)
if err != nil {
return err
}
// Step 2: Add a new `url` field
newField := &core.URLField{
Name: "new_field",
Required: false,
}
collection.Fields.AddAt(5, newField)
if err := txApp.Save(collection); err != nil {
return err
}
// Step 3: Migrate data from `url` to `new_field`
records, err := txApp.FindAllRecords(collectionName)
if err != nil {
return err
}
for _, record := range records {
text := record.GetString("link")
record.Set("new_field", text)
if err := txApp.Save(record); err != nil {
return err
}
}
// Step 4: Remove the old `url` field
collection.Fields.RemoveByName("link")
if err := txApp.Save(collection); err != nil {
return err
}
// Step 5: Rename `new_field` to `url`
renamedField := collection.Fields.GetByName("new_field")
renamedField.SetName("link")
return txApp.Save(collection)
})
})
}
@@ -0,0 +1,45 @@
package migrations
import (
"github.com/pocketbase/pocketbase/core"
m "github.com/pocketbase/pocketbase/migrations"
)
func init() {
m.Register(func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// add field
if err := collection.Fields.AddMarshaledJSONAt(5, []byte(`{
"autogeneratePattern": "",
"hidden": false,
"id": "text1843675174",
"max": 0,
"min": 0,
"name": "description",
"pattern": "",
"presentable": false,
"primaryKey": false,
"required": false,
"system": false,
"type": "text"
}`)); err != nil {
return err
}
return app.Save(collection)
}, func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// remove field
collection.Fields.RemoveById("text1843675174")
return app.Save(collection)
})
}
@@ -0,0 +1,45 @@
package migrations
import (
"github.com/pocketbase/pocketbase/core"
m "github.com/pocketbase/pocketbase/migrations"
)
func init() {
m.Register(func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// add field
if err := collection.Fields.AddMarshaledJSONAt(8, []byte(`{
"hidden": false,
"id": "select355930381",
"maxSelect": 1,
"name": "link_open",
"presentable": false,
"required": false,
"system": false,
"type": "select",
"values": [
"same_tab",
"new_tab"
]
}`)); err != nil {
return err
}
return app.Save(collection)
}, func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// remove field
collection.Fields.RemoveById("select355930381")
return app.Save(collection)
})
}
@@ -0,0 +1,43 @@
package migrations
import (
"github.com/pocketbase/pocketbase/core"
m "github.com/pocketbase/pocketbase/migrations"
)
func init() {
m.Register(func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// add field
if err := collection.Fields.AddMarshaledJSONAt(11, []byte(`{
"hidden": false,
"id": "number361076486",
"max": null,
"min": 1,
"name": "wake_timeout",
"onlyInt": true,
"presentable": false,
"required": false,
"system": false,
"type": "number"
}`)); err != nil {
return err
}
return app.Save(collection)
}, func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// remove field
collection.Fields.RemoveById("number361076486")
return app.Save(collection)
})
}
@@ -0,0 +1,43 @@
package migrations
import (
"github.com/pocketbase/pocketbase/core"
m "github.com/pocketbase/pocketbase/migrations"
)
func init() {
m.Register(func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// add field
if err := collection.Fields.AddMarshaledJSONAt(15, []byte(`{
"hidden": false,
"id": "number2068100152",
"max": null,
"min": 1,
"name": "shutdown_timeout",
"onlyInt": true,
"presentable": false,
"required": false,
"system": false,
"type": "number"
}`)); err != nil {
return err
}
return app.Save(collection)
}, func(app core.App) error {
collection, err := app.FindCollectionByNameOrId("z5lghx2r3tm45n1")
if err != nil {
return err
}
// remove field
collection.Fields.RemoveById("number2068100152")
return app.Save(collection)
})
}
+185 -116
View File
@@ -16,147 +16,216 @@ type Device struct {
}
func TestSendMagicPacket(t *testing.T) {
testCases := []struct {
name string
ip string
mac string
netmask string
password string
wantError bool
}{
// Valid case: all inputs correct
{
name: "Valid Case",
ip: "192.168.1.100",
mac: "00:11:22:33:44:55",
netmask: "255.255.255.0",
password: "secret",
wantError: false,
},
// Invalid MAC address
{
name: "Invalid MAC",
ip: "192.168.1.100",
mac: "invalid",
netmask: "255.255.255.0",
password: "secret",
wantError: true,
},
// Password too short
{
name: "Password Too Short",
ip: "192.168.1.100",
mac: "00:11:22:33:44:55",
netmask: "255.255.255.0",
password: "s", // length 1
wantError: true,
},
// Password too long
{
name: "Password Too Long",
ip: "192.168.1.100",
mac: "00:11:22:33:44:55",
netmask: "255.255.255.0",
password: "password", // length 9
wantError: true,
},
// Invalid IP address
{
name: "Invalid IP",
ip: "256.1.1.1", // invalid
mac: "00:11:22:33:44:55",
netmask: "255.255.255.0",
password: "secret",
wantError: true,
},
// Invalid netmask
{
name: "Invalid Netmask",
ip: "192.168.1.100",
mac: "00:11:22:33:44:55",
netmask: "300.255.255.0", // invalid
password: "secret",
wantError: true,
},
}
collection := &core.Collection{}
devices_success := []Device{
{
IP: "8.8.8.8",
MAC: "aa:aa:aa:aa:aa:aa",
Netmask: "255.0.0.0",
Password: "",
},
{
IP: "1.1.1.1",
MAC: "bb:bb:bb:bb:bb:bb",
Netmask: "255.255.0.0",
Password: "abcd",
},
}
devices_fail := []Device{
{
IP: "1.1.1.1",
MAC: "aa",
Netmask: "255.255.0.0",
Password: "abcd",
},
{
IP: "1.1.1.1",
MAC: "cc:cc:cc:cc:cc:cc",
Netmask: "255.255.0.0",
Password: "abcdefg",
},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
device := core.NewRecord(collection)
device.Set("ip", tc.ip)
device.Set("mac", tc.mac)
device.Set("netmask", tc.netmask)
device.Set("password", tc.password)
for _, v := range devices_success {
device := core.NewRecord(collection)
device.Set("ip", v.IP)
device.Set("mac", v.MAC)
device.Set("netmask", v.Netmask)
device.Set("password", v.Password)
if err := SendMagicPacket(device); err != nil {
t.Fatal(err)
}
}
for _, v := range devices_fail {
device := core.NewRecord(collection)
device.Set("ip", v.IP)
device.Set("mac", v.MAC)
device.Set("netmask", v.Netmask)
device.Set("password", v.Password)
if err := SendMagicPacket(device); err == nil {
t.Fatal("should have cause an error")
}
err := SendMagicPacket(device)
if tc.wantError {
if err == nil {
t.Errorf("Expected error but got none")
}
} else {
if err != nil {
t.Errorf("Got unexpected error: %v", err)
}
}
})
}
}
func TestWakeUDP(t *testing.T) {
devices := []Device{
testCases := []struct {
name string
broadcastIp string
targetMac string
password string
wantError bool
}{
// Valid case: all inputs correct
{
IP: "8.8.8.8",
MAC: "aa:aa:aa:aa:aa:aa",
Netmask: "255.0.0.0",
Password: "",
ExpectFailPassword: false,
name: "Valid Case",
broadcastIp: "192.168.1.255",
targetMac: "00:11:22:33:44:55",
password: "secret",
wantError: false,
},
// Invalid MAC address
{
IP: "1.1.1.1",
MAC: "bb:bb:bb:bb:bb:bb",
Netmask: "255.255.0.0",
Password: "abcd",
ExpectFailPassword: false,
name: "Invalid MAC",
broadcastIp: "192.168.1.255",
targetMac: "invalid",
password: "secret",
wantError: true,
},
// Password too short
{
IP: "10.10.10.1",
MAC: "cc:cc:cc:cc:cc:cc",
Netmask: "255.255.0.0",
Password: "abcd",
ExpectFailPassword: false,
name: "Password Too Short",
broadcastIp: "192.168.1.255",
targetMac: "00:11:22:33:44:55",
password: "s", // length 1
wantError: true,
},
// Password too long
{
IP: "1.1.1.1",
MAC: "dd:dd:dd:dd:dd:dd",
Netmask: "255.255.0.0",
Password: "abcdefg",
ExpectFailPassword: true,
name: "Password Too Long",
broadcastIp: "192.168.1.255",
targetMac: "00:11:22:33:44:55",
password: "password", // length 9
wantError: true,
},
}
for _, v := range devices {
parsedMac, err := net.ParseMAC(v.MAC)
if err != nil {
t.Fatalf(`%v (parsedMac "%v")`, err, parsedMac)
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
mac, err := net.ParseMAC(tc.targetMac)
if err != nil && !tc.wantError {
t.Errorf("Unexpected error parsing MAC: %v", err)
} else if err != nil {
return
}
var bytePassword []byte
if len(v.Password) == 0 || len(v.Password) == 4 || len(v.Password) == 6 {
bytePassword = []byte(v.Password)
} else if !v.ExpectFailPassword {
t.Fatal("password must be 0, 4 or 6 characters long")
}
broadcastIp, err := getBroadcastIp(v.IP, v.Netmask)
if err != nil {
t.Fatal(err)
}
if err := wakeUDP(broadcastIp, parsedMac, bytePassword); err != nil {
t.Fatalf(`%v (broadcastIp "%v", parsedMac "%v", bytePassword "%v")`, err, broadcastIp, parsedMac, bytePassword)
}
// Now test the wakeUDP function
err = wakeUDP(tc.broadcastIp, mac, []byte(tc.password))
if tc.wantError {
if err == nil {
t.Errorf("Expected error but got none")
}
}
})
}
}
func TestGetBroadcastIp(t *testing.T) {
type address struct {
IP string
Netmask string
BroadcastResult string
}
addresses := []address{
testCases := []struct {
name string
ip string
netmask string
wantIp string
wantError bool
}{
// Valid case: all inputs correct
{
IP: "192.168.0.1",
Netmask: "255.255.255.0",
BroadcastResult: "192.168.0.255",
}, {
IP: "10.1.1.1",
Netmask: "255.255.0.0",
BroadcastResult: "10.1.255.255",
}, {
IP: "10.2.3.4",
Netmask: "255.0.0.0",
BroadcastResult: "10.255.255.255",
name: "Valid Case",
ip: "192.168.1.100",
netmask: "255.255.255.0",
wantIp: "192.168.1.255",
wantError: false,
},
// Invalid IP address
{
name: "Invalid IP",
ip: "256.1.1.1", // invalid
netmask: "255.255.255.0",
wantIp: "",
wantError: true,
},
// Invalid netmask
{
name: "Invalid Netmask",
ip: "192.168.1.100",
netmask: "300.255.255.0", // invalid
wantIp: "",
wantError: true,
},
}
for _, v := range addresses {
broadcast, err := getBroadcastIp(v.IP, v.Netmask)
if err != nil {
t.Fatal(err)
}
if broadcast != v.BroadcastResult {
t.Fatalf(`getBroadcastIp("%v, %v"), want %v, got %v`, v.IP, v.Netmask, v.BroadcastResult, broadcast)
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
ip := net.ParseIP(tc.ip)
if ip == nil && !tc.wantError {
t.Errorf("Unexpected error parsing IP: %v", ip)
} else if ip == nil {
return
}
mask := net.ParseIP(tc.netmask)
if mask == nil && !tc.wantError {
t.Errorf("Unexpected error parsing netmask: %v", mask)
} else if mask == nil {
return
}
broadcast, err := getBroadcastIp(tc.ip, tc.netmask)
if tc.wantError {
if err == nil {
t.Errorf("Expected error but got none")
}
} else {
if broadcast != tc.wantIp {
t.Errorf("Broadcast IP mismatch: expected %s, got %s", tc.wantIp, broadcast)
}
}
})
}
}
+43 -18
View File
@@ -1,44 +1,60 @@
package networking
import (
"errors"
"net"
"os"
"os/exec"
"runtime"
"strconv"
"syscall"
"time"
"github.com/pocketbase/pocketbase/core"
probing "github.com/prometheus-community/pro-bing"
"github.com/seriousm4x/upsnap/logger"
)
func PingDevice(device *core.Record) bool {
func isNoRouteOrDownError(err error) bool {
opErr, ok := err.(*net.OpError)
if !ok {
return false
}
syscallErr, ok := opErr.Err.(*os.SyscallError)
if !ok {
return false
}
return syscallErr.Err == syscall.EHOSTUNREACH || syscallErr.Err == syscall.EHOSTDOWN
}
func PingDevice(device *core.Record) (bool, error) {
ping_cmd := device.GetString("ping_cmd")
if ping_cmd == "" {
pinger, err := probing.NewPinger(device.GetString("ip"))
if err != nil {
logger.Error.Println(err)
return false
return false, err
}
pinger.Count = 1
pinger.Timeout = 500 * time.Millisecond
privileged, err := strconv.ParseBool(os.Getenv("UPSNAP_PING_PRIVILEGED"))
if err != nil {
privileged = true
privileged := isRoot()
privilegedEnv := os.Getenv("UPSNAP_PING_PRIVILEGED")
if privilegedEnv != "" {
privileged, err = strconv.ParseBool(privilegedEnv)
if err != nil {
privileged = false
}
}
pinger.SetPrivileged(privileged)
err = pinger.Run()
if err != nil {
logger.Error.Println(err)
return false
if isNoRouteOrDownError(err) {
return false, nil
}
return false, err
}
stats := pinger.Statistics()
if stats.PacketLoss > 0 {
return false
} else {
return true
}
return stats.PacketLoss == 0, nil
} else {
var shell string
var shell_arg string
@@ -53,16 +69,25 @@ func PingDevice(device *core.Record) bool {
cmd := exec.Command(shell, shell_arg, ping_cmd)
err := cmd.Run()
return err == nil
return err == nil, err
}
}
func CheckPort(host string, port string) bool {
func CheckPort(host string, port string) (bool, error) {
timeout := 500 * time.Millisecond
conn, err := net.DialTimeout("tcp", net.JoinHostPort(host, port), timeout)
if err != nil {
return false
// treat "host unreachable", "connection refused" and "timeout" as no error
var netErr *net.OpError
if errors.As(err, &netErr) {
if errors.Is(netErr.Err, syscall.EHOSTUNREACH) ||
errors.Is(netErr.Err, syscall.ECONNREFUSED) ||
netErr.Timeout() {
return false, nil
}
}
return false, err
}
defer conn.Close()
return conn != nil
return conn != nil, nil
}
+97
View File
@@ -0,0 +1,97 @@
package networking
import (
"testing"
"github.com/pocketbase/pocketbase/core"
)
func TestPingDevice(t *testing.T) {
testCases := []struct {
name string
ip string
ping_cmd string
wantError bool
}{
// Valid case: all inputs correct
{
name: "Valid Case",
ip: "8.8.8.8",
ping_cmd: "exit 0",
wantError: false,
},
// Invalid ping command
{
name: "Invalid Ping Command",
ip: "8.8.8.8",
ping_cmd: "exit 1",
wantError: true,
},
}
collection := &core.Collection{}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
device := core.NewRecord(collection)
device.Set("ip", tc.ip)
device.Set("ping_cmd", tc.ping_cmd)
_, err := PingDevice(device)
if err == nil && tc.wantError {
t.Errorf("Expected error but got none")
} else if err != nil && !tc.wantError {
t.Errorf("Got unexpected error: %v", err)
}
})
}
}
func TestCheckPort(t *testing.T) {
testCases := []struct {
name string
host string
port string
wantError bool
}{
// Valid case: all inputs correct
{
name: "Valid Case",
host: "8.8.8.8",
port: "443",
wantError: false,
},
// Invalid IP address
{
name: "Invalid IP",
host: "256.1.1.1", // invalid
port: "443",
wantError: true,
},
// Invalid port number
{
name: "Invalid Port",
host: "8.8.8.8",
port: "70000", // invalid
wantError: true,
},
// Port zero
{
name: "Port Zero",
host: "8.8.8.8",
port: "0",
wantError: false,
},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
_, err := CheckPort(tc.host, tc.port)
if err == nil && tc.wantError {
t.Errorf("Expected error but got none")
} else if err != nil && !tc.wantError {
t.Errorf("Got unexpected error: %v", err)
}
})
}
}
+9
View File
@@ -0,0 +1,9 @@
//go:build !windows
package networking
import "os"
func isRoot() bool {
return os.Geteuid() == 0
}
+16
View File
@@ -0,0 +1,16 @@
//go:build windows
package networking
import "golang.org/x/sys/windows"
func isRoot() bool {
var sid *windows.SID
sid, err := windows.CreateWellKnownSid(windows.WinBuiltinAdministratorsSid)
if err != nil {
return false
}
token := windows.GetCurrentProcessToken()
isAdmin, err := token.IsMember(sid)
return err == nil && isAdmin
}
+13 -4
View File
@@ -48,18 +48,27 @@ func ShutdownDevice(device *core.Record) error {
done <- cmd.Wait()
}()
// check state every seconds for 2 min
shutdownTimeout := device.GetInt("shutdown_timeout")
if shutdownTimeout <= 0 {
shutdownTimeout = 120
}
start := time.Now()
for {
select {
case <-time.After(1 * time.Second):
if time.Since(start) >= 2*time.Minute {
if time.Since(start) >= time.Duration(shutdownTimeout)*time.Second {
if err := KillProcess(cmd.Process); err != nil {
logger.Error.Println(err)
}
return fmt.Errorf("%s not offline after 2 minutes", device.GetString("name"))
return fmt.Errorf("%s not offline after %d seconds", device.GetString("name"), shutdownTimeout)
}
isOnline, err := PingDevice(device)
if err != nil {
logger.Error.Println(err)
return err
}
isOnline := PingDevice(device)
if !isOnline {
if err := KillProcess(cmd.Process); err != nil {
logger.Error.Println(err)
+1 -1
View File
@@ -18,7 +18,7 @@ func SetProcessAttributes(cmd *exec.Cmd) {
// Kills child processes on Linux. Windows doesn't provide a direct way to kill child processes, so we kill just the main process.
func KillProcess(process *os.Process) error {
logger.Warning.Println("Your shutdown cmd didn't finish in 2 minutes. It will be killed.")
logger.Warning.Println("Your command didn't finish in time. It will be killed.")
pgid, err := unix.Getpgid(process.Pid)
if err != nil {
return err
+20 -8
View File
@@ -15,6 +15,11 @@ import (
func WakeDevice(device *core.Record) error {
logger.Info.Println("Wake triggered for", device.GetString("name"))
wakeTimeout := device.GetInt("wake_timeout")
if wakeTimeout <= 0 {
wakeTimeout = 120
}
wake_cmd := device.GetString("wake_cmd")
if wake_cmd != "" {
var shell string
@@ -46,18 +51,22 @@ func WakeDevice(device *core.Record) error {
done <- cmd.Wait()
}()
// check state every seconds for 2 min
start := time.Now()
for {
select {
case <-time.After(1 * time.Second):
if time.Since(start) >= 2*time.Minute {
if time.Since(start) >= time.Duration(wakeTimeout)*time.Second {
if err := KillProcess(cmd.Process); err != nil {
logger.Error.Println(err)
}
return fmt.Errorf("%s not online after 2 minutes", device.GetString("name"))
return fmt.Errorf("%s not online after %d seconds", device.GetString("name"), wakeTimeout)
}
isOnline, err := PingDevice(device)
if err != nil {
logger.Error.Println(err)
return err
}
isOnline := PingDevice(device)
if isOnline {
if err := KillProcess(cmd.Process); err != nil {
logger.Error.Println(err)
@@ -79,18 +88,21 @@ func WakeDevice(device *core.Record) error {
return err
}
// check state every seconds for 2 min
start := time.Now()
for {
time.Sleep(1 * time.Second)
isOnline := PingDevice(device)
isOnline, err := PingDevice(device)
if err != nil {
logger.Error.Println(err)
return err
}
if isOnline {
return nil
}
if time.Since(start) >= 2*time.Minute {
if time.Since(start) >= time.Duration(wakeTimeout)*time.Second {
break
}
}
return fmt.Errorf(device.GetString("name"), "not online after 2 min")
return fmt.Errorf("%s not online after %d seconds", device.GetString("name"), wakeTimeout)
}
}
+244 -35
View File
@@ -1,7 +1,9 @@
package pb
import (
"encoding/json"
"encoding/xml"
"fmt"
"net"
"net/http"
"os"
@@ -10,8 +12,11 @@ import (
"strings"
"time"
"github.com/pocketbase/dbx"
"github.com/pocketbase/pocketbase/apis"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/router"
"github.com/robfig/cron/v3"
"github.com/seriousm4x/upsnap/logger"
"github.com/seriousm4x/upsnap/networking"
)
@@ -21,21 +26,32 @@ func HandlerWake(e *core.RequestEvent) error {
if err != nil {
return apis.NewNotFoundError("The device does not exist.", err)
}
record.Set("status", "pending")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
go func(r *core.Record) {
if err := networking.WakeDevice(r); err != nil {
if err := asyncCall(e, func() *router.ApiError {
if err := networking.WakeDevice(record); err != nil {
logger.Error.Println(err)
r.Set("status", "offline")
} else {
r.Set("status", "online")
record.Set("status", "offline")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return apis.NewBadRequestError(err.Error(), nil)
}
if err := e.App.Save(r); err != nil {
record.Set("status", "online")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
}(record)
return nil
}); err != nil {
return err
}
return e.JSON(http.StatusOK, record)
}
@@ -44,23 +60,33 @@ func HandlerSleep(e *core.RequestEvent) error {
if err != nil {
return apis.NewNotFoundError("The device does not exist.", err)
}
record.Set("status", "pending")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
resp, err := networking.SleepDevice(record)
if err != nil {
logger.Error.Println(err)
record.Set("status", "online")
if err := asyncCall(e, func() *router.ApiError {
resp, err := networking.SleepDevice(record)
if err != nil {
logger.Error.Println(err)
record.Set("status", "online")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return apis.NewBadRequestError(resp.Message, nil)
}
record.Set("status", "offline")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return apis.NewBadRequestError(resp.Message, nil)
}
record.Set("status", "offline")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
return nil
}); err != nil {
return err
}
return e.JSON(http.StatusOK, nil)
}
@@ -69,27 +95,46 @@ func HandlerReboot(e *core.RequestEvent) error {
if err != nil {
return apis.NewNotFoundError("The device does not exist.", err)
}
record.Set("status", "pending")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
go func(r *core.Record) {
if err := networking.ShutdownDevice(r); err != nil {
if err := asyncCall(e, func() *router.ApiError {
if err := networking.ShutdownDevice(record); err != nil {
logger.Error.Println(err)
r.Set("status", "online")
} else {
time.Sleep(15 * time.Second) // some devices might not respond to ping but are still shutting down
if err := networking.WakeDevice(r); err != nil {
logger.Error.Println(err)
r.Set("status", "offline")
} else {
r.Set("status", "online")
record.Set("status", "online")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return apis.NewBadRequestError(err.Error(), nil)
}
if err := e.App.Save(r); err != nil {
// if this code is reached, the device is shutting down and not responding to pings anymore.
// this does not mean it is ready to boot again, it might still be in the process of shutting down.
// so we wait a little to make sure the device has shut down completely and is ready to receive wake requests.
time.Sleep(15 * time.Second)
if err := networking.WakeDevice(record); err != nil {
logger.Error.Println(err)
record.Set("status", "offline")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return apis.NewBadRequestError(err.Error(), nil)
}
record.Set("status", "online")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
}(record)
return nil
}); err != nil {
return err
}
return e.JSON(http.StatusOK, record)
}
@@ -98,24 +143,69 @@ func HandlerShutdown(e *core.RequestEvent) error {
if err != nil {
return apis.NewNotFoundError("The device does not exist.", err)
}
record.Set("status", "pending")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
go func(r *core.Record) {
if err := networking.ShutdownDevice(r); err != nil {
if err := asyncCall(e, func() *router.ApiError {
if err := networking.ShutdownDevice(record); err != nil {
logger.Error.Println(err)
r.Set("status", "online")
} else {
r.Set("status", "offline")
record.Set("status", "online")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return apis.NewBadRequestError(err.Error(), nil)
}
if err := e.App.Save(r); err != nil {
record.Set("status", "offline")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
}(record)
return nil
}); err != nil {
return err
}
return e.JSON(http.StatusOK, record)
}
func HandlerWakeGroup(e *core.RequestEvent) error {
records, err := e.App.FindRecordsByFilter("devices", "groups.id = {:grpId} && status = 'offline'", "", 0, 0,
dbx.Params{"grpId": e.Request.PathValue("id")},
)
if err != nil {
return apis.NewNotFoundError("No devices in group", err)
}
for _, record := range records {
go func() {
record.Set("status", "pending")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
if err := networking.WakeDevice(record); err != nil {
logger.Error.Println(err)
record.Set("status", "offline")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
return
}
record.Set("status", "online")
if err := e.App.Save(record); err != nil {
logger.Error.Println("Failed to save record:", err)
}
}()
}
return e.JSON(http.StatusOK, records)
}
type Nmaprun struct {
Host []struct {
Address []struct {
@@ -256,3 +346,122 @@ func HandlerInitSuperuser(e *core.RequestEvent) error {
return apis.RecordAuthResponse(e, record, "", nil)
}
type ValidateCronRequest struct {
Cron string `json:"cron"`
}
func HandlerValidateCron(e *core.RequestEvent) error {
var body ValidateCronRequest
if err := e.BindBody(&body); err != nil {
logger.Error.Println(err)
return e.BadRequestError("invalid request", err)
}
p := cron.NewParser(cron.SecondOptional | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow)
if _, err := p.Parse(body.Cron); err != nil {
return e.BadRequestError("failed to parse cron expression", err)
}
return e.JSON(200, "valid")
}
func asyncCall(e *core.RequestEvent, fn func() *router.ApiError) *router.ApiError {
isAsync, err := strconv.ParseBool(e.Request.URL.Query().Get("async"))
if err != nil {
isAsync = false
}
if !isAsync {
return fn()
}
go func() {
_ = fn()
}()
return nil
}
func HandlerWebsiteManifest(e *core.RequestEvent) error {
scheme := "http"
if e.Request.TLS != nil {
scheme = "https"
}
baseUrl := fmt.Sprintf("%s://%s", scheme, e.Request.Host)
manifest := map[string]any{
"name": "UpSnap",
"short_name": "UpSnap",
"description": "A simple wake on lan web app written with SvelteKit, Go and PocketBase.",
"theme_color": "#55BCD9",
"background_color": "#55BCD9",
"display": "standalone",
"scope": baseUrl,
"start_url": baseUrl,
"icons": []map[string]string{
{
"src": "/icon_192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any",
},
{
"src": "/icon_512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any",
},
{
"src": "/maskable_192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable",
},
{
"src": "/maskable_512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable",
},
{
"src": "/gopher.svg",
"sizes": "any",
"type": "image/svg+xml",
},
},
}
publicSettings, err := e.App.FindFirstRecordByFilter("settings_public", "")
if err != nil {
return writeManifest(e, manifest)
}
// override title if set
if title := publicSettings.GetString("website_title"); title != "" {
manifest["name"] = title
manifest["short_name"] = title
}
// override icons if set
if favicon := publicSettings.GetString("favicon"); favicon != "" {
manifest["icons"] = []map[string]string{
{
"src": fmt.Sprintf("%s/api/files/settings_public/%s/%s", baseUrl, publicSettings.Id, favicon),
"sizes": "any",
"purpose": "any",
},
}
}
return writeManifest(e, manifest)
}
func writeManifest(e *core.RequestEvent, manifest map[string]any) error {
e.Response.Header().Set("Content-Type", "application/manifest+json")
e.Response.Header().Set("Cache-Control", "no-cache, no-store")
enc := json.NewEncoder(e.Response)
return enc.Encode(manifest)
}
+2 -3
View File
@@ -10,14 +10,13 @@ import (
func RequireUpSnapPermission() *hook.Handler[*core.RequestEvent] {
return &hook.Handler[*core.RequestEvent]{
Func: func(e *core.RequestEvent) error {
admin := e.HasSuperuserAuth()
if admin {
if e.HasSuperuserAuth() {
return e.Next()
}
user := e.Auth
if user == nil {
return apis.NewUnauthorizedError("The request requires admin or record authorization token to be set.", nil)
return apis.NewUnauthorizedError("The request requires superuser or record authorization token to be set.", nil)
}
deviceId := e.Request.PathValue("id")
+30 -1
View File
@@ -10,7 +10,9 @@ import (
"github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/apis"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/plugins/ghupdate"
"github.com/pocketbase/pocketbase/plugins/migratecmd"
"github.com/robfig/cron/v3"
"github.com/seriousm4x/upsnap/cronjobs"
"github.com/seriousm4x/upsnap/logger"
_ "github.com/seriousm4x/upsnap/migrations"
@@ -57,16 +59,26 @@ func StartPocketBase(distDirFS fs.FS) {
Automigrate: true,
})
// GitHub selfupdate
ghupdate.MustRegister(app, app.RootCmd, ghupdate.Config{
Owner: "seriousm4x",
Repo: "UpSnap",
ArchiveExecutable: "upsnap",
})
// event hooks
app.OnServe().BindFunc(func(se *core.ServeEvent) error {
se.Router.GET("/{path...}", apis.Static(distDirFS, true))
se.Router.GET("/api/upsnap/wake/{id}", HandlerWake).Bind(RequireUpSnapPermission())
se.Router.GET("/api/upsnap/wakegroup/{id}", HandlerWakeGroup).Bind(RequireUpSnapPermission())
se.Router.GET("/api/upsnap/sleep/{id}", HandlerSleep).Bind(RequireUpSnapPermission())
se.Router.GET("/api/upsnap/reboot/{id}", HandlerReboot).Bind(RequireUpSnapPermission())
se.Router.GET("/api/upsnap/shutdown/{id}", HandlerShutdown).Bind(RequireUpSnapPermission())
se.Router.GET("/api/upsnap/scan", HandlerScan).Bind(apis.RequireSuperuserAuth())
se.Router.POST("/api/upsnap/init-superuser", HandlerInitSuperuser) // https://github.com/pocketbase/pocketbase/discussions/6198
se.Router.POST("/api/upsnap/validate-cron", HandlerValidateCron)
se.Router.GET("/api/upsnap/manifest.webmanifest", HandlerWebsiteManifest)
if err := importSettings(app); err != nil {
return err
@@ -212,7 +224,8 @@ func importSettings(app *pocketbase.PocketBase) error {
// 1st: env var
// 2nd: database entry
// 3rd: default values
interval := "@every 3s"
defaultInterval := "*/3 * * * * *"
interval := defaultInterval
if settingsPrivate.GetString("interval") != "" {
interval = settingsPrivate.GetString("interval")
}
@@ -220,6 +233,22 @@ func importSettings(app *pocketbase.PocketBase) error {
interval = os.Getenv("UPSNAP_INTERVAL")
}
// validate interval before saving
p := cron.NewParser(cron.SecondOptional | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow)
if _, err := p.Parse(interval); err != nil {
if interval == "*/3 * * * *" || interval == "@every 3s" {
settingsPrivate.Set("interval", defaultInterval)
if e := app.Save(settingsPrivate); e != nil {
logger.Error.Println(e)
}
} else {
logger.Error.Printf("'%s' ping interval is not valid.\n", interval)
logger.Error.Println("Please go to '/settings/' and change your ping interval.")
logger.Error.Println("Falling back to default interval: " + defaultInterval)
}
interval = defaultInterval
}
settingsPrivate.Set("interval", interval)
if scanRange := os.Getenv("UPSNAP_SCAN_RANGE"); scanRange != "" {
settingsPrivate.Set("scan_range", scanRange)
+1 -1
View File
@@ -12,7 +12,7 @@ services:
# user: 1000:1000
# environment:
# - TZ=Europe/Berlin # Set container timezone for cron schedules
# - UPSNAP_INTERVAL=@every 10s # Sets the interval in which the devices are pinged
# - UPSNAP_INTERVAL=*/10 * * * * * # Sets the interval in which the devices are pinged
# - UPSNAP_SCAN_RANGE=192.168.1.0/24 # Scan range is used for device discovery on local network
# - UPSNAP_WEBSITE_TITLE=Custom name # Custom website title
# # dns is used for name resolution during network scan
+2 -2
View File
@@ -1,7 +1,7 @@
services:
upsnap:
container_name: upsnap
image: ghcr.io/seriousm4x/upsnap:4 # images are also available on docker hub: seriousm4x/upsnap:4
image: ghcr.io/seriousm4x/upsnap:5 # images are also available on docker hub: seriousm4x/upsnap:5
network_mode: host
restart: unless-stopped
volumes:
@@ -10,7 +10,7 @@ services:
# user: 1000:1000
# environment:
# - TZ=Europe/Berlin # Set container timezone for cron schedules
# - UPSNAP_INTERVAL=@every 10s # Sets the interval in which the devices are pinged
# - UPSNAP_INTERVAL=*/10 * * * * * # Sets the interval in which the devices are pinged
# - UPSNAP_SCAN_RANGE=192.168.1.0/24 # Scan range is used for device discovery on local network
# - UPSNAP_SCAN_TIMEOUT=500ms # Scan timeout is nmap's --host-timeout value to wait for devices (https://nmap.org/book/man-performance.html)
# - UPSNAP_PING_PRIVILEGED=true # Set to false if you don't have root user permissions
-5
View File
@@ -1,5 +0,0 @@
{
"adapter": "svelte",
"$schema": "https://unpkg.com/typesafe-i18n@5.26.2/schema/typesafe-i18n.json",
"outputPath": "./src/lib/i18n/"
}
+37 -31
View File
@@ -3,7 +3,7 @@
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "npm-run-all --parallel vite typesafe-i18n",
"dev": "vite dev",
"vite": "vite dev",
"build": "vite build",
"preview": "vite preview",
@@ -11,33 +11,33 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "eslint --fix --cache .",
"format": "prettier --write --cache --cache-strategy content --ignore-path ../.gitignore .",
"prepare": "cd .. && husky frontend/.husky",
"typesafe-i18n": "typesafe-i18n"
"prepare": "svelte-kit sync && cd .. && husky frontend/.husky",
"machine-translate": "inlang machine translate --project project.inlang"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/js": "^9.17.0",
"@sveltejs/adapter-static": "^3.0.8",
"@sveltejs/kit": "^2.15.2",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"autoprefixer": "^10.4.20",
"daisyui": "^4.12.23",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.1",
"globals": "^15.14.0",
"@eslint/compat": "^1.3.2",
"@eslint/js": "^9.35.0",
"@inlang/cli": "^3.0.12",
"@inlang/paraglide-js": "2.3.2",
"@sveltejs/adapter-static": "^3.0.9",
"@sveltejs/kit": "^2.39.1",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"daisyui": "^5.1.12",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.12.3",
"globals": "^16.4.0",
"husky": "^9.1.7",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"svelte": "^4.2.19",
"svelte-check": "^4.1.3",
"tailwindcss": "^3.4.17",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"prettier-plugin-tailwindcss": "^0.6.14",
"svelte": "^5.38.10",
"svelte-check": "^4.3.1",
"tailwindcss": "^4.1.13",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1",
"vite": "^5.4.11"
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.0",
"vite": "^6.3.6"
},
"type": "module",
"lint-staged": {
@@ -46,13 +46,19 @@
},
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"cron-parser": "^4.9.0",
"@tailwindcss/postcss": "^4.1.13",
"cron-parser": "^5.4.0",
"date-fns": "^4.1.0",
"npm-run-all": "^4.1.5",
"pocketbase": "^0.25.0",
"svelte-fa": "^4.0.3",
"svelte-french-toast": "^1.2.0",
"theme-change": "^2.5.0",
"typesafe-i18n": "^5.26.2"
"pocketbase": "^0.26.2",
"postcss": "^8.5.6",
"svelte-fa": "^4.0.4",
"svelte-french-toast": "github:seriousm4x/svelte-french-toast#fix-72-build",
"theme-change": "^2.5.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"@tailwindcss/oxide",
"esbuild"
]
}
}
+1561 -3046
View File
File diff suppressed because it is too large Load Diff
-6
View File
@@ -1,6 +0,0 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};
+5
View File
@@ -0,0 +1,5 @@
export default {
plugins: {
'@tailwindcss/postcss': {}
}
};
+1
View File
@@ -0,0 +1 @@
cache
+1
View File
@@ -0,0 +1 @@
StfXY3tZWvr4FQntlM
+32
View File
@@ -0,0 +1,32 @@
{
"$schema": "https://inlang.com/schema/project-settings",
"baseLocale": "en-US",
"locales": [
"bg-BG",
"de-DE",
"en-US",
"es-ES",
"fr-FR",
"hi-IN",
"id-ID",
"it-IT",
"ja-JP",
"ko-KR",
"nl-NL",
"nb-NO",
"pl-PL",
"pt-PT",
"uk-UA",
"vi-VN",
"zh-TW",
"zh-CN"
],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@2/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./translations/{locale}.json"
},
"telemetry": "off"
}
+5 -3
View File
@@ -1,3 +1,5 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@plugin "daisyui" {
themes: all;
}
+5 -5
View File
@@ -1,13 +1,12 @@
<!doctype html>
<html lang="en">
<html lang="%lang%">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
<script>
const darkTheme = 'dark';
const lightTheme = 'cupcake';
const darkTheme = 'dim';
const lightTheme = 'silk';
const preferesDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
const theme = localStorage.getItem('theme')
? localStorage.getItem('theme')
@@ -25,6 +24,7 @@
});
</script>
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
+14
View File
@@ -0,0 +1,14 @@
import { paraglideMiddleware } from '$lib/paraglide/server';
import { localeStore } from '$lib/stores/locale';
import type { Handle } from '@sveltejs/kit';
// creating a handle to use the paraglide middleware
const paraglideHandle: Handle = ({ event, resolve }) =>
paraglideMiddleware(event.request, ({ locale }) => {
localeStore.set(locale);
return resolve(event, {
transformPageChunk: ({ html }) => html.replace('%lang%', locale)
});
});
export const handle: Handle = paraglideHandle;
+6
View File
@@ -0,0 +1,6 @@
import { deLocalizeUrl } from '$lib/paraglide/runtime';
import type { Reroute } from '@sveltejs/kit';
export const reroute: Reroute = (request) => {
return deLocalizeUrl(request.url).pathname;
};
+79 -128
View File
@@ -1,8 +1,11 @@
<script lang="ts">
import { goto } from '$app/navigation';
import LL, { locale } from '$lib/i18n/i18n-svelte';
import { resolve } from '$app/paths';
import { nextCronDate } from '$lib/helpers/cron';
import { m } from '$lib/paraglide/messages';
import { dateFnsLocale } from '$lib/stores/locale';
import { backendUrl, permission, pocketbase } from '$lib/stores/pocketbase';
import type { Device } from '$lib/types/device';
import { type Device } from '$lib/types/device';
import {
faBed,
faCircleArrowDown,
@@ -11,34 +14,17 @@
faPen,
faRotateLeft
} from '@fortawesome/free-solid-svg-icons';
import cronParser from 'cron-parser';
import type { Locale } from 'date-fns';
import { formatDistance, formatRelative, parseISO } from 'date-fns';
import { de } from 'date-fns/locale/de';
import { enUS } from 'date-fns/locale/en-US';
import { es } from 'date-fns/locale/es';
import { fr } from 'date-fns/locale/fr';
import { it } from 'date-fns/locale/it';
import { nl } from 'date-fns/locale/nl';
import { pt } from 'date-fns/locale/pt';
import { zhCN } from 'date-fns/locale/zh-CN';
import { zhTW } from 'date-fns/locale/zh-TW';
import { formatDistance, parseISO } from 'date-fns';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
import { scale } from 'svelte/transition';
import DeviceCardNic from './DeviceCardNic.svelte';
export let device: Device;
$: moreButtons = [
let { device = $bindable() }: { device: Device } = $props();
let modalReboot: HTMLDialogElement;
let moreButtons = $derived([
{
text: $LL.device.card_btn_more_edit(),
icon: faPen,
onClick: () => goto(`/device/${device.id}`),
requires: $pocketbase.authStore.isSuperuser || $permission.update?.includes(device.id)
},
{
text: $LL.device.card_btn_more_sleep(),
text: m.device_card_btn_more_sleep(),
icon: faBed,
onClick: () => sleep(),
requires:
@@ -47,73 +33,31 @@
device.sol_enabled
},
{
text: $LL.device.card_btn_more_reboot(),
text: m.device_card_btn_more_reboot(),
icon: faRotateLeft,
onClick: () => reboot(),
onClick: () => askRebootConfirmation(),
requires:
($pocketbase.authStore.isSuperuser || $permission.power?.includes(device.id)) &&
device.status === 'online' &&
device.shutdown_cmd !== ''
},
{
text: m.device_card_btn_more_edit(),
icon: faPen,
onClick: () => goto(resolve(`/device/${device.id}`)),
requires: $pocketbase.authStore.isSuperuser || $permission.update?.includes(device.id)
}
];
]);
// update device status change
let now = Date.now();
let now = $state(Date.now());
let interval: number;
$: {
$effect(() => {
clearInterval(interval);
interval = setInterval(() => {
now = Date.now();
}, 1000);
}
// dynamically import locales
// it's ugly but the only working solution i found in ~ 3 hours
var dateFnsLocale: Locale;
$: if ($locale !== undefined) {
(async () => {
switch ($locale) {
case 'de':
case 'de-DE':
dateFnsLocale = de;
break;
case 'en':
case 'en-US':
dateFnsLocale = enUS;
break;
case 'fr':
case 'fr-FR':
dateFnsLocale = fr;
break;
case 'it':
case 'it-IT':
dateFnsLocale = it;
break;
case 'es':
case 'es-ES':
dateFnsLocale = es;
break;
case 'nl':
case 'nl-NL':
dateFnsLocale = nl;
break;
case 'pt':
case 'pt-PT':
dateFnsLocale = pt;
break;
case 'zh':
case 'zh-CN':
dateFnsLocale = zhCN;
break;
case 'zh-TW':
dateFnsLocale = zhTW;
break;
default:
dateFnsLocale = enUS;
break;
}
})();
}
});
function sleep() {
fetch(`${backendUrl}api/upsnap/sleep/${device.id}`, {
@@ -135,49 +79,52 @@
});
}
function getNextCronRelativeTime(expression: string, now: number) {
const cron = cronParser.parseExpression(expression);
return formatRelative(cron.next().toISOString(), now, {
locale: dateFnsLocale
});
function askRebootConfirmation() {
if (device.shutdown_confirm) {
modalReboot.showModal();
} else {
reboot();
}
}
</script>
<div class="card rounded-3xl bg-base-300 shadow-md" transition:scale={{ delay: 0, duration: 200 }}>
<div class="card bg-base-200 shadow-sm" transition:scale={{ delay: 0, duration: 200 }}>
<div class="card-body p-6">
{#if device.link.toString() !== ''}
<a href={device.link.toString()} target="_blank">
{#if device.link !== ''}
<!-- eslint-disable-next-line svelte/no-navigation-without-resolve -->
<a href={device.link} target="_blank">
<h1 class="link card-title">{device.name}</h1>
</a>
{:else}
<h1 class="card-title">{device.name}</h1>
{/if}
<ul class="menu rounded-box bg-base-200">
<!-- TODO: change to nic array once backend supports it -->
<DeviceCardNic {device} />
</ul>
{#if device.description}
<p class="grow-0">{device.description}</p>
{/if}
<div class="card rounded-box w-full">
<DeviceCardNic bind:device />
</div>
{#if device.wake_cron_enabled || device.shutdown_cron_enabled || device.password}
<div class="mt-1 flex flex-row flex-wrap gap-2">
{#if device.wake_cron_enabled}
<div class="tooltip" data-tip={$LL.device.card_tooltip_wake_cron()}>
<div class="tooltip" data-tip={m.device_card_tooltip_wake_cron()}>
<span class="badge badge-success gap-1 p-3"
><Fa icon={faCircleArrowUp} />{getNextCronRelativeTime(device.wake_cron, now)}</span
>
><Fa icon={faCircleArrowUp} />
{nextCronDate(device.wake_cron)}
</span>
</div>
{/if}
{#if device.shutdown_cron_enabled}
<div class="tooltip" data-tip={$LL.device.card_tooltip_shutdown_cron()}>
<div class="tooltip" data-tip={m.device_card_tooltip_shutdown_cron()}>
<span class="badge badge-error gap-1 p-3"
><Fa icon={faCircleArrowDown} />{getNextCronRelativeTime(
device.shutdown_cron,
now
)}</span
>
><Fa icon={faCircleArrowDown} />
{nextCronDate(device.shutdown_cron)}
</span>
</div>
{/if}
{#if device.password}
<div class="tooltip" data-tip={$LL.device.card_tooltip_wake_password()}>
<span class="badge gap-1 p-3"><Fa icon={faLock} />{$LL.device.card_password()}</span>
<div class="tooltip" data-tip={m.device_card_tooltip_wake_password()}>
<span class="badge gap-1 p-3"><Fa icon={faLock} />{m.device_card_password()}</span>
</div>
{/if}
</div>
@@ -185,38 +132,42 @@
<div class="card-actions mt-auto items-center">
<span
class="tooltip"
data-tip="{$LL.device.card_tooltip_last_status_change()}: {device.updated}"
data-tip="{m.device_card_tooltip_last_status_change()}: {device.updated}"
>
{#if dateFnsLocale !== undefined}
{formatDistance(parseISO(device.updated), now, {
includeSeconds: true,
addSuffix: true,
locale: dateFnsLocale
})}
{/if}
{formatDistance(parseISO(device.updated), now, {
includeSeconds: true,
addSuffix: true,
locale: $dateFnsLocale
})}
</span>
{#if moreButtons.filter((btn) => btn.requires).length > 0}
<div class="dropdown dropdown-end dropdown-top ms-auto bg-base-300">
<label tabindex="-1" class="btn btn-sm m-1" for="more-{device.id}"
>{$LL.device.card_btn_more()}</label
>
<ul
id="more-{device.id}"
tabindex="-1"
class="menu dropdown-content z-[1] w-fit rounded-box bg-base-100 p-2 shadow"
>
{#each moreButtons as btn}
{#if btn.requires}
<li>
<button on:click={btn.onClick}>
<Fa icon={btn.icon} />{btn.text}
</button>
</li>
{/if}
{/each}
</ul>
<div class="ms-auto flex flex-row flex-wrap gap-1">
{#each moreButtons as btn, i (i)}
{#if btn.requires}
<div class="tooltip" data-tip={btn.text}>
<button class="btn btn-sm btn-circle" onclick={btn.onClick}>
<Fa icon={btn.icon} />
</button>
</div>
{/if}
{/each}
</div>
{/if}
</div>
</div>
</div>
<dialog class="modal" bind:this={modalReboot}>
<div class="modal-box">
<h3 class="text-lg font-bold">
{m.device_modal_confirm_shutdown_title({ device: device.name })}
</h3>
<p class="py-4">{m.device_modal_confirm_shutdown_desc({ device: device.name })}</p>
<div class="modal-action">
<form method="dialog">
<button class="btn">{m.buttons_cancel()}</button>
<button class="btn btn-success" onclick={reboot}>{m.buttons_confirm()}</button>
</form>
</div>
</div>
</dialog>
+146 -110
View File
@@ -1,60 +1,75 @@
<script lang="ts">
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { backendUrl, permission, pocketbase } from '$lib/stores/pocketbase';
import type { Device } from '$lib/types/device';
import { faCircle, faPowerOff } from '@fortawesome/free-solid-svg-icons';
import { faPowerOff } from '@fortawesome/free-solid-svg-icons';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
export let device: Device;
let hoverText = '';
let disabled = false;
let timeout = 120;
var interval: number;
let { device = $bindable() }: { device: Device } = $props();
let hoverText = $state('');
let disabled = $state(false);
let timeout = $state(120);
let interval: number;
let modalWake: HTMLDialogElement;
let modalShutdown: HTMLDialogElement;
let seconds = $derived(timeout % 60);
let minutes = $derived(Math.floor(timeout / 60));
$: if (device.status === 'pending' && !interval) {
countdown(Date.parse(device.updated));
}
$: minutes = Math.floor(timeout / 60);
$: seconds = timeout % 60;
$: if (device.status === 'pending' || device.status === '') {
disabled = true;
hoverText = $LL.device.card_nic_tooltip_pending();
} else if (device.status === 'online') {
if (device.shutdown_cmd === '') {
disabled = true;
hoverText = $LL.device.card_nic_tooltip_shutdown_no_cmd();
} else if (!$pocketbase.authStore.isSuperuser && !$permission.power?.includes(device.id)) {
disabled = true;
hoverText = $LL.device.card_nic_tooltip_shutdown_no_permission();
} else {
disabled = false;
hoverText = $LL.device.card_nic_tooltip_shutdown();
$effect(() => {
if (device.status === 'pending' && !interval) {
countdown(Date.parse(device.updated), 'wake');
}
} else if (device.status === 'offline') {
if (!$pocketbase.authStore.isSuperuser && !$permission.power?.includes(device.id)) {
});
$effect(() => {
if (device.status === 'pending' || device.status === '') {
disabled = true;
hoverText = $LL.device.card_nic_tooltip_power_no_permission();
} else {
disabled = false;
hoverText = $LL.device.card_nic_tooltip_power();
hoverText = m.device_card_nic_tooltip_pending();
} else if (device.status === 'online') {
if (device.shutdown_cmd === '') {
disabled = true;
hoverText = m.device_card_nic_tooltip_shutdown_no_cmd();
} else if (!$pocketbase.authStore.isSuperuser && !$permission.power?.includes(device.id)) {
disabled = true;
hoverText = m.device_card_nic_tooltip_shutdown_no_permission();
} else {
disabled = false;
hoverText = m.device_card_nic_tooltip_shutdown();
}
} else if (device.status === 'offline') {
if (!$pocketbase.authStore.isSuperuser && !$permission.power?.includes(device.id)) {
disabled = true;
hoverText = m.device_card_nic_tooltip_power_no_permission();
} else {
disabled = false;
hoverText = m.device_card_nic_tooltip_power();
}
}
}
});
// TODO: change wake and shutdown to nic based routes, not device based
function wake() {
countdown(Date.now(), 'wake');
device.status = 'pending';
fetch(`${backendUrl}api/upsnap/wake/${device.id}`, {
headers: {
Authorization: $pocketbase.authStore.token
}
})
.then((resp) => resp.json())
.then((data) => {
.then(async (data) => {
if (data.status !== 200) {
device.status = 'offline';
return;
}
device = data as Device;
countdown(Date.parse(device.updated));
if (device.status === 'online' && device.link && device.link_open !== '') {
if (device.link_open === 'new_tab') {
window.open(device.link, '_blank');
} else {
window.open(device.link, '_self');
}
}
})
.catch((err) => {
toast.error(err.message);
@@ -62,28 +77,46 @@
}
function shutdown() {
countdown(Date.now(), 'shutdown');
device.status = 'pending';
fetch(`${backendUrl}api/upsnap/shutdown/${device.id}`, {
headers: {
Authorization: $pocketbase.authStore.token
}
})
.then((resp) => resp.json())
.then((data) => {
.then(async (data) => {
if (data.status !== 200) {
device.status = 'online';
return;
}
device = data as Device;
countdown(Date.parse(device.updated));
})
.catch((err) => {
toast.error(err.message);
});
}
function countdown(updated: number) {
timeout = 120;
const end = updated + 2 * 60 * 1000;
function countdown(updated: number, action: 'wake' | 'shutdown') {
timeout = action === 'wake' ? device.wake_timeout : device.shutdown_timeout;
if (timeout <= 0) {
timeout = 120;
}
const end = updated + timeout * 1000;
if (interval) {
clearInterval(interval);
interval = 0;
}
interval = setInterval(() => {
timeout = Math.round((end - Date.now()) / 1000);
if (timeout <= 0 || device.status !== 'pending') {
clearInterval(interval);
interval = 0;
}
}, 1000);
@@ -114,72 +147,81 @@
}
</script>
<li class="tooltip" class:disabled data-tip={hoverText}>
<div
class="flex items-start gap-4 p-2"
on:click={disabled ? null : handleClick}
on:keydown={disabled ? null : handleClick}
role="none"
>
{#if device.status === 'offline'}
<button class="btn btn-error flex-shrink"><Fa icon={faPowerOff} /></button>
{:else if device.status === 'online'}
<button
class="btn btn-success flex-shrink"
class:cursor-not-allowed={device.shutdown_cmd === ''}><Fa icon={faPowerOff} /></button
>
{:else if device.status === 'pending'}
<button class="btn btn-warning flex-shrink">
<span class="countdown font-mono">
<span style="--value:{minutes};" />:
<span style="--value:{seconds};" />
</span>
</button>
{:else}
<button class="btn btn-warning flex-shrink">
<span class="loading loading-ring loading-sm" />
</button>
{/if}
<div class="grow">
<div class="text-lg font-bold leading-4">{device.ip}</div>
<div>{device.mac}</div>
<div class="flex flex-wrap gap-x-4">
{#if device?.expand?.ports}
{#each device?.expand?.ports.sort((a, b) => a.number - b.number) as port}
<span class="flex items-center gap-1 break-all">
{#if port.status}
<Fa icon={faCircle} class="text-success" />
{:else}
<Fa icon={faCircle} class="text-error" />
{/if}
{#if port.link}
<a
href={port.link}
target="_blank"
class="underline"
on:click={(e) => e.stopPropagation()}>{port.name} ({port.number})</a
>
{:else}
{port.name} ({port.number})
{/if}
</span>
{/each}
{/if}
</div>
<div
class={`tooltip ${disabled ? 'cursor-not-allowed' : 'hover:bg-base-300 cursor-pointer'} bg-base-100 rounded-box flex items-start gap-4 p-2`}
data-tip={hoverText}
onclick={disabled ? null : handleClick}
onkeydown={disabled ? null : handleClick}
role="none"
>
{#if device.status === 'offline'}
<button class="btn btn-error btn-circle size-12"><Fa icon={faPowerOff} /></button>
{:else if device.status === 'online'}
<button
class="btn btn-success btn-circle size-12"
class:cursor-not-allowed={device.shutdown_cmd === ''}><Fa icon={faPowerOff} /></button
>
{:else if device.status === 'pending'}
<button class="btn btn-warning">
<span class="countdown font-mono">
<span style="--value:{minutes};"></span>:
<span style="--value:{seconds};"></span>
</span>
</button>
{:else}
<div class="btn btn-warning btn-circle size-12">
<span class="loading loading-ring loading-sm"></span>
</div>
{/if}
<div class="grow">
<div class="text-lg leading-4 font-bold">{device.ip}</div>
<div>{device.mac}</div>
<div class="flex flex-wrap gap-x-4">
{#if device?.expand?.ports}
{#each $state
.snapshot(device)
.expand?.ports.sort((a, b) => a.number - b.number) as port (port.id)}
<span class="flex items-center gap-1 break-all">
{#if port.status}
<div class="inline-grid *:[grid-area:1/1]">
<div class="status status-success h-3 w-3 animate-ping"></div>
<div class="status status-success h-3 w-3"></div>
</div>
{:else}
<div class="inline-grid *:[grid-area:1/1]">
<div class="status status-error h-3 w-3 animate-ping"></div>
<div class="status status-error h-3 w-3"></div>
</div>
{/if}
{#if port.link}
<!-- eslint-disable svelte/no-navigation-without-resolve -->
<a
href={port.link}
target="_blank"
class="underline"
onclick={(e) => e.stopPropagation()}>{port.name} ({port.number})</a
>
<!-- eslint-enable svelte/no-navigation-without-resolve -->
{:else}
{port.name} ({port.number})
{/if}
</span>
{/each}
{/if}
</div>
</div>
</li>
</div>
<dialog class="modal" bind:this={modalWake}>
<div class="modal-box">
<h3 class="text-lg font-bold">
{$LL.device.modal_confirm_wake_title({ device: device.name })}
{m.device_modal_confirm_wake_title({ device: device.name })}
</h3>
<p class="py-4">{$LL.device.modal_confirm_wake_desc({ device: device.name })}</p>
<p class="py-4">{m.device_modal_confirm_wake_desc({ device: device.name })}</p>
<div class="modal-action">
<form method="dialog" class="flex flex-row flex-wrap gap-2">
<button class="btn btn-neutral">{$LL.buttons.cancel()}</button>
<button class="btn btn-success" on:click={wake}>{$LL.buttons.confirm()}</button>
<form method="dialog">
<button class="btn">{m.buttons_cancel()}</button>
<button class="btn btn-success" onclick={wake}>{m.buttons_confirm()}</button>
</form>
</div>
</div>
@@ -188,20 +230,14 @@
<dialog class="modal" bind:this={modalShutdown}>
<div class="modal-box">
<h3 class="text-lg font-bold">
{$LL.device.modal_confirm_shutdown_title({ device: device.name })}
{m.device_modal_confirm_shutdown_title({ device: device.name })}
</h3>
<p class="py-4">{$LL.device.modal_confirm_shutdown_desc({ device: device.name })}</p>
<p class="py-4">{m.device_modal_confirm_shutdown_desc({ device: device.name })}</p>
<div class="modal-action">
<form method="dialog" class="flex flex-row flex-wrap gap-2">
<button class="btn btn-neutral">{$LL.buttons.cancel()}</button>
<button class="btn btn-success" on:click={shutdown}>{$LL.buttons.confirm()}</button>
<form method="dialog">
<button class="btn">{m.buttons_cancel()}</button>
<button class="btn btn-success" onclick={shutdown}>{m.buttons_confirm()}</button>
</form>
</div>
</div>
</dialog>
<style>
:global(.menu li.disabled) {
color: inherit;
}
</style>
+451 -368
View File
@@ -1,7 +1,9 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { resolve } from '$app/paths';
import DeviceFormPort from '$lib/components/DeviceFormPort.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { nextCronDate, parseCron as validateCron } from '$lib/helpers/cron';
import { m } from '$lib/paraglide/messages';
import { permission, pocketbase } from '$lib/stores/pocketbase';
import type { Device, Group, Port } from '$lib/types/device';
import { faSave, faTrash, faX } from '@fortawesome/free-solid-svg-icons';
@@ -20,6 +22,16 @@
});
async function save() {
// validate crons
if (device.wake_cron_enabled && !(await validateCron(device.wake_cron))) {
toast.error(m.settings_invalid_cron());
throw new Error('wake_cron not valid');
}
if (device.shutdown_cron_enabled && !(await validateCron(device.shutdown_cron))) {
toast.error(m.settings_invalid_cron());
throw new Error('shutdown_cron not valid');
}
// create/update all ports
let portIds: string[] = [];
await Promise.all(
@@ -38,6 +50,11 @@
device.ip = device.ip.replaceAll(' ', '');
device.mac = device.mac.replaceAll(' ', '');
device.netmask = device.netmask.replaceAll(' ', '');
device.wake_cmd = device.wake_cmd.trim();
device.shutdown_cmd = device.shutdown_cmd.trim();
device.wake_cron = device.wake_cron.trim();
device.shutdown_cron = device.shutdown_cron.trim();
device.ping_cmd = device.ping_cmd.trim();
device.ports = portIds;
if (device.id) {
updateDevice(device);
@@ -51,8 +68,8 @@
.collection('devices')
.update(device.id, device)
.then(() => {
toast.success($LL.toasts.device_updated({ device: device.name }));
goto('/');
toast.success(m.toasts_device_updated({ device: device.name }));
goto(resolve('/'));
})
.catch((err) => {
toast.error(err.message);
@@ -67,8 +84,8 @@
.collection('devices')
.create(device)
.then(() => {
toast.success($LL.toasts.device_created({ device: device.name }));
goto('/');
toast.success(m.toasts_device_created({ device: device.name }));
goto(resolve('/'));
})
.catch((err) => {
toast.error(err.message);
@@ -110,8 +127,8 @@
.collection('devices')
.delete(device.id)
.then(() => {
toast.success($LL.toasts.device_deleted({ device: device.name }));
goto('/');
toast.success(m.toasts_device_deleted({ device: device.name }));
goto(resolve('/'));
})
.catch((err) => {
toast.error(err.message);
@@ -141,7 +158,8 @@
})
.then((res) => {
deviceGroups = [...deviceGroups, res as Group];
toast.success($LL.toasts.group_created({ group: newGroup }));
toast.success(m.toasts_group_created({ group: newGroup }));
newGroup = '';
})
.catch((err) => {
toast.error(err.message);
@@ -159,7 +177,7 @@
.delete(group.id)
.then(async () => {
await getGroups();
toast.success($LL.toasts.group_deleted({ group: group.name }));
toast.success(m.toasts_group_deleted({ group: group.name }));
})
.catch((err) => {
toast.error(err.message);
@@ -177,436 +195,495 @@
}
</script>
<form on:submit|preventDefault={save}>
<div class="card w-full bg-base-300 shadow-xl">
<form
onsubmit={(e) => {
e.preventDefault();
save();
}}
class="flex w-full flex-col"
>
<div class="card bg-base-200 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.device.general()}</h2>
<h2 class="card-title">{m.device_general()}</h2>
<div class="grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-4">
<div class="form-control w-full max-w-xs">
<label class="label" for="device-name">
<div class="label-text">
<span>{$LL.device.general_name()}</span>
<span class="text-error">*</span>
</div>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_general_name()} <span class="text-error">*</span></span>
<input
type="text"
placeholder={m.device_general_name()}
class="input"
bind:value={device.name}
required
/>
</label>
<input
id="device-name"
type="text"
placeholder={$LL.device.general_name_placeholder()}
class="input w-full max-w-xs"
bind:value={device.name}
required
/>
</div>
<div class="form-control w-full max-w-xs">
<label class="label" for="device-ip">
<div class="label-text">
<span>{$LL.device.general_ip()}</span>
<span class="text-error">*</span>
</div>
</fieldset>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_general_ip()} <span class="text-error">*</span></span>
<input
type="text"
placeholder={m.device_general_ip()}
class="input"
bind:value={device.ip}
required
/>
</label>
<input
id="device-ip"
type="text"
placeholder="192.168.0.5"
class="input w-full max-w-xs"
bind:value={device.ip}
required
/>
</div>
<div class="form-control w-full max-w-xs">
<label class="label" for="device-mac">
<div class="label-text">
<span>{$LL.device.general_mac()}</span>
<span class="text-error">*</span>
</div>
</fieldset>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_general_mac()} <span class="text-error">*</span></span>
<input
type="text"
placeholder={m.device_general_mac()}
class="input"
bind:value={device.mac}
required
/>
</label>
<input
id="device-mac"
type="text"
placeholder="aa:bb:cc:dd:ee:ff"
class="input w-full max-w-xs"
bind:value={device.mac}
required
/>
</div>
<div class="form-control w-full max-w-xs">
<label class="label" for="device-netmask">
<div class="label-text">
<span>{$LL.device.general_netmask()}</span>
<span class="text-error">*</span>
</div>
</fieldset>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_general_netmask()} <span class="text-error">*</span></span>
<input
type="text"
placeholder={m.device_general_netmask()}
class="input"
bind:value={device.netmask}
required
/>
</label>
<input
id="device-netmask"
type="text"
placeholder="255.255.255.0"
class="input w-full max-w-xs"
bind:value={device.netmask}
required
/>
</div>
<span class="badge self-center text-error">* {$LL.device.general_required_field()}</span>
</fieldset>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_general_description()}</span>
<input
type="text"
placeholder={m.device_general_description()}
class="input"
bind:value={device.description}
/>
</label>
</fieldset>
<span class="badge text-error self-center">* {m.device_general_required_field()}</span>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.device.ports()}</h2>
<p class="my-2">{$LL.device.ports_desc()}</p>
<div class="form-control w-full">
<h2 class="card-title">{m.device_ports()}</h2>
<p>{m.device_ports_desc()}</p>
<div class="w-full">
<div class="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
<!-- eslint-disable-next-line @typescript-eslint/no-unused-vars -->
{#each device.expand.ports as _, index}
{#each device.expand.ports as _, index (index)}
<DeviceFormPort bind:device {index} />
{/each}
</div>
<button
class="btn btn-primary mt-4 max-w-xs"
on:click={() => createEmptyPort()}
type="button">{$LL.device.ports_add_new()}</button
class="btn max-w-xs {device.expand.ports.length > 0 ? 'mt-4' : ''}"
onclick={() => createEmptyPort()}
type="button">{m.device_ports_add_new()}</button
>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.device.link()}</h2>
<p class="my-2">
{$LL.device.link_desc()}
<h2 class="card-title">{m.device_link()}</h2>
<p>
{m.device_link_desc()}
</p>
<div class="form-control w-full">
<input
type="url"
placeholder="https:// ..."
class="input w-full max-w-xs"
bind:value={device.link}
/>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card-body">
<h2 class="card-title">{$LL.device.ping()}</h2>
<p class="my-2">
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.device.ping_desc()}
</p>
<div class="form-control w-full">
<label class="label cursor-pointer" for="ping-cmd">
<span class="label-text">{$LL.device.ping_cmd()}</span>
</label>
<input
id="ping-cmd"
type="text"
placeholder="$:"
class="input mb-2 w-full max-w-xs"
bind:value={device.ping_cmd}
/>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card-body">
<h2 class="card-title">{$LL.device.wake()}</h2>
<p class="my-2">
{$LL.device.wake_desc()}
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.settings.ping_interval_desc2()}
</p>
<div class="form-control w-full">
<label class="label cursor-pointer" for="wake-cmd">
<span class="label-text">{$LL.device.wake_cmd()}</span>
</label>
<input
id="wake-cmd"
type="text"
placeholder="$:"
class="input mb-2 w-full max-w-xs"
bind:value={device.wake_cmd}
/>
</div>
<div class="form-control flex flex-row flex-wrap gap-4">
<div class="flex flex-row items-center gap-2">
<input
id="wake-confirm"
type="checkbox"
class="toggle toggle-success"
bind:checked={device.wake_confirm}
/>
<label class="label cursor-pointer" for="wake-confirm">
<span class="label-text">{$LL.device.require_confirmation()}</span>
<div class="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_link()}</span>
<input
type="url"
placeholder={m.device_link()}
class="input"
bind:value={device.link}
/>
</label>
</div>
</fieldset>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_link_open()}</span>
<select class="select" bind:value={device.link_open}>
<option value="">{m.device_link_open_no()}</option>
<option value="same_tab">{m.device_link_open_same_tab()}</option>
<option value="new_tab">{m.device_link_open_new_tab()}</option>
</select>
</label>
</fieldset>
</div>
<div class="form-control flex flex-row flex-wrap gap-4">
<div class="w-full max-w-xs">
<label class="label" for="wake-cron">
<span class="label-text"
>{$LL.device.wake_cron()}
</div>
</div>
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{m.device_ping()}</h2>
<p>
<!-- eslint-disable svelte/no-at-html-tags -->
{@html m.device_ping_desc()}
</p>
<fieldset class="fieldset">
<label class="input mt-2">
<span>$:</span>
<input
type="text"
placeholder={m.device_ping_cmd()}
class="grow"
bind:value={device.ping_cmd}
/>
</label>
</fieldset>
</div>
</div>
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{m.device_wake()}</h2>
<p>
{m.device_wake_desc()}
<!-- eslint-disable svelte/no-at-html-tags -->
{@html m.settings_ping_interval_desc2()}
</p>
<div class="flex flex-row flex-wrap gap-4">
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_wake_timeout()}</span>
<input
type="number"
min="0"
placeholder={m.device_wake_timeout()}
class="input"
bind:value={device.wake_timeout}
/>
</label>
</fieldset>
<fieldset class="fieldset">
<label class="input mt-2">
<span>$:</span>
<input
type="text"
placeholder={m.device_wake_cmd()}
class="grow"
bind:value={device.wake_cmd}
/>
</label>
</fieldset>
</div>
<div class="flex flex-row flex-wrap gap-4">
<fieldset
class="fieldset bg-base-100 border-base-300 rounded-box w-fit min-w-64 border p-4"
>
<legend class="fieldset-legend">{m.device_wake_cron_enable()}</legend>
<label class="fieldset-label">
<input
type="checkbox"
bind:checked={device.wake_cron_enabled}
class="toggle toggle-success"
/>
{m.device_wake_cron_enable()}
</label>
<label class="floating-label mt-2">
<span
>{m.device_wake_cron()}
{#if device.wake_cron_enabled}
<span class="text-error">*</span>
{/if}
</span>
<input
type="text"
placeholder={m.device_wake_cron()}
class="input"
bind:value={device.wake_cron}
disabled={!device.wake_cron_enabled}
required={device.wake_cron_enabled}
/>
{#if device.wake_cron_enabled}
<p class="fieldset-label">
{#await validateCron(device.wake_cron)}
<span class="loading loading-spinner loading-xs"></span>
{:then valid}
{valid ? '✅ ' + nextCronDate(device.wake_cron) : m.settings_invalid_cron()}
{/await}
</p>
{/if}
</label>
<input
id="wake-cron"
type="text"
placeholder="M H DoM M DoW"
class="input w-full max-w-xs"
bind:value={device.wake_cron}
disabled={!device.wake_cron_enabled}
required={device.wake_cron_enabled}
/>
</div>
<div class="flex flex-col">
<label class="label cursor-pointer" for="wake-cron-enable">
<span class="label-text">{$LL.device.wake_cron_enable()}</span>
{#if device.wake_cron_enabled}
<pre class="bg-base-100 text-base-content/80 w-fit rounded p-2"><code
>* * * * * *
| | | | | |
| | | | | day of the week (0–6)
| | | | month (1–12)
| | | day of the month (1–31)
| | hour (0–23)
| minute (0–59)
second (0–59, optional)
</code></pre>
{/if}
</fieldset>
<fieldset class="fieldset bg-base-100 border-base-300 rounded-box w-64 border p-4">
<legend class="fieldset-legend">{m.device_require_confirmation()}</legend>
<label class="fieldset-label">
<input
type="checkbox"
bind:checked={device.wake_confirm}
class="toggle toggle-success"
/>
{m.device_require_confirmation()}
</label>
<input
id="wake-cron-enable"
type="checkbox"
class="toggle toggle-success"
bind:checked={device.wake_cron_enabled}
/>
</div>
</fieldset>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{m.device_shutdown()}</h2>
<p>
<!-- eslint-disable svelte/no-at-html-tags -->
{@html m.device_shutdown_desc()}
</p>
<div class="flex flex-row flex-wrap gap-4">
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_shutdown_timeout()}</span>
<input
type="number"
min="0"
placeholder={m.device_shutdown_timeout()}
class="input"
bind:value={device.shutdown_timeout}
/>
</label>
</fieldset>
<fieldset class="fieldset">
<label class="input mt-2">
<span>$:</span>
<input
type="text"
placeholder={m.device_shutdown_cmd()}
class="grow"
bind:value={device.shutdown_cmd}
/>
</label>
</fieldset>
</div>
<p class="font-bold">{m.device_shutdown_examples()}</p>
<div class="mockup-code max-w-fit min-w-0 text-sm">
<pre data-prefix="#" class="italic"><code>{m.device_shutdown_examples_windows()}</code
></pre>
<pre data-prefix="$" class="text-warning"><code
>net rpc shutdown -I 192.168.1.13 -U "user%password"</code
></pre>
</div>
<div class="mockup-code max-w-fit min-w-0 text-sm">
<pre data-prefix="#" class="italic"><code>{m.device_shutdown_examples_linux()}</code></pre>
<pre data-prefix="$" class="text-warning"><code
>sshpass -p password ssh -o "StrictHostKeyChecking=no" user@192.168.1.13 "sudo poweroff"</code
></pre>
</div>
<p>
{m.device_shutdown_cron_desc()}
</p>
<div class="flex flex-row flex-wrap gap-4">
<fieldset
class="fieldset bg-base-100 border-base-300 rounded-box w-fit min-w-64 border p-4"
>
<legend class="fieldset-legend">{m.device_shutdown_cron_enable()}</legend>
<label class="fieldset-label">
<input
type="checkbox"
bind:checked={device.shutdown_cron_enabled}
class="toggle toggle-success"
/>
{m.device_shutdown_cron_enable()}
</label>
<label class="floating-label mt-2">
<span
>{m.device_shutdown_cron()}
{#if device.shutdown_cron_enabled}
<span class="text-error">*</span>
{/if}
</span>
<input
type="text"
placeholder={m.device_shutdown_cron()}
class="input validator"
bind:value={device.shutdown_cron}
disabled={!device.shutdown_cron_enabled}
required={device.shutdown_cron_enabled}
/>
{#if device.shutdown_cron_enabled}
<p class="fieldset-label">
{#await validateCron(device.shutdown_cron)}
<span class="loading loading-spinner loading-xs"></span>
{:then valid}
{valid ? '✅ ' + nextCronDate(device.shutdown_cron) : m.settings_invalid_cron()}
{/await}
</p>
{/if}
</label>
{#if device.shutdown_cron_enabled}
<pre class="bg-base-100 text-base-content/80 w-fit rounded p-2"><code
>* * * * * *
| | | | | |
| | | | | day of the week (0–6)
| | | | month (1–12)
| | | day of the month (1–31)
| | hour (0–23)
| minute (0–59)
second (0–59, optional)
</code></pre>
{/if}
</fieldset>
<fieldset class="fieldset bg-base-100 border-base-300 rounded-box w-64 border p-4">
<legend class="fieldset-legend">{m.device_require_confirmation()}</legend>
<label class="fieldset-label">
<input
type="checkbox"
bind:checked={device.shutdown_confirm}
class="toggle toggle-success"
/>
{m.device_require_confirmation()}
</label>
</fieldset>
</div>
</div>
</div>
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">Sleep-On-LAN</h2>
<p class="mt-2">
<p>
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.device.sol_desc1()}
{@html m.device_sol_desc1()}
</p>
<p>
{$LL.device.sol_desc2()}
{m.device_sol_desc2()}
</p>
<p class="font-bold">
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.device.sol_desc3()}
{@html m.device_sol_desc3()}
</p>
<div class="mt-4 flex flex-row flex-wrap items-end gap-4">
<div>
<div class="form-control flex flex-row flex-wrap gap-4">
<div class="flex flex-row items-center gap-2">
<input
id="sol-enable"
type="checkbox"
class="toggle toggle-success"
bind:checked={device.sol_enabled}
/>
<label class="label cursor-pointer" for="sol-enable">
<span class="label-text">{$LL.device.sol_enable()}</span>
</label>
</div>
</div>
<div class="form-control flex flex-col">
<label class="label" for="sol-port">
<span class="label-text"
>{$LL.device.sol_port()}
{#if device.sol_enabled}
<span class="text-error">*</span>
{/if}
</span>
</label>
<div class="flex flex-row flex-wrap gap-4">
<fieldset class="fieldset bg-base-100 border-base-300 rounded-box w-64 border p-4">
<legend class="fieldset-legend">{m.device_sol_enable()}</legend>
<label class="fieldset-label">
<input
id="sol-port"
type="checkbox"
bind:checked={device.sol_enabled}
class="toggle toggle-success"
/>
{m.device_sol_enable()}
</label>
<label class="floating-label mt-2">
<span
>{m.device_sol_port()}
{#if device.sol_enabled}
<span class="text-error">*</span>
{/if}
</span>
<input
class="input"
type="number"
min="1"
max="65535"
class="input"
placeholder={m.device_sol_port()}
bind:value={device.sol_port}
disabled={!device.sol_enabled}
required={device.sol_enabled}
/>
</div>
</div>
</label>
</fieldset>
{#if device.sol_enabled}
<div>
<div class="form-control flex flex-row flex-wrap gap-4">
<div class="flex flex-row items-center gap-2">
<input
id="sol-auth"
type="checkbox"
class="toggle toggle-success"
bind:checked={device.sol_auth}
/>
<label class="label cursor-pointer" for="sol-auth">
<span class="label-text">{$LL.device.sol_authorization()}</span>
</label>
</div>
</div>
<div class="form-control flex flex-col">
<label class="label" for="sol-user">
<span class="label-text"
>{$LL.device.sol_user()}
{#if device.sol_auth}
<span class="text-error">*</span>
{/if}
</span>
</label>
<fieldset class="fieldset bg-base-100 border-base-300 rounded-box w-64 border p-4">
<legend class="fieldset-legend">{m.device_sol_authorization()}</legend>
<label class="fieldset-label">
<input type="checkbox" bind:checked={device.sol_auth} class="toggle toggle-success" />
{m.device_sol_authorization()}
</label>
<label class="floating-label mt-2">
<span
>{m.device_sol_user()}
{#if device.sol_auth}
<span class="text-error">*</span>
{/if}
</span>
<input
id="sol-user"
type="text"
placeholder={$LL.device.sol_user()}
placeholder={m.device_sol_user()}
class="input"
bind:value={device.sol_user}
disabled={!device.sol_auth}
required={device.sol_auth}
/>
</div>
</div>
<div class="form-control flex flex-col">
<label class="label" for="sol-password">
<span class="label-text"
>{$LL.device.sol_password()}
</label>
<label class="floating-label mt-2">
<span
>{m.device_sol_password()}
{#if device.sol_auth}
<span class="text-error">*</span>
{/if}
</span>
<input
type="password"
placeholder={m.device_sol_password()}
class="input"
bind:value={device.sol_password}
disabled={!device.sol_auth}
required={device.sol_auth}
/>
</label>
<input
id="sol-password"
type="password"
placeholder={$LL.device.sol_password()}
class="input"
bind:value={device.sol_password}
disabled={!device.sol_auth}
required={device.sol_auth}
/>
</div>
</fieldset>
{/if}
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.device.shutdown()}</h2>
<p class="my-2">
<h2 class="card-title">{m.device_password()}</h2>
<p>
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.device.shutdown_desc()}
{@html m.device_password_desc()}
</p>
<p class="my-2 font-bold">{$LL.device.shutdown_examples()}</p>
<div class="mockup-code min-w-0 max-w-fit text-sm">
<pre data-prefix="#"><code>{$LL.device.shutdown_examples_windows()}</code></pre>
<pre data-prefix="$" class="text-warning"><code
>net rpc shutdown -I 192.168.1.13 -U "user%password"</code
></pre>
</div>
<div class="mockup-code min-w-0 max-w-fit text-sm">
<pre data-prefix="#"><code>{$LL.device.shutdown_examples_linux()}</code></pre>
<pre data-prefix="$" class="text-warning"><code
>sshpass -p password ssh -o "StrictHostKeyChecking=no" user@192.168.1.13 "sudo poweroff"</code
></pre>
</div>
<div class="form-control w-full">
<label class="label cursor-pointer" for="shutdown-cmd">
<span class="label-text">{$LL.device.shutdown_cmd()}</span>
</label>
<input
id="shutdown-cmd"
type="text"
placeholder="$:"
class="input mb-2 w-full max-w-xs"
bind:value={device.shutdown_cmd}
/>
</div>
<div class="form-control flex flex-row flex-wrap gap-4">
<div class="flex flex-row items-center gap-2">
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.device_password()}</span>
<input
id="shutdown-confirm"
type="checkbox"
class="toggle toggle-success"
bind:checked={device.shutdown_confirm}
/>
<label class="label cursor-pointer" for="shutdown-confirm">
<span class="label-text">{$LL.device.require_confirmation()}</span>
</label>
</div>
</div>
<p class="my-2">
{$LL.device.shutdown_cron_desc()}
</p>
<div class="form-control flex flex-row flex-wrap gap-4">
<div class="w-full max-w-xs">
<label class="label" for="shutdown-cron">
<span class="label-text"
>{$LL.device.shutdown_cron()}
{#if device.shutdown_cron_enabled}
<span class="text-error">*</span>
{/if}
</span>
</label>
<input
id="shutdown-cron"
type="text"
placeholder="M H DoM M DoW"
class="input w-full max-w-xs"
bind:value={device.shutdown_cron}
disabled={!device.shutdown_cron_enabled}
required={device.shutdown_cron_enabled}
placeholder={m.device_password()}
class="input"
maxlength="6"
bind:value={device.password}
/>
</div>
<div class="flex flex-col">
<label class="label cursor-pointer" for="shutdown-cron-enable">
<span class="label-text">{$LL.device.shutdown_cron_enable()}</span>
</label>
<input
id="shutdown-cron-enable"
type="checkbox"
class="toggle toggle-success"
bind:checked={device.shutdown_cron_enabled}
/>
</div>
</div>
</label>
</fieldset>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.device.password()}</h2>
<p class="my-2">
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.device.password_desc()}
</p>
<div class="form-control w-full">
<input
type="password"
placeholder="123456"
class="input w-full max-w-xs"
maxlength="6"
bind:value={device.password}
/>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card-body">
<h2 class="card-title">{$LL.device.groups()}</h2>
<p class="my-2">
{$LL.device.groups_desc()}
<h2 class="card-title">{m.device_groups()}</h2>
<p>
{m.device_groups_desc()}
</p>
<div class="flex flex-row flex-wrap gap-2">
{#each deviceGroups as group}
{#each deviceGroups as group (group.id)}
<div class="join">
<div class=" tooltip" data-tip="Delete">
<button
class="btn btn-error join-item"
type="button"
on:click={() => deleteGroup(group)}><Fa icon={faX} /></button
onclick={() => deleteGroup(group)}><Fa icon={faX} /></button
>
</div>
<div
class="btn join-item bg-base-100 hover:bg-base-200"
on:click={() => toggleGroup(group.id)}
onclick={() => toggleGroup(group.id)}
role="none"
>
<input
type="checkbox"
class="checkbox checked:checkbox-primary"
class="checkbox"
checked={device.groups.indexOf(group.id) !== -1}
/>
{group.name}
@@ -614,37 +691,43 @@
</div>
{/each}
</div>
<div class="join max-w-xs">
<div class="join">
<input
class="input join-item input-bordered w-full"
placeholder={$LL.device.groups_placeholder()}
class="input join-item"
placeholder={m.device_groups_placeholder()}
type="text"
onkeydown={(e) => {
if (e.key === 'Enter') {
e.preventDefault();
addGroup();
}
}}
bind:value={newGroup}
/>
<button class="btn btn-primary join-item" type="button" on:click={() => addGroup()}
>{$LL.buttons.add()}</button
<button class="btn btn-neutral join-item" type="button" onclick={() => addGroup()}
>{m.buttons_add()}</button
>
</div>
</div>
</div>
<div class="card-actions mt-6 justify-end gap-4">
{#if $pocketbase.authStore.isSuperuser || $permission.delete?.includes(device.id)}
<button class="btn btn-error" type="button" on:click={() => deleteModal.showModal()}
><Fa icon={faTrash} />{$LL.buttons.delete()}</button
<button class="btn btn-error" type="button" onclick={() => deleteModal.showModal()}
><Fa icon={faTrash} />{m.buttons_delete()}</button
>
<dialog class="modal" bind:this={deleteModal}>
<form method="dialog" class="modal-box">
<h3 class="text-lg font-bold">{$LL.users.confirm_delete_title()}</h3>
<p class="py-4">{$LL.users.confirm_delete_desc({ username: device.name })}</p>
<div class="modal-action">
<button class="btn">{$LL.buttons.cancel()}</button>
<button class="btn btn-error" on:click={() => deleteDevice()}
>{$LL.buttons.delete()}</button
>
</div>
</form>
</dialog>
{/if}
<button class="btn btn-success" type="submit"><Fa icon={faSave} />{$LL.buttons.save()}</button>
<button class="btn btn-success" type="submit"><Fa icon={faSave} />{m.buttons_save()}</button>
</div>
</form>
<dialog class="modal" bind:this={deleteModal}>
<div class="modal-box">
<h3 class="text-lg font-bold">{m.users_confirm_delete_title()}</h3>
<p class="py-4">{m.users_confirm_delete_desc({ username: device.name })}</p>
<div class="modal-action">
<form method="dialog">
<button class="btn">{m.buttons_cancel()}</button>
<button class="btn btn-error" onclick={() => deleteDevice()}>{m.buttons_delete()}</button>
</form>
</div>
</div>
</dialog>
@@ -1,12 +1,11 @@
<script lang="ts">
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { pocketbase } from '$lib/stores/pocketbase';
import type { Device, Port } from '$lib/types/device';
import { faTrash } from '@fortawesome/free-solid-svg-icons';
import type { RecordModel } from 'pocketbase';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
import { scale } from 'svelte/transition';
export let device: Device;
export let index: number;
@@ -28,57 +27,51 @@
</script>
{#if device.expand.ports[index]}
<div class="card bg-base-100 shadow-sm" transition:scale={{ delay: 0, duration: 200 }}>
<div class="card-body p-3">
<div class="flex flex-row gap-2">
<div>
<label class="label p-0" for="port-name-{index}">
<span class="label-text">{$LL.device.ports_name()}</span>
</label>
<fieldset class="fieldset bg-base-100 border-base-300 rounded-box w-xs max-w-full border p-4">
<legend class="fieldset-legend"># {device.expand.ports.length}</legend>
<div class="flex flex-row gap-2">
<fieldset class="fieldset">
<label class="floating-label">
<span>{m.device_ports_name()} <span class="text-error">*</span></span>
<input
id="port-name-{index}"
type="text"
placeholder="ssh"
class="input input-sm input-bordered w-full"
placeholder={m.device_ports_name()}
class="input"
required
bind:value={device.expand.ports[index].name}
/>
</div>
<div>
<label class="label p-0" for="port-number-{index}">
<span class="label-text">{$LL.device.ports_number()}</span>
</label>
</label>
</fieldset>
<fieldset class="fieldset">
<label class="floating-label">
<span>{m.device_ports_number()} <span class="text-error">*</span></span>
<input
id="port-number-{index}"
type="number"
placeholder="22"
placeholder={m.device_ports_number()}
class="input"
min="1"
max="65535"
class="input input-sm input-bordered w-full"
required
bind:value={device.expand.ports[index].number}
/>
</div>
</div>
<div>
<label class="label p-0" for="port-link-{index}">
<span class="label-text">{$LL.device.link()}</span>
</label>
</fieldset>
</div>
<fieldset class="fieldset">
<label class="floating-label">
<span>{m.device_link()}</span>
<input
id="port-link-{index}"
type="url"
placeholder="https:// ..."
class="input input-sm input-bordered w-full"
type="text"
placeholder={m.device_link()}
class="input"
bind:value={device.expand.ports[index].link}
/>
</div>
<div class="card-actions justify-end">
<button
class="btn btn-outline btn-error btn-xs"
on:click={() => deletePort(device.expand.ports[index])}
type="button"><Fa icon={faTrash} />{$LL.buttons.delete()}</button
>
</div>
</div>
</div>
</label>
</fieldset>
<button
class="btn btn-error btn-xs btn-soft ms-auto"
onclick={() => deletePort(device.expand.ports[index])}
type="button"><Fa icon={faTrash} />{m.buttons_delete()}</button
>
</fieldset>
{/if}
+86 -94
View File
@@ -1,7 +1,8 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import LL from '$lib/i18n/i18n-svelte';
import { asset, resolve } from '$app/paths';
import { page } from '$app/state';
import { m } from '$lib/paraglide/messages';
import { backendUrl, permission, pocketbase } from '$lib/stores/pocketbase';
import { settingsPub } from '$lib/stores/settings';
import {
@@ -52,10 +53,12 @@
'dim',
'nord',
'sunset',
'colorful'
'caramellatte',
'abyss',
'silk'
];
let activeTheme: string | null = '';
$: avatar = $pocketbase.authStore.record?.avatar;
let avatar = $pocketbase.authStore.record?.avatar;
onMount(() => {
themeChange(false);
@@ -71,7 +74,7 @@
await $pocketbase.collection('ports').unsubscribe('*');
await $pocketbase.collection('permissions').unsubscribe('*');
$pocketbase.authStore.clear();
goto('/login', { invalidateAll: true });
goto(resolve('/login'), { invalidateAll: true });
}
</script>
@@ -100,7 +103,7 @@
<ul
id="mobile-menu"
tabindex="-1"
class="menu dropdown-content z-[1] mt-3 w-max gap-1 rounded-box bg-base-300 p-2 shadow"
class="menu dropdown-content rounded-box bg-base-200 z-[1] mt-3 w-max gap-1 p-2 shadow-sm"
>
{#if $settingsPub?.website_title}
<div class="menu-title">
@@ -108,25 +111,25 @@
</div>
{/if}
<li>
<a href="/" class="px-4 py-2" class:active={$page.url.pathname === '/'}
><Fa icon={faHome} />{$LL.home.page_title()}</a
<a href={resolve('/')} class="px-4 py-2" class:active={page.url.pathname === resolve('/')}
><Fa icon={faHome} />{m.home_page_title()}</a
>
</li>
{#if $pocketbase.authStore.isSuperuser}
<li>
<a
href="/users"
href={resolve('/users')}
class="px-4 py-2"
class:active={$page.url.pathname.startsWith('/users')}
><Fa icon={faUsersGear} />{$LL.users.page_title()}</a
class:active={page.url.pathname.startsWith(resolve('/users'))}
><Fa icon={faUsersGear} />{m.users_page_title()}</a
>
</li>
<li>
<a
href="/settings/"
href={resolve('/settings/')}
class="px-4 py-2"
class:active={$page.url.pathname.startsWith('/settings')}
><Fa icon={faCog} />{$LL.settings.page_title()}</a
class:active={page.url.pathname.startsWith(resolve('/settings'))}
><Fa icon={faCog} />{m.settings_page_title()}</a
>
</li>
{/if}
@@ -138,36 +141,25 @@
>
<ul>
<div class="h-fit max-h-72 overflow-scroll">
{#each availableThemes as theme}
<li>
{#each availableThemes as theme (theme)}
<li class="w-full">
<button
class="overflow-hidden rounded-lg text-left outline-base-content"
class="gap-3 px-2"
data-set-theme={theme}
on:click={() => (activeTheme = theme)}
on:keydown={() => (activeTheme = theme)}
onclick={() => (activeTheme = theme)}
onkeydown={() => (activeTheme = theme)}
>
<div
data-theme={theme}
class="w-full cursor-pointer rounded bg-base-100 font-sans text-base-content"
class="bg-base-100 grid shrink-0 grid-cols-2 gap-0.5 rounded-md p-1 shadow-sm"
>
<div class="grid grid-cols-5 grid-rows-3">
<div
class="col-span-5 row-span-3 row-start-1 flex items-center gap-2 px-4 py-3"
>
<Fa
icon={faCheck}
class={activeTheme === theme ? 'visible' : 'invisible'}
/>
<div class="flex-grow text-sm">{theme}</div>
<div class="flex h-full flex-shrink-0 flex-wrap gap-1">
<div class="w-2 rounded bg-primary" />
<div class="w-2 rounded bg-secondary" />
<div class="w-2 rounded bg-accent" />
<div class="w-2 rounded bg-neutral" />
</div>
</div>
</div>
<div class="bg-base-content size-1 rounded-full"></div>
<div class="bg-primary size-1 rounded-full"></div>
<div class="bg-secondary size-1 rounded-full"></div>
<div class="bg-accent size-1 rounded-full"></div>
</div>
<div class="truncate">{theme}</div>
<Fa icon={faCheck} class={activeTheme === theme ? 'visible' : 'invisible'} />
</button>
</li>
{/each}
@@ -177,11 +169,11 @@
</li>
</ul>
</div>
<a class="btn btn-ghost px-2 text-xl normal-case" href="/">
<a class="btn btn-ghost h-full border-0 px-2 text-xl" href={resolve('/')}>
<img
src={$settingsPub?.id && $settingsPub?.favicon
? `${backendUrl}api/files/settings_public/${$settingsPub?.id}/${$settingsPub?.favicon}`
: '/gopher.svg'}
: asset('/gopher.svg')}
alt={$settingsPub?.website_title ? $settingsPub?.website_title : 'UpSnap'}
width="45"
height="45"
@@ -190,84 +182,84 @@
</div>
<div class="hidden {$settingsPub?.website_title ? 'lg:flex' : 'md:flex'}">
{#if $settingsPub?.website_title}
<span class="px-2">{$settingsPub?.website_title}</span>
<span class="self-center px-2">{$settingsPub?.website_title}</span>
{/if}
<ul class="menu menu-horizontal gap-1 px-1">
<li>
<a href="/" class="p-2" class:active={$page.url.pathname === '/'}
><Fa icon={faHome} />{$LL.home.page_title()}</a
<ul class="menu menu-horizontal h-full gap-1 px-1">
<li class="h-full">
<a href={resolve('/')} class="p-2" class:menu-active={page.url.pathname === resolve('/')}
><Fa icon={faHome} />{m.home_page_title()}</a
>
</li>
{#if $pocketbase.authStore.isSuperuser}
<li>
<a href="/users" class="p-2" class:active={$page.url.pathname.startsWith('/users')}
><Fa icon={faUsersGear} />{$LL.users.page_title()}</a
<li class="h-full">
<a
href={resolve('/users')}
class="p-2"
class:menu-active={page.url.pathname.startsWith(resolve('/users'))}
><Fa icon={faUsersGear} />{m.users_page_title()}</a
>
</li>
<li>
<a href="/settings/" class="p-2" class:active={$page.url.pathname.startsWith('/settings')}
><Fa icon={faCog} />{$LL.settings.page_title()}</a
<li class="h-full">
<a
href={resolve('/settings/')}
class="p-2"
class:menu-active={page.url.pathname.startsWith(resolve('/settings'))}
><Fa icon={faCog} />{m.settings_page_title()}</a
>
</li>
{/if}
</ul>
<div class="dropdown dropdown-end">
<div tabindex="-1" class="btn btn-ghost normal-case">
<Fa icon={faSwatchbook} />
<span class="font-normal">{$LL.navbar.theme()}</span>
<Fa icon={faChevronDown} />
</div>
<div
class="dropdown-content z-[1] mt-3 h-fit max-h-96 w-56 overflow-y-auto rounded-box bg-base-200 text-base-content shadow"
>
<div class="grid grid-cols-1 gap-3 p-3" tabindex="-1">
{#each availableThemes as theme}
<button
class="overflow-hidden rounded-lg text-left outline-base-content"
data-set-theme={theme}
on:click={() => (activeTheme = theme)}
on:keydown={() => (activeTheme = theme)}
>
<div
data-theme={theme}
class="w-full cursor-pointer bg-base-100 font-sans text-base-content"
>
<div class="grid grid-cols-5 grid-rows-3">
<div class="col-span-5 row-span-3 row-start-1 flex items-center gap-2 px-4 py-3">
<Fa icon={faCheck} class={activeTheme === theme ? 'visible' : 'invisible'} />
<div class="flex-grow text-sm">{theme}</div>
<div class="flex h-full flex-shrink-0 flex-wrap gap-1">
<div class="w-2 rounded bg-primary" />
<div class="w-2 rounded bg-secondary" />
<div class="w-2 rounded bg-accent" />
<div class="w-2 rounded bg-neutral" />
</div>
<div class="dropdown dropdown-end">
<button class="btn btn-ghost hover:bg-base-content/10 h-full border-0 p-2" tabindex="0">
<Fa icon={faSwatchbook} />
<span class="font-normal">{m.navbar_theme()}</span>
<Fa icon={faChevronDown} />
</button>
<div class="dropdown-content bg-base-200 rounded-box z-1 mt-3 w-52 shadow-sm">
<ul class="menu menu-horizontal h-fit max-h-96 overflow-y-auto">
{#each availableThemes as theme (theme)}
<li class="w-full">
<button
class="gap-3 px-2"
data-set-theme={theme}
onclick={() => (activeTheme = theme)}
onkeydown={() => (activeTheme = theme)}
>
<div
data-theme={theme}
class="bg-base-100 grid shrink-0 grid-cols-2 gap-0.5 rounded-md p-1 shadow-sm"
>
<div class="bg-base-content size-1 rounded-full"></div>
<div class="bg-primary size-1 rounded-full"></div>
<div class="bg-secondary size-1 rounded-full"></div>
<div class="bg-accent size-1 rounded-full"></div>
</div>
</div>
</div>
</button>
{/each}
<div class="truncate">{theme}</div>
<Fa icon={faCheck} class={activeTheme === theme ? 'visible' : 'invisible'} />
</button>
</li>
{/each}
</ul>
</div>
</div>
</div>
</ul>
</div>
<div class="ms-auto justify-end">
{#if $pocketbase.authStore?.record !== null}
{#if $pocketbase.authStore.isSuperuser || $permission.create}
<a class="btn btn-success me-4" href="/device/new">
<a class="btn btn-success me-4" href={resolve('/device/new')}>
<Fa icon={faPlus} />
{$LL.navbar.new()}
{m.navbar_new()}
</a>
{/if}
<div class="dropdown dropdown-end">
<label tabindex="-1" class="avatar btn btn-circle btn-ghost" for="avatar">
<div class="w-10 rounded-full" id="avatar">
<img src="/avatars/avatar{avatar}.svg" alt="Avatar {avatar}" />
<img src={asset(`/avatars/avatar${avatar}.svg`)} alt="Avatar {avatar}" />
</div>
</label>
<ul
tabindex="-1"
class="menu dropdown-content z-[1] mt-3 rounded-box bg-base-300 p-2 shadow"
class="menu dropdown-content rounded-box bg-base-200 z-[1] mt-3 w-52 p-2 shadow"
>
<li class="menu-title">
{$pocketbase.authStore.isSuperuser
@@ -275,11 +267,11 @@
: $pocketbase.authStore.record?.username}
</li>
<li>
<a href="/account"><Fa icon={faUserGear} />{$LL.navbar.edit_account()}</a>
<a href={resolve('/account')}><Fa icon={faUserGear} />{m.navbar_edit_account()}</a>
</li>
<li>
<div on:click={async () => logout()} on:keydown={async () => logout()} role="none">
<Fa icon={faDoorOpen} />{$LL.navbar.logout()}
<div onclick={async () => logout()} onkeydown={async () => logout()} role="none">
<Fa icon={faDoorOpen} />{m.navbar_logout()}
</div>
</li>
</ul>
+66 -53
View File
@@ -1,7 +1,9 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { resolve } from '$app/paths';
import PageLoading from '$lib/components/PageLoading.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { localeStore } from '$lib/stores/locale';
import { backendUrl, pocketbase } from '$lib/stores/pocketbase';
import { settingsPriv } from '$lib/stores/settings';
import type { Device } from '$lib/types/device';
@@ -28,8 +30,9 @@
.collection('settings_private')
.getFirstListItem('')
.then((res) => {
settingsPriv.set(res as SettingsPrivate);
scanRange = $settingsPriv.scan_range;
const settings = res as SettingsPrivate;
settingsPriv.set(settings);
scanRange = settings.scan_range;
})
.catch((err) => {
toast.error(err.message);
@@ -47,7 +50,7 @@
})
.then((res) => {
settingsPriv.set(res as SettingsPrivate);
toast.success($LL.device.network_scan_range_saved());
toast.success(m.device_network_scan_range_saved());
})
.catch((err) => {
toast.error(err.message);
@@ -89,7 +92,7 @@
async function addSingle(device: ScannedDevice) {
await createDevice(device)
.then(() => {
toast.success($LL.toasts.device_created({ device: device.name }));
toast.success(m.toasts_device_created({ device: device.name }));
})
.catch((err) => {
toast.error(err.message);
@@ -110,63 +113,70 @@
});
})
);
toast.success($LL.toasts.devices_created_multiple({ count: count }));
goto('/');
toast.success(m.toasts_devices_created_multiple({ count: count }));
goto(resolve('/'));
}
</script>
{#if $settingsPriv}
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.device.tabs[1]()}</h2>
<h2 class="card-title">{m['device_tabs.1']()}</h2>
<p class="my-2">
{$LL.device.network_scan_desc()}
{m.device_network_scan_desc()}
</p>
<div class="flex flex-row flex-wrap items-end gap-4">
<form on:submit|preventDefault={saveSettings}>
<label class="label" for="scan-range">
<span class="label-text">{$LL.device.network_scan_ip_range()}</span>
</label>
<div class="join max-w-xs">
<input
id="scan-range"
class="input join-item input-bordered w-full"
type="text"
placeholder="192.168.1.0/24"
bind:value={scanRange}
/>
<button class="btn btn-primary join-item" type="submit">{$LL.buttons.save()}</button>
</div>
<form
onsubmit={(e) => {
e.preventDefault();
saveSettings();
}}
>
<fieldset class="fieldset p-0">
<label class="floating-label mt-2">
<span>{m.device_network_scan_ip_range()}</span>
<div class="join max-w-xs">
<input
id="scan-range"
class="input join-item w-full"
type="text"
placeholder="192.168.1.0/24"
bind:value={scanRange}
/>
<button class="btn btn-neutral join-item" type="submit">{m.buttons_save()}</button>
</div>
</label>
</fieldset>
</form>
<div>
<div>
{#if !$settingsPriv.scan_range}
<button class="btn btn-error" disabled>
<Fa icon={faX} />
{$LL.device.network_scan_no_range()}
{m.device_network_scan_no_range()}
</button>
{:else if scanRange !== $settingsPriv.scan_range}
<button class="btn btn-error" disabled>
<Fa icon={faX} />
{$LL.device.network_scan_unsaved_changes()}
{m.device_network_scan_unsaved_changes()}
</button>
{:else if scanRunning}
<button class="btn no-animation">
<span class="loading loading-spinner" />
{$LL.device.network_scan_running()}
<span class="loading loading-spinner"></span>
{m.device_network_scan_running()}
</button>
{:else}
<button class="btn btn-success" on:click={() => scan()}>
<button class="btn btn-success" onclick={() => scan()}>
<Fa icon={faMagnifyingGlass} />
{$LL.device.network_scan()}
{m.device_network_scan()}
</button>
{/if}
</div>
</div>
</div>
{#if scanResponse.devices?.length > 0}
{#each scanResponse.devices.sort( (a, b) => a.ip.localeCompare( b.ip, undefined, { numeric: true } ) ) as device, index}
<div class="collapse collapse-arrow bg-base-200">
{#each scanResponse.devices.sort( (a, b) => a.ip.localeCompare( b.ip, $localeStore, { numeric: true } ) ) as device, index (device.mac)}
<div class="collapse-arrow bg-base-100 collapse">
<input type="radio" name="scanned-devices" checked={index === 0} />
<div class="collapse-title font-bold">
{device.name} <span class="badge">{device.ip}</span>
@@ -174,50 +184,51 @@
<div class="collapse-content">
<div class="flex flex-row flex-wrap gap-4">
<div>
<strong>{$LL.device.network_scan_ip()}</strong><br />
<strong>{m.device_network_scan_ip()}</strong><br />
{device.ip}
</div>
<div>
<strong>{$LL.device.network_scan_mac()}</strong><br />
<strong>{m.device_network_scan_mac()}</strong><br />
{device.mac}
</div>
<div>
<strong>{$LL.device.network_scan_mac_vendor()}</strong><br />
<strong>{m.device_network_scan_mac_vendor()}</strong><br />
{device.mac_vendor}
</div>
<div>
<strong>{$LL.device.network_scan_netmask()}</strong><br />
<strong>{m.device_network_scan_netmask()}</strong><br />
{scanResponse.netmask}
</div>
<div class="ms-auto">
<button
class="btn btn-success btn-sm"
on:click={(e) => {
onclick={(e) => {
addSingle(device);
e.currentTarget.disabled = true;
}}><Fa icon={faPlus} />{$LL.buttons.add()}</button
}}><Fa icon={faPlus} />{m.buttons_add()}</button
>
</div>
</div>
</div>
</div>
{/each}
<h2 class="card-title mt-4">{$LL.device.network_scan_add_all()}</h2>
<div class="form-control max-w-fit">
<h2 class="card-title mt-4">{m.device_network_scan_add_all()}</h2>
<div class="max-w-fit">
<label class="label cursor-pointer">
<input type="checkbox" class="checkbox" bind:checked={replaceNetmaskCheckbox} />
<span class="label-text ms-2">{$LL.device.network_scan_replace_netmask()}</span>
<span class="ms-2 text-wrap break-words">{m.device_network_scan_replace_netmask()}</span
>
</label>
</div>
{#if replaceNetmaskCheckbox}
<div class="form-control max-w-fit">
<div class="max-w-fit">
<label class="label cursor-pointer" for="replaceNetmaskInput">
<span class="label-text ms-2">{$LL.device.network_scan_new_netmask()}</span>
<span class="ms-2">{m.device_network_scan_new_netmask()}</span>
</label>
<input
id="replaceNetmaskInput"
class="input input-bordered"
class="input"
type="text"
placeholder="255.255.255.0"
bind:value={replaceNetmask}
@@ -225,42 +236,44 @@
</div>
{/if}
{#if scanResponse.devices.find((dev) => dev.name === 'Unknown')}
<div class="form-control max-w-fit">
<div class="max-w-fit">
<label class="label cursor-pointer">
<input type="checkbox" class="checkbox" bind:checked={addAllCheckbox} />
<span class="label-text ms-2">{$LL.device.network_scan_include_unknown()}</span>
<span class="ms-2 text-wrap break-words"
>{m.device_network_scan_include_unknown()}</span
>
</label>
{#if addAllCheckbox}
<button
class="btn btn-success"
on:click={() => addAll()}
onclick={() => addAll()}
disabled={scanResponse.devices.length === 0}
>
<Fa icon={faPlus} />
{$LL.device.network_scan_add_all()} ({scanResponse.devices.length})
{m.device_network_scan_add_all()} ({scanResponse.devices.length})
</button>
{:else}
<button
class="btn btn-success"
on:click={() => addAll()}
onclick={() => addAll()}
disabled={scanResponse.devices.filter((dev) => dev.name !== 'Unknown').length === 0}
>
<Fa icon={faPlus} />
{$LL.device.network_scan_add_all()} ({scanResponse.devices.filter(
{m.device_network_scan_add_all()} ({scanResponse.devices.filter(
(dev) => dev.name !== 'Unknown'
).length})
</button>
{/if}
</div>
{:else}
<div class="form-control max-w-fit">
<div class="max-w-fit">
<button
class="btn btn-success"
on:click={() => addAll()}
onclick={() => addAll()}
disabled={scanResponse.devices.length === 0}
>
<Fa icon={faPlus} />
{$LL.device.network_scan_add_all()} ({scanResponse.devices.length})
{m.device_network_scan_add_all()} ({scanResponse.devices.length})
</button>
</div>
{/if}
@@ -1,3 +1,3 @@
<div class="container mx-auto max-w-lg text-center">
<span class="loading loading-dots loading-lg" />
<span class="loading loading-dots loading-lg"></span>
</div>
+39
View File
@@ -0,0 +1,39 @@
import { m } from '$lib/paraglide/messages';
import { dateFnsLocale } from '$lib/stores/locale';
import { backendUrl } from '$lib/stores/pocketbase';
import cronParser from 'cron-parser';
import { formatDate, type Locale } from 'date-fns';
import { get } from 'svelte/store';
export function nextCronDate(expression: string) {
try {
const cron = cronParser.parse(expression);
const cronStr = cron.next().toISOString();
if (!cronStr) {
throw new Error(m.settings_invalid_cron());
}
return formatDate(cronStr, 'PPpp', {
locale: get(dateFnsLocale) as unknown as Locale
});
} catch {
return m.settings_invalid_cron();
}
}
export function parseCron(expression: string): Promise<boolean> {
return fetch(backendUrl + 'api/upsnap/validate-cron', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
cron: expression
})
})
.then((response) => {
return response.ok;
})
.catch(() => {
return false;
});
}
-8
View File
@@ -1,8 +0,0 @@
import de from '../de';
import type { Translation } from '../i18n-types';
const de_DE = {
...(de as unknown as Translation)
} satisfies Translation;
export default de_DE;
-226
View File
@@ -1,226 +0,0 @@
import en from '../en';
import type { Translation } from '../i18n-types';
const de = {
...(en as unknown as Translation),
home: {
page_title: 'Home',
order_groups: 'Gruppen',
order_name: 'Name',
order_ip: 'IP',
order_tooltip: 'Sortieren',
no_devices: 'Keine Geräte.',
add_first_device: 'Füge dein erstes Gerät hinzu',
grant_permissions:
'Bitte frag den Administrator, dir Berechtigungen für bestehende Geräte zu erteilen oder neue Geräte zu erstellen.'
},
account: {
page_title: 'Account',
account_type_admin: 'Admin',
account_type_user: 'Benutzer',
avatar_title: 'Avatar',
language_title: 'Sprache',
language_option_auto: 'Automatisch',
change_password_title: 'Passwort ändern',
change_password_body: 'Nachdem das Passwort geändert wurde, musst du dich neu einloggen.',
change_password_label: 'Altes Passwort',
change_password_new: 'Neues Password',
change_password_confirm: 'Password bestätigen'
},
device: {
page_title: 'Neues Gerät',
tabs: ['Manuell', 'Netzwerkscan'],
card_btn_more: 'Mehr',
card_btn_more_edit: 'Bearbeiten',
card_btn_more_sleep: 'Ruhezustand',
card_btn_more_reboot: 'Neustart',
card_tooltip_wake_cron: 'Einschalten Cron',
card_tooltip_shutdown_cron: 'Ausschalten Cron',
card_tooltip_wake_password: 'Einschalten Passwort',
card_tooltip_last_status_change: 'Letzte Statusänderung',
card_password: 'Passwort',
card_nic_tooltip_pending: 'Warten',
card_nic_tooltip_shutdown: 'Ausschalten',
card_nic_tooltip_shutdown_no_cmd: 'Kein Ausschaltbefehl gesetzt',
card_nic_tooltip_shutdown_no_permission: 'Keine Berechtigung zum ausschalten',
card_nic_tooltip_power: 'Einschalten',
card_nic_tooltip_power_no_permission: 'Keine Berechtigung zum einschalten',
modal_confirm_wake_title: '{device} einschalten?',
modal_confirm_wake_desc: 'Bitte bestätigen, um {device} einzuschalten.',
modal_confirm_shutdown_title: '{device} herunterfahren?',
modal_confirm_shutdown_desc: 'Bitte bestätigen, um {device} herunterzufahren.',
general: 'Allgemein',
general_name: 'Name',
general_name_placeholder: 'Gerätename',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Netmask',
general_required_field: 'Pflichtfeld',
ports: 'Ports',
ports_desc: 'UpSnap kann auch prüfen, ob bestimmte Ports offen sind.',
ports_add_new: 'Port hinzufügen',
ports_name: 'Name',
ports_number: 'Nummer',
link: 'Link',
link_desc:
'Macht Ihren Gerätenamen zu einem anklickbaren Link, ideal zum Beispiel für die Verknüpfung eines Dashboards.',
ping: 'Ping',
ping_desc:
'Du kannst einen benutzerdefinierten Shell-Befehl verwenden, um festzustellen, ob das Gerät eingeschaltet ist. Der Befehl sollte einen Exit-Code von <span class="badge">0</span> zurückgeben, um anzuzeigen, dass das Gerät eingeschaltet ist. Jeder andere Exit-Code setzt den Status auf offline.',
ping_cmd: 'Eigener Ping-Befehl',
wake: 'Einschalten',
wake_desc: 'Du kannst das Gerät mit einem Cron-Job einschalten.',
wake_cmd: 'Eigener Einschalt-Befehl',
wake_cron: 'Cron',
wake_cron_enable: 'Aktivieren',
sol: 'Sleep-On-LAN',
sol_desc1:
'Du kannst Computer mithilfe des Tools <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a> in den Ruhezustand versetzen. Sleep-On-LAN (SOL) ist ein externes Tool/Daemon, das auf den PCs arbeitet, die du in den Ruhezustand versetzen möchtest, und stellt einen REST-Endpunkt bereit. Für Anweisungen zur Einrichtung von Sleep-On-LAN verweise bitte auf den Abschnitt <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Usage</a>.',
sol_desc2:
'SOL ist so konfiguriert, dass es Anfragen über HTTP statt über UDP sendet, um eine Autorisierung zu ermöglichen und die Zuverlässigkeit der Anfragen zu erhöhen.',
sol_desc3:
'Daher stell bitte sicher, dass du <span class="badge">HTTP:&lt;DEINPORT&gt;</span> im Abschnitt <span class="badge">Listener</span> der <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">SOL-Konfiguration</a> hinzufügst.',
sol_enable: 'Sleep-On-LAN aktivieren',
sol_port: 'SOL Port',
sol_authorization: 'Authorisierung',
sol_user: 'SOL Benutzer',
sol_password: 'SOL Passwort',
shutdown: 'Ausschalten',
shutdown_desc:
'Dieser <strong>Shell-Befehl</strong> wird in deinem Container ausgeführt (wenn du Docker verwendest) oder auf deinem Host (wenn du die Binärdatei verwendest). Um zu überprüfen, ob das funktioniert, kannst du den Befehl zuerst im Container oder auf deiner Host-Shell ausführen. Übliche Befehle sind <span class="badge">net rpc</span> für Windows, <span class="badge">sshpass</span> für Linux oder <span class="badge">curl</span> im Allgemeinen, um Webanfragen durchzuführen.',
shutdown_examples: 'Beispiele:',
shutdown_examples_windows: 'Entfernten Windows PC ausschalten:',
shutdown_examples_linux: 'Entfernten Linux PC ausschalten:',
shutdown_cmd: 'Befehl zum ausschalten',
shutdown_cron_desc:
'Genau wie das Einrichten eines Cron-Jobs, um das Gerät aufzuwecken, kannst du auch einen Cron-Job planen, um dieses Gerät herunterzufahren.',
shutdown_cron: 'Cron',
shutdown_cron_enable: 'Aktivieren',
password: 'Password',
password_desc:
'Einige Netzwerkkarten bieten die Möglichkeit, ein Passwort für Magic Packets zu setzen, auch <span class="badge">SecureON</span> genannt. Das Passwort kann nur 0, 4 oder 6 Zeichen lang sein.',
groups: 'Gruppen',
groups_desc:
'Du kannst Geräte einer Gruppe hinzufügen, um sie auf dem Dashboard nach Gruppen sortiert anzuzeigen.',
groups_placeholder: "z.B. 'Keller' or 'Büro'",
network_scan_range_saved: 'Scan-Bereich gespeichert',
network_scan_desc:
'Automatisches Scannen deines Netzwerks nach Geräten. Damit dies funktioniert, musst du UpSnap als Administrator/root ausführen und nmap installiert und im $PATH verfügbar haben (Für Docker-Benutzer ist das bereits der Fall, und du musst nichts weiter tun). Das Scannen kann einige Sekunden dauern.',
network_scan_ip_range: 'IP-Bereich',
network_scan_no_range: 'Kein Scan-Bereich',
network_scan_unsaved_changes: 'Ungespeicherte Änderungen',
network_scan_running: 'Scan läuft',
network_scan: 'Scan',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Mac Hersteller:',
network_scan_netmask: 'Netmask:',
network_scan_add_all: 'Alle Geräte hinzufügen',
network_scan_replace_netmask: 'Netmask für alle Geräte ändern?',
network_scan_new_netmask: 'Neue Netmask',
network_scan_include_unknown: 'Schließe Geräte ein, bei denen der Name "Unknown" ist.',
require_confirmation: 'Bestätigung erforderlich'
},
login: {
welcome: 'Willkommen',
email_label: 'Email oder Nutzername:',
password_label: 'Passwort:',
btn_more: 'Mehr',
menu_title_auth_providers: 'Andere Login Provider',
btn_login: 'Login'
},
settings: {
page_title: 'Einstellungen',
ping_interval_title: 'Ping Intervall',
ping_interval_desc1:
'Legt den Intervall fest, in dem Geräte gepingt werden. Leer lassen um den Standardwert von <span class="badge">@every 3s</span> zu verwenden.',
ping_interval_desc2:
'Lerne mehr über die korrekte Cron Syntax auf <a class="link" href="https://de.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> oder sieh dir die <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">Paketdokumentation</a> an.',
lazy_ping_title: 'Lazy Ping',
lazy_ping_desc:
'Wenn Lazy Ping aktiviert ist, pingt UpSnap die Geräte nur an, wenn ein aktiver Benutzer die Website besucht. Wenn es ausgeschaltet ist, pingt UpSnap die Geräte immer an.',
lazy_ping_enable: 'Aktivieren',
website_title_title: 'Seitentitel',
website_title_desc: 'Setzt den Seiten- und den Tabtitel.',
icon_title: 'Icon',
icon_desc: 'Eigenes Favicon nutzen. Unterstützte Dateitypen sind:',
upsnap_version: 'UpSnap Version'
},
users: {
page_title: 'Benutzer',
allow_create_devices:
'{username} erlauben neue Geräte zu erstellen und Gerätegruppen zu bearbeiten',
device_permissions: 'Geräteberechtigungen',
create_new_device: 'Neues Gerät erstellen',
read: 'Lesen',
update: 'Ändern',
delete: 'Löschen',
power: 'Power',
toggle: 'Toggle',
confirm_delete_title: 'Löschen bestätigen',
confirm_delete_desc: 'Soll {username} wirklich gelöscht werden?',
create_new_user: 'Neuen Benutzer erstellen',
username: 'Benutzername',
password: 'Passwort',
password_confirm: 'Passwort bestätigen',
required_field: 'Pflichtfeld'
},
buttons: {
save: 'Speichern',
delete: 'Löschen',
change: 'Ändern',
reset: 'Zurücksetzen',
cancel: 'Abbrechen',
add: 'Hinzufügen',
confirm: 'Bestätigen'
},
welcome: {
step1_page_title: 'Willkommen bei UpSnap 🥳',
step1_setup_desc:
'Bitte schließe die nachfolgenden Schritte ab, um die Einrichtung abzuschließen.',
step1_setup_btn_next: 'Weiter',
step2_page_title: 'Erstelle einen Admin Account',
step2_label_email: 'Email:',
step2_label_password: 'Passwort:',
step2_label_min_chars: 'min. 10 Zeichen',
step2_label_password_confirm: 'Passwort bestätigen:',
step2_btn_create: 'Erstellen',
step3_page_title: 'Du bist fertig! 🎉',
step3_page_desc: 'Füge Geräte zu deinem Dashboard hinzu.',
step3_btn_done: 'Lets go!',
not_expected_title: 'Ich hab dich hier nicht erwartet! 🧐',
not_expected_desc: 'Du hast die Einrichtung bereits abgeschlossen! Hier gibts nichts zu tun.',
not_expected_back: 'Bring mich zurück',
progress_step1: 'Willkommen',
progress_step2: 'Account erstellen',
progress_step3: 'Fertig'
},
toasts: {
admin_saved: 'Admin gespeichert',
user_saved: 'Benutzer gespeichert',
user_created: 'Benutzer {username} erstellt',
user_deleted: 'Benutzer {username} gelöscht',
settings_saved: 'Einstellungen gespeichert',
password_changed: 'Passwort geändert. Bitte neu einloggen.',
passwords_missmatch: 'Passwörter stimmen nicht überein',
permissions_created: 'Berechtigungen für {username} erstellt',
permissions_deleted: 'Berechtigungen für {username} gelöscht',
permissions_updated: 'Berechtigungen für {username} geändert',
permissions_updated_personal: 'Deine Berechtigungen wurden geupdated',
no_permission: 'Du hast keine Berechtigung für {url}',
device_created: '{device} erstellt',
devices_created_multiple: '{count|int} Geräte erstellt',
device_updated: '{device} geändert',
device_deleted: '{device} gelöscht',
group_created: 'Gruppe {group} erstellt',
group_deleted: 'Gruppe {group} gelöscht'
},
navbar: {
theme: 'Theme',
new: 'Neu',
edit_account: 'Account bearbeiten',
logout: 'Abmelden'
}
} satisfies Translation;
export default de;
-8
View File
@@ -1,8 +0,0 @@
import en from '../en';
import type { Translation } from '../i18n-types';
const en_US = {
...(en as unknown as Translation)
} satisfies Translation;
export default en_US;
-221
View File
@@ -1,221 +0,0 @@
import type { BaseTranslation } from '../i18n-types';
const en = {
home: {
page_title: 'Home',
order_groups: 'Groups',
order_name: 'Name',
order_ip: 'IP',
order_tooltip: 'Order',
no_devices: 'No devices here.',
add_first_device: 'Add your first device',
grant_permissions:
'Please ask the admin to grant you permissions to existing devices or to create new ones.'
},
account: {
page_title: 'Account',
account_type_admin: 'Admin',
account_type_user: 'User',
avatar_title: 'Avatar',
language_title: 'Language',
language_option_auto: 'Automatic',
change_password_title: 'Change password',
change_password_body: 'After the password has been changed, you will need to log in again.',
change_password_label: 'Old password',
change_password_new: 'New password',
change_password_confirm: 'Confirm password'
},
device: {
page_title: 'New device',
tabs: ['Manual', 'Network Scan'],
card_btn_more: 'More',
card_btn_more_edit: 'Edit',
card_btn_more_sleep: 'Sleep',
card_btn_more_reboot: 'Reboot',
card_tooltip_wake_cron: 'Wake cron',
card_tooltip_shutdown_cron: 'Shutdown cron',
card_tooltip_wake_password: 'Wake password',
card_tooltip_last_status_change: 'Last status change',
card_password: 'Password',
card_nic_tooltip_pending: 'Pending',
card_nic_tooltip_shutdown: 'Shut down',
card_nic_tooltip_shutdown_no_cmd: 'No shutdown command set',
card_nic_tooltip_shutdown_no_permission: 'No permission to shut down this device',
card_nic_tooltip_power: 'Power on',
card_nic_tooltip_power_no_permission: 'No permission to power on this device',
modal_confirm_wake_title: 'Wake {device}?',
modal_confirm_wake_desc: 'Please confirm to wake {device}.',
modal_confirm_shutdown_title: 'Shutdown {device}?',
modal_confirm_shutdown_desc: 'Please confirm to shutdown {device}.',
general: 'General',
general_name: 'Name',
general_name_placeholder: 'Device name',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Netmask',
general_required_field: 'required field',
ports: 'Ports',
ports_desc: 'UpSnap can also check if given ports are open.',
ports_add_new: 'Add new port',
ports_name: 'Name',
ports_number: 'Number',
link: 'Link',
link_desc:
'Makes your device name a clickable link, perfect for linking a dashboard for example.',
ping: 'Ping',
ping_desc:
'You can use a custom shell command to see if the device is powered on. The command should return an exit code of <span class="badge">0</span> to indicate that the device is powered on, any other exit code will mark the device as powered off.',
ping_cmd: 'Custom ping command',
wake: 'Wake',
wake_desc: 'You can power this device using a scheduled cron job.',
wake_cmd: 'Custom wake command',
wake_cron: 'Wake cron',
wake_cron_enable: 'Enable wake cron',
sol: 'Sleep-On-LAN',
sol_desc1:
'You can put computers to sleep using the <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a> tool. Sleep-On-LAN (SOL) is an external tool/daemon that operates on the PCs you want to put to sleep, providing a REST endpoint. For instructions on setting up Sleep-On-LAN, please refer to the <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Usage</a> section.',
sol_desc2:
'SOL is configured to send requests over HTTP instead of UDP to enable authorization and make requests more reliable.',
sol_desc3:
'Therefore, please ensure that you include <span class="badge">HTTP:&lt;YOURPORT&gt;</span> in the <span class="badge">Listeners</span> section of the <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">SOL configuration</a>.',
sol_enable: 'Enable Sleep-On-LAN',
sol_port: 'SOL Port',
sol_authorization: 'Authorization',
sol_user: 'SOL User',
sol_password: 'SOL Password',
shutdown: 'Shutdown',
shutdown_desc:
'This <strong>shell command</strong> will run inside your container (if you use docker) or on your host (if you use the binary). To verify that works you can run the command inside the container or on your host shell first. Common commands are <span class="badge">net rpc</span> for windows, <span class="badge">sshpass</span> for linux or <span class="badge">curl</span> in general to make web requests.',
shutdown_examples: 'Examples:',
shutdown_examples_windows: 'Shutdown remote windows machine:',
shutdown_examples_linux: 'Shutdown remote linux machine:',
shutdown_cmd: 'Shutdown command',
shutdown_cron_desc:
'Just like setting a cron to wake the device, you can also schedule a cron job to shut down this device.',
shutdown_cron: 'Shutdown cron',
shutdown_cron_enable: 'Enable shutdown cron',
password: 'Password',
password_desc:
'Some network cards have the option to set a password for magic packets, also called <span class="badge">SecureON</span>. Password can only be 0, 4 or 6 characters in length.',
groups: 'Groups',
groups_desc: 'You can add devices to a group to have them sorted by group on the dashboard.',
groups_placeholder: "e.g. 'Basement' or 'Office'",
network_scan_range_saved: 'Scan range saved',
network_scan_desc:
"Automatically scan your network for devices. For this to work, you need to run UpSnap as root/admin and have nmap installed and available in your $PATH (For docker users, thats already the case and you don't need to do anything). Scanning might take some seconds.",
network_scan_ip_range: 'IP range',
network_scan_no_range: 'No scan range',
network_scan_unsaved_changes: 'Unsaved changes',
network_scan_running: 'Scan running',
network_scan: 'Scan',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Mac vendor:',
network_scan_netmask: 'Netmask:',
network_scan_add_all: 'Add all devices',
network_scan_replace_netmask: 'Replace netmask for all devices?',
network_scan_new_netmask: 'New netmask',
network_scan_include_unknown: 'Include devices where name is "Unknown"',
require_confirmation: 'Require Confirmation'
},
login: {
welcome: 'Welcome',
email_label: 'Email or Username:',
password_label: 'Password:',
btn_more: 'More',
menu_title_auth_providers: 'Other Auth Providers',
btn_login: 'Login'
},
settings: {
page_title: 'Settings',
ping_interval_title: 'Ping interval',
ping_interval_desc1:
'Sets the interval in which the devices are pinged. Leave blank to use default value of <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'Learn more about the correct syntax for cron on <a class="link" href="https://en.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> or refer to the <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">package documentation</a>.',
lazy_ping_title: 'Lazy ping',
lazy_ping_desc:
"When lazy ping is turned on, UpSnap will only ping devices if there is an active user visiting the website. If it's turned off, UpSnap will always ping devices.",
lazy_ping_enable: 'Enable',
website_title_title: 'Website title',
website_title_desc: 'Sets the title of the website and in the browser tab.',
icon_title: 'Icon',
icon_desc: 'Set a custom favicon. Supported file types are:',
upsnap_version: 'UpSnap version'
},
users: {
page_title: 'Users',
allow_create_devices: 'Allow {username} to create new devices and edit device groups',
device_permissions: 'Device permissions',
create_new_device: 'Create new device',
read: 'Read',
update: 'Update',
delete: 'Delete',
power: 'Power',
toggle: 'Toggle',
confirm_delete_title: 'Confirm delete',
confirm_delete_desc: 'Are you sure you want to delete {username}?',
create_new_user: 'Create new user',
username: 'Username',
password: 'Password',
password_confirm: 'Password confirm',
required_field: 'required field'
},
buttons: {
save: 'Save',
delete: 'Delete',
change: 'Change',
reset: 'Reset',
cancel: 'Cancel',
add: 'Add',
confirm: 'Confirm'
},
welcome: {
step1_page_title: 'Welcome to UpSnap 🥳',
step1_setup_desc: 'Please complete the following steps to finish the setup.',
step1_setup_btn_next: 'Next',
step2_page_title: 'Create an admin account',
step2_label_email: 'Email:',
step2_label_password: 'Password:',
step2_label_min_chars: 'min. 10 characters',
step2_label_password_confirm: 'Password confirm:',
step2_btn_create: 'Create',
step3_page_title: 'You are all set! 🎉',
step3_page_desc: 'Go ahead and add some devices to your dashboard.',
step3_btn_done: 'Lets go!',
not_expected_title: "I didn't expect you here! 🧐",
not_expected_desc: 'You are already done with the setup! Nothing to do.',
not_expected_back: 'Take me back',
progress_step1: 'Welcome',
progress_step2: 'Create account',
progress_step3: 'Done'
},
toasts: {
admin_saved: 'Admin saved',
user_saved: 'User saved',
user_created: 'User {username} created',
user_deleted: 'User {username} deleted',
settings_saved: 'Saved settings',
password_changed: 'Password changed. Please login again.',
passwords_missmatch: "Passwords don't match",
permissions_created: 'Permissions for {username} created',
permissions_deleted: 'Permissions for {username} deleted',
permissions_updated: 'Permissions for {username} updated',
permissions_updated_personal: 'Your permissions have been updated',
no_permission: "You don't have permission to visit {url}",
device_created: 'Created {device}',
devices_created_multiple: 'Created {count|int} devices',
device_updated: 'Updated {device}',
device_deleted: 'Deleted {device}',
group_created: 'Created group {group}',
group_deleted: 'Deleted group {group}'
},
navbar: {
theme: 'Theme',
new: 'New',
edit_account: 'Edit account',
logout: 'Logout'
}
} satisfies BaseTranslation;
export default en;
-8
View File
@@ -1,8 +0,0 @@
import es from '../es';
import type { Translation } from '../i18n-types';
const es_ES = {
...(es as unknown as Translation)
} satisfies Translation;
export default es_ES;
-224
View File
@@ -1,224 +0,0 @@
import en from '../en';
import type { Translation } from '../i18n-types';
const es = {
...(en as unknown as Translation),
home: {
page_title: 'Inicio',
order_groups: 'Grupos',
order_name: 'Nombre',
order_ip: 'IP',
order_tooltip: 'Orden',
no_devices: 'Sin dispositivos.',
add_first_device: 'Añade tu primer dispositivo',
grant_permissions:
'Pídale al administrador que le otorgue permisos para los dispositivos existentes o que cree otros nuevos..'
},
account: {
page_title: 'Cuenta',
account_type_admin: 'Admin',
account_type_user: 'Usuario',
avatar_title: 'Avatar',
language_title: 'Idioma',
language_option_auto: 'Automático',
change_password_title: 'Cambiar contraseña',
change_password_body: 'Después de cambiar la contraseña, deberá iniciar sesión nuevamente.',
change_password_label: 'Antigua contraseña',
change_password_new: 'Nueva contraseña',
change_password_confirm: 'Confirmar contraseña'
},
device: {
page_title: 'Nuevo dispositivo',
tabs: ['Manual', 'búsqueda de red'],
card_btn_more: 'Más',
card_btn_more_edit: 'Editar',
card_btn_more_sleep: 'Suspender',
card_btn_more_reboot: 'Reiniciar',
card_tooltip_wake_cron: 'Wake cron',
card_tooltip_shutdown_cron: 'Shutdown cron',
card_tooltip_wake_password: 'Wake password',
card_tooltip_last_status_change: 'Último cambio de estado',
card_password: 'Contraseña',
card_nic_tooltip_pending: 'Pendiente',
card_nic_tooltip_shutdown: 'Apagar',
card_nic_tooltip_shutdown_no_cmd: 'El comando de apagado no está definido',
card_nic_tooltip_shutdown_no_permission: 'No tienes permiso para apagar este dispositivo',
card_nic_tooltip_power: 'Encender',
card_nic_tooltip_power_no_permission: 'No tienes permiso para encender este dispositivo',
modal_confirm_wake_title: 'Activar {device}?',
modal_confirm_wake_desc: 'Confirme para activar {device}.',
modal_confirm_shutdown_title: 'Apagar {device}?',
modal_confirm_shutdown_desc: 'Por favor confirme para apagar {device}.',
general: 'General',
general_name: 'Nombre',
general_name_placeholder: 'Nombre del dispositivo',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Máscara de red',
general_required_field: 'Campo obligatorio',
ports: 'Puertos',
ports_desc: 'UpSnap puede comprobar si ciertos puertos están abiertos.',
ports_add_new: 'Añadir nuevo puerto',
ports_name: 'Nombre',
ports_number: 'Número',
link: 'Link',
link_desc:
'Permite que el nombre de su dispositivo sea un enlace. Perfecto para dashboard, por ejemplo.',
ping: 'Ping',
ping_desc:
'Puede utilizar un comando de shell personalizado para ver si el dispositivo está conectado. El comando debe devolver un código de salida de <span class="badge">0</span> para indicar que el dispositivo está encendido; cualquier otro código de salida marcará el dispositivo como apagado.',
ping_cmd: 'Comando ping personalizado',
wake: 'Encender',
wake_desc: 'Podrá encender este dispositivo utilizando un scheduled cron job.',
wake_cmd: 'Comando de encendido personalizado',
wake_cron: 'Encender cron',
wake_cron_enable: 'Activar wake cron',
sol: 'Sleep-On-LAN',
sol_desc1:
'Puedes poner las computadoras en modo de suspensión usando <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a > herramienta. Sleep-On-LAN (SOL) es una herramienta/daemon externo que opera en las PC que desea poner en suspensión y proporciona un punto final REST. Para obtener instrucciones sobre cómo configurar Sleep-On-LAN, consulte <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank" >Uso</a> sección.',
sol_desc2:
'SOL está configurado para enviar solicitudes a través de HTTP en lugar de UDP para permitir la autorización y hacer que las solicitudes sean más confiables.',
sol_desc3:
'Por lo tanto, asegúrese de incluir <span class="badge">HTTP:&lt;YOURPORT&gt;</span> en la sección <span class="badge">Oyentes</span> de <a href="https ://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">configuración SOL</a>.',
sol_enable: 'Activar Sleep-On-LAN',
sol_port: 'Puerto SOL',
sol_authorization: 'Autorización',
sol_user: 'Usuario SOL',
sol_password: 'Contraseña SOL',
shutdown: 'Apagar',
shutdown_desc:
'Este <strong>comando de shell</strong> se ejecutará dentro de su contenedor (si usa Docker) o en su host (si usa el binario). Para verificar que funciona, primero puede ejecutar el comando dentro del contenedor o en el shell de su host. Los comandos comunes son <span class="badge">net rpc</span> para Windows, <span class="badge">sshpass</span> para Linux o <span class="badge">curl</span> en general para realizar solicitudes web.',
shutdown_examples: 'Ejemplos:',
shutdown_examples_windows: 'Apagar el dispositivo Windows remoto:',
shutdown_examples_linux: 'Apagar el dispositivo Linux remoto:',
shutdown_cmd: 'Comando para Apagar',
shutdown_cron_desc:
'Al igual que configurar un cron para encender el dispositivo, también puede programar un cron job para apagar este dispositivo.',
shutdown_cron: 'Apagar cron',
shutdown_cron_enable: 'Activar apagado de cron',
password: 'Contraseña',
password_desc:
'Algunos adaptadores de red tienen la opción de definir una contraseña para magic pockets, también conocidos como <span class="badge">SecureON</span>. la contraseña sólo podrá contener 0, 4 o 6 caracteres.',
groups: 'Grupos',
groups_desc: 'Puede agregar dispositivos a un grupo para ordenarlos por grupo en el dashboard.',
groups_placeholder: "e.g. 'Basement' o 'Office'",
network_scan_range_saved: 'Rango de escaneo guardado',
network_scan_desc:
'Escanee automáticamente su red en busca de dispositivos. Para que esto funcione, necesita ejecutar UpSnap como root/admin y tener nmap instalado y disponible en su $PATH (para los usuarios de Docker, ese ya es el caso y no necesitan hacer nada). El escaneo puede tardar algunos segundos.',
network_scan_ip_range: 'Rango IP',
network_scan_no_range: 'Sin rango de escaneo',
network_scan_unsaved_changes: 'Cambios sin guardar',
network_scan_running: 'Escaneo en curso',
network_scan: 'Escaneo',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Proveedor Mac:',
network_scan_netmask: 'Máscara de red:',
network_scan_add_all: 'Añadir todos los dispositivos',
network_scan_replace_netmask: 'Reemplazar máscara de red para todos los dispositivos?',
network_scan_new_netmask: 'Nueva mascara de red',
network_scan_include_unknown: 'Incluir dispositivos donde este el nombre "Unknown"',
require_confirmation: 'Requiere confirmación'
},
login: {
welcome: 'Bienvenido',
email_label: 'Email o Nombre de usuario:',
password_label: 'Contraseña:',
btn_more: 'Más',
menu_title_auth_providers: 'Otros proveedores de autenticación',
btn_login: 'Entrar'
},
settings: {
page_title: 'Ajustes',
ping_interval_title: 'Intervalo ping',
ping_interval_desc1:
'Establece el intervalo en el que se realiza el ping. Déjelo en blanco para usar el valor predeterminado de <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'Puedes ver la sintaxis correcta para cron en <a class="link" href="https://en.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> o en <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">documentación cron</a>.',
lazy_ping_title: 'Lazy ping',
lazy_ping_desc:
'Cuando el ping diferido está activado, UpSnap solo hará ping a los dispositivos si hay un usuario activo visitando el sitio web. Si está desactivado, UpSnap siempre hará ping a los dispositivos.',
lazy_ping_enable: 'Activar',
website_title_title: 'Titulo de la página',
website_title_desc: 'Establece el título del sitio web y en la pestaña del navegador.',
icon_title: 'Icon',
icon_desc: 'Establece un favicon personalizado. Los tipos de archivos admitidos son:',
upsnap_version: 'Version UpSnap'
},
users: {
page_title: 'Usuarios',
allow_create_devices:
'Permitir a {username} para crear nuevos dispositivos y editar grupos de dispositivos',
device_permissions: 'Permisos del dispositivo',
create_new_device: 'Añadir dispositivo',
read: 'Leer',
update: 'Editar',
delete: 'Eliminar',
power: 'Energía',
toggle: 'Alternar',
confirm_delete_title: 'Confirmar',
confirm_delete_desc: 'Estas seguro que quieres borrarlo {username}?',
create_new_user: 'Crear nuevo usuario',
username: 'Usuario',
password: 'Contraseña',
password_confirm: 'Confirmar contraseña',
required_field: 'Campo obligatorio'
},
buttons: {
save: 'Guardar',
delete: 'Eliminar',
change: 'Alterar',
reset: 'Reiniciar',
cancel: 'Cancelar',
add: 'Añadir',
confirm: 'Confirmar'
},
welcome: {
step1_page_title: 'Bienvenido a UpSnap 🥳',
step1_setup_desc: 'Por favor complete los siguientes pasos para terminar la configuración.',
step1_setup_btn_next: 'Siguiente',
step2_page_title: 'Crear cuenta de administrador',
step2_label_email: 'Email:',
step2_label_password: 'Contraseña:',
step2_label_min_chars: 'min. 10 caracteres',
step2_label_password_confirm: 'Confirmar contraseña:',
step2_btn_create: 'Crear',
step3_page_title: 'Ya está hecho! 🎉',
step3_page_desc: 'Añada algún dispositivo a su dashboard.',
step3_btn_done: 'Vamos!',
not_expected_title: 'No te esperaba por aquí! 🧐',
not_expected_desc: 'Ya has terminado con la configuración! Nada que hacer!.',
not_expected_back: 'Llévame de vuelta',
progress_step1: 'Bienvenido',
progress_step2: 'Crear cuenta',
progress_step3: 'Terminado'
},
toasts: {
admin_saved: 'Administrador guardado',
user_saved: 'Usuario actualizado',
user_created: 'Usuario {username} creado',
user_deleted: 'Usuario {username} eliminado',
settings_saved: 'Configuraciones guardadas',
password_changed: 'Contraseña cambiada. Por favor acceda otra vez',
passwords_missmatch: 'Las contraseñas no coinciden',
permissions_created: 'Permisos creados para {username}',
permissions_deleted: 'Permisos para {username} eliminados',
permissions_updated: 'Permisos para {username} actualizados',
permissions_updated_personal: 'Tus permisos han sido actualizados',
no_permission: 'Tu no tienes permiso para visitar {url}',
device_created: 'Creado {device}',
devices_created_multiple: 'Añadidos {count|int} dispositivos',
device_updated: '{device} actualizado',
device_deleted: '{device} apagado',
group_created: 'Grupo {group} creado',
group_deleted: 'Grupo {group} eliminado'
},
navbar: {
theme: 'Tema',
new: 'Nuevo',
edit_account: 'Editar cuenta',
logout: 'Salir'
}
} satisfies Translation;
export default es;
-11
View File
@@ -1,11 +0,0 @@
import type { FormattersInitializer } from 'typesafe-i18n';
import type { Locales, Formatters } from './i18n-types';
// export const initFormatters: FormattersInitializer<Locales, Formatters> = (locale: Locales) => {
export const initFormatters: FormattersInitializer<Locales, Formatters> = () => {
const formatters: Formatters = {
// add your formatter functions here
};
return formatters;
};
-8
View File
@@ -1,8 +0,0 @@
import fr from '../fr';
import type { Translation } from '../i18n-types';
const fr_FR = {
...(fr as unknown as Translation)
} satisfies Translation;
export default fr_FR;
-227
View File
@@ -1,227 +0,0 @@
import en from '../en';
import type { Translation } from '../i18n-types';
const fr = {
...(en as unknown as Translation),
home: {
page_title: 'Accueil',
order_groups: 'Groupes',
order_name: 'Nom',
order_ip: 'IP',
order_tooltip: 'Tri',
no_devices: 'Aucun appareil ici.',
add_first_device: 'Ajoutez votre premier appareil',
grant_permissions:
'Veuillez demander à votre administrateur les permissions aux appareils existants ou créez-en de nouveaux.'
},
account: {
page_title: 'Compte',
account_type_admin: 'Administrateur',
account_type_user: 'Utilisateur',
avatar_title: 'Avatar',
language_title: 'Langue',
language_option_auto: 'Automatique',
change_password_title: 'Modification du mot de passe',
change_password_body: 'Après la modification du mot de passe, vous devrez vous reconnecter.',
change_password_label: 'Ancien mot de passe',
change_password_new: 'Nouveau mot de passe',
change_password_confirm: 'Confirmation du mot de passe'
},
device: {
page_title: 'Nouvel appareil',
tabs: ['Manuel', 'Analyse du réseau'],
card_btn_more: 'Plus',
card_btn_more_edit: 'Modifier',
card_btn_more_sleep: 'Veille',
card_btn_more_reboot: 'Redémarrer',
card_tooltip_wake_cron: 'Réveil avec cron',
card_tooltip_shutdown_cron: 'Arrêt avec cron',
card_tooltip_wake_password: 'Mot de passe de réveil',
card_tooltip_last_status_change: 'Dernier changement de statut',
card_password: 'Mot de passe',
card_nic_tooltip_pending: 'En attente',
card_nic_tooltip_shutdown: 'Éteindre',
card_nic_tooltip_shutdown_no_cmd: "Aucune commande d'arrêt n'est définie",
card_nic_tooltip_shutdown_no_permission:
"Vous n'avez pas la permission pour éteindre cet appareil",
card_nic_tooltip_power: 'Allumer',
card_nic_tooltip_power_no_permission: "Vous n'avez pas la permission pour allumer cet appareil",
modal_confirm_wake_title: 'Réveiller {device} ?',
modal_confirm_wake_desc: 'Veuillez confirmer le réveil de {device}.',
modal_confirm_shutdown_title: 'Arrêter {device} ?',
modal_confirm_shutdown_desc: "Veuillez confirmer l'arrêt du {device}.",
general: 'Général',
general_name: 'Nom',
general_name_placeholder: "Nom de l'appareil",
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Masque réseau',
general_required_field: 'champ requis',
ports: 'Ports',
ports_desc: 'UpSnap peut aussi vérifier si certains ports sont ouverts.',
ports_add_new: 'Ajouter un nouveau port',
ports_name: 'Nom',
ports_number: 'Numéro',
link: 'Lien',
link_desc:
'Rend le nom de votre appareil cliquable, parfait pour y lier un tableau de bord par exemple.',
ping: 'Ping',
ping_desc:
"Vous pouvez utiliser une commande shell personnalisée pour vérifier si l'appareil est sous tension. La commande doit renvoyer un code de sortie de <span class='badge'>0</span> pour indiquer que l'appareil est sous tension, tout autre code de sortie indiquera que l'appareil est hors tension.",
ping_cmd: 'Commande ping personnalisée',
wake: 'Réveil',
wake_desc: 'Vous pouvez allumer cet appareil en utilisant un job cron planifié.',
wake_cmd: 'Commande de réveil personnalisée',
wake_cron: 'Réveil avec cron',
wake_cron_enable: 'Activer le réveil avec cron',
sol: 'Sleep-On-LAN',
sol_desc1:
'Vous pouvez mettre les ordinateurs en veille à l\'aide de l\'outil <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a>. Sleep-On-LAN (SOL) est un outil/daemon externe qui fonctionne sur les PC que vous souhaitez mettre en veille, fournissant un point de terminaison REST. Pour obtenir des instructions sur la configuration de Sleep-On-LAN, veuillez vous référer à la section <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Usage</a>.',
sol_desc2:
"SOL est configuré pour envoyer des requêtes avec le protocole HTTP au lieu d'UDP pour activer l'autorisation et faire des requêtes plus fiables.",
sol_desc3:
'Par conséquent, veuillez vous assurer que vous incluez <span class="badge">HTTP:&lt;VOTREPORT&gt;</span> dans la section <span class="badge">Listeners</span> de la <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">configuration SOL</a>.',
sol_enable: 'Activer Sleep-On-LAN',
sol_port: 'Port SOL',
sol_authorization: 'Autorisation',
sol_user: 'Utilisateur SOL',
sol_password: 'Mot de passe SOL',
shutdown: 'Arrêt',
shutdown_desc:
'Cette <strong>commande shell</strong> va s\'exécuter au sein de votre conteneur (si vous utilisez Docker) ou sur votre hôte (si vous utilisez l\'exécutable). Pour vérifier que cela fonctionne, vous pouvez d\'abord exécuter la commande à l\'intérieur du conteneur ou sur le shell de l\'hôte. Les commandes courantes sont <span class="badge">net rpc</span> pour Windows, <span class="badge">sshpass</span> pour Linux ou <span class="badge">curl</span> en général pour faire des requêtes web.',
shutdown_examples: 'Exemples :',
shutdown_examples_windows: 'Arrêter une machine Windows distante :',
shutdown_examples_linux: 'Arrêter une machine Linux distante :',
shutdown_cmd: "Commande d'arrêt",
shutdown_cron_desc:
"Exactement comme configurer cron pour réveiller l'appareil, vous pouvez aussi planifier un job cron pour arrêter cet appareil.",
shutdown_cron: 'Arrêt avec cron',
shutdown_cron_enable: "Activer l'arrêt avec cron",
password: 'Mot de passe',
password_desc:
'Certaines cartes réseau ont l\'option pour définir un mot de passe pour les paquets magiques, aussi appelée <span class="badge">SecureON</span>. Le mot de passe ne peut être que de 0, 4 ou 6 caractères.',
groups: 'Groupes',
groups_desc:
'Vous pouvez ajouter des appareils à un groupe pour pouvoir les trier sur le tableau de bord.',
groups_placeholder: 'par ex. « Bureau »', // I had to strink because the original English text in French gives a too long text
network_scan_range_saved: "Plage d'analyse sauvegardée",
network_scan_desc:
"Analyser automatiquement votre réseau pour trouver des appareils. Pour que cela fonctionne, vous devez exécuter UpSnap en tant que root/administrateur et avoir nmap installé et disponible dans votre $PATH (pour les utilisateurs Docker, cela est déjà le cas et vous n'avez besoin de rien faire). L'analyse peut prendre quelques secondes.",
network_scan_ip_range: 'Plage IP',
network_scan_no_range: "Aucune plage d'analyse",
network_scan_unsaved_changes: 'Modifications non sauvegardées',
network_scan_running: 'Analyse en cours',
network_scan: 'Analyser',
network_scan_ip: 'IP :',
network_scan_mac: 'Mac :',
network_scan_mac_vendor: "Fabricant ayant l'adresse Mac :",
network_scan_netmask: 'Masque réseau :',
network_scan_add_all: 'Ajouter tous les appareils',
network_scan_replace_netmask: 'Remplacer le masque réseau pour tous les appareils ?',
network_scan_new_netmask: 'Nouveau masque réseau',
network_scan_include_unknown: 'Inclure les appareils dont nom est « Inconnu »',
require_confirmation: 'Demande de confirmation'
},
login: {
welcome: 'Bienvenue',
email_label: "Courriel ou nom d'utilisateur :",
password_label: 'Mot de passe :',
btn_more: 'Plus',
menu_title_auth_providers: "Autres fournisseurs d'authentification",
btn_login: 'Connexion'
},
settings: {
page_title: 'Paramètres',
ping_interval_title: 'Intervalle de ping',
ping_interval_desc1:
'Définit l\'intervalle dans lequel les appareils reçoivent une requête ping. Laissez vide pour utiliser la valeur par défaut de <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'Pour écrire une syntaxe correcte pour l\'utilitaire cron, consultez <a class="link" href="https://fr.wikipedia.org/wiki/Cron" target="_blank">Wikipédia</a> ou référez-vous à la <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">documentation du paquet</a>.',
lazy_ping_title: 'Ping fainéant',
lazy_ping_desc:
"Lorsque le mode ping fainéant est activé, UpSnap ne va effectuer des requêtes de ping sur les appareils que lorsqu'un utilisateur actif visite le site. Si vous désactivez cette fonction, UpSnap exécutera toujours ces requêtes.",
lazy_ping_enable: 'Activer',
website_title_title: 'Titre du site',
website_title_desc:
"Définit le titre du site ainsi que le texte affiché dans l'onglet du navigateur.",
icon_title: 'Icône',
icon_desc: 'Définit un favicon personnalisé. Les types de fichier compatibles sont :',
upsnap_version: 'Version de UpSnap '
},
users: {
page_title: 'Utilisateurs',
allow_create_devices:
"Autoriser {username} à créer de nouveaux appareils et à modifier les groupes d'appareils",
device_permissions: 'Permissions des appareils',
create_new_device: 'Créer un nouvel appareil',
read: 'Lire',
update: 'Mettre à jour',
delete: 'Supprimer',
power: 'Allumer',
toggle: 'Inverser',
confirm_delete_title: 'Confirmation de la suppression',
confirm_delete_desc: 'Voulez-vous vraiment supprimer {username} ?',
create_new_user: "Création d'un nouvel utilisateur",
username: "Nom d'utilisateur",
password: 'Mot de passe',
password_confirm: 'Confirmation du mot de passe',
required_field: 'champ requis'
},
buttons: {
save: 'Sauvegarder',
delete: 'Supprimer',
change: 'Modifier',
reset: 'Réinitialiser',
cancel: 'Annuler',
add: 'Ajouter',
confirm: 'Confirmer'
},
welcome: {
step1_page_title: 'Bienvenue sur UpSnap 🥳',
step1_setup_desc: "Veuillez suivre les étapes suivantes pour terminer l'installation.",
step1_setup_btn_next: 'Suivant',
step2_page_title: 'Création du compte administrateur',
step2_label_email: 'Courriel :',
step2_label_password: 'Mot de passe :',
step2_label_min_chars: 'min. 10 caractères',
step2_label_password_confirm: 'Confirmation du mot de passe :',
step2_btn_create: 'Créer',
step3_page_title: 'Vous êtes tout bon ! 🎉',
step3_page_desc: 'Allez-y et ajoutez quelques appareils à votre tableau de bord.',
step3_btn_done: "C'est parti !",
not_expected_title: 'Je ne vous attendais pas ici ! 🧐',
not_expected_desc: "Vous avez déjà terminé l'installation ! Il n'y a plus rien à faire.",
not_expected_back: 'Ramène-moi',
progress_step1: 'Bienvenue',
progress_step2: 'Créer un compte',
progress_step3: 'Fin'
},
toasts: {
admin_saved: 'Administrateur sauvegardé',
user_saved: 'Utilisateur sauvegardé',
user_created: 'Utilisateur {username} créé',
user_deleted: 'Utilisateur {username} supprimé',
settings_saved: 'Paramètres sauvegardés',
password_changed: 'Mot de passe modifié. Veuillez vous reconnecter.',
passwords_missmatch: 'Les mots de passe ne correspondent pas',
permissions_created: 'Permissions pour {username} créées',
permissions_deleted: 'Permissions pour {username} supprimées',
permissions_updated: 'Permissions pour {username} mises à jour',
permissions_updated_personal: 'Vos permissions ont été mises à jour',
no_permission: "Vous n'avez pas la permission de visiter {url}",
device_created: '{device} créé',
devices_created_multiple: '{count|int} appareils créés',
device_updated: '{device} mis à jour',
device_deleted: '{device} supprimé',
group_created: 'Groupe {group} créé',
group_deleted: 'Groupe {group} supprimé'
},
navbar: {
theme: 'Thème',
new: 'Nouveau',
edit_account: 'Modifier le compte',
logout: 'Déconnexion'
}
} satisfies Translation;
export default fr;
-16
View File
@@ -1,16 +0,0 @@
// This file was auto-generated by 'typesafe-i18n'. Any manual changes will be overwritten.
import { initI18nSvelte } from 'typesafe-i18n/svelte';
import type { Formatters, Locales, TranslationFunctions, Translations } from './i18n-types';
import { loadedFormatters, loadedLocales } from './i18n-util';
const { locale, LL, setLocale } = initI18nSvelte<
Locales,
Translations,
TranslationFunctions,
Formatters
>(loadedLocales, loadedFormatters);
export { locale, LL, setLocale };
export default LL;
File diff suppressed because it is too large Load Diff
-41
View File
@@ -1,41 +0,0 @@
// This file was auto-generated by 'typesafe-i18n'. Any manual changes will be overwritten.
import { initFormatters } from './formatters';
import type { Locales, Translations } from './i18n-types';
import { loadedFormatters, loadedLocales, locales } from './i18n-util';
const localeTranslationLoaders = {
de: () => import('./de'),
'de-DE': () => import('./de-DE'),
en: () => import('./en'),
'en-US': () => import('./en-US'),
es: () => import('./es'),
'es-ES': () => import('./es-ES'),
fr: () => import('./fr'),
'fr-FR': () => import('./fr-FR'),
it: () => import('./it'),
'it-IT': () => import('./it-IT'),
nl: () => import('./nl'),
'nl-NL': () => import('./nl-NL'),
pt: () => import('./pt'),
'pt-PT': () => import('./pt-PT'),
zh: () => import('./zh'),
'zh-CN': () => import('./zh-CN'),
'zh-TW': () => import('./zh-TW')
};
const updateDictionary = (locale: Locales, dictionary: Partial<Translations>): Translations =>
(loadedLocales[locale] = { ...loadedLocales[locale], ...dictionary });
export const importLocaleAsync = async (locale: Locales): Promise<Translations> =>
(await localeTranslationLoaders[locale]()).default as unknown as Translations;
export const loadLocaleAsync = async (locale: Locales): Promise<void> => {
updateDictionary(locale, await importLocaleAsync(locale));
loadFormatters(locale);
};
export const loadAllLocalesAsync = (): Promise<void[]> => Promise.all(locales.map(loadLocaleAsync));
export const loadFormatters = (locale: Locales): void =>
void (loadedFormatters[locale] = initFormatters(locale));
-55
View File
@@ -1,55 +0,0 @@
// This file was auto-generated by 'typesafe-i18n'. Any manual changes will be overwritten.
import { initFormatters } from './formatters';
import type { Locales, Translations } from './i18n-types';
import { loadedFormatters, loadedLocales, locales } from './i18n-util';
import de from './de';
import de_DE from './de-DE';
import en from './en';
import en_US from './en-US';
import es from './es';
import es_ES from './es-ES';
import fr from './fr';
import fr_FR from './fr-FR';
import it from './it';
import it_IT from './it-IT';
import nl from './nl';
import nl_NL from './nl-NL';
import pt from './pt';
import pt_PT from './pt-PT';
import zh from './zh';
import zh_CN from './zh-CN';
import zh_TW from './zh-TW';
const localeTranslations = {
de,
'de-DE': de_DE,
en,
'en-US': en_US,
es,
'es-ES': es_ES,
fr,
'fr-FR': fr_FR,
it,
'it-IT': it_IT,
nl,
'nl-NL': nl_NL,
pt,
'pt-PT': pt_PT,
zh,
'zh-CN': zh_CN,
'zh-TW': zh_TW
};
export const loadLocale = (locale: Locales): void => {
if (loadedLocales[locale]) return;
loadedLocales[locale] = localeTranslations[locale] as unknown as Translations;
loadFormatters(locale);
};
export const loadAllLocales = (): void => locales.forEach(loadLocale);
export const loadFormatters = (locale: Locales): void =>
void (loadedFormatters[locale] = initFormatters(locale));
-61
View File
@@ -1,61 +0,0 @@
// This file was auto-generated by 'typesafe-i18n'. Any manual changes will be overwritten.
import {
i18n as initI18n,
i18nObject as initI18nObject,
i18nString as initI18nString
} from 'typesafe-i18n';
import type { LocaleDetector } from 'typesafe-i18n/detectors';
import type { LocaleTranslationFunctions, TranslateByString } from 'typesafe-i18n';
import { detectLocale as detectLocaleFn } from 'typesafe-i18n/detectors';
import { initExtendDictionary } from 'typesafe-i18n/utils';
import type { Formatters, Locales, Translations, TranslationFunctions } from './i18n-types';
export const baseLocale: Locales = 'en';
export const locales: Locales[] = [
'de',
'de-DE',
'en',
'en-US',
'es',
'es-ES',
'fr',
'fr-FR',
'it',
'it-IT',
'nl',
'nl-NL',
'pt',
'pt-PT',
'zh',
'zh-CN',
'zh-TW'
];
export const isLocale = (locale: string): locale is Locales => locales.includes(locale as Locales);
export const loadedLocales: Record<Locales, Translations> = {} as Record<Locales, Translations>;
export const loadedFormatters: Record<Locales, Formatters> = {} as Record<Locales, Formatters>;
export const extendDictionary = initExtendDictionary<Translations>();
export const i18nString = (locale: Locales): TranslateByString =>
initI18nString<Locales, Formatters>(locale, loadedFormatters[locale]);
export const i18nObject = (locale: Locales): TranslationFunctions =>
initI18nObject<Locales, Translations, TranslationFunctions, Formatters>(
locale,
loadedLocales[locale],
loadedFormatters[locale]
);
export const i18n = (): LocaleTranslationFunctions<Locales, Translations, TranslationFunctions> =>
initI18n<Locales, Translations, TranslationFunctions, Formatters>(
loadedLocales,
loadedFormatters
);
export const detectLocale = (...detectors: LocaleDetector[]): Locales =>
detectLocaleFn<Locales>(baseLocale, locales, ...detectors);
-8
View File
@@ -1,8 +0,0 @@
import it from '../it';
import type { Translation } from '../i18n-types';
const it_IT = {
...(it as unknown as Translation)
} satisfies Translation;
export default it_IT;
-226
View File
@@ -1,226 +0,0 @@
import type { BaseTranslation } from '../i18n-types';
const it = {
home: {
page_title: 'Home',
order_groups: 'Gruppi',
order_name: 'Nome',
order_ip: 'IP',
order_tooltip: 'Ordine',
no_devices: 'Nessun dispositivo qui.',
add_first_device: 'Aggiungi il tuo primo dispositivo',
grant_permissions:
"Per favore chiedi all' amministratore di darti i permessi necessari per aggiungere un nuovo dispositivo."
},
account: {
page_title: 'Account',
account_type_admin: 'Amministratore',
account_type_user: 'Utente',
avatar_title: 'Avatar',
language_title: 'Lingua',
language_option_auto: 'Automatico',
change_password_title: 'Cambia password',
change_password_body: 'Dopo aver cambiato la password, dovrai effettuare di nuovo il login.',
change_password_label: 'Vecchia password',
change_password_new: 'Nuova password',
change_password_confirm: 'Conferma la password'
},
device: {
page_title: 'Nuovo dispositivo',
tabs: ['Manuale', 'Scansiona la rete'],
card_btn_more: '...',
card_btn_more_edit: 'Modifica',
card_btn_more_sleep: 'Dormi',
card_btn_more_reboot: 'Riavvia',
card_tooltip_wake_cron: 'Sveglia programmata',
card_tooltip_shutdown_cron: 'Spegnimento programmato',
card_tooltip_wake_password: 'Password sveglia',
card_tooltip_last_status_change: 'Ultimo cambiamento di stato',
card_password: 'Password',
card_nic_tooltip_pending: 'In attesa',
card_nic_tooltip_shutdown: 'Spegni',
card_nic_tooltip_shutdown_no_cmd: 'Nessun comando di spegnimento impostato',
card_nic_tooltip_shutdown_no_permission:
'Non hai i permessi necessari per spegnere questo dispositivo',
card_nic_tooltip_power: 'Accendi',
card_nic_tooltip_power_no_permission:
'Non hai i permessi necessari per accendere questo dispositivo',
modal_confirm_wake_title: 'Accendere {device}?',
modal_confirm_wake_desc: 'Sicuro di voler accendere {device}.',
modal_confirm_shutdown_title: 'Spegnere {device}?',
modal_confirm_shutdown_desc: 'Sicuro di voler spegnere {device}.',
general: 'Generale',
general_name: 'Nome',
general_name_placeholder: 'Nome dispositivo',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Maschera di rete',
general_required_field: 'Campo obbligatorio',
ports: 'Porte',
ports_desc: "UpSnap puo' anche controllare che le porte siano aperte.",
ports_add_new: 'Aggiungi nuova porta',
ports_name: 'Nome',
ports_number: 'Numero',
link: 'Collegamento',
link_desc:
'Rende il nome del tuo dispositivo un collegamento, perfetto per collegare ad esempio un sito.',
ping: 'Ping',
ping_desc:
'Puoi usare un comando personalizzato per controllare che il dispositivo sia acceso. Il comando deve ritornare un codice uguale a <span class="badge">0</span> per confermare che il dispositivo sia acceso, mentre qualunque altro codice indica che il dispositivo e\' spento.',
ping_cmd: 'Comando ping personalizzato',
wake: 'Accendi',
wake_desc: 'Puoi accendere questo dispositivo con una sveglia programmata.',
wake_cmd: 'Comando di accensione personalizzato',
wake_cron: 'Sveglia programmata',
wake_cron_enable: 'Abilita sveglia programmata',
sol: 'Sleep-On-LAN',
sol_desc1:
'Puoi spegnere il tuo dispositivo usando lo strumento <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a>. Sleep-On-LAN (SOL) e\' uno strumento esterno che opera sul dispositivo che vuoi spegnere, il quale rende disponibile un endpoint REST. Puoi riferirti al link <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Uso</a> (in inglese) per le istruzioni.',
sol_desc2:
"Lo strumento SOL e' configurato per mandare richieste con il protocollo HTTP invece che UDP per abilitare l' autorizzazione e rendere le richieste piu' affidabili",
sol_desc3:
'Pertanto, assicuratevi di includere <span class="badge">HTTP:&lt;LA-TUA-PORTA&gt;</span> nella sezione <span class="badge">Listeners</span> della <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">configurazione di SOL</a>.',
sol_enable: 'Abilita Sleep-On-LAN',
sol_port: 'Porta SOL',
sol_authorization: 'Autorizzazione',
sol_user: 'Utente SOL',
sol_password: 'Password SOL',
shutdown: 'Spegni',
shutdown_desc:
'Questo <strong>prompt dei comandi</strong> girera\' nel tuo container (se usi docker) o direttamente sul tuo host (se usi i file di installazione). Per verificare che funzioni correttamente, puoi eseguire i comandi direttamente nel container o nel tuo sistema host. Alcuni comandi comuni sono <span class="badge">net rpc</span> per windows, <span class="badge">sshpass</span> per linux oppure <span class="badge">curl</span> in generale per fare richieste con HTTP.',
shutdown_examples: 'Esempi:',
shutdown_examples_windows: 'Spegni macchina windows remota:',
shutdown_examples_linux: 'Spegni macchina linux remota:',
shutdown_cmd: 'Comando di spegnimento',
shutdown_cron_desc:
'Settando i parametri esattamente come fareste con cron su linux, potrete cosi anche impostare un azione di spegnimento su questo dispositivo.',
shutdown_cron: 'Parametri di spegnimento per cron',
shutdown_cron_enable: 'Abilita lo spegnimento tramite cron',
password: 'Password',
password_desc:
'Alcune schede di rete hanno una opzione per settare una password per i magic packets, chiamata anche <span class="badge">SecureON</span>. La lunghezza della password puo\' essere solo di 0, 4 o 6 caratteri.',
groups: 'Gruppi',
groups_desc:
'Puoi aggiungere un dispositivo ad un gruppo per averli raggruppati nel schermata principale.',
groups_placeholder: "per esempio 'Cantina' o 'Ufficio'",
network_scan_range_saved: 'Intervallo di scansione salvato',
network_scan_desc:
"Scansiona automaticamente la tua rete per i dispositivi disponibili. Affinche' funzioni, devi eseguire UpSnap come root/admin ed avere nmap installato e disponibile nella variabile d'ambiente $PATH (per gli utenti docker, questo e' gia' il caso e non devi cambiare niente). La scansione puo' richiedere alcuni secondi.",
network_scan_ip_range: 'Intervallo IP',
network_scan_no_range: 'Nessuno intervallo di scansione',
network_scan_unsaved_changes: 'Modifiche non salvate',
network_scan_running: 'Scansione in corso',
network_scan: 'Scansiona',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Fornitore Mac:',
network_scan_netmask: 'Maschera di rete:',
network_scan_add_all: 'Aggiungi tutti i dispositivi',
network_scan_replace_netmask: 'Modificare la maschera di rete per tutti i dispositivi?',
network_scan_new_netmask: 'Nuova mascheda di rete',
network_scan_include_unknown: 'Includi i dispositivi il cui nome e\' "Unknown" o "Sconosciuto"',
require_confirmation: 'Chiedi conferma'
},
login: {
welcome: 'Benvenuti',
email_label: 'Email o nome utente:',
password_label: 'Password:',
btn_more: 'Di piu...',
menu_title_auth_providers: 'Altri gestori di autenticazione',
btn_login: 'Login'
},
settings: {
page_title: 'Opzioni',
ping_interval_title: 'Intervallo di ping',
ping_interval_desc1:
'Imposta l\'intervallo nel quale i dispositivi vengono testati con ping. Lasciare in bianco per lasciare il valore predefinito <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'Per ulteriori dettagli circa la sintassi corretta di cron, fare riferimento a <a class="link" href="https://it.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> oppure a <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">questa documentazione</a> (in inglese).',
lazy_ping_title: 'Ping pigro',
lazy_ping_desc:
"Quando il ping pigro e' abilitato, UpSnap effettuera' i ping verso di dispositivi solamente quando un utente effettivamente visita il sito. Se e' spento, allora UpSnap continuera' con il ping sempre.",
lazy_ping_enable: 'Abilita',
website_title_title: 'Nome del sito',
website_title_desc: 'Imposta il nome del sito.',
icon_title: 'Icona',
icon_desc: 'Imposta una icona personalizzata. I tipi di file supportati sono:',
upsnap_version: 'Versione UpSnap'
},
users: {
page_title: 'Utenti',
allow_create_devices:
'Permetti a {username} di creare nuovo dispositivi e gestire i gruppi di dispositivi.',
device_permissions: 'Permessi dispositivo',
create_new_device: 'Crea un nuovo dispositivo',
read: 'Leggi',
update: 'Modifica',
delete: 'Cancella',
power: 'Accendi',
toggle: 'Inverti',
confirm_delete_title: 'Conferma rimozione',
confirm_delete_desc: 'Sei sicuro di voler rimuovere {username}?',
create_new_user: 'Crea nuovo utente',
username: 'Nome utente',
password: 'Password',
password_confirm: 'Conferma la password',
required_field: 'Campo obbligatorio'
},
buttons: {
save: 'Salva',
delete: 'Cancella',
change: 'Cambia',
reset: 'Resetta',
cancel: 'Annulla',
add: 'Aggiungi',
confirm: 'Conferma'
},
welcome: {
step1_page_title: 'Benvenuti ad UpSnap 🥳',
step1_setup_desc: "Per favore, completate i seguenti passi per terminare l'installazione.",
step1_setup_btn_next: 'Avanti',
step2_page_title: 'Creare un account amministratore',
step2_label_email: 'Email:',
step2_label_password: 'Password:',
step2_label_min_chars: 'Min. 10 caratteri',
step2_label_password_confirm: 'Conferma la password:',
step2_btn_create: 'Crea',
step3_page_title: 'Abbiamo finito! 🎉',
step3_page_desc: 'Prosegui adesso per aggiungere dispositivi alla tua lista.',
step3_btn_done: 'Andiamo!',
not_expected_title: 'Non mi aspettavo di vederti qui! 🧐',
not_expected_desc:
"L' installazione e' gia' terminata! Non ci sono operazioni da svolgere qui.",
not_expected_back: 'Indietro',
progress_step1: 'Benvenuti',
progress_step2: 'Creare un account',
progress_step3: 'Fatto'
},
toasts: {
admin_saved: 'Account amministratore salvato',
user_saved: 'Account utente salvato',
user_created: 'Utente {username} creato',
user_deleted: 'Utente {username} cancellato',
settings_saved: 'Impostazioni salvate',
password_changed: 'Password cambiata. Per favore, effettuate di nuovo il login.',
passwords_missmatch: 'Le password non corrispondono',
permissions_created: 'I permessi per {username} sono stati creati',
permissions_deleted: 'I permessi per {username} sono stati cancellati',
permissions_updated: 'I permessi per {username} sono stati aggiornati',
permissions_updated_personal: 'I tuoi permessi sono stati aggiornati',
no_permission: 'Non hai i permessi necessari per visitare {url}',
device_created: 'Creato dispositivo {device}',
devices_created_multiple: 'Creato/i {count|int} dispositivi',
device_updated: '{device} aggiornato',
device_deleted: '{device} cancellato',
group_created: 'Gruppo {group} creato',
group_deleted: 'Gruppo {group} cancellato'
},
navbar: {
theme: 'Tema',
new: 'Nuovo',
edit_account: 'Modifica accont',
logout: 'Esci'
}
} satisfies BaseTranslation;
export default it;
-8
View File
@@ -1,8 +0,0 @@
import nl from '../nl';
import type { Translation } from '../i18n-types';
const nl_NL = {
...(nl as unknown as Translation)
} satisfies Translation;
export default nl_NL;
-225
View File
@@ -1,225 +0,0 @@
import en from '../en';
import type { Translation } from '../i18n-types';
const nl = {
...(en as unknown as Translation),
home: {
page_title: 'Home',
order_groups: 'Groepen',
order_name: 'Naam',
order_ip: 'IP',
order_tooltip: 'Sorteren',
no_devices: 'Geen apparaten gevonden.',
add_first_device: 'Voeg je eerste apparaat toe',
grant_permissions:
'Vraag de admin om je toestemming te geven voor bestaande apparaten of om nieuwe te creëren.'
},
account: {
page_title: 'Account',
account_type_admin: 'Beheerder',
account_type_user: 'Gebruiker',
avatar_title: 'Avatar',
language_title: 'Taal',
language_option_auto: 'Automatisch',
change_password_title: 'Wachtwoord wijzigen',
change_password_body: 'Na het wijzigen van het wachtwoord moet je opnieuw inloggen.',
change_password_label: 'Oud wachtwoord',
change_password_new: 'Nieuw wachtwoord',
change_password_confirm: 'Bevestig wachtwoord'
},
device: {
page_title: 'Nieuw apparaat',
tabs: ['Handmatig', 'Netwerkscan'],
card_btn_more: 'Meer',
card_btn_more_edit: 'Bewerken',
card_btn_more_sleep: 'Slaapstand',
card_btn_more_reboot: 'Herstarten',
card_tooltip_wake_cron: 'Wek cron',
card_tooltip_shutdown_cron: 'Afsluiten cron',
card_tooltip_wake_password: 'Wek wachtwoord',
card_tooltip_last_status_change: 'Laatste statuswijziging',
card_password: 'Wachtwoord',
card_nic_tooltip_pending: 'In behandeling',
card_nic_tooltip_shutdown: 'Afsluiten',
card_nic_tooltip_shutdown_no_cmd: 'Geen uitschakel-opdracht ingesteld',
card_nic_tooltip_shutdown_no_permission: 'Geen toestemming om dit apparaat uit te schakelen',
card_nic_tooltip_power: 'Aanzetten',
card_nic_tooltip_power_no_permission: 'Geen toestemming om dit apparaat aan te zetten',
modal_confirm_wake_title: 'Wek {device}?',
modal_confirm_wake_desc: 'Bevestig om {device} te wekken.',
modal_confirm_shutdown_title: 'Afsluiten {device}?',
modal_confirm_shutdown_desc: 'Bevestig om {device} af te sluiten.',
general: 'Algemeen',
general_name: 'Naam',
general_name_placeholder: 'Apparaatnaam',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Subnetmask',
general_required_field: 'vereist veld',
ports: 'Poorten',
ports_desc: 'UpSnap kan ook controleren of gegeven poorten open zijn.',
ports_add_new: 'Voeg nieuwe poort toe',
ports_name: 'Naam',
ports_number: 'Nummer',
link: 'Link',
link_desc:
'Maakt de apparaatsnaam een klikbare link, ideaal om bijvoorbeeld een dashboard te linken.',
ping: 'Ping',
ping_desc:
'Je kunt een aangepaste shell-opdracht gebruiken om te zien of het apparaat aan staat. De opdracht moet een exitcode van <span class="badge">0</span> retourneren om aan te geven dat het apparaat aan is, elke andere exitcode markeert het apparaat als uitgeschakeld.',
ping_cmd: 'Aangepaste ping-opdracht',
wake: 'Wek',
wake_desc: 'Je kunt dit apparaat inschakelen met een geplande cron-taak.',
wake_cmd: 'Aangepaste wek-opdracht',
wake_cron: 'Wek cron',
wake_cron_enable: 'Wek cron inschakelen',
sol: 'Sleep-On-LAN',
sol_desc1:
'Je kunt computers in de slaapstand zetten met de <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a> tool. Sleep-On-LAN (SOL) is een externe tool/daemon die op de PC\'s werkt die je in de slaapstand wilt zetten en biedt een REST-endpoint. Voor instructies over het instellen van Sleep-On-LAN, zie de <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Gebruik</a> sectie.',
sol_desc2:
'SOL is geconfigureerd om verzoeken over HTTP in plaats van UDP te verzenden om autorisatie mogelijk te maken en verzoeken betrouwbaarder te maken.',
sol_desc3:
'Zorg er daarom voor dat je <span class="badge">HTTP:&lt;JOUWPOORT&gt;</span> opneemt in de <span class="badge">Listeners</span> sectie van de <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">SOL-configuratie</a>.',
sol_enable: 'Sleep-On-LAN inschakelen',
sol_port: 'SOL Poort',
sol_authorization: 'Autorisatie',
sol_user: 'SOL Gebruiker',
sol_password: 'SOL Wachtwoord',
shutdown: 'Afsluiten',
shutdown_desc:
'Deze <strong>shell-opdracht</strong> wordt uitgevoerd binnen de container (als je docker gebruikt) of op jouw host (als je de binaire versie gebruikt). Om te verifiëren dat het werkt, kun je de opdracht eerst binnen de container of op jouw host-shell uitvoeren. Veelvoorkomende opdrachten zijn <span class="badge">net rpc</span> voor Windows, <span class="badge">sshpass</span> voor Linux of <span class="badge">curl</span> in het algemeen om webverzoeken te doen.',
shutdown_examples: 'Voorbeelden:',
shutdown_examples_windows: 'Afsluiten van een externe Windows-machine:',
shutdown_examples_linux: 'Afsluiten van een externe Linux-machine:',
shutdown_cmd: 'Afsluitopdracht',
shutdown_cron_desc:
'Net als het instellen van een cron om het apparaat te wekken, kun je ook een cron-taak plannen om dit apparaat af te sluiten.',
shutdown_cron: 'Afsluitcron',
shutdown_cron_enable: 'Afsluitcron inschakelen',
password: 'Wachtwoord',
password_desc:
'Sommige netwerkkaarten hebben de optie om een wachtwoord voor magic packets in te stellen, ook wel <span class="badge">SecureON</span> genoemd. Het wachtwoord kan alleen 0, 4 of 6 tekens lang zijn.',
groups: 'Groepen',
groups_desc:
'Je kunt apparaten aan een groep toevoegen om ze op het dashboard per groep te sorteren.',
groups_placeholder: "bijv. 'Kelder' of 'Kantoor'",
network_scan_range_saved: 'Scanbereik opgeslagen',
network_scan_desc:
'Automatisch jouw netwerk scannen op apparaten. Voor dit te laten werken, moet je UpSnap als root/admin uitvoeren en moet nmap geïnstalleerd en beschikbaar zijn in jouw $PATH (Voor docker-gebruikers is dit al het geval en hoef je niets meer te doen). Scannen kan enkele seconden duren.',
network_scan_ip_range: 'IP-bereik',
network_scan_no_range: 'Geen scanbereik',
network_scan_unsaved_changes: 'Niet-opgeslagen wijzigingen',
network_scan_running: 'Scan loopt',
network_scan: 'Scannen',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Mac leverancier:',
network_scan_netmask: 'Subnetmasker:',
network_scan_add_all: 'Alle apparaten toevoegen',
network_scan_replace_netmask: 'Subnetmasker voor alle apparaten vervangen?',
network_scan_new_netmask: 'Nieuw subnetmasker',
network_scan_include_unknown: 'Voeg apparaten toe waarvan de naam "Onbekend" is',
require_confirmation: 'Bevestiging vereist'
},
login: {
welcome: 'Welkom',
email_label: 'E-mail of gebruikersnaam:',
password_label: 'Wachtwoord:',
btn_more: 'Meer',
menu_title_auth_providers: 'Andere auth-providers',
btn_login: 'Inloggen'
},
settings: {
page_title: 'Instellingen',
ping_interval_title: 'Ping-interval',
ping_interval_desc1:
'Stelt de interval in waarin de apparaten worden gepingt. Laat leeg om de standaardwaarde van <span class="badge">@every 3s</span> te gebruiken.',
ping_interval_desc2:
'Leer meer over de juiste syntax voor cron op <a class="link" href="https://en.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> of raadpleeg de <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">pakketdocumentatie</a>.',
lazy_ping_title: 'Lazy ping',
lazy_ping_desc:
'Wanneer lazy ping is ingeschakeld, pingt UpSnap alleen apparaten als er een actieve gebruiker de website bezoekt. Als het is uitgeschakeld, pingt UpSnap altijd apparaten.',
lazy_ping_enable: 'Inschakelen',
website_title_title: 'Website titel',
website_title_desc: 'Stelt de titel van de website en in het browsertabblad in.',
icon_title: 'Icoon',
icon_desc: 'Stel een aangepast favicon in. Ondersteunde bestandstypen zijn:',
upsnap_version: 'UpSnap versie'
},
users: {
page_title: 'Gebruikers',
allow_create_devices:
'Sta {username} toe om nieuwe apparaten te maken en apparaatgroepen te bewerken',
device_permissions: 'Apparaattoestemmingen',
create_new_device: 'Nieuw apparaat maken',
read: 'Lezen',
update: 'Bijwerken',
delete: 'Verwijderen',
power: 'Aanzetten',
toggle: 'Wisselen',
confirm_delete_title: 'Bevestig verwijderen',
confirm_delete_desc: 'Weet je zeker dat je {username} wilt verwijderen?',
create_new_user: 'Nieuwe gebruiker aanmaken',
username: 'Gebruikersnaam',
password: 'Wachtwoord',
password_confirm: 'Bevestig wachtwoord',
required_field: 'vereist veld'
},
buttons: {
save: 'Opslaan',
delete: 'Verwijderen',
change: 'Wijzigen',
reset: 'Resetten',
cancel: 'Annuleren',
add: 'Toevoegen',
confirm: 'Bevestigen'
},
welcome: {
step1_page_title: 'Welkom bij UpSnap 🥳',
step1_setup_desc: 'Voltooi de volgende stappen om de installatie te voltooien.',
step1_setup_btn_next: 'Volgende',
step2_page_title: 'Maak een beheerdersaccount aan',
step2_label_email: 'E-mail:',
step2_label_password: 'Wachtwoord:',
step2_label_min_chars: 'min. 10 tekens',
step2_label_password_confirm: 'Bevestig wachtwoord:',
step2_btn_create: 'Aanmaken',
step3_page_title: 'Je bent helemaal klaar! 🎉',
step3_page_desc: 'Ga je gang en voeg enkele apparaten toe aan je dashboard.',
step3_btn_done: 'Laten we beginnen!',
not_expected_title: 'Ik zag je hier niet aankomen! 🧐',
not_expected_desc: 'Je bent al klaar met de installatie! Er is niets meer te doen.',
not_expected_back: 'Breng me terug',
progress_step1: 'Welkom',
progress_step2: 'Account aanmaken',
progress_step3: 'Klaar'
},
toasts: {
admin_saved: 'Beheerder opgeslagen',
user_saved: 'Gebruiker opgeslagen',
user_created: 'Gebruiker {username} aangemaakt',
user_deleted: 'Gebruiker {username} verwijderd',
settings_saved: 'Instellingen opgeslagen',
password_changed: 'Wachtwoord gewijzigd. Log alsjeblieft opnieuw in.',
passwords_missmatch: 'Wachtwoorden komen niet overeen',
permissions_created: 'Rechten voor {username} aangemaakt',
permissions_deleted: 'Rechten voor {username} verwijderd',
permissions_updated: 'Rechten voor {username} bijgewerkt',
permissions_updated_personal: 'Jouw rechten zijn bijgewerkt',
no_permission: 'Je hebt geen toestemming om {url} te bezoeken',
device_created: 'Aangemaakt {device}',
devices_created_multiple: 'Aangemaakt {count|int} apparaten',
device_updated: 'Bijgewerkt {device}',
device_deleted: 'Verwijderd {device}',
group_created: 'Groep {group} aangemaakt',
group_deleted: 'Groep {group} verwijderd'
},
navbar: {
theme: 'Thema',
new: 'Nieuw',
edit_account: 'Account bewerken',
logout: 'Uitloggen'
}
} satisfies Translation;
export default nl;
-8
View File
@@ -1,8 +0,0 @@
import pt from '../pt';
import type { Translation } from '../i18n-types';
const pt_PT = {
...(pt as unknown as Translation)
} satisfies Translation;
export default pt_PT;
-224
View File
@@ -1,224 +0,0 @@
import en from '../en';
import type { Translation } from '../i18n-types';
const pt = {
...(en as unknown as Translation),
home: {
page_title: 'Início',
order_groups: 'Grupos',
order_name: 'Nome',
order_ip: 'IP',
order_tooltip: 'Ordem',
no_devices: 'Sem dispositivos.',
add_first_device: 'Adicione o seu primeiro dispositivo',
grant_permissions:
'Peça ao administrador para alterar as suas permissões para dispositivos existentes ou para criar novos.'
},
account: {
page_title: 'Conta',
account_type_admin: 'Admin',
account_type_user: 'Utilizador',
avatar_title: 'Avatar',
language_title: 'Idioma',
language_option_auto: 'Automático',
change_password_title: 'Alterar password',
change_password_body: 'Terá de voltar a entrar após alterar a sua password.',
change_password_label: 'Antiga password',
change_password_new: 'Nova password',
change_password_confirm: 'Confirmar password'
},
device: {
page_title: 'Novo dispositivo',
tabs: ['Manual', 'Pesquisa de rede'],
card_btn_more: 'Mais',
card_btn_more_edit: 'Editar',
card_btn_more_sleep: 'Suspender',
card_btn_more_reboot: 'Reiniciar',
card_tooltip_wake_cron: 'Wake cron',
card_tooltip_shutdown_cron: 'Shutdown cron',
card_tooltip_wake_password: 'Wake password',
card_tooltip_last_status_change: 'Última alteração de estado',
card_password: 'Password',
card_nic_tooltip_pending: 'Pendente',
card_nic_tooltip_shutdown: 'Desligar',
card_nic_tooltip_shutdown_no_cmd: 'Comando para desligar não está definido',
card_nic_tooltip_shutdown_no_permission: 'Não tem permissão para desligar este dispositivo',
card_nic_tooltip_power: 'Ligar',
card_nic_tooltip_power_no_permission: 'Não tem permissão para ligar este dispositivo',
modal_confirm_wake_title: 'Despertar {device}?',
modal_confirm_wake_desc: 'Confirme para ativar {device}.',
modal_confirm_shutdown_title: 'Desligar {device}?',
modal_confirm_shutdown_desc: 'Confirme o encerramento do {device}.',
general: 'Geral',
general_name: 'Nome',
general_name_placeholder: 'Nome do dispositivo',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: 'Máscara de rede',
general_required_field: 'campo obrigatório',
ports: 'Portos',
ports_desc: 'UpSnap pode verificar se certos portos estão abertos.',
ports_add_new: 'Adicionar novo porto',
ports_name: 'Nome',
ports_number: 'Número',
link: 'Link',
link_desc:
'Permite que o nome do seu dispositivo seja um link. Perfeito para dashboard, por exemplo.',
ping: 'Ping',
ping_desc:
'Pode utilizar um comando shell personalizado para ver se o dispositivo está ligado. O comando deve devolver um código de saída de <span class="badge">0</span> para indicar que o dispositivo está ligado, qualquer outro código de saída marcará o dispositivo como desligado.',
ping_cmd: 'Comando ping personalizado',
wake: 'Ligar',
wake_desc: 'Poderá ligar este dispositivo através dum cron job agendado.',
wake_cmd: 'Comando de despertar personalizado',
wake_cron: 'Wake cron',
wake_cron_enable: 'Ativar wake cron',
sol: 'Sleep-On-LAN',
sol_desc1:
'Poderá suspender o seu dispositivo usando a ferramenta <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a>. Sleep-On-LAN (SOL) é uma ferramenta externa que terá de ser executada no dispositivo que quer suspender, facilitando um REST endpoint. Para instruções em como configurar Sleep-On-LAN, veja a secção <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Usage</a>.',
sol_desc2:
'SOL envia pedidos através de HTTP em vez de UDP para permitir autenticação e tornar os pedidos mais seguros.',
sol_desc3:
'Portanto, tenha a certeza que inclui <span class="badge">HTTP:&lt;SEU_PORTO&gt;</span> na secção <span class="badge">Listeners</span> de <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">configuração SOL</a>.',
sol_enable: 'Ativar Sleep-On-LAN',
sol_port: 'Porto SOL',
sol_authorization: 'Autenticação',
sol_user: 'Utilizador SOL',
sol_password: 'Password SOL',
shutdown: 'Desligar',
shutdown_desc:
'Este <strong>comando shell</strong> irá correr dentro do teu container (no caso de usar docker) ou no seu host (na versão standalone). Para verificar que funciona, pode executar o comando primeiro no seu container/host. Comandos comuns são <span class="badge">net rpc</span> para windows, <span class="badge">sshpass</span> para linux ou <span class="badge">curl</span> em geral para enviar pedidos web.',
shutdown_examples: 'Exemplos:',
shutdown_examples_windows: 'Desligar dispositivo windows remoto:',
shutdown_examples_linux: 'Desligar dispositivo linux remoto:',
shutdown_cmd: 'Comando para desligar',
shutdown_cron_desc:
'Assim como pode ter um cron job para ligar o seu dispositivo, pode também usar para desligar.',
shutdown_cron: 'Shutdown cron',
shutdown_cron_enable: 'Ativar shutdown cron',
password: 'Password',
password_desc:
'Alguns adaptadores de rede têm a opção de definir uma password para magic packets, também conhecido como <span class="badge">SecureON</span>. A password só poderá conter 0, 4 ou 6 caracteres.',
groups: 'Grupos',
groups_desc: 'Pode adicionar dispositivos a grupos para ordenar na dashboard.',
groups_placeholder: "e.g. 'Cave' ou 'Escritório'",
network_scan_range_saved: 'Intervalo de pesquisa guardado',
network_scan_desc:
'Procurar automaticamente na sua rede por dispositivos. Terá de executar o UpSnap como root/admin e ter o nmap instalado e disponível no seu $PATH (No caso de usar docker, não tem de fazer nada). Poderá demorar alguns segundos.',
network_scan_ip_range: 'Intervalo IP',
network_scan_no_range: 'Sem intervalo de IP',
network_scan_unsaved_changes: 'Alterações por guardar',
network_scan_running: 'Pesquisa em curso',
network_scan: 'Pesquisar',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Fornecedor Mac:',
network_scan_netmask: 'Máscara de rede:',
network_scan_add_all: 'Adicionar todos os dispositivos',
network_scan_replace_netmask: 'Substituir máscara de rede para todos os dispositivos?',
network_scan_new_netmask: 'Nova máscara de rede',
network_scan_include_unknown: 'Incluir dispositivos em que o nome é "Unknown"',
require_confirmation: 'Exigir confirmação'
},
login: {
welcome: 'Bem-vindo',
email_label: 'Email ou Utilizador:',
password_label: 'Password:',
btn_more: 'Mais',
menu_title_auth_providers: 'Outros provedores de autenticação',
btn_login: 'Entrar'
},
settings: {
page_title: 'Definições',
ping_interval_title: 'Intervalo ping',
ping_interval_desc1:
'Define o intervalo em que o ping é executado. Deixe em branco para usar o valor por defeito de <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'Poderá ver a sintaxe correta para cron em <a class="link" href="https://en.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> ou em <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">documentação cron</a>.',
lazy_ping_title: 'Lazy ping',
lazy_ping_desc:
'Quando o lazy ping está activo, o UpSnap irá apenas executar o ping se existir um utilizador ativo no website. Se desligado, o UpSnap irá executar sempre o ping.',
lazy_ping_enable: 'Activar',
website_title_title: 'Título do website',
website_title_desc: 'Define o título do website.',
icon_title: 'Ícone',
icon_desc: 'Define um favicon personalizado. Tipos de ficheiros suportados são:',
upsnap_version: 'Versão UpSnap'
},
users: {
page_title: 'Utilizadores',
allow_create_devices:
'Permitir a {username} adicionar novos dispositivos e editar grupos de dispositivos',
device_permissions: 'Permissões de dispositivos',
create_new_device: 'Adicionar dispositivo',
read: 'Ver',
update: 'Editar',
delete: 'Apagar',
power: 'Ligar/desligar',
toggle: 'Alternar',
confirm_delete_title: 'Confirmar',
confirm_delete_desc: 'Tem a certeza que quer apagar {username}?',
create_new_user: 'Criar novo utilizador',
username: 'Utilizador',
password: 'Password',
password_confirm: 'Confirmar password',
required_field: 'campo obrigatório'
},
buttons: {
save: 'Guardar',
delete: 'Apagar',
change: 'Alterar',
reset: 'Repor',
cancel: 'Cancelar',
add: 'Adicionar',
confirm: 'Confirmar'
},
welcome: {
step1_page_title: 'Bem-vindo ao UpSnap 🥳',
step1_setup_desc: 'Complete os próximos passos para terminar a configuração.',
step1_setup_btn_next: 'Seguinte',
step2_page_title: 'Criar conta de administrador',
step2_label_email: 'Email:',
step2_label_password: 'Password:',
step2_label_min_chars: 'min. 10 caracteres',
step2_label_password_confirm: 'Confirmar password:',
step2_btn_create: 'Criar',
step3_page_title: 'Concluído! 🎉',
step3_page_desc: 'Adicione alguns dispositivos à sua dashboard.',
step3_btn_done: 'Vamos!',
not_expected_title: 'Não esperava ver aqui alguém! 🧐',
not_expected_desc: 'A configuração está concluída. Nada a fazer aqui.',
not_expected_back: 'Voltar',
progress_step1: 'Bem-vindo',
progress_step2: 'Criar conta',
progress_step3: 'Concluído'
},
toasts: {
admin_saved: 'Administrador atualizado',
user_saved: 'Utilizador atualizado',
user_created: 'Utilizador {username} criado',
user_deleted: 'Utilizador {username} apagado',
settings_saved: 'Definições guardadas',
password_changed: 'Password alterada. Terá de entrar novamente.',
passwords_missmatch: 'As passwords não correspondem',
permissions_created: 'Permissões criadas para {username}',
permissions_deleted: 'Permissões apagadas para {username}',
permissions_updated: 'Permissões atualizadas para {username}',
permissions_updated_personal: 'As suas permissões foram atualizadas',
no_permission: 'Não tem permissão para visitar {url}',
device_created: 'Adicionado dispositivo {device}',
devices_created_multiple: 'Adicionados {count|int} dispositivos',
device_updated: '{device} atualizado',
device_deleted: '{device} apagado',
group_created: 'Grupo {group} criado',
group_deleted: 'Grupo {group} apagado'
},
navbar: {
theme: 'Tema',
new: 'Novo',
edit_account: 'Editar conta',
logout: 'Sair'
}
} satisfies Translation;
export default pt;
-8
View File
@@ -1,8 +0,0 @@
import zh from '../zh';
import type { Translation } from '../i18n-types';
const zh_CN = {
...(zh as unknown as Translation)
} satisfies Translation;
export default zh_CN;
-217
View File
@@ -1,217 +0,0 @@
import zh from '../zh';
import type { Translation } from '../i18n-types';
const zh_TW = {
...(zh as unknown as Translation),
home: {
page_title: '首頁',
order_groups: '群組',
order_name: '名稱',
order_ip: 'IP位址',
order_tooltip: '排序',
no_devices: '尚無設備',
add_first_device: '添加你的第一台設備',
grant_permissions: '請聯絡系統管理員授權現有設備或創建新設備的權限'
},
account: {
page_title: '帳號資訊',
account_type_admin: '管理員',
account_type_user: '普通使用者',
avatar_title: '頭像',
language_title: '語言',
language_option_auto: '自動',
change_password_title: '更改密碼',
change_password_body: '更改密碼後,將需重新登入',
change_password_label: '舊密碼',
change_password_new: '新密碼',
change_password_confirm: '確認密碼'
},
device: {
page_title: '新裝置',
tabs: ['手動設定', '網路掃描'],
card_btn_more: '更多',
card_btn_more_edit: '編輯',
card_btn_more_sleep: '睡眠',
card_btn_more_reboot: '重新啟動',
card_tooltip_wake_cron: '喚醒排程',
card_tooltip_shutdown_cron: '關機排程',
card_tooltip_wake_password: '喚醒密碼',
card_tooltip_last_status_change: '最後狀態更新',
card_password: '密碼',
card_nic_tooltip_pending: '等待中...',
card_nic_tooltip_shutdown: '關機',
card_nic_tooltip_shutdown_no_cmd: '未設定關機指令',
card_nic_tooltip_shutdown_no_permission: '無關閉此裝置之權限',
card_nic_tooltip_power: '開機',
card_nic_tooltip_power_no_permission: '無開啟此裝置之權限',
modal_confirm_wake_title: '喚醒 {device}?',
modal_confirm_wake_desc: '你確定要喚醒 {device} 嗎?',
modal_confirm_shutdown_title: '關閉 {device}?',
modal_confirm_shutdown_desc: '你確定要關閉 {device} 嗎?',
general: '通用',
general_name: '名稱',
general_name_placeholder: '裝置名稱',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: '子網域遮罩',
general_required_field: '必填',
ports: '埠',
ports_desc: 'UpSnap 可以檢查指定的埠是否開啟',
ports_add_new: '新增埠',
ports_name: '名稱',
ports_number: '通訊埠編號',
link: '連結',
link_desc: '讓您的裝置名稱成為可點擊的連結,非常適合用來連結儀表板等。',
ping: 'Ping',
ping_desc:
'你可以使用自定義的指令來檢查裝置是否開機。該指令應返回退出碼 <span class="badge">0</span> 以表示裝置已開機,任何其他退出碼將標記裝置為關機。',
ping_cmd: '自定義 ping 指令',
wake: '喚醒',
wake_desc: '你可以透過排程来唤醒裝置。',
wake_cmd: '自定義唤醒指令',
wake_cron: '唤醒排程',
wake_cron_enable: '啟用定時喚醒',
sol: 'Sleep-On-LAN',
sol_desc1:
'你可以使用 <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a> 工具讓電腦睡眠。 Sleep-On-LAN (SOL) 是一个外部的工具,它在你想要進入睡眠的PC上執行並有RestAPI端口. 有關 Sleep-On-LAN 設定的說明, 請見文檔 <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Usage</a>',
sol_desc2: 'SOL 已配置為使用 HTTP 發送請求,而不是 UDP以啟用授權並提高請求的可靠性。',
sol_desc3:
'因此, 請確保在 <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">SOL 配置</a> 的 <span class="badge">Listeners</span> 部分中包含<span class="badge">HTTP:&lt;YOURPORT&gt;</span>',
sol_enable: '啟用 Sleep-On-LAN',
sol_port: 'SOL 通訊埠',
sol_authorization: '認證',
sol_user: 'SOL 帳號',
sol_password: 'SOL 密碼',
shutdown: '關機',
shutdown_desc:
'這個<strong>shell指令</strong>將在您的容器內運行(如果您使用docker),或者在您的主機上運行(如果您使用二進制)。為了驗證其正常工作,您可以先在容器內或主機的shell中運行這個指令。常見的指令有<span class="badge">net rpc</span>用於Windows,<span class="badge">sshpass</span>用於Linux,或者一般用於進行網絡請求的<span class="badge">curl</span>。',
shutdown_examples: '範例:',
shutdown_examples_windows: '關閉遠端 Windows 主機:',
shutdown_examples_linux: '關閉遠端 Linux 主機:',
shutdown_cmd: '關機指令',
shutdown_cron_desc: '就像設定排程來喚醒裝置一樣,您也可以設定一個排程來關閉這個裝置。',
shutdown_cron: '關機排程',
shutdown_cron_enable: '啟用關機排程',
password: '密碼',
password_desc:
'一些網路介面卡能給 magic packets 設密碼, 也可稱作 <span class="badge">SecureON</span>. 密碼長度只能為0、4或6個字。',
groups: '群組',
groups_desc: '你可以將裝置加到群組, 以便在控制面板上依群組排序。',
groups_placeholder: "例如: 'Basement' 或 'Office'",
network_scan_range_saved: '掃瞄範圍已儲存',
network_scan_desc:
'自動掃描網路上的設備,要使用這個功能,你需要以root/系統管理員權限執行 UpSnap, 並在你的 $PATH 中安裝nmap(使用docker安裝者不需執行任何操作),掃描可能需一段時間。',
network_scan_ip_range: 'IP 範圍',
network_scan_no_range: '無掃瞄範圍',
network_scan_unsaved_changes: '未儲存的更改',
network_scan_running: '掃描中',
network_scan: '掃描',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Mac 供應商:',
network_scan_netmask: '子網域遮罩:',
network_scan_add_all: '新增全部裝置',
network_scan_replace_netmask: '替換所有設備的子網域遮罩?',
network_scan_new_netmask: '新子網域遮罩',
network_scan_include_unknown: '包括名稱為 “Unknown” 的裝置',
require_confirmation: '再次確認'
},
login: {
welcome: '歡迎使用',
email_label: '電子郵件/使用者名稱:',
password_label: '密碼:',
btn_more: '更多',
menu_title_auth_providers: '其他身份驗證提供者',
btn_login: '登入'
},
settings: {
page_title: '設定',
ping_interval_title: 'Ping 間隔',
ping_interval_desc1: '設定 ping 的間隔。留空使用預設值 <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'有關 cron 的更多資訊,請見<a class="link" href="https://zh.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> 或參閱 <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">cron 文檔</a>.',
lazy_ping_title: 'Lazy ping',
lazy_ping_desc: '當開關打開時, UpSnap 只會在有訪問者訪問網站時才對設備進行 ping 測試',
lazy_ping_enable: '啟用',
website_title_title: '網站標題',
website_title_desc: '設置網站的標題,同時顯示在瀏覽器的標籤中。',
icon_title: '圖標',
icon_desc: '設定一個自訂義圖標。支援的檔案類型:',
upsnap_version: 'UpSnap 版本'
},
users: {
page_title: '使用者',
allow_create_devices: '允許 {username} 創建新裝置和修改群組',
device_permissions: '裝置權限',
create_new_device: '創建新裝置',
read: '查看',
update: '更新',
delete: '刪除',
power: '電源',
toggle: '全選',
confirm_delete_title: '確認刪除',
confirm_delete_desc: '你確定要刪除 {username} 嗎?',
create_new_user: '新增使用者',
username: '使用者名稱',
password: '密碼',
password_confirm: '確認密碼',
required_field: '必填'
},
buttons: {
save: '保存',
delete: '刪除',
change: '更改',
reset: '重設',
cancel: '取消',
add: '新增',
confirm: '確認'
},
welcome: {
step1_page_title: '歡迎使用 UpSnap 🥳',
step1_setup_desc: '初次使用,請依下列指示完成步驟',
step1_setup_btn_next: '下一步',
step2_page_title: '創建管理者帳號',
step2_label_email: '電子郵件:',
step2_label_password: '密碼:',
step2_label_min_chars: '請輸入至少10个字元',
step2_label_password_confirm: '確認密碼:',
step2_btn_create: '創建',
step3_page_title: '一切就緒! 🎉',
step3_page_desc: '繼續向您的儀表板新增裝置。',
step3_btn_done: '開始使用!',
not_expected_title: '意料之外! 🧐',
not_expected_desc: '你已經完成設定,無需再次設定',
not_expected_back: '返回',
progress_step1: '歡迎',
progress_step2: '創建帳號',
progress_step3: '完成'
},
toasts: {
admin_saved: '帳號資訊已儲存',
user_saved: '帳號資訊已儲存',
user_created: '使用者 {username} 已創建',
user_deleted: '使用者 {username} 已刪除',
settings_saved: '設定已儲存',
password_changed: '密碼已修改,請重新登入。',
passwords_missmatch: '兩次輸入的密碼不相同',
permissions_created: '使用者 {username} 的權限已創建',
permissions_deleted: '使用者 {username} 的權限已刪除',
permissions_updated: '使用者 {username} 的權限已更新',
permissions_updated_personal: '你的權限已更新',
no_permission: '你無權訪問 {url}',
device_created: '已創建 {device}',
devices_created_multiple: '已創建 {count|int} 個設備',
device_updated: '已更新 {device}',
device_deleted: '已刪除 {device}',
group_created: '已創建群組 {group}',
group_deleted: '已創建群組 {group}'
},
navbar: {
theme: '主題',
new: '新增',
edit_account: '編輯帳號',
logout: '退出'
}
} satisfies Translation;
export default zh_TW;
-215
View File
@@ -1,215 +0,0 @@
import type { BaseTranslation } from '../i18n-types';
const zh = {
home: {
page_title: '首页',
order_groups: '分组',
order_name: '名称',
order_ip: 'IP地址',
order_tooltip: '排序',
no_devices: '还没有任何设备',
add_first_device: '添加您的第一台设备',
grant_permissions: '请联系管理员授予您相应权限.'
},
account: {
page_title: '账户信息',
account_type_admin: '管理员',
account_type_user: '普通用户',
avatar_title: '头像',
language_title: '语言',
language_option_auto: '自动',
change_password_title: '更改密码',
change_password_body: '更改密码后, 您需要重新登录.',
change_password_label: '旧密码',
change_password_new: '新密码',
change_password_confirm: '确认密码'
},
device: {
page_title: '新设备',
tabs: ['手动配置', '网络扫描'],
card_btn_more: '更多',
card_btn_more_edit: '编辑',
card_btn_more_sleep: 'Sleep',
card_btn_more_reboot: '重启',
card_tooltip_wake_cron: '唤醒计划',
card_tooltip_shutdown_cron: '关机计划',
card_tooltip_wake_password: '唤醒密码',
card_tooltip_last_status_change: '最近状态更新',
card_password: '密码',
card_nic_tooltip_pending: '等待中...',
card_nic_tooltip_shutdown: '关机',
card_nic_tooltip_shutdown_no_cmd: '未设置关机命令',
card_nic_tooltip_shutdown_no_permission: '没有关闭此设备的权限',
card_nic_tooltip_power: '启动',
card_nic_tooltip_power_no_permission: '没有启动此设备的权限',
modal_confirm_wake_title: '唤醒 {device}?',
modal_confirm_wake_desc: '您确定要唤醒 {device} 吗?',
modal_confirm_shutdown_title: '关闭 {device}?',
modal_confirm_shutdown_desc: '您确定要关闭 {device} 吗?',
general: '通用',
general_name: '名称',
general_name_placeholder: '设备名',
general_ip: 'IP',
general_mac: 'Mac',
general_netmask: '子网掩码',
general_required_field: '必填字段',
ports: '端口',
ports_desc: 'UpSnap 可以检查设备端口是否正常.',
ports_add_new: '添加端口',
ports_name: '名称',
ports_number: '端口号',
link: '链接',
link_desc: '为您的设备名设置一个可点击的链接.',
ping: 'Ping',
ping_desc:
'您可以使用自定义 shell 命令来查看设备是否已接通电源。该命令应返回 <span class="badge">0</span> 的退出代码,表示设备电源已打开,任何其他退出代码都将标记设备电源已关闭。',
ping_cmd: '自定义 ping 命令',
wake: '唤醒',
wake_desc: '您可以通过计划任务来唤醒设备.',
wake_cmd: '自定义唤醒命令',
wake_cron: '唤醒计划任务',
wake_cron_enable: '启用定时唤醒',
sol: 'Sleep-On-LAN',
sol_desc1:
'您可以使用 <a class="link" href="https://github.com/SR-G/sleep-on-lan" target="_blank">Sleep-On-LAN</a> 工具让计算机进入睡眠状态. Sleep-On-LAN (SOL) 是一个外部的工具/守护程序, 它在您想要进入休眠状态的PC上运行并提供RestApi接口. 有关 Sleep-On-LAN 设置的说明, 请参阅文档 <a href="https://github.com/SR-G/sleep-on-lan#usage" class="link" target="_blank">Usage</a> 部分.',
sol_desc2: 'SOL 配置为通过HTTP而不是UDP发送请求, 以启用认证功能并使请求更可靠',
sol_desc3:
'因此, 请确保在 <a href="https://github.com/SR-G/sleep-on-lan#configuration" class="link" target="_blank">SOL 配置</a> 的 <span class="badge">Listeners</span> 部分中包含<span class="badge">HTTP:&lt;YOURPORT&gt;</span>',
sol_enable: '启用 Sleep-On-LAN',
sol_port: 'SOL 端口',
sol_authorization: '认证',
sol_user: 'SOL 账号',
sol_password: 'SOL 密码',
shutdown: '关机',
shutdown_desc:
'此 <strong>shell 命令</strong> 将在您的容器内运行 (如果使用的是Docker) 或在您的主机上运行. 要验证该命令是否有效, 您可以在容器内或主机上的shell中运行该命令. 通常在 Windows 上使用 <span class="badge">net rpc</span>, Linux上使用 <span class="badge">sshpass</span> 或者针对Web请求使用 <span class="badge">curl</span>.',
shutdown_examples: '示例:',
shutdown_examples_windows: '关闭远程 Windows 主机:',
shutdown_examples_linux: '关闭远程 Linux 主机:',
shutdown_cmd: '关机命令',
shutdown_cron_desc: '就像设置计划任务来唤醒设备一样, 您也可以设置计划任务来关闭该设备.',
shutdown_cron: '关机计划任务',
shutdown_cron_enable: '启用定时关机',
password: '密码',
password_desc:
'一些网卡允许为 magic packets 设置密码, 也可以称之为 <span class="badge">SecureON</span>. 密码长度只能为0、4或6个字符.',
groups: '分组',
groups_desc: '您可以将设备添加到组, 以便在控制面板上按组对其进行排序.',
groups_placeholder: "例如: 'Basement' 或 'Office'",
network_scan_range_saved: '扫描范围已保存',
network_scan_desc:
'自动扫描网络中的设备. 要实现这一点, 您需要以超级用户/管理员身份运行 UpSnap, 并在您的 $PATH 中安装和使用nmap(对于docker用户, 您不需要执行任何操作). 扫描可能需要一些时间.',
network_scan_ip_range: 'IP 范围',
network_scan_no_range: '无扫描范围',
network_scan_unsaved_changes: '未保存的更改',
network_scan_running: '扫描中',
network_scan: '扫描',
network_scan_ip: 'IP:',
network_scan_mac: 'Mac:',
network_scan_mac_vendor: 'Mac 供应商:',
network_scan_netmask: '子网掩码:',
network_scan_add_all: '添加全部设备',
network_scan_replace_netmask: '更换所有设备的子网掩码?',
network_scan_new_netmask: '新子网掩码',
network_scan_include_unknown: '包括名称为 “Unknown” 的设备',
require_confirmation: '二次确认'
},
login: {
welcome: '欢迎使用',
email_label: '邮箱/用户名:',
password_label: '密码:',
btn_more: '更多',
menu_title_auth_providers: '其他身份验证提供程序',
btn_login: '登录'
},
settings: {
page_title: '设置',
ping_interval_title: 'Ping 间隔',
ping_interval_desc1: '设置 ping 的间隔。为空时使用默认值 <span class="badge">@every 3s</span>.',
ping_interval_desc2:
'有关 cron 的更多信息, 请访问<a class="link" href="https://zh.wikipedia.org/wiki/Cron" target="_blank">Wikipedia</a> 或参阅 <a class="link" href="https://pkg.go.dev/github.com/robfig/cron/v3" target="_blank">cron 文档</a>.',
lazy_ping_title: 'Lazy ping',
lazy_ping_desc: '当开关打开时, UpSnap 只会在用户访问网站期间进行 ping 操作.',
lazy_ping_enable: '启用',
website_title_title: '网站标题',
website_title_desc: '设置在浏览器选项卡和网站中显示标题',
icon_title: '图标',
icon_desc: '设置一个自定义图标. 支持的文件类型:',
upsnap_version: 'UpSnap 版本'
},
users: {
page_title: '用户',
allow_create_devices: '允许 {username} 创建新设备和编辑设备组',
device_permissions: '设备权限',
create_new_device: '创建新设备',
read: '查看',
update: '更新',
delete: '删除',
power: '电源',
toggle: '全选',
confirm_delete_title: '确认删除',
confirm_delete_desc: '您确定要删除 {username} 吗?',
create_new_user: '新增用户',
username: '用户名',
password: '密码',
password_confirm: '确认密码',
required_field: '必填字段'
},
buttons: {
save: '保存',
delete: '删除',
change: '更改',
reset: '重置',
cancel: '取消',
add: '添加',
confirm: '确认'
},
welcome: {
step1_page_title: '欢迎使用 UpSnap 🥳',
step1_setup_desc: '初次使用, 请依照指示完成下列步骤.',
step1_setup_btn_next: '下一步',
step2_page_title: '创建管理员账号',
step2_label_email: '邮箱:',
step2_label_password: '密码:',
step2_label_min_chars: '请输入至少10个字符',
step2_label_password_confirm: '确认密码:',
step2_btn_create: '创建',
step3_page_title: '一切就绪! 🎉',
step3_page_desc: '继续向您的仪表板添加一些设备.',
step3_btn_done: '开始使用!',
not_expected_title: '意料之外! 🧐',
not_expected_desc: '您已经完成了设置, 无需再次设置',
not_expected_back: '返回',
progress_step1: '欢迎',
progress_step2: '创建账号',
progress_step3: '完成'
},
toasts: {
admin_saved: '账户信息已保存',
user_saved: '账户信息已保存',
user_created: '用户 {username} 已创建',
user_deleted: '用户 {username} 已删除',
settings_saved: '设置已保存',
password_changed: '密码已修改, 请重新登录.',
passwords_missmatch: '两次输入的密码不匹配',
permissions_created: '用户 {username} 的权限已创建',
permissions_deleted: '用户 {username} 的权限已删除',
permissions_updated: '用户 {username} 的权限已更新',
permissions_updated_personal: '您的权限已更新',
no_permission: '您没有权限访问 {url}',
device_created: '已创建 {device}',
devices_created_multiple: '已创建 {count|int} 个设备',
device_updated: '已更新 {device}',
device_deleted: '已删除 {device}',
group_created: '已创建组 {group}',
group_deleted: '已删除组 {group}'
},
navbar: {
theme: '主题',
new: '新增',
edit_account: '编辑账户',
logout: '退出'
}
} satisfies BaseTranslation;
export default zh;
+87
View File
@@ -0,0 +1,87 @@
import { getLocale } from '$lib/paraglide/runtime';
import type { Locale } from 'date-fns';
import { bg } from 'date-fns/locale/bg';
import { de } from 'date-fns/locale/de';
import { enUS } from 'date-fns/locale/en-US';
import { es } from 'date-fns/locale/es';
import { fr } from 'date-fns/locale/fr';
import { hi } from 'date-fns/locale/hi';
import { id } from 'date-fns/locale/id';
import { it } from 'date-fns/locale/it';
import { ja } from 'date-fns/locale/ja';
import { ko } from 'date-fns/locale/ko';
import { nb } from 'date-fns/locale/nb';
import { nl } from 'date-fns/locale/nl';
import { pl } from 'date-fns/locale/pl';
import { pt } from 'date-fns/locale/pt';
import { uk } from 'date-fns/locale/uk';
import { vi } from 'date-fns/locale/vi';
import { zhCN } from 'date-fns/locale/zh-CN';
import { zhTW } from 'date-fns/locale/zh-TW';
import { writable, type Writable } from 'svelte/store';
export const localeStore = writable(getLocale());
export const dateFnsLocale: Writable<Locale> = writable(enUS);
localeStore.subscribe((l: string) => {
switch (l) {
case 'bg-BG':
dateFnsLocale.set(bg);
break;
case 'de-DE':
dateFnsLocale.set(de);
break;
case 'en-US':
dateFnsLocale.set(enUS);
break;
case 'es-ES':
dateFnsLocale.set(es);
break;
case 'fr-FR':
dateFnsLocale.set(fr);
break;
case 'hi-IN':
dateFnsLocale.set(hi);
break;
case 'id-ID':
dateFnsLocale.set(id);
break;
case 'it-IT':
dateFnsLocale.set(it);
break;
case 'ja-JP':
dateFnsLocale.set(ja);
break;
case 'ko-KR':
dateFnsLocale.set(ko);
break;
case 'nl-NL':
dateFnsLocale.set(nl);
break;
case 'nb-NO':
dateFnsLocale.set(nb);
break;
case 'pl-PL':
dateFnsLocale.set(pl);
break;
case 'pt':
dateFnsLocale.set(pt);
break;
case 'uk-UA':
dateFnsLocale.set(uk);
break;
case 'vi-VN':
dateFnsLocale.set(vi);
break;
case 'zh-CN':
dateFnsLocale.set(zhCN);
break;
case 'zh-TW':
dateFnsLocale.set(zhTW);
break;
default:
dateFnsLocale.set(enUS);
break;
}
});
+2 -1
View File
@@ -1,9 +1,10 @@
import { resolve } from '$app/paths';
import type { Permission } from '$lib/types/permission';
import PocketBase from 'pocketbase';
import { writable } from 'svelte/store';
// set backend url based on environment
export const backendUrl = import.meta.env.DEV ? 'http://127.0.0.1:8090/' : '/';
export const backendUrl = import.meta.env.DEV ? 'http://127.0.0.1:8090/' : resolve('/');
// connect to backend
const pb = new PocketBase(backendUrl);
+6 -2
View File
@@ -5,18 +5,22 @@ export type Device = RecordModel & {
ip: string;
mac: string;
netmask: string;
description: string;
status: 'pending' | 'online' | 'offline' | '';
ports: string[];
link: URL;
link: string;
link_open: '' | 'same_tab' | 'new_tab';
ping_cmd: string;
wake_cron: string;
wake_cron_enabled: boolean;
wake_cmd: string;
wake_confirm: boolean;
wake_timeout: number;
shutdown_cron: string;
shutdown_cron_enabled: boolean;
shutdown_cmd: string;
shutdown_confirm: boolean;
shutdown_timeout: number;
password: string;
groups: string[];
expand: {
@@ -27,7 +31,7 @@ export type Device = RecordModel & {
sol_enabled: boolean;
sol_auth: boolean;
sol_user: string;
sol_passwort: string;
sol_password: string;
sol_port: number;
};
+1 -1
View File
@@ -8,7 +8,7 @@ export type SettingsPublic = RecordModel & {
};
export type SettingsPrivate = RecordModel & {
interval: number;
interval: string;
lazy_ping: boolean;
scan_range: string;
};
+30 -28
View File
@@ -1,36 +1,27 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { asset, resolve } from '$app/paths';
import { page } from '$app/state';
import Navbar from '$lib/components/Navbar.svelte';
import Transition from '$lib/components/Transition.svelte';
import LL, { setLocale } from '$lib/i18n/i18n-svelte';
import { baseLocale, locales } from '$lib/i18n/i18n-util';
import { loadLocaleAsync } from '$lib/i18n/i18n-util.async';
import { m } from '$lib/paraglide/messages.js';
import { backendUrl, permission, pocketbase } from '$lib/stores/pocketbase';
import { settingsPub } from '$lib/stores/settings';
import type { Permission } from '$lib/types/permission';
import type { SettingsPublic } from '$lib/types/settings';
import { onMount } from 'svelte';
import toast, { Toaster, type ToastOptions } from 'svelte-french-toast';
import { detectLocale, localStorageDetector, navigatorDetector } from 'typesafe-i18n/detectors';
import '../app.css';
const toastOptions: ToastOptions = {
duration: 5000
};
onMount(async () => {
// load locale
const detectedLocale = detectLocale(
baseLocale,
locales,
localStorageDetector,
navigatorDetector
);
await loadLocaleAsync(detectedLocale);
setLocale(detectedLocale);
let authIsValid = false;
onMount(async () => {
$pocketbase.authStore.onChange(() => {
authIsValid = $pocketbase.authStore.isValid;
// load user permissions
if ($pocketbase.authStore.record?.collectionName === 'users') {
$pocketbase
@@ -45,7 +36,7 @@
$pocketbase.collection('permissions').subscribe('*', (event) => {
permission.set(event.record as Permission);
toast.success($LL.toasts.permissions_updated_personal());
toast.success(m.toasts_permissions_updated_personal());
});
}
});
@@ -57,9 +48,9 @@
}
// redirect to welcome page if setup is not completed
if ($settingsPub.setup_completed === false && $page.url.pathname !== '/welcome') {
if ($settingsPub.setup_completed === false && page.url.pathname !== '/welcome') {
$pocketbase.authStore.clear();
goto('/welcome');
goto(resolve('/welcome'));
return;
}
@@ -68,28 +59,39 @@
await $pocketbase
.collection('_superusers')
.authRefresh()
.catch(() => {
$pocketbase.authStore.clear();
goto('/login');
.catch((err) => {
// clear the store only on invalidated/expired token
const status = err?.status << 0;
if (status == 401 || status == 403) {
$pocketbase.authStore.clear();
goto(resolve('/login'));
} else {
console.log('NOT CLEARED');
}
});
} else {
await $pocketbase
.collection('users')
.authRefresh()
.catch(() => {
$pocketbase.authStore.clear();
goto('/login');
.catch((err) => {
// clear the store only on invalidated/expired token
const status = err?.status << 0;
if (status == 401 || status == 403) {
$pocketbase.authStore.clear();
goto(resolve('/login'));
}
});
}
});
</script>
<svelte:head>
<link rel="manifest" href={backendUrl + 'api/upsnap/manifest.webmanifest'} />
<link
rel="shortcut icon"
href={$settingsPub?.id && $settingsPub?.favicon
? `${backendUrl}api/files/settings_public/${$settingsPub?.id}/${$settingsPub?.favicon}`
: '/gopher.svg'}
: asset('/gopher.svg')}
/>
{#if $settingsPub === undefined}
<title>UpSnap</title>
@@ -98,13 +100,13 @@
{/if}
</svelte:head>
{#if $pocketbase.authStore.isValid}
{#if authIsValid && !page.url.pathname.startsWith(resolve('/welcome'))}
<Navbar />
{/if}
<Toaster position="bottom-center" {toastOptions} />
<Transition url={$page.url}>
<Transition url={page.url}>
<div class="container mx-auto mb-4 p-2">
<slot />
</div>
+173 -126
View File
@@ -1,192 +1,239 @@
<script lang="ts">
import { browser } from '$app/environment';
import { resolve } from '$app/paths';
import DeviceCard from '$lib/components/DeviceCard.svelte';
import PageLoading from '$lib/components/PageLoading.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { permission, pocketbase } from '$lib/stores/pocketbase';
import { m } from '$lib/paraglide/messages';
import { localeStore } from '$lib/stores/locale';
import { backendUrl, permission, pocketbase } from '$lib/stores/pocketbase';
import type { Device, Group } from '$lib/types/device';
import {
faChevronCircleLeft,
faChevronCircleRight,
faPlus
faPlus,
faPowerOff,
faWarning
} from '@fortawesome/free-solid-svg-icons';
import { onMount } from 'svelte';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
let loading = true;
let devices = [] as Device[];
let loading = $state(true);
let devices: Device[] = $state([]);
let orderBy: 'name' | 'ip' = $state('name');
let orderExpanded = $state(false);
let orderByGroups = $state(true);
let searchQuery = $state('');
let searchInput: HTMLInputElement | undefined = $state();
let filteredDevices: Device[] = $derived([]);
let devicesWithoutGroups: Device[] = $derived([]);
let devicesWithGroup: {
[key: string]: Device[];
};
let devicesWithoutGroups = [] as Device[];
let orderBy: 'name' | 'ip';
let orderExpanded = false;
let orderByGroups: boolean;
const gridClass =
'grid grid-flow-row-dense grid-cols-1 md:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-4';
group: Group | null;
devices: Device[];
}[] = $derived([]);
$: {
devicesWithoutGroups = [];
devicesWithoutGroups = devices.filter((dev) => dev.groups.length === 0);
const isMac = /Mac|iPhone|iPad/.test(navigator.userAgent);
const gridClass = 'grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-4';
if (browser) {
const storedOrderBy = localStorage.getItem('orderBy');
if (storedOrderBy === 'name' || storedOrderBy === 'ip') {
orderBy = storedOrderBy;
}
orderByGroups = localStorage.getItem('orderByGroups') !== 'false';
}
$: {
devicesWithGroup = {};
devices.forEach((dev) => {
dev?.expand?.groups?.forEach((group: Group) => {
if (!devicesWithGroup[group.name]) {
devicesWithGroup[group.name] = [];
$effect(() => {
if (browser) {
localStorage.setItem('orderBy', orderBy);
}
});
$effect(() => {
if (browser) {
localStorage.setItem('orderByGroups', String(orderByGroups));
}
});
$effect(() => {
filteredDevices = devices.filter(
(dev) =>
dev.ip.includes(searchQuery.toLowerCase()) ||
dev.name.toLowerCase().includes(searchQuery.toLowerCase()) ||
dev.mac.toLowerCase().includes(searchQuery.toLowerCase()) ||
dev.description.toLowerCase().includes(searchQuery.toLowerCase())
);
});
$effect(() => {
devicesWithoutGroups = filteredDevices
.filter((dev) => dev.groups.length === 0)
.sort((a, b) => a[orderBy].localeCompare(b[orderBy], $localeStore, { numeric: true }));
});
$effect(() => {
const groups: Record<string, { group: Group; devices: Device[] }> = {};
filteredDevices.forEach((dev) => {
if (dev.expand?.groups?.length) {
for (const g of dev.expand.groups) {
if (!groups[g.id]) groups[g.id] = { group: g, devices: [] };
groups[g.id].devices.push(dev);
}
devicesWithGroup[group.name] = [...devicesWithGroup[group.name], dev];
});
}
});
}
$: if (browser && orderBy !== undefined) {
localStorage.setItem('orderBy', orderBy);
}
$: if (browser && orderByGroups !== undefined) {
localStorage.setItem('orderByGroups', orderByGroups.toString());
}
devicesWithGroup = Object.values(groups).map((g) => ({
group: g.group,
devices: g.devices.sort((a, b) =>
a[orderBy].localeCompare(b[orderBy], $localeStore, { numeric: true })
)
}));
});
function getAllDevices() {
$pocketbase
.collection('devices')
.getFullList(1000, { sort: 'name', expand: 'ports,groups' })
.then((resp) => {
devices = resp as Device[];
})
.catch((err) => {
toast.error(err.message);
})
.finally(() => {
loading = false;
});
.getFullList(-1, { sort: 'name', expand: 'ports,groups' })
.then((resp) => (devices = resp as Device[]))
.catch((err) => toast.error(err.message))
.finally(() => (loading = false));
}
function handleShortcut(event: KeyboardEvent) {
if ((event.ctrlKey || event.metaKey) && event.key === 'k') {
event.preventDefault();
searchInput?.focus();
}
}
function wakeGroup(group: string) {
fetch(`${backendUrl}api/upsnap/wakegroup/${group}`, {
headers: {
Authorization: $pocketbase.authStore.token
}
}).catch((err) => {
toast.error(err.message);
});
}
onMount(() => {
// get soring from local storage
const lsO = localStorage.getItem('orderBy');
if (lsO === 'name' || lsO === 'ip') {
orderBy = lsO;
} else {
orderBy = 'name';
}
if (localStorage.getItem('orderByGroups') === null) {
orderByGroups = true;
} else {
orderByGroups = localStorage.getItem('orderByGroups') === 'true' ? true : false;
}
// get collections and subscribe to changes
orderBy = (localStorage.getItem('orderBy') as 'name' | 'ip') || 'name';
orderByGroups = localStorage.getItem('orderByGroups') !== 'false';
getAllDevices();
$pocketbase.collection('devices').subscribe('*', () => {
getAllDevices();
});
$pocketbase.collection('ports').subscribe('*', () => {
getAllDevices();
});
$pocketbase.collection('permissions').subscribe('*', () => {
getAllDevices();
});
['devices', 'ports', 'permissions'].forEach((collection) =>
$pocketbase.collection(collection).subscribe('*', getAllDevices)
);
});
</script>
<svelte:document onkeydown={handleShortcut} />
{#if loading}
<PageLoading />
{:else if devices.length > 0}
<div class="flex justify-end">
<div class="join mb-4">
<div class="mb-4 flex flex-col justify-between gap-4 md:flex-row">
<label class="input max-md:w-full">
<svg class="h-[1em] opacity-50" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
><g
stroke-linejoin="round"
stroke-linecap="round"
stroke-width="2.5"
fill="none"
stroke="currentColor"
><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></g
></svg
>
<input
type="search"
class="grow"
placeholder={m.home_search_placeholder()}
bind:value={searchQuery}
bind:this={searchInput}
/>
<kbd class="kbd kbd-sm">{isMac ? '⌘' : 'CTRL'}</kbd>
<kbd class="kbd kbd-sm">K</kbd>
</label>
<div class="join ms-auto">
{#if orderExpanded}
<div class="join-item">
<div class="join">
<button
class="btn join-item"
type="button"
on:click={() => (orderByGroups = !orderByGroups)}
>{$LL.home.order_groups()}
<input
type="checkbox"
class="checkbox checked:checkbox-primary"
checked={orderByGroups}
/>
</button>
</div>
</div>
<button class="btn join-item !outline-0" onclick={() => (orderByGroups = !orderByGroups)}>
{m.home_order_groups()}
<input type="checkbox" class="checkbox" checked={orderByGroups} />
</button>
<input
class="btn join-item"
class="btn join-item !outline-0"
type="radio"
name="order"
aria-label={$LL.home.order_name()}
aria-label={m.home_order_name()}
bind:group={orderBy}
value="name"
/>
<input
class="btn join-item"
class="btn join-item !outline-0"
type="radio"
name="order"
aria-label={$LL.home.order_ip()}
aria-label={m.home_order_ip()}
bind:group={orderBy}
value="ip"
/>
{/if}
<div class="tooltip" data-tip={$LL.home.order_tooltip()}>
<button class="btn join-item" on:click={() => (orderExpanded = !orderExpanded)}>
{#if orderExpanded}
<Fa icon={faChevronCircleRight} size="lg" />
{:else}
<Fa icon={faChevronCircleLeft} size="lg" />
{/if}
</button>
</div>
<button
class="btn join-item tooltip {orderExpanded ? '' : 'rounded-field'}"
data-tip={m.home_order_tooltip()}
onclick={() => (orderExpanded = !orderExpanded)}
>
<Fa icon={orderExpanded ? faChevronCircleRight : faChevronCircleLeft} size="lg" />
</button>
</div>
</div>
{#if orderByGroups}
<div class="space-y-6">
{#if devicesWithoutGroups.length > 0}
<div class={gridClass}>
{#each devicesWithoutGroups.sort( (a, b) => a[orderBy].localeCompare( b[orderBy], undefined, { numeric: true, sensitivity: 'base' } ) ) as device}
<DeviceCard {device} />
{#each devicesWithoutGroups as device, i (device.id)}
<DeviceCard bind:device={devicesWithoutGroups[i]} />
{/each}
</div>
{/if}
{#if Object.keys(devicesWithGroup).length > 0}
{#each Object.keys(devicesWithGroup).sort( (a, b) => a.localeCompare( b, undefined, { numeric: true, sensitivity: 'base' } ) ) as group}
<div>
<h1 class="mb-3 text-2xl font-bold">{group}</h1>
<div class={gridClass}>
{#each devicesWithGroup[group].sort( (a, b) => a[orderBy].localeCompare( b[orderBy], undefined, { numeric: true, sensitivity: 'base' } ) ) as device}
<DeviceCard {device} />
{/each}
</div>
{#each devicesWithGroup.sort( (a, b) => (a.group?.name ?? '').localeCompare( b.group?.name ?? '', $localeStore, { numeric: true } ) ) as { group, devices } (group?.id)}
<div>
<h1 class="mb-3 text-2xl font-bold">
{group?.name ?? 'Unknown group name'}
<button
class="btn btn-sm btn-success btn-soft"
onclick={() => wakeGroup(group?.id ?? '')}
><Fa icon={faPowerOff} /> {m.home_wake_group()}</button
>
</h1>
<div class={gridClass}>
{#each devices as device, i (device.id)}
<DeviceCard bind:device={devices[i]} />
{/each}
</div>
{/each}
{/if}
</div>
{/each}
</div>
{:else}
{@const sorted = $state
.snapshot(filteredDevices)
.sort((a, b) => a[orderBy].localeCompare(b[orderBy], $localeStore, { numeric: true }))}
<div class={gridClass}>
{#each devices.sort( (a, b) => a[orderBy].localeCompare( b[orderBy], undefined, { numeric: true, sensitivity: 'base' } ) ) as device}
<DeviceCard {device} />
{#each sorted as device, i (device.id)}
<DeviceCard bind:device={sorted[i]} />
{/each}
</div>
{/if}
{:else}
<div class="container text-center">
<p>{$LL.home.no_devices()}</p>
{#if $pocketbase.authStore.isSuperuser || $permission.create}
<p>
<a href="/device/new" class="btn btn-ghost"
><Fa icon={faPlus} class="ms-2" />{$LL.home.add_first_device()}
</a>
</p>
{:else}
<p>
{$LL.home.grant_permissions()}
</p>
{/if}
<div class="flex justify-center">
<div role="alert" class="alert alert-horizontal w-fit">
<Fa icon={faWarning} size="lg" />
{#if $pocketbase.authStore.isSuperuser || $permission.create}
<div>
<h3 class="font-bold">{m.home_no_devices()}</h3>
<div class="text-xs">{m.home_add_first_device()}</div>
</div>
<a href={resolve('/device/new')} class="btn btn-sm"
><Fa icon={faPlus} />{m.home_add_first_device()}</a
>
{:else}
<span>
{m.home_grant_permissions()}
</span>
{/if}
</div>
</div>
{/if}
+145 -134
View File
@@ -1,95 +1,96 @@
<script lang="ts">
import { goto } from '$app/navigation';
import LL, { setLocale } from '$lib/i18n/i18n-svelte';
import type { Locales } from '$lib/i18n/i18n-types';
import { baseLocale, locales } from '$lib/i18n/i18n-util';
import { loadLocaleAsync } from '$lib/i18n/i18n-util.async';
import { asset, resolve } from '$app/paths';
import { m } from '$lib/paraglide/messages';
import type { Locale } from '$lib/paraglide/runtime';
import { getLocale, locales, setLocale } from '$lib/paraglide/runtime';
import { localeStore } from '$lib/stores/locale';
import { backendUrl, pocketbase } from '$lib/stores/pocketbase';
import { faSave } from '@fortawesome/free-solid-svg-icons';
import { onMount } from 'svelte';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
import { detectLocale, navigatorDetector } from 'typesafe-i18n/detectors';
let newAvatar: number;
let newAvatar: number | undefined = $state();
let selectedLang: Locale = $state('en-US' as Locale);
// locales
const languageEmojis = {
de: '🇩🇪',
'bg-BG': '🇧🇬',
'de-DE': '🇩🇪',
en: '🇺🇸',
'en-US': '🇺🇸',
fr: '🇫🇷',
'fr-FR': '🇫🇷',
it: '🇮🇹',
'it-IT': '🇮🇹',
nl: '🇳🇱',
'nl-NL': '🇳🇱',
pt: '🇵🇹',
'pt-PT': '🇵🇹',
es: '🇪🇸',
'es-ES': '🇪🇸',
zh: '🇨🇳',
'fr-FR': '🇫🇷',
'hi-IN': '🇮🇳',
'id-ID': '🇮🇩',
'it-IT': '🇮🇹',
'ja-JP': '🇯🇵',
'ko-KR': '🇰🇷',
'nb-NO': '🇳🇴',
'nl-NL': '🇳🇱',
'pl-PL': '🇵🇱',
'pt-PT': '🇵🇹',
'uk-UA': '🇺🇦',
'vi-VN': '🇻🇳',
'zh-CN': '🇨🇳',
'zh-TW': '🇹🇼'
};
let localStorageLang: Locales | 'auto' = 'auto';
let selectedLanguage: Locales | 'auto' = localStorageLang;
$: selectedLanguage = localStorageLang as Locales;
// password change
let newPassword = {
let newPassword = $state({
old: '',
password: '',
confirm: ''
};
$: adminBody = JSON.stringify({
password: newPassword.password,
passwordConfirm: newPassword.confirm
});
$: userBody = JSON.stringify({
oldPassword: newPassword.old,
password: newPassword.password,
passwordConfirm: newPassword.confirm
});
let adminBody: string;
let userBody: string;
$effect(() => {
adminBody = JSON.stringify({
password: newPassword.password,
passwordConfirm: newPassword.confirm
});
});
$effect(() => {
userBody = JSON.stringify({
oldPassword: newPassword.old,
password: newPassword.password,
passwordConfirm: newPassword.confirm
});
});
onMount(() => {
localStorageLang = (localStorage.getItem('lang') as Locales) || 'auto';
selectedLang = getLocale();
});
async function saveUser() {
let newLang = selectedLanguage;
if (newLang === 'auto') {
localStorage.removeItem('lang');
newLang = detectLocale(baseLocale, locales, navigatorDetector);
} else {
localStorage.setItem('lang', newLang);
if (newAvatar !== undefined) {
if ($pocketbase.authStore.isSuperuser) {
if (!$pocketbase.authStore.record?.id) return;
await $pocketbase
.collection('_superusers')
.update($pocketbase.authStore.record.id, { avatar: newAvatar })
.then(() => {
toast.success(m.toasts_admin_saved());
})
.catch((err) => {
toast.error(err.message);
});
} else {
if (!$pocketbase.authStore.record?.id) return;
await $pocketbase
.collection('users')
.update($pocketbase.authStore.record.id, { avatar: newAvatar })
.then(() => {
toast.success(m.toasts_user_saved());
})
.catch((err) => {
toast.error(err.message);
});
}
}
await loadLocaleAsync(newLang);
setLocale(newLang);
if ($pocketbase.authStore.isSuperuser) {
if (!$pocketbase.authStore.record?.id) return;
$pocketbase
.collection('_superusers')
.update($pocketbase.authStore.record.id, { avatar: newAvatar })
.then(() => {
toast.success($LL.toasts.admin_saved());
})
.catch((err) => {
toast.error(err.message);
});
} else {
if (!$pocketbase.authStore.record?.id) return;
$pocketbase
.collection('users')
.update($pocketbase.authStore.record.id, { avatar: newAvatar })
.then(() => {
toast.success($LL.toasts.user_saved());
})
.catch((err) => {
toast.error(err.message);
});
if ($localeStore !== selectedLang) {
setLocale(selectedLang);
}
}
@@ -109,15 +110,15 @@
)
.then(async (data) => {
if (data.ok) {
toast.success($LL.toasts.password_changed());
toast.success(m.toasts_password_changed());
$pocketbase.authStore.clear();
goto('/login');
goto(resolve('/login'));
} else {
const j = await data.json();
if (j?.data?.password?.message) {
toast.error(j?.data?.password?.message);
} else if (j?.data?.passwordConfirm?.message) {
toast.error($LL.toasts.passwords_missmatch());
toast.error(m.toasts_passwords_missmatch());
} else if (j.data?.oldPassword?.message) {
toast.error(j.data.oldPassword.message);
} else {
@@ -130,21 +131,21 @@
});
}
function localeToFullName(lang: Locales) {
function localeToFullName(lang: Locale) {
const languageNames = new Intl.DisplayNames([lang], { type: 'language' });
return languageNames.of(lang) ?? '';
}
</script>
<h1 class="mb-8 text-3xl font-bold">{$LL.account.page_title()}</h1>
<div class="card w-full bg-base-300 shadow-xl">
<h1 class="mb-8 text-3xl font-bold">{m.account_page_title()}</h1>
<div class="card bg-base-200 w-full shadow-sm">
<div class="card-body">
<div class="flex flex-row items-center gap-4">
<div class="avatar">
<div class="w-16 rounded-full">
{#if $pocketbase.authStore.record?.id}
<img
src="/avatars/avatar{newAvatar ?? $pocketbase.authStore.record?.avatar}.svg"
src={asset(`/avatars/avatar${newAvatar ?? $pocketbase.authStore.record?.avatar}.svg`)}
alt="Avatar {newAvatar ?? $pocketbase.authStore.record?.avatar}"
/>
{/if}
@@ -158,22 +159,27 @@
</h2>
<h3>
{$pocketbase.authStore.isSuperuser
? $LL.account.account_type_admin()
: $LL.account.account_type_user()}
? m.account_account_type_admin()
: m.account_account_type_user()}
</h3>
</div>
</div>
<form on:submit|preventDefault={saveUser}>
<h2 class="card-title mb-2 mt-4">{$LL.account.avatar_title()}</h2>
<form
onsubmit={(e) => {
e.preventDefault();
saveUser();
}}
>
<h2 class="card-title mt-4 mb-2">{m.account_avatar_title()}</h2>
<div class="flex flex-row flex-wrap gap-4">
{#each [...Array(10).keys()] as i}
<div class="avatar btn btn-circle btn-ghost">
{#each [...Array(10).keys()] as i (i)}
<div class="avatar">
<div
class="w-11 rounded-full"
class:ring={newAvatar !== undefined
class="hover:ring-neutral w-11 rounded-full hover:ring-2 hover:ring-offset-2"
class:ring-2={newAvatar !== undefined
? i === newAvatar
: i === $pocketbase.authStore.record?.avatar}
class:ring-primary={newAvatar !== undefined
class:ring-success={newAvatar !== undefined
? i === newAvatar
: i === $pocketbase.authStore.record?.avatar}
class:ring-offset-base-100={newAvatar !== undefined
@@ -182,23 +188,20 @@
class:ring-offset-2={newAvatar !== undefined
? i === newAvatar
: i === $pocketbase.authStore.record?.avatar}
on:click={() => (newAvatar = i)}
onclick={() => (newAvatar = i)}
role="none"
>
{#if $pocketbase.authStore.record?.id}
<img src="/avatars/avatar{i}.svg" alt="{$LL.account.avatar_title()} {i}" />
<img src={asset(`/avatars/avatar${i}.svg`)} alt="{m.account_avatar_title()} {i}" />
{/if}
</div>
</div>
{/each}
</div>
<h2 class="card-title mb-2 mt-4">{$LL.account.language_title()}</h2>
<select class="select select-bordered w-full max-w-xs" bind:value={selectedLanguage}>
<option value="auto" selected={localStorageLang === null}
>🌐 {$LL.account.language_option_auto()}</option
>
{#each locales.sort( (a, b) => a.localeCompare( b, undefined, { sensitivity: 'base' } ) ) as lang}
<option value={lang} selected={localStorageLang === lang}>
<h2 class="card-title mt-4 mb-2">{m.account_language_title()}</h2>
<select class="select w-full max-w-xs" bind:value={selectedLang}>
{#each [...locales].sort( (a, b) => a.localeCompare( b, $localeStore, { sensitivity: 'base' } ) ) as lang (lang)}
<option value={lang} selected={$localeStore === lang}>
{languageEmojis[lang]}
{localeToFullName(lang)} [{lang}]
</option>
@@ -206,65 +209,73 @@
</select>
<div class="mt-2">
<button type="submit" class="btn btn-success mt-2"
><Fa icon={faSave} />{$LL.buttons.save()}</button
><Fa icon={faSave} />{m.buttons_save()}</button
>
</div>
</form>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.account.change_password_title()}</h2>
<p>{$LL.account.change_password_body()}</p>
<form on:submit|preventDefault={changePassword}>
<div class="form-control w-full max-w-xs">
<h2 class="card-title">{m.account_change_password_title()}</h2>
<p>{m.account_change_password_body()}</p>
<form
onsubmit={(e) => {
e.preventDefault();
changePassword();
}}
>
<div class="w-full max-w-xs">
{#if !$pocketbase.authStore.isSuperuser}
<label class="label" for="password-old">
<span class="label-text">{$LL.account.change_password_label()}</span>
</label>
<input
id="password-old"
type="password"
placeholder={$LL.account.change_password_label()}
class="input input-bordered w-full max-w-xs"
minlength="5"
maxlength="72"
bind:value={newPassword.old}
required
/>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.account_change_password_label()} <span class="text-error">*</span></span>
<input
type="password"
placeholder={m.account_change_password_label()}
class="input"
minlength="5"
maxlength="72"
bind:value={newPassword.old}
required
/>
</label>
</fieldset>
{/if}
<label class="label" for="password-new">
<span class="label-text">{$LL.account.change_password_new()}</span>
</label>
<input
id="password-new"
type="password"
placeholder={$LL.account.change_password_new()}
class="input input-bordered w-full max-w-xs"
minlength={$pocketbase.authStore.isSuperuser ? 10 : 5}
maxlength="72"
bind:value={newPassword.password}
required
/>
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.account_change_password_new()} <span class="text-error">*</span></span>
<input
type="password"
placeholder={m.account_change_password_new()}
class="input"
minlength={$pocketbase.authStore.isSuperuser ? 10 : 5}
maxlength="72"
bind:value={newPassword.password}
required
/>
</label>
</fieldset>
</div>
<div class="form-control w-full max-w-xs">
<label class="label" for="password-confirm">
<span class="label-text">{$LL.account.change_password_confirm()}</span>
</label>
<input
id="password-confirm"
type="password"
placeholder={$LL.account.change_password_confirm()}
class="input input-bordered w-full max-w-xs"
minlength={$pocketbase.authStore.isSuperuser ? 10 : 5}
maxlength="72"
bind:value={newPassword.confirm}
required
/>
<div class="w-full max-w-xs">
<fieldset class="fieldset">
<label class="floating-label mt-2">
<span>{m.account_change_password_confirm()} <span class="text-error">*</span></span>
<input
type="password"
placeholder={m.account_change_password_confirm()}
class="input"
minlength={$pocketbase.authStore.isSuperuser ? 10 : 5}
maxlength="72"
bind:value={newPassword.confirm}
required
/>
</label>
</fieldset>
</div>
<div class="mt-2">
<button type="submit" class="btn btn-success mt-2"
><Fa icon={faSave} />{$LL.buttons.change()}</button
><Fa icon={faSave} />{m.buttons_change()}</button
>
</div>
</form>
+23 -14
View File
@@ -1,30 +1,39 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { resolve } from '$app/paths';
import { page } from '$app/state';
import DeviceForm from '$lib/components/DeviceForm.svelte';
import PageLoading from '$lib/components/PageLoading.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { permission, pocketbase } from '$lib/stores/pocketbase';
import type { Device, Port } from '$lib/types/device';
import type { Device, Group, Port } from '$lib/types/device';
import toast from 'svelte-french-toast';
$: if (Object.hasOwn($permission, 'update')) {
if (!$pocketbase.authStore.isSuperuser && !$permission.update.includes($page.params.id)) {
toast($LL.toasts.no_permission({ url: $page.url.pathname }), {
icon: '⛔'
});
goto('/');
$effect(() => {
if (Object.hasOwn($permission, 'update')) {
const id = page.params.id;
if (!$pocketbase.authStore.isSuperuser && !$permission.update.includes(id || '')) {
toast(m.toasts_no_permission({ url: page.url.pathname }), {
icon: '⛔'
});
goto(resolve('/'));
}
}
}
});
async function getDevice(): Promise<Device> {
const resp = await $pocketbase
.collection('devices')
.getOne($page.params.id, { expand: 'ports,groups' });
const id = page.params.id;
if (!id) throw new Error('No device ID provided');
const resp = await $pocketbase.collection('devices').getOne(id, { expand: 'ports,groups' });
let device = resp as Device;
if (!device.expand) device.expand = {};
if (!device.expand) {
device.expand = {} as {
ports: Port[];
groups: Group[];
};
}
if (!device.expand.ports) {
device.expand.ports = [] as Port[];
+49 -19
View File
@@ -1,55 +1,85 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { resolve } from '$app/paths';
import { page } from '$app/state';
import DeviceForm from '$lib/components/DeviceForm.svelte';
import NetworkScan from '$lib/components/NetworkScan.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { permission, pocketbase } from '$lib/stores/pocketbase';
import type { Device, Port } from '$lib/types/device';
import type { Device, Group, Port } from '$lib/types/device';
import { faBinoculars, faWrench } from '@fortawesome/free-solid-svg-icons';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
let device: Device = {
name: '',
ip: '',
mac: '',
netmask: '',
description: '',
status: '',
ports: [] as string[],
link_open: '',
ping_cmd: '',
wake_cron: '',
wake_cron_enabled: false,
wake_cmd: '',
wake_confirm: false,
wake_timeout: 0,
shutdown_cron: '',
shutdown_cron_enabled: false,
shutdown_cmd: '',
shutdown_confirm: false,
shutdown_timeout: 0,
password: '',
groups: [] as string[],
expand: {
ports: [] as Port[]
ports: [] as Port[],
groups: [] as Group[]
},
groups: [] as string[]
created_by: '',
sol_enabled: false,
sol_auth: false,
sol_user: '',
sol_password: '',
sol_port: 0
} as Device;
let activeTab = $state('manual');
$: if (Object.hasOwn($permission, 'create')) {
if (!$pocketbase.authStore.isSuperuser && !$permission.create) {
toast($LL.toasts.no_permission({ url: $page.url.pathname }), {
icon: '⛔'
});
goto('/');
$effect(() => {
if (Object.hasOwn($permission, 'create')) {
if (!$pocketbase.authStore.isSuperuser && !$permission.create) {
toast(m.toasts_no_permission({ url: page.url.pathname }), {
icon: '⛔'
});
goto(resolve('/'));
}
}
}
});
let tabs = [
{
name: 'manual',
ll_name: $LL.device.tabs[0](),
ll_name: m['device_tabs.0'](),
icon: faWrench,
show: true
},
{
name: 'scan',
ll_name: $LL.device.tabs[1](),
ll_name: m['device_tabs.1'](),
icon: faBinoculars,
show: $pocketbase.authStore.isSuperuser
}
];
let activeTab = 'manual';
</script>
<h1 class="mb-8 text-3xl font-bold">{$LL.device.page_title()}</h1>
<h1 class="mb-8 text-3xl font-bold">{m.device_page_title()}</h1>
<div class="mb-6 flex justify-center">
<ul class="menu menu-horizontal gap-1 rounded-box bg-base-300">
{#each tabs as tab}
<ul class="menu menu-horizontal rounded-box bg-base-200 gap-1">
{#each tabs as tab (tab)}
{#if tab.show}
<li>
<button class:active={activeTab === tab.name} on:click={() => (activeTab = tab.name)}
<button class:menu-active={activeTab === tab.name} onclick={() => (activeTab = tab.name)}
>{tab.ll_name} <Fa icon={tab.icon} class="ms-2" /></button
>
</li>
+29 -30
View File
@@ -1,7 +1,8 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { resolve } from '$app/paths';
import { toggleVisibility } from '$lib/helpers/forms';
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { backendUrl, pocketbase } from '$lib/stores/pocketbase';
import { settingsPub } from '$lib/stores/settings';
import { faEye, faLockOpen, faQuestionCircle } from '@fortawesome/free-solid-svg-icons';
@@ -18,7 +19,7 @@
onMount(() => {
if ($pocketbase.authStore.isValid) {
goto('/');
goto(resolve('/'));
}
});
@@ -27,14 +28,14 @@
.collection('_superusers')
.authWithPassword(form.email, form.password)
.then(() => {
goto('/');
goto(resolve('/'));
})
.catch(() => {
$pocketbase
.collection('users')
.authWithPassword(form.email, form.password)
.then(() => {
goto('/');
goto(resolve('/'));
})
.catch((err) => {
toast.error(err.message);
@@ -47,7 +48,7 @@
.collection('users')
.authWithOAuth2({ provider: provider.name })
.then(() => {
goto('/');
goto(resolve('/'));
})
.catch((err) => {
console.log(err);
@@ -57,7 +58,7 @@
</script>
<div class="mt-10 flex items-center justify-center">
<div class="card w-full max-w-lg bg-base-300 shadow-xl">
<div class="card bg-base-200 w-full max-w-lg shadow-sm">
<div class="card-body">
{#if $settingsPub?.website_title}
<h1 class="text-center text-xl font-bold">{$settingsPub?.website_title}</h1>
@@ -71,35 +72,35 @@
alt={$settingsPub?.website_title ? $settingsPub?.website_title : 'Gopher'}
/>
</figure>
<h2 class="card-title">{$LL.login.welcome()}</h2>
<h2 class="card-title">{m.login_welcome()}</h2>
</div>
<form class="form-control w-full" on:submit|preventDefault={tryAdminThenUser}>
<form
class="w-full"
onsubmit={(e) => {
e.preventDefault();
tryAdminThenUser();
}}
>
<label class="label" for="email">
<span class="label-text">{$LL.login.email_label()}</span>
<span>{m.login_email_label()}</span>
</label>
<input
id="email"
type="text"
class="input input-bordered w-full"
required
bind:value={form.email}
/>
<input id="email" type="text" class="input w-full" required bind:value={form.email} />
<label class="label" for="password">
<span class="label-text">{$LL.login.password_label()}</span>
<span>{m.login_password_label()}</span>
</label>
<label class="relative block">
<div
class="absolute right-4 top-1/2 -translate-y-1/2 cursor-pointer"
class="absolute top-1/2 right-4 -translate-y-1/2 cursor-pointer"
role="none"
on:click={() => toggleVisibility(inputPassword)}
on:keydown={() => toggleVisibility(inputPassword)}
onclick={() => toggleVisibility(inputPassword)}
onkeydown={() => toggleVisibility(inputPassword)}
>
<Fa icon={faEye} />
</div>
<input
id="password"
type="password"
class="input input-bordered w-full"
class="input w-full"
maxlength="72"
required
bind:value={form.password}
@@ -108,25 +109,23 @@
</label>
<div class="card-actions mt-4">
<div class="dropdown">
<label tabindex="-1" class="btn btn-neutral" for="other-providers"
>{$LL.login.btn_more()}</label
>
<label tabindex="-1" class="btn" for="other-providers">{m.login_btn_more()}</label>
<ul
id="other-providers"
tabindex="-1"
class="menu dropdown-content z-[1] w-56 rounded-box bg-base-200 p-2 shadow"
class="menu dropdown-content rounded-box bg-base-200 z-1 w-56 p-2 shadow-sm"
>
<li class="menu-title flex flex-row items-center gap-2">
{$LL.login.menu_title_auth_providers()}
{m.login_menu_title_auth_providers()}
<a href="https://github.com/seriousm4x/UpSnap/wiki/Auth-providers" target="_blank"
><Fa icon={faQuestionCircle} /></a
>
</li>
{#await $pocketbase.collection('users').listAuthMethods() then authMethods}
{#if authMethods.oauth2.enabled && authMethods.oauth2.providers.length > 0}
{#each authMethods.oauth2.providers as provider}
{#each authMethods.oauth2.providers as provider (provider)}
<li>
<button type="button" on:click={() => loginWithProvider(provider)}
<button type="button" onclick={() => loginWithProvider(provider)}
>{provider.displayName}</button
>
</li>
@@ -135,8 +134,8 @@
{/await}
</ul>
</div>
<button class="btn btn-primary ms-auto" type="submit"
>{$LL.login.btn_login()} <Fa icon={faLockOpen} /></button
<button class="btn btn-success ms-auto" type="submit"
>{m.login_btn_login()} <Fa icon={faLockOpen} /></button
>
</div>
</form>
+101 -57
View File
@@ -1,28 +1,31 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { asset, resolve } from '$app/paths';
import { page } from '$app/state';
import { PUBLIC_VERSION } from '$env/static/public';
import PageLoading from '$lib/components/PageLoading.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { nextCronDate, parseCron } from '$lib/helpers/cron';
import { m } from '$lib/paraglide/messages';
import { backendUrl, pocketbase } from '$lib/stores/pocketbase';
import { settingsPriv, settingsPub } from '$lib/stores/settings';
import type { SettingsPrivate, SettingsPublic } from '$lib/types/settings';
import { faSave } from '@fortawesome/free-solid-svg-icons';
import cronParser from 'cron-parser';
import { onMount } from 'svelte';
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
let settingsPubClone: SettingsPublic | undefined;
let settingsPrivClone: SettingsPrivate | undefined;
let faviconPreview: HTMLImageElement;
let faviconInputElement: HTMLInputElement;
let settingsPubClone: SettingsPublic | undefined = $state();
let settingsPrivClone: SettingsPrivate | undefined = $state();
let faviconPreview: HTMLImageElement | undefined = $state();
let faviconInputElement: HTMLInputElement | undefined = $state();
onMount(() => {
if (!$pocketbase.authStore.isSuperuser) {
toast($LL.toasts.no_permission({ url: $page.url.pathname }), {
toast(m.toasts_no_permission({ url: page.url.pathname }), {
icon: '⛔'
});
goto('/');
goto(resolve('/'));
return;
}
@@ -44,10 +47,9 @@
});
function resetFavicon() {
if (settingsPubClone === undefined) return;
settingsPubClone.favicon = '';
faviconInputElement.value = '';
faviconPreview.src = '/gopher.svg';
if (settingsPubClone) settingsPubClone.favicon = '';
if (faviconInputElement) faviconInputElement.value = '';
if (faviconPreview) faviconPreview.src = '/gopher.svg';
}
async function save() {
@@ -58,28 +60,52 @@
)
return;
if (faviconInputElement.files !== null && faviconInputElement.files?.length > 0) {
let form = new FormData();
form.append('favicon', faviconInputElement.files[0]);
const res = await $pocketbase.collection('settings_public').update(settingsPubClone.id, form);
settingsPub.set(res as SettingsPublic);
try {
cronParser.parse(settingsPrivClone.interval);
} catch {
toast.error(m.settings_invalid_cron());
throw new Error(`failed to parse cron: ` + settingsPrivClone.interval);
}
if (settingsPrivClone.interval === '' || !(await parseCron(settingsPrivClone.interval))) {
toast.error(m.settings_invalid_cron());
throw new Error('ping_interval not valid');
}
// If favicon is empty and no new file is selected, don't send the favicon field at all
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const payload: any = { ...settingsPubClone };
if (
!payload.favicon &&
(!faviconInputElement.files || faviconInputElement.files.length === 0)
) {
delete payload.favicon;
}
await $pocketbase
.collection('settings_public')
.update(settingsPubClone.id, settingsPubClone)
.update(settingsPubClone.id, payload)
.then((res) => {
settingsPub.set(res as SettingsPublic);
})
.catch((err) => {
toast.error(err.message);
});
if (faviconInputElement.files !== null && faviconInputElement.files?.length > 0) {
let form = new FormData();
form.append('favicon', faviconInputElement.files[0]);
const res = await $pocketbase.collection('settings_public').update(settingsPubClone.id, form);
settingsPub.set(res as SettingsPublic);
}
await $pocketbase
.collection('settings_private')
.update(settingsPrivClone.id, settingsPrivClone)
.then((res) => {
toast.success($LL.toasts.settings_saved());
toast.success(m.toasts_settings_saved());
settingsPriv.set(res as SettingsPrivate);
goto('/');
goto(resolve('/'));
})
.catch((err) => {
toast.error(err.message);
@@ -90,65 +116,84 @@
{#if settingsPubClone === undefined || settingsPrivClone === undefined}
<PageLoading />
{:else}
<h1 class="mb-8 text-3xl font-bold">{$LL.settings.page_title()}</h1>
<form on:submit|preventDefault={save}>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<h1 class="mb-8 text-3xl font-bold">{m.settings_page_title()}</h1>
<form
onsubmit={(e) => {
e.preventDefault();
save();
}}
class="flex w-full flex-col"
>
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.settings.ping_interval_title()}</h2>
<h2 class="card-title">{m.settings_ping_interval_title()}</h2>
<p class="mt-2">
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.settings.ping_interval_desc1()}
{@html m.settings_ping_interval_desc1()}
</p>
<p>
<!-- Usage of @html is not a nice way to do this, but it's safe in this case. If someones finds
a good solution to avoid @html but still be able to use multiple links in a single sentence,
please create a pr/issue. -->
<!-- eslint-disable svelte/no-at-html-tags -->
{@html $LL.settings.ping_interval_desc2()}
{@html m.settings_ping_interval_desc2()}
</p>
<div class="form-control mt-2 w-full">
<div class="mt-2 w-full">
<input
type="text"
placeholder="e.g. '@every 5s' or '@every 1m'"
class="input w-full max-w-xs"
placeholder="e.g. '*/5 * * * * *' or '* */1 * * * *'"
class="input"
bind:value={settingsPrivClone.interval}
/>
</div>
<h2 class="card-title mt-2">{$LL.settings.lazy_ping_title()}</h2>
<p class="mt-2">
{$LL.settings.lazy_ping_desc()}
<p class="fieldset-label">
{#await parseCron(settingsPrivClone.interval)}
<span class="loading loading-spinner loading-xs"></span>
{:then valid}
{valid ? '✅ ' + nextCronDate(settingsPrivClone.interval) : m.settings_invalid_cron()}
{/await}
</p>
<div class="form-control w-fit">
<pre class="bg-base-100 text-base-content/80 w-fit rounded p-2"><code
>* * * * * *
| | | | | |
| | | | | day of the week (0–6)
| | | | month (1–12)
| | | day of the month (1–31)
| | hour (0–23)
| minute (0–59)
second (0–59, optional)
</code></pre>
<h2 class="card-title mt-2">{m.settings_lazy_ping_title()}</h2>
<p class="mt-2">
{m.settings_lazy_ping_desc()}
</p>
<div class="w-fit">
<label class="label cursor-pointer gap-2">
<input
type="checkbox"
class="checkbox-primary checkbox"
bind:checked={settingsPrivClone.lazy_ping}
/>
<span class="label-text">{$LL.settings.lazy_ping_enable()}</span>
<input type="checkbox" class="checkbox" bind:checked={settingsPrivClone.lazy_ping} />
<span>{m.settings_lazy_ping_enable()}</span>
</label>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.settings.website_title_title()}</h2>
<p class="my-2">{$LL.settings.website_title_desc()}</p>
<div class="form-control w-full">
<h2 class="card-title">{m.settings_website_title_title()}</h2>
<p class="my-2">{m.settings_website_title_desc()}</p>
<div class="w-full">
<input
type="text"
placeholder="e.g. 'UpSnap'"
class="input w-full max-w-xs"
class="input"
bind:value={settingsPubClone.website_title}
/>
</div>
</div>
</div>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.settings.icon_title()}</h2>
<h2 class="card-title">{m.settings_icon_title()}</h2>
<p class="my-2">
{$LL.settings.icon_desc()}
{m.settings_icon_desc()}
<span class="badge">.ico</span> <span class="badge">.png</span>
<span class="badge">.svg</span> <span class="badge">.gif</span>
<span class="badge">.jpg/.jpeg</span>
@@ -158,36 +203,35 @@
class="h-36"
src={$settingsPub.favicon !== ''
? `${backendUrl}api/files/settings_public/${$settingsPub.id}/${$settingsPub.favicon}`
: '/gopher.svg'}
: asset('/gopher.svg')}
alt="Favicon preview"
bind:this={faviconPreview}
/>
</div>
<div class="form-control flex w-full max-w-md flex-row gap-4">
<div class="flex w-full max-w-md flex-row gap-4">
<input
type="file"
class="file-input w-full max-w-xs"
class="file-input"
accept=".ico,.png,.svg,.gif,.jpg,.jpeg"
bind:this={faviconInputElement}
/>
<button
class="btn btn-outline btn-error"
on:click={() => resetFavicon()}
on:keydown={() => resetFavicon()}>{$LL.buttons.reset()}</button
class="btn btn-error"
onclick={() => resetFavicon()}
onkeydown={() => resetFavicon()}>{m.buttons_reset()}</button
>
</div>
</div>
</div>
<div class="card-actions mt-6 justify-end">
<button class="btn btn-success" type="submit"><Fa icon={faSave} />{$LL.buttons.save()}</button
>
<button class="btn btn-success" type="submit"><Fa icon={faSave} />{m.buttons_save()}</button>
</div>
</form>
<div class="container mx-auto mt-6 text-center">
{#if PUBLIC_VERSION === ''}
{$LL.settings.upsnap_version()}: (untracked)
{m.settings_upsnap_version()}: (untracked)
{:else}
{$LL.settings.upsnap_version()}:
{m.settings_upsnap_version()}:
<a href="https://github.com/seriousm4x/UpSnap/releases/tag/{PUBLIC_VERSION}" class="link"
>{PUBLIC_VERSION}</a
>
+105 -94
View File
@@ -1,8 +1,9 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { asset, resolve } from '$app/paths';
import { page } from '$app/state';
import PageLoading from '$lib/components/PageLoading.svelte';
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages';
import { pocketbase } from '$lib/stores/pocketbase';
import type { Device } from '$lib/types/device';
import type { Permission } from '$lib/types/permission';
@@ -12,32 +13,34 @@
import Fa from 'svelte-fa';
import toast from 'svelte-french-toast';
let getUsersPromise = getUsers();
let getPermissionsPromise = getPermissions();
let getDevicesPromise = getDevices();
let deleteModal = [] as HTMLDialogElement[];
let getUsersPromise = $state(getUsers());
let getPermissionsPromise = $state(getPermissions());
let getDevicesPromise = $state(getDevices());
let deleteModal = $state([] as HTMLDialogElement[]);
let users = [] as User[];
let permissions = [] as Permission[];
let devices = [] as Device[];
let newUser = {
let users = $state([] as User[]);
let permissions = $state([] as Permission[]);
let devices = $state([] as Device[]);
let newUser = $state({
username: '',
password: '',
passwordConfirm: ''
};
});
$: users.map((user) => {
if (!permissions.find((perm) => perm.user === user.id)) {
permissions = [...permissions, { user: user.id } as Permission];
}
$effect(() => {
users.map((user) => {
if (!permissions.find((perm) => perm.user === user.id)) {
permissions = [...permissions, { user: user.id } as Permission];
}
});
});
onMount(() => {
if (!$pocketbase.authStore.isSuperuser) {
toast($LL.toasts.no_permission({ url: $page.url.pathname }), {
toast(m.toasts_no_permission({ url: page.url.pathname }), {
icon: '⛔'
});
goto('/');
goto(resolve('/'));
return;
}
});
@@ -59,7 +62,7 @@
.collection('users')
.create(newUser)
.then((data) => {
toast.success($LL.toasts.user_created({ username: data.username }));
toast.success(m.toasts_user_created({ username: data.username }));
newUser.username = '';
newUser.password = '';
newUser.passwordConfirm = '';
@@ -77,7 +80,7 @@
.collection('permissions')
.delete(permission.id)
.then(() => {
toast.success($LL.toasts.permissions_deleted({ username: user.username }));
toast.success(m.toasts_permissions_deleted({ username: user.username }));
})
.catch((err) => {
toast.error(err.message);
@@ -88,7 +91,7 @@
.collection('users')
.delete(user.id)
.then(async () => {
toast.success($LL.toasts.user_deleted({ username: user.username }));
toast.success(m.toasts_user_deleted({ username: user.username }));
reload();
})
.catch((err) => {
@@ -132,7 +135,7 @@
// if (i > -1) {
// permissions[i] = data as Permission;
// }
toast.success($LL.toasts.permissions_created({ username: user.username }));
toast.success(m.toasts_permissions_created({ username: user.username }));
reload();
})
.catch((err) => {
@@ -144,7 +147,7 @@
.collection('permissions')
.update(permission.id, permission)
.then(() => {
toast.success($LL.toasts.permissions_updated({ username: user.username }));
toast.success(m.toasts_permissions_updated({ username: user.username }));
reload();
})
.catch((err) => {
@@ -181,49 +184,50 @@
{#await Promise.all([getUsersPromise, getPermissionsPromise, getDevicesPromise])}
<PageLoading />
{:then}
<h1 class="mb-8 text-3xl font-bold">{$LL.users.page_title()}</h1>
{#each users as user, index}
<form on:submit|preventDefault={() => save(user)}>
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<h1 class="mb-8 text-3xl font-bold">{m.users_page_title()}</h1>
{#each users as user, index (user.id)}
<form
onsubmit={(e) => {
e.preventDefault();
save(user);
}}
>
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body gap-4">
<h2 class="card-title">
<label tabindex="-1" class="avatar" for="avatar{index}">
<div class="w-10 rounded-full" id="avatar{index}">
<img src="/avatars/avatar{user.avatar}.svg" alt="Avatar {user.avatar}" />
<img src={asset(`/avatars/avatar${user.avatar}.svg`)} alt="Avatar {user.avatar}" />
</div>
</label>
{user.username}
</h2>
{#each permissions.filter((perm) => perm.user === user.id) as permission}
<div class="form-control w-fit">
<label class="label cursor-pointer gap-2">
<input
type="checkbox"
bind:checked={permission.create}
class="checkbox checked:checkbox-primary"
/>
{$LL.users.allow_create_devices({ username: user.username })}
{#each permissions.filter((perm) => perm.user === user.id) as permission (permission.id)}
<div class="w-fit">
<label class="label cursor-pointer gap-2 text-wrap">
<input type="checkbox" bind:checked={permission.create} class="checkbox" />
{m.users_allow_create_devices({ username: user.username })}
</label>
</div>
{/each}
<div class="collapse collapse-arrow bg-base-200">
<div class="collapse-arrow bg-base-200 collapse">
<input type="checkbox" />
<div class="collapse-title text-xl font-medium">{$LL.users.device_permissions()}</div>
<div class="collapse-title text-xl font-medium">{m.users_device_permissions()}</div>
<div class="collapse-content">
{#if devices.length === 0}
<p>
{$LL.home.no_devices()}
<a href="/device/new" class="link">{$LL.users.create_new_device()}</a>
{m.home_no_devices()}
<a href={resolve('/device/new')} class="link">{m.users_create_new_device()}</a>
</p>
{:else}
<div class="grid grid-cols-4 justify-items-center gap-4 md:grid-cols-5">
<div class="font-bold md:col-start-2">{$LL.users.read()}</div>
<div class="font-bold">{$LL.users.update()}</div>
<div class="font-bold">{$LL.users.delete()}</div>
<div class="font-bold">{$LL.users.power()}</div>
{#each devices as device}
<hr class="border-b-1 col-span-full w-full border-neutral opacity-30" />
{#each permissions.filter((perm) => perm.user === user.id) as permission}
<div class="font-bold md:col-start-2">{m.users_read()}</div>
<div class="font-bold">{m.users_update()}</div>
<div class="font-bold">{m.users_delete()}</div>
<div class="font-bold">{m.users_power()}</div>
{#each devices as device (device.id)}
<hr class="border-neutral col-span-full w-full border-b-1 opacity-30" />
{#each permissions.filter((perm) => perm.user === user.id) as permission (permission.id)}
<div
class="col-span-full flex flex-row flex-wrap gap-2 place-self-start break-all md:col-span-1"
>
@@ -232,70 +236,70 @@
</div>
<input
type="checkbox"
class="checkbox checked:checkbox-primary md:col-start-2"
class="checkbox md:col-start-2"
bind:group={permission.read}
value={device.id}
/>
<input
type="checkbox"
class="checkbox checked:checkbox-primary"
class="checkbox"
bind:group={permission.update}
value={device.id}
/>
<input
type="checkbox"
class="checkbox checked:checkbox-primary"
class="checkbox"
bind:group={permission.delete}
value={device.id}
/>
<input
type="checkbox"
class="checkbox checked:checkbox-primary"
class="checkbox"
bind:group={permission.power}
value={device.id}
/>
{/each}
{/each}
<button
class="btn btn-neutral btn-sm md:col-start-2"
class="btn btn-sm md:col-start-2"
type="button"
on:click={() => {
onclick={() => {
toggleAllPermissions(user, 'read');
}}
><span class="hidden md:block">{$LL.users.toggle()}</span><Fa
><span class="hidden md:block">{m.users_toggle()}</span><Fa
icon={faRetweet}
size="1.5x"
/></button
>
<button
class=" btn btn-neutral btn-sm"
class=" btn btn-sm"
type="button"
on:click={() => {
onclick={() => {
toggleAllPermissions(user, 'update');
}}
><span class="hidden md:block">{$LL.users.toggle()}</span><Fa
><span class="hidden md:block">{m.users_toggle()}</span><Fa
icon={faRetweet}
size="1.5x"
/></button
>
<button
class=" btn btn-neutral btn-sm"
class=" btn btn-sm"
type="button"
on:click={() => {
onclick={() => {
toggleAllPermissions(user, 'delete');
}}
><span class="hidden md:block">{$LL.users.toggle()}</span><Fa
><span class="hidden md:block">{m.users_toggle()}</span><Fa
icon={faRetweet}
size="1.5x"
/></button
>
<button
class=" btn btn-neutral btn-sm"
class=" btn btn-sm"
type="button"
on:click={() => {
onclick={() => {
toggleAllPermissions(user, 'power');
}}
><span class="hidden md:block">{$LL.users.toggle()}</span><Fa
><span class="hidden md:block">{m.users_toggle()}</span><Fa
icon={faRetweet}
size="1.5x"
/></button
@@ -309,80 +313,87 @@
<button
class="btn btn-error join-item"
type="button"
on:click={() => deleteModal[index].showModal()}
><Fa icon={faTrash} />{$LL.buttons.delete()}</button
onclick={() => deleteModal[index].showModal()}
><Fa icon={faTrash} />{m.buttons_delete()}</button
>
<button class="btn btn-success join-item" type="submit"
><Fa icon={faSave} />{$LL.buttons.save()}</button
><Fa icon={faSave} />{m.buttons_save()}</button
>
</div>
</div>
</div>
</form>
<dialog class="modal" bind:this={deleteModal[index]}>
<form method="dialog" class="modal-box">
<h3 class="text-lg font-bold">{$LL.users.confirm_delete_title()}</h3>
<p class="py-4">{$LL.users.confirm_delete_desc({ username: user.username })}</p>
<div class="modal-box">
<h3 class="text-lg font-bold">{m.users_confirm_delete_title()}</h3>
<p class="py-4">{m.users_confirm_delete_desc({ username: user.username })}</p>
<div class="modal-action">
<button class="btn">{$LL.buttons.cancel()}</button>
<button class="btn btn-error" on:click={() => deleteUser(user)}
>{$LL.buttons.delete()}</button
>
<form method="dialog">
<button class="btn">{m.buttons_cancel()}</button>
<button class="btn btn-error" onclick={() => deleteUser(user)}
>{m.buttons_delete()}</button
>
</form>
</div>
</form>
</div>
</dialog>
{/each}
<div class="card mt-6 w-full bg-base-300 shadow-xl">
<div class="card bg-base-200 mt-6 w-full shadow-sm">
<div class="card-body">
<h2 class="card-title">{$LL.users.create_new_user()}</h2>
<form on:submit|preventDefault={createUser}>
<h2 class="card-title">{m.users_create_new_user()}</h2>
<form
onsubmit={(e) => {
e.preventDefault();
createUser();
}}
>
<div class="flex flex-row flex-wrap gap-4">
<div class="form-control w-full max-w-xs">
<div class="w-full max-w-xs">
<label class="label" for="username">
<div class="label-text">
<span>{$LL.users.username()}</span>
<div>
<span>{m.users_username()}</span>
<span class="text-error">*</span>
</div>
</label>
<input
id="username"
type="text"
placeholder={$LL.users.username()}
class="input input-bordered w-full max-w-xs"
placeholder={m.users_username()}
class="input w-full max-w-xs"
required
bind:value={newUser.username}
/>
</div>
<div class="form-control w-full max-w-xs">
<div class="w-full max-w-xs">
<label class="label" for="password">
<div class="label-text">
<span>{$LL.users.password()}</span>
<div>
<span>{m.users_password()}</span>
<span class="text-error">*</span>
</div>
</label>
<input
id="password"
type="password"
placeholder={$LL.users.password()}
class="input input-bordered w-full max-w-xs"
placeholder={m.users_password()}
class="input w-full max-w-xs"
minlength="5"
maxlength="72"
required
bind:value={newUser.password}
/>
</div>
<div class="form-control w-full max-w-xs">
<div class="w-full max-w-xs">
<label class="label" for="passwordConfirm">
<div class="label-text">
<span>{$LL.users.password_confirm()}</span>
<div>
<span>{m.users_password_confirm()}</span>
<span class="text-error">*</span>
</div>
</label>
<input
id="passwordConfirm"
type="password"
placeholder={$LL.users.password_confirm()}
class="input input-bordered w-full max-w-xs"
placeholder={m.users_password_confirm()}
class="input w-full max-w-xs"
minlength="5"
maxlength="72"
required
@@ -390,10 +401,10 @@
/>
</div>
</div>
<span class="badge mt-4 self-center text-error">* {$LL.users.required_field()}</span>
<span class="badge text-error mt-4 self-center">* {m.users_required_field()}</span>
<div class="card-actions justify-end">
<button type="submit" class="btn btn-success mt-2"
><Fa icon={faPlus} />{$LL.buttons.add()}</button
><Fa icon={faPlus} />{m.buttons_add()}</button
>
</div>
</form>
+49 -48
View File
@@ -1,7 +1,8 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { asset, resolve } from '$app/paths';
import { toggleVisibility } from '$lib/helpers/forms';
import LL from '$lib/i18n/i18n-svelte';
import { m } from '$lib/paraglide/messages.js';
import { pocketbase } from '$lib/stores/pocketbase';
import { settingsPub } from '$lib/stores/settings';
import type { SettingsPublic } from '$lib/types/settings';
@@ -20,7 +21,7 @@
};
onMount(() => {
if ($settingsPub && $settingsPub.setup_completed === false && $pocketbase.authStore.isValid) {
if ($settingsPub && !$settingsPub.setup_completed && $pocketbase.authStore.isValid) {
$pocketbase.authStore.clear();
}
});
@@ -57,7 +58,7 @@
})
.catch((err) => {
if (err.data?.data?.passwordConfirm?.message) {
toast.error($LL.toasts.passwords_missmatch());
toast.error(m.toasts_passwords_missmatch());
} else if (err.data?.data?.email?.message) {
toast.error(err.data.data.email.message);
} else {
@@ -69,63 +70,63 @@
<div class="mt-10 flex items-center justify-center">
<div class="my-4 flex w-screen max-w-lg flex-col gap-16">
<div class="card bg-base-300 shadow-xl">
{#if $settingsPub?.setup_completed}
<figure class="mx-auto w-72 pt-6"><img src="/gopher.svg" alt="Gopher" /></figure>
<div class="card bg-base-200 shadow-sm">
{#if stepsCompleted === 0 && $settingsPub?.setup_completed}
<figure class="mx-auto w-72 pt-6"><img src={asset('/gopher.svg')} alt="Gopher" /></figure>
<div class="card-body">
<h2 class="card-title">{$LL.welcome.not_expected_title()}</h2>
<p>{$LL.welcome.not_expected_desc()}</p>
<h2 class="card-title">{m.welcome_not_expected_title()}</h2>
<p>{m.welcome_not_expected_desc()}</p>
<div class="card-actions justify-end">
<button class="btn btn-primary" on:click={() => goto('/')}
>{$LL.welcome.not_expected_back()}</button
<button class="btn btn-success" onclick={() => goto(resolve('/'))}
>{m.welcome_not_expected_back()}</button
>
</div>
</div>
{:else if stepsCompleted === 0}
<figure class="mx-auto w-44 pt-6"><img src="/gopher.svg" alt="Gopher" /></figure>
<figure class="mx-auto w-44 pt-6"><img src={asset('/gopher.svg')} alt="Gopher" /></figure>
<div class="card-body">
<h2 class="card-title">{$LL.welcome.step1_page_title()}</h2>
<p>{$LL.welcome.step1_setup_desc()}</p>
<h2 class="card-title">{m.welcome_step1_page_title()}</h2>
<p>{m.welcome_step1_setup_desc()}</p>
<div class="card-actions justify-end">
<button class="btn btn-primary" on:click={() => (stepsCompleted = 1)}
>{$LL.welcome.step1_setup_btn_next()} <Fa icon={faArrowRight} /></button
<button class="btn btn-success" onclick={() => (stepsCompleted = 1)}
>{m.welcome_step1_setup_btn_next()} <Fa icon={faArrowRight} /></button
>
</div>
</div>
{:else if stepsCompleted === 1}
<div class="card-body">
<div class="flex flex-row gap-4">
<figure class="w-16"><img src="/gopher.svg" alt="Gopher" /></figure>
<h2 class="card-title">{$LL.welcome.step2_page_title()}</h2>
<figure class="w-16"><img src={asset('/gopher.svg')} alt="Gopher" /></figure>
<h2 class="card-title">{m.welcome_step2_page_title()}</h2>
</div>
<form class="form-control w-full" on:submit|preventDefault={register}>
<form
class="w-full"
onsubmit={(e) => {
e.preventDefault();
register();
}}
>
<label class="label" for="email">
<span class="label-text">{$LL.welcome.step2_label_email()}</span>
<span>{m.welcome_step2_label_email()}</span>
</label>
<input
id="email"
type="email"
class="input input-bordered w-full"
required
bind:value={form.email}
/>
<input id="email" type="email" class="input w-full" required bind:value={form.email} />
<label class="label" for="password">
<span class="label-text">{$LL.welcome.step2_label_password()}</span>
<span class="label-text-alt">{$LL.welcome.step2_label_min_chars()}</span>
<span>{m.welcome_step2_label_password()}</span>
<span>{m.welcome_step2_label_min_chars()}</span>
</label>
<label class="relative block">
<div
class="absolute right-4 top-1/2 -translate-y-1/2 cursor-pointer"
class="absolute top-1/2 right-4 -translate-y-1/2 cursor-pointer"
role="none"
on:click={() => toggleVisibility(inputPassword)}
on:keydown={() => toggleVisibility(inputPassword)}
onclick={() => toggleVisibility(inputPassword)}
onkeydown={() => toggleVisibility(inputPassword)}
>
<Fa icon={faEye} />
</div>
<input
id="password"
type="password"
class="input input-bordered w-full"
class="input w-full"
minlength="10"
maxlength="72"
required
@@ -134,21 +135,21 @@
/>
</label>
<label class="label" for="passwordConfirm">
<span class="label-text">{$LL.welcome.step2_label_password_confirm()}</span>
<span>{m.welcome_step2_label_password_confirm()}</span>
</label>
<label class="relative block">
<div
class="absolute right-4 top-1/2 -translate-y-1/2 cursor-pointer"
class="absolute top-1/2 right-4 -translate-y-1/2 cursor-pointer"
role="none"
on:click={() => toggleVisibility(inputConfirm)}
on:keydown={() => toggleVisibility(inputConfirm)}
onclick={() => toggleVisibility(inputConfirm)}
onkeydown={() => toggleVisibility(inputConfirm)}
>
<Fa icon={faEye} />
</div>
<input
id="confirm"
type="password"
class="input input-bordered w-full"
class="input w-full"
minlength="10"
maxlength="72"
required
@@ -157,30 +158,30 @@
/>
</label>
<div class="card-actions mt-4 justify-end">
<button class="btn btn-primary" type="submit"
>{$LL.welcome.step2_btn_create()} <Fa icon={faArrowRight} /></button
<button class="btn btn-success" type="submit"
>{m.welcome_step2_btn_create()} <Fa icon={faArrowRight} /></button
>
</div>
</form>
</div>
{:else if stepsCompleted === 2}
<figure class="mx-auto w-72 pt-6"><img src="/gopher.svg" alt="Gopher" /></figure>
<figure class="mx-auto w-72 pt-6"><img src={asset('/gopher.svg')} alt="Gopher" /></figure>
<div class="card-body">
<h2 class="card-title">{$LL.welcome.step3_page_title()}</h2>
<p>{$LL.welcome.step3_page_desc()}</p>
<h2 class="card-title">{m.welcome_step3_page_title()}</h2>
<p>{m.welcome_step3_page_desc()}</p>
<div class="card-actions justify-end">
<button class="btn btn-success" on:click={() => goto('/')}
>{$LL.welcome.step3_btn_done()}</button
<button class="btn btn-success" onclick={() => goto(resolve('/'))}
>{m.welcome_step3_btn_done()}</button
>
</div>
</div>
{/if}
</div>
{#if !$settingsPub?.setup_completed}
{#if $settingsPub && !$settingsPub.setup_completed}
<ul class="steps steps-horizontal">
<li class="step step-primary">{$LL.welcome.progress_step1()}</li>
<li class="step" class:step-primary={stepsCompleted > 0}>{$LL.welcome.progress_step2()}</li>
<li class="step" class:step-primary={stepsCompleted > 1}>{$LL.welcome.progress_step3()}</li>
<li class="step step-success">{m.welcome_progress_step1()}</li>
<li class="step" class:step-success={stepsCompleted > 0}>{m.welcome_progress_step2()}</li>
<li class="step" class:step-success={stepsCompleted > 1}>{m.welcome_progress_step3()}</li>
</ul>
{/if}
</div>
-42
View File
@@ -1,42 +0,0 @@
{
"name": "UpSnap",
"short_name": "UpSnap",
"description": "A simple wake on lan web app written with SvelteKit, Go and PocketBase.",
"theme_color": "#55BCD9",
"background_color": "#55BCD9",
"display": "standalone",
"orientation": "any",
"scope": "/",
"start_url": "/",
"icons": [
{
"src": "/icon_192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icon_512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/maskable_192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/maskable_512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/gopher.svg",
"type": "image/svg+xml",
"sizes": "any"
}
]
}
+7 -1
View File
@@ -22,7 +22,13 @@ const config = {
'/device/new',
'/users',
'/settings'
]
],
handleHttpError: ({ path, message }) => {
if (path === '/api/upsnap/manifest.webmanifest') {
return;
}
throw message;
}
}
}
};
-79
View File
@@ -1,79 +0,0 @@
import themes from 'daisyui/src/theming/themes';
import daisyui from 'daisyui';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {}
},
plugins: [daisyui],
daisyui: {
themes: [
{
light: {
...themes['light'],
primary: '#55BCD9',
secondary: '#D4A35C',
'primary-content': '#ffffff'
},
dark: {
...themes['dark'],
primary: '#55BCD9',
secondary: '#D4A35C',
'base-300': '#12161b',
'--rounded-btn': '1.9rem',
'--tab-border': '2px',
'--tab-radius': '.5rem'
},
cupcake: {
...themes['cupcake'],
primary: '#55BCD9',
secondary: '#D4A35C',
'primary-content': '#ffffff'
},
colorful: {
...themes['light'],
primary: '#00bdf8',
secondary: '#009aff',
accent: '#00b3a2',
neutral: '#161200',
'base-100': '#ffffff',
info: '#00c5dc',
success: '#00d892',
warning: '#f77800',
error: '#f36165'
}
},
'bumblebee',
'emerald',
'corporate',
'synthwave',
'retro',
'cyberpunk',
'valentine',
'halloween',
'garden',
'forest',
'aqua',
'lofi',
'pastel',
'fantasy',
'wireframe',
'black',
'luxury',
'dracula',
'cmyk',
'autumn',
'business',
'acid',
'lemonade',
'night',
'coffee',
'winter',
'dim',
'nord',
'sunset'
]
}
};

Some files were not shown because too many files have changed in this diff Show More