Commit Graph

20208 Commits (67f765bc829a1424ee8c14d0808c161d229ee566)

Author SHA1 Message Date
Isaac Connor 67f765bc82 Add password as a config entry type 2022-03-21 16:08:13 -04:00
Isaac Connor b23842021c Add MQTT_Subscriptions to Monitors 2022-03-21 16:08:13 -04:00
Isaac Connor 0397c4f7e8 Add MQTT_Enabled and MQTT_Subscriptions to Monitor object 2022-03-21 16:08:13 -04:00
Isaac Connor d08cac052c Add MQTT settings to config 2022-03-21 16:08:13 -04:00
Isaac Connor 4c09446f56 Add an mqtt object to the Monitor object 2022-03-21 16:08:13 -04:00
Isaac Connor 47d2c090ad Add zm_mqtt.cpp etc 2022-03-21 16:08:13 -04:00
Isaac Connor 0ee14cb712 Add find routines for Mosquitto and Mosquittopp. Shamelessl ripped from https://github.com/devicehubnet/devicehub_cpp 2022-03-21 16:08:13 -04:00
Isaac Connor 81cdda7def Add Mosquitto and Mosquittopp library detection 2022-03-21 16:08:13 -04:00
Isaac Connor 2b8fee80de escape html in Storage names 2022-03-21 16:06:52 -04:00
Isaac Connor 99e78debf5 Use shared_data->analysing instead of analysing in tests since we could be disabled by zmu. 2022-03-21 15:58:01 -04:00
Isaac Connor 0850e0db70 Remove Enabled test, replace with Capturing and Recording tests 2022-03-21 15:56:16 -04:00
Isaac Connor 531793276f Fix auth'd user information being saved to session before switching session id's leaving bogus authenticated user in previous session. 2022-03-21 15:31:44 -04:00
Isaac Connor 08598ace6b remove space 2022-03-20 19:13:46 -04:00
Isaac Connor 965e256bbc remove space 2022-03-20 19:13:46 -04:00
Isaac Connor ed41e63980 Can't treat anlysing as a boolean because ANALYSING_NONE==1. Should fix zm oing motion detection when set to NONE 2022-03-20 19:13:46 -04:00
Isaac Connor 23aa41091f Add Trigger/etc to onMotion recording option 2022-03-20 19:13:46 -04:00
Isaac Connor b67185fe9c Fix alignment on Capture Method 2022-03-20 19:13:46 -04:00
Isaac Connor 13f403c56e fix eslint 2022-03-13 08:47:11 -04:00
Isaac Connor 9aeeb58014 Fix missed Function => Capturing == None 2022-03-13 08:37:33 -04:00
Isaac Connor 6aeb163cba Fix lock around terminate 2022-03-13 08:37:33 -04:00
Isaac Connor c6a1a4ff0e Fix potential XSS from Username 2022-03-13 08:34:44 -04:00
Isaac Connor 48d3526459 Fix potential XSS from Username 2022-03-13 08:19:12 -04:00
Isaac Connor 550693af10 Add a pattern to prevent invalid username characters 2022-03-10 14:10:31 -05:00
Isaac Connor 07aa171c04 Output valid html only for Username to prevent XSS 2022-03-10 14:10:04 -05:00
Isaac Connor f49601a173 Add filtering to Username to prevent XSS 2022-03-10 14:09:41 -05:00
Isaac Connor c395d46cc8 Split options into Capturing, Analysing, Recording tabs 2022-03-10 13:54:38 -05:00
Isaac Connor b103072b7e Cleanup code a bit moving variable declarations around to where they are used and removing duplicated curl free. 2022-03-10 12:24:00 -05:00
Isaac Connor 5dc4e5ddb4 Fix compile warning. Rename variables to be more descriptive and remove unused ones 2022-03-10 12:09:02 -05:00
Isaac Connor 4b03b0a1a6
Merge pull request #3454 from gonzalezcalleja/fix_zmpkg_status
Fix zmpkg status
2022-03-09 15:58:02 -05:00
Javier Gonzalez 6a2d0fa81a Fix 2022-03-09 21:14:25 +01:00
Javier Gonzalez 224d275950 Fix 2022-03-09 21:13:34 +01:00
Javier Gonzalez 3d093ed8a6 Fix monitor not change status when zoneminder state change 2022-03-09 21:07:39 +01:00
Isaac Connor e84b82df18
Merge pull request #3453 from gonzalezcalleja/add_recording_status
Show recording status to console
2022-03-09 14:44:38 -05:00
Isaac Connor d76f2e4b0b
Merge pull request #3452 from gonzalezcalleja/fix_zmpkg_capturing
Fix zmpkg recording status
2022-03-09 14:42:18 -05:00
Javier Gonzalez cc3b5421f5 Adding recording status to console 2022-03-09 19:59:21 +01:00
Javier Gonzalez 4a1dbc884d Fix zmpkg recording status 2022-03-09 19:40:04 +01:00
Isaac Connor e943f0a411
Merge pull request #3450 from gonzalezcalleja/fix_zmpkg
Fix when using a custom state with zmpkg.pl
2022-03-08 11:21:00 -05:00
Javier Gonzalez 858ab62fc4 Fix when using a custom state 2022-03-08 17:10:29 +01:00
Isaac Connor 05b5ca9b15 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-03-08 09:06:37 -05:00
Isaac Connor 0785e3571c code style, remove duplicated code. 2022-03-08 09:06:31 -05:00
Isaac Connor a748b0ed0a When connecting to a monitor, if it fails, disconnect. This should fix a bug in zmtrigger and others where it would never reconnect. The idea is that we asked for a successful connection, if it failed, we shouldn't be in a failed connected state, we should be disconnected. 2022-03-08 09:06:06 -05:00
Isaac Connor 8fe0cb5e33 tidy up the mem_info hash and turn into a hash instead of a pointer to a hash. Check for validity flah before checking sizes. Improve debug logging. 2022-03-08 09:04:41 -05:00
Isaac Connor b13fd68376
Merge pull request #3449 from jp-bennett/master
Add rtsp_quirk to Janus mountpoints.
2022-03-05 12:48:47 -05:00
Jonathan Bennett 9f4df40ac5 Add rtsp_quirk to Janus mountpoints.
Workaround for Vivotek and possibly other cameras that use nonstandard RTSP URIs,
2022-03-04 20:40:56 -06:00
Isaac Connor 10402fdabe Use template backticks for the Notes string to handle multi-line 2022-03-04 13:41:19 -05:00
Isaac Connor 8db08f5a10 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-03-04 12:09:44 -05:00
Isaac Connor 69856f2b8c Delete zm_update-1.37.multistream.sql asit has been merged to 1.37.12 2022-03-04 12:09:41 -05:00
Isaac Connor 1fb42d0b77 Change api of selectLayout. Now takes a value. use MonitorStream.setScale to set image scale. In general fix behaviour when switching between fixed sizes, scales and layouts 2022-03-04 12:08:29 -05:00
Isaac Connor 920f5470a8 Don't set width&height on img. img is always 100% of container. Don't show zoom unless it is != 1.0. Only update buttons if there is a change, to reduce redraws 2022-03-04 12:07:32 -05:00
Isaac Connor 0c31e35b4e Add classes to fields of monitor status so we can style them as needed 2022-03-04 12:06:49 -05:00