Commit Graph

535 Commits

Author SHA1 Message Date
Isaac Connor
5bd50fe575 Add Access-Control-Allow-Credentials: true so that we can pass cookies along with xhr requests. 2022-11-01 08:21:59 -04:00
Isaac Connor
d11bb88f94 rough in array_to_hash_by_key function to generate hashes of Id => Object 2022-10-25 12:56:38 -04:00
Isaac Connor
2e03d91ef7 Fix selecting 0 values in htmlSelect. Fixes not showing ZM_LOG_DATABASE_LEVEL==Info 2022-10-21 16:29:26 -04:00
Isaac Connor
f1843528d0 Put back width and height setting on img tag. Needed for event viewing 2022-10-20 16:45:37 -04:00
Isaac Connor
d64868a44b Fix downloads due to chunkSize not being defined 2022-10-11 16:45:03 -04:00
Isaac Connor
f8eef392d3 Add output_file to includes/functions.php 2022-10-11 16:45:03 -04:00
Isaac Connor
072e94385b Make the ajaxError logging be debug level. If the error was actually critical, we will have to log that separately. Most of the errors reported by ajaxError are transient. 2022-10-05 09:31:39 -04:00
Isaac Connor
340ed19c71 Handle filter[query] not being defined 2022-09-29 14:29:36 -04:00
Isaac Connor
0b37df3782 Fix scroll to top on option help modals by not having an href=#. Fix css so that the ? still is blue. 2022-09-23 09:34:29 -04:00
Isaac Connor
7059e5a1ea For mp4, use video tag, with videojs instead of embed 2022-09-06 15:41:42 -04:00
Isaac Connor
3079438038 Move createVideo from functions to Event 2022-09-06 13:46:41 -04:00
Isaac Connor
d6fea1c740 Don't specify return type as old php doesn't support it. maybe Fixes #3579 2022-08-30 10:40:00 -04:00
Isaac Connor
d51a2eb8a5 Merge pull request #3537 from parvit/issue-695
Added configuring of authentication for rstp cameras
2022-08-21 18:08:00 -04:00
parvit (Vittorio Parrella)
442d7b1c89 integrated dynamic client and server update of path, user and password values 2022-08-18 05:05:18 -04:00
Isaac Connor
9501da8a41 Remove debug 2022-08-15 17:59:25 -04:00
Isaac Connor
3de700d888 Don't turn '0' into '' 2022-06-06 13:53:33 -04:00
Isaac Connor
7c0dcfcefc handle various functions no longer dealing with null 2022-06-01 13:01:40 -04:00
Isaac Connor
7ef965c100 Test for values being trueish as passing null to strcmp is deprecated 2022-06-01 10:41:07 -04:00
Isaac Connor
dff60e5a0b Need a ; before report-uri 2022-05-04 13:02:34 -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
74fd90cfdd Remove loading=lazy, it breaks ajax 2022-04-28 17:14:06 -04:00
Isaac Connor
91a5642edc merge 2022-04-19 17:07:20 -04:00
Isaac Connor
906951e450 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-04-06 10:37:10 -04:00
Isaac Connor
0e337cd8bf Remove support for Cambozola which no longer works or is needed. 2022-04-06 10:37:02 -04:00
Isaac Connor
4fd027fbcc Fix test for chrome version 7 by not including periods. We only care about the major and php is confused. 2022-04-04 17:03:36 -04:00
Isaac Connor
ed7c139fb3 Add backtrace to ajaxError 2022-04-04 15:00:33 -04:00
Ben Dailey
ce267c7e3c Most programmatic images are lazy. 2022-02-22 08:31:02 -05:00
Isaac Connor
5078eecdfd Add in get_networks and get_subnets as utilities to parse devices and networks in preparation for scanning/probing 2022-02-07 12:31:31 -05:00
Jonathan Bennett
52e48c02b6 Add janus_path and janus_secret, allowing for more secure and flexible Janus installs 2022-01-21 22:23:41 -06:00
Jonathan Bennett
3a9c16aeea First working Janus build 2022-01-10 23:22:37 -06:00
Isaac Connor
4dd454325c use options[maxfps] instead of always specifying 30fps. 2021-12-16 16:36:38 -05:00
Isaac Connor
c72d34f176 fix validInt to take negative integers. Introduce validCardinal to handle positive integers 2021-10-05 19:49:42 -04:00
Isaac Connor
105eff7a21 Remove references to zma 2021-02-01 17:29:16 -05:00
Isaac Connor
e4c6709eca ensure options always has width and height set 2021-01-27 13:07:31 -05:00
Isaac Connor
bfd16db34b add format padding so that right align file size strings will line up nicely. 2020-12-11 09:33:36 -05:00
Isaac Connor
eb4b7f248d handle sort_field and limit not existing in _REQUEST 2020-12-09 17:56:27 -05:00
Isaac Connor
3cf31435a7 fix next/prev buttons by correcting the sort_field when it is StartTime or EndTime 2020-11-13 09:51:54 -05:00
Isaac Connor
8029f59eac Rename StartTime, EndTime in Events to StartDateTime and EndDateTime 2020-11-04 13:52:50 -05:00
Isaac Connor
2178da387d pass desired object name into querystring() 2020-10-23 17:56:38 -04:00
Isaac Connor
946a59ce8b add special case for sort_field being StartDateTime. This is not an event column and must be corrected to StartTime 2020-10-21 10:37:39 -04:00
Andrew Bauer
442fadb585 link bstable locale to zoneminder's 2020-10-17 07:28:14 -05:00
Isaac Connor
12b75e93b8 Merge branch 'release-1.34' 2020-10-15 17:19:56 -04:00
Isaac Connor
3c5dc8e8b3 Add line breaks in select options 2020-10-15 17:16:14 -04:00
Isaac Connor
10c0a6617c Return Debug to a regular function to match other logging functions. Since we switched to using namespaces we no longer clash with cake_php. 2020-10-14 10:39:25 -04:00
Isaac Connor
cd2e96eaec Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-10-13 08:42:28 -04:00
Isaac Connor
908c20e959 add ZM prefix to Warning 2020-10-13 08:42:22 -04:00
Andrew Bauer
1db31ba574 remove makePopupLink function. Use makeLink instead 2020-10-12 12:20:21 -05:00
Isaac Connor
b683d5326a Test for empty array in htmlOPtions when notifying about not selecting a value 2020-10-07 11:22:42 -04:00
Andrew Bauer
87fd316e5b makePopupButton removed, use makeButton instead 2020-10-05 16:40:14 -05:00
Andrew Bauer
2852d14ca6 use data-on-change-this instead of inline js 2020-10-04 08:04:11 -05:00