Commit Graph

19684 Commits

Author SHA1 Message Date
Isaac Connor 4bdf965dcb Set rows on email textarea 2021-09-25 20:56:33 -04:00
Isaac Connor 2a0ddc6337 Add open collective username 2021-09-25 20:56:33 -04:00
5472qaywsx d81be9701a Docs: Fix a typo (#3358) 2021-09-25 20:56:33 -04:00
Andrea Vezzali e75d5a89e9 Update italian (it_it) translation (#3357) 2021-09-25 20:56:33 -04:00
Isaac Connor 0bf417bae0 Reduce logging level to debug dealing with index == -1, which is used in zmu to mean the last captured image. Fixes #3354 2021-09-25 20:56:33 -04:00
ColorfullyZhang 9e4f203632 Set character set as utf8 when connect to mysql to avoid mistakes when there are Chinese characters in storage path. 2021-09-25 20:56:33 -04:00
ColorfullyZhang 874552c06b Set mysql character set to utf8 explicitly to support chinese characters (or other special characters). 2021-09-25 20:56:33 -04:00
Isaac Connor c233ec3b8c Remove redundant notify_all, spelling mistake 2021-09-25 20:56:33 -04:00
Mike Dussault e63be2b18e Fixed a bug in Image::Buffer that would return the wrong location in the image if the image had > 1 channels (and if the request were for x > 0). 2021-09-25 20:56:33 -04:00
Isaac Connor c5f4623104 Don't crash when unable to create source. erase will call the desctructor. Fixes #3344 2021-09-25 20:56:33 -04:00
Isaac Connor 38cda24b53 wait won't wake up other threads, so notify first. Since we have the lock, this should be ok 2021-09-25 20:56:33 -04:00
Isaac Connor cddb9d88bf Add support for package version 2021-09-25 20:56:33 -04:00
Isaac Connor de299ab882 More properly fix the threading lock. Instead of waiting on a packet, release it and wait on the packetqueue. 2021-09-25 20:56:33 -04:00
Isaac Connor 8272411bb2 Revert "use get_packet_and_increment_it instead of the two step to improve locking"
This reverts commit a44bbf8e34.
2021-09-25 20:56:33 -04:00
Isaac Connor 120d9764bc notify anyone waiting in packetqueue before waiting on a packet in motion detection. Should fix decode lockup 2021-09-25 20:56:33 -04:00
Isaac Connor c7aa41502a Fix js error in montage review when using scaled mode. Fixes #3351 2021-09-25 20:56:33 -04:00
Andrea Vezzali 787b7f1874 Update it_it.php 2021-09-25 20:56:33 -04:00
Andrea Vezzali c4a49721d2 Update it_it.php 2021-09-25 20:56:33 -04:00
Isaac Connor 6dbfd22190 Add missing update_function_pointers so that we use SSE blend functions. Significantly reduces cpu use in motion detection. 2021-09-25 20:56:33 -04:00
Andrea Vezzali 4b4152b837 Update it_it translation (#3350) 2021-09-25 20:56:33 -04:00
Peter Keresztes Schmidt a4ebf533a9 Image: Codestyle changes 2021-09-25 20:56:33 -04:00
Peter Keresztes Schmidt 93c5ad0939 Image: Fix Wclobbered warnings
From C99 spec:
[...]  objects of automatic storage duration that are local to the function containing the invocation of the corresponding setjmp macro that do not have volatile-qualified type and have been changed between the setjmp invocation and longjmp call are indeterminate

Remove the variables in question or pass them as const refs.
2021-09-25 20:56:33 -04:00
Isaac Connor 94c1b3445d Add an input for an Id to assign to the new monitor. List 10 available Ids. 2021-09-25 20:54:35 -04:00
Isaac Connor 292b3c1d37 add an ajax request for querying the available models 2021-09-25 20:49:53 -04:00
Isaac Connor c66489fb30 rough in api support for Models and Manufacturers 2021-09-25 20:49:30 -04:00
Isaac Connor d98d20958c fixup the Manufacturer and Model ddms and text inputs 2021-09-25 20:48:43 -04:00
Isaac Connor fe72056d73 fixup populating Models dropdown after Manufacturer select 2021-09-25 20:48:14 -04:00
Isaac Connor 34d9f87d6d remove cruft from ServersController.php 2021-09-25 20:44:16 -04:00
Isaac Connor 12783f6edf Add manufacturers, models and servers routes 2021-09-25 20:43:53 -04:00
Isaac Connor 03892796eb whitespace 2021-09-25 16:10:50 -04:00
Isaac Connor 888d79706a Add zm_rtsp_server to ignores 2021-09-25 16:08:58 -04:00
Isaac Connor a99f9091fc remove useless commit. 2021-09-25 14:27:10 -04:00
Isaac Connor 2f12615f08 assign REQUEST['newMonitor'] to a variable to simplify code. Fixup ModelId and ManufacturerId saving. 2021-09-25 10:33:16 -04:00
Isaac Connor 7ca7d40b6f Add defaults for ModelId and ManufacturerId. Fixes the methods for loading them 2021-09-25 10:32:04 -04:00
Isaac Connor c78e035057 Fix crash due to int64 cast to a %ld format. 2021-09-23 19:07:07 -04:00
Isaac Connor aae967e895 Add mmal device/pix fmt type 2021-09-23 16:39:35 -04:00
Isaac Connor 7748307c5a More new defaults. The navbar refreshes every 60 secs so make full page refresh be 240sec. Ajax timeout needs to be 10 seconds. Large event listings can take longer than 3 2021-09-23 16:39:35 -04:00
Isaac Connor d3cfd3c224 Set new defaults for various settings 2021-09-23 16:39:35 -04:00
Isaac Connor 30fa641186 initialize video_first_pts and when setting it need to specify microseconds otherwise we get nanoseconds. White space. 2021-09-21 14:29:05 -04:00
Isaac Connor 1cb9f98e9b Restore the download button's behaviour. It is a simple link to the mp4, not an export. Also add a handler for the video.js rate control to sync up our non video.js rate dropdown and stored cookie. 2021-09-21 13:01:05 -04:00
Isaac Connor 160f775f91 Always include the download button so that we can assume that it exists in the js. So avoid console errors when no mp4. 2021-09-21 13:01:05 -04:00
Isaac Connor dd6adc08a8 Set rows on email textarea 2021-09-21 13:01:05 -04:00
Isaac Connor 4b1da156a0 Add open collective username 2021-09-21 13:01:05 -04:00
5472qaywsx a7f13c82d5
Docs: Fix a typo (#3358) 2021-09-20 14:04:07 +02:00
Andrea Vezzali 2724a238e1
Update italian (it_it) translation (#3357) 2021-09-20 14:02:35 +02:00
Isaac Connor fba7dba3d0 Reduce logging level to debug dealing with index == -1, which is used in zmu to mean the last captured image. Fixes #3354 2021-09-16 10:03:30 -04:00
Isaac Connor 1700e2f919
Merge pull request #3355 from ColorfullyZhang/master
Set mysql character set to utf8 explicitly
2021-09-16 09:49:19 -04:00
ColorfullyZhang f5d8eaa2ad Set character set as utf8 when connect to mysql to avoid mistakes when there are Chinese characters in storage path. 2021-09-16 18:24:37 +08:00
ColorfullyZhang 6009bba339 Set mysql character set to utf8 explicitly to support chinese characters (or other special characters). 2021-09-16 14:41:24 +08:00
Isaac Connor e6f4cdb584 Remove redundant notify_all, spelling mistake 2021-09-15 13:38:06 -04:00