Commit Graph

19971 Commits (04b58ab51ec27a3d50479bf3b3ec08024dd8a1c2)

Author SHA1 Message Date
Isaac Connor d44a1ad175 Handle filter[query] not being defined 2022-09-29 16:15:11 -04:00
Pliable Pixels 121fab2f6a make OutputCodec work in API 2022-09-25 13:29:36 -04:00
Isaac Connor 0ce8373bb1 Only warn about event exceeding section_length if we are not using close_mode=TIME. Fixes #3599 2022-09-25 10:05:09 -04:00
Isaac Connor 0df8b0cc7c Put the view and mid into the get query part of the form submit. Because it's a modal, view is not populated. We are also moving the action to actionsn/watch.php so specify watch view. This all fixes not saving v4l settings. 2022-09-25 09:55:03 -04:00
Isaac Connor 81a9d28f38 Bump version to 1.36.26 2022-09-22 11:31:25 -04:00
Isaac Connor a7e45752de Add connkey and semaphore key to logging about failure to get semaphore. Add sem_release before every ajaxError call because ajaxError exits and so we never release the semaphore. 2022-09-22 11:29:26 -04:00
Isaac Connor d3c13e7e99 In failure state populate imageData array to reduce output php errors 2022-09-22 10:16:18 -04:00
Isaac Connor 6dab3a57da We change stats so it has to be let 2022-09-22 10:16:18 -04:00
Isaac Connor 1c12320052 Update frame view js to use const etc instead of var. Put back EventId and FrameId in stats being links and fix FrameId not being populated. If no stats available disable the stats button and use the title to explain why. 2022-09-22 10:16:18 -04:00
Isaac Connor 59832dc69f Add spans and titles over the title h2 parts so that on mouseover it tells you what they are 2022-09-22 10:16:18 -04:00
Isaac Connor d09362c6c9 More properly fix the alarm status api changing. The previous hack broken doing alarm on/off. 2022-09-21 14:35:50 -04:00
Isaac Connor d52d02c619 Use y instead of Y for path generation when using Deep scheme. Fixes #3583 2022-09-21 09:08:09 -04:00
Isaac Connor 76d11f2b84 commit to free up locks when there is an error doing MoveTo (like does not exist on disk). Also remove commit from CopyTo which does no transactions/locking. 2022-09-19 09:27:24 -04:00
Isaac Connor ddb6741e5f Use zm_setcookie, which will automatically set samesite on the session cookie. Maybe fixes #3517 2022-09-16 13:35:30 -04:00
VikingGer b3bad6a653 Update control_functions.php
The Reboot button was not shown without activating another one. Probably not intended  so  I did this micro adjustment
2022-09-16 11:52:14 -04:00
Isaac Connor a04510d392 Add libio-interface-perl to dependencies. Fixes #3577 2022-09-16 09:44:56 -04:00
Isaac Connor 16c785f708 Fix contents of values on LOCALE_DEFAULT. 2022-09-15 17:06:25 +00:00
Isaac Connor 98b7965c9f Only try to set TIMEZONE when loading dateTimeFormatter if it is set. Handle the exception when any of TIMEZONE or LOCALE are invalid. 2022-09-15 17:06:02 +00:00
Isaac Connor be50ea893d fix export from event view. There is a global exportEvent Function, so rename ours 2022-09-15 16:43:22 +00:00
Isaac Connor c395a61719 Specify that only main page content tables should have the first colunm be min-width: 300px. This was affecting the logout dialog table content. 2022-09-15 16:38:39 +00:00
Isaac Connor aa393c7841 Spacing, ignore auth_relay, clean up clickLogout a bit 2022-09-14 17:02:05 +00:00
Isaac Connor c4baddbf2a Add fade to the logout modal which for some reason fixes it not showing after a hide 2022-09-14 17:00:59 +00:00
Isaac Connor 726f78e8d1 Only init the boostrap events table if we can view Events. 2022-09-08 15:12:21 -04:00
Isaac Connor d2176c83af Restore status value to pre 1.36.16 value by substracting 1. So Unknown == -1, 0 = IDLE etc. Fixes #3584 2022-09-08 13:02:02 -04:00
Isaac Connor 2d63dd72e4 Fix typo on dateTimeFormater=>dateTimeFormatter. Fixes #3580. Make conversion to integer on Length explicit to remove warning on php8. 2022-08-31 10:08:51 -04:00
Isaac Connor 700ed2d9f5 cleanup migrateHash. Use better parameter names to avoid conflict with global . 2022-08-29 16:02:04 -04:00
Isaac Connor 1f8fc96226 Fix typo Pasword => Password 2022-08-29 15:49:48 -04:00
Isaac Connor 8dcc1b9ac2 Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2022-08-29 14:11:03 -04:00
Isaac Connor f45ea8941b When there are less than 3 storage areas, just list them in the header instead of making it a dropdown 2022-08-29 14:10:47 -04:00
Isaac Connor 88d669fdf4 Remove unused variable 2022-08-29 12:22:32 -04:00
Isaac Connor 4b165e1d3a Fix build on xenial 2022-08-29 11:12:21 -04:00
Isaac Connor 50856b4746 Remove warning about maxImageBuffer. It will be handled in queuePacket as it was before, only now we actually tell about the keyframe interval. It is entirely common to not get to another keyframe due to locked packets during event writing. 2022-08-29 09:37:07 -04:00
Isaac Connor 1aa92a051b Remove warning about maxImageBuffer. It will be handled in queuePacket as it was before, only now we actually tell about the keyframe interval. It is entirely common to not get to another keyframe due to locked packets during event writing. 2022-08-29 09:36:06 -04:00
Isaac Connor 866edc2990 Handle case where time_base is not set in the codec. Fixes h265 not playing right. Don't eek until a significant difference in time. Lots more debug output. Pass codec when initialising codec context. Mostly this fixes playback of h265 2022-08-29 09:31:42 -04:00
Isaac Connor 5f435cf0ba Bump version to 1.36.25 2022-08-28 16:23:06 -04:00
Isaac Connor 75a0bd99f3 Use HTTP_X_FORWARDED_HOST or HTTP_X_FORWARDED_SERVER if present to get correct hostname to use when behind a reverse proxy. 2022-08-28 16:19:27 -04:00
Isaac Connor 48d09d5d75 Add a back to frames button from view 2022-08-28 16:18:27 -04:00
Isaac Connor baf8ec8df7 Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2022-08-28 16:12:25 -04:00
Isaac Connor 832a0cfdfa Make a.btn the same line-height as button.btn 2022-08-22 19:27:45 -04:00
Isaac Connor 065c124840 If current time is specified, calculate minTime and maxTime from it. 2022-08-22 18:46:30 -04:00
Isaac Connor d8b81664fd Merge branch 'release-1.36' of pseudo:sandbox/ZoneMinder.connortechnology into release-1.36 2022-08-22 16:32:13 -04:00
Isaac Connor a61bcb93f0 Add a button to jump this event time in montage review 2022-08-22 16:30:37 -04:00
Isaac Connor 6ba1d5c424 Update material icons to v1.11.10 2022-08-22 16:29:35 -04:00
Isaac Connor 83a2e543f9 Use a flag to tell whether we have written the snapshot jpeg yet. If image data has been freed from packets, we may not write the snapshot because we already had a packet with a higher score. 2022-08-22 14:53:21 -04:00
Isaac Connor dce274c90c Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2022-08-15 10:24:56 -04:00
Isaac Connor fc2e5aa135 Merge pull request #3574 from peat-psuwit/for-upstream/zmdb-thread-init
db: start the processing thread after all fields are initialized
2022-08-13 18:46:31 -04:00
Isaac Connor af4f8fd761 Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2022-08-12 17:59:09 -04:00
Isaac Connor bf661d2186 fix cherry pick 2022-08-12 14:10:23 -04:00
Isaac Connor eea5ab3343 Remove warning about maxImageBuffer. It will be handled in queuePacket as it was before, only now we actually tell about the keyframe interval. It is entirely common to not get to another keyframe due to locked packets during event writing. 2022-08-12 12:30:41 -04:00
Isaac Connor 64fd444ae5 set decoded=true and notify when deleting packets from queue. Analysing might be waiting on the packet. 2022-08-12 12:29:44 -04:00