Commit Graph

10768 Commits (663665ccfa5984637727796aae2ccaa6d8c35b60)

Author SHA1 Message Date
Isaac Connor 663665ccfa Add possible config override of skin and css, forcing their use 2024-05-30 13:44:29 -04:00
Isaac Connor fed15110fc Allow config specifying favicon 2024-05-30 13:44:09 -04:00
Isaac Connor 94aab42356 Limit scale to 1.1 to prevent requesting images larger than 100% 2024-05-30 12:23:15 -04:00
Isaac Connor f81d6fb823 Sanitise filter[Id] 2024-05-30 12:12:02 -04:00
Isaac Connor b51c5df0cb Sanitise displayinterval,speed and scale parameters. Fixes GHSA-pjjm-3qxp-6hj8 2024-05-30 12:11:45 -04:00
Isaac Connor 4602cd0470 Sanitise filter[Id] when parsing filter. Fixes GHSA-6rrw-66rf-6g5f 2024-05-30 12:10:45 -04:00
Isaac Connor 0fa220513d
Merge pull request #4056 from IgorA100/patch-130
Added starting/stopping monitor when show/hide Zones page
2024-05-29 17:27:50 -04:00
Isaac Connor c812d9ea9a
Merge pull request #4057 from IgorA100/patch-131
Added starting/stopping monitor when show/hide Zone edit page
2024-05-29 17:27:31 -04:00
IgorA100 9a1d7e7467
Added starting/stopping monitor when show/hide page (zone.js)
I also added the functions panZoomOut(el) and panZoomIn(el) to avoid errors in the browser console.
I don't think it's necessary to fully implement PanZoom on this page. At least for now...
2024-05-29 19:54:28 +03:00
IgorA100 40216116f3
Added starting/stopping monitor when show/hide page (zones.js)
I also added the functions panZoomOut(el) and panZoomIn(el) to avoid errors in the browser console.
I don't think it's necessary to fully implement PanZoom on this page. At least for now...
2024-05-29 19:47:31 +03:00
IgorA100 05ef42c521
Removed extra newline (watch.js) 2024-05-29 19:32:24 +03:00
IgorA100 8dddcc3dbe
Removed creating a new monitorStream (watch.js)
My holey head....
2024-05-29 19:30:04 +03:00
IgorA100 9e8d1f66fb
Added if (!monitorStream.started) (watch.js) 2024-05-29 19:25:52 +03:00
IgorA100 40bbc082da
Added starting/stopping monitor when show/hide page (watch.js) 2024-05-29 19:15:54 +03:00
Isaac Connor 662fc2baf2 Turn on use strict 2024-05-29 10:26:42 -04:00
Isaac Connor 4a0ea62fa6 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-05-29 10:10:54 -04:00
Isaac Connor 878c8a7687 In kill, turn the url from a streaming url into a single so as to actually stop the stream. 2024-05-29 10:10:36 -04:00
IgorA100 ca40a794d2
Added this.started = true/false when starting/stopping the monitor (MonitorStream.js) 2024-05-29 17:06:33 +03:00
IgorA100 3ece22446f
Start monitors when show page (montage.js) 2024-05-29 17:02:34 +03:00
Isaac Connor db45047a3f
Merge pull request #4053 from IgorA100/patch-127
Stop monitors when closing montage page
2024-05-29 09:04:58 -04:00
IgorA100 0858d1c53b
Stop monitors when closing page (montage.js) 2024-05-29 14:37:22 +03:00
IgorA100 d2eb5237d3
Fix: PanZoom when exiting full screen mode (montage.js) 2024-05-29 13:43:26 +03:00
Isaac Connor 4baa2c0554 Remove stills option and add 1/10 and 1/2 rate options 2024-05-28 16:32:06 -04:00
Isaac Connor 1979d6665e Fix seeking by clicking on timeline when using video.js 2024-05-28 16:31:51 -04:00
Isaac Connor 70c6375782 Add 1/10 and 1/2 frame rates and remove stills option as it can be done with pause. Remove zoom info title as it is now in includes/Monitor.php 2024-05-28 10:11:49 -04:00
Isaac Connor 69d5855653 Add another decimal digit to fps displays 2024-05-28 10:11:02 -04:00
Isaac Connor 7543e513fa Replace useless title on image stream with a useful one describing zoom controls. 2024-05-28 10:10:30 -04:00
Isaac Connor 970af4976a
Merge pull request #4048 from IgorA100/patch-124
Chore: Mark "const el" as unused (watch.js)
2024-05-28 07:38:44 -04:00
Isaac Connor 110deed20f
Merge pull request #4047 from IgorA100/patch-123
Fix: Scrollbar style applied for "html" (skin.css)
2024-05-28 07:38:10 -04:00
IgorA100 d009b14fba
Chore: Mark "const el" as unused (watch.js) 2024-05-28 12:28:13 +03:00
IgorA100 6953dbd780
Fix: Scrollbar style applied for "html" (skin.css) 2024-05-28 11:55:46 +03:00
IgorA100 358a0d23ef
Replaced tabs with spaces (montage.js) 2024-05-28 00:55:55 +03:00
IgorA100 ab25a105da
Use "setMaxFPS(fps)" instead of "streamCommandstreamCommand({command: CMD_MAXFPS, maxfps: fps})" (montage.js) 2024-05-28 00:53:16 +03:00
Isaac Connor faa3ed3aa7
Merge pull request #4042 from IgorA100/patch-119
Chore: Moved PanZoom functions to "web/js/panzoom.js"
2024-05-27 17:08:50 -04:00
Isaac Connor e1a9a2c93b
Merge pull request #4044 from IgorA100/patch-120
Feat: Added Rate control on Montage page
2024-05-27 17:07:50 -04:00
IgorA100 f0b13f0c11
Fix: function "this.setMaxFPS" (MonitorStream.js)
The function didn't work!
The parameter "maxfps" was passed to the function, and "currentSpeed" was passed to "streamCommand" instead of "maxfps"
2024-05-27 22:58:41 +03:00
IgorA100 850ac711df
Removed extra semicolon (montage.js) 2024-05-27 22:48:42 +03:00
IgorA100 30d7c9a130
Added Rate control on Montage page (montage.php) 2024-05-27 22:43:52 +03:00
IgorA100 8e86879dd3
Added Rate control on Montage page (montage.js) 2024-05-27 22:35:22 +03:00
IgorA100 90ecbb8faf
Fix: scale calculation with "scale == 'fit_to_width'" watch.js
If scale == 'fit_to_width', then it is necessary to take into account the width of the screen, not the monitor element, because The monitor has not yet reached the correct size.
2024-05-27 21:23:13 +03:00
IgorA100 075bbfc244
Fix eslint (panzoom.js) 2024-05-27 19:37:49 +03:00
IgorA100 4aeec829b0
PanZoom code has been moved to 'web/js/panzoom.js'' (skin.js) 2024-05-27 19:34:56 +03:00
IgorA100 c582e7ab5b
Added file panzoom.js 2024-05-27 19:32:25 +03:00
IgorA100 8256cdef99
Load 'js/panzoom.js' file when needed (functions.php) 2024-05-27 19:31:20 +03:00
IgorA100 b1993f94ca
Fix: Changed "monitors[i].setScale" (watch.js)
Requires width & height
2024-05-27 18:46:58 +03:00
IgorA100 9ec5c1ad90
Fix: Calculation of Scale for Watch page (watch.js) 2024-05-27 18:39:16 +03:00
Isaac Connor f97c453e73 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-05-27 10:01:33 -04:00
Isaac Connor 8712a0c189 Use parseInt on MaxImageBUffers because '0' is a true value 2024-05-27 10:01:27 -04:00
IgorA100 670a60373a
Chore: eslint (skin.js) 2024-05-27 16:20:19 +03:00
IgorA100 4a85901c44
Chore: eslint (skin.js) 2024-05-27 16:17:30 +03:00