Isaac Connor
1f3da476b8
switch to single quotes
2019-01-16 14:04:24 -05:00
Isaac Connor
b1cc0c2b82
add CSP nonce to CSRF rewriting
2019-01-16 14:04:07 -05:00
Isaac Connor
a7db6f08f5
single vs double quotes
2019-01-16 13:47:50 -05:00
Isaac Connor
42076ad09b
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2019-01-16 13:46:01 -05:00
Isaac Connor
a2c23d3263
Need nonce in inline script setting display css
2019-01-16 13:45:26 -05:00
Isaac Connor
d8ef33396a
If multi-port is on, we need to output CORS headers
2019-01-16 13:44:57 -05:00
Isaac Connor
e156a6cda0
logout view should go to logout view
2019-01-16 12:23:18 -05:00
Isaac Connor
ba21820fd0
fix typo
2019-01-16 12:10:34 -05:00
Isaac Connor
eee1d871e0
get rid of default value for PathToIndex so that it will use PHP_SELF instead
2019-01-16 12:09:26 -05:00
Isaac Connor
2b21fe3640
increase sql var size to MED to hold the largest possible sql string.
2019-01-16 11:48:31 -05:00
Isaac Connor
3560d6247f
whitespace and comments.
2019-01-16 11:20:10 -05:00
Isaac Connor
5f5f28378d
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2019-01-16 11:19:22 -05:00
Isaac Connor
c2b1b43cde
fix typo
2019-01-16 11:19:14 -05:00
Matt N
d33fec9c3f
Add a CSP script-src policy with nonce-source and convert more inline event handlers ( #2413 )
...
* Add Content-Security-Policy-Report-Only: script-src 'self' 'nonce-' policy
* Use @data-on-click-this to attach inline click event handlers which expect being called with 'this'
Only handle ones that don't return a value.
* Use @data-on-click to attach inline click event handlers with no args and no return value
* Use @data-on-click-true to attach inline click event handlers with 'true' as the only argument
* Enforce a script-src CSP on views without inline JS
* Convert some onchange attributes to data-on-change
2019-01-16 09:59:58 -05:00
Isaac Connor
345e2fef0f
start only used in eventstream
2019-01-15 16:44:58 -05:00
Isaac Connor
92066aaf4f
add stream start timeval
2019-01-15 16:33:27 -05:00
Isaac Connor
fd696bc066
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2019-01-15 11:38:56 -05:00
Isaac Connor
ac27005944
remove debug
2019-01-15 11:38:43 -05:00
Isaac Connor
07c7c271a6
prevent error when event has no frames. Fix PathToIndex() -> PathToIndex. Fixes #2411
2019-01-15 11:38:19 -05:00
Isaac Connor
3182d8bab7
implement to_json method so that defaults get included
2019-01-15 11:36:56 -05:00
Isaac Connor
34224a957b
cleanup error string
2019-01-15 11:36:13 -05:00
Isaac Connor
5f6bcec4ca
Use start_pts instead of start_dts when calculating output pkt.dts. Because start_dts is often lower than start_pts, we can get into a situation where we calculate a dts that is > pts.
2019-01-15 11:35:37 -05:00
Isaac Connor
d068d019fb
turn section_length into seconds instead of frames
2019-01-15 11:34:17 -05:00
Isaac Connor
8c53f778b6
Start and stop events not just on keyframe. This means we must always queue packets
2019-01-15 11:32:44 -05:00
Isaac Connor
6608cb4e35
use frame delta to determine how much to sleep
2019-01-15 11:25:22 -05:00
Andrew Bauer
07d8ac1d49
implement timezone check function ( #2387 )
...
* implement timezone check function
* remove comment
* also check if the timezone is valid
* whitespace
2019-01-15 09:05:11 -05:00
Matt N
083f284599
Replace onclick inline event handlers for createPopup ( #2410 )
...
* Move <script> before </body>
* Change makePopupLink to not use onclick
* Change makePopupButton to not use onclick
* Use .popup-link in control_functions.php
* Use makePopupButton in controlcaps.php
* Prevent double-encoding in makePopup*
* Use makePopupButton in devices.php
* Use makePopupButton in logout.php
* Use makePopupLink in monitor.php
* Use makePopupLink and .popup-link in montage.php
* Use makePopupButton in options.php
* Use makePopupButton, makePopupLink, and .popup-link in zones.php
2019-01-15 09:01:58 -05:00
Isaac Connor
84c812725e
spacing, improve debug. WHen looking for starting keyframe in packetqueue, use <= instead of <.
2019-01-14 14:00:45 -05:00
Isaac Connor
f726666f54
Merge branch 'master' into h265
2019-01-14 12:36:11 -05:00
Isaac Connor
0e06bdd1f2
zmcuston.conf => zmcustom.conf
2019-01-14 11:41:44 -05:00
Isaac Connor
9f8be169f9
set channels and sample rate in output frame. Use new zm_dump_frame()
2019-01-14 10:48:29 -05:00
Isaac Connor
a46b443d4a
create zm_dump_frame to print out useful frame info.
2019-01-14 10:48:06 -05:00
Isaac Connor
d0cca01c4c
setup url instead of filename in the AVFormatContext to satisfy filename being deprecated
2019-01-14 10:47:53 -05:00
Isaac Connor
c97eb16942
create zm_dump_frame to print out useful frame info.
2019-01-14 10:47:22 -05:00
Isaac Connor
fc7403fe3d
Merge branch 'master' into storageareas
2019-01-13 14:53:34 -05:00
Isaac Connor
c834fbe462
the filter action should singular filter, not filters
2019-01-13 14:52:39 -05:00
Isaac Connor
ee2b9b011a
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2019-01-11 13:55:17 -05:00
Isaac Connor
a282b487d1
load Help from Config as it is not longer always loaded into ram.
2019-01-11 13:55:03 -05:00
kobold81
208d8f28de
update debian to 1.32.x ( #2407 )
...
Hello,
the ZM_PATH config has cost me several hours to fix. I would like to add this little snipped to help others avoid this pitfall.
Best regards
Marc
2019-01-11 12:14:42 -05:00
Isaac Connor
730ced60d8
specify which input we are setting standard on. Not sure it is required, but the api docs do it
2019-01-10 12:08:51 -05:00
Isaac Connor
b373577589
fix function view after actions cleanup
2019-01-10 12:08:25 -05:00
Isaac Connor
4a82f460b2
add some parenthesis to make logic at more clear if not more correct. Potentially fix #2405
2019-01-09 16:39:53 -05:00
Isaac Connor
1d54216e80
spacing
2019-01-09 16:23:58 -05:00
Isaac Connor
941ce6e97f
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2019-01-09 12:37:54 -05:00
Isaac Connor
c1e4fbac6a
extend input path and options to the full width of the popup
2019-01-09 12:37:42 -05:00
Andrew Bauer
9811679cc0
Merge pull request #2401 from connortechnology/vlc_logging
...
add a logging callback to the libvlc camera
2019-01-08 13:49:51 -06:00
Isaac Connor
2d03583b78
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2019-01-08 13:12:42 -05:00
Isaac Connor
ffa37d8c10
Fix margins on replayControl
2019-01-08 13:12:35 -05:00
Isaac Connor
a5de51478e
The termination callback should be private
2019-01-08 13:12:22 -05:00
Isaac Connor
ae1f00f2a1
add a logging callback to the libvlc camera
2019-01-08 13:06:19 -05:00