Isaac Connor
0d176b133a
Stop and restart statusCmdReq around rescaling img stream. Deprecate auto as a value for scale. Make another attempt as sanely applying scale
2022-04-22 12:34:49 -04:00
Isaac Connor
8170ce2b8d
Check error instead of textStatus for Unauthorized. Set streamCmdParams.auth when auth_hash changes. Fixes auth timing out in ajax
2022-04-20 18:47:57 -04:00
Isaac Connor
c2dcaab744
fix eslint
2022-04-20 10:00:47 -04:00
Isaac Connor
0501f464c5
Fix scale <0 and send zms a quit command because safari will never close the stream. Fixes no image on safari
2022-04-19 19:30:27 -04:00
Isaac Connor
21716e994b
Keep better track of timers. Add img_onerror to report when image breaks. setScale is a mess. Add some more code to guess image scale. Browser can't handle 4k jpeg streams. scaling is a must.
2022-04-19 16:56:21 -04:00
Isaac Connor
a1f0ac2e48
width=auto,height=auto,scale=fixed operates the same as scale=auto. Don't set height. Height is ONLY set when a specific height is chosen. Which may go away for an aspect ratio dropdown instead.
2022-04-10 17:30:34 -04:00
Isaac Connor
8db08f5a10
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-03-04 12:09:44 -05:00
Isaac Connor
920f5470a8
Don't set width&height on img. img is always 100% of container. Don't show zoom unless it is != 1.0. Only update buttons if there is a change, to reduce redraws
2022-03-04 12:07:32 -05:00
Jonathan Bennett
c28c043773
Adds support for Janus 1.x
2022-02-28 18:05:17 -06:00
Jonathan Bennett
1749afc8e2
Add additional Firefox streaming workaround
2022-02-28 14:17:19 -06:00
Isaac Connor
a40b305065
Merge branch 'master' into replace_function_concept
2022-02-20 09:52:03 -05:00
Isaac Connor
002b2c39aa
fix button assignments. Don't abort ajax, as it might be important
2022-02-18 17:11:18 -05:00
Isaac Connor
dcf6e5da46
If there is an ajax error, and the error is unauthorized, then reload the page.
2022-02-08 11:20:54 -05:00
Isaac Connor
8e62562afd
Move onclick to the surrounding div instead of the img. Fixes clicking on montage
2022-01-26 21:39:29 -05:00
Jonathan Bennett
2e9bda1af1
Add firefox specific workaround for Janus streaming
2022-01-21 23:21:41 -06: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
Isaac Connor
2da9c20c08
Add ajaxQueue
2022-01-20 11:49:59 -05:00
Isaac Connor
22b6337752
Merge code from watch.js. Add an ajaxQueue. Link up buttons from UI
2022-01-20 11:47:28 -05:00
Isaac Connor
388735e942
Fix relating auth_hash causing repeated reloads. If https, then assume a reverse proxy setup to janus. If video feed is not an img, log it and return
2022-01-18 23:02:26 -05:00
Isaac Connor
24c2efeb00
fix eslint
2022-01-17 16:19:27 -05:00
Jonathan Bennett
5026008482
Changes due to janus packaging
2022-01-16 19:55:53 -06:00
Jonathan Bennett
59056b4103
Refactor Montage view js -- Janus in MonitorStream
2022-01-15 01:33:17 -06:00
Jonathan Bennett
50c824f3bb
Janus cleanup, adds support to the "watch" view
2022-01-11 21:21:58 -06:00
Jonathan Bennett
3a9c16aeea
First working Janus build
2022-01-10 23:22:37 -06:00
Isaac Connor
c8bc0661b1
Have to clear src before resetting or some browsers won't load the new image
2022-01-08 12:14:28 -05:00
Isaac Connor
939f165b22
rename analyze to analyse
2022-01-07 16:05:52 -05:00
Isaac Connor
6f5eee6c0f
Add show_analyze_frames function to tell zms to send analysis frames
2022-01-07 13:53:49 -05:00
Isaac Connor
474f65cff3
Implement getElement, setScale in MonitorStream.js
2021-11-10 14:20:19 -05:00
Isaac Connor
1c8a850acf
Handle stream having something other than an img as it's display
2021-03-23 13:53:45 -04:00
Isaac Connor
478d11e6f2
Update the auth in streamCmdParams on every request. It wasn't picking up updates
2021-03-13 12:12:20 -05:00
Andrew Bauer
68819a86a0
remove mootools from zoneminder
2021-01-18 07:31:43 -06:00
Isaac Connor
3639593ae5
use js.post instead of getJSON.
2021-01-11 15:22:15 -05:00
Andrew Bauer
9968a65ee6
bind this to streamCmdQuery
2021-01-10 14:21:52 -06:00
Andrew Bauer
c67c1ce6a0
replace Mootool delay with setTimeout
2021-01-08 13:06:56 -06:00
Andrew Bauer
72eaf267c1
eslint
2021-01-08 10:45:59 -06:00
Andrew Bauer
c0431eca86
eslint
2021-01-08 10:42:45 -06:00
Andrew Bauer
55d99e8e7c
eslint
2021-01-08 10:10:47 -06:00
Andrew Bauer
b56883a985
add reference to browserInfo function
2021-01-08 09:35:32 -06:00
Andrew Bauer
62fc1fb1aa
replace Mootools Browser object with our own
2021-01-08 09:32:51 -06:00
Andrew Bauer
a431f08133
eslint
2021-01-06 15:57:30 -06:00
Andrew Bauer
9d7f738f61
replace mootools in MonitorStream
2021-01-06 14:19:25 -06:00
Andrew Bauer
51132cb5e1
old overlay code is no longer used
2021-01-04 13:51:03 -06:00
Andrew Bauer
9209f40daa
eslint
2020-12-24 14:59:27 -06:00
Andrew Bauer
3fd50bb01d
reorganize logger.js and use jquery
2020-12-24 14:32:23 -06:00
Andrew Bauer
332ec2032a
replace createPopup with location.assign
2020-10-12 12:37:23 -05:00
Matthew Noorenberghe
77cca7efac
eslint --fix
2020-09-04 10:02:43 -04:00
Isaac Connor
a88dcfe78c
During start, switch from mode=single if required. Add play/stop/pause
2020-09-02 14:37:48 -04:00
Isaac Connor
762bea0761
Bulk load monitor/Group relationships. Instead of using DESCRIBE Monitors Function, use a new function getMonitorFUnctionTypes to get this data for dropdown purposeses. Reduces db hits a lot.
2020-08-31 18:30:05 -04:00
Isaac Connor
fe96ba0a2a
cleanup and revert adding Event stack trace
2020-04-10 11:14:46 -04:00
Isaac Connor
d7ea798c09
add modern stracktrace to log messages
2020-03-20 11:06:32 -04:00
Isaac Connor
d30480e31e
add passive to addEventListener
2020-03-05 14:10:35 -05:00
Matt N
19c272061a
Replace MooTools usage for adding window event listeners ( #2429 )
2019-01-21 11:14:32 -05:00
Matt N
f0b33145f5
Log CSP violations in ZM logs in supported browsers ( #2431 )
2019-01-21 11:12:17 -05:00
Matt N
a1a42345e3
More eslint fixes; eslint in php; add eslint to travis ( #2419 )
...
* Add eslint to travis.yml
* Update eslint package versions and apply new indent rules
* Enable the brace-style and block-style eslint rules
* Enable the 'curly' eslint rule
* Enable the 'keyword-spacing' eslint rule
* Enable the 'key-spacing' eslint rule
* Enable the 'object-curly-spacing' eslint rule
* Enable the 'no-new-object' eslint rule
* Only disable the no-caller eslint rule in the one affected file
* Enable the 'no-unused-vars' eslint rule for local variables
* Add linting of JS in .php files
2019-01-19 10:32:40 -05:00
Matt N
deaf651aad
Fix eslint violations ( #2416 )
...
* Add more JS libraries to eslintignore
* eslint . --fix
Automatic fixes only
* frame.js: eslint fixes
* events.js: manual eslint fixes
* skin.js: manual eslint fixes
* watch.js: manual eslint fixes
* Remove some tabs used for indentation in JS
* state.js: Fix new-cap eslint violation
* Disable guard-for-in eslint rule to get everything passing
2019-01-18 10:00:55 -05:00
Isaac Connor
27d4ba9e5f
use output of babeljs.io to provide code that works on older browsers. The nice class notation is ES6 upwards.. Safari on IOS9 doesn't like it
2018-12-03 15:16:47 -05:00
Isaac Connor
ebe55cf6a4
Include new Server.js
2018-07-09 14:10:06 -04:00
Isaac Connor
1e50df741f
fix some memleaks
2017-11-28 09:50:09 -05:00
Isaac Connor
fd44ff4e60
Merge branch 'master' into storageareas
2017-05-10 13:16:08 -04:00
Matthew Noorenberghe
c7955cd1b6
Add eslint configuration files extending Google's rules
2017-03-18 00:02:17 -07:00
Isaac Connor
5ae34a7561
Merge branch 'master' into storageareas
2017-01-02 09:39:10 -05:00
Andy Bauer
254fcbcef7
update gpl 2 mailing address in source files
2016-12-26 09:23:16 -06:00
Isaac Connor
238a25a302
Merge branch 'master' into iconnor_video
2016-04-05 09:38:59 -04:00
SteveGilvarry
5ff427d9e9
Removed Autotools Makefile.am
...
Conflicts:
Makefile.am
misc/Makefile.am
src/Makefile.am
web/includes/Makefile.am
web/js/Makefile.am
web/skins/classic/css/classic/views/Makefile.am
web/skins/classic/css/flat/views/Makefile.am
web/skins/classic/views/Makefile.am
web/skins/classic/views/js/Makefile.am
2016-02-26 22:19:02 +11:00
Michael
e6e1427c48
added missing videojs.zoomrotate.js file
...
added missing videojs.zoomrotate.js file
2015-07-28 23:06:03 +10:00
user
46204c2768
local storage of video js plugin
2015-07-28 23:03:59 +10:00
Isaac Connor
ebe35c2135
handle empty [file] to prevent logzilla
2014-11-13 09:17:54 -05:00
Isaac Connor
ab1314f250
clean out autogenerated files
2013-09-12 14:43:57 -04:00
Kyle Johnson
c8ad6ae656
Fixes #107 for real this time.
2013-09-05 20:31:52 -04:00
Isaac Connor
a468baf9eb
cleanup
2013-05-10 13:55:45 -04:00
Kyle Johnson
2c04d0774f
Reverting my web changes in develop - keeping them in modern
2013-05-02 10:20:06 -04:00
Kyle Johnson
1ed6462354
Removed all of the old web files
2013-05-01 06:52:43 -04:00
stan
4996dd0a51
Recreated generated files.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3662 e3e1d417-86f3-4887-817a-d78f3d33393f
2012-07-04 09:46:18 +00:00
stan
3a399378b2
Fixed problem with link to overlay css file
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3485 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-07-27 16:09:09 +00:00
stan
6ff385e407
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3459 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-06-21 09:19:10 +00:00
stan
8048c1c355
Updated to allow the versions of video4linux to existed independently of each other. Ubuntu 11.04 oalyn has V4L2.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3302 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-02-15 21:59:06 +00:00
stan
f4ee181a1b
Removed redundant overloaded code, now implmented directly in MooTools
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3298 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-02-15 11:17:30 +00:00
stan
4cbe2fbad9
Updated mootools version number to 1.2.5
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3270 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-01-31 08:54:39 +00:00
stan
46358c84e9
Changed configure/build procedure to allow specified run, tmp and log dirs and avoid early replacement of configure variables in SQL defautl config.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3222 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-01-07 11:10:18 +00:00
stan
dc9e2755b0
Added sample apache config file.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3218 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-01-03 23:27:58 +00:00
stan
825eda95a6
Regenerated
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3162 e3e1d417-86f3-4887-817a-d78f3d33393f
2010-11-03 15:56:23 +00:00
stan
c2e251405e
Tweaked request timeout handling
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2985 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-10-16 17:11:29 +00:00
stan
e0801bc216
Updated to use mootools 1.2.3
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2978 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-10-14 17:38:13 +00:00
stan
8cad0dbd6a
Updated.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2933 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-06-24 10:27:28 +00:00
stan
11a1cc2d41
Now supports custom perl install path
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2908 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-06-08 09:11:56 +00:00
stan
e69489e841
Changes to stills event view for IE etc
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2866 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-05-08 11:21:28 +00:00
stan
6f89730f2e
Fixed mootools extension.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2846 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-04-04 21:59:52 +00:00
stan
56d87a15bc
Temporary checkin to disable mootools recursion issue.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2845 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-04-04 21:35:42 +00:00
stan
bc8ba5d490
Changed extentsion of Request to mootools v1.2 format
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2842 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-04-03 12:07:45 +00:00
stan
7b4c0fa926
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2820 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-03-27 16:01:59 +00:00
stan
75c654e654
Downgraded to support autoconf 2.59
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2812 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-03-23 21:59:13 +00:00
stan
3069dc2402
Final timestamp update
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2802 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-03-09 12:45:32 +00:00
stan
429884741a
Updated for timestamps
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2801 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-03-09 12:32:04 +00:00
stan
e14efbd493
Updated generated files.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2726 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-01-28 11:24:01 +00:00
stan
d43d2289ed
Changes from updated build tools.
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2714 e3e1d417-86f3-4887-817a-d78f3d33393f
2009-01-20 14:54:50 +00:00
stan
549aa39cbb
Updated autoconf/make files
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2710 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-12-06 00:05:56 +00:00
stan
7d96edeacd
Added .in files to svn
...
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2681 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-11-03 12:14:50 +00:00
stan
2824cb7355
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2508 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-14 13:54:50 +00:00