Josh Hawkins
03da70cb81
Refactor and clean up i18n ( #17198 )
...
* clean up i18n
* fix key
* fix key
2025-03-17 06:26:01 -06:00
Logan Garrett
6e3ae0afc2
Fix Prometheus Metrics race condition ( #17187 )
...
* fixed metrics race condition
* ruff formatting
2025-03-16 17:48:25 -06:00
Josh Hawkins
c724892158
i18n fixes ( #17184 )
...
* update PR template
* fix hook
* fix input
* fix hook
* add all audio detector keys
* add frigate+ keys
* fix spelling, formatting, and spacing
* fix labels
* capitalization
* fix timestamp
* fix menu
* fix plus text
* fix download label
* docs
* fix docs build
* fix docs formatting
2025-03-16 11:13:34 -06:00
GuoQing Liu
d34533981f
feat: add i18n (translation/localization) ( #16877 )
...
* Translation module init
* Add more i18n keys
* fix: fix string wrong
* refactor: use namespace translation file
* chore: add more translation key
* fix: fix some page name error
* refactor: change Trans tag for t function
* chore: fix some key not work
* chore: fix SearchFilterDialog i18n key error
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* chore: fix en i18n file filter missing some keys
* chore: add some i18n keys
* chore: add more i18n keys again
* feat: add search page i18n
* feat: add explore model i18n keys
* Update web/src/components/menu/GeneralSettings.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/components/menu/GeneralSettings.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/components/menu/GeneralSettings.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* feat: add more live i18n keys
* feat: add more search setting i18n keys
* fix: remove some comment
* fix: fix some setting page url error
* Update web/src/views/settings/SearchSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* fix: add system missing keys
* fix: update password update i18n keys
* chore: remove outdate translation.json file
* fix: fix exploreSettings error
* chore: add object setting i18n keys
* Update web/src/views/recording/RecordingView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/public/locales/en/components/filter.json
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/components/overlay/ExportDialog.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* feat: add more i18n keys
* fix: fix motionDetectionTuner html node
* feat: add more page i18n keys
* fix: cameraStream i18n keys error
* feat: add Player i18n keys
* feat: add more toast i18n keys
* feat: change explore setting name
* feat: add more document title i18n keys
* feat: add more search i18n keys
* fix: fix accessDenied i18n keys error
* chore: add objectType i18n
* chore: add inputWithTags i18n
* chore: add SearchFilterDialog i18n
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* chore: add some missing i18n keys
* chore: remove most import { t } from "i18next";
---------
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-03-16 10:36:20 -05:00
Nicolas Mowen
db541abed4
Fix model errors ( #17171 )
2025-03-16 06:01:15 -05:00
Josh Hawkins
d87268acfe
Small tweaks ( #17168 )
...
* Clean up repeated code in auth
* Ensure review status is migrated for anonymous users
2025-03-15 07:11:45 -06:00
Nicolas Mowen
19342c8768
Fix face library menu item ( #17155 )
2025-03-14 14:39:48 -05:00
Josh Hawkins
5d524e8060
clarity for sub labels and recognized_license_plate ( #17154 )
2025-03-14 11:54:00 -05:00
Nicolas Mowen
a995872d1c
Add face recognition and license plate recognition to settings UI ( #17152 )
...
* Refactor explore settings to classification settings
* Cleanup
* Add face config section
* Add license plate recognition to settings
* Update face recognition docs
* Fix variable usage
* Fix typo
* Update docs/docs/configuration/face_recognition.md
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Improve spacing and add face library to mobile
* Clarify docs
---------
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-03-14 11:23:37 -05:00
Josh Hawkins
d2368f5cbb
Use a recent time window for areas for autotracking zooming ( #17150 )
2025-03-14 09:09:16 -06:00
Nicolas Mowen
2313b8ea05
Fix bug where safari and firefox cache image for too long ( #17148 )
2025-03-14 08:48:16 -05:00
Josh Hawkins
fe078666c6
Ensure time range filter retains selected values ( #17147 )
2025-03-14 07:27:48 -06:00
Nicolas Mowen
fbd22c8124
Cleanup bird classification ( #17146 )
...
* Cleanup bird classification
* Cleanup
2025-03-14 07:21:50 -06:00
Nicolas Mowen
759d963a04
Cleanup typing ( #17145 )
2025-03-14 08:10:47 -05:00
Josh Hawkins
8a17e2bfbf
implement onvif retry mechanism ( #17144 )
2025-03-14 07:25:48 -05:00
Josh Hawkins
bf311e6467
Simplify auth check ( #17138 )
...
* simplify get_current_user
* add sanity check
2025-03-13 16:01:15 -05:00
Josh Hawkins
4f6d70ded0
Review items per user ( #17137 )
...
* model
* migration
* api changes
* delete in cleanup
* fix tests
2025-03-13 14:20:09 -06:00
Nicolas Mowen
8d05e7c5b9
Make detection threhsold configurable ( #17136 )
2025-03-13 12:22:14 -05:00
Josh Hawkins
c93b82d6e1
Ensure restart dialog isn't shown if config isn't saved successfully first ( #17132 )
2025-03-13 08:57:12 -06:00
Nicolas Mowen
b8f2d8fb0c
Fix rtsp config access ( #17129 )
2025-03-12 21:23:06 -05:00
Josh Hawkins
124cc4c9cc
Rename identifier field ( #17128 )
...
* backend rename
* frontend
* docs
* fix api path
2025-03-12 17:45:16 -06:00
Nicolas Mowen
b7333557a1
Enable audio by default ( #17125 )
...
* Remove mp4 query, allowing go2rtc to send any audio
* Add audio transcoding by default
2025-03-12 16:54:28 -05:00
Josh Hawkins
6360802612
Use identifier field for unknown license plates ( #17123 )
...
* backend
* backend fixes
* api for search queries
* frontend
* docs
* add filterable scroll list to more filters pane for identifiers
* always publish identifier
2025-03-12 14:38:28 -06:00
Nicolas Mowen
9e70bddc9d
Update go2rtc version ( #17119 )
2025-03-12 13:54:20 -05:00
Nicolas Mowen
f305ff3a5a
Update hardware recommendation ( #17111 )
...
* Update hardware recommendation
* re-organize information
* Broaden introduction
* Update index.md
* Update hardware.md
* Update hardware.md
* Update hardware.md
* Update index.md
* Update index.md
* Update hardware.md
2025-03-12 08:58:07 -05:00
Josh Hawkins
4806d30406
Bugfixes ( #17112 )
...
* ensure disabled and offline messages don't overlay each other
* clean up enabled logic
* fix on demand recording button
* clean up
2025-03-12 06:09:09 -06:00
Nicolas Mowen
b3d5cd9e4b
Refactor manual event api to use ZMQ ( #17105 )
...
* Don't wait for topic
* Refactor object processing and camera state
* Move manual event handling to camera state / tracked object
* Cleanup
* Refactor audio to use internal zmq
* Cleanup
* Clenaup
* Cleanup
* Quick label fix
* Fix tests
* Cleanup
2025-03-11 22:31:05 -05:00
dependabot[bot]
c6bed1e108
Update markupsafe requirement from ==2.1.* to ==3.0.* in /docker/main ( #14213 )
...
Updates the requirements on [markupsafe](https://github.com/pallets/markupsafe ) to permit the latest version.
- [Release notes](https://github.com/pallets/markupsafe/releases )
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/markupsafe/compare/2.1.0...3.0.0 )
---
updated-dependencies:
- dependency-name: markupsafe
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2025-03-11 17:46:47 -06:00
OmriAx
7411a8bafa
Hailo Official integration ( #16906 )
...
* Adding Models
* Final Async Update
* Bug Fixing
* Fix
* Adding fixes
* Working async infer
* Final Documenatation and debug update
* Removing some extra prints
* Post-process correct label push
* config docs fix
* Review Fix
* Review fix 2.0
* Fixing the ASYNC API to work from 30ms to 10ms
* Fix for multi stream async infernce
* Format
* Fix #3
* Format#2
* Remove Unnessery includes
* Sort Imports
2025-03-11 13:36:07 -06:00
Nicolas Mowen
300f85720c
Face blur factor ( #17099 )
...
* Add option to apply factor to face blurring
* Adjust blur factors
* Add debug log
2025-03-11 14:18:43 -05:00
Josh Hawkins
c9382f8969
Add docs for user roles ( #17093 )
...
* Add docs for user roles
* header mapping docs
2025-03-11 08:05:42 -06:00
Nicolas Mowen
c43092da9a
Add self return for pydantic ( #17091 )
2025-03-11 07:57:00 -05:00
MkSavin
bea6cf29c2
fix(auth): Added trimming to jwt secret token read from .jwt_secret ( #16467 )
...
Added cleaning of leading and trailing spaces and special characters from a line when reading a secret token from a `.jwt_secret` file
2025-03-10 16:36:43 -06:00
Nicolas Mowen
0cc5d66e5b
Refactor sub label api ( #17079 )
...
* Use event metadata updater to handle sub label operations
* Use event metadata publisher for sub label setting
* Formatting
* fix tests
* Cleanup
2025-03-10 16:29:29 -06:00
Nicolas Mowen
7d44970f78
Face multi select ( #17068 )
...
* Implement multi select for face library
* Clear list of selected
* Add keyboard shortcut
2025-03-10 10:01:52 -05:00
Josh Hawkins
2be5225440
More auth role fixes ( #17067 )
...
* simplify check and handle comma separated roles
* spacing
2025-03-10 10:00:35 -05:00
Josh Hawkins
cb25bd4a88
Auth role bugfixes ( #17066 )
...
* get correct role from header map
* fix profile endpoint
2025-03-10 07:59:24 -06:00
Hieu LE
b72afb6895
Fix ffmpeg cannot start because of loading shared lib ( #16846 )
...
* Fix #16845
Maybe after PR #16712 , ffmpeg build with JP6 seem broken with error `/usr/lib/ffmpeg/jetson/bin/ffmpeg: error while loading shared libraries: libavdevice.so.60: cannot open shared object file: No such file or directory`
This PR fixes the issue
* Adding new LD entry for ffmpeg new location
* Update Dockerfile.arm64
* Move LD config to Dockerfile arm64 instead of detector
2025-03-10 06:54:55 -06:00
Josh Hawkins
1c6700c688
Ensure audio listener is defined before trying to stop ffmpeg ( #17045 )
2025-03-09 22:01:18 -06:00
Josh Hawkins
9f9117c318
Ensure admin is default role ( #17044 )
2025-03-09 21:59:07 -06:00
Josh Hawkins
1e0295fad5
LPR tweaks ( #17046 )
2025-03-09 21:58:31 -06:00
Josh Hawkins
95b5854449
Small UI bugfix ( #17035 )
...
* test for more HA elements
* check if mobile and iOS instead of mobilesafari
* simplify
* fix for logs view
2025-03-09 07:47:10 -06:00
Josh Hawkins
cf3c0b2eb5
Prevent settings menu scroll on iOS proxy iframe from shifting entire UI ( #17024 )
2025-03-08 10:13:07 -06:00
Josh Hawkins
74ca009b0b
UI viewer role ( #16978 )
...
* db migration
* db model
* assign admin role on password reset
* add role to jwt and api responses
* don't restrict api access for admins yet
* use json response
* frontend auth context
* update auth form for profile endpoint
* add access denied page
* add protected routes
* auth hook
* dialogs
* user settings view
* restrict viewer access to settings
* restrict camera functions for viewer role
* add password dialog to account menu
* spacing tweak
* migrator default to admin
* escape quotes in migrator
* ui tweaks
* tweaks
* colors
* colors
* fix merge conflict
* fix icons
* add api layer enforcement
* ui tweaks
* fix error message
* debug
* clean up
* remove print
* guard apis for admin only
* fix tests
* fix review tests
* use correct error responses from api in toasts
* add role to account menu
2025-03-08 10:01:08 -06:00
Nicolas Mowen
6f9d9cd5a8
Fix yolov9 link ( #17007 )
2025-03-07 08:50:04 -06:00
Nicolas Mowen
09705fd1b4
Update python deps ( #17006 )
2025-03-07 06:54:53 -07:00
dependabot[bot]
d831fab381
Bump actions/setup-python from 5.3.0 to 5.4.0 ( #16184 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v5.4.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-07 06:47:15 -07:00
Josh Hawkins
0e3e2e5ccc
Add cameras filter to history view ( #16995 )
2025-03-06 19:00:15 -07:00
Chris Oelerich
f81bab8895
video['global'] can be empty resulting in a divide by zero ( #16993 )
...
* video['global'] can be empty resulting in a divide by zero
* formatting :(
2025-03-06 16:21:16 -06:00
Nicolas Mowen
433da8ffce
Update web deps ( #16983 )
...
* Update vite
* Update LuIcons
* Update radix packages
* Fix other icons
* Use correct node version
* Remove superfluous web build on python tests
* Move web build to test
2025-03-06 10:50:37 -06:00