Compare commits

..
Author SHA1 Message Date
dependabot[bot]andGitHub 2d26af649b Bump the web-minor-patch group in /web with 12 updates
Bumps the web-minor-patch group in /web with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [@hookform/resolvers](https://github.com/react-hook-form/resolvers) | `7.0.7` | `7.0.9` |
| [i18next](https://github.com/i18next/i18next) | `27.2.2` | `27.2.9` |
| [i18next-http-backend](https://github.com/i18next/i18next-http-backend) | `4.1.0` | `4.1.2` |
| [konva](https://github.com/konvajs/konva) | `10.9.1` | `10.11.0` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.76.0` | `1.81.0` |
| [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.18.6` | `7.18.7` |
| [virtua](https://github.com/inokawa/virtua) | `0.55.0` | `0.56.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.6` | `26.6.11` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.3.0` | `19.3.3` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.6.2` | `10.7.0` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.73.0` | `8.74.0` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.8` | `8.4.0` |


Updates `@hookform/resolvers` from 7.0.7 to 7.0.9
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v7.0.7...v7.0.9)

Updates `i18next` from 27.2.2 to 27.2.9
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v27.2.2...v27.2.9)

Updates `i18next-http-backend` from 4.1.0 to 4.1.2
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v4.1.0...v4.1.2)

Updates `konva` from 10.9.1 to 10.11.0
- [Release notes](https://github.com/konvajs/konva/releases)
- [Changelog](https://github.com/konvajs/konva/blob/master/CHANGELOG.md)
- [Commits](https://github.com/konvajs/konva/compare/10.9.1...10.11.0)

Updates `lucide-react` from 1.76.0 to 1.81.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.81.0/packages/lucide-react)

Updates `react-router-dom` from 7.18.6 to 7.18.7
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@7.18.7/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.18.7/packages/react-router-dom)

Updates `virtua` from 0.55.0 to 0.56.0
- [Release notes](https://github.com/inokawa/virtua/releases)
- [Commits](https://github.com/inokawa/virtua/compare/0.55.0...0.56.0)

Updates `@types/node` from 26.6.6 to 26.6.11
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.3.0 to 19.3.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `autoprefixer` from 10.6.2 to 10.7.0
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.6.2...10.7.0)

Updates `typescript-eslint` from 8.73.0 to 8.74.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.74.0/packages/typescript-eslint)

Updates `vite` from 8.3.8 to 8.4.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/v8.4.0/packages/vite)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  dependency-version: 7.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: web-minor-patch
- dependency-name: i18next
  dependency-version: 27.2.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: web-minor-patch
- dependency-name: i18next-http-backend
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: web-minor-patch
- dependency-name: konva
  dependency-version: 10.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: web-minor-patch
- dependency-name: lucide-react
  dependency-version: 1.81.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: web-minor-patch
- dependency-name: react-router-dom
  dependency-version: 7.18.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: web-minor-patch
- dependency-name: virtua
  dependency-version: 0.56.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: web-minor-patch
- dependency-name: "@types/node"
  dependency-version: 26.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: web-minor-patch
- dependency-name: "@types/react"
  dependency-version: 19.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: web-minor-patch
- dependency-name: autoprefixer
  dependency-version: 10.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: web-minor-patch
- dependency-name: typescript-eslint
  dependency-version: 8.74.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: web-minor-patch
- dependency-name: vite
  dependency-version: 8.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: web-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-29 11:34:26 +00:00
Nicolas MowenandGitHub 58600ad642 Tweak agents to tell users to create discussion first (#25110)
CI / AMD64 Build (push) Canceled after 0s
CI / ARM Build (push) Canceled after 0s
CI / Jetson Jetpack 6 (push) Canceled after 0s
CI / AMD64 Smoke Test (push) Canceled after 0s
CI / AMD64 Extra Build (push) Canceled after 0s
CI / ARM Extra Build (push) Canceled after 0s
CI / Synaptics Build (push) Canceled after 0s
CI / Assemble and push default build (push) Canceled after 0s
2026-11-27 09:38:13 -06:00
25 changed files with 356 additions and 608 deletions
-12
View File
@@ -314,18 +314,6 @@ jobs:
sleep 2
done
if [ "$ok" -ne 1 ]; then echo "sentinel skip never logged"; docker logs frigate-puid; exit 1; fi
# a replaced media volume re-sweeps despite the sentinel
docker stop frigate-puid
sudo rm -rf /tmp/frigate-media-puid
sudo mkdir /tmp/frigate-media-puid
docker start frigate-puid
up=0
for i in $(seq 1 60); do
docker exec frigate-puid curl -fs http://127.0.0.1:5000/api/version && up=1 && break
sleep 5
done
if [ "$up" -ne 1 ]; then echo "replaced media volume was not swept"; docker logs frigate-puid; exit 1; fi
docker exec frigate-puid stat -c %u:%g /media/frigate | grep -qx 1500:1500
docker rm -f frigate-puid
- name: Assert read-only rootfs with --user works
run: |
+4
View File
@@ -11,6 +11,10 @@ Frigate NVR is a realtime object detection system for IP cameras that uses:
- **Architecture**: Multiprocessing design with ZMQ and MQTT communication
- **Focus**: Minimal resource usage with maximum performance
## Before Starting Work
Before starting work on a large change or a new feature, let the user know that a [GitHub discussion](https://github.com/blakeblackshear/frigate/discussions/new) should be opened first to align with the maintainers on scope and approach. This applies even to features that are self-contained and don't touch existing code, since every feature adds long-term maintenance cost. PRs for large changes without a prior discussion are unlikely to be merged. See [CONTRIBUTING.md](CONTRIBUTING.md). This can be skipped if the user has said they are a Frigate maintainer.
## Code Review Guidelines
When reviewing code, do NOT comment on:
+10 -25
View File
@@ -70,6 +70,16 @@ if [[ -n "$mode" ]]; then
sentinel_content="${sentinel_content}:${mode}"
fi
# safe-sentinel reports only a root-owned regular file, so a forged or
# symlinked sentinel in the runtime-user-owned /config can't suppress the sweep
if [[ "$dry_run" -eq 0 && -n "$sentinel" ]]; then
if existing=$(/usr/local/bin/safe-sentinel read "$sentinel" 2>/dev/null) && \
[[ "$existing" == "$sentinel_content" ]]; then
echo "[INFO] fix-ownership: ${target_uid}:${target_gid} (schema ${schema}) already applied, skipping"
exit 0
fi
fi
# A sweep that could not chown everything must not be recorded as complete:
# the sentinel would make every later boot skip it and the entries would stay
# unreachable once services run unprivileged.
@@ -92,24 +102,6 @@ mismatch_expr=(
-a ! -path /config/.permissions_version
)
first_mismatched_root() {
find "$@" -maxdepth 0 "${mismatch_expr[@]}" -print -quit 2>/dev/null || true
}
# safe-sentinel reports only a root-owned regular file, so a forged or
# symlinked sentinel in the runtime-user-owned /config can't suppress the sweep.
# A mismatched volume root means the volume was replaced or wiped since the
# sweep (Docker recreates a missing bind source as root), so it sweeps again,
# unless the sentinel records a filesystem that ignores chown.
if [[ "$dry_run" -eq 0 && -n "$sentinel" ]]; then
if existing=$(/usr/local/bin/safe-sentinel read "$sentinel" 2>/dev/null) && \
{ [[ "$existing" == "${sentinel_content}:unmanaged" ]] || \
{ [[ "$existing" == "$sentinel_content" ]] && [[ -z "$(first_mismatched_root "$@")" ]]; }; }; then
echo "[INFO] fix-ownership: ${target_uid}:${target_gid} (schema ${schema}) already applied, skipping"
exit 0
fi
fi
exec 3>&1
for path in "$@"; do
@@ -207,13 +199,6 @@ if [[ "$dry_run" -eq 0 && -d /config ]]; then
fi
if [[ "$dry_run" -eq 0 && -n "$sentinel" && "$swept_clean" -eq 1 ]]; then
# CIFS without the setuids option accepts chown and changes nothing, so
# the root can never match. Without this every boot would sweep again.
unmanaged_root=$(first_mismatched_root "$@")
if [[ -n "$unmanaged_root" ]]; then
echo "[WARN] fix-ownership: ${unmanaged_root} kept its owner after chown; its filesystem ignores ownership changes, so set the owner through its mount options"
sentinel_content="${sentinel_content}:unmanaged"
fi
/usr/local/bin/safe-sentinel write "$sentinel" "$sentinel_content" || \
echo "[WARN] fix-ownership: could not write ${sentinel}; the sweep will run again on next boot"
fi
+5 -7
View File
@@ -83,12 +83,12 @@ A camera is enabled by default but can be disabled by using `enabled: False`. Ca
Each role can only be assigned to one input per camera. The options for roles are as follows:
| Role | Description |
| ------------ | --------------------------------------------------------------------------------------------------------------- |
| `detect` | Main feed for object detection. [docs](object_detectors.md) |
| `record` | Saves segments of the video feed based on configuration settings. [docs](record.md) |
| Role | Description |
| ------------ | ------------------------------------------------------------------------------------------------------------ |
| `detect` | Main feed for object detection. [docs](object_detectors.md) |
| `record` | Saves segments of the video feed based on configuration settings. [docs](record.md) |
| `record_sub` | Saves segments of a second, lower quality stream with its own retention. [docs](record.md#sub-stream-recording) |
| `audio` | Feed for audio based detection. [docs](audio_detectors.md) |
| `audio` | Feed for audio based detection. [docs](audio_detectors.md) |
<ConfigTabs>
<TabItem value="ui">
@@ -160,8 +160,6 @@ If you only define one stream in your `inputs` and do not assign a `detect` role
If you plan to use Frigate for recording only, it is still recommended to define a `detect` role for a low resolution stream to minimize resource usage from the required stream decoding.
Setting the `detect` `width` and `height` explicitly is recommended. When they are unset, Frigate probes the detect stream at every startup, which can add several seconds per camera. Cameras added with the [Add Camera Wizard](#adding-a-camera-with-the-add-camera-wizard) have them set automatically.
:::
For camera model specific settings check the [camera specific](camera_specific.md) infos.
+1 -11
View File
@@ -86,16 +86,6 @@ Once the volumes are aligned, start Frigate normally. A file at `/config/.permis
If something under your volumes can't be chowned, a read-only btrfs snapshot directory for example, the sweep warns and names the path and doesn't record the migration as finished. It retries on the next boot instead. Either move those paths outside `/media/frigate` or expect the scan to repeat.
### Custom database location
The sweep only covers `/config` and `/media/frigate`. If `database.path` points somewhere else, such as a separate volume, align that directory yourself before upgrading, and again after running with `FRIGATE_RUN_AS_ROOT=true`:
```bash
chown -R 1000:1000 /path/to/your/database/dir
```
Use your `PUID` and `PGID` if you've changed them. Until the directory and its files are writable, Frigate stops at startup with an error naming the path it can't write.
### Network storage
Recordings on a NAS behave differently, so check what you have before migrating:
@@ -104,7 +94,7 @@ Recordings on a NAS behave differently, so check what you have before migrating:
findmnt -T /path/to/your/storage -o TARGET,FSTYPE,OPTIONS
```
**SMB and CIFS** don't store per-file ownership at all. It's synthesized from the mount options, so a per-file `chown` has no effect and isn't needed. Mount the share as the uid and gid Frigate runs as, and every file already looks correct to the sweep:
**SMB and CIFS** don't store per-file ownership at all. It's synthesized from the mount options, so a per-file `chown` fails and isn't needed. Mount the share as the uid and gid Frigate runs as, and every file already looks correct to the sweep:
```
//nas/frigate /media/frigate cifs credentials=/root/.smb,uid=1000,gid=1000,file_mode=0664,dir_mode=0775 0 0
-2
View File
@@ -336,8 +336,6 @@ def config(request: Request):
for cmd in camera_dict["ffmpeg_cmds"]:
cmd["cmd"] = clean_camera_user_pass(" ".join(cmd["cmd"]))
camera_dict["detect_resolution_source"] = camera.detect_resolution_source
# masking misses vendor-specific credentials in paths and args, and the
# non-admin UI never reads them
if not is_admin:
+12 -30
View File
@@ -4,7 +4,6 @@ import multiprocessing as mp
import os
import secrets
import shutil
import sys
from collections.abc import Callable
from multiprocessing import Queue
from multiprocessing.managers import DictProxy, SyncManager
@@ -92,7 +91,7 @@ from frigate.timeline import TimelineProcessor
from frigate.track.object_processing import TrackedObjectProcessor
from frigate.util.builtin import empty_and_close_queue
from frigate.util.image import UntrackedSharedMemory
from frigate.util.ownership import chown_to_runtime, find_unwritable_database_path
from frigate.util.ownership import chown_to_runtime
from frigate.util.process import FrigateProcess
from frigate.util.runtime_deps import RuntimeDependencyError
from frigate.util.services import set_file_limit
@@ -198,32 +197,8 @@ class FrigateApp:
except PermissionError:
logger.error("Unable to write to /config to save DB state")
def exit_if_unwritable(paths: tuple[str, ...]) -> None:
unwritable = find_unwritable_database_path(paths)
if unwritable is None:
return
logger.error(
"Frigate is running as uid %s, gid %s and can't write to %s. Make "
"sure it exists and is owned by that user, see "
"https://docs.frigate.video/configuration/non_root#custom-database-location",
os.getuid(),
os.getgid(),
unwritable,
)
sys.exit(1)
db_path = self.config.database.path
backup_path = db_path.replace("frigate.db", "backup.db")
db_files = (db_path, f"{db_path}-wal", f"{db_path}-shm", backup_path)
# the ownership sweep covers /config and /media/frigate only, so a
# database kept elsewhere can still be owned by root after upgrading
exit_if_unwritable(db_files[:3])
# Migrate DB schema
migrate_db = SqliteDatabase(db_path)
migrate_db = SqliteDatabase(self.config.database.path)
# Run migrations
del logging.getLogger("peewee_migrate").handlers[:]
@@ -231,8 +206,10 @@ class FrigateApp:
if len(router.diff) > 0:
logger.info("Making backup of DB before migrations...")
exit_if_unwritable((backup_path,))
shutil.copyfile(db_path, backup_path)
shutil.copyfile(
self.config.database.path,
self.config.database.path.replace("frigate.db", "backup.db"),
)
router.run()
@@ -258,7 +235,12 @@ class FrigateApp:
# a root frigate service creates these as root; wal and shm recreated
# later in the run are realigned by the per-boot /config sweep
for db_file in db_files:
for db_file in (
self.config.database.path,
f"{self.config.database.path}-wal",
f"{self.config.database.path}-shm",
self.config.database.path.replace("frigate.db", "backup.db"),
):
if os.path.exists(db_file):
chown_to_runtime(db_file)
-11
View File
@@ -1,6 +1,5 @@
import os
from enum import Enum
from typing import Literal
from pydantic import Field, PrivateAttr, model_validator
@@ -209,12 +208,6 @@ class CameraConfig(FrigateBaseModel):
_ffmpeg_cmds: list[dict[str, list[str]]] = PrivateAttr()
# "config" when set by the user, "probed" from the stream at startup, or
# "default" when the probe failed and the fallback size is in use
_detect_resolution_source: Literal["config", "probed", "default"] = PrivateAttr(
default="config"
)
def __init__(self, **config):
# Set zone colors
if "zones" in config:
@@ -256,10 +249,6 @@ class CameraConfig(FrigateBaseModel):
def ffmpeg_cmds(self) -> list[dict[str, list[str]]]:
return self._ffmpeg_cmds
@property
def detect_resolution_source(self) -> Literal["config", "probed", "default"]:
return self._detect_resolution_source
def get_formatted_name(self) -> str:
"""Return the friendly name if set, otherwise return a formatted version of the camera name."""
if self.friendly_name:
-5
View File
@@ -1213,11 +1213,6 @@ class FrigateConfig(FrigateBaseModel):
if stream_info.get("height")
else DEFAULT_DETECT_DIMENSIONS["height"]
)
camera_config._detect_resolution_source = (
"probed"
if stream_info.get("width") and stream_info.get("height")
else "default"
)
# Warn if detect fps > 10
if camera_config.detect.fps > 10 and camera_config.type != "lpr":
+18 -17
View File
@@ -351,13 +351,12 @@ class OnvifController:
autotracking_config.enabled_in_config and autotracking_config.enabled
)
fov_supported = (
# setup relative move request when FOV relative movement is supported
if (
fov_space_id is not None
and configs.DefaultRelativePanTiltTranslationSpace is not None
)
# relative moves are seeded from the current position
if fov_supported:
):
# one-off GetStatus to seed Translation field
status = None
try:
status = await ptz.GetStatus({"ProfileToken": profile.token})
@@ -365,15 +364,6 @@ class OnvifController:
except Exception as e:
logger.warning(f"Unable to get status from camera {camera_name}: {e}")
if status is None or status.Position is None:
logger.warning(
"Disabling relative movement for %s: camera does not report its PTZ position",
camera_name,
)
fov_supported = False
# setup relative move request when FOV relative movement is supported
if fov_supported:
rel_move_request = ptz.create_type("RelativeMove")
rel_move_request.ProfileToken = profile.token
logger.debug(f"{camera_name}: Relative move request: {rel_move_request}")
@@ -383,8 +373,15 @@ class OnvifController:
]["URI"]
if rel_move_request.Translation is None:
rel_move_request.Translation = status.Position
rel_move_request.Translation.PanTilt.space = fov_uri
if status is not None:
# seed from current position
rel_move_request.Translation = status.Position
rel_move_request.Translation.PanTilt.space = fov_uri
else:
# fallback: construct Translation explicitly
rel_move_request.Translation = {
"PanTilt": {"x": 0, "y": 0, "space": fov_uri}
}
# configure zoom on relative move request
if (
@@ -500,7 +497,11 @@ class OnvifController:
except Exception as e:
logger.debug(f"Focus not supported for {camera_name}: {e}")
if fov_supported:
# detect FOV relative movement support
if (
fov_space_id is not None
and configs.DefaultRelativePanTiltTranslationSpace is not None
):
supported_features.append("pt-r-fov")
cam["relative_fov_range"] = (
ptz_config.Spaces.RelativePanTiltTranslationSpace[fov_space_id]
-1
View File
@@ -280,7 +280,6 @@ class TestHttpApp(BaseTestHttp):
assert camera["ffmpeg"]["inputs"][0]["input_args"] == auth_header
assert camera["ffmpeg"]["input_args"] == auth_header
assert camera["ffmpeg_cmds"]
assert camera["detect_resolution_source"] == "config"
assert config["go2rtc"]["streams"]["front_door"][0] == secret_path
assert "webtorrent" in config["go2rtc"]
-40
View File
@@ -2483,45 +2483,5 @@ class TestFfmpegPath(unittest.TestCase):
)
class TestDetectResolutionSource(unittest.TestCase):
def setUp(self):
self.config = {
"mqtt": {"host": "mqtt"},
"cameras": {
"back": {
"ffmpeg": {
"inputs": [
{"path": "rtsp://10.0.0.1:554/video", "roles": ["detect"]}
]
},
}
},
}
def test_set_in_config(self):
self.config["cameras"]["back"]["detect"] = {"width": 1920, "height": 1080}
camera = FrigateConfig(**self.config).cameras["back"]
assert camera.detect_resolution_source == "config"
def test_set_globally(self):
self.config["detect"] = {"width": 1920, "height": 1080}
camera = FrigateConfig(**self.config).cameras["back"]
assert camera.detect_resolution_source == "config"
@patch(
"frigate.config.config.stream_info_retriever.get_stream_info",
return_value={"width": 2560, "height": 1440, "fourcc": "h264"},
)
def test_probed_from_stream(self, _):
camera = FrigateConfig(**self.config).cameras["back"]
assert camera.detect_resolution_source == "probed"
assert (camera.detect.width, camera.detect.height) == (2560, 1440)
def test_probe_failed_uses_default(self):
camera = FrigateConfig(**self.config).cameras["back"]
assert camera.detect_resolution_source == "default"
assert (camera.detect.width, camera.detect.height) == (1280, 720)
if __name__ == "__main__":
unittest.main(verbosity=2)
-50
View File
@@ -1,7 +1,5 @@
"""Tests for runtime ownership helpers."""
import os
import tempfile
import unittest
from unittest.mock import patch
@@ -75,53 +73,5 @@ class TestChownToRuntime(unittest.TestCase):
ownership.chown_to_runtime("/config/test") # must not raise
class TestFindUnwritableDatabasePath(unittest.TestCase):
def setUp(self) -> None:
tmp = tempfile.TemporaryDirectory()
self.addCleanup(tmp.cleanup)
self.db_dir = os.path.join(tmp.name, "db")
os.mkdir(self.db_dir)
# restore access so cleanup can remove the tree
self.addCleanup(os.chmod, self.db_dir, 0o755)
self.db_path = os.path.join(self.db_dir, "frigate.db")
self.db_files = (
self.db_path,
f"{self.db_path}-wal",
f"{self.db_path}-shm",
os.path.join(self.db_dir, "backup.db"),
)
def test_writable_directory_without_database(self):
assert ownership.find_unwritable_database_path(self.db_files) is None
def test_writable_directory_and_database(self):
open(self.db_path, "w").close()
assert ownership.find_unwritable_database_path(self.db_files) is None
def test_missing_directory(self):
missing_dir = os.path.join(self.db_dir, "missing")
db_files = (os.path.join(missing_dir, "frigate.db"),)
assert ownership.find_unwritable_database_path(db_files) == missing_dir
@unittest.skipIf(os.geteuid() == 0, "root bypasses permission checks")
def test_unwritable_directory(self):
os.chmod(self.db_dir, 0o555)
assert ownership.find_unwritable_database_path(self.db_files) == self.db_dir
@unittest.skipIf(os.geteuid() == 0, "root bypasses permission checks")
def test_unwritable_database(self):
open(self.db_path, "w").close()
os.chmod(self.db_path, 0o444)
assert ownership.find_unwritable_database_path(self.db_files) == self.db_path
@unittest.skipIf(os.geteuid() == 0, "root bypasses permission checks")
def test_unwritable_backup(self):
backup = self.db_files[3]
open(self.db_path, "w").close()
open(backup, "w").close()
os.chmod(backup, 0o444)
assert ownership.find_unwritable_database_path(self.db_files) == backup
if __name__ == "__main__":
unittest.main()
-19
View File
@@ -165,25 +165,6 @@ class TestOnvifInitRequests(unittest.IsolatedAsyncioTestCase):
self.assertTrue(await controller._init_onvif(CAMERA))
self.assertIsNone(controller.cams[CAMERA]["video_source_token"])
async def test_fov_movement_requires_reported_position(self) -> None:
# cameras with StatusPosition="false" omit Position from GetStatus
for position in (MagicMock(), None):
with self.subTest(position=position):
controller = _make_controller(autotracking_enabled=False)
ptz = controller.cams[CAMERA]["onvif"].create_ptz_service.return_value
ptz_config = MagicMock()
ptz_config.Spaces.RelativePanTiltTranslationSpace = [
{"URI": "http://www.onvif.org/TranslationSpaceFov"}
]
ptz.GetConfigurationOptions = AsyncMock(return_value=ptz_config)
ptz.GetStatus = AsyncMock(return_value=MagicMock(Position=position))
self.assertTrue(await controller._init_onvif(CAMERA))
self.assertEqual(
"pt-r-fov" in controller.cams[CAMERA]["features"],
position is not None,
)
class TestManualRelativeMoveMetrics(unittest.IsolatedAsyncioTestCase):
"""A manual move from the UI (click to move, drag to zoom) sends move_relative
-18
View File
@@ -45,21 +45,3 @@ def chown_to_runtime(path: str) -> None:
os.chown(path, *ids)
except OSError as err:
logger.warning(f"Unable to set ownership of {path}: {err}")
def find_unwritable_database_path(db_files: tuple[str, ...]) -> str | None:
"""Return the database directory or file the current user can't write, if any.
db_files starts with the database itself. SQLite creates its -wal and -shm
files next to it, so the directory has to be writable too.
"""
db_dir = os.path.dirname(os.path.abspath(db_files[0]))
if not os.access(db_dir, os.W_OK | os.X_OK):
return db_dir
for path in db_files:
if os.path.exists(path) and not os.access(path, os.R_OK | os.W_OK):
return path
return None
+2 -5
View File
@@ -52,25 +52,22 @@ export function deepMerge<T extends Record<string, unknown>>(
export const BASE_CONFIG = {
...configSnapshot,
version: "0.15.0-test",
// injected by the /config endpoint rather than the Pydantic model, so they
// are absent from the snapshot, as is each camera's detect_resolution_source
// injected by the /config endpoint rather than the Pydantic model, so it
// is absent from the snapshot
plus: { enabled: false },
cameras: {
...configSnapshot.cameras,
front_door: {
...configSnapshot.cameras.front_door,
friendly_name: "Front Door",
detect_resolution_source: "config",
},
backyard: {
...configSnapshot.cameras.backyard,
friendly_name: "Backyard",
detect_resolution_source: "config",
},
garage: {
...configSnapshot.cameras.garage,
friendly_name: "Garage",
detect_resolution_source: "config",
},
},
};
+18 -96
View File
@@ -57,14 +57,6 @@ const EVENT_NOTICE = {
muted_at: null,
};
// a repeated device gets a '#2' suffix, which a raw URL would cut off as a fragment
const SUFFIXED_NOTICE = {
...EVENT_NOTICE,
id: "detector_stuck:openvino:GPU#2",
scope: "openvino:GPU#2",
params: { detector: "openvino:GPU#2" },
};
test.describe("System — Health tab @medium", () => {
test("Health is the default tab and lists notices by severity", async ({
frigateApp,
@@ -103,20 +95,19 @@ test.describe("System — Health tab @medium", () => {
for (const action of ["acknowledge", "mute"] as const) {
test(`${action} posts and removes the row`, async ({ frigateApp }) => {
const path = `/api/notices/${encodeURIComponent(SUFFIXED_NOTICE.id)}/${action}`;
await frigateApp.installDefaults({
config: RESTREAMED,
stats: QUIET_STATS,
notices: [SUFFIXED_NOTICE],
notices: [EVENT_NOTICE],
});
// the list shrinks after the POST so the refetch shows the row gone
let hidden = false;
await frigateApp.page.route("**/api/notices", (route) =>
route.fulfill({ json: hidden ? [] : [SUFFIXED_NOTICE] }),
route.fulfill({ json: hidden ? [] : [EVENT_NOTICE] }),
);
await frigateApp.page.route(
(url) => url.pathname.endsWith(path),
`**/api/notices/detector_stuck/${action}`,
(route) => {
hidden = true;
return route.fulfill({ json: { success: true } });
@@ -126,10 +117,11 @@ test.describe("System — Health tab @medium", () => {
await frigateApp.goto("/system#health");
const request = frigateApp.page.waitForRequest(
(req) =>
new URL(req.url()).pathname.endsWith(path) && req.method() === "POST",
req.url().includes(`/api/notices/detector_stuck/${action}`) &&
req.method() === "POST",
);
await frigateApp.page
.getByTestId(`health-problem-notice:${SUFFIXED_NOTICE.id}`)
.getByTestId("health-problem-notice:detector_stuck")
.getByRole("button", {
name: action === "mute" ? "Mute" : "Acknowledge",
exact: true,
@@ -272,9 +264,8 @@ test.describe("System — Health tab @medium", () => {
url.searchParams.get("include_hidden") === "true",
(route) => route.fulfill({ json: [MUTED_NOTICE] }),
);
const path = `/api/notices/${encodeURIComponent(MUTED_NOTICE.id)}/hidden`;
await frigateApp.page.route(
(url) => url.pathname.endsWith(path),
"**/api/notices/model_download_failed:yolo/model.onnx/hidden",
(route) => route.fulfill({ json: { success: true } }),
);
await frigateApp.goto("/system#health");
@@ -285,7 +276,11 @@ test.describe("System — Health tab @medium", () => {
const request = frigateApp.page.waitForRequest(
(req) =>
new URL(req.url()).pathname.endsWith(path) && req.method() === "DELETE",
req
.url()
.endsWith(
"/api/notices/model_download_failed:yolo/model.onnx/hidden",
) && req.method() === "DELETE",
);
await frigateApp.page
.getByTestId(
@@ -1072,76 +1067,6 @@ test.describe("System — Health notices sources @medium", () => {
).toHaveCount(0);
});
test("a camera on the fallback detect resolution is flagged", async ({
frigateApp,
}) => {
await frigateApp.installDefaults({
config: { cameras: { garage: { detect_resolution_source: "default" } } },
stats: QUIET_STATS,
});
await frigateApp.goto("/system#health");
const row = frigateApp.page.getByTestId(
"health-problem-config:detect:detect-resolution-not-probed:camera.garage",
);
await expect(row).toBeVisible({ timeout: 15_000 });
await expect(row).toHaveAttribute("data-severity", "warning");
await expect(
frigateApp.page.getByTestId(
"health-problem-config:detect:detect-resolution-not-probed:camera.front_door",
),
).toHaveCount(0);
});
test("an unprobeable resolution is only flagged when Frigate must probe it", async ({
frigateApp,
}) => {
const noSize = [
{
return_code: 0,
stderr: "",
stdout: {
streams: [
{ codec_type: "video", codec_name: "h264" },
{ codec_type: "audio", codec_name: "aac" },
],
},
},
];
await frigateApp.installDefaults({
config: {
cameras: {
backyard: { detect_resolution_source: "probed" },
front_door: { detect_resolution_source: "default" },
},
},
ffprobe: { backyard: noSize, front_door: noSize, garage: noSize },
stats: QUIET_STATS,
});
await frigateApp.goto("/system#health");
await frigateApp.page
.getByRole("button", { name: "Run stream checks" })
.click();
await expect(
frigateApp.page.getByTestId(
"health-problem-stream:backyard:0:resolution-unknown",
),
).toBeVisible({ timeout: 15_000 });
await expect(
frigateApp.page.getByTestId(
"health-problem-stream:garage:0:resolution-unknown",
),
).toHaveCount(0);
// the startup probe's own row already covers this camera
await expect(
frigateApp.page.getByTestId(
"health-problem-stream:front_door:0:resolution-unknown",
),
).toHaveCount(0);
});
test("wizard-only Reolink advice stays off the tab", async ({
frigateApp,
}) => {
@@ -1356,14 +1281,10 @@ test.describe("System — Health notices sources @medium", () => {
// the list gains the mute after the POST so the refetch hides the row
let muted = false;
const path = `/api/notices/${encodeURIComponent(id)}/mute`;
await frigateApp.page.route(
(url) => url.pathname.endsWith(path),
(route) => {
muted = true;
return route.fulfill({ json: { success: true } });
},
);
await frigateApp.page.route(`**/api/notices/${id}/mute`, (route) => {
muted = true;
return route.fulfill({ json: { success: true } });
});
await frigateApp.page.route("**/api/notices/muted_checks", (route) =>
route.fulfill({ json: muted ? [{ id, muted_at: NOW }] : [] }),
);
@@ -1376,7 +1297,8 @@ test.describe("System — Health notices sources @medium", () => {
);
const request = frigateApp.page.waitForRequest(
(req) =>
new URL(req.url()).pathname.endsWith(path) && req.method() === "POST",
req.url().includes(`/api/notices/${id}/mute`) &&
req.method() === "POST",
);
await row.getByRole("button", { name: "Mute", exact: true }).click();
await request;
+268 -219
View File
@@ -10,7 +10,7 @@
"hasInstallScript": true,
"dependencies": {
"@cycjimmy/jsmpeg-player": "^7.0.0",
"@hookform/resolvers": "^7.0.7",
"@hookform/resolvers": "^7.0.9",
"@radix-ui/react-alert-dialog": "^1.2.1",
"@radix-ui/react-aspect-ratio": "^1.2.0",
"@radix-ui/react-checkbox": "^1.4.1",
@@ -48,13 +48,13 @@
"framer-motion": "^14.14.0",
"heic-to": "^1.6.7",
"hls.js": "^1.7.4",
"i18next": "^27.2.2",
"i18next-http-backend": "^4.1.0",
"i18next": "^27.2.9",
"i18next-http-backend": "^4.1.2",
"idb-keyval": "^6.3.0",
"js-yaml": "^5.5.0",
"konva": "^10.9.1",
"konva": "^10.11.0",
"lodash": "^4.18.1",
"lucide-react": "^1.76.0",
"lucide-react": "^1.81.0",
"monaco-yaml": "^5.5.1",
"next-themes": "^0.4.6",
"nosleep.js": "^0.12.0",
@@ -70,7 +70,7 @@
"react-icons": "^5.7.0",
"react-konva": "^19.3.2",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.18.6",
"react-router-dom": "^7.18.7",
"react-swipeable": "^7.0.2",
"react-zoom-pan-pinch": "3.4.4",
"remark-gfm": "^4.0.0",
@@ -82,7 +82,7 @@
"tailwindcss-animate": "^1.0.7",
"use-long-press": "^3.3.0",
"vaul": "^1.1.2",
"virtua": "^0.55.0",
"virtua": "^0.56.0",
"vite-plugin-monaco-editor": "^1.1.0",
"zod": "^4.6.7"
},
@@ -91,11 +91,11 @@
"@playwright/test": "^1.65.1",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.27",
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/node": "^26.6.11",
"@types/react": "^19.3.3",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.0",
"autoprefixer": "^10.6.2",
"autoprefixer": "^10.7.0",
"esbuild": "^0.28.2",
"eslint": "^10.15.0",
"eslint-config-prettier": "^10.1.8",
@@ -111,8 +111,8 @@
"prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^3.4.19",
"typescript": "^6.0.3",
"typescript-eslint": "^8.73.0",
"vite": "^8.3.8"
"typescript-eslint": "^8.74.0",
"vite": "^8.4.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -1112,9 +1112,9 @@
"license": "MIT"
},
"node_modules/@hookform/resolvers": {
"version": "7.0.7",
"resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-7.0.7.tgz",
"integrity": "sha512-sxiEGu5dhg6gMEsGznEQ/++634YiRLmxclw+/B1+yNN9uuhKIfNCRTE4xwqkRcKNqBPwtmDXg5oDhLw3i/wklw==",
"version": "7.0.9",
"resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-7.0.9.tgz",
"integrity": "sha512-Ir3c/wEDz3+bryCwavOP4i930LIAqBugJalnipVZnAR5zC2yGieRMHVLs1D5PxzJBwCmQB4WVAvNlo5HJMa2WQ==",
"license": "MIT",
"dependencies": {
"@standard-schema/utils": "^0.3.0"
@@ -1125,13 +1125,13 @@
"ajv": "^8.12.0",
"ajv-errors": "^3.0.0",
"ajv-formats": "^2.1.1 || ^3.0.0",
"arktype": "^2.0.0",
"arktype": "^2.0.0 || ^3.0.0",
"ata-validator": "^1.23.0",
"class-transformer": ">=0.4.0",
"class-validator": ">=0.12.0",
"computed-types": "^1.0.0",
"effect": "^4.0.0",
"fluentvalidation-ts": "^3.0.0",
"fluentvalidation-ts": "^3.0.0 || ^4.0.0 || ^5.0.0",
"fp-ts": "^2.7.0",
"io-ts": "^2.0.0",
"joi": "^17.0.0 || ^18.0.0",
@@ -1773,9 +1773,9 @@
}
},
"node_modules/@oxc-project/types": {
"version": "0.156.0",
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz",
"integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==",
"version": "0.159.0",
"resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.159.0.tgz",
"integrity": "sha512-QWjWhxheluOJ82kDHNyps00UvRpQCtI34B5A/SzpgQycUD/79FuvT4I0aQIfE/bdPwKmX4QPftnywFBH6FxJhQ==",
"dev": true,
"license": "MIT",
"funding": {
@@ -3100,9 +3100,9 @@
}
},
"node_modules/@rolldown/binding-android-arm-eabi": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.19.tgz",
"integrity": "sha512-e+Ebe0WT+9tbXmNKPIiC8YrWAHYwug3m6i4p3rZGGulfZri1jtI4HslT+OZnFf/OIHowWF71DTlHwXBP2SiA7A==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.3.3.tgz",
"integrity": "sha512-K1itOg1Xl50XyjLDa4qQZqaYsfiQbFbFRWXOEOupOsGr3whhm5ed4lgySd6Inohv2TB0+sdU4AxORKuS/TGang==",
"cpu": [
"arm"
],
@@ -3117,9 +3117,9 @@
}
},
"node_modules/@rolldown/binding-android-arm64": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.19.tgz",
"integrity": "sha512-hOombrTJ+szt2ciEzS7oCA78lMPBgF5UMQWCJIyNfnrI7GLl8HYoFqCnpL2gcPOaXMqryGCU5ExdQKyDDcC+yA==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.3.3.tgz",
"integrity": "sha512-re+E0E3YSJXjEFzdOvBgkVUev1Gg49ileia04qy+Djn0lIMBr7pnwVOYQ+4vc9XbLClCmMziasqXHM7KTmKNKQ==",
"cpu": [
"arm64"
],
@@ -3134,9 +3134,9 @@
}
},
"node_modules/@rolldown/binding-darwin-arm64": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.19.tgz",
"integrity": "sha512-XoMA2pwCKGTQzUjPgtRwkedH4WmXhdIPKT6l6oOxd1PUbNodGI6DcBekgN7EC//+x3pfBYX/qL1gNmZAqivw5g==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.3.3.tgz",
"integrity": "sha512-6pMLYsUiQJXPkUj/CG447hOBKtbe+hjWw/wbxe/mucoPKgnLSVRTzey7s0kXfqrjxhDd3gQ2hj6lgUKRumsIzw==",
"cpu": [
"arm64"
],
@@ -3151,9 +3151,9 @@
}
},
"node_modules/@rolldown/binding-darwin-x64": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.19.tgz",
"integrity": "sha512-zo8EsSSwMZCY/e+fRnGaX02YGgvJD0yvhNi/9hpGPA2MJ9ZF8dPCw75UGfpI6OpQ/myR/dIYmogRvqiZD0TrXg==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.3.3.tgz",
"integrity": "sha512-Lz+TskwvhceQgwnP+0ox5ZeL7HDDXHKWVRpOqC1Eo05y6rYyfvvep0msGqC95kQTykXrmGgP6qwJB1NdgNZVhg==",
"cpu": [
"x64"
],
@@ -3168,9 +3168,9 @@
}
},
"node_modules/@rolldown/binding-freebsd-x64": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.19.tgz",
"integrity": "sha512-O8ISAOfI1nj7AuBPd30FSF47z7f7lzlk5poQVGgiikvQuGEBFYvW8ki+UEnT+YJPnNGjQzn304klt4O9FUE7mA==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.3.3.tgz",
"integrity": "sha512-sIzqNDbA7GFDXU8k9/vcJyV1p45mCe+xHOLo9qD7gdbTbMlwB+SpnFoP7WSpC2iYdGfOX9pjBxCfViRn/Nu3Jw==",
"cpu": [
"x64"
],
@@ -3185,9 +3185,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.19.tgz",
"integrity": "sha512-/lYCba5NO0yq4S0jGMH8QTBtkvQxoXjoQWzF5BcWp9MjB9jxVRD1GQDNofkVjcOj30DWyhLIN/4Oe60JKzaONw==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.3.3.tgz",
"integrity": "sha512-HYysnZZ7HD3FM5RIBN6wDMoxtOjw4LS9HhRuQ57MsZt5XGpGRPxVpplvr7vUXRN+9MD8zb6vn1JRP06PXIuMYQ==",
"cpu": [
"arm"
],
@@ -3202,13 +3202,16 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-gnu": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.19.tgz",
"integrity": "sha512-pm/apFMBnSbFb3O6nG5pHO1iqHhZrjGDFEjSm+ot9J17XXPvH9L90y5h+jgfHCE+Qdlsvy8qKEcU4VKxgjD+vA==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.3.3.tgz",
"integrity": "sha512-XAyLqWSoEKVc8wsDbCIz5o2sBY6ye+0YByK9ib5QxFReoM1KHyThSHsdUODa1DKNzlEfae+p9QwK62LsVwo6Nw==",
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@@ -3219,13 +3222,16 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-musl": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.19.tgz",
"integrity": "sha512-K1SmQp3FFichn8oqrNIwvFoZ5wcvjC7goBzpaMNvLf9FZc+QB/QvLmnpJZgAAGHiD980tP8FZZnXk2K94rvlxg==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.3.3.tgz",
"integrity": "sha512-oVyicDPj6vUVFRnuoQS7M2Ab8EkGWoq3a5ntyQqjtZoXfgVykIJqN2IAJSi9q9UyNoQUW0vbBLQSgGtlPJ40Kg==",
"cpu": [
"arm64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@@ -3236,13 +3242,16 @@
}
},
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.19.tgz",
"integrity": "sha512-I0xwD57jP/3A7+5UPZin2w8Y7XHEmEM5zqpYZOcQ45MlNW6tUJUziymV3yRr7rL4vwyfEcRsRksC4a7Kc08p5Q==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.3.3.tgz",
"integrity": "sha512-k7aFSWgUoi/X7jCst7UEof7pS5jc5ymD8mT/pdFE+pO1IBBI2+JU5Os4HEDqS/tYhetRggwM7MOiLP3cg1bSBQ==",
"cpu": [
"ppc64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@@ -3253,13 +3262,16 @@
}
},
"node_modules/@rolldown/binding-linux-s390x-gnu": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.19.tgz",
"integrity": "sha512-BrtEHT24SNXj9HiXqy+s/kXiSiQGt6EKCPUlRirAoIioVxKGnbXBUEkbZASAei7iZJB0/Ynm+0JP00Ipx7AnSw==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.3.3.tgz",
"integrity": "sha512-D5mxHpr1qIb1Pt5UT+Bm2p6vJ7+VxcxWcxZCYVDFzZwWRq9iLiEg4/ROsaXFQl1O8sDQZZJ55UoRWWMK64uH5w==",
"cpu": [
"s390x"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@@ -3270,13 +3282,16 @@
}
},
"node_modules/@rolldown/binding-linux-x64-gnu": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.19.tgz",
"integrity": "sha512-rm75/9DkHKeU2WnA8w4X94WGYgLlDCFCfkQC+4bguVJmC/jvDRv2B+2wLOYhyE0fVuv7//Ckk39OoOufyCu76Q==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.3.3.tgz",
"integrity": "sha512-nmW1O4BbNEmQI9+KTHbJgbDv0EuyZy64oBnRlMCtLJ8lQMIJ/H/iziQ0g2IUlHEhNrSebGvs9cRrlRj8oEfP+g==",
"cpu": [
"x64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@@ -3287,13 +3302,16 @@
}
},
"node_modules/@rolldown/binding-linux-x64-musl": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.19.tgz",
"integrity": "sha512-irh/4+iYFM4GAzpluDErgjz89bj6NDtqqMAG/6O1LG38Ed3NpyebzCpcVNkFW8uhy+/3/BocUvnXDR33CXWe9A==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.3.3.tgz",
"integrity": "sha512-ivU4JFHK5nFzrRbzp3+vwYdLj8mFckH4oz3hEl5LH/YeThr9/m2N2vF3NvLevtHq6e0COimgrEVyYTwQhh4ODg==",
"cpu": [
"x64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@@ -3304,9 +3322,9 @@
}
},
"node_modules/@rolldown/binding-openharmony-arm64": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.19.tgz",
"integrity": "sha512-+KWTWNoPt+CfSq94CiceWu3yPE+QzkaG+phPyz9G60tmZLwfQkcA4AeksafzvJAw4pvg1mcd5a1TkUqVv0s4JA==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.3.3.tgz",
"integrity": "sha512-XxZoRIkNZ/7pFgvOA8QJmx3uFjMyVz7zS2/urzlaFffoOGclDvpUAMu3AHKT551E8JBKXLxIjpYxYMdF6Mz9vQ==",
"cpu": [
"arm64"
],
@@ -3321,9 +3339,9 @@
}
},
"node_modules/@rolldown/binding-wasm32-wasi": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.2.19.tgz",
"integrity": "sha512-7EH+skOsl5qpWnK0vzamgJFhOv1cwxQpsxm8tI883K9fur5c27p8q87fzEO6BbBPabA2/+s/zR63/pLc137iOg==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.3.3.tgz",
"integrity": "sha512-bBl1MB2gF26PSPy3CiDLiv+A6JGI546WbsDR34LfKAywSGeBeQXaDanoDG6QdZDJs53M1QyJir5MTKTu1n4ptA==",
"cpu": [
"wasm32"
],
@@ -3340,9 +3358,9 @@
}
},
"node_modules/@rolldown/binding-win32-arm64-msvc": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.19.tgz",
"integrity": "sha512-3Q1Yg1Q7tEvBWoZf5rFvG/GKZQPgwfru+p4wBajDfJFBs0SHCpL++dfTjW9gyAKd1T7ZpIYvdaUax7Pa/IhFVQ==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.3.3.tgz",
"integrity": "sha512-6rZur0hyen4LPhOxWIg7az1YX+Eo8Vvauc0D6lFYGK/QCvN+1XpnB8aFe3jQc/PBUGIReJJnLX3sS8h33/5v7A==",
"cpu": [
"arm64"
],
@@ -3357,9 +3375,9 @@
}
},
"node_modules/@rolldown/binding-win32-x64-msvc": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.19.tgz",
"integrity": "sha512-y/sqRRc6d7hECzOFc5n3LSeqctmIp9mMjY1Kq4s14uLPd/LZ4z7i1zrW6fMtp2mPeuQIC4e6ULMcwQzMomqQag==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.3.3.tgz",
"integrity": "sha512-Ggzyuq1mN7claruAZH10aiiM1N3LRCoMP5xDXPdU514ulL0D2bksCWgFqEmEM2/pDzEP7Dq+dcv7IH452jtr1w==",
"cpu": [
"x64"
],
@@ -3633,9 +3651,9 @@
}
},
"node_modules/@tybys/wasm-util": {
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
"integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
"version": "0.10.5",
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz",
"integrity": "sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -3719,9 +3737,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "26.6.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.6.tgz",
"integrity": "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==",
"version": "26.6.11",
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.11.tgz",
"integrity": "sha512-uUyQ2XLEz+EXh34lmS3GhKrkqn/8FU7KUiKRpk347At2bmnMVWss45yz8b4FG/tUtmV1tV/+TVkITItPROyeeQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3729,9 +3747,9 @@
}
},
"node_modules/@types/react": {
"version": "19.3.0",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz",
"integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==",
"version": "19.3.3",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.3.tgz",
"integrity": "sha512-K8uWpJc4teiuOPdiP1umjeA9rGMgVPiXuoL66fcS1QlwBT1WMqY8PORmub9FadopIs+RCW6siYEs7Lpq+vDlog==",
"license": "MIT",
"dependencies": {
"csstype": "^3.2.2"
@@ -3769,17 +3787,17 @@
"license": "MIT"
},
"node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.73.0.tgz",
"integrity": "sha512-UkygMFer53Yzn29MCYFTHf34hGXf5KJhiDWfIm1tXtXRrym1CS6l5H9Y3yCtPWChpC0/f93H88gdj8tN0dd4kw==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.74.0.tgz",
"integrity": "sha512-z3KXk1+Vm+d82ZRplOoC89ho4Rf1da5ju6sx8//92GnN532U62DGPjECXkkVqtYzIv0zoJlpO39SX2Z9tk6LVw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
"@typescript-eslint/scope-manager": "8.73.0",
"@typescript-eslint/type-utils": "8.73.0",
"@typescript-eslint/utils": "8.73.0",
"@typescript-eslint/visitor-keys": "8.73.0",
"@typescript-eslint/scope-manager": "8.74.0",
"@typescript-eslint/type-utils": "8.74.0",
"@typescript-eslint/utils": "8.74.0",
"@typescript-eslint/visitor-keys": "8.74.0",
"ignore": "^7.0.5",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0"
@@ -3792,15 +3810,15 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"@typescript-eslint/parser": "^8.73.0",
"@typescript-eslint/parser": "^8.74.0",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
"version": "7.0.16",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.16.tgz",
"integrity": "sha512-52N+Y4HRMOJmbLmr+DqO4iSRyyB7N52gm7PWCT6h0p978+oKbqHCB7gIJIwZvBUsjlSdWbrBFqUSmIFNZMpn0A==",
"version": "7.0.17",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.17.tgz",
"integrity": "sha512-0c3zcBRlWmcKhcIQWckzkYncJRv5HHB8O32wO/FcWL8DDXWDJgiEF6SX9ThbTv5h/eZ+xJK+VvDjjQ+cQJhp3Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3808,16 +3826,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.73.0.tgz",
"integrity": "sha512-AuL45bVcmssHfZ3Di3cs9Q0l4gBm4ZFVrJOQEE7VpqW+PVgQaEwSwazz4TVIiFabXkk6U51EprYDwqw+HR8ePw==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.74.0.tgz",
"integrity": "sha512-ecr8AYdig7avVkxaHdQvxHnIJ/mOyliO4Gv/uWF8q69vBew/z3sexqBwHUZX5Vql+Ns0w4sH6gBLkICGbOvJkA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/scope-manager": "8.73.0",
"@typescript-eslint/types": "8.73.0",
"@typescript-eslint/typescript-estree": "8.73.0",
"@typescript-eslint/visitor-keys": "8.73.0",
"@typescript-eslint/scope-manager": "8.74.0",
"@typescript-eslint/types": "8.74.0",
"@typescript-eslint/typescript-estree": "8.74.0",
"@typescript-eslint/visitor-keys": "8.74.0",
"debug": "^4.4.3"
},
"engines": {
@@ -3833,14 +3851,14 @@
}
},
"node_modules/@typescript-eslint/project-service": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.73.0.tgz",
"integrity": "sha512-/pEf8Rc4Mjk+qJnY0uO1+Gadeal8uv50xpuic+srG2vIVatA0XxvWMUeMtFvs6OCHqftiQ7/+qH4aehG5stzIA==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.74.0.tgz",
"integrity": "sha512-z/mymuE+JlEeSFIv3Mo70EvgG1Zz74Hl0IDfExfXutARAP834bt+MppTD7mVAwmZO0GdxdOAi0jbTam749eH6g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/tsconfig-utils": "^8.73.0",
"@typescript-eslint/types": "^8.73.0",
"@typescript-eslint/tsconfig-utils": "^8.74.0",
"@typescript-eslint/types": "^8.74.0",
"debug": "^4.4.3"
},
"engines": {
@@ -3855,14 +3873,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.73.0.tgz",
"integrity": "sha512-/TjD738Iq2rzj5z0ixVOi+TsvgjAzZPLPaH1yWdDBytR/HTR5gMpyYWZeCe5WTQZLwk3ho8AV7U3muoQCRtXBQ==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.74.0.tgz",
"integrity": "sha512-kpOdpu4CpWN5U38ox3f727DwWRBtUAVhyUJtqTBYe5gf2wYoxac7PgKP14txrxN7ICVtcjlLdzjqfRgpSnDKvQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.73.0",
"@typescript-eslint/visitor-keys": "8.73.0"
"@typescript-eslint/types": "8.74.0",
"@typescript-eslint/visitor-keys": "8.74.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3873,9 +3891,9 @@
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.73.0.tgz",
"integrity": "sha512-lmtCFOfYaJfpqZywGuXi4FpNtE+NQ+YLe3T0K9rtEDcW8ZuGWvfI++pj8r05sYMI8vWT2CYK4rWyedmD6Rp4og==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.74.0.tgz",
"integrity": "sha512-p07wAuaS6BjCYgOSXKJi4YhvTnAf7fiG37e9THcpnYaQEt2QiTTYZWKwUFNgeRiywiMudazhzgddAirZ0GgHtQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3890,15 +3908,15 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.73.0.tgz",
"integrity": "sha512-MOC9i4xy1F7KcDde7Ip8jf1SrRiALb2Km4UWxGNjUE2YlhjIEo1ayE27GHIwIQyfWuHTmEonQT14uyurlyC6aA==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.74.0.tgz",
"integrity": "sha512-CV3Y3la8l3F9ANfxcfpgSSiQgJTe4IeLEoZV4O/gcW86Ugp8X6SKiQ0vm+QegXaRIbbDMokZZSF3A1CgiU/kPw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.73.0",
"@typescript-eslint/typescript-estree": "8.73.0",
"@typescript-eslint/utils": "8.73.0",
"@typescript-eslint/types": "8.74.0",
"@typescript-eslint/typescript-estree": "8.74.0",
"@typescript-eslint/utils": "8.74.0",
"debug": "^4.4.3",
"ts-api-utils": "^2.5.0"
},
@@ -3915,9 +3933,9 @@
}
},
"node_modules/@typescript-eslint/types": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.73.0.tgz",
"integrity": "sha512-O/1ytYzflF16QDKXx4/qOXg1IuZp+n7hr9t+S0nv7N/2Tl8rJiNCshztV1gcSUvHbPtoX3+zmNbtSAyVbzxVfw==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.74.0.tgz",
"integrity": "sha512-MpnMrJCVNpP1iVL8NiHkQZgQqIMBH5ewDGUPBh1pqQXwFtMFjsl1M03QcYPXmv6stCKEiF0PN7CGbU1ZbXFzEA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3929,16 +3947,16 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.73.0.tgz",
"integrity": "sha512-InjlBkSdWceIwIBWSwS3ENUp+i0O02PGX3Zv2wnihWJC1WDVGvG7mTHuf8b57uAaITj94d6tRPDH+sUEtXdRQQ==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.74.0.tgz",
"integrity": "sha512-wL348k6l92DNG+kPP5rVpKwNBoz7a3xRZy3TPKc1uymQttd7u7gcMv3eENmcuh4CjC4mO3FTM0DYstFXMyDLuw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/project-service": "8.73.0",
"@typescript-eslint/tsconfig-utils": "8.73.0",
"@typescript-eslint/types": "8.73.0",
"@typescript-eslint/visitor-keys": "8.73.0",
"@typescript-eslint/project-service": "8.74.0",
"@typescript-eslint/tsconfig-utils": "8.74.0",
"@typescript-eslint/types": "8.74.0",
"@typescript-eslint/visitor-keys": "8.74.0",
"debug": "^4.4.3",
"minimatch": "^11.0.1",
"semver": "^7.7.3",
@@ -3980,16 +3998,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.73.0.tgz",
"integrity": "sha512-j2SVJJvVkXdUL0WcEzo4vEH1mO1vIi8KlVukcYA2MgMZvYN2LlZR4PmsW+GTSxSW24j6Q/EP7+MOifLtg5hmsA==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.74.0.tgz",
"integrity": "sha512-IpWXPxXXomzxyTcvjhZJexgdvtTR1TooLAPpuxzaGqQ8BHll1lf4Ysp/BTE/l0U5TJ+x1j7B4bEM8pLRrvY+XA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
"@typescript-eslint/scope-manager": "8.73.0",
"@typescript-eslint/types": "8.73.0",
"@typescript-eslint/typescript-estree": "8.73.0"
"@typescript-eslint/scope-manager": "8.74.0",
"@typescript-eslint/types": "8.74.0",
"@typescript-eslint/typescript-estree": "8.74.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -4004,13 +4022,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.73.0.tgz",
"integrity": "sha512-k4lsFVpRZICbltkIEEH4hZRkwXkqDF1GHBpClKQOHQY+RkoZAAuyc1ci3I6p+CB6v3U4jaHIUshc4RzzQXZWLg==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.74.0.tgz",
"integrity": "sha512-XSZmOtMUbWCBIM+2BK134FyMFxmll1mW2mPLk/PSwYQYzGIPMgJAqL929U4qXVizLv7Xq5b7r41/o7Ombuwk0g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/types": "8.73.0",
"@typescript-eslint/types": "8.74.0",
"eslint-visitor-keys": "^5.0.0"
},
"engines": {
@@ -4257,9 +4275,9 @@
}
},
"node_modules/autoprefixer": {
"version": "10.6.2",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.6.2.tgz",
"integrity": "sha512-VOw9/yGTGwPPgzFcODtcv6zhEPIeIWkRSe10L2ri2f5vZ7ID7lCt6jZzRF5/ubgOZ+szYydmEF5AYsA5jxX1tA==",
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.7.0.tgz",
"integrity": "sha512-M4rWhYFPp8YSAfqLDT/wRN9trfe/Z/aZLPxrLQJUQRTPrChss2T+hmgaV5770J52bLuGOMzt6Hjl8tEb6YWv5Q==",
"dev": true,
"funding": [
{
@@ -4277,8 +4295,8 @@
],
"license": "MIT",
"dependencies": {
"browserslist": "^4.28.9",
"caniuse-lite": "^1.0.30001810",
"browserslist": "^4.29.6",
"caniuse-lite": "^1.0.30001826",
"fraction.js": "^5.3.4",
"picocolors": "^1.1.1",
"postcss-value-parser": "^4.2.0"
@@ -4351,9 +4369,9 @@
}
},
"node_modules/baseline-browser-mapping": {
"version": "2.11.23",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.23.tgz",
"integrity": "sha512-le521dGVfxM7yRX0EikCoSz+rOK+hHzdDt/E7mG1jOJB/6WAAUuwVroLwaB7ApaUsz5Q0kFlDXLSA9MheUIfRQ==",
"version": "2.11.39",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.39.tgz",
"integrity": "sha512-Q9buOYhr2ggrEZpImICecZTJHCCd8yXkRUokFlUEQ8uiD6oP82F4W4jWnhOHZYV+wlvrC51V7Wy0ULyWjil5Wg==",
"dev": true,
"license": "Apache-2.0",
"bin": {
@@ -4401,9 +4419,9 @@
}
},
"node_modules/browserslist": {
"version": "4.28.9",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.9.tgz",
"integrity": "sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==",
"version": "4.29.6",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.6.tgz",
"integrity": "sha512-CmVVIQ3RVc5HxYEc9X84GvxK/C8C1wH8TlKAiO7uTxF8PDwt7r8t9Qk3J9NkMOVzX5O/HbLv3yzxZg9HPrnI9w==",
"dev": true,
"funding": [
{
@@ -4421,11 +4439,11 @@
],
"license": "MIT",
"dependencies": {
"baseline-browser-mapping": "^2.11.20",
"caniuse-lite": "^1.0.30001810",
"electron-to-chromium": "^1.5.420",
"node-releases": "^2.0.54",
"update-browserslist-db": "^1.3.2"
"baseline-browser-mapping": "^2.11.37",
"caniuse-lite": "^1.0.30001826",
"electron-to-chromium": "^1.5.486",
"node-releases": "^2.0.64",
"update-browserslist-db": "^1.4.0"
},
"bin": {
"browserslist": "cli.js"
@@ -4506,9 +4524,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001810",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz",
"integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==",
"version": "1.0.30001828",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001828.tgz",
"integrity": "sha512-7MWeT+3DlrpuDybTWHl4Zb1Z80Z1fLLnOXuBjDXebzDVcqnEWUlV8JcbASg8B8BhcW8QT2UiR1KAtzYFIZHZYA==",
"dev": true,
"funding": [
{
@@ -4982,9 +5000,9 @@
}
},
"node_modules/electron-to-chromium": {
"version": "1.5.427",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.427.tgz",
"integrity": "sha512-n14zb3FdsChZ2BNobqNHAJMcP3ifFv4paox2LvCrfVAQcqGiSURgbJl+PfMpHVCNFkStnNc+RRVtPBTVW5PDgw==",
"version": "1.5.494",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.494.tgz",
"integrity": "sha512-Tph7ohL4Xc0ft3DXElYEIVTmPI3H0MtPCTdgtz5AwWGZG6q+vMiT3IzJ3RJX/HJQ8pYzeimQyvi6SsBTOS0nyQ==",
"dev": true,
"license": "ISC"
},
@@ -6150,9 +6168,9 @@
}
},
"node_modules/i18next": {
"version": "27.2.2",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.2.tgz",
"integrity": "sha512-1/AJgz/bpE/YL6tqekQlZAzDhkmrUBbgU8+Xon/Lwv6c5WdYuyFZ9mb86OVfR2C2XujUDT7Rz23Ydaq4l981lA==",
"version": "27.2.9",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-27.2.9.tgz",
"integrity": "sha512-GOWWofCGYPSPEzUKJnRLJSoHrSUDa/NzYWqAOJJDZUaM7faLPd9VABlbHDZ+jv8uadu/fq1wsHFfZP6+0tFPkg==",
"funding": [
{
"type": "individual",
@@ -6268,9 +6286,9 @@
}
},
"node_modules/i18next-http-backend": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-4.1.0.tgz",
"integrity": "sha512-OY3KA8s6WUfUCviw+6VA79148bYaws+FEOZD6MNeZ8Tw1ocfu1j1Qp3ROYNMikzNv1gyTBgzHbWMP/rfZDSp1g==",
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-4.1.2.tgz",
"integrity": "sha512-AwcMCsyzucO7puxbqlGARIkmV4DD4wjC6hOEBq6u8x1f+3CGT5kQGmXPIYsV/r48WCBAyWT+TK4gmCz0bx3lNg==",
"license": "MIT",
"engines": {
"node": ">=18"
@@ -6747,9 +6765,9 @@
}
},
"node_modules/konva": {
"version": "10.9.1",
"resolved": "https://registry.npmjs.org/konva/-/konva-10.9.1.tgz",
"integrity": "sha512-m49x+GatSxEUSvqahYhxpTjgKbtrLtw4P4o4B4iux953ZFpceaK52Ea+CFsAsd7W4I0Y5u6mMoRUsY/eltNZmw==",
"version": "10.11.0",
"resolved": "https://registry.npmjs.org/konva/-/konva-10.11.0.tgz",
"integrity": "sha512-3Te24Caj6WC0S1YWkhzuU0EnupYm+QTKQ1YDIG396eVUPVVNfhrqmZ+8WHtct8Eb2FKAIqOQSd1Z9bm5s7aMyw==",
"funding": [
{
"type": "patreon",
@@ -6766,10 +6784,14 @@
],
"license": "MIT",
"peerDependencies": {
"@napi-rs/canvas": "^1.1.0",
"canvas": "^3.0.0",
"skia-canvas": "^3.0.0"
"skia-canvas": "^3.0.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"@napi-rs/canvas": {
"optional": true
},
"canvas": {
"optional": true
},
@@ -7140,9 +7162,9 @@
}
},
"node_modules/lucide-react": {
"version": "1.76.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.76.0.tgz",
"integrity": "sha512-wRVHt2Xf64GXndB4rQOY9+3Wy9oJ59HDMYv6vwhT0hpSwUxQhG/RM9YijnOmvmIQ+VI/n+1V/FKd6gP4XL2aBQ==",
"version": "1.81.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.81.0.tgz",
"integrity": "sha512-U+CisvFQ84m+xUJAKKA4q+mykGB1LAmu196hOblQbuNYJgD43iHwpmfYuqcFYHXJu2oqRih5JoH3f5LxwsUegg==",
"license": "ISC",
"peerDependencies": {
"@types/react": "*",
@@ -8276,6 +8298,24 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
"node_modules/napi-windows-process-start-time": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/napi-windows-process-start-time/-/napi-windows-process-start-time-0.1.0.tgz",
"integrity": "sha512-zHxhzKsIFu3elch3eFw69WEUGc79DFhbc3nD/WEOzWL/pFFLZRW13EHnuO0c+0YjncE5uCaS9ICHxOBXkb6vPw==",
"cpu": [
"x64",
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">=20"
}
},
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -8293,9 +8333,9 @@
}
},
"node_modules/node-releases": {
"version": "2.0.55",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.55.tgz",
"integrity": "sha512-mIrE/Cw9y+9Au6dS5vDKDhQza9YvG6w+ZrS6X+ZzA7yFW/soAeaups4Qzn1bL6g5FVy8WtP79+0j82oPIbqRjQ==",
"version": "2.0.65",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.65.tgz",
"integrity": "sha512-PfvofsGQ+MiOQIPkX9fU8ELUWmy5zL74CdQaph/ismKszfFkfwXaw0cGiwbwym2hT9k5+mdyl8O5WQ1MD8EHmA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -9396,9 +9436,9 @@
}
},
"node_modules/react-router": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.6.tgz",
"integrity": "sha512-SP8KqKfRLlJzqzPseC+r6yYFsqPEavtQCC4BKV810tBGijjESLtwVPam+gPOO+wYeXrYN/TNy2CAykQVcNg4iQ==",
"version": "7.18.7",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.7.tgz",
"integrity": "sha512-nXl672FFobymVY/Ywbo0DnlXV/+VXOB5pOslCeuVqoegwwL7sau2yASdyGoWHvPRxAoqUBrAiFZRdli4nT7Wow==",
"license": "MIT",
"dependencies": {
"cookie": "^1.0.1",
@@ -9408,22 +9448,26 @@
"node": ">=20.0.0"
},
"peerDependencies": {
"@types/react": ">=18",
"react": ">=18",
"react-dom": ">=18"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react-dom": {
"optional": true
}
}
},
"node_modules/react-router-dom": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.6.tgz",
"integrity": "sha512-a8JzFsKEY3EY9QL7t4T1b1OhuY0ngEfwMzXQNgBO/2cuIW9028JbVq3uk2rKnjLredzcIoDKLzUkguIq6fnkFA==",
"version": "7.18.7",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.7.tgz",
"integrity": "sha512-EBWBKV1TjvScebAIvidowN0Bfh9Bg7p54IDBRVJkFXz0wBKTBblDNLxUvCewx/GdzTiC7VWV/MOjWqsLWEMygA==",
"license": "MIT",
"dependencies": {
"react-router": "7.18.6"
"react-router": "7.18.7"
},
"engines": {
"node": ">=20.0.0"
@@ -9638,13 +9682,13 @@
}
},
"node_modules/rolldown": {
"version": "1.2.19",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.19.tgz",
"integrity": "sha512-QIiV1J9d0pzN4jeeTH4sjPy0AZ6cAy2cG0ExeoE1+U8Rvj+hR3gYkokx0YbeUNGlZqiQJJ2utcETe0oKXwzsuA==",
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.3.3.tgz",
"integrity": "sha512-ksB1g74e7haRy02OYm4lOQAlr6sK6hBpAY5R+YC30Gkv4L1COwF6M9umBAYAPxWpGow6Vr+IXtyDjH9fq7A+Zg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@oxc-project/types": "=0.156.0",
"@oxc-project/types": "=0.159.0",
"@rolldown/pluginutils": "^1.0.0"
},
"bin": {
@@ -9654,22 +9698,22 @@
"node": "^20.19.0 || >=22.12.0"
},
"optionalDependencies": {
"@rolldown/binding-android-arm-eabi": "1.2.19",
"@rolldown/binding-android-arm64": "1.2.19",
"@rolldown/binding-darwin-arm64": "1.2.19",
"@rolldown/binding-darwin-x64": "1.2.19",
"@rolldown/binding-freebsd-x64": "1.2.19",
"@rolldown/binding-linux-arm-gnueabihf": "1.2.19",
"@rolldown/binding-linux-arm64-gnu": "1.2.19",
"@rolldown/binding-linux-arm64-musl": "1.2.19",
"@rolldown/binding-linux-ppc64-gnu": "1.2.19",
"@rolldown/binding-linux-s390x-gnu": "1.2.19",
"@rolldown/binding-linux-x64-gnu": "1.2.19",
"@rolldown/binding-linux-x64-musl": "1.2.19",
"@rolldown/binding-openharmony-arm64": "1.2.19",
"@rolldown/binding-wasm32-wasi": "1.2.19",
"@rolldown/binding-win32-arm64-msvc": "1.2.19",
"@rolldown/binding-win32-x64-msvc": "1.2.19"
"@rolldown/binding-android-arm-eabi": "1.3.3",
"@rolldown/binding-android-arm64": "1.3.3",
"@rolldown/binding-darwin-arm64": "1.3.3",
"@rolldown/binding-darwin-x64": "1.3.3",
"@rolldown/binding-freebsd-x64": "1.3.3",
"@rolldown/binding-linux-arm-gnueabihf": "1.3.3",
"@rolldown/binding-linux-arm64-gnu": "1.3.3",
"@rolldown/binding-linux-arm64-musl": "1.3.3",
"@rolldown/binding-linux-ppc64-gnu": "1.3.3",
"@rolldown/binding-linux-s390x-gnu": "1.3.3",
"@rolldown/binding-linux-x64-gnu": "1.3.3",
"@rolldown/binding-linux-x64-musl": "1.3.3",
"@rolldown/binding-openharmony-arm64": "1.3.3",
"@rolldown/binding-wasm32-wasi": "1.3.3",
"@rolldown/binding-win32-arm64-msvc": "1.3.3",
"@rolldown/binding-win32-x64-msvc": "1.3.3"
}
},
"node_modules/run-async": {
@@ -10225,16 +10269,16 @@
}
},
"node_modules/typescript-eslint": {
"version": "8.73.0",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.73.0.tgz",
"integrity": "sha512-+EnKy9rkYPun4l+kG2bDuYWQ6y1tGVgdR/tY1U9AC6h21CjEwOoc7gsjwe0FXB8uWFzk4QiCFbuRWgX758PiAg==",
"version": "8.74.0",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.74.0.tgz",
"integrity": "sha512-OsWQlsedt1ZpZXfZZMNK3m4SoQONFFcy4h/uRznsCeRfVuEic3gh4KGUs2pJJ5o0Jj0Jr7keUHQGN1Ns9aDw7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "8.73.0",
"@typescript-eslint/parser": "8.73.0",
"@typescript-eslint/typescript-estree": "8.73.0",
"@typescript-eslint/utils": "8.73.0"
"@typescript-eslint/eslint-plugin": "8.74.0",
"@typescript-eslint/parser": "8.74.0",
"@typescript-eslint/typescript-estree": "8.74.0",
"@typescript-eslint/utils": "8.74.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -10378,9 +10422,9 @@
}
},
"node_modules/update-browserslist-db": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz",
"integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==",
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.4.0.tgz",
"integrity": "sha512-WPJuOnjI9FWDct4fB+ej4Mz8opLaw5CDcZ2t44tFZ0vIQVYWzBhWR3mkixuUj/A7+vY4V9+ApOZ2YYLwdgq46w==",
"dev": true,
"funding": [
{
@@ -10527,16 +10571,17 @@
}
},
"node_modules/virtua": {
"version": "0.55.0",
"resolved": "https://registry.npmjs.org/virtua/-/virtua-0.55.0.tgz",
"integrity": "sha512-w79kvcw7PwXFmo+MSENbgy3XL61OfStJm7FPtJwZey1EsK0F0gDXmgGHvblS/iebDcg+K5J1ddlUGJ5dXGo4lA==",
"version": "0.56.0",
"resolved": "https://registry.npmjs.org/virtua/-/virtua-0.56.0.tgz",
"integrity": "sha512-KwXPzgT98ZsBn6qhv+OQDnsp7D/UvGmfkaa1dsOF7RGXef7LdlAHdYo0SxOMPQhHlZQBZnOZxjE1uvvBVKLF6Q==",
"license": "MIT",
"peerDependencies": {
"@angular/common": ">=20.0.0",
"@angular/core": ">=20.0.0",
"@solidjs/web": ">=2.0",
"react": ">=16.14.0",
"react-dom": ">=16.14.0",
"solid-js": ">=1.0",
"solid-js": ">=2.0",
"svelte": ">=5.0",
"vue": ">=3.2"
},
@@ -10547,6 +10592,9 @@
"@angular/core": {
"optional": true
},
"@solidjs/web": {
"optional": true
},
"react": {
"optional": true
},
@@ -10565,16 +10613,16 @@
}
},
"node_modules/vite": {
"version": "8.3.8",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.3.8.tgz",
"integrity": "sha512-LzOn3h9rG/0vhLdXrV4yJ4QFA9eEoqCl+Yx+kGJd7aB9w6nfNgVHKSYwLPZUHrz4ZGa+t+kXjV9itvcHDLQouA==",
"version": "8.4.0",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.4.0.tgz",
"integrity": "sha512-X2nUJg+9cutlz3hzqyO6p+WTwk9H257DjwAEf9EQYUFrQbDItmetadi9gYmb+l7VDy4r3VXLUnmLTwuPmzejDw==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
"picomatch": "^4.0.7",
"postcss": "^8.5.32",
"rolldown": "~1.2.18",
"postcss": "^8.5.33",
"rolldown": "~1.3.2",
"tinyglobby": "^0.2.17"
},
"bin": {
@@ -10587,7 +10635,8 @@
"url": "https://github.com/vitejs/vite?sponsor=1"
},
"optionalDependencies": {
"fsevents": "~2.3.3"
"fsevents": "~2.3.3",
"napi-windows-process-start-time": "^0.1.0"
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
+12 -12
View File
@@ -22,7 +22,7 @@
},
"dependencies": {
"@cycjimmy/jsmpeg-player": "^7.0.0",
"@hookform/resolvers": "^7.0.7",
"@hookform/resolvers": "^7.0.9",
"@radix-ui/react-alert-dialog": "^1.2.1",
"@radix-ui/react-aspect-ratio": "^1.2.0",
"@radix-ui/react-checkbox": "^1.4.1",
@@ -60,13 +60,13 @@
"framer-motion": "^14.14.0",
"heic-to": "^1.6.7",
"hls.js": "^1.7.4",
"i18next": "^27.2.2",
"i18next-http-backend": "^4.1.0",
"i18next": "^27.2.9",
"i18next-http-backend": "^4.1.2",
"idb-keyval": "^6.3.0",
"js-yaml": "^5.5.0",
"konva": "^10.9.1",
"konva": "^10.11.0",
"lodash": "^4.18.1",
"lucide-react": "^1.76.0",
"lucide-react": "^1.81.0",
"monaco-yaml": "^5.5.1",
"next-themes": "^0.4.6",
"nosleep.js": "^0.12.0",
@@ -82,7 +82,7 @@
"react-icons": "^5.7.0",
"react-konva": "^19.3.2",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.18.6",
"react-router-dom": "^7.18.7",
"react-swipeable": "^7.0.2",
"react-zoom-pan-pinch": "3.4.4",
"remark-gfm": "^4.0.0",
@@ -94,7 +94,7 @@
"tailwindcss-animate": "^1.0.7",
"use-long-press": "^3.3.0",
"vaul": "^1.1.2",
"virtua": "^0.55.0",
"virtua": "^0.56.0",
"vite-plugin-monaco-editor": "^1.1.0",
"zod": "^4.6.7"
},
@@ -103,11 +103,11 @@
"@playwright/test": "^1.65.1",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.27",
"@types/node": "^26.6.6",
"@types/react": "^19.3.0",
"@types/node": "^26.6.11",
"@types/react": "^19.3.3",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.0",
"autoprefixer": "^10.6.2",
"autoprefixer": "^10.7.0",
"esbuild": "^0.28.2",
"eslint": "^10.15.0",
"eslint-config-prettier": "^10.1.8",
@@ -123,8 +123,8 @@
"prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^3.4.19",
"typescript": "^6.0.3",
"typescript-eslint": "^8.73.0",
"vite": "^8.3.8"
"typescript-eslint": "^8.74.0",
"vite": "^8.4.0"
},
"overrides": {
"@radix-ui/react-compose-refs": "1.1.2",
@@ -2028,7 +2028,6 @@
},
"detect": {
"fpsGreaterThanFive": "Setting the detect FPS higher than 5 is not recommended. Higher values may cause performance issues and will not provide any benefit.",
"resolutionNotProbed": "Frigate could not probe the resolution of this camera's detect stream, so it is using a default of 1280x720, which may not match the camera. Set the detect width and height to match the stream.",
"disabled": "Object detection is disabled. Snapshots, review items, and enrichments such as face recognition, license plate recognition, and Generative AI will not function.",
"runtimeDisabled": "Object detection is enabled in your config, but it is currently turned off for this camera. Snapshots, review items, and enrichments such as face recognition, license plate recognition, and Generative AI will not function until it is turned back on from the camera's live view, or until the active profile stops disabling it.",
"sceneWithoutModel": "No detection model is configured for this scene, so this camera falls back to the Default model. Add a model for this scene to give the camera its own.",
@@ -18,17 +18,6 @@ const detect: SectionConfigOverrides = {
condition: (ctx) =>
ctx.level === "camera" && ctx.formData?.enabled === false,
},
{
key: "detect-resolution-not-probed",
health: true,
messageKey: "configMessages.detect.resolutionNotProbed",
severity: "warning",
// profiles hide width and height
condition: (ctx) =>
ctx.level === "camera" &&
!ctx.profileName &&
ctx.fullCameraConfig?.detect_resolution_source === "default",
},
],
fieldMessages: [
{
+2 -2
View File
@@ -58,7 +58,7 @@ export function useHealthProblems(
const muteCheck = useCallback(
async (id: string) => {
await axios.post(`notices/${encodeURIComponent(id)}/mute`);
await axios.post(`notices/${id}/mute`);
mutateMutedChecks();
},
[mutateMutedChecks],
@@ -66,7 +66,7 @@ export function useHealthProblems(
const unmuteCheck = useCallback(
async (id: string) => {
await axios.delete(`notices/${encodeURIComponent(id)}/hidden`);
await axios.delete(`notices/${id}/hidden`);
mutateMutedChecks();
},
[mutateMutedChecks],
+3 -5
View File
@@ -60,17 +60,15 @@ export function useNotices(showHidden: boolean) {
);
const acknowledge = useCallback(
(id: string) =>
act(axios.post(`notices/${encodeURIComponent(id)}/acknowledge`)),
(id: string) => act(axios.post(`notices/${id}/acknowledge`)),
[act],
);
const mute = useCallback(
(id: string) => act(axios.post(`notices/${encodeURIComponent(id)}/mute`)),
(id: string) => act(axios.post(`notices/${id}/mute`)),
[act],
);
const unhide = useCallback(
(id: string) =>
act(axios.delete(`notices/${encodeURIComponent(id)}/hidden`)),
(id: string) => act(axios.delete(`notices/${id}/hidden`)),
[act],
);
-3
View File
@@ -36,8 +36,6 @@ export interface FaceRecognitionConfig {
export type SearchModel = "jinav1" | "jinav2" | (string & NonNullable<unknown>);
export type SearchModelSize = "small" | "large";
export type DetectResolutionSource = "config" | "probed" | "default";
export type LiveTranscodeQuality = {
height: number;
bitrate: number;
@@ -118,7 +116,6 @@ export interface CameraConfig {
cmd: string;
roles: string[];
}[];
detect_resolution_source?: DetectResolutionSource;
live: {
height: number;
quality: number;
+1 -6
View File
@@ -58,10 +58,6 @@ export function streamHealth(
checked += 1;
const link = `/settings?page=cameraFfmpeg&camera=${encodeURIComponent(name)}`;
const copiesAudio = recordCopiesAudio(camera);
// a set resolution needs no probe, and a failed startup probe has its own row
const resolutionCovered =
camera.detect_resolution_source === "config" ||
camera.detect_resolution_source === "default";
let flagged = false;
if (check.error) {
@@ -129,8 +125,7 @@ export function streamHealth(
(issue): issue is StreamIssue & { type: "warning" | "error" } =>
issue.type !== "good" &&
!WIZARD_ONLY_RULES.has(issue.rule) &&
(issue.rule !== "audio-codec-record" || copiesAudio) &&
(issue.rule !== "resolution-unknown" || !resolutionCovered),
(issue.rule !== "audio-codec-record" || copiesAudio),
)
.forEach((issue) => {
flagged = true;