Commit Graph
100 Commits
Author SHA1 Message Date
Josh HawkinsandGitHub 8e7b83d2f1 Display messages when no events exist (#12694)
* Display message in desktop events list when no events exist

* Add message for when no events are found on plus view

* validating check

* activity indicator check

* clarify error message
2024-07-31 14:08:07 -06:00
Josh HawkinsandGitHub 81139e8f47 Add filmstrip video/image toggle to general settings (#12608) 2024-07-25 08:34:39 -05:00
Josh HawkinsandGitHub 51a1526146 loitering_time can be zero (#12599) 2024-07-24 14:25:01 -05:00
Josh HawkinsandGitHub 6de426c697 Prevent pandas overflow and runtime errors from division by zero/NaN (#12591)
* Prevent pandas overflow and runtime errors from division by zero/NaN

* remove pysqlite3
2024-07-24 08:58:42 -06:00
Josh HawkinsandGitHub e5dc476c1e Disable web assembly for jsmpeg player (#12502) 2024-07-18 10:50:30 -05:00
Josh HawkinsandGitHub eb2363b93d Reset preferred live modes to defaults on window visibility change (#12499) 2024-07-18 07:22:31 -06:00
Josh HawkinsandGitHub 7bfebd5b61 Use canvas2d renderer for jsmpeg player (#12498) 2024-07-18 06:59:12 -06:00
Josh HawkinsandGitHub 6addf4d88b User-selectable weekday start (Sunday/Monday) for review calendar (#12491) 2024-07-17 11:38:12 -05:00
Josh HawkinsandGitHub 78c15f3020 Prevent onPlaying from being called repeatedly in jsmpeg player (#12482) 2024-07-16 13:40:11 -06:00
Josh HawkinsandGitHub 58dbbd5d29 Use refs for proper js closures in the liveReady timeout (#12464) 2024-07-16 05:50:58 -06:00
Josh HawkinsandGitHub 5c90f7dce7 Check if camera is active before disabling liveReady (#12461) 2024-07-15 15:52:34 -06:00
Josh HawkinsandGitHub c850604931 Fix flashing of previous still image when live player stops (#12458) 2024-07-15 09:38:59 -06:00
Josh HawkinsandGitHub 3afd77cbe0 No need to check for h264 onvif profile (#12444) 2024-07-14 13:29:49 -05:00
Josh HawkinsandGitHub 093201a1cc Update docs for clarity on review items (#12441) 2024-07-14 11:12:26 -06:00
Josh HawkinsandGitHub 51153af944 Attempt to support zoom-only onvif cams (#12415)
* Attempt to support zoom-only onvif cams

* don't skip ptz configuration
2024-07-12 11:01:52 -06:00
Josh HawkinsandGitHub e7ec014502 Ensure detections are cleared when limit box is unchecked (#12412) 2024-07-12 09:07:01 -06:00
Josh HawkinsandGitHub 2ebd2dfcc7 Display activity indicators when debug and mask/zone images load (#12411) 2024-07-12 09:02:43 -05:00
Josh HawkinsandGitHub aaafd63b94 Move review classification settings to camera settings view (#12410)
* Camera settings view for alerts/detections

* flxes, beautifying, zone renaming, clean up

* replace underscores with spaces in zone names

* replace underscores with spaces in labels
2024-07-12 07:42:53 -06:00
Josh HawkinsandGitHub fe4a737421 Fix debug camera image not updating when loading (#12394) 2024-07-11 09:10:37 -06:00
Josh HawkinsandGitHub 4ee8557061 Fix linter warnings on color order (#12389) 2024-07-11 08:22:02 -05:00
Josh HawkinsandGitHub 0d7ee7a87a Clickable logo on desktop sidebar and useMatch for camera group visibility (#12379) 2024-07-10 09:28:05 -06:00
Josh HawkinsandGitHub c2824d153e Theme updates (#12373)
* remove hideous and ugly themes

* incorporate dei into ui design

* neutral as a theme color

* high contrast theme adjustments

* color tweaks
2024-07-10 07:04:02 -05:00
Josh HawkinsandGitHub d2f88491b1 Various UI tweaks and changes (#12364) 2024-07-09 13:36:55 -06:00
Josh HawkinsandGitHub 0ce596ec8f UI tweaks (#12297)
* Use full resolution aspect for main camera style in history view

* Only check for offline cameras after 60s of uptime

* only call onPlaying when loadeddata is fired or after timeout

* revert to inline funcs

* Portal frigate plus alert dialog

* remove duplicated logic

* increase onplaying timeout

* Use a ref instead of a state and clear timeout in AutoUpdatingCameraImage

* default to the selected month for selectedDay

* Use buffered time instead of timeout

* Use default cursor when not editing polygons
2024-07-08 07:14:10 -06:00
Josh HawkinsandGitHub a0741aa7b1 Remove matplotlib and generate color palette to mimic matplotlib's colors (#12327) 2024-07-07 12:53:00 -06:00
Josh HawkinsandGitHub 188a7de467 Update export docs (#12288)
* Update exporting docs

* add timelapse clarification
2024-07-04 05:32:07 -06:00
Josh HawkinsandGitHub 1f4ca32e8c Add exports message and default to webrtc on < iOS 17.1 (#12281) 2024-07-03 08:44:25 -05:00
Josh HawkinsandGitHub 784b701cc5 Apply landscape margin to ptz controls on mobile only (#12272) 2024-07-02 18:14:38 -05:00
Josh HawkinsandGitHub be9e606ae4 Ensure MSE onPlaying always gets called, even if loadeddata never fires (#12271)
* Ensure MSE onPlaying always gets called, even if loadeddata never fires

* Call handleLoadedMetadata too if not playing yet
2024-07-02 16:48:38 -06:00
Josh HawkinsandGitHub 6948702891 Add fullscreen button to the default live grid on desktops (#12250) 2024-07-01 13:00:53 -06:00
Josh HawkinsandGitHub 0ed7e278eb Re-center ptz controls in mobile landscape and prevent text selection (#12242) 2024-07-01 09:53:36 -06:00
Josh HawkinsandGitHub b30fecbd28 Use cache key for mask/zone editor image (#12232) 2024-07-01 09:02:56 -06:00
Josh HawkinsandGitHub f050c7b37d Use camera name instead of stream_name for jsmpeg players (#12219) 2024-06-30 11:06:03 -06:00
Josh HawkinsandGitHub f9e1ad253f Check websocket readyState for disconnect and fix firefox pip (#12216) 2024-06-30 06:04:45 -06:00
Josh HawkinsandGitHub f0159bf41e Fix jsmpeg player flickering (#12213) 2024-06-29 17:45:28 -06:00
Josh HawkinsandGitHub 53a2a865f1 Live player fixes and improvements (#12202)
* Live player fixes and improvements

* remove comment

* Simplify wording
2024-06-29 09:02:30 -06:00
Josh HawkinsandGitHub a60ffe06ac Prevent ptz keyboard shortcuts from reopening presets menu (#12079) 2024-06-20 07:24:50 -06:00
Josh HawkinsandGitHub 9f81ce2876 Only close MSE websocket when it's already open (#12078) 2024-06-20 06:03:14 -06:00
Josh HawkinsandGitHub 5c33cdba4e Timeline performance improvements (#12070)
* Use intersection observer for timeline segments

* only render when visible
2024-06-19 18:14:32 -05:00
Josh HawkinsandGitHub 7b57a66d45 Various UI tweaks (#12061) 2024-06-19 06:09:49 -06:00
Josh HawkinsandGitHub 2cbc336bc0 Memoize onPlaying and only instantiate one jsmpeg player (#12033) 2024-06-17 17:10:41 -06:00
Josh HawkinsandGitHub 6c107883b5 Small jsmpeg and mse player fixes (#12032) 2024-06-17 14:54:14 -06:00
Josh HawkinsandGitHub 89a478ce0a Use modal on dropdowns for mobile only (#11993) 2024-06-16 13:58:28 -05:00
Josh HawkinsandGitHub 4e5a6eb1c8 Consolidate onvif camera recommendations in docs (#11972) 2024-06-15 08:02:18 -05:00
Josh HawkinsandGitHub 5617fbbcb1 Optional proxy in config (#11973) 2024-06-15 08:01:19 -05:00
Josh HawkinsandGitHub 349b27b764 Draggable grid fixes (#11944)
* Use globals on grid for resizing/dragging flags

* remove unneeded useeffect
2024-06-13 13:11:48 -06:00
Josh HawkinsandGitHub 187d98a153 Ensure uri components are decoded (#11920) 2024-06-12 16:03:00 -05:00
Josh HawkinsandGitHub 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 HawkinsandGitHub c75fc40833 Activity indicator whenever preferred live mode changes (#11913) 2024-06-12 11:36:11 -06:00
Josh HawkinsandGitHub 272a21ffab Add scrollbar class to preview row/column (#11890) 2024-06-11 13:45:45 -05:00
Josh HawkinsandGitHub a8e901b63c UI fixes (#11883)
* Keep as optional prop

* put zones inside of scrollable container
2024-06-11 09:05:50 -06:00
Josh HawkinsandGitHub bb359f67a4 Review UI improvements (#11882) 2024-06-11 09:46:05 -05:00
Josh HawkinsandGitHub 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 HawkinsandGitHub 5f3c35209d Prevent editing of object mask type on existing mask (#11829) 2024-06-09 06:28:38 -06:00
Josh HawkinsandGitHub e1bedf30bf Make sure camera is always set in settings (#11812) 2024-06-07 13:34:29 -06:00
Josh HawkinsandGitHub 859682c8d1 Change breakpoint for desktop motion review columns (#11808) 2024-06-07 09:40:32 -06:00
Josh HawkinsandGitHub 804edceec2 Retain 3 columns on desktop motion review (#11805) 2024-06-07 06:51:09 -06:00
Josh HawkinsandGitHub 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
Josh HawkinsandGitHub 5b42c91a91 Compare timestamps instead of datetimes when exporting (#11790) 2024-06-06 14:34:31 -06:00
Josh HawkinsandGitHub 926d394b2f Ensure datetime comparison is the same (native vs aware) (#11789) 2024-06-06 14:10:46 -06:00
Josh HawkinsandGitHub fc5a926892 Ensure export thumbnail datetime is UTC (#11786) 2024-06-06 13:18:42 -06:00
Josh HawkinsandGitHub d2787d4308 Change debug message about deleting db entries to warning (#11780) 2024-06-06 09:16:28 -06:00
Josh HawkinsandGitHub 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 HawkinsandGitHub 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
Josh HawkinsandGitHub 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
Josh HawkinsandGitHub e6d1ad0ac5 Theme scrollbars with tailwind-scrollbar (#11723) 2024-06-03 12:43:30 -06:00
Josh HawkinsandGitHub f65ddccd6e Ensure debug switches match loaded options (#11721) 2024-06-03 08:51:23 -06:00
Josh HawkinsandGitHub 13f250f630 Use valid/unique css identifier for jsmpeg canvas elements (#11704) 2024-06-03 05:39:19 -06:00
Josh HawkinsandGitHub 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 HawkinsandGitHub beefc51361 container for birdseye aspect and auto width for mobile time pill (#11685) 2024-06-01 21:13:37 -06:00
Josh HawkinsandGitHub a3d116e70e stay in fullscreen when navigating to a camera (#11666) 2024-05-31 07:58:33 -05:00
Josh HawkinsandGitHub 8c325801ef fix race where camera change effect sometimes was called after layout building (#11656) 2024-05-30 14:17:00 -06:00
Josh HawkinsandGitHub 402c16e7df don't sleep mobile devices when fullscreen (#11652) 2024-05-30 09:37:08 -06:00
Josh HawkinsandGitHub 9cb3e11df6 non-modal dropdown menus (#11649) 2024-05-30 07:39:14 -06:00
Josh HawkinsandGitHub a763ae303d static handlebar size to better match figma (#11638) 2024-05-29 21:34:19 -05:00
Josh HawkinsandGitHub 4135cabf58 assume 1 grid column by default on live dashboard (#11630) 2024-05-29 16:03:59 -06:00
Josh HawkinsandGitHub 37dd3fc25b fix birdseye fullscreen (#11625) 2024-05-29 14:18:51 -05:00
Josh HawkinsandGitHub f1c0422d5e Various bugfixes and improvements (#11624)
* various bugfixes and improvements

* add separator

* no separator
2024-05-29 12:05:28 -06:00
Josh HawkinsandGitHub 3dd401f57a string or list for camera groups (#11616) 2024-05-29 09:19:05 -05:00
Josh HawkinsandGitHub ced5ab203f ensure the correct container is used for canvas calcs (#11599) 2024-05-28 12:41:51 -06:00
Josh HawkinsandGitHub f7c3ddd380 check if motion dataframe is empty (#11593) 2024-05-28 11:33:28 -06:00
Josh HawkinsandGitHub 2fda383782 clean up unneeded code (#11587) 2024-05-28 08:05:04 -06:00
Josh HawkinsandGitHub 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
Josh HawkinsandGitHub c1330704cf Make jsmpeg players fully responsive (#11567)
* make jsmpeg canvas responsive

* make birdseye responsive too
2024-05-27 16:18:04 -06:00
Josh HawkinsandGitHub c07f6999ca refresh editor value when config is updated (#11559) 2024-05-27 09:31:58 -06:00
Josh HawkinsandGitHub eca8c52f15 docs update: how to exclude camera from alerts/detections (#11560) 2024-05-27 09:31:49 -06:00
Josh HawkinsandGitHub 7a9ee63bd3 save video dimensions in onLoadedData instead of onLoadedMetadata (#11545) 2024-05-26 17:48:33 -06:00
Josh HawkinsandGitHub 63d81bef45 redirect non existent paths to live view (#11536) 2024-05-26 10:17:52 -06:00
Josh HawkinsandGitHub 3f171e7670 bugfixes (#11526) 2024-05-25 20:37:53 -06:00
Josh HawkinsandGitHub 681c7367d7 ensure resizable handles are above jsmpeg canvas elements (#11519) 2024-05-25 15:15:30 -05:00
Josh HawkinsandGitHub 058e9a3ba0 calculate aspect ratio of container to prevent overflow (#11495) 2024-05-23 07:30:16 -06:00
Josh HawkinsandGitHub 9652ea9e96 Update beta docs (#11483)
* update beta docs

* fix relative coordinates

* fix relative coordinates

* changes
2024-05-22 08:51:59 -06:00
Josh HawkinsandGitHub 910c85b1c0 Clean up config editor (#11474)
* clean up config editor

* remove unneeded size
2024-05-21 13:06:17 -05:00
Josh HawkinsandGitHub e543cc642c add clarifying message and docs link around motion masks (#11452) 2024-05-20 23:18:01 +05:30
Josh HawkinsandGitHub 84e823c62f add padding to bottom of drawer for iOS PWA only (#11446) 2024-05-20 08:06:11 -05:00
Josh HawkinsandGitHub 82d4bf8ab5 Log warning for high detect fps (#11435)
* warn in log if detect fps > 10

* change message
2024-05-19 21:36:41 -06:00
Josh HawkinsandGitHub bca01cb43c guard clause for api error (#11436) 2024-05-19 17:08:05 -06:00
Josh HawkinsandGitHub 171a142adb optional env var for easier development (#11426) 2024-05-18 18:49:38 -06:00
Josh HawkinsandGitHub 5c609c7051 Bugfixes (#11420)
* mse and misc messages fixes

* clean up
2024-05-18 12:55:17 -06:00
Josh HawkinsandGitHub 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