Commit Graph

1136 Commits

Author SHA1 Message Date
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
194b55a21c move image_count to shared mem. Use it in monitorstream to detect when last_write_time % buffer_count hasn't changed, but there is in fact a new image. 2024-06-17 18:40:46 -04:00
Isaac Connor
6a5abeca83 Handle RateControl being undef 2023-07-27 11:48:11 -04:00
Isaac Connor
d63877643a Clean up help text for ZM_LOG_DEBUG_FILE to not say that it can include a directory. It should be JUST a filename. 2023-06-29 10:30:27 -04:00
Isaac Connor
6585db7463 Adding :80 to address is not worthy of an Error log 2023-02-13 14:55:34 -05:00
Isaac Connor
5833812514 Add 2>&1 to command to delete event dir so that we get error messages logged. 2023-01-03 19:12:27 -05:00
Isaac Connor
e805a22844 Move code from Event to Storage to implement delete_path() 2023-01-03 19:12:23 -05:00
Isaac Connor
1a0c08c32c Fix crash in zmfilter DiskSpace Update when Event doesn't exist 2022-11-15 13:39:41 -05:00
Isaac Connor
cb2480ddf6 Fix _ instead of __git_main in file::Find::find, clean up use of __git_main 2022-11-02 10:09:13 -04:00
Isaac Connor
635030db70 Switch to utf8mb4 to support 4 byte unicode which is available since mysql 5.5 2022-10-21 17:14:06 -04:00
megasaturnv
475869cf36 Modified description for ZM_CASE_INSENSITIVE_USERNAMES 2022-10-11 10:51:58 -04:00
megasaturnv
97a731f8b7 Renamed ZM_AUTH_CASE_INSENSITIVE_USERNAMES to ZM_CASE_INSENSITIVE_USERNAMES as name was too long ZoneMinder/zoneminder#3516 2022-10-11 10:51:58 -04:00
megasaturnv
c9c692bac4 Added option ZM_AUTH_CASE_INSENSITIVE_USERNAMES to match mixed case usernames to lower case usernames in database ZoneMinder/zoneminder#3516 2022-10-11 10:51:58 -04:00
Isaac Connor
7f2789c3fd Add ZM_LOG_INJECT config parameter to disable unprivileged log injection through api. 2022-10-07 11:09:02 -04:00
Isaac Connor
c578495779 Fix missing STATE_UNKNOWN 2022-10-06 09:24:06 -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
Jonathan Bennett
cc71e6fc15 Update ZM_MIN_RTSP_PORT description 2022-08-10 10:56:54 -04:00
Isaac Connor
d6adb7e206 Revert "Sync up with c++ shm alignment to fix same size of 32bit"
This reverts commit e0fb0dcfb8.
2022-08-05 20:53:56 -04:00
Isaac Connor
6f0a664a7c Merge pull request #3557 from teridon/axiszoomfix
Make proportional zoom and movement work for AxisV2 API
2022-08-05 09:08:47 -04:00
Isaac Connor
e0fb0dcfb8 Sync up with c++ shm alignment to fix same size of 32bit 2022-08-02 14:39:11 -04:00
Isaac Connor
a8ff247c06 Add ZM_TIME_FORMAT_PATTERN 2022-06-23 14:21:22 -04:00
Isaac Connor
7c6735ddac Add ZM_LOCALE_DEFAULT, ZM_DATE_FORMAT_PATTERN and ZM_DATETIME_FORMAT_PATTERN config entries 2022-06-23 14:13:43 -04:00
Isaac Connor
f477f50d56 Add Private to Config 2022-06-05 11:59:20 -04:00
Isaac Connor
46790ff6a0 Make ZM_PATH_FFMPEG a System config entry. Meaning it can only be set in /etc/zm/conf.d. Update help text to mention this. 2022-05-24 13:11:15 -04:00
Isaac Connor
ace736a003 cleanup code and update System column in Config table on zmupdate.pl -f 2022-05-24 13:11:15 -04:00
Isaac Connor
47c8e69722 Merge @alabamatoys' work to add focus controls 2022-04-06 09:03:58 -04:00
Isaac Connor
395d087994 If no protocol defined, fall back to the name of the Control 2022-04-03 17:09:09 -04:00
Isaac Connor
81b752d16f improve debug logging when loading Control in Monitor 2022-04-03 17:08:52 -04:00
Isaac Connor
f5fd8cb111 Implement Control() function to implement the Protocol Specific Control object 2022-04-03 17:08:18 -04:00
Isaac Connor
6a3fff0aa9 Add backtrace when no primary key 2022-04-03 17:03:15 -04:00
Isaac Connor
325d1429a7 Fix logged value 2022-03-31 19:36:29 -04:00
Isaac Connor
223afe271e rough in Url, UrlToZMS PathToZMS PathToIndex, UrlToIndex UrlToApi PathToApi in SERver object 2022-03-29 18:59:17 -04:00
Isaac Connor
71689a58a1 Implement reboot and ping methods for Trendnet PTZ Control 2022-03-29 18:57:26 -04:00
Isaac Connor
b522f8ffce Use the reported move with x=0 y=0 for autostop in addition to old stop movement code 2022-03-29 18:56:59 -04:00
Isaac Connor
77566967d3 Make ZoneMinder::Control ingerit from Object. Make loadMonitor use MonitorId 2022-03-29 18:56:14 -04:00
Isaac Connor
0b2e5b1450 Set new defaults for various settings 2022-03-29 18:54:06 -04:00
Isaac Connor
388142b4e1 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 2022-03-29 18:52:48 -04:00
Isaac Connor
e395cf75e1 Add mp4 as an option for generated video and make it the default instead of avi 2022-03-29 18:52:27 -04:00
Isaac Connor
5f019ec550 Remove weird cutnpaste User modules stuff from top of Filter.pm 2022-03-23 14:58:46 -04:00
Isaac Connor
024f0c15a4 Add NOT IN case. Also, fix bad SQL when value evals to false. Test for empty string instead. Fixes #3425 2022-03-23 14:58:33 -04:00
Isaac Connor
4a51253aa9 Fix auth not getting realm from auth headers due to them being an array now. Get auth and ip from Path if not set in ControlAddress. 2021-12-14 10:26:17 -05:00
Isaac Connor
765886ae72 Handle bug where a value of '' will prevent special case handling. Allow '' to mean NULL when specifying Storage Area 2021-11-29 13:52:05 -05:00
Isaac Connor
84b8e43034 Only start a transaction if we are not already in a transaction 2021-10-28 15:28:55 -04:00
Isaac Connor
15a7c22b94 layout->layer 2021-10-28 15:26:12 -04:00
ColorfullyZhang
d7abdb1505 Set character set as utf8 when connect to mysql to avoid mistakes when there are Chinese characters in storage path. 2021-10-28 15:18:55 -04:00
Isaac Connor
ee30c0f05e add a comment about rollbacks 2021-10-28 12:03:58 -04:00
Isaac Connor
a6795cd026 Just return the error 2021-10-28 11:59:36 -04:00
Isaac Connor
6e68a35861 Remove dead code, remove locking from CopyTo, put locking into MoveTo. 2021-10-28 11:59:23 -04:00