Isaac Connor
30e6ad0118
Merge pull request #4126 from designet-inc-oss/translate_lang_ja
...
Update Japanese translation file.
2024-09-06 09:18:39 -04:00
Isaac Connor
152e77adc0
Apply a max-width of 300px to monitor filters so that they all fit on one line on 1920px monitor
2024-09-05 09:23:12 -04:00
Isaac Connor
c45a2af08b
Revert lack of src tag on event image
2024-09-05 09:18:41 -04:00
Isaac Connor
08d2f44613
Allow further query parameters after view in HomeView
2024-09-04 16:52:59 -04:00
Isaac Connor
ade2f2e0c7
Fix eslint
2024-09-03 14:59:16 -04:00
Isaac Connor
7f2b95b387
Implement onscroll and ability to detect when a stream is off-screen. Only start visible monitors.
2024-09-03 14:56:33 -04:00
Isaac Connor
b64461d518
Merge branch 'master' into only_stream_visible
2024-09-03 14:51:36 -04:00
Isaac Connor
2df332a4d0
Use const/let instead of var and apply use strict
2024-09-03 10:14:49 -04:00
Isaac Connor
b0735e22b0
Fix execute text input flow
2024-09-03 10:14:29 -04:00
Isaac Connor
b66e04024f
Test for Path being empty to avoid warnings about passing null being deprecated
2024-09-03 09:39:03 -04:00
Isaac Connor
5bf2432b2f
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-09-01 18:00:55 -04:00
Isaac Connor
13042f13bf
Fix periods to underscores in cookie and use COOKIE instead of COOKIES. Should fix defaulting pageSize to ZM_WEB_EVENTS_PER_PAGE
2024-09-01 18:00:44 -04:00
DesigNET
2ebdc06405
Update Japanese translation file.
2024-08-30 01:21:04 +00:00
Isaac Connor
e910259db0
Merge pull request #4122 from IgorA100/patch-165
...
Feat: Added support for full screen when double clicking on Stream on Watch page
2024-08-27 09:55:03 -04:00
IgorA100
c9817824d4
Fixed handling on Event page (skin.js)
2024-08-24 11:47:38 +03:00
IgorA100
634d718359
".sticky #mfbpanel" height no more than 40% of the screen (skin.css)
...
Relevant for mobile devices.
2024-08-23 23:40:44 +03:00
IgorA100
713b8f8bce
Added style for buttons (skin.css)
...
For montage page:
button.btn.btn-view-watch
button.btn.btn-fullscreen
2024-08-23 17:34:26 +03:00
IgorA100
7002f11b72
Moved styles for Control button block in the Stream image to global skin.css from montage.css
2024-08-23 17:30:57 +03:00
IgorA100
4d50977274
Moved styles for Control button block in the Stream image to global skin.css from watch.css
2024-08-23 17:23:04 +03:00
IgorA100
0ade8d634a
Moved styles for Control button block in the Stream image to global skin.css from event.css
2024-08-23 17:16:54 +03:00
IgorA100
c3ecec057a
Moved here styles for Control button block in the Stream image (skin.css)
2024-08-23 17:12:56 +03:00
IgorA100
7956c38e86
Remove extra space (watch.js)
2024-08-23 16:05:45 +03:00
IgorA100
28a1338299
Feat: Added support for full screen when double clicking on Stream on Watch page (watch.js)
...
Similar to #4120
2024-08-23 16:03:57 +03:00
IgorA100
316ca0b1da
Removed extra space (montage.js)
2024-08-23 15:52:05 +03:00
IgorA100
4fb5c228cf
Buttons are no larger than 100px, otherwise they are large when viewed full-screen (skin.js)
2024-08-23 15:49:47 +03:00
IgorA100
61d177ded7
Execute monitorsSetScale() when changing the size of "#liveStreamX" (watch.js)
2024-08-23 15:44:36 +03:00
IgorA100
2d37c9a309
It is necessary to change the height position "#ratioControl" (montage.js)
2024-08-23 15:03:08 +03:00
IgorA100
685a59fa78
Added scaling of buttons (Zoom, Edit, etc.) controls located on the Stream depending on the width of the Stream (watch.js)
2024-08-23 11:49:40 +03:00
IgorA100
ac841c55c7
Added scaling of buttons (Zoom, Edit, etc.) controls located on the Stream depending on the width of the Stream (event.js)
2024-08-23 11:45:36 +03:00
IgorA100
9d7569d31d
Added scaling of buttons (Zoom, Edit, etc.) controls located on the Stream depending on the width of the Stream (montage.js)
2024-08-23 11:44:26 +03:00
IgorA100
aed3c3be4b
Faet: Added a function to scale control buttons located on the Stream depending on the width of the Stream (skin.js)
2024-08-23 11:37:41 +03:00
Isaac Connor
1e4bb4798e
Update auth in zms url when scaling as it may have been running for a while and need updating
2024-08-22 14:57:28 -04:00
IgorA100
4f59d15972
Fix: Image scaling for some mobile devices in fullscreen mode (skin.js)
2024-08-22 13:52:03 +03:00
IgorA100
4911e962fa
Chore: Fix space & semi (skin.js)
2024-08-22 12:19:11 +03:00
IgorA100
79c8042b85
Added event listener for double click (event.js)
2024-08-22 12:11:09 +03:00
IgorA100
ff0367d3a2
Feat: Added functions for full screen when double clicking on Stream (skin.js)
2024-08-22 11:57:00 +03:00
IgorA100
0717a2d324
Chore: Removed extra spaces (panzoom.js)
2024-08-20 13:07:00 +03:00
IgorA100
f2323426a0
chore: remove console.log (panzoom.js)
2024-08-20 13:03:08 +03:00
IgorA100
b0511e31fa
chore: Enable "touchAction" if Zoom=1 and disable if Zoom<>1 (panzoom.js)
...
Enable "touchAction" if Zoom=1 and disable if Zoom<>1
This will allow canvas panning when capturing an image on mobile devices with Zoom=1
The issue may be closed: https://forums.zoneminder.com/viewtopic.php?p=135128&sid=7e7685052e5f107a364dfd445565643f#p135128
2024-08-20 12:53:23 +03:00
Isaac Connor
e65d3be4da
Merge pull request #4096 from IgorA100/patch-160
...
Chore: Code optimization (skin.js)
2024-08-19 19:16:25 -04:00
Isaac Connor
0ded4b8a12
Merge pull request #4094 from IgorA100/patch-158
...
Updated language pack (ru_ru, en_gb)
2024-08-19 19:15:57 -04:00
Isaac Connor
802a0854b5
Add getAnalysingStrings and getRecordingStrings and fix getStatusStrings, removing Tape
2024-08-18 12:18:44 -04:00
Isaac Connor
2a7030beac
Remove STATE_TAPE. It no longer exists
2024-08-18 12:18:44 -04:00
Isaac Connor
c8cce78669
Add a filter flip button to show/hide the filters
2024-08-16 18:48:50 -04:00
Isaac Connor
01cda74b96
Add bootstrap-table-mobile extension so event list becomes cards
2024-08-16 18:48:34 -04:00
Isaac Connor
52584c0d54
Add Location to events list. Rename variables for buttons. Make DiskSpace and Storage clickable so that on mobile you don't have to scroll back left
2024-08-16 10:53:13 -04:00
Isaac Connor
09f5e6df7d
Add an id to montage review button
2024-08-15 15:13:14 -04:00
Isaac Connor
70fe9e1609
Fix missing filterbar
2024-08-14 13:30:55 -04:00
Isaac Connor
7aa473b8ef
Handle more than one level of output buffering when cleaning and ending them so we can send the video file so we don't run out of ram. Fixes #4110
2024-08-11 09:16:36 -04:00
IgorA100
ed23445d61
Merge branch 'ZoneMinder:master' into patch-160
2024-08-04 23:24:37 +03:00
Isaac Connor
235e788aba
Make toolbar take up 100% or close to it
2024-08-01 09:59:32 -04:00
Isaac Connor
346e04a1c0
Add container-fluid to toolbar because the row has negative margins because it expects to be in a container
2024-08-01 09:59:14 -04:00
Isaac Connor
c42608f1ba
Very slight performance optimisation. Delete the auth keys from the object so we don't have to check for them to ignore later
2024-07-30 09:55:16 -04:00
Isaac Connor
37e7da4dfa
Don't keep our own copy of auth credentials. Use the global ones. When getting new auth from status request, update auth_relay as well.
2024-07-30 09:54:37 -04:00
Isaac Connor
b613d562bf
Only show CaptureMethod if there is more than 1 option
2024-07-25 12:37:45 -04:00
Isaac Connor
d1e8975e41
FIx WallClockTimeStamps not being hidden when not passthrough
2024-07-25 12:37:31 -04:00
Isaac Connor
31197c1039
Add convenience dropdown for video devices
2024-07-25 12:08:38 -04:00
IgorA100
8767bd326a
Update ru_ru.php
2024-07-20 13:49:18 +03:00
IgorA100
b8ca4f2369
Update skin.js
2024-07-19 14:11:28 +03:00
Isaac Connor
0f3a61efe5
eslint
2024-07-18 17:05:02 -04:00
Isaac Connor
d50983016b
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-07-18 16:05:41 -04:00
Isaac Connor
32fcfa4559
Add default for EmailServer in Filter
2024-07-18 16:05:34 -04:00
IgorA100
1a78c609dc
Chore: Code optimization (skin.js)
...
You should not call "console.log" again, because if you put a comma, the object will be displayed on a new console line.
2024-07-17 11:57:37 +03:00
IgorA100
a700ad1619
Recovering the Lost $colAllAvailableMonitors Variable (_monitor_filters.php)
2024-07-16 20:06:08 +03:00
IgorA100
a9c5289957
Recovering the Lost $colAllAvailableMonitors Variable (console.php)
2024-07-16 20:02:47 +03:00
IgorA100
644b923c87
Update ru_ru.php
2024-07-16 18:57:58 +03:00
IgorA100
0f4e837842
Update ru_ru.php
2024-07-16 18:33:45 +03:00
IgorA100
262d0469b2
Added 'EventsLoading' (en_gb.php)
2024-07-16 18:19:12 +03:00
IgorA100
08dcdb54b4
Added "TooManyEventsForTimeline" (en_gb.php)
2024-07-16 18:14:32 +03:00
IgorA100
8e07e016a1
Update ru_ru.php
2024-07-16 18:09:32 +03:00
IgorA100
d8fbce378a
Update ru_ru.php
2024-07-16 18:06:01 +03:00
IgorA100
c6d8267420
Update ru_ru.php
2024-07-16 17:42:44 +03:00
Isaac Connor
0e1c61dbb6
Merge pull request #4093 from IgorA100/patch-157
...
Feat: Show filter "Archive Status" on Events page
2024-07-16 10:22:37 -04:00
Isaac Connor
8c6396a659
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-07-16 10:01:19 -04:00
Isaac Connor
4b52232228
Add Unarchived and Archive and Unarchive translated strings
2024-07-16 10:00:55 -04:00
Isaac Connor
8291f657eb
Only log error message from ajax events data call if it is other than abort. Add useful title to unarchive button explaining why it is disabled.
2024-07-16 10:00:34 -04:00
IgorA100
119e7230c1
Update events.js
2024-07-16 16:46:24 +03:00
IgorA100
e9f4f113d9
Changed Id from Archived to filterArchived (events.js)
2024-07-16 16:29:06 +03:00
IgorA100
93e03952f7
Added identifiers "filterArchived", "filterTags", "filterNotes" (Filter.php)
...
This is necessary for working with cookies, and will also be used on the updated Montage page
2024-07-16 16:26:54 +03:00
IgorA100
5957ef0cf0
zmFilterArchived cookie support (events.js)
2024-07-16 16:17:29 +03:00
IgorA100
89774f9921
Show filter "Archive Status" on Events page (events.php)
...
Currently, if there is no "Archive Status" filter in the browser query string, then it is not displayed on the page.
Now the "Archive Status" filter will always be displayed.
2024-07-16 16:14:41 +03:00
IgorA100
5cc545e182
Recovering the Lost $StorageById Variable (console.php)
2024-07-16 12:56:51 +03:00
IgorA100
0a59a8cb1c
Recovering the Lost $StorageById Variable (_monitor_filters.php)
2024-07-16 12:27:54 +03:00
IgorA100
d36888d36e
Recovering the lost $selected_monitor_ids variable (report_event_audit.php)
2024-07-16 11:15:12 +03:00
IgorA100
2ffa6cb96e
Recovering the lost $selected_monitor_ids variable (montagereview.php)
2024-07-16 11:10:48 +03:00
IgorA100
006010a971
Recovering the lost $selected_monitor_ids variable (_monitor_filters.php)
2024-07-16 11:09:39 +03:00
IgorA100
d2129a9b43
Recovering the Lost $storage_areas Variable (console.php)
2024-07-16 10:59:09 +03:00
IgorA100
e75be00942
Recovering the Lost $storage_areas Variable ( _monitor_filters.php)
2024-07-16 10:57:35 +03:00
IgorA100
3403c82b73
Use function buildMonitorsFilters instead of using ob_get_contents (report_event_audit.php)
2024-07-16 00:48:30 +03:00
IgorA100
326d5e3084
Use function buildMonitorsFilters instead of using ob_get_contents (montagereview.php)
2024-07-16 00:47:05 +03:00
IgorA100
c6056ada7d
Use function buildMonitorsFilters instead of using ob_get_contents (console.php)
2024-07-16 00:45:34 +03:00
IgorA100
fd98fc97bd
Use function buildMonitorsFilters instead of using ob_get_contents (montage.php)
2024-07-16 00:43:25 +03:00
IgorA100
d44e6ab807
Use function buildMonitorsFilters instead of using ob_get_contents (cycle.php)
2024-07-16 00:41:25 +03:00
IgorA100
a9658fc891
Use function buildMonitorsFilters instead of using ob_get_contents (watch.php)
2024-07-16 00:38:02 +03:00
IgorA100
948bc92db5
Moved part of the code to function buildMonitorsFilters. Don't use ob_get_contents (_monitor_filters.php)
2024-07-16 00:21:34 +03:00
IgorA100
0160a92854
Fix: setCookie(). For Boolean type should not be used JSON (skin.js)
2024-07-15 13:03:54 +03:00
Isaac Connor
1990c52961
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-07-14 15:33:34 -04:00
IgorA100
3d11c114ac
Chore: remove extra space (monitor.js)
2024-07-14 16:48:57 +03:00
IgorA100
e0f7340d7d
Added thumbnail video animation (monitor.js)
2024-07-14 16:46:11 +03:00
IgorA100
3591c8717c
Feat: Show the camera image on the monitor editing page on the Viewing tab (monitor.php)
2024-07-14 16:41:48 +03:00
Isaac Connor
a24fbe4574
Add EmailServer to filter to override server set in options
2024-07-10 17:14:36 -04:00
Isaac Connor
caeb65233e
Fix not being able to unset use WallClockTimestamps
2024-07-08 08:36:55 -04:00
Isaac Connor
007b8bebbf
Limit viewable filesystem to defined storage areas
2024-07-06 17:52:43 -04:00
Isaac Connor
716a7bae61
Only show WallClockTimestamps option for passthrough
2024-07-06 08:53:15 -04:00
Isaac Connor
200ba2322f
Add WallClockTimestampts to monitor edit under recording options
2024-07-06 08:51:58 -04:00
Isaac Connor
a3c73b414f
Add WallCLockTimestamps to Monitor model
2024-07-06 08:51:37 -04:00
Isaac Connor
474abe6ed6
Fix test for whether ptz button is disabled
2024-07-05 09:46:34 -04:00
Isaac Connor
c369826fbf
Always show ptz button, just disbabled with useful tooltip
2024-07-05 09:34:52 -04:00
Isaac Connor
55d80d50d7
Use monitors instead of monitorData as the array to traverse. Somehow we end up with there not being an entry in monitors when there is one in monitorData. Maybe when visibility events occur during InitPage? Anyways, if we are actually traversing monitors, then we should do so in the for loop.
2024-07-04 10:44:00 -04:00
IgorA100
87d31a1d77
Updated comment (skin.js)
2024-07-04 17:03:53 +03:00
IgorA100
837b17cc4e
Chore: eslint (skin.js)
2024-07-04 16:45:23 +03:00
IgorA100
415e5e9f0a
Code optimization (skin.js)
2024-07-04 16:40:17 +03:00
IgorA100
afeddf57f5
Added the ability to save objects and arrays in cookies using JSON (skin.js)
2024-07-04 16:35:22 +03:00
Isaac Connor
efbe6ab219
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-07-03 08:42:41 -04:00
Isaac Connor
43e21a3200
Update auth_hash in zms url
2024-06-28 14:33:59 -04:00
Isaac Connor
47eff20c1d
Fix misplaced </div> for Groups Permissions
2024-06-28 11:50:51 -04:00
Shobu UMEMURA
2525ef7641
Update charset header in ja_jp.php from Shift_JIS to UTF-8
...
Given that most Japanese servers now use UTF-8, it makes sense to set UTF-8 as the default charset.
2024-06-28 18:09:55 +09:00
Isaac Connor
65da80d6ae
remove extra space
2024-06-21 15:49:53 -04:00
Isaac Connor
eea0e8fe64
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2024-06-20 20:58:33 -04:00
Isaac Connor
d8e15f19c2
Add options for h264_v4l2m2m encoder
2024-06-20 20:58:21 -04:00
Isaac Connor
420aa9a525
fix eslint
2024-06-19 09:39:01 -04:00
Isaac Connor
48dc523eee
Merge pull request #4068 from IgorA100/patch-141
...
Changed the flip panel control "data-flip-control-object" (skin.js)
2024-06-19 09:21:53 -04:00
Isaac Connor
ba833006ef
Merge pull request #4082 from IgorA100/patch-151
...
Fix: If "opts.focal" - calculate coordinates taking into account the planned Scale, and not just the calculated Scale (jquery.panzoom.js)
2024-06-19 09:21:02 -04:00
Isaac Connor
9a87e2976f
Fix js error when clicking play/pause when using video.js as viewer
2024-06-17 14:51:02 -04:00
IgorA100
54d363bf85
Fix: If "opts.focal" - calculate coordinates taking into account the planned Scale, and not just the calculated Scale (jquery.panzoom.js)
...
I created a PR in the author's repository, but there is no feedback yet.
https://github.com/timmywil/panzoom/pull/669
2024-06-17 11:16:11 +03:00
IgorA100
ae36a1f502
More compact display of Frame information (event.js.php)
2024-06-15 23:47:29 +03:00
IgorA100
1e34f5aee6
More compact display of Frame information (event.js)
2024-06-15 23:44:53 +03:00
Isaac Connor
081c3900a1
Merge pull request #4079 from IgorA100/patch-149
...
TotScore, AvgScore, MaxScore display in one line Event page
2024-06-15 14:15:26 -04:00
Isaac Connor
a5aef97464
Floor the scaling value % 5
2024-06-15 13:34:02 -04:00
Isaac Connor
ecc947a71d
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-06-15 13:30:12 -04:00
Isaac Connor
b36d67c002
Set a cookie for speed value so that it persists over reloads
2024-06-15 13:30:04 -04:00
IgorA100
12b84255ee
From "eventDataStrings" instead of "MaxScore" process "Score" (event.js)
2024-06-15 00:50:37 +03:00
Isaac Connor
04c743d888
Merge pull request #4072 from IgorA100/patch-144
...
Added the ability to initialize with parameters (PanZoom)
2024-06-14 17:46:26 -04:00
IgorA100
0587cdc7a9
Update event.js.php
2024-06-15 00:41:21 +03:00
IgorA100
c57af2c8ca
Fix: Added getStat execution error handling (frame.js)
2024-06-15 00:28:53 +03:00
IgorA100
b1a35c339e
Chore: Fix extra space & lost semicolon (skin.js)
2024-06-14 19:35:45 +03:00
IgorA100
730c3b5161
Changing the icon control for the hide/show panel button (skin.js)
...
+ Part of the code for controlling the icon of the button to hide/show the panel has been moved to the "changeButtonIcon" function
+ Added support for the "data-initial-state-icon" attribute to make it possible not to use cookies when initially opening a page.
2024-06-14 19:29:17 +03:00
IgorA100
576dc6a652
Merge branch 'ZoneMinder:master' into patch-141
2024-06-14 19:23:35 +03:00
IgorA100
038b3b2886
Chore: eslint (watch.js)
2024-06-14 15:49:13 +03:00
IgorA100
d9b9dfc77f
Chore: eslint (panzoom.js)
2024-06-14 15:47:02 +03:00
IgorA100
5c3f244a9a
Added initialization of the experimental PanZoom function for reducing a block containing an image (Shift+Alt+mouse wheel) (watch.js)
2024-06-14 15:39:42 +03:00
IgorA100
7fadd6444b
Merge branch 'ZoneMinder:master' into patch-144
2024-06-14 15:33:40 +03:00
IgorA100
845049c951
When initializing, specify any PanZoom & more parameters (panzoom.js)
...
+ During initialization, you can specify any parameters that will later be transferred directly to "Panzoom"
+ Added an experimental function for reducing the block containing the image (Shift+Alt+mouse wheel).
To do this, you need to initialize another object. For example like this:
"zmPanZoom.init({objString: '.imageFeed', disablePan: true, contain: 'inside', additional: true});"
The key parameter for additional control (Alt key) is "additional: true"
+ Code optimization
2024-06-14 15:31:19 +03:00
Isaac Connor
cb3b29dd8b
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-06-13 09:28:38 -04:00
Isaac Connor
b0081d93d6
Make code a little more robust when expected attributes are not found. Mitigates #4076
2024-06-13 09:28:25 -04:00
IgorA100
fe9cc6d2a7
Don't change skin.js now, it will cause problems in other places
...
Additional research is required in a quiet environment.
2024-06-12 00:14:44 +03:00
IgorA100
a4443bb0a7
Update watch.js
2024-06-11 23:17:01 +03:00
IgorA100
073bbfc316
dataOnClick is called with a delay, because DOM change occurs (watch.js)
2024-06-11 23:06:59 +03:00
IgorA100
02a66983a5
Merge branch 'master' into patch-147
2024-06-11 22:58:32 +03:00
IgorA100
6308ceaf0c
Update watch.js
2024-06-11 22:48:02 +03:00
IgorA100
e874fd9c1f
Chore: code optimization (watch.js)
2024-06-11 22:33:20 +03:00
IgorA100
5e3bfbb392
Call dataOnClick() when switching to new next camera (watch.js)
...
Necessary because we change the DOM
2024-06-11 21:54:01 +03:00
IgorA100
add8eb4be3
Temporarily added dataOnClick() when initializing the page (watch.js)
2024-06-11 21:18:47 +03:00
Isaac Connor
6bf2c2653f
Merge pull request #4074 from IgorA100/patch-146
...
currentMonitor variable is now global for the Watch page
2024-06-11 14:03:02 -04:00
Isaac Connor
e85078ca2d
Handle when ptzToggle does not exist because OPT_CONTROL is off
2024-06-11 14:00:01 -04:00
Isaac Connor
8fe2da13fb
Fix use of validFloat which doesn't exist
2024-06-11 13:59:46 -04:00
IgorA100
f40cf5866e
Fix: addEventListener used after page load (skin.js)
...
This will be more correct!
This solves the problem https://forums.zoneminder.com/viewtopic.php?p=134573#p134573
I hope no other problems arise in connection with the code transfer.
2024-06-11 20:31:36 +03:00
IgorA100
abc72ff7dc
Fix: Include the file "includes/control_functions.php" only once (watch.php)
2024-06-11 19:50:32 +03:00
IgorA100
25b6fa8488
Fix: Limit scope for "handleClick" (watch.js)
2024-06-11 19:21:20 +03:00
IgorA100
68cbfe0160
currentMonitor variable is now global for the Watch page (watch.js)
2024-06-11 11:43:58 +03:00
IgorA100
ddb82112ee
Fix: Unified style for Buttons=disabled (light theme skin.css)
2024-06-10 11:52:14 +03:00
IgorA100
2c583a386e
Fix: Unified style for Buttons=disabled (dark theme skin.css)
2024-06-10 11:45:44 +03:00
Isaac Connor
2734827d21
validHtmlStr isn't strong enought o prevent injection. Use validFloat on maxfps.
2024-06-09 10:26:52 -04:00
Isaac Connor
e5367621cf
Use disabled instead of hiding/unhiding the ptz toggle. Fix passing monitorStream instead of currentMonitor to applyMonitorControllable
2024-06-09 10:26:18 -04:00
Isaac Connor
538cfacac9
Merge pull request #4062 from IgorA100/patch-135
...
When viewing in a cycle, move to the next stream without reloading Watch page
2024-06-07 15:54:13 -04:00
IgorA100
da8882b67f
Chore: Code optimization (watch.js)
2024-06-07 22:08:25 +03:00
IgorA100
cbf3812a30
After pressing Play, do not reset the time countdown if pause was enabled before (watch.js)
2024-06-07 21:56:02 +03:00
IgorA100
05e9363251
Pressing any DVR control button will stop cycle. (watch.js)
2024-06-07 21:46:39 +03:00
Isaac Connor
44823b2c65
Start playback at the beginning of the time segment, not the middle
2024-06-07 12:42:51 -04:00
Isaac Connor
d29a60a6b3
Merge pull request #4065 from IgorA100/patch-138
...
Fix: in function "scaleToFit" do not take padding into account if the width is enough (skin.js)
2024-06-07 11:57:41 -04:00
Isaac Connor
f4d69d3ebb
Merge pull request #4071 from IgorA100/patch-143
...
Added position definition and background color for ".monitorStatus" (CSS)
2024-06-07 11:56:55 -04:00
Isaac Connor
991489a391
Use const instead of var for some variables
2024-06-06 18:11:22 -04:00
Isaac Connor
22f3910953
Use statusRefreshTimeout instead of delay on status requests. If new auth info is found in statusresponse, use it.
2024-06-06 18:10:53 -04:00
Isaac Connor
51ad77c6b9
Always add auth_relay info to status requests
2024-06-06 18:10:23 -04:00
Isaac Connor
ad6a8c376b
Add new auth_hash to any status request. Fixed auth timeout when using rtsp2web or janus
2024-06-06 17:51:05 -04:00
IgorA100
e0bfc12a66
Now addEventListener without an anonymous function (panzoom.js)
...
+ Now addEventListener without an anonymous function, which allows you to correctly removeEventListener for a specific PanZoom object
+ Disabling ".btn-zoom-in" and ".btn-zoom-out" only for the PanZoom object being disabled, not for all.
2024-06-07 00:13:01 +03:00
IgorA100
ba62d251cd
Chore: eslint (panzoom.js)
2024-06-06 20:16:19 +03:00
IgorA100
79073cab23
Added all other event handlers (panzoom.js)
2024-06-06 20:01:35 +03:00
IgorA100
d377d2f5dc
Добавил возможность инициализации с параметрами (panzoom.js)
...
+ Изменять стиль курсора в зависимости от disablePan & disableZoom
+ Добавлена обработка ошибочных ситуаций.
+ Добавлено назначение функций для прослушивания событий "panzoomchange", "panzoomzoom"
2024-06-06 19:54:56 +03:00
IgorA100
95c4b01791
Added background color definition for ".monitorStatus" Dark theme (skin.css)
2024-06-06 18:34:32 +03:00
IgorA100
b927c5d0b2
Added position definition and background color for ".monitorStatus" (skin.css)
2024-06-06 18:31:39 +03:00
IgorA100
08fd4c0a82
Code Cleanup (skin.js)
2024-06-06 18:10:07 +03:00
IgorA100
82e4433ec1
Changed the flip panel control "data-flip-control-object" (skin.js)
...
Do not "slideToggle" for a button that has the 'data-on-click-true' attribute.
This means that control occurs in the function specified in the 'data-on-click-true' attribute.
2024-06-05 23:59:49 +03:00
IgorA100
c3d4328adb
Fix: Avoid error if object was not initialized & more (panzoom.js)
...
- Do nothing if you click on the image without Ctrl or Shift
2024-06-05 21:12:14 +03:00
IgorA100
39e9697873
Do not change the "stopBtn" button when analyzing "monitorStream.status.delayed" (watch.js)
...
Otherwise, the "stopBtn" button will not be active when viewing.
I still don’t understand why this was necessary?
2024-06-05 20:55:35 +03:00
IgorA100
68145fb358
Generating a new URL for the "All events" button (watch.php)
2024-06-05 20:44:10 +03:00
IgorA100
41403d5a9c
Generating a new URL for the "All events" button (watch.js.php)
2024-06-05 20:42:35 +03:00
IgorA100
9bc1c10f63
Generating a new URL for the "All events" button (watch.js)
2024-06-05 20:41:27 +03:00
IgorA100
d2e97d2324
Updated address bar URL when switching to next monitor (watch.js)
2024-06-05 18:40:19 +03:00
IgorA100
770b3c4054
Fix: The "filterQuery" variable needs to be changed when moving to the next monitor. (watch.js)
2024-06-05 17:52:15 +03:00
IgorA100
68c7f16d63
Lost line "var element = document.getElementById(element_id);" (watch.js)
2024-06-05 17:09:56 +03:00
IgorA100
14604520bc
Merge branch 'ZoneMinder:master' into patch-135
2024-06-05 17:07:51 +03:00
IgorA100
53d057d7aa
After the monitor name, display its ID (Monitor.php)
2024-06-05 15:21:09 +03:00
IgorA100
4a03065c7e
Fix: eslint (watch.js)
2024-06-05 14:49:28 +03:00
IgorA100
160715bd5d
Fix: Вместо innerWidth()-padding skin.js
2024-06-05 14:38:49 +03:00
IgorA100
2dcb3a3c2f
Display a single style of DVR control buttons (watch.php)
...
Button visibility/activity will be controlled by watch.js
2024-06-05 14:04:57 +03:00
IgorA100
ec824469fb
Fix: Image size with Scale=Auto and others (watch.js)
...
- Code cleaning with removal of unused code.
- Added a temporary function "setButtonStateWatch"
- Added a Stop button
- Partially redesigned the logic for displaying DVR control buttons (Play, Stop, Pause)
2024-06-05 14:00:44 +03:00
IgorA100
a43fd0504e
Fix: in function "scaleToFit" do not take padding into account if the width is enough (skin.js)
2024-06-04 21:33:11 +03:00
Isaac Connor
8a496f5d17
Remove extra comma that now breaks php
2024-06-04 09:39:22 -04:00
IgorA100
2841427552
Chore: eslint (watch.js)
2024-06-04 15:39:57 +03:00
IgorA100
a1b3e454d0
.hidden, .hidden-shift, .invisible should be at the end of the file (skin.css)
2024-06-04 15:28:54 +03:00
IgorA100
92903c6a10
Added more values to "monitorData" (watch.js.php)
2024-06-04 15:26:14 +03:00
IgorA100
ba5cb4adcd
Added $this->streamSrc = $streamSrc (Monitor.php)
...
Required to switch without reloading the page between monitors on the Watch page
2024-06-04 15:22:59 +03:00
IgorA100
d6b7daf5db
Added function "loadFontFaceObserver()" skin.js
...
Because the function code must also be called from other JS, for example watch.js
2024-06-04 15:15:28 +03:00
IgorA100
da8ca3f297
Update watch.php
2024-06-04 15:08:36 +03:00
IgorA100
408a7ac5ca
Update watch.js
2024-06-04 14:51:01 +03:00
IgorA100
342a73872b
Merge branch 'ZoneMinder:master' into patch-135
2024-06-04 14:28:26 +03:00
Isaac Connor
95feb4d127
FIx missing {
2024-06-03 12:48:14 -04:00
Isaac Connor
a5a015d502
Fix TimerHideShow not being defined.
2024-06-03 09:14:54 -04:00
Isaac Connor
6e9c69300b
Handle no rows return from Server_Stats
2024-06-02 16:04:15 -04:00
Isaac Connor
3c389e7f7f
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-06-02 12:51:52 -04:00
Isaac Connor
e7eba3d33c
Merge pull request #4058 from IgorA100/patch-132
...
Added Scales = Max 480, 640, 800, 1024, 1280, 1600 px & added settings Stream Quality on Watch, Event & Montage page
2024-06-02 12:39:58 -04:00
Isaac Connor
5cfa4465de
Merge pull request #4063 from IgorA100/patch-136
...
Fix: For bind/unbind events use namespaced (PanZoom)
2024-06-02 12:39:10 -04:00
IgorA100
eb1a38c74c
Changed attr "title" for "#monitor" (Monitor.php)
...
Made in two lines and added capital letters.
2024-06-02 00:07:37 +03:00
IgorA100
4f9657c482
Fix: eslint (panzoom.js)
2024-06-01 23:37:37 +03:00
IgorA100
71a08c94dd
Fix: For bind/unbind events use namespaced (panzoom.js)
...
- When disable, also perform unbind keyup, keydown
- Code optimization.
2024-06-01 23:32:53 +03:00
Isaac Connor
bf18a685da
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2024-05-31 14:53:50 -04:00
Isaac Connor
414b28d42a
Update style of variable embeddeding in string. php complains now
2024-05-31 14:53:45 -04:00
IgorA100
6f7728bf1e
Update watch.js
2024-05-31 20:11:43 +03:00
IgorA100
6ee8c91fc1
<ul.nav nav-pills> for <li> assign ID (watch.php)
2024-05-31 20:05:05 +03:00
IgorA100
45dab6dc48
Update watch.js
2024-05-31 19:25:40 +03:00
IgorA100
4c6059fb23
Hide image when page starts opening (watch.php)
2024-05-31 19:22:00 +03:00
IgorA100
4b5d468af3
Delay monitors stopping for 15 seconds when hiding page (zones.js)
2024-05-31 17:55:42 +03:00
IgorA100
f9a55201cd
Delay monitors stopping for 15 seconds when hiding page (zone.js)
2024-05-31 17:53:18 +03:00
IgorA100
1d5f049df2
Delay monitors stopping for 15 seconds when hiding page (watch.js)
2024-05-31 17:42:12 +03:00
IgorA100
2123a565e2
Delay monitors stopping for 15 seconds when hiding page (montage.js)
2024-05-31 17:27:10 +03:00
IgorA100
e5e7cb470f
Added $streamQuality processing (montage.php)
2024-05-31 15:36:23 +03:00
IgorA100
35ea667378
Added $streamQuality processing (montage.js)
2024-05-31 15:35:15 +03:00
IgorA100
802ffe12ce
Merge branch 'ZoneMinder:master' into patch-132
2024-05-31 15:31:29 +03:00
IgorA100
5565b8cca1
Fix: variable declaration (event.js)
2024-05-31 14:53:55 +03:00
IgorA100
d5a8d931e6
Chore: eslint (watch.js)
2024-05-31 14:07:53 +03:00
IgorA100
c6c916d9ef
Chore: eslint event.js
2024-05-31 14:01:07 +03:00
IgorA100
ac85492f1b
$streamQuality applied to portrait mode (event.js)
2024-05-31 13:59:14 +03:00
IgorA100
fc127b7c47
$streamQuality applied to portrait mode (watch.js)
2024-05-31 13:55:59 +03:00
IgorA100
1751789fb9
Rename 'Max width 480px' to 'Max 480px' Etc. (config.php)
...
Because the image can be in either a landscape or a portrait, which means you need to control both the width and height
2024-05-31 13:32:35 +03:00
IgorA100
ee9206eff6
Added $streamQuality processing (event.php)
2024-05-31 01:18:54 +03:00
IgorA100
fb866a1edc
Added $streamQuality processing (watch.php)
2024-05-31 01:15:39 +03:00
IgorA100
282f11a894
Chore: eslint (event.js)
2024-05-31 01:11:55 +03:00
IgorA100
d4a963b7cf
Chore: eslint (watch.js)
2024-05-31 01:05:35 +03:00
IgorA100
7d86df0c04
Chore: eslint MonitorStream.js
2024-05-31 01:04:03 +03:00
IgorA100
0be93427c8
Added $streamQuality processing (watch.js)
2024-05-31 00:55:34 +03:00
IgorA100
5706bf2ade
Added $streamQuality processing (MonitorStream.js)
2024-05-31 00:51:49 +03:00
IgorA100
68e00d7d96
Added $streamQuality processing & other (event.js)
...
Added Scale display
Added $streamQuality processing
Added new options for selecting maximum width in $scales
Minor fixes related to Scale
Commented out unused code from the old version of Pan Zoom. In the future it should probably be completely removed.
2024-05-31 00:16:28 +03:00
IgorA100
18628dbc44
Added setting stream quality (config.php)
...
Measured in %
Used to change the Scale up (increase quality) or down (reduce network traffic)
2024-05-30 23:26:10 +03:00
IgorA100
7ab8bce06b
Merge branch 'ZoneMinder:master' into patch-132
2024-05-30 23:19:29 +03:00
Isaac Connor
3c8ebc8599
Don't show skin tab if both skin and css are forced
2024-05-30 13:44:47 -04:00
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