Commit Graph

20109 Commits (dce6ab977060cc6dc7b0c5138f504edf65a61f76)

Author SHA1 Message Date
Andrew Bauer 55ee6fc727 replace php Memcached with Apc on Fedora 2022-11-03 09:29:10 -05:00
Isaac Connor a3a44e2f27 Handle empty but defined REQUEST[action] 2022-11-02 10:10:38 -04:00
Isaac Connor 3cd0a477fb Make button on Filter Debug modal be Close instead of Cancel 2022-11-02 10:10:26 -04:00
Isaac Connor 83a0e295ad Add Cuase, Notes and EndDateTime to columns in events list on watch view 2022-11-02 10:10:17 -04:00
Isaac Connor 7938524b14 Add Access-Control-Allow-Credentials: true so that we can pass cookies along with xhr requests. 2022-11-02 10:09:50 -04:00
Isaac Connor ed98fec9d3 Set xhrFields: widthCredentials: true so that we send cookies with our streaming xhr requests so that we pick up new auth hashes 2022-11-02 10:09:36 -04: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 75f2fc1b65 Don't clear Diskspace a second time 2022-11-02 10:09:01 -04:00
Isaac Connor f20ef49cf8 Remove return type from session class methods. not supported in php5.4 Fixes #3622 2022-11-01 13:40:55 -04:00
Isaac Connor eed6a251a1 Add libswscale6 and libswresample4 2022-10-31 11:25:25 -04:00
Isaac Connor f13e40d2c3 Remove deprecated CAMBOZOLA reference 2022-10-28 20:04:11 -04:00
Isaac Connor acdb7681f4 Change form to post for delete 2022-10-28 20:04:11 -04:00
Isaac Connor 25880e0f38 Remove offending comma from default Coords 2022-10-28 20:04:11 -04:00
Isaac Connor 0b466c5ba1 Bump version to 1.36.32 for pre-release 2022-10-28 12:52:44 -04:00
Isaac Connor 997872e1d3 Fix missed references to oldW and oldH 2022-10-26 14:34:05 -04:00
Isaac Connor 5611e2defc Clean up debug. Clone the entire monitor object into oldMonitor instead of cherry-picking properties. Fixes use of new name when deleting old symlink. Always check for existence of monitor dir and symlink after done saving. 2022-10-26 14:33:24 -04:00
Isaac Connor 36788c334b Remove left over references to REQUEST['newMonitor']. Add error reporting to creating monitor directory and symlinking when adding a new monitor 2022-10-26 13:55:27 -04:00
Isaac Connor 28ca42eee7 When saving monitor, only turn off error reporting for symlink. Don't delete old symlink unless the name has changed. 2022-10-26 13:41:31 -04:00
Isaac Connor c4849712f4 Make search input the same size as other toolbar elements 2022-10-25 15:17:54 -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
Isaac Connor f18111e280 Fix SQL for when passing an empty array to find. Return false instead of trying weird sql. 2022-10-20 09:29:08 -04:00
Isaac Connor e7a9bf26ff remove debug of monitors and Fix Warning when monitor is not visible 2022-10-20 09:28:38 -04:00
Isaac Connor 1eb2a65a3d Make inputs on action table 100% 2022-10-18 15:46:06 -04:00
Isaac Connor 6af4328c69 Fix test for null in Object::find 2022-10-18 15:45:55 -04:00
Isaac Connor 5b29e018d0 IN () being false could still result in a true result of used in an OR, so instead of just returning, use an always false sql equivalent 2022-10-18 15:45:44 -04:00
Isaac Connor 0e88c58e0c return empty array when passing empty as SQLvalue 2022-10-18 15:45:34 -04:00
Isaac Connor feec790d45 Turn off deprecation notices so that we work with php8.2 2022-10-17 17:43:09 -04:00
Isaac Connor c296b3d774 Bump version to 1.36.31 2022-10-17 17:39:19 -04:00
Isaac Connor 2fda0af85a Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2022-10-17 17:38:39 -04:00
Isaac Connor 38cbaff409 Use REQUEST instead of SESSION to store the post login redirect because we clear the session on login. Fixes #3517 2022-10-17 16:40:34 -04:00
Isaac Connor dda4b53347 quotes and spacing 2022-10-17 15:14:10 -04:00
Isaac Connor 0c8e419d42 Add setting remoteAddr in session after regenerating 2022-10-17 15:12:07 -04:00
Isaac Connor 5498c60391 Remove debug 2022-10-17 12:39:50 -04:00
Isaac Connor ef119e3ed4 Minor cleanup, remove dead code 2022-10-17 12:35:00 -04:00
Isaac Connor 96a2e6f6fb Put view in the form get part for visibility 2022-10-17 12:31:26 -04:00
Isaac Connor 4a98138ec4 Revert "add remoteaddr to session when regenerating"
This reverts commit d97f94573c.
2022-10-17 12:28:03 -04:00
Isaac Connor d97f94573c add remoteaddr to session when regenerating 2022-10-17 12:23:47 -04:00
Isaac Connor ca58b8fd60 Add debug, add validateId function to session handler. Change it to be a a subclass of SessionHandlerInterface so that we don't have to provide createId. Fixes session breakage in php8.2 2022-10-17 12:17:22 -04:00
Isaac Connor c21eb94fad remoteAddr is set when session is opened. So no need to do it in auth. session_clear closes the session so no need to close it first 2022-10-17 12:14:16 -04:00
Isaac Connor cc9a05aba0 Bump version to 1.36.30 for releaes 2022-10-14 11:30:01 -04:00
Isaac Connor d3f7c006f3
Merge pull request #3609 from connortechnology/fix_non_post_auth
Move relevant code out of includes/actions/auth.php into includs/auth…
2022-10-14 11:29:04 -04:00
Isaac Connor 82da07a589 Don't panic if no font file found. Perhaps we can continue with diminished function 2022-10-13 17:34:48 -04:00
Isaac Connor 8e29c5cd8b Move relevant code out of includes/actions/auth.php into includs/auth.php. Note that Google recaptcha is now incompatible with api. Fixes inability to login using GET method. 2022-10-13 16:31:23 -04:00
Isaac Connor e29c35b805 Turn failure to send into a debug. When running under fpm etc we may not get SIGPIPE. 2022-10-13 10:50:40 -04:00
Isaac Connor 1264908aa3 when a config value is overridden via *.conf files, put up a warning/explanation. 2022-10-13 09:57:08 -04:00
Isaac Connor 1b311b4102 left align option value column 2022-10-13 09:56:30 -04:00
Isaac Connor c7eac3383a Fix form structure, use of get instead of post and duplicated action input 2022-10-13 09:08:41 -04:00
Isaac Connor 0071d3da40 Fix saving from the function modal. Put action in the post variables and change the action to save instead of function. 2022-10-12 21:23:58 -04:00
Isaac Connor 36ed68590d Test for definition of ZM_LOG_INJECT. We don't include the config when not logged in. So it won't be defined 2022-10-12 19:36:57 -04:00
Isaac Connor 600894682e Test for matches[operator]. Fixes #3607 2022-10-11 15:50:41 -04:00