Isaac Connor
|
b866888062
|
Change title of settings button to give an indication WHY it isn't enabled
|
2022-02-08 17:52:59 -05:00 |
Isaac Connor
|
9fee64b62f
|
detaint language file.
|
2022-02-08 14:31:01 -05:00 |
Isaac Connor
|
2db781ed44
|
Test for valid language file when saving user.
|
2022-02-08 14:30:53 -05:00 |
Isaac Connor
|
b1d235f991
|
Use getBodyTopHTML so that we get error messages in UI
|
2022-02-08 13:33:22 -05:00 |
Isaac Connor
|
d7a8947e05
|
Only include janus.js if needed
|
2022-02-08 13:33:02 -05:00 |
Isaac Connor
|
cc9306afe3
|
Change the error message banner to always take up space and be seen.
|
2022-02-08 13:32:37 -05:00 |
Isaac Connor
|
8cdd96f286
|
Implement a check on change of language. Make sure that the specified language file exists. Reports errors to UI
|
2022-02-08 13:29:51 -05:00 |
Isaac Connor
|
f66a463574
|
Merge branch 'master' into replace_function_concept
|
2022-02-08 12:07:30 -05:00 |
Isaac Connor
|
e7cd63a6ff
|
replace Function with Recording, Analysing, Capturing
|
2022-02-08 11:22:41 -05:00 |
Isaac Connor
|
b005927ea3
|
debug when no data.frames
|
2022-02-08 11:21:56 -05:00 |
Isaac Connor
|
390d77a924
|
Replace Function with Capturing
|
2022-02-08 11:21:36 -05:00 |
Isaac Connor
|
01fad8a0dc
|
Replace Function monitor filter with Capturing, Analysing, Recording filters.
|
2022-02-08 11:21:16 -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
|
38c9ac1521
|
Update state action, replacing Function with Recording, Analysing, Capturing. Redirect to console instead of switching view.
|
2022-02-08 11:20:27 -05:00 |
Isaac Connor
|
aad79d3407
|
Rename MonitorAnalysingOptions => AnalysingOptions as they will have to be prefixed with module name anyways.
|
2022-02-08 11:19:36 -05:00 |
Isaac Connor
|
03f6637060
|
Only load janus.js if we are using it
|
2022-02-08 11:03:25 -05:00 |
Isaac Connor
|
2f5a403fc4
|
Handle when no swap is configured
|
2022-02-08 10:04:19 -05:00 |
Isaac Connor
|
33473eac6a
|
Add arp-scan as a tool for getting list of devices on network. Add an interface specifier to monitor probe just like on onvif-probe. Rough in support for Hikvision cameras
|
2022-02-07 12:33:53 -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 |
Isaac Connor
|
69053424cd
|
When adding a new monitor, ModelId and ManufacturerId are not defined, so handle that
|
2022-02-06 19:06:35 -05:00 |
r01k
|
02d896abe2
|
Fixed in export.php "Class 'Filter' not found" and construction of SQL query with wrong syntax
|
2022-02-04 22:19:15 -05:00 |
Isaac Connor
|
b3092f2f59
|
Add special handling for skip_locked, as it is a checkbox. Don't update REQUEST['Id'] on execute so we can redirect to the original filter.
|
2022-02-03 17:31:37 -05:00 |
Isaac Connor
|
a6dc7ba0fc
|
Add debugging, but commented out
|
2022-02-03 17:30:38 -05:00 |
Isaac Connor
|
3c655807e8
|
Use new Event->Server function to return the correct (and matching url to zms) url to use for ajax status calls. Fixes errors in a multi-server environment.
|
2022-02-03 14:47:32 -05:00 |
Isaac Connor
|
7a95aa7210
|
Don't render cues if we don't have any. This occurs on initial load we call changeScale which would re-render the cues but the cur ajax hasn't completed yet, so this just avoids an error being logged
|
2022-02-03 14:46:39 -05:00 |
Isaac Connor
|
7515711eb8
|
Implement Server function which figures out which Server likely has the video. Use it to remove duplicate logic
|
2022-02-03 14:45:17 -05:00 |
Isaac Connor
|
bd68b9e3af
|
Not ready for OutputSource yet
|
2022-02-02 17:10:05 -05:00 |
Isaac Connor
|
10e39b3b13
|
:wqMerge branch 'master' into replace_function_concept
|
2022-02-02 17:08:01 -05:00 |
Isaac Connor
|
1f9e654821
|
Default limit to 0 which means no limit
|
2022-02-02 12:28:58 -05:00 |
Isaac Connor
|
3feb4fcc51
|
Merge branch 'master' into master
|
2022-02-02 12:28:17 -05:00 |
Isaac Connor
|
31eff49a46
|
Implement filter limits. Which go before pagination/advanced search limits
|
2022-02-02 10:49:05 -05:00 |
Isaac Connor
|
3d5767b326
|
Merge branch 'master' into multistream
|
2022-02-01 16:52:42 -05:00 |
Isaac Connor
|
bc4884afe5
|
fix replacement on escape. For some reason needs double bacl slash
|
2022-02-01 10:07:04 -05:00 |
Isaac Connor
|
462ec45a07
|
Escape newlines in config values.
|
2022-02-01 09:46:37 -05:00 |
Isaac Connor
|
0eb4d95d0e
|
remove geolocation copies from config to javscript land. Now all of config is brought in my skin.js.php
|
2022-01-31 18:33:03 -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 |
Isaac Connor
|
fe8747e5e7
|
Make ONVIF inputs 100%
|
2022-01-26 11:45:07 -05:00 |
Isaac Connor
|
23bfbcd6ce
|
Merge branch 'master' into multistream
|
2022-01-26 10:13:20 -05:00 |
Jonathan Bennett
|
57a697093e
|
Remove redundant JS define
|
2022-01-25 22:38:06 -06:00 |
Jonathan Bennett
|
ec9403fb6f
|
Adds Amcrest On-camera Motion Detection
|
2022-01-25 22:38:00 -06:00 |
Jonathan Bennett
|
d110987935
|
Fix indentation for ESLint
|
2022-01-22 13:37:44 -06:00 |
Jonathan Bennett
|
abbd27d1cb
|
Remove hard-coded config Vars
|
2022-01-22 13:31:47 -06:00 |
Jonathan Bennett
|
8125aa633b
|
Merge branch 'ZoneMinder:master' into master
|
2022-01-22 12:20:13 -06:00 |
Isaac Connor
|
90f75dae93
|
Make config entries const
|
2022-01-22 12:33:48 -05:00 |
Isaac Connor
|
3a0b88c013
|
Don't make private config entries available to js land.
|
2022-01-22 12:31:36 -05:00 |
Isaac Connor
|
ce2d605b3d
|
load Private as well as Name,Value from Config
|
2022-01-22 12:31:15 -05:00 |
Isaac Connor
|
45db266ede
|
Put full config available to javascript
|
2022-01-22 12:07:18 -05:00 |
Isaac Connor
|
4910ec752f
|
Merge branch 'master' into multistream
|
2022-01-22 11:52:19 -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
|
5ce701f5cb
|
Use Monitor->getStatusHTML to generate status html
|
2022-01-20 11:53:44 -05:00 |
Isaac Connor
|
91d6ff2029
|
Use Monitor->getStatusHTML to generate status html
|
2022-01-20 11:53:35 -05:00 |
Isaac Connor
|
57bb91e105
|
add connKey to monitorData
|
2022-01-20 11:53:05 -05:00 |
Isaac Connor
|
9c3509a620
|
put an mid in imageFeed id so we can use MOnitorStream.js. Use Monitor->getStatusHTML to generate status html
|
2022-01-20 11:52:54 -05:00 |
Isaac Connor
|
e73659843a
|
Rework to use MonitorStream.js
|
2022-01-20 11:52:01 -05:00 |
Isaac Connor
|
7748616992
|
If rate > 1600, limit it to 1600 to prevent logged errors
|
2022-01-20 11:51:08 -05:00 |
Isaac Connor
|
24a9dcbf47
|
If rate > 1600, limit it to 1600 to prevent logged errors
|
2022-01-20 11:50:53 -05:00 |
Isaac Connor
|
97f2c0a02b
|
Load ajaxQueue
|
2022-01-20 11:50:25 -05: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
|
4bf55b1af1
|
Use net zm_setcookie
|
2022-01-20 09:48:09 -05:00 |
Isaac Connor
|
3cd6fbdc12
|
Use net zm_setcookie
|
2022-01-20 09:48:02 -05:00 |
Isaac Connor
|
9395b7e47c
|
Use net zm_setcookie
|
2022-01-20 09:47:53 -05:00 |
Isaac Connor
|
a57206ef54
|
Implement getMonitorStateHTML to synchronize it between montage and live view, cycle etc. Reuseable code. Also the structure is required by MonitorStream.js
|
2022-01-20 09:47:36 -05:00 |
Isaac Connor
|
db866fa668
|
Implement zm_setcookie to simplify setting cookies, set samesite, deal with older php etc. Use it.
|
2022-01-20 09:46:38 -05:00 |
Jonathan Bennett
|
fb832e7d1b
|
Adds janus_enable_audio, a switch to try to enable audio in live stream viewing.
|
2022-01-19 00:14:52 -06:00 |
Isaac Connor
|
d00aaa11e9
|
default JanusEnabled to 0 so that we can turn it off
|
2022-01-18 23:02:26 -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
|
3241fa59c5
|
Don't redirect if there was an error so that we display it
|
2022-01-18 23:02:26 -05:00 |
Isaac Connor
|
3835087c9d
|
Merge branch 'master' into multistream
|
2022-01-18 20:16:08 -05:00 |
Isaac Connor
|
90492d332c
|
Put back to brand 3.0 of upstream
|
2022-01-18 10:39:24 -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
|
688f505f28
|
Adds better error handling, changes expected location of janus.js
|
2022-01-16 19:44:52 -06:00 |
Jonathan Bennett
|
59056b4103
|
Refactor Montage view js -- Janus in MonitorStream
|
2022-01-15 01:33:17 -06:00 |
Isaac Connor
|
8d757d37a6
|
fix eslint
|
2022-01-14 16:43:59 -05:00 |
Jonathan Bennett
|
9e9bdd183c
|
Merge branch 'ZoneMinder:master' into janus
|
2022-01-14 14:05:23 -06:00 |
Isaac Connor
|
7c1ba721aa
|
Preface Debug with ZM
|
2022-01-13 22:15:02 -05:00 |
Isaac Connor
|
a414506a5e
|
Preface Debug with ZM
|
2022-01-13 22:14:14 -05:00 |
Jonathan Bennett
|
212d51f933
|
Merge branch 'ZoneMinder:master' into janus
|
2022-01-13 12:16:16 -06:00 |
Isaac Connor
|
44b11389ce
|
Merge pseudo:sandbox/ZoneMinder.connortechnology into event_thread
|
2022-01-13 12:00:17 -05:00 |
Jonathan Bennett
|
2beffeb1b4
|
Add Janus to Cycle view. Remove debug Alert() messages
|
2022-01-12 22:47:35 -06:00 |
Jonathan Bennett
|
50c824f3bb
|
Janus cleanup, adds support to the "watch" view
|
2022-01-11 21:21:58 -06:00 |
Jonathan Bennett
|
2729e1de22
|
Merge branch 'ZoneMinder:master' into janus
|
2022-01-11 10:37:29 -06:00 |
Isaac Connor
|
2a83e26fb2
|
Move Recording to General tab. Improve help links
|
2022-01-11 10:46:08 -05:00 |
Isaac Connor
|
4c16557192
|
When error with ajax, delay fetchImage and add logging
|
2022-01-11 10:45:40 -05:00 |
Isaac Connor
|
6219989884
|
replace function with appropriate Analysing/Capturing settings. Remove function popup.
|
2022-01-11 10:45:11 -05:00 |
Isaac Connor
|
c97db738a3
|
fix OPTIONS_CAPTURING
|
2022-01-11 10:44:42 -05:00 |
Isaac Connor
|
0728c04bf4
|
rough in options help for capturing
|
2022-01-11 06:58:10 -05:00 |
Jonathan Bennett
|
3a9c16aeea
|
First working Janus build
|
2022-01-10 23:22:37 -06:00 |
Isaac Connor
|
f110afa6ec
|
Remove Function language entries
|
2022-01-10 18:52:13 -05:00 |
Isaac Connor
|
fd3a70172d
|
Merge branch 'master' into multistream
|
2022-01-10 17:51:50 -05:00 |
Isaac Connor
|
3f7e4c67a0
|
Provide better logging when there is no data passwed to setAlarmCues
|
2022-01-10 15:25:15 -05: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
|
71ff1e3cea
|
Add translates for analyse button. Fixup styles
|
2022-01-07 16:30:14 -05:00 |
Isaac Connor
|
a679455a0b
|
Merge branch 'master' into merge_work_on_zms
|
2022-01-07 16:22:51 -05:00 |
Isaac Connor
|
deaff43f66
|
use let/const
|
2022-01-07 16:22:24 -05:00 |
Isaac Connor
|
8f372e6a6c
|
Add useful title to frame image telling us which we are looking at
|
2022-01-07 16:22:11 -05:00 |
Isaac Connor
|
cfac99be4e
|
better debugging when the row has no Id
|
2022-01-07 16:21:49 -05:00 |
Isaac Connor
|
79c45f50d5
|
define raw as an empty array so we don't generate js errors
|
2022-01-07 16:21:34 -05:00 |
Isaac Connor
|
038bff0df2
|
Add analyse button
|
2022-01-07 16:06:53 -05:00 |
Isaac Connor
|
1a3bee102f
|
analyze->analyse, fixup how we show enabled/disabled and start with analysis frame displayed
|
2022-01-07 16:06:38 -05:00 |
Isaac Connor
|
939f165b22
|
rename analyze to analyse
|
2022-01-07 16:05:52 -05:00 |
Isaac Connor
|
7219809364
|
Add CMD_ANALYZE_ON/OFF
|
2022-01-07 14:00:36 -05:00 |
Isaac Connor
|
c914f00126
|
browser doesn't seem to like step=0.01
add analyze_frames button handling and update to jquery instead of mootools styles
|
2022-01-07 13:59:45 -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
|
df0a0c7853
|
Add CMD_ANALYZE_ON and OFF
|
2022-01-07 13:50:40 -05:00 |
Jonathan Bennett
|
1333d8c751
|
Adds ONVIF Motion Detection Support
|
2022-01-06 16:45:15 -06:00 |
Isaac Connor
|
aefed4e174
|
Merge branch 'master' into multistream
|
2022-01-05 18:03:44 -05:00 |
Isaac Connor
|
6bd04de5f6
|
Merge branch 'master' into multistream
|
2021-12-31 17:53:36 -05:00 |
Isaac Connor
|
e7a33a3dbe
|
Add Importance to monitors view
|
2021-12-28 13:51:47 -05:00 |
Isaac Connor
|
46b95e28ec
|
Fix commas
|
2021-12-28 13:51:36 -05:00 |
Isaac Connor
|
87962a3723
|
Invert Importance so that Normal is the auto-selected first value
|
2021-12-28 13:48:37 -05:00 |
Isaac Connor
|
bdcb7950cd
|
Fix export from event view due to conflict with function name in skin.js
|
2021-12-26 11:51:32 -05:00 |
Isaac Connor
|
80166a1ab5
|
Fix preset labels not being populated and causing javascript errors when they are.
|
2021-12-22 11:25:46 -05:00 |
Isaac Connor
|
edbe726e86
|
Implement semaphore retry. Make not getting the semaphore an error
|
2021-12-17 09:41:45 -05:00 |
Isaac Connor
|
c081637036
|
Fixes to specifying width and height of image due to us jquery. Implement changeRate/MaxFPS. Cleanup use of auth_hash in JSON.
|
2021-12-16 16:38:15 -05:00 |
Isaac Connor
|
4dd454325c
|
use options[maxfps] instead of always specifying 30fps.
|
2021-12-16 16:36:38 -05:00 |
Isaac Connor
|
30e4d72c1d
|
Implement CMD_MAXFPS
|
2021-12-16 16:36:12 -05:00 |
Isaac Connor
|
7c3ab46408
|
fix missing quote
|
2021-12-16 09:35:21 -05:00 |
Isaac Connor
|
8215b04fb0
|
remove padding from container in watch view so that image can go right to edge. Add 1px padding to sidebar for better visual separation.
|
2021-12-15 14:49:40 -05:00 |
Isaac Connor
|
f1db88510e
|
remove debug, fix eslint
|
2021-12-15 09:23:21 -05:00 |
Isaac Connor
|
e8edeab641
|
parseInt prevEventId and nextEventID to be sure that our tests for != 0 work. Also don't go to previous event if prevEventId ==0.Maybe Fixes #3390
|
2021-12-15 09:11:55 -05:00 |
Isaac Connor
|
f6d0274f74
|
Fix PrevCycle because monIdx was empty.
|
2021-12-14 17:05:56 -05:00 |
Isaac Connor
|
ea671a57f8
|
Add skip_locked and ExecuteInterval
|
2021-12-13 15:01:23 -05:00 |
Isaac Connor
|
6b18b2889d
|
Add skip_locked and ExecuteInterval
|
2021-12-13 15:01:17 -05:00 |
Isaac Connor
|
69faa42ca7
|
Add more of the resulting SQL to the filter debug modal
|
2021-12-13 15:00:55 -05:00 |
Isaac Connor
|
6511dc8a4f
|
Allow empty sort field.
|
2021-12-13 15:00:35 -05:00 |
Isaac Connor
|
5312d11e78
|
Don't both running zmu if monitor Function is set to None
|
2021-12-10 16:08:43 -05:00 |
Isaac Connor
|
5d8db0a320
|
Merge cycle functionality into watch view. Add period dropdown, countdown timer, toggle the sidebar. Fix auth on statusAjax, and don't use status ajax unless we are in still mode. Apply some min-width to fps so they don't jump around. Only update their content if it has changed (fewer browser renders).
|
2021-12-10 15:34:35 -05:00 |
Isaac Connor
|
a9ef5bf731
|
Add STATE_UNKNOWN and correct values of other states
|
2021-12-09 12:36:03 -05:00 |
Isaac Connor
|
31a1ef6cb4
|
Move state definitions into skin.js.php because they are used in several different views. Add STATE_UNKNOWN to match of with c++ side actual values.
|
2021-12-09 12:35:42 -05:00 |
Isaac Connor
|
1f78776093
|
Don't change colour of dot to warning when not Enabled and not doing analysis. Add reason to the dot
|
2021-12-06 09:48:44 -05:00 |
Isaac Connor
|
7b66d751d8
|
cleanup, spacing, use zone object methods to clean up svg zone layers
|
2021-12-05 17:49:24 -05:00 |
Isaac Connor
|
089c6044f1
|
Add layers toggle button, cleanup code by using ->canView, rename Monitor to monitor, add svg zones layer
|
2021-12-05 17:48:49 -05:00 |
Isaac Connor
|
76c4560c25
|
put svg zone styles in one files that can be included where needed
|
2021-12-05 17:46:25 -05:00 |
Isaac Connor
|
e6a12d20c6
|
Add svg syles and rename imageFeed to videoFeed
|
2021-12-05 17:45:54 -05:00 |
Isaac Connor
|
45559123af
|
Add numCoords, Coords, Area, AlarmRGB to Zone object. Also add Points(), AreaCoords, svg_polygon utility functions to it.
|
2021-12-05 17:45:26 -05:00 |
Isaac Connor
|
1277e75278
|
Detect group hierarchy loops and break them.
|
2021-12-03 13:25:50 -05:00 |
Isaac Connor
|
82a4cbaec5
|
Fix task=>action so that deleting works. Pause streaming before delete to prevent errors being logged due to missing files
|
2021-11-29 13:49:07 -05:00 |
Isaac Connor
|
21218491f7
|
Add EventStartCommand and EventEndCommand to monitors ui
|
2021-11-26 19:22:07 -05:00 |
Isaac Connor
|
a1bf8f7f5b
|
Fix NULL and add special 0 case for Storage area specification in filter
|
2021-11-26 10:35:15 -05:00 |
Isaac Connor
|
81ffc6df4e
|
Remove text-nowrap from cause/notes column
|
2021-11-24 12:06:13 -05:00 |
Isaac Connor
|
46a835b28a
|
fix error when no monitors defined and we are adding one.Fixes #3385
|
2021-11-22 14:26:48 -05:00 |
Isaac Connor
|
1f75b017cc
|
kill the background timer when switching to history so that we don't cause a javascript error. comment out debugging and use native javascript instead of jquery.
|
2021-11-22 14:17:50 -05:00 |
Isaac Connor
|
cc65c99791
|
Move init of ctx up before we setup the monitors. I think in some cases we can calls functions that assume ctx has a value. Uncaught%20TypeError%3A%20Cannot%20read%20properties%20of%20undefined%20(reading%20'getImageData')
|
2021-11-22 12:53:51 -05:00 |
Isaac Connor
|
7b18b22f82
|
Fix value of unknown Model
|
2021-11-17 18:58:02 -05:00 |
Isaac Connor
|
9160ee932f
|
remove debug
|
2021-11-17 18:57:53 -05:00 |
Isaac Connor
|
836fe8c2b1
|
spacing
|
2021-11-17 18:57:44 -05:00 |
Isaac Connor
|
b1d881b118
|
Report more saving errors to ui
|
2021-11-17 18:57:36 -05:00 |