Commit Graph

11104 Commits

Author SHA1 Message Date
IgorA100
202fc31abb Fix: Added declaration of variables "futNone, indexPlus" (event.js)
Closed: https://forums.zoneminder.com/viewtopic.php?p=135636&sid=0e728ac75cf2a1ce0b42380582f5b928#p135636
2024-09-27 11:13:41 +03:00
Isaac Connor
cdf5485036 Merge pull request #4124 from IgorA100/patch-167
Minor styling improvements for mobile devices. ".sticky #mfbpanel" height no more than 40% of the screen (skin.css)
2024-09-26 16:54:08 -04:00
IgorA100
d4277bdb45 Fix: Declared variable "spanTime" (event.js)
Closed https://forums.zoneminder.com/viewtopic.php?t=33468&sid=1a292ca9e8daa501e2c411ce76d7e8c4
2024-09-26 16:34:52 +03:00
Isaac Connor
0ee28cad06 FIx command => streamCommand. Fixes #4150 2024-09-26 07:50:01 -04:00
Isaac Connor
d8cfce4c4a INstead of the code in c9aa03d, just set updateScale. 2024-09-26 07:14:19 -04:00
Isaac Connor
f4830b1c14 Revert "You can't change size in a ResizeObserver. So do what we do in montage, just add the affected element to an array and deal with it in an interval"
This reverts commit c9aa03dc55.
2024-09-26 07:10:47 -04:00
Isaac Connor
0f2201d538 Fix eslint 2024-09-25 15:17:59 -04:00
Isaac Connor
3a58ca5ad3 code improvements and tidy ups
In ResizingObserver, check for existence of div. The outgoing monitor may fire a change after it's html is gone.
When becoming visible again only restart stream if Are You Still Watching is not being displayed
2024-09-25 15:09:42 -04:00
Isaac Connor
53ffcd4121 In play/pause, start/stop rtsp2web as well as zms stream. Also stop status requests. Rework the enable/disable alarms and force alarm buttons when using rtsp2web. 2024-09-25 14:54:58 -04:00
Isaac Connor
564e521c8c Fix eslint 2024-09-25 10:48:27 -04:00
Isaac Connor
c9aa03dc55 You can't change size in a ResizeObserver. So do what we do in montage, just add the affected element to an array and deal with it in an interval 2024-09-25 10:35:43 -04:00
Isaac Connor
689881d105 Use monitorStream.play and pause instead of assuming zms 2024-09-24 17:29:21 -04:00
Isaac Connor
ab1b67893a Remove unused getStream and watchdog stuff. When AYSW modal fires, pause cycle as well 2024-09-24 17:27:43 -04:00
Isaac Connor
d216c4cf47 Remove STATE_TAPE 2024-09-24 17:26:55 -04:00
Isaac Connor
d513451e3f Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-09-23 10:13:22 -04:00
Isaac Connor
194337c247 Upgrade to bootstrap-table-1.23.3 2024-09-23 10:13:13 -04:00
IgorA100
016524b729 When resizing the browser window, execute "isOutOfViewport" (montage.js) 2024-09-23 13:41:56 +03:00
IgorA100
563a5450fd Update montage.js 2024-09-23 13:19:18 +03:00
IgorA100
d53c509e73 Fix: isOutOfViewport calculation of the block bottom for sticky mode (montage.js) 2024-09-23 11:47:24 +03:00
Isaac Connor
da4636d11d Make clean button always visible 2024-09-22 11:13:04 -04:00
Isaac Connor
6a672c4627 Height will always be true to do px being appended. Leave it as number until setting height. 2024-09-22 10:57:42 -04:00
IgorA100
42edacbc6b Fix: Support STICKY mode for isOutOfViewport (montage.js) 2024-09-21 20:46:45 +03:00
Isaac Connor
2f013e0443 GIve event title an id, so we can update it 2024-09-21 09:42:44 -04:00
Isaac Connor
852af8ee98 Code cleanups, apply use strict, comments, update event title when switching events. 2024-09-21 09:42:31 -04:00
Simpler1
d05cccb2dd fix(events): Initial hidden columns when cookie doesn't exist
The name of the cookie is 
zmEventsTable.bs.table.hiddenColumns

not
zmEventsTable.bs.table.columns
2024-09-20 16:13:15 -04:00
Simpler1
b5cec40955 Fix(events): Remember column visibility changes 2024-09-20 15:43:27 -04:00
IgorA100
6d7ee93fc3 Fix: The double click to go fullscreen should only happen if not shift/ctl modifiers are active (skin.js)
Close #4141
2024-09-20 17:21:51 +03:00
Isaac Connor
c37d773eba Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-09-19 18:30:42 -04:00
Isaac Connor
05554757bc Don't use a define for MAX_PRESETS so that we can include control_functions multiple times 2024-09-19 17:43:17 -04:00
Isaac Connor
a6f7d1aa3c Merge pull request #4138 from IgorA100/patch-976391
Fix: PanZoom Panning didn't work when using "preventDefault"
2024-09-18 16:01:47 -04:00
Isaac Connor
18b1d0a932 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-09-18 09:49:53 -04:00
Isaac Connor
dfe132caa1 Merge pull request #4139 from IgorA100/patch-641230
Changed double-click analysis on mobile devices, added double-click processing on MP4 images (video.js) (skin.js)
2024-09-18 09:42:07 -04:00
Isaac Connor
eb6d2bf5a6 Merge pull request #4136 from IgorA100/patch-5887
Feat: Progress bar now works when viewing MP4 via video.js on Event page
2024-09-18 09:40:07 -04:00
Isaac Connor
8c96d3004b Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-09-18 09:33:49 -04:00
Isaac Connor
b5f393d960 prevent fatal php crash when maxfps is '' but forcing it to 0 2024-09-18 09:10:43 -04:00
IgorA100
334d840425 Restored accidentally deleted block (skin.css) 2024-09-18 15:04:40 +03:00
IgorA100
05f40a55f6 Merge branch 'master' into patch-167 2024-09-18 15:01:01 +03:00
IgorA100
d358d02987 Chore: Fix space (skin.js) 2024-09-18 14:56:34 +03:00
IgorA100
0eb916e748 Added fullscreen mode on double click on playing event when using MP4 (video.js) (event.js)
In addition to #4120
2024-09-18 14:51:59 +03:00
IgorA100
ca5911f551 Changed double-click analysis on mobile devices, added double-click processing on MP4 images (video.js) (skin.js) 2024-09-18 14:44:18 +03:00
IgorA100
0f37a71338 Removed redundant comments (skin.css) 2024-09-18 13:35:49 +03:00
IgorA100
6feffbaefa Max height limit for .sticky #toolbar & .sticky #mfbpanel (skin.css) 2024-09-18 13:34:18 +03:00
IgorA100
52a5bf2a1f Chore: Eslint (panzoom.js) 2024-09-18 12:30:04 +03:00
IgorA100
edf7f808b0 Fix: Panning didn't work when using "preventDefault" (panzoom.js)
This happened after PR #4137
When Scale panZoom > 1, you need to use "preventDefault" for Panning to work correctly. But at the same time (if Scale panZoom > 1), clicking on the progress bar generated by video.js will not work.
In principle, this is not critical, because when increasing, the progress bar generated by video.js usually goes beyond the visible boundaries.
2024-09-18 12:23:33 +03:00
Isaac Connor
328ce9fc0c Make no Status record found a debug instead of warning 2024-09-17 11:17:50 -04:00
IgorA100
0ecb9a7754 Fix: Disabled preventDefault() when initializing PanZoom (panzoom.js) 2024-09-17 17:42:41 +03:00
IgorA100
1cda0a8723 Chore: code optimization (event.js) 2024-09-17 15:06:38 +03:00
IgorA100
6aa59d4170 Feat: Progress bar now works when viewing MP4 via video.js (event.js) 2024-09-17 14:55:57 +03:00
IgorA100
b59c2f564c Chore: Remove extra space (panzoom.js) 2024-09-17 10:53:49 +03:00
IgorA100
6f50c7169e Fix: When executing "setTouchAction: function(el)" check if the element is passed to the function (panzoom.js) 2024-09-17 10:51:57 +03:00