Commit Graph

20084 Commits (4e14320978550255cd2b33489f631a19f813da36)

Author SHA1 Message Date
Isaac Connor 4e14320978 Remove the modal content so that when choosing another group or new we get that instead of the first content 2024-11-06 13:18:47 -05:00
Isaac Connor ade3a01902 destroying then re-applying chosen for some reason auto-selects all options. Fix the problem by fixing the table width with css so that the underlying select is already 100%. 2024-11-06 12:44:14 -05:00
Isaac Connor 6f8f47831f Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2024-11-06 12:37:50 -05:00
Isaac Connor 60b9f3e16a Set any tables in a modal to 100% so that they fill the modal. 2024-11-06 12:31:11 -05:00
Isaac Connor 3113f7ca04 If no group id don't do sql lookup 2024-11-06 12:30:54 -05:00
Isaac Connor d53eec168a Give an id to the newGroup[MonitorIds] select can look it up more efficiently when applying chosen rules 2024-11-06 12:28:52 -05:00
Isaac Connor 8248d4aa7c Don't bother making the UpdatedOn file NOT NULL by update. We don't actually care. Fixes #4180 2024-10-27 18:42:22 -04:00
Isaac Connor 8b6e4038c4 Don't warn about no locale set, that is normal 2024-10-25 11:01:59 -04:00
Isaac Connor 392d4f367f Bump version to 1.36.36 2024-10-25 10:53:42 -04:00
Isaac Connor ebeb01a40a Clean out duplicated datetimeformatter stuff that happens in config.php 2024-10-25 10:51:01 -04:00
Isaac Connor 824ae0e60f Check for validity of locale. Handle fatal crash when setting datetiemformatter when an invalid locale is used. Fixes #4179 2024-10-25 10:44:16 -04:00
Isaac Connor c7975f11ed Add missing n 2024-10-23 09:04:17 -04:00
Isaac Connor c2fccb16b1 Add support for no sort field. No longer default to StartDateTime 2024-10-22 10:26:45 -04:00
Charlie Root 8a6b597d34 Only require Date::Manip if using strtotime 2024-10-18 10:57:09 -04:00
Isaac Connor 0f0f571c7a Make NULL be case-insensitive 2024-10-18 10:55:26 -04:00
Isaac Connor b176709c30 Add checking of keyframeinterval to Ready() 2024-10-18 10:55:19 -04:00
Isaac Connor a7e01f2db2 Only calculate keyframe interval using video stream 2024-10-17 19:39:08 -04:00
Isaac Connor 3ae02948e7 Fix again the infinite loop in counting keyframes 2024-10-17 19:38:54 -04:00
Isaac Connor dccec69b2e Fix infinite loop looking for keyframe interval 2024-10-17 19:38:39 -04:00
Isaac Connor 90dc655090 Count keyframes on queuePacket so that analysis Ready() will start when out of order packets are present 2024-10-17 19:38:18 -04:00
Isaac Connor 2770a9caa7 Handle change of res/colours in zms by reloading the monitor object. 2024-10-16 12:14:21 -04:00
Isaac Connor ca24b43f36 Fix typo 2024-10-16 10:23:37 -04:00
Isaac Connor 962f91e22c Add No sort field as an option 2024-10-16 10:23:21 -04:00
Isaac Connor f5828f7024 Handle failure to allocate a frame 2024-10-16 10:23:03 -04:00
Isaac Connor c8b652c25b Fix crash due to trying to access event->StartTime when there is no event 2024-10-16 10:22:47 -04:00
Isaac Connor c4dbbbccc5 Revert change of tot_score and avg_score to unsigned ints. Make them ints so that comparison with other scores is ok 2024-10-16 10:22:25 -04:00
Isaac Connor a89160ff2d Fix zone edit image jumping around when status is alert 2024-10-15 16:36:31 -04:00
Isaac Connor d04153b06b Only show location tab when GEOLOCATION is turned on 2024-10-15 13:53:00 -04:00
Isaac Connor f12d7a2184 Fix labelling for defaultCodec, as it is used for event viewing, not live view. 2024-10-15 13:38:44 -04:00
Isaac Connor 4ea68c59d5 Add End Date Time as an option for sorting in filters 2024-10-15 13:22:50 -04:00
Isaac Connor fcebe4bcdc Fix ISE when auth is turned off. 2024-10-01 10:10:42 -04:00
Isaac Connor 36c6b8872f Use htmlspecialchars on Message to prevent Stored Cross-Site Scripting. Fixes GHSA-rqxv-447h-g7jx 2024-09-30 08:27:46 -04:00
Isaac Connor 7cc4ac2f95 Remove default of NOW from UpdatedOn in Monitor_Status field because old mysql can't handle it. Explicilty set it in zmc.
Fixes #4155
2024-09-27 17:16:01 -04:00
Isaac Connor fdf18696d7 Use event->duration when considering min_section_length because the first keyframe may have been quite a while ago and we can end up closing an empty event. 2024-09-27 17:14:56 -04:00
Isaac Connor c189952fe1 Add event->Duration 2024-09-27 17:14:09 -04:00
Isaac Connor 2e06aa638d Remove reorder_queue_size from output options to prevent logging 2024-09-26 16:03:23 -04:00
Isaac Connor 120e13a769 Add support for DateTime and Server advsearch filters 2024-09-25 09:31:20 -04:00
Isaac Connor 2899a4debc Don't start max score at -1 as that is not a valid value for the db. 2024-09-18 13:07:06 -04:00
Isaac Connor 6a48575504 Default end_time to start_time on event creation so that we don't get a negative duration 2024-09-18 13:02:34 -04:00
Isaac Connor da205f5876 Bump version to 1.36.35 2024-09-16 09:46:00 -04:00
Isaac Connor 525506517d If an invalid port is specified, don't actually start the rtp threads. They don't get used in RTP/RTSP. Fixes #3759 2024-09-13 13:22:56 -04:00
Isaac Connor 180bb77c6a add support for ffmpeg 2.8 2024-09-12 15:49:06 -04:00
Isaac Connor 01526f4bf5 Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2024-09-12 14:06:35 -04:00
Isaac Connor 36ab26db42 Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2024-09-12 13:55:54 -04:00
Isaac Connor 74b7b2d64e Always turn off db logging in zmDbDo. If db logging is set to debug, we will infinitely recurse. 2024-09-12 13:55:15 -04:00
Isaac Connor 009aab447d Include rc in debug 2024-09-12 13:52:46 -04:00
Isaac Connor 10cb137331 Add debugging of db failures 2024-09-12 13:51:56 -04:00
Isaac Connor f85c8935c2 Wait forever until reconnect, the fallthrough case had us retrying the sql on a closed connection which may have led to a crash. 2024-09-12 13:50:44 -04:00
Isaac Connor d5e2b7d310 Include unistd because we use sleep 2024-09-12 13:49:56 -04:00
Isaac Connor 54be2614ed Add a return value to zmDbReconnect which seems to fix the crashing 2024-09-12 13:49:39 -04:00