Nicolas Mowen
9514a3d089
UI tweaks ( #11940 )
...
* Enforce events must have snapshots for frigate+
* Open docs links in separate tabs
* Reload after restart to the baseUrl
2024-06-13 16:11:25 -06:00
Josh Hawkins
349b27b764
Draggable grid fixes ( #11944 )
...
* Use globals on grid for resizing/dragging flags
* remove unneeded useeffect
2024-06-13 13:11:48 -06:00
Nicolas Mowen
e56ce993df
UI Tweaks ( #11931 )
...
* Show number of items instead of dot
* Don't call error when connection has been closed on purpose
* Use motion icon for motion
* Show text on tablets as well
2024-06-13 09:45:07 -05:00
Josh Hawkins
187d98a153
Ensure uri components are decoded ( #11920 )
2024-06-12 16:03:00 -05:00
Josh Hawkins
2d4d1584fd
Activity indicator for alerts/detections count when loading ( #11914 )
...
* Activity indicator for alerts/detections count when loading
* Return zeros if summary is unavailable
2024-06-12 12:30:22 -06:00
Josh Hawkins
c75fc40833
Activity indicator whenever preferred live mode changes ( #11913 )
2024-06-12 11:36:11 -06:00
Josh Hawkins
272a21ffab
Add scrollbar class to preview row/column ( #11890 )
2024-06-11 13:45:45 -05:00
Josh Hawkins
a8e901b63c
UI fixes ( #11883 )
...
* Keep as optional prop
* put zones inside of scrollable container
2024-06-11 09:05:50 -06:00
Josh Hawkins
bb359f67a4
Review UI improvements ( #11882 )
2024-06-11 09:46:05 -05:00
Nicolas Mowen
c9d253a320
Review improvements ( #11879 )
...
* Update segment even when number of active objects is the same
* add score to frigate+ chip
* Add support for selecting zones
* Add api support for filtering on zones
* Adjust UI
* Update filtering logic
* Clean up
2024-06-11 08:19:17 -06:00
Nicolas Mowen
962d213699
UI changes ( #11863 )
...
* Delay live ready being dropped
* Handle case of removed camera
2024-06-10 20:20:58 -05:00
Josh Hawkins
18d561da0e
Live player fixes and improvements ( #11855 )
...
* Only set stalled error when player is visible
* Show activity indicator before live player starts playing
* remove comment
* keep gradients when still image is showing
* fix chips
* red dot and outline
2024-06-10 17:24:25 -06:00
Josh Hawkins
5f3c35209d
Prevent editing of object mask type on existing mask ( #11829 )
2024-06-09 06:28:38 -06:00
Josh Hawkins
e1bedf30bf
Make sure camera is always set in settings ( #11812 )
2024-06-07 13:34:29 -06:00
Josh Hawkins
859682c8d1
Change breakpoint for desktop motion review columns ( #11808 )
2024-06-07 09:40:32 -06:00
Josh Hawkins
804edceec2
Retain 3 columns on desktop motion review ( #11805 )
2024-06-07 06:51:09 -06:00
Josh Hawkins
9f181014a1
UI tweaks ( #11795 )
...
* Prevent "undefined" from being displayed in searchParams string
* Show message for no motion data
* Use theme colors for no preview found divs
2024-06-07 05:57:15 -06:00
Blake Blackshear
4e569ad644
Update deps ( #11799 )
...
* web deps
* python deps
2024-06-07 05:50:45 -06:00
Josh Hawkins
8cc170f027
Draggable grid layout bugfixes ( #11777 )
...
* Maintain aspect ratio when overdragging
* add existing x value
* Better handle portrait and wide cam aspect ratios
2024-06-06 06:26:02 -06:00
Josh Hawkins
8c96dfe1d1
Some small layout tweaks for portrait cams and motion review ( #11766 )
...
* Some small layout tweaks for portrait cams and motion review
* spans
* fix desktop
2024-06-05 09:53:17 -05:00
Nicolas Mowen
0181d1e377
Don't show preview for birdseye ( #11749 )
...
* Don't show preview for birdseye
* Retry ws connection on error
* Flex wrap cameras labels
2024-06-04 14:00:04 -06:00
Josh Hawkins
3f0a954856
Try webrtc when mse fails with decoding error ( #11745 )
...
* Try webrtc if enabled and mse fails with decoding error
* default to jsmpeg if webrtc times out
* check for mic first
2024-06-04 09:11:32 -06:00
Nicolas Mowen
2875e84cb5
UI Fixes ( #11742 )
...
* Allow deleting failed in progress exports
* Fix comparison and preview retrieval
* Fix stretching of event cards
* Reset edit state when group changes
* Allow specifying group
2024-06-04 09:10:19 -06:00
Nicolas Mowen
ea0292b911
Ensure review padding is consistently applied ( #11728 )
2024-06-03 17:10:39 -06:00
Josh Hawkins
e6d1ad0ac5
Theme scrollbars with tailwind-scrollbar ( #11723 )
2024-06-03 12:43:30 -06:00
Josh Hawkins
f65ddccd6e
Ensure debug switches match loaded options ( #11721 )
2024-06-03 08:51:23 -06:00
Josh Hawkins
13f250f630
Use valid/unique css identifier for jsmpeg canvas elements ( #11704 )
2024-06-03 05:39:19 -06:00
Josh Hawkins
1e80342c41
UI tweaks and bugfixes ( #11692 )
...
* UI tweaks and bugfixes
* fix linter complaints in unmodified files
2024-06-02 12:00:59 -05:00
Josh Hawkins
beefc51361
container for birdseye aspect and auto width for mobile time pill ( #11685 )
2024-06-01 21:13:37 -06:00
Nicolas Mowen
8418b65f34
Fix path containing too many / ( #11680 )
2024-06-01 08:24:20 -05:00
Soren L. Hansen
6e53c109b6
feat: apply ingress path to app paths ( #11677 )
...
When serving Frigate at a subpath, the paths that show in the URL bar
and that wind up in your browser history are anchored at the web root.
I.e. you go to `https://example.com/frigate/ `, it changes to
`https://example.com/ `, and clicking around works as expected, but the
`frigate/` prefix is gone.
It's confusing if you don't know that the URL's are entirely virtual.
Also, your browser history is useless, since the URL's point to e.g.
`https://example.com/#kitchen `, but visiting that URL will not hit
`/frigate/` at all.
Most of the work is already done. Nginx injects javascript to set
`window.baseURL` based on the X-Ingress-Path header. This change passes
that to BrowserRouter, so that it'll be part of the URL's it shows.
Fixes #4526
2024-06-01 07:08:01 -06:00
Blake Blackshear
7b99bbfd28
Update deps ( #11679 )
...
* update web deps
* update actions
* automatic stable tag publishing
* python deps
* typo
2024-06-01 06:39:05 -06:00
Nicolas Mowen
758df09da3
Handle error when live view stalls ( #11665 )
...
* Handle error when live view stalls
* Manually calculate buffer timeout
* Formatting
2024-05-31 08:52:42 -05:00
Josh Hawkins
a3d116e70e
stay in fullscreen when navigating to a camera ( #11666 )
2024-05-31 07:58:33 -05:00
Josh Hawkins
8c325801ef
fix race where camera change effect sometimes was called after layout building ( #11656 )
2024-05-30 14:17:00 -06:00
Tom B
35946d332d
Fix Statusbar rendering NaN% for unsupported GPUs ( #11655 )
2024-05-30 13:10:24 -06:00
Nicolas Mowen
142641b387
Adjust nginx proc count based on available CPUs ( #11653 )
...
* Restrict nginx to 4 processes if more are available
* Fix bash
* Different sed structure
* Limit ffmpeg thread counts for secondary ffmpeg processes
* Add up / down keyboard shortcut
2024-05-30 12:34:01 -05:00
Josh Hawkins
402c16e7df
don't sleep mobile devices when fullscreen ( #11652 )
2024-05-30 09:37:08 -06:00
Nicolas Mowen
3e6b8c23bc
Update dialog sizing for plus dialog ( #11650 )
2024-05-30 09:26:15 -05:00
Nicolas Mowen
1c5e7ebb48
UI Fixes ( #11648 )
...
* Add cursor pointer to preset dropdown
* Catch key index
* Fix iOS mime type
2024-05-30 07:41:37 -06:00
Josh Hawkins
9cb3e11df6
non-modal dropdown menus ( #11649 )
2024-05-30 07:39:14 -06:00
Josh Hawkins
a763ae303d
static handlebar size to better match figma ( #11638 )
2024-05-29 21:34:19 -05:00
Nicolas Mowen
ec88752666
Don't show mark reviewed button when all items are in progress ( #11636 )
...
* Don't show mark reviewed button when all items are in progress
* Fix unknown preview file
2024-05-29 19:54:56 -05:00
Josh Hawkins
4135cabf58
assume 1 grid column by default on live dashboard ( #11630 )
2024-05-29 16:03:59 -06:00
Josh Hawkins
37dd3fc25b
fix birdseye fullscreen ( #11625 )
2024-05-29 14:18:51 -05:00
Nicolas Mowen
9e8202874e
Remove live mode from config ( #11618 )
...
* Use preferred mode as default
* Remove live mode from config
* Add deer icon
* remove from config schema
2024-05-29 13:06:48 -05:00
Nicolas Mowen
9245c5cb56
Improve efficiency of log and metrics pages ( #11622 )
...
* Rework stats pages
* Handle limited data case
* Handle page and arrow keys
* Adjust sizing
2024-05-29 12:05:39 -06:00
Josh Hawkins
f1c0422d5e
Various bugfixes and improvements ( #11624 )
...
* various bugfixes and improvements
* add separator
* no separator
2024-05-29 12:05:28 -06:00
Josh Hawkins
3dd401f57a
string or list for camera groups ( #11616 )
2024-05-29 09:19:05 -05:00
Nicolas Mowen
6dd9660ecd
Settings rework ( #11613 )
...
* refactor settings to be consistent with other page structure
* Implement non auto live
* Adjust missing view
* Quick fix
* Clarify settings options
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update naming and config restarts
* Rename
---------
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2024-05-29 08:01:39 -06:00
Nicolas Mowen
61f79afae9
Always use mse unless webrtc is requrested ( #11605 )
2024-05-28 17:35:36 -05:00
Nicolas Mowen
5513addab8
UI Fixes ( #11602 )
...
* Fix playback rate not showing
* Fix export image
* Formatting
* Formatting
2024-05-28 13:45:08 -06:00
Nicolas Mowen
d064e44571
Fix iOS fullscreen ( #11600 )
2024-05-28 13:10:42 -06:00
Josh Hawkins
ced5ab203f
ensure the correct container is used for canvas calcs ( #11599 )
2024-05-28 12:41:51 -06:00
Nicolas Mowen
4236580672
UI fixes ( #11596 )
...
* Fix using undefined search params
* Fix calendar selection
* Simplify
2024-05-28 13:15:31 -05:00
Nicolas Mowen
8546d3d315
Simplify timezone math ( #11586 )
...
* Use utc minutes
* Cleanup
2024-05-28 09:09:17 -05:00
Josh Hawkins
2fda383782
clean up unneeded code ( #11587 )
2024-05-28 08:05:04 -06:00
Josh Hawkins
4165639308
Live view tweaks and jsmpeg bugfix ( #11584 )
...
* live view tweaks and jsmpeg bugfix
* use container aspect in check
2024-05-28 08:11:35 -05:00
Nicolas Mowen
6913cc6abc
Handle case where preview doesn't automatically changeover ( #11583 )
2024-05-28 08:11:23 -05:00
Nicolas Mowen
d64633889b
Fixes ( #11575 )
...
* Fix settings icon
* Handle out of resources
2024-05-27 21:27:01 -05:00
Josh Hawkins
c1330704cf
Make jsmpeg players fully responsive ( #11567 )
...
* make jsmpeg canvas responsive
* make birdseye responsive too
2024-05-27 16:18:04 -06:00
Nicolas Mowen
5900a2a4ba
Add ability to interact with review items in events list ( #11562 )
...
* Add ability to interact with review items
* Ignore on iOS
* Don't load metadata
* Bug fixes
2024-05-27 17:12:57 -05:00
Nicolas Mowen
a86e22e0fc
Fix live view updating when it shouldn't be ( #11561 )
...
* Simplify live image update logic
* Fix case where go2rtc is not setup
2024-05-27 09:50:02 -06:00
Josh Hawkins
c07f6999ca
refresh editor value when config is updated ( #11559 )
2024-05-27 09:31:58 -06:00
Nicolas Mowen
be147d218b
Fix optimistic state ( #11556 )
2024-05-27 07:59:26 -05:00
Josh Hawkins
7a9ee63bd3
save video dimensions in onLoadedData instead of onLoadedMetadata ( #11545 )
2024-05-26 17:48:33 -06:00
Nicolas Mowen
c2eac10925
Tweaks and fixes ( #11541 )
...
* Update config version to be stored inside of the config
* Don't remove items from list when navigating back
* Use video api instead of webps for live current hour filmstrip
* Check that the config file is writable
* Show camera name when camera is offline
* Show camera name when offline
* Cleanup
2024-05-26 16:49:12 -05:00
Josh Hawkins
63d81bef45
redirect non existent paths to live view ( #11536 )
2024-05-26 10:17:52 -06:00
Josh Hawkins
3f171e7670
bugfixes ( #11526 )
2024-05-25 20:37:53 -06:00
Josh Hawkins
681c7367d7
ensure resizable handles are above jsmpeg canvas elements ( #11519 )
2024-05-25 15:15:30 -05:00
Josh Hawkins
058e9a3ba0
calculate aspect ratio of container to prevent overflow ( #11495 )
2024-05-23 07:30:16 -06:00
Nicolas Mowen
01e387ee9a
Adjust date math ( #11485 )
2024-05-22 10:06:40 -06:00
Nicolas Mowen
db496ec525
Fix current hour check for uneven timezones ( #11484 )
2024-05-22 09:27:00 -06:00
Nicolas Mowen
c935eb0c79
Update Deps ( #11480 )
...
* Update web deps
* Update python deps
* revert matplotlib
2024-05-22 08:41:43 -06:00
Nicolas Mowen
c49be0a47f
UI tweaks / fixes ( #11479 )
...
* Update coloring of logs button
* Fix paging after submitting
* Fix sorting
* Add icon
2024-05-22 07:14:48 -06:00
Josh Hawkins
910c85b1c0
Clean up config editor ( #11474 )
...
* clean up config editor
* remove unneeded size
2024-05-21 13:06:17 -05:00
Nicolas Mowen
cc3bbcc303
Improve preview loading ( #11469 )
...
* Improve preview loading
* Ensure it works when selecting dates
2024-05-21 08:00:29 -05:00
Nicolas Mowen
2a86969f54
UI Tweaks ( #11459 )
...
* refresh dashboard activity on visibility change
* Make video controls more consistent
* Use const
2024-05-20 18:26:17 -05:00
Josh Hawkins
e543cc642c
add clarifying message and docs link around motion masks ( #11452 )
2024-05-20 23:18:01 +05:30
Nicolas Mowen
7413810fa4
Don't timeshift recordings ( #11449 )
2024-05-20 20:14:39 +05:30
Meow
6e39d55dd3
cspell fixes ( #11447 )
2024-05-20 07:37:56 -06:00
Josh Hawkins
84e823c62f
add padding to bottom of drawer for iOS PWA only ( #11446 )
2024-05-20 08:06:11 -05:00
Nicolas Mowen
2a16d5593a
Fix timezone conversion logic ( #11444 )
...
* Fix timezone conversion logic
* Use function for consistency
* Cleanup
2024-05-20 07:02:19 -06:00
Nicolas Mowen
4c87ef56c7
Support timezones ( #11434 )
...
* Handle offset timezones
* Fix previews loading
* Cleanup
* remove unused
2024-05-19 17:08:32 -06:00
Josh Hawkins
bca01cb43c
guard clause for api error ( #11436 )
2024-05-19 17:08:05 -06:00
Nicolas Mowen
c1560308bf
UI improvements ( #11429 )
...
* Respect classname when no preview is found
* Don't check for go2rtc info if camera is not restramed
* Show error banner when playback fails
* Add keyboard shortcut for fullscreen
2024-05-19 07:39:17 -05:00
Josh Hawkins
171a142adb
optional env var for easier development ( #11426 )
2024-05-18 18:49:38 -06:00
Nicolas Mowen
0810873988
Fix broken links ( #11425 )
2024-05-18 18:09:55 -05:00
Nicolas Mowen
16f1c575d7
UI Fixes ( #11423 )
...
* Settings fixes
* Fix formatting
2024-05-18 14:19:32 -06:00
Nicolas Mowen
3ce8816b9a
Update auth settings UI ( #11421 )
2024-05-18 14:05:28 -05:00
Josh Hawkins
5c609c7051
Bugfixes ( #11420 )
...
* mse and misc messages fixes
* clean up
2024-05-18 12:55:17 -06:00
Nicolas Mowen
8cddfc27fb
UI fixes ( #11417 )
...
* Set max width on the problems area in status bar and use unique keys so they do not duplicate
* Fix possibly missing media info
* Show full row of items on tablet
* remove debugging logic
2024-05-18 11:54:46 -05:00
Blake Blackshear
1133202cbd
Auth! ( #11347 )
...
* reload the window on 401
* backend apis for auth
* add login page
* re-enable web linter
* fix login page routing
* bypass csrf for internal auth endpoint
* disable healthcheck in devcontainer target
* include login page in vite build
* redirect to login page on 401
* implement config for users and settings
* implement JWT actual secret
* add brute force protection on login
* add support for redirecting from auth failures on api calls
* return location for redirect
* default cookie name should pass regex test
* set hash iterations to current OWASP recommendation
* move users to database instead of config
* config option to reset admin password on startup
* user management UI
* check for deleted user on refresh
* validate username and fixes
* remove password constraint
* cleanup
* fix user check on refresh
* web fixes
* implement auth via new external port
* use x-forwarded-for to rate limit login attempts by ip
* implement logout and profile
* fixes
* lint fixes
* add support for user passthru from upstream proxies
* add support for specifying a logout url
* add documentation
* Update docs/docs/configuration/authentication.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
* Update docs/docs/configuration/authentication.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2024-05-18 10:36:13 -06:00
Nicolas Mowen
97f5ba0145
Update go2rtc and implement stream probe to only show 2 way talk when supported ( #11407 )
...
* Support two way talk validation
* Fix handling
* Use go2rtc stream info to infer audio output
* Update go2rtc
* Update bundle policy
* Formatting
2024-05-17 07:30:22 -06:00
Nicolas Mowen
07eef9b139
Recording fixes ( #11406 )
...
* Fix infinite review items when record is disabled
* Fix showing loading icon while continuing to scrub
* Fix recording layout previews
2024-05-17 07:26:42 -06:00
Josh Hawkins
ba03d3b3e4
Mobile/PWA spacing fixes ( #11403 )
...
* spacing on mobile landscape
* better icon placement when running as pwa
* better icon placement when running as pwa
* portrait padding only
2024-05-16 16:00:14 -06:00
Josh Hawkins
dd0dee620a
spacing on mobile landscape ( #11397 )
2024-05-16 10:51:57 -06:00
Josh Hawkins
525de1a467
Add autotracking enable/disable button to live view ( #11396 )
2024-05-16 08:32:39 -06:00
Josh Hawkins
16ead917ea
Preview bugfixes ( #11384 )
...
* memoize initial time range and check for window visibility
* assume window is visible with previewthumbnailplayer
2024-05-15 09:51:58 -06:00
Josh Hawkins
1757f4cb04
Use prettier-plugin-tailwindcss ( #11373 )
...
* use prettier-plugin-tailwindcss to keep class names organized
* use prettierrc file to ensure formatting on save works with vscode
* classname reorder with prettier-plugin-tailwindcss
2024-05-14 09:06:44 -06:00