Commit Graph

5454 Commits (2fd7c089e3461526b8b1dc1027f81cac68f6fca8)

Author SHA1 Message Date
Isaac Connor 2fd7c089e3 Update loading the download modal. Include the monitor and events filters, include auth_relay 2024-02-15 16:27:30 -05:00
Isaac Connor 4424bab051 Add a resize handler 2024-02-15 09:38:17 -05:00
Isaac Connor 839f09dba1 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2024-02-13 13:54:10 -05:00
Server 0ff48f631e Implements an option to disable soap_wsa code that doesn't work
with some chinese cameras, more common to Latam zone
2024-02-12 19:22:01 -06:00
Isaac Connor 8ffbc1d6f0 INclude monitor Name in monitors array, because it useful to show monitors by name instead of id 2024-02-11 19:13:48 -05:00
Isaac Connor ec20772f98 Use const on bottomLoc 2024-02-08 12:34:33 -05:00
Isaac Connor f795fb3c19 fix unexpected this, although according to jquery docs it is totally valid 2024-02-08 12:33:32 -05:00
Isaac Connor 00f27ca8af Add autocomplete=off to Montage Layout name 2024-02-08 10:27:39 -05:00
Isaac Connor cc7b8fa9d0 Rename DMS2LL to dms2ll to satisfy eslint 2024-02-07 11:14:19 -05:00
Isaac Connor b94b454bf9 Rename EventName to Name and Monitor Name to Monitor to take up less space 2024-02-07 11:08:15 -05:00
Isaac Connor bd7bfcbdcd Rename EventName to Name and Monitor Name to Monitor to take up less space 2024-02-07 11:08:11 -05:00
Isaac Connor cc5bb8ecec rename table=>eventStatTable. Apply width and height to map if it is to be displayed 2024-02-07 11:07:12 -05:00
Isaac Connor 79164993f9 Remove fixed width and height from map, they will be set in js if map is to be displayed 2024-02-07 11:06:47 -05:00
Isaac Connor 36b4d9a264 Add display: flex to content so that scroll bars work 2024-02-07 11:06:26 -05:00
Isaac Connor fcac8ec2f2 Rename zmMap to ZMMap because eslint thinks constructors should always be capitalized. 2024-02-07 10:58:39 -05:00
Isaac Connor 5f6df6fad7 Make eventVideo div take up available space so that scaleToFit can do it's job 2024-02-07 10:38:17 -05:00
Isaac Connor 124bbc0295 pass #eventVIdeo as container to scaleToFit so that it fits within available width 2024-02-07 10:37:53 -05:00
Isaac Connor 3c91a2bcaf Add px-3 to the flex container for stats and view to handle scroll bar 2024-02-07 10:37:31 -05:00
Isaac Connor e6eff5903f Add container to params for scaleToFit. The container we want to fit width into might not be #content. 2024-02-07 10:37:08 -05:00
Isaac Connor 5a866aee0e Add id's to selects to appease label for= attributes 2024-02-05 18:42:25 -05:00
Isaac Connor aa67e5f6f3 Add range limits to lat&long and don't do anything if empty 2024-02-01 18:01:26 -05:00
Isaac Connor 314236dea8 Add inputs and code to display and convert to and from decimal degress and dhms for lat&long. Update marker on map when values change. 2024-02-01 17:58:20 -05:00
Isaac Connor 4987ea1b21 Define user before using for viewableMonitorIds 2024-02-01 11:39:09 -05:00
Isaac Connor d47f78b354 Fix for use strict defining monitor_ids 2024-02-01 11:38:38 -05:00
Isaac Connor da2744749d fix vertical alignment and stretching of images on snapshot 2024-02-01 11:38:24 -05:00
Isaac Connor 8e035f61ac Use viewableMonitorsIds instead of canView(Monitors) when deciding to show the Console or Montage Links 2024-01-31 16:09:33 -05:00
Isaac Connor 05d605fe55 change Map to zmMap to prevent name collision with luxor. Add a haversine function to get distance between two lat&long. Start to rough in grouping locations into 1 pin. 2024-01-30 19:57:18 -05:00
Isaac Connor 18606e78ad Remove width on p element on monitors view as it is too short for Recording and doesn't seem to be needed 2024-01-30 14:29:41 -05:00
Isaac Connor 0e88d764f0 Use object methods to load montiors 2024-01-28 16:53:30 -05:00
Isaac Connor 2c7c928fa6 Use object methods when loading monitors and zones and filter them by Deleted status 2024-01-28 16:53:06 -05:00
Isaac Connor 39b2014c2d Prevent XSS from COOKIE poisoning 2024-01-25 19:31:28 -05:00
Isaac Connor b1aeb319f7 Prevent XSS from COOKIE poisoning 2024-01-25 19:27:18 -05:00
Isaac Connor 35396aad55 Prevent XSS from COOKIE poisoning 2024-01-25 19:25:15 -05:00
Isaac Connor d8f36e4ef9 Prevent XSS from COOKIE poisoning 2024-01-25 19:23:28 -05:00
Isaac Connor bf32bd6926 Prevent XSS throu mids 2024-01-25 19:12:37 -05:00
Isaac Connor f1a26b90b6 Prevent against CSS in dupId 2024-01-25 19:05:59 -05:00
Isaac Connor bc1fb8eef2 Protect against XSS from User field 2024-01-25 19:04:15 -05:00
Isaac Connor 9505910847 Prevent XSS via uid and prev 2024-01-25 19:01:44 -05:00
Isaac Connor 59b77df7f1 Prevent XSS through scale parameter 2024-01-25 18:57:01 -05:00
Isaac Connor 6f595385d7 Protect filter loading from injection 2024-01-25 18:56:42 -05:00
Isaac Connor d45b05ec8a XSS protect from server id and storage id 2024-01-25 18:50:35 -05:00
Isaac Connor bac2705051 XSS protect from monitor id and name 2024-01-25 18:49:22 -05:00
Isaac Connor 559d6edc70 Don't apply timezone when formatting datetimes 2024-01-25 11:57:29 -05:00
Isaac Connor cfd8e3418e Don't apply timezone when formatting datetimes 2024-01-25 11:57:19 -05:00
Isaac Connor ee13034384 Use validInt on DefaultScale coming from Monitor object. Database shouldn't be trusted either. 2024-01-25 11:24:13 -05:00
Isaac Connor 0fb71e35f2 Add luxor.js and use it to format datetimes 2024-01-24 16:10:20 -05:00
Isaac Connor fb8b4af3f8 Revert "Remove unneeded bootstrap classes"
This reverts commit 00f52704a5.
2024-01-24 13:17:52 -05:00
Isaac Connor 00f52704a5 Remove unneeded bootstrap classes 2024-01-24 13:00:31 -05:00
Isaac Connor 552069cd64 Makes zones view use getBodyTopHTML so that it display error messages. Rename deleteBtn to action. 2024-01-21 11:31:44 -05:00
Isaac Connor 580aefdfee Handle the deleteBtn having an id instead of name == deleteBtn 2024-01-21 11:30:49 -05:00