Commit Graph

9901 Commits (d06264624a925e092b046ff18d205ef3dfbc9bfa)

Author SHA1 Message Date
Isaac Connor d06264624a Refresh events list when filters at top change or close in the case of datetimepicker 2023-11-17 12:06:03 -05:00
Isaac Connor 936cefb41a Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-11-17 09:33:22 -05:00
Isaac Connor 56095bec9d Must use MIN_STREAMING_PORT in monitor Url because 80/443 might not go to the same host as MIN_STREAMING_PORT (think reverse proxy) 2023-11-17 09:33:17 -05:00
Isaac Connor 6232cfb8b1 Remove 100 limit on response to events index. Handle there not being a next or prev neighbour. 2023-11-16 18:00:30 -05:00
Isaac Connor 0d6df970d3 Enforce max length of 64k for log entries. Use HTTP_X_FORWARDED_FOR in logging so we log actual remote addr 2023-11-16 10:34:44 -05:00
Isaac Connor afb594aa19 Don't load Servers, they are loaded globally in config. Enforce int instead of string for range because fseek can't handle strings 2023-11-16 10:34:44 -05:00
Isaac Connor a1693c34b9 Add HTTP_FRONT_END_HTTPS as a signal to use https in urls. Mainly for when using a reverse proxy 2023-11-16 10:34:44 -05:00
Isaac Connor ee0ef4b6e4 Handle when there are no cueFrames populated 2023-11-16 10:34:43 -05:00
Isaac Connor d9ae4f8e04 Do not need to make servers global in this context. They are by default.| 2023-11-16 10:34:43 -05:00
Isaac Connor 40975184e0 Return the found term instead of true in has_term. 2023-11-16 10:34:43 -05:00
Isaac Connor 8e0793f5e7 Do not format StartDateTime and EndDateTime in ajax events results. Do the formatting in js. 2023-11-16 10:34:43 -05:00
Isaac Connor c23ee28fe6 Take expires setting off setCookie so it defaults to 2038 like everywhere else. 2023-11-15 11:34:05 -05:00
efranzwa cf906e86c8 Added missing table tags 2023-11-15 04:55:18 -08:00
efranzwa 83af15329a Fixed Monitor->WebSite Source Refresh html 2023-11-14 04:13:04 -08:00
Isaac Connor c1b32b79a2 Code style clceanup in server action 2023-11-13 11:38:03 -05:00
Isaac Connor abb4230f86 Use ajax error when specified storage not found. 2023-11-13 11:37:47 -05:00
Isaac Connor aaebd725bb Set default values on members, fixing bad defaults on nwe storage. 2023-11-13 11:37:31 -05:00
Isaac Connor 9f04d90a27 When ZM_AUTH_HASH_IPS is off, don't use remote ip in storing auth hash in session. If ips are constantly changing it breaks. 2023-11-13 11:31:45 -05:00
Isaac Connor aaaa321464 fix eslint 2023-11-09 11:55:17 -05:00
Isaac Connor 542803848d Prevent non-number inputs when filter attr is DiskPercent 2023-11-09 10:33:25 -05:00
Isaac Connor 6a68e5577a If view does not exist, redirect to console instead of just dying 2023-11-09 09:57:27 -05:00
Isaac Connor 7bc126abe1 Use User->Id() instead of Request['uid'] because when adding a new user Request['uid'] isn't populated so a warning is generated. 2023-11-08 14:23:49 -05:00
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 46b27d9f78 Add Tags support to API 2023-11-03 13:33:28 -04:00
Isaac Connor 46fcb27a3b Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-11-02 12:21:59 -04:00
Isaac Connor 9537492f1c Handle invalid codec and fix video_tag boolean assignment causing video tag to be false 2023-11-02 12:21:30 -04:00
Isaac Connor e6632ade43 Use echo instead of print which is apparently faster. 2023-11-01 17:27:56 -04:00
Isaac Connor f26617af71 Fix not allowing html5 video tag when h265. 2023-11-01 17:27:56 -04:00
Isaac Connor 859baf6f8f Remove padding from navbars to condense them a bit. Fix 1 pixel extra padding on state button 2023-11-01 11:31:18 -04:00
Isaac Connor 13ec02d5f1 Fix Auto Unarchive not deselecting 2023-10-31 10:02:58 -04:00
Isaac Connor f76046af3f Always stop a filter. Otherwise we won't stop it when switching from background to not background. 2023-10-30 17:16:06 -04:00
Isaac Connor e2f8553b48 Fix lack of scroll on groups view. 2023-10-30 15:51:39 -04:00
Isaac Connor 36936001a4 Remove trailing spaces. Remove extra comma causing SQL-ERR 2023-10-30 10:22:04 -04:00
Isaac Connor 6aa7901066 Use same logic as in LogHTML to apply success class, and hence make the word Log green when there are no errors. 2023-10-30 10:03:17 -04:00
Isaac Connor db252ce191 Dont' log warning when no user preference set. Inlcude more info in log message. 2023-10-30 09:40:03 -04:00
Isaac Connor 29be822e99 Add required GROUP BY Id to fix SQL queries 2023-10-27 10:43:27 -04:00
Isaac Connor 1545210b12 Add php8.1+ members support for multiple and chosen flags for filter terms 2023-10-26 18:43:05 -04:00
Isaac Connor d54171c21c Be a little more verbose and robust when things like permission errors break config loading 2023-10-26 18:37:15 -04:00
Isaac Connor e8a866e504 Add named parameters support to ServerStatsController. 2023-10-26 18:26:51 -04:00
Isaac Connor d7bb9674e3 Add newline to fix SQL err due to Tags 2023-10-26 11:11:50 -04:00
Isaac Connor ecfc39aa87 Set new defaults for ENabled, API Enabled and HomeView in user Object. php's new need to declare every property breaks the old default system. Only load Group Permissions and Monitor Permissions if we have an Id. 2023-10-26 09:39:26 -04:00
Isaac Connor f1f553dd98 Don't give a default value to Username it is not useful. Replace it with a placeholder. 2023-10-26 09:26:35 -04:00
Isaac Connor 50ece0ae57 Turn off debugging of status ajax results. Can be a lot of info and can be gotten from browser dev tools 2023-10-26 09:25:45 -04:00
Isaac Connor f4d69d524a Undo the extreme splitting up of the SQL so that it is a little less multiple-liney. Hopefully may fix the lack of white space issue reported in forums. 2023-10-25 09:40:14 -04:00
Isaac Connor b01908e93c Don't include the third nav element for nav banner when there is no banner set so as to take up less space 2023-10-23 17:06:28 -04:00
Isaac Connor ab979c8f42 Fix typo in getHomeView 2023-10-23 16:49:34 -04:00
Isaac Connor 717f644087 Define ->savedErrorReporting to prevent php errors in logs 2023-10-23 16:39:43 -04:00
Isaac Connor 1411c47c99 Correct case of value in User_Perference 2023-10-20 14:51:18 -04:00
Isaac Connor 84ca405749 Rename a variable due to cutnpsating 2023-10-20 14:51:07 -04:00
Isaac Connor 0ab7a755ba Event::Tags returns an array of Tags objects, so turn them into a string. 2023-10-20 14:02:48 -04:00