Commit Graph

8460 Commits (a7f586a46dc64b7dd625f1cae4b17a2466d50130)

Author SHA1 Message Date
Isaac Connor a7f586a46d fix eslint 2022-05-13 11:02:12 -04:00
Isaac Connor a8a20bdddd Use kill instead of stop when nav button clicked. Comment out onbeforeunload, it isn't working as expected or documented 2022-05-13 11:01:38 -04:00
Isaac Connor e666452a83 Initial page load of montage should be single still images, with no connkey. Those will be added in js 2022-05-13 10:34:30 -04:00
Isaac Connor 94504df6fa Add onbeforeunload event handler to killoff the streams so that the browser can actually go. 2022-05-13 10:34:02 -04:00
Isaac Connor 0ede5cec85 remove duplication of onload, onerror. Introduce a kill function to be called when we browse away to stop all the ajax. 2022-05-13 10:33:35 -04:00
Isaac Connor 3410d85302 Make STATES const instead of VAR 2022-05-12 11:01:16 -04:00
Isaac Connor 59898caf59 Start the query status timer on img.load 2022-05-12 11:00:50 -04:00
Isaac Connor f501d83a4e Small adjustments to sizing/placement of shutdown button, status button and account text 2022-05-11 11:00:24 -04:00
Isaac Connor acd63ee0d8 Don't assuming we want to communicate with zms if streaming. 2022-05-11 10:21:44 -04:00
Isaac Connor efbd7f50c9 cleanup code by using echos instead of endlessly opening and closing php tags 2022-05-11 10:21:23 -04:00
Isaac Connor 97c6c713a1 Convert width and height auto => 0 to auto=>auto. Add an auto-select for 5 wide when there are more than 5 and a multiple of 5 2022-05-10 20:23:20 -04:00
Isaac Connor e26aa6d0ae Set samesite for session ZMSESSID cookie for php < 7.3 2022-05-10 20:22:44 -04:00
Isaac Connor 3b642fde97 Stop streaming before changing location 2022-05-10 18:45:25 -04:00
Isaac Connor b1d2dd90ee Make imageandpoints 50% 2022-05-10 18:45:08 -04:00
Isaac Connor 997c1197cf Implement decoding=Keyframes + OnDemand 2022-05-10 14:25:34 -04:00
Isaac Connor 3bcd0447a7 Fix using word auto instead of 0 2022-05-10 14:08:56 -04:00
Isaac Connor bbf50027e8 Don't show thumbnail column if thumbnails turned off 2022-05-10 13:10:55 -04:00
Isaac Connor 858fda42e9 Make events list table 100% 2022-05-10 13:10:36 -04:00
Isaac Connor 18726f800d Remove deprecated case of scale=fixed. 2022-05-10 10:30:59 -04:00
Isaac Connor 87c7cae8c0 Enforce and document logic of cycle variables. Set cycle var when start/stopping 2022-05-10 09:24:42 -04:00
Isaac Connor d8aef93eb4 Don't auto start cycle when clicking next/prev 2022-05-09 14:53:44 -04:00
Isaac Connor 76f01647f1 define CMD_GET_IMAGE for completeness 2022-05-07 19:39:01 -04:00
Isaac Connor 2f25421cf0 Spacing 2022-05-07 19:39:01 -04:00
Isaac Connor cb30b9c5a9 fix missing ] on checkboxx 2022-05-07 19:39:01 -04:00
Isaac Connor 83963464ba spacing 2022-05-07 19:39:01 -04:00
Isaac Connor eb3806f482 Don't close initial stream. The QUIT gets lost. Add onload debugging 2022-05-07 11:39:17 -04:00
Isaac Connor dff60e5a0b Need a ; before report-uri 2022-05-04 13:02:34 -04:00
Isaac Connor 04ecbfae8a Check Config::System to determine if field is disabled or not. 2022-05-04 13:01:53 -04:00
Isaac Connor e3787d05e1 Use Content-Security-Policy: for all views instead of Report-Only 2022-05-04 12:08:17 -04:00
Isaac Connor d2ef6b990c Remove timeout on ajax call to generate the zip. Fixes #3264 2022-05-03 13:20:15 -04:00
Isaac Connor 085da5c1fb fix eslint 2022-05-02 10:01:14 -04:00
Isaac Connor ee5902eaf4 fix eslint 2022-05-02 08:53:46 -04:00
Isaac Connor 2a5a94b995 Fix monitors.json and monitor/.json use incorrect Id (mathing Monitor.Id instead of Monitor.ManufacturerId) to return Manufacturer and CameraModel: Fixes #3475 2022-05-01 13:25:42 -04:00
Isaac Connor bc54e423d8 Remove duplicated calls to setScale. Remove msieVer. Remove unused vars. 2022-04-29 18:39:25 -04:00
Isaac Connor 7d2a7bd9f0 Don't parseInt width and height when calling setScale. TUrn off debugging 2022-04-29 18:14:56 -04:00
Isaac Connor 1511b436dd Unhide OutputContainer and alig-right all the first column text 2022-04-29 18:14:21 -04:00
Isaac Connor 23eacf3c1a Use width and height = 100% instead of max_-width and max-height when scaling imageFeed.img 2022-04-29 18:13:58 -04:00
Isaac Connor 01a5ab2621 Replace msieVer with something more modern. Don't change monitor_=frame.style.width when auto-scaling and no bottom element. We do not want to change the css, just calculate a scale 2022-04-29 18:13:25 -04:00
Isaac Connor dd95ebb34a ZM_SOUND_ON_ALARM is actually ZM_WEB_SOUND_ON_ALARM 2022-04-29 17:52:51 -04:00
Isaac Connor 99fa0a71cf SOUND_ON_ALARM is now included in ZM_SOUND_ON_ALARM 2022-04-29 17:51:02 -04:00
Isaac Connor 9e39cbf3e9 add px's where appropriate, document setScale a bit more, use streamCOmmand for statusQuery 2022-04-28 19:18:40 -04:00
Isaac Connor 74fd90cfdd Remove loading=lazy, it breaks ajax 2022-04-28 17:14:06 -04:00
Isaac Connor 5e3e10dd6f set image height to value of height dropdown, which is either a pixel value or auto, which is appropriate 2022-04-28 17:06:24 -04:00
Isaac Connor 0aeafd9efb Remove CMD constants as they are in skin.js.php now 2022-04-28 17:06:10 -04:00
Isaac Connor 8937d16aa1 Add VARPLAY 2022-04-28 17:05:46 -04:00
Isaac Connor ac3fa65577 MonitorStream doesn't know about MONTAGE. Hiding fields should be done in php. Use toLocaleString to format fps values with 1 decimal. 2022-04-28 17:05:32 -04:00
Isaac Connor 843231cb92 Fix eslint 2022-04-28 17:02:08 -04:00
Isaac Connor fa19356dbd sync update the style of the surroundin image stream div. Add id and class. Include MonitorStream.js 2022-04-28 17:00:04 -04:00
Isaac Connor d364e8a7a8 handle undefined HTTP_REFERER, and escape zone name 2022-04-28 16:59:43 -04:00
Isaac Connor b0bb337309 export the layout id of FreeForm to javascript land 2022-04-28 16:59:23 -04:00