Isaac Connor
b565125df9
montage layout improvements
2017-11-22 12:33:34 -05:00
Isaac Connor
11449b77a9
add debugging. increase concurrency of request queue
2017-11-22 11:46:24 -05:00
Isaac Connor
cd1d2e1721
lots more debugging. re-add status update command on failure
2017-11-22 01:18:07 -05:00
digital-gnome
c7ecb71810
Fix progressbar on short events
...
Fixes rounding errors at the end of events due to zms only returning integers. Especially noticable on short events.
2017-11-17 22:29:10 -05:00
digital-gnome
64346a031d
alarmCues to status.php
...
Switched alarm cues from API to ajax/status.php. Less overhead due to only requesting the information it needs and avoids a weird problem with authentication after sitting logged in for hours.
2017-11-16 21:03:03 -05:00
digital-gnome
617a92e33e
Re-Add streamstatus pause
...
Handles when stream is paused from zms side.
2017-11-16 16:21:17 -05:00
digital-gnome
a7b02ea3ba
Fix eventVideo and content div wrapping properly
...
Wrap eventVideo div around both videojs and zms. Consolidate control buttons/status to common set with default values.
2017-11-14 23:04:05 -05:00
digital-gnome
ef6cb42c5f
Cleanup
2017-11-11 14:49:43 -05:00
digital-gnome
1b8ae2bb45
Fix autoscale for ZMS
...
ZMS zoom would display broken jpegs with arbitrary scale. When using scaleToFit set zms scale to nearest regular scale and let the browser handle the rest.
2017-11-11 14:49:43 -05:00
digital-gnome
44c8299faa
Consolidate initPage
2017-11-11 14:49:43 -05:00
digital-gnome
91c3e3573c
ZMS controls for videojs
...
Add ZMS style controls to videojs page. Zoom, fast forward, fast reverse, frame skip, play/pause. Some cleanup of old videojs code
2017-11-11 14:49:43 -05:00
digital-gnome
21949f5426
Cleanup vjsReplay
2017-11-11 14:49:43 -05:00
digital-gnome
1b6992ea6b
Fix stills
...
Event stills fits on the page without a phantom scroll. Still image is scaled to fit the window instead of being full event size.
2017-11-11 14:49:43 -05:00
digital-gnome
81a57b086e
Add stills window for everything
...
Stills can work for every event since frames can be generated after the fact by ffmpeg
2017-11-11 14:49:43 -05:00
digital-gnome
5e9aacfc09
Stills path fix
2017-11-11 14:49:42 -05:00
digital-gnome
1ae3fca599
Fast forward and rewind show active
...
FF and RW show as active if they are active
2017-11-11 14:49:42 -05:00
digital-gnome
95622cc3b0
pause on delete
...
Pausing on delete lets a slow network user know that the click worked.
2017-11-11 14:49:42 -05:00
Isaac Connor
57a53f6fdd
spacing and fixes
2017-11-09 15:03:23 -05:00
Isaac Connor
7374ced076
0 is a prefectly valid PreEventCount
2017-11-05 10:00:24 -05:00
Isaac Connor
cab8c4cd5e
cleanup Monitor::Capture. Cleanup the return values from Capture and CaptureAndRecord. <0 is error, 0 is things ok, but no video frame. > 0 means we have a frame. Plus google code style
2017-11-03 13:49:42 -04:00
Isaac Connor
073c06f6a8
fix sizing after switching scale. basically re-apply the layout
2017-11-03 09:23:50 -04:00
Isaac Connor
866c875312
Merge branch 'storageareas' into tesla
2017-11-01 12:01:51 -07:00
Isaac Connor
eb2ee76f57
disable and re-enabled onclick action when editing layout/cancelling edit
2017-11-01 13:08:01 -04:00
Isaac Connor
8e010b3bd0
get rid of experimental code to fix monitor layout. Apparently draggable does it all for us.
2017-11-01 12:00:48 -04:00
Isaac Connor
36e13039c7
Switch to LONGTEXT FROM JSON type
2017-11-01 11:05:21 -04:00
Isaac Connor
33771f92e9
Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas
2017-10-31 13:32:47 -07:00
Isaac Connor
9473fbecd8
more debug
2017-10-31 13:32:42 -07:00
Isaac Connor
3deb8a35bb
fixes
2017-10-30 21:38:27 -04:00
Isaac Connor
b5491102ef
Fix saving MontageLayouts
2017-10-30 20:21:16 -04:00
Isaac Connor
52110adfa9
update code because we are now including the entire object in the layouts array
2017-10-30 16:32:14 -04:00
Isaac Connor
efe8b2db7e
update code because we are now including the entire object in the layouts array
2017-10-30 16:32:03 -04:00
Isaac Connor
c69e2468b0
add edit and save layout
2017-10-30 16:30:15 -04:00
Isaac Connor
a6c790b374
use a shared include for the filters bar
2017-10-30 07:37:08 -07:00
Isaac Connor
c16e101120
rough in add monitors import wizard
2017-10-27 20:52:08 -07:00
Isaac Connor
eb48759ff8
wip
2017-10-27 13:37:51 -07:00
Isaac Connor
71222d7f2f
rework how montage layouts are done, pull from db now
2017-10-27 12:06:26 -07:00
Isaac Connor
bc150574c7
wip import
2017-10-26 18:56:10 -07:00
Isaac Connor
12b611b9d5
When in live mode say Camera Offline instead of no data
2017-10-25 13:02:28 -07:00
Isaac Connor
653d213d62
Add EndTime and DiskSpace to Filters
2017-10-25 11:11:19 -07:00
Isaac Connor
b6dde354be
rename AnalysisFPS to AnalysisFPSLimit
2017-10-24 17:34:32 -07:00
Isaac Connor
6b2d0aa59b
fix popup when clicking on a monitor on montagereview
2017-10-23 17:03:41 -07:00
Isaac Connor
d2c8a0240a
add a monitors view which is for editing function/enabled/server/storage of multiple monitors
2017-10-23 17:01:43 -07:00
Isaac Connor
df8fbaccea
Fixes
2017-10-23 11:50:45 -07:00
Isaac Connor
681abd64fc
Instead of No Data, make a more general function that will write any text without clearing the image behind it
2017-10-23 10:54:38 -07:00
digital-gnome
1bddec1548
Bypass refreshParentWindow
...
This hasn't worked for a while. It looks like it's the result of a fix for filter window redirecting. It's possible other things use it but this fixes event deletion without touching anything else.
2017-10-22 17:23:04 -04:00
digital-gnome
298085ae93
Fix archive nulling vid src
2017-10-22 15:02:36 -04:00
digital-gnome
3fe46cbaff
Scale to Fit
...
Added a scale to fit option. When navigating between events of different size they will fill the window. Turned on when any event uses it, turned off when any event turns it off.
2017-10-22 12:13:16 -04:00
digital-gnome
ecb980c66f
Navigation
...
Videojs navigation now uses ajax. Feels and is faster. Some improvements, namely if zms ever crashes we can still navigate. Both zms and videojs update the address bar so refreshing a page doesn't return you to the first event.
2017-10-21 22:14:46 -04:00
digital-gnome
ff8d067639
alarmCues improvements
...
Consolidate selectors and improve edge cases where skew could cause overflow
2017-10-21 22:14:46 -04:00
digital-gnome
1eb2edd95c
Converge initial eventData with ajax
...
The initial eventData object on page load didn't have most of the information that the ajax call gave it.
2017-10-21 22:14:46 -04:00
digital-gnome
f2f2aa8720
Replay improvement and overlays
2017-10-21 22:14:46 -04:00
digital-gnome
c6373d3dca
whitespace and jquery
2017-10-21 22:14:46 -04:00
Isaac Connor
422b3d0c33
fix to montage which wasn't adding the auth_hash. Still need to add plain auth
2017-10-19 17:56:50 -04:00
Isaac Connor
cd476192e9
add auth hash if available
2017-10-19 17:52:09 -04:00
Isaac Connor
7090561d35
use jquery
2017-10-19 12:45:34 -07:00
Isaac Connor
7725d46808
use the same port as the stream
2017-10-19 12:45:24 -07:00
Isaac Connor
6e63cd378f
whitespace
2017-10-18 09:44:07 -07:00
Isaac Connor
a4fe76a7fc
fix currentTime additions, tweaks, debug
2017-10-17 11:53:58 -07:00
Isaac Connor
1a13157416
adjust times by client and server utc offsets
2017-10-17 10:10:53 -07:00
Isaac Connor
a0f54371ca
adjust times by client and server utc offsets
2017-10-17 10:10:48 -07:00
Isaac Connor
92ff3d9606
Tidy up
2017-10-17 11:50:47 -04:00
Isaac Connor
4cd59611da
fix when filters are in a popup
2017-10-16 13:46:09 -07:00
Isaac Connor
75b4de94a7
fix bad char
2017-10-16 12:21:19 -07:00
Isaac Connor
2354e9679e
fix seconds calculation when mousing over
2017-10-16 12:26:58 -04:00
Isaac Connor
69c3fce87e
impose minimum size of timeline, reduce extra redraws on initial load
2017-10-16 12:03:38 -04:00
digital-gnome
8c3c5e4d50
google code style
2017-10-15 16:52:43 -04:00
digital-gnome
3a7eee58df
improve navigation
...
Condensed navigation if structure and added handling for crashed zms. Will now reload whatever event is next.
2017-10-15 16:49:50 -04:00
digital-gnome
10cdbf30ea
reduce extra ajax calls
2017-10-15 16:46:58 -04:00
digital-gnome
3a4a7ada41
progressBar conversion
...
Convert progressBar to jquery and imporove granularity and performance
2017-10-15 16:46:57 -04:00
digital-gnome
d523e0e3f1
remove sorting
...
Don't sort monitors on resize. Fixes labels not matching graphs
2017-10-13 19:53:25 -04:00
digital-gnome
90d3067cab
progressBar offset scope
...
fixes progressBar offset passing a reference instead of a copy by wrapping it in a function. also fixes click events endlessly adding when navigating through zms events.
2017-10-11 21:07:45 -04:00
digital-gnome
1c744278e7
rescale fix
...
everything rescales except the buttons.
2017-10-11 21:05:39 -04:00
digital-gnome
f702c841f5
navigation handling
...
Navigation can now handle going from videojs streams to zms. It gracefully handles deleting the last event and running out of events. zms limitations means we still can't see mp4 recordings before they are done but we don't get stuck on them anymore.
2017-10-11 21:04:45 -04:00
digital-gnome
b9f9dd721b
initialAlarmcues arguements
...
initialAlarmcues now takes an eventId arg. Needed to reload when zms streams switch since they don't reload the page
2017-10-11 20:57:13 -04:00
digital-gnome
99dd469a1c
alarmCues fixes
...
use evtStream for width. progressBar isn't always fully loaded in time. Combine skewNone and skewAlarm. Does a more accurate job of keeping everything in line.
2017-10-11 20:49:52 -04:00
digital-gnome
067f8a8089
replayAll fixes
...
replayAll now handles end of events gracefully. Fixed bug where back to back continuous events or events that overlap would cause it to try to countdown all of epoch time.
2017-10-11 20:24:39 -04:00
Isaac Connor
c7626cab94
fix dash
2017-10-10 12:15:41 -07:00
Isaac Connor
7f50a13074
add Event disk space recalc to zmaudit
2017-10-10 12:11:59 -07:00
Isaac Connor
06c61f0324
allow periods in monitor name
2017-10-10 10:40:27 -07:00
digital-gnome
d5799cbf6f
nph-zms alarmcues
2017-10-08 22:36:15 -04:00
digital-gnome
65ce6df622
scalingfix
...
changing the scale now works with video.js and alarmcues. some whitespace fixes
2017-10-08 21:46:26 -04:00
digital-gnome
c41ef177c2
JS alarmCues
2017-10-08 21:45:05 -04:00
digital-gnome
c39cf77a9c
removealarmcuesPHP
...
removed the PHP rendering and placement code
2017-10-08 21:42:12 -04:00
Isaac Connor
d4cf84f7e6
Merge pull request #24 from digital-gnome/storageareas-featureAlarmCues
...
Storageareas feature alarm cues
2017-10-07 12:50:37 -04:00
Isaac Connor
b56a976d7a
fixes to montage review and cleanup in group filtering/editing
2017-10-05 10:46:04 -04:00
Isaac Connor
54949db0b5
spacing/google code style
2017-10-04 10:48:37 -04:00
Isaac Connor
995809ccb7
fix play/pause while editing zone
2017-10-04 10:48:14 -04:00
digital-gnome
5bbe9b40e7
renderAlarmCues function
...
Generates the html for alarmcues and passes it to JS var
2017-10-03 19:26:48 -04:00
Isaac Connor
c46769495b
Merge pull request #22 from digital-gnome/storageareas-navigation
...
Storageareas navigation
2017-10-03 10:18:44 -04:00
digital-gnome
9b241ee370
Also change class
...
With the css class properly set it turns out this wasn't working.
2017-10-02 15:41:04 -04:00
Isaac Connor
16a731af1c
fix path when changing status.
2017-10-02 11:55:17 -04:00
Isaac Connor
15ba7d2a35
fixes
2017-10-02 11:25:51 -04:00
digital-gnome
48a3e5eaa6
Move logic to .js file.
2017-09-30 16:35:03 -04:00
digital-gnome
e339b9e12a
Merge branch 'storageareas-Navigationfix' into storageareas-navigation
2017-09-30 15:09:32 -04:00
digital-gnome
5f203fc813
JS logic for video.js navigation
2017-09-30 14:24:59 -04:00
Isaac Connor
4be133ed09
remove btn styles from buttons. make groups, cycle, montage, montage review non-popups. Add datetime filters to montagereview. Fix dark skin
2017-09-30 14:19:32 -04:00
digital-gnome
22af70601e
Convert to ampersand in filters
...
Querys weren't working because it was passing & instead of &. Nothing else appeared to be using these.
2017-09-29 21:49:58 -04:00
Isaac Connor
d69b16df24
add group filter to montagereview
2017-09-26 11:28:19 -04:00
digital-gnome
cc4b6cd0b0
switch to jquery
...
switched both scaleslider and speedslider to jquery
2017-09-25 22:14:46 -04:00
Isaac Connor
fef503f90c
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2017-09-23 13:42:44 -04:00
Isaac Connor
8ada30ff8c
add a group filter to montage
2017-09-23 13:42:13 -04:00
digital-gnome
a5f0103601
revert jquery change to speed slider
...
Scale was using getElementById but speed was changed to jquery. It wasn't working so I just changed it to match scale.
2017-09-14 18:00:23 -04:00
Isaac Connor
edb7762cf3
Merge branch 'master' into storageareas
2017-09-11 16:57:08 -04:00
ralimi
58a9107675
Fix incorrect links to transparent.png and index.php ( #1982 )
...
* Fix install location for config files when building to alternate directory.
With the previous code, we ended up with a directory structure like the following:
$ find /etc/zm/conf.d/
/etc/zm/conf.d/
/etc/zm/conf.d/01-system-paths.conf
/etc/zm/conf.d/conf.d
/etc/zm/conf.d/conf.d/README
/etc/zm/conf.d/conf.d/02-multiserver.conf
* Omitted README file that should have appeared in /etc/zm/conf.d
* Fix location for configs when building to alternate directory.
* Fix works, but this should go on a branch instead.
* Fix works, but this should go on a branch instead.
* Fix location for configs when building to alternate directory.
With the previous code, we ended up with a directory structure like the following:
$ find /etc/zm/conf.d/
/etc/zm/conf.d/
/etc/zm/conf.d/01-system-paths.conf
/etc/zm/conf.d/conf.d
/etc/zm/conf.d/conf.d/README
/etc/zm/conf.d/conf.d/02-multiserver.conf
* Remove double quotes. This is a list of paths.
* Allow SSL database connection to be secured with SSL.
* Fix incorrect variable name
* Fix PHP syntax errors
* SSL connection parameters must also be passed in API.
* Fix links pointing at transparent.gif
* Use relative path to index.php instead of absolute.
The installation may not be rooted at / on the server.
2017-09-10 11:49:53 -04:00
Isaac Connor
087b7abb94
Merge branch 'master' into fix_event_viewing
2017-08-14 10:41:04 -04:00
Isaac Connor
c60939e824
fix absolute path to index.php in console.js
2017-08-11 09:08:00 -04:00
Isaac Connor
7cb4090d7d
can't use jquery like that
2017-08-03 12:41:43 -04:00
Isaac Connor
8bbad9adf8
braces, spaces
2017-07-13 17:35:06 -04:00
Isaac Connor
37003aebcf
Merge branch 'master' into storageareas
2017-07-13 11:07:06 -04:00
Isaac Connor
f7a99a1106
make montagereview not load all events and frames at once, so that it doesn't use up all memory
2017-07-13 11:06:08 -04:00
Isaac Connor
22e957ba46
clean up state a bit, use 1 less call to daemon check by using global . When selecting a layout, set img width to 100%
2017-07-12 12:49:01 -04:00
Isaac Connor
148d7066f9
Merge branch 'master' into storageareas
2017-07-11 16:15:02 -04:00
Isaac Connor
0eb7bfabf2
put the ajax query back to a post
2017-07-07 12:15:09 -04:00
Isaac Connor
21881235f9
merge changeWidth and changeHeight
2017-07-07 09:31:53 -04:00
Isaac Connor
7533d09631
increase log query time minimum to 2 seconds. 1 is too frequent.
2017-07-06 11:42:35 -04:00
Isaac Connor
c3c6459052
Merge branch 'montagereview_rework' into storageareas
2017-07-05 15:34:02 -04:00
Isaac Connor
1e21beb1cd
use instead of document.getElementById
2017-07-05 14:25:44 -04:00
Isaac Connor
d61dfcd410
scale in montagereview is 1 based instead of 100, so multiply by 100 when asking for the streamSrc.
2017-07-05 14:23:01 -04:00
Isaac Connor
720748a731
code cleanup mostly. scale in montagereview is 1 based instead of 100, so multiply by 100 when asking for the streamSrc.
2017-07-05 14:22:44 -04:00
Isaac Connor
8c19b129d7
more wip
2017-07-04 12:33:01 -04:00
Isaac Connor
f87a89a5ce
more fixes
2017-07-04 11:51:23 -04:00
Isaac Connor
8b1459a510
fixes for cambozola on ie, and fixes to setting fixed widths
2017-06-28 15:17:55 -04:00
Isaac Connor
90696331a9
Merge branch 'master' into storageareas
2017-06-26 21:58:11 -04:00
Isaac Connor
892f3a06c7
wip
2017-06-23 08:32:09 -04:00
Isaac Connor
76f63686cb
Merge branch 'fix_event_viewing' into storageareas
2017-06-22 09:24:31 -04:00
Isaac Connor
5e75588bfb
Fix event viewing. Output a frame immediately on zoom in/out. Fix recursive loop on play/pause
2017-06-21 17:14:02 -04:00
Isaac Connor
5bdfb8ae4e
add a question mark to delete confirm message and just submit the form
2017-06-20 09:09:21 -04:00
Isaac Connor
965b306ebc
continue redoing filters
2017-06-19 13:24:02 -04:00
Isaac Connor
75c11431e6
deprecate filtersavepopup
2017-06-16 11:10:25 -04:00
Isaac Connor
3225891843
update/fix filter behaviour
2017-06-15 15:45:43 -04:00
Isaac Connor
91a070b835
Merge branch 'master' into storageareas
2017-06-15 13:13:08 -04:00
Isaac Connor
119f8fc86c
Fix version checks to fix build on yaketty
2017-06-15 13:02:54 -04:00
Andrew Bauer
c11a219b9f
Merge pull request #1896 from connortechnology/dragndrop_monitor_sorting
...
Dragndrop monitor sorting
2017-06-12 20:49:51 -05:00
Isaac Connor
371b86300a
Merge branch 'master' into storageareas
2017-06-08 14:23:40 -04:00
Isaac Connor
c6a1518548
remark out call to set progressBarWidth, but that should never change and it uses a var that isn't global barWidth
2017-06-08 14:03:07 -04:00
Isaac Connor
b4bdc1fd6b
Merge branch 'master' into dragndrop_monitor_sorting
2017-06-06 20:39:58 -04:00
Isaac Connor
cfa292a204
update widths of monitors when selecting a layout
2017-06-05 19:53:19 -04:00
Isaac Connor
e1da754ff1
scale zones svg as well when changing width/height/scale
2017-06-05 13:25:27 -04:00
Isaac Connor
451714a403
Merge branch 'master' into storageareas
2017-06-04 21:42:56 -04:00
Isaac Connor
a9268d10e3
fix the use of ZM_OPT constants in javascript. Instead, check for existence of the element in the form.
2017-06-02 12:21:12 -04:00
Isaac Connor
2b9134512f
remove leftover
2017-05-31 20:45:21 -04:00
Isaac Connor
8b3b9eb30e
more merges/fixes from SA
2017-05-30 13:47:30 -04:00
Isaac Connor
0e643f0f93
Merge branch 'master' into storageareas
2017-05-30 11:58:38 -04:00
Isaac Connor
59d00b20b1
fix fetchImage
2017-05-30 11:35:52 -04:00
Isaac Connor
f88abfcb4d
the liveStream element now has the monitorId appended to it, to be consistent with montage so we can reuse code
2017-05-30 11:26:57 -04:00
Isaac Connor
7cfa0b12ec
Merge branch 'dragndrop_monitor_sorting' into storageareas
2017-05-25 15:26:04 -04:00
Isaac Connor
123aaad080
add applySort function, and the sorting init code
2017-05-25 15:03:30 -04:00
Isaac Connor
d988b9b6d5
improve efficiency of progress bar updating/drawing. Add some debug
2017-05-19 12:25:26 -04:00
Isaac Connor
319712a4c1
Merge updates from sa branch
2017-05-18 15:16:59 -04:00
Isaac Connor
f851daca68
merge code to load video.js etc on Event view
2017-05-18 15:10:13 -04:00