Commit Graph

3175 Commits

Author SHA1 Message Date
Rui Alves
8f8d8e1e4c Removed flask app in favour of FastAPI app. Implemented FastAPI middleware to check CSRF, connect and disconnect from DB. Added middleware x-forwared-for headers 2024-09-19 10:17:14 +01:00
Rui Alves
655d24a653 Convert auth endpoints to FastAPI 2024-09-19 08:41:59 +01:00
Rui Alves
11186b4e70 Convert app endpoints to FastAPI 2024-09-17 10:14:04 +01:00
Rui Alves
747f72b0fc Convert app endpoints to FastAPI 2024-09-17 10:04:31 +01:00
Rui Alves
db2d65b78e Use body for multiple events endpoints (create and end event) 2024-09-17 09:34:43 +01:00
Rui Alves
55d33cebb8 Use body for multiple events endpoints 2024-09-16 16:53:22 +01:00
Rui Alves
1b601b8c35 Convert events endpoints to FastAPI 2024-09-16 10:44:03 +01:00
Rui Alves
cc259736da Fix path parameters 2024-09-15 18:48:36 +01:00
Rui Alves
ce1c048adc Convert export endpoints to FastAPI 2024-09-15 18:45:37 +01:00
Rui Alves
349891b0a6 Convert remaining review API endpoints to FastAPI 2024-09-15 18:29:42 +01:00
Rui Alves
640dce6bc2 Convert first review API endpoints to FastAPI 2024-09-15 17:40:23 +01:00
Rui Alves
023f1431f2 Convert all notifications API endpoints to FastAPI 2024-09-15 17:08:41 +01:00
Rui Alves
1f11d825ef Merge branch 'fastapi-poc' into fastapi-poc-media-endpoints
# Conflicts:
#	frigate/api/media.py
2024-09-15 14:46:23 +01:00
Rui Alves
aa82e56db6 Merge branch 'dev' into fastapi-poc 2024-09-15 14:40:24 +01:00
Josh Hawkins
c17524bc3c
Explore tweaks (#13744)
* Fix loading indicator and explore view when entering a search term

* don't hide iOS video mute button

* use searchTerm instead of search for trigger
2024-09-14 14:08:46 -06:00
Nicolas Mowen
d5acd11164
Ffmpeg fixes (#13739)
* Only include hwaccel args if detect is being used

* Include both libmfx libraries
2024-09-14 13:22:03 -05:00
Josh Hawkins
2a66923524
Explore pane infinite loading (#13738)
* swr for infinite loading

* search detail language change

* drawer padding

* spacing

* center calendar

* padding

* catch error

* use limit const
2024-09-14 07:42:56 -06:00
Nicolas Mowen
088a0fb4a5
Ffmpeg cleanup (#13737) 2024-09-14 07:03:39 -06:00
Nicolas Mowen
4f10f82580
Install onevpl tools for intel (#13730)
* Install onevpl tools for intel

* Use updated intel lib
2024-09-13 21:18:56 -05:00
Josh Hawkins
5aee70ac7a
Explore view fixes (#13726)
* return description consistently under data object

* description type

* navigate to history view from explore video tab
2024-09-13 14:44:31 -06:00
Nicolas Mowen
5ff476c6f9
Configurable ffmpeg (#13722)
* Install multiple ffmpeg versions and add config to make it configurable

* Update docs

* Run ffprobe too

* Cleanup

* Apply config to go2rtc as well

* Fix ffmpeg bin

* Docs

* Restore path

* Cleanup env var

* Fix ffmpeg path for encoding

* Fix export

* Formatting
2024-09-13 15:14:51 -05:00
Nicolas Mowen
641f1244dd
Update ffmpeg (#13720) 2024-09-13 09:55:42 -05:00
Nicolas Mowen
a1fd29b34b
Fix filter args (#13718)
* Fix filter args in events

* Fix export arg

* Don'
t fail

* Fix filter buttons

* Fix right click

* Formatting
2024-09-13 08:25:29 -05:00
Josh Hawkins
90c1cc3e3b
Ensure all cameras switch enables/disables each individual switch (#13716) 2024-09-13 06:07:11 -06:00
Josh Hawkins
ba49054cd7
Change camera offline error display and message (#13712)
* Don't display offline message in live player if camera is restreamed

* Update error message

* simplify message
2024-09-13 05:57:30 -06:00
Rui Alves
2187765e0b Merge branch 'fastapi-poc' into fastapi-poc-media-endpoints
# Conflicts:
#	web/src/components/overlay/dialog/FrigatePlusDialog.tsx
2024-09-13 08:52:44 +01:00
Rui Alves
b87fc3304c Merge branch 'dev' into fastapi-poc 2024-09-13 08:51:53 +01:00
Josh Hawkins
61854f1d6a
UI tweaks (#13711)
* Fix dialog autofocus problems on mobile

* set font size to prevent mobile zooming

* Use arrow keys to navigate Explore view
2024-09-12 21:07:35 -06:00
Josh Hawkins
1f9ba1d625
Use MobilePage for camera group editor (#13710)
* Use MobilePage for camera group editor

* alignment

* clear editing group name
2024-09-12 16:06:56 -05:00
Josh Hawkins
644ea7be4a
UI tweaks (#13705)
* mobile page component

* object lifecycle pane tweaks

* use mobile page component for review and search detail

* fix frigate+ dialog when using mobile page component

* small tweaks
2024-09-12 13:39:35 -06:00
Nicolas Mowen
87ab4e7c9b
UI Fixes (#13703)
* Respect ui configured timezone

* Non alert videos are always 16:9
2024-09-12 14:28:15 -05:00
Nicolas Mowen
d84e3cacca
UI Improvements and Tweaks (#13689)
* Improve image loading by not loading when off screen

* Add share menu to export

* Add share button and tidy up review detail lists

* Fix missing key

* Use query args for review filter

* Add object lifecycle to explore dialog

* Adjust sizing

* Simplify share button

* Always show snapshot but hide buttons for frigate+ if not applicable

* Handle case when user switches to element missing the previously selected tab

* Handle cases where share is not available

* Fix logic
2024-09-12 09:46:29 -05:00
Rui Alves
abf9e76d77 Merge branch 'fastapi-poc' into fastapi-poc-media-endpoints
# Conflicts:
#	web/src/components/overlay/dialog/FrigatePlusDialog.tsx
#	web/src/pages/SubmitPlus.tsx
2024-09-12 13:51:43 +01:00
Rui Alves
b04f6938b9 Merge branch 'dev' into fastapi-poc 2024-09-12 13:48:58 +01:00
Josh Hawkins
b4acf4f341
Use tracked object instead of event language in docs and UI (#13685)
* Verbiage update: use tracked object instead of event

* tweaks
2024-09-11 18:53:58 -06:00
Nicolas Mowen
62657ad05a
Ensure detections are not immediately deleted (#13683)
* Ensure detections are not immediately deleted

* Formatting
2024-09-11 15:46:24 -05:00
Nicolas Mowen
f3784505e0
Explore page optimizations (#13682)
* Fix video scaling

* Simplify similarity searching

* Hide source filter when doing similarity search

* Fix up

* Remove frigate plus view

* Add icons to detail tabs

* Cleanup
2024-09-11 14:20:41 -05:00
Josh Hawkins
863f51363a
Explore UI tweaks (#13679)
* Loading indicators and filter bar tweaks

* remove unnecessary bits from search thumbnail

* simplify

* add video loading indicator

* clean up
2024-09-11 11:32:45 -06:00
Nicolas Mowen
22ee6bb137
Handle middle mouse button clicks (#13678)
* Handle middle mouse button clicks

* Fix up
2024-09-11 12:26:01 -05:00
Nicolas Mowen
3972642ba0
Refactor search details into Explore Page (#13665) 2024-09-11 08:41:16 -06:00
Rui Alves
1db3451642 Merge branch 'fastapi-poc' into fastapi-poc-media-endpoints 2024-09-10 21:02:00 +01:00
Rui Alves
f414cba9ba Merge branch 'dev' into fastapi-poc 2024-09-10 21:01:50 +01:00
Josh Hawkins
e016bd6900
Find similar footage from review item snapshots (#13662)
* Find similar footage from review item snapshots

* Include confidence score for similarity search
2024-09-10 12:53:25 -06:00
Nicolas Mowen
d2588d9de4
Fix search detail pane (#13658) 2024-09-10 13:38:58 -05:00
Rui Alves
8e4a70d9e9 Merge branch 'fastapi-poc' into fastapi-poc-media-endpoints 2024-09-10 19:08:36 +01:00
Rui Alves
30f45fe9f3 Merge branch 'dev' into fastapi-poc 2024-09-10 19:08:04 +01:00
Nicolas Mowen
07d1692f2b
Make notifications toggleable via MQTT (#13657)
* Add ability to toggle mqtt state from MQTT / ws

* Listen to notification config updates

* Add docs for notifications
2024-09-10 11:24:44 -06:00
Nicolas Mowen
8db9824842
Don't save preview frames if recording is not enabled (#13656)
* Simplify check

* Don't write frames

* Write frames only if recording enabled
2024-09-10 11:12:42 -06:00
Nicolas Mowen
c8521554c8
Refactor Search Page (#13645)
* Always enable search page

* Always show eents when searching

* No default search background

* Center and show all filters when semantic search is not enabled

* Limit number of default items shown

* Adjust search options

* Add support for sub label filtering

* Separate out filters and clean up detail pane

* Tablet cleanup

* Fix current hour search preview

* Handle single lists

* Cleanup api search
2024-09-10 10:23:20 -06:00
Nicolas Mowen
ceb7aa8b36
Improve handling of empty frames (#13651) 2024-09-10 08:39:37 -05:00