Commit Graph

3021 Commits

Author SHA1 Message Date
Nicolas Mowen
61f4bcdcdf Merge branch 'notifications' of github.com:blakeblackshear/frigate into notifications 2024-07-22 14:17:38 -06:00
Nicolas Mowen
7e55af7d87 Handle case where native auth is not enabled 2024-07-22 14:17:30 -06:00
Nicolas Mowen
258983db6f
Fix docstring
Co-authored-by: Blake Blackshear <blake@frigate.video>
2024-07-22 14:06:21 -06:00
Nicolas Mowen
d0e46b3ce8 Improve wording 2024-07-22 12:28:25 -06:00
Nicolas Mowen
037718fb3f Add links to docs and improve formatting 2024-07-22 12:22:39 -06:00
Nicolas Mowen
710ab1ea58 Fix firefox pushes 2024-07-22 12:12:25 -06:00
Nicolas Mowen
fd0a9b3e5d Cleanup docs 2024-07-22 07:42:41 -06:00
Nicolas Mowen
2cebde6ee9 Add note about notification latency and features 2024-07-22 07:40:11 -06:00
Nicolas Mowen
4808a7d7fd Change ttl dynamically 2024-07-21 19:22:13 -06:00
Nicolas Mowen
9d8104618e Correctly unsubscribe notifications 2024-07-21 12:22:33 -06:00
Nicolas Mowen
9824cb86ba Handle cleaning up expired notification registrations 2024-07-21 12:06:51 -06:00
Nicolas Mowen
f6ba1ab6a8 Support multiple endpoints 2024-07-21 07:45:57 -06:00
Nicolas Mowen
c92c8256b1 Always open notification 2024-07-21 06:26:34 -06:00
Nicolas Mowen
367555ba98 Use js 2024-07-21 06:26:25 -06:00
Nicolas Mowen
fa8a0cc5fc Use zod form to control notification settings in the UI 2024-07-21 06:26:18 -06:00
Nicolas Mowen
104d56af25 Add maskable icon 2024-07-20 14:45:40 -06:00
Nicolas Mowen
242c254cce Make notifications config only 2024-07-20 14:45:40 -06:00
Nicolas Mowen
6fbab846af Implement push notification handling 2024-07-20 14:45:40 -06:00
Nicolas Mowen
f946690520 Implement webpush from server 2024-07-20 14:45:40 -06:00
Nicolas Mowen
5398a661ff Implement public key encoding 2024-07-20 14:45:40 -06:00
Nicolas Mowen
afe2032085 Implement VAPID key generation 2024-07-20 14:45:35 -06:00
Nicolas Mowen
d40f177b77 Implement saving of notification tokens 2024-07-20 14:45:28 -06:00
Nicolas Mowen
fbc35a36b1 Add field for users notification tokens 2024-07-20 08:24:11 -06:00
Nicolas Mowen
b4633dbaae Add notification config 2024-07-20 08:24:06 -06:00
Nicolas Mowen
41a0518cfb Handle image and link 2024-07-20 08:24:06 -06:00
Nicolas Mowen
4fd9a38be7 Add fields 2024-07-20 08:24:06 -06:00
Nicolas Mowen
c918382d19 Implement dispatching 2024-07-20 08:24:00 -06:00
Nicolas Mowen
0fd1ad0537 Register for push notifications 2024-07-20 08:24:00 -06:00
Nicolas Mowen
999d676e0a Add basic notification implementation 2024-07-20 08:24:00 -06:00
Nicolas Mowen
daa3d5b2c4 Setup basic notification page 2024-07-20 08:23:56 -06:00
Nicolas Mowen
0d78afe06e Fix calendar 2024-07-18 15:50:48 -06:00
spanner3003
a1a2bb35c7 Initial support for Hailo-8L (#12431)
* Initial support for Hailo-8L

Added file for Hailo-8L detector including dockerfile, h8l.mk, h8l.hcl, hailo8l.py, ci.yml and ssd_mobilenat_v1.hef as the inference network.

Added files to help with the installation of Hailo-8L dependences like generate_wheel_conf.py, requirements-wheel-h8l.txt and modified setup.py to try and work with any hardware.

Updated docs to reflect Initial Hailo-8L support including oject_detectors.md,  hardware.md and installation.md.

* Update .github/workflows/ci.yml

typo h8l not arm64

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Update docs/docs/configuration/object_detectors.md

Clarity for the end user and correct uses of words

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Update docs/docs/frigate/installation.md

typo

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* update Installation.md to clarify Hailo-8L installation process.

* Update docs/docs/frigate/hardware.md

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

* Update hardware.md add Inference time.

* Oops no new line at the end of the file.

* Update docs/docs/frigate/hardware.md typo

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

* Update dockerfile to download the ssd_modilenet_v1 model instead of having it in the repo.

* Updated dockerfile so it dose not download the model file.

add function to download it at runtime.

update model path.

* fix formatting according to ruff and removed unnecessary functions.

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2024-07-18 15:48:36 -06:00
Nicolas Mowen
74041e179d Use grid for searches (#12386) 2024-07-18 15:48:36 -06:00
Nicolas Mowen
18ec2aef64 Use thumbnails instead of review images for search (#12381) 2024-07-18 15:48:36 -06:00
Jason Hunter
b42e920bd4 Chroma logs in Frontend (#12131)
* Chroma logs in frontend

* fix lint
2024-07-18 15:48:36 -06:00
Daniel
a57d1a6929 Use 127.0.0.1 for chroma (#12135) 2024-07-18 15:48:36 -06:00
Nicolas Mowen
59c7240b3d Semantic Search Frontend (#12112)
* Add basic search page

* Abstract filters to separate components

* Make searching functional

* Add loading and no results indicators

* Implement searching

* Combine account and settings menus on mobile

* Support using thumbnail for in progress detections

* Fetch previews

* Move recordings view and open recordings when search is selected

* Implement detail pane

* Implement saving of description

* Implement similarity search

* Fix clicking

* Add date range picker

* Fix

* Fix iOS zoom bug

* Mobile fixes

* Use text area

* Fix spacing for drawer

* Fix fetching previews incorrectly
2024-07-18 15:48:35 -06:00
Jason Hunter
8a8e0178c6 reindex events in batches to reduce memory and cpu load (#12124) 2024-07-18 15:46:44 -06:00
Jason Hunter
2ac007c552 Semantic Search API (#12105)
* initial event search api implementation

* fix lint

* fix tests

* move chromadb imports and pysqlite hotswap to fix tests

* remove unused import

* switch default limit to 50

* fix events accidently pulling inside chroma results loop
2024-07-18 15:46:44 -06:00
Jason Hunter
d442b78011 Semantic Search for Detections (#11899)
* Initial re-implementation of semantic search

* put docker-compose back and make reindex match docs

* remove debug code and fix import

* fix docs

* manually build pysqlite3 as binaries are only available for x86-64

* update comment in build_pysqlite3.sh

* only embed objects

* better error handling when genai fails

* ask ollama to pull requested model at startup

* update ollama docs

* address some PR review comments

* fix lint

* use IPC to write description, update docs for reindex

* remove gemini-pro-vision from docs as it will be unavailable soon

* fix OpenAI doc available models

* fix api error in gemini and metadata for embeddings
2024-07-18 15:46:44 -06:00
Nicolas Mowen
f2c46408c4
Add more icons to event icon types (#12507) 2024-07-18 16:11:05 -05:00
Josh Hawkins
e5dc476c1e
Disable web assembly for jsmpeg player (#12502) 2024-07-18 10:50:30 -05:00
Josh Hawkins
eb2363b93d
Reset preferred live modes to defaults on window visibility change (#12499) 2024-07-18 07:22:31 -06:00
Josh Hawkins
7bfebd5b61
Use canvas2d renderer for jsmpeg player (#12498) 2024-07-18 06:59:12 -06:00
Josh Hawkins
6addf4d88b
User-selectable weekday start (Sunday/Monday) for review calendar (#12491) 2024-07-17 11:38:12 -05:00
Nicolas Mowen
c56e7e7c6c
UI fixes (#12490)
* Improve export handling when errors occur

* Fix mobile zooming

* Handle recordings buffering

* Cleanup

* Url encode export name

* Start with actual name in input

* Fix buffering
2024-07-17 07:39:37 -06:00
Josh Hawkins
78c15f3020
Prevent onPlaying from being called repeatedly in jsmpeg player (#12482) 2024-07-16 13:40:11 -06:00
Nicolas Mowen
30f0f73a4e
Add camera name to recordings log (#12480)
* Add camera name to recordings log

* Formatting
2024-07-16 11:56:09 -05:00
Nicolas Mowen
e9da453190
Don't allow backwards recordings (#12477) 2024-07-16 10:04:33 -05:00
Nicolas Mowen
91f62cf8ce
Fix ui config migration (#12476) 2024-07-16 08:45:11 -05:00