Commit Graph

314 Commits

Author SHA1 Message Date
IgorA100
4e7d774667 Added support for GridStack & PanZoom on Montage page (Monitor.php) 2024-05-07 19:31:25 +03:00
Isaac Connor
97af155102 Remove extra }. Fixes #3911 2024-03-27 17:36:45 -04:00
Isaac Connor
9b1ea23792 When deleting a monitor, stop running zmc and zmcontrol processes 2024-03-27 13:03:54 -04:00
Isaac Connor
76e2be6543 Set defaults for ONVIF_EVENTS_PATH and ONVIF_Alarm_Text 2024-03-22 09:12:07 -04:00
Isaac Connor
1ae7c9c4b1 Add UI for setting StartupDelay 2024-03-19 14:59:04 -04:00
Server
58d8cf0adf Makes the "Events" part of the ONVIF URL configurable
as required per some ONVIF version 21.06 cameras
by default sets the Events Path equals to "/Events"
to maintain functionality
2024-02-24 11:05:08 -06:00
Isaac Connor
a738f1bc2e Remove unused EventStartMode. Fixes #3839 2024-02-23 08:56:26 -05:00
Isaac Connor
eeb8856157 Ad EventStartMode and EventCLoseMode to monitor 2024-02-22 10:46:36 -05:00
Server
0ff48f631e Implements an option to disable soap_wsa code that doesn't work
with some chinese cameras, more common to Latam zone
2024-02-12 19:22:01 -06:00
Isaac Connor
88db0e9854 Handle when ZM_RTSP2WEB_PATH hasn't been filled, but RTSP2Web has been turned on for a monitor. 2023-12-07 13:17:08 -05:00
Isaac Connor
ffc111f1e7 Need to a () so that ModelId is called as a function and so it doesn't complain about lack of property 2023-12-06 09:37:45 -05:00
Isaac Connor
03858ba1a2 Code style, using ->Id() instead of checking for property existence. 2023-12-04 14:06:49 -05:00
adhamiamirhossein
27977acdd4 fix: php 8.3 deprecated get_class method call without argument 2023-11-22 10:48:04 +03:30
Isaac Connor
5486fc6327 Include username in url when using auth_hash so that the authenting sql can be more efficient 2023-11-08 10:55:39 -05:00
Isaac Connor
3cd6b78b85 OutputCodec cannot be null 2023-10-17 12:33:27 -04:00
Charlie Root
e11b700fbd Add Id as a protected member, only lookup monitor status if Id has a value 2023-09-13 11:18:50 -07:00
Isaac Connor
5233c402d3 Use User object to get Monitor_Permission and Group_Permissions hoping it will be cached there. 2023-08-02 18:07:28 -04:00
Isaac Connor
672ba114f4 Fix reversed defaults for RTSP2Web options 2023-08-02 13:48:15 -04:00
Jonathan Bennett
5c9588c012 Adds RTSP2Web support for live view 2023-07-29 23:46:31 -05:00
Isaac Connor
febf424259 Fix returning link_to 2023-05-30 20:47:05 -04:00
Isaac Connor
30495578c2 Add link_to function 2023-05-30 20:47:05 -04:00
Isaac Connor
485af42a0b Fix more typos 2023-05-16 14:18:26 -04:00
Isaac Connor
030d6b9696 Fix undefined mid 2023-05-16 14:14:34 -04:00
Isaac Connor
3daee34d4d Fix typo 2023-05-16 14:11:53 -04:00
Isaac Connor
6eb166c938 Handle matches2 not being defined 2023-05-16 11:53:48 -04:00
Isaac Connor
a8365d40b4 Fix array uses of user object. Include data-id in monitor div. 2023-05-10 11:03:10 -04:00
Isaac Connor
969baa3891 Convert user from an array to a User object 2023-04-23 12:57:29 -04:00
Isaac Connor
35cc9fa4cb Apparently Default for Deleted needs to be zero, not false 2023-04-22 14:04:18 -04:00
Isaac Connor
665628720f Improved setting of Manufacturer and Model, add Status to monitor view status, new defaults for Label, EncoderParamters, don't save analysis jpegs by default and only analyze on 2fps and set a reasonable MaxImageBuffer 2023-04-22 13:58:33 -04:00
Isaac Connor
73548dda73 Add Deleted member 2023-04-19 18:56:29 -04:00
Isaac Connor
16b74fc474 Add title of monitor id and name like we had in 1.36 2023-03-23 20:03:40 -04:00
Isaac Connor
72652cfb64 Add Decoder options to monitor view 2023-02-26 16:04:32 -05:00
Isaac Connor
82a28b78d8 Use function style of member access to prevent errors on unsaved monitor 2023-02-23 13:22:50 -05:00
Isaac Connor
82a9d6d444 Use validCardinal on Id to prevent executing other commands 2023-02-20 11:41:41 -05:00
Isaac Connor
5090000cdd Remove ZM\s that shouldn't be there 2023-02-19 17:29:32 -05:00
Isaac Connor
855ab6f141 Add reload to monitor zmcControl 2023-02-16 14:10:21 -05:00
Isaac Connor
113171e5ee username in session can also be unset 2023-02-15 13:46:34 -05:00
Isaac Connor
1fa0253fa5 When switching from hashed to plain relay, the session won't have password. So prevent errors. 2023-02-14 17:04:32 -05:00
Isaac Connor
a2ab907c92 Spacing, parenthesis and use Id() instead to avoid warning when called on a non-existent monitor 2023-02-07 09:11:29 -05:00
baudneo
aab62c5a7e Add Janus RTSP session timeout to PHP (front end) ⚗️
Signed-off-by: baudneo <86508179+baudneo@users.noreply.github.com>
2023-01-09 17:57:26 -07:00
Isaac Connor
f06e11a097 Add SectionLengthWarn, use it to disable warnings in logs about section length being exceeded. 2023-01-07 12:33:42 -05:00
Isaac Connor
ea6d999654 Must use false === when using array_search because first element returns 0 2022-11-02 17:42:32 -04:00
Isaac Connor
ab3e1811d3 fix canEdit, rough in effectPermission 2022-11-02 15:52:37 -04:00
Isaac Connor
63769a2082 Fix missing ) 2022-11-02 13:26:34 -04:00
Isaac Connor
24a83efa79 Improve Monitor canView and canEdit. If the user is not specified, use the cached auth routines in includs/auth.php. Otherwise replicate the logic for the specfied user. 2022-11-02 13:25:44 -04:00
Isaac Connor
2f295a2f55 Make Monitor::Server always return a Server object so we don't have to test for null 2022-09-30 09:57:21 -04:00
Isaac Connor
8d56949800 Deal with structure of json response from API when getting Janus_Pin 2022-09-28 18:36:47 -04:00
Isaac Connor
f5bdbcf0bd Use new Server::SendToApi to reduce duplicated code. If Janus Not enabled, then don't both with Janus_Pin. If Server is remote, use API to get Janus_Pin. Implementing the API side is left as an exercise. 2022-09-28 17:41:46 -04:00
Isaac Connor
d32fe1cf55 Add Janus_RTSP_User and related UI code 2022-09-12 10:34:26 -04:00
Isaac Connor
8ba1bbc63c Set new defaults: Only analysis jpegs, and passthrough on. Label Size => Default. Fix warnings when creating a new MOnitor because Path, User, Pass are unset. 2022-09-09 11:29:32 -04:00