blakeblackshear.frigate/frigate/api
Nicolas Mowen 690ee3dc15 Implement support for notifications (#12523)
* Setup basic notification page

* Add basic notification implementation

* Register for push notifications

* Implement dispatching

* Add fields

* Handle image and link

* Add notification config

* Add field for users notification tokens

* Implement saving of notification tokens

* Implement VAPID key generation

* Implement public key encoding

* Implement webpush from server

* Implement push notification handling

* Make notifications config only

* Add maskable icon

* Use zod form to control notification settings in the UI

* Use js

* Always open notification

* Support multiple endpoints

* Handle cleaning up expired notification registrations

* Correctly unsubscribe notifications

* Change ttl dynamically

* Add note about notification latency and features

* Cleanup docs

* Fix firefox pushes

* Add links to docs and improve formatting

* Improve wording

* Fix docstring

Co-authored-by: Blake Blackshear <blake@frigate.video>

* Handle case where native auth is not enabled

* Show errors in UI

---------

Co-authored-by: Blake Blackshear <blake@frigate.video>
2024-08-29 20:19:50 -06:00
..
__init__.py Update flask and restructure into api folder with apis put into separate folders (#10193) 2024-03-02 22:10:37 +00:00
app.py Implement support for notifications (#12523) 2024-08-29 20:19:50 -06:00
auth.py strip whitespaces when loading secrets (#12393) 2024-07-12 07:36:15 -06:00
event.py Semantic Search API (#12105) 2024-08-29 20:19:50 -06:00
export.py UI fixes (#12490) 2024-07-17 07:39:37 -06:00
media.py Catch case where recording starts right at end of request (#12956) 2024-08-11 08:32:17 -05:00
notification.py Implement support for notifications (#12523) 2024-08-29 20:19:50 -06:00
preview.py Preview improvements (#10384) 2024-03-11 18:31:05 -05:00
review.py Prevent pandas overflow and runtime errors from division by zero/NaN (#12591) 2024-07-24 08:58:42 -06:00