Isaac Connor
2854f8e002
simplify some code, pass around zm_event json objects instead of event_id. Each monitor has it's own image so when loading event data put it into a div/img referenced by monitor Id
2020-01-05 17:32:27 -05:00
Isaac Connor
377805dce0
convert some tags to classes instead of ids. Add margin: 0 auto so that monitor images are centered
2020-01-05 17:30:51 -05:00
Isaac Connor
00f8a450de
spaces and quotes
2020-01-05 14:59:25 -05:00
Isaac Connor
7fdf6165d5
Fix case in var name
2020-01-03 17:08:11 -05:00
Isaac Connor
c8e39e2418
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-01-03 16:35:15 -05:00
Isaac Connor
e951b0af1c
add code to set default value for checkboxes
2020-01-03 16:35:04 -05:00
Isaac Connor
0a495395b0
Restore Gain tab
2020-01-03 16:34:46 -05:00
Isaac Connor
f572c4092a
add checks for Zoom, Focus, White, Iris movement types
2020-01-03 15:58:57 -05:00
Isaac Connor
158e26bb25
split long lines
2020-01-03 15:58:02 -05:00
Isaac Connor
c4aaa33bea
add widths for number inputs on controlcap view
2020-01-03 15:57:51 -05:00
Isaac Connor
0b3776dbf0
change text inputs to number inputs, cleanups
2020-01-03 15:57:29 -05:00
Isaac Connor
89844f72f4
Merge pull request #2790 from pliablepixels/jwt-token-duration
...
fix JWT access token always being 1 hr
2020-01-02 17:22:37 -05:00
Isaac Connor
d42e9beddc
Add warnings when the type of movement is not selected
2020-01-02 17:03:52 -05:00
Isaac Connor
e9815bf9c7
add ZM Namespace to Error calls
2020-01-02 16:54:50 -05:00
Isaac Connor
06f846c88b
add php-json to depends
2020-01-02 16:52:09 -05:00
Isaac Connor
3cfc1a0a6d
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-01-02 16:45:39 -05:00
Isaac Connor
1d24e022bb
Add realm detection
2020-01-02 16:45:27 -05:00
Isaac Connor
9d57be4c9e
google code style, remove redundant code matching parent. Don't re-instantiate UA.
2020-01-02 16:24:43 -05:00
Pliable Pixels
399508b211
fix JWT access token always being 1 hr
2020-01-02 10:25:48 -05:00
Isaac Connor
60d45d967f
test for existence of selected checkboxes in post data because if none are selected, the array won't exist
2020-01-02 10:17:07 -05:00
Andrew Bauer
98f7fb63b9
fix eslint errors
2019-12-31 19:24:51 -06:00
Isaac Connor
f5776f8d80
Merge pull request #2789 from connortechnology/random_web_colour
...
Random web colour
2019-12-31 19:15:50 -05:00
Isaac Connor
a7b23f5c39
add esnotification to log lines to ignore in logcheck
2019-12-31 19:12:31 -05:00
Isaac Connor
6a39893c1d
include i elements in data-on-click
2019-12-31 19:11:14 -05:00
Isaac Connor
714d304528
Change WebColour to a colour selector input and add a random colour icon. Select a random colour on new Monitor creation
2019-12-31 19:10:29 -05:00
Isaac Connor
66ff602941
change default for file logging to be debug, which results in INF unless debug messages are turned on. Also clear LOG_DEBUG_FILE because it is designed to be a temporary debugging tool, and isn't all that useful at that.
2019-12-31 12:50:03 -05:00
Isaac Connor
8913341140
Bump default for WATCH_MAX_DELAY to 45 seconds. Many cameras take even over 30 seconds to obtain the first image. I find 45 to be a reasonable default
2019-12-31 12:44:41 -05:00
Isaac Connor
77cfb7c190
fix spacing
2019-12-31 12:42:49 -05:00
Isaac Connor
f27b4ec939
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2019-12-30 22:19:29 -05:00
Isaac Connor
2c76c12664
Fix export to include files when using DEEP scheme. Also make it more efficient
2019-12-30 22:18:55 -05:00
Andrew Bauer
ec76ffe720
update redhat README's
2019-12-30 08:53:34 -06:00
Andrew Bauer
8796f00973
move raspbian builds to native arm hardware
...
Build time was just under 40 minutes in Travis. Moving this build to remote arm build host for quicker build time.
2019-12-30 07:27:30 -06:00
Isaac Connor
e039b136c0
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2019-12-29 16:46:45 -05:00
Isaac Connor
f065daf940
spacing, move some variables deeper in scope, merge fprintf calls
2019-12-29 16:46:30 -05:00
Isaac Connor
e68cd02dca
Merge pull request #2788 from anon8675309/fix_quotes
...
Fixed unquoted variable which was failing to correctly detect error case
2019-12-29 16:33:48 -05:00
adam
ce7b62c825
Fixed unquoted variable which was failing to correctly detect error case
...
This was discovered when there was a DNS failure (it's always DNS) and
it caused a syntax error on line 178. I changed it to use -z to check
for a zero length string, as suggested by the man page. Putting $VERSION
in double quotes would also be a valid fix.
Here's what the script looks like when it fails:
./do_debian_package.sh --snapshot=stable --type=local --interactive=no
Doing local build
Defaulting to bionic for distribution
Defaulting to ZoneMinder upstream git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Latest stable branch is
git clone https://github.com/ZoneMinder/ZoneMinder.git ZoneMinder_zoneminder_release
Cloning into 'ZoneMinder_zoneminder_release'...
fatal: unable to access 'https://github.com/ZoneMinder/ZoneMinder.git/ ': Could not resolve host: github.com
./do_debian_package.sh: line 172: cd: ZoneMinder_zoneminder_release: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
cat: ZoneMinder_zoneminder_release/version: No such file or directory
./do_debian_package.sh: line 178: [: ==: unary operator expected
Doing local release zoneminder_
mv: cannot stat 'ZoneMinder_zoneminder_release': No such file or directory
Error status code is: 0
Setting up build dir failed.
2019-12-29 14:13:49 -06:00
Isaac Connor
b5e3dbd415
put back 32bit alignment with a comment as to why
2019-12-29 12:52:34 -05:00
Isaac Connor
2581b86195
add more content to the error message when can't sws_scale.
...
Also fix problem when using 32bit on arm instead of 24bit, apparently 0 is a valid return result from sws_scale.
Also change the alignment in av_image_fill_arrays. At some point we cahnged it to 32bit aligned, but in 1.32 we didn't align at all. Not sure if it matters
.
2019-12-29 12:44:59 -05:00
Isaac Connor
bbcd1846e7
Fix hang caused by using %d instead of PRIu64 in formatting string
2019-12-29 12:44:30 -05:00
Andrew Bauer
2301103da5
use small, non-zero values, for image buffer & pre & post buffers
2019-12-28 09:49:42 -06:00
Andrew Bauer
ce3691be85
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2019-12-28 08:37:40 -06:00
Andrew Bauer
00cedc92d2
fix typo
2019-12-28 08:37:16 -06:00
Andrew Bauer
0aa82a74ec
remove support for f29 builds
2019-12-27 17:13:13 -06:00
Andrew Bauer
276428be59
el8 needs php-json
2019-12-27 16:39:24 -06:00
Andrew Bauer
77f026a389
exclude external-repo.noarch.rpm during deployments
2019-12-27 09:12:49 -06:00
Andrew Bauer
28a6e71992
deploy raspbian builds to debian target folder
2019-12-27 09:04:02 -06:00
Andrew Bauer
3bc1543f9e
build rpms on every commit
2019-12-26 19:36:33 -06:00
Isaac Connor
845f35fe00
Fix cases of check before creating dirs. Add chmod so they are only readable by web user. Fix MonitorName => Monitor->Name()
2019-12-26 15:57:25 -05:00
Isaac Connor
66ec110b02
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2019-12-26 15:21:33 -05:00
Isaac Connor
1977e48ddd
DefaultScale is a member of the Monitor, not the event
2019-12-26 15:21:27 -05:00