Isaac Connor
5efaed0ef4
Merge branch 'storageareas' into ffmpeg_output
2017-11-08 17:22:07 -05:00
Isaac Connor
821717b06e
turn off debug
2017-11-08 11:26:13 -05:00
Isaac Connor
aba7ecd9a6
split lines
2017-11-08 11:18:23 -05:00
Isaac Connor
59a87c14d3
fix error message
2017-11-08 11:17:46 -05:00
Isaac Connor
625170bffc
fix getVideoStream to getVideoStreamHTML. Change how scaling works
2017-11-08 11:17:30 -05:00
APHW2 MFGENG
4e080b8a36
Merge branch 'storageareas' into ffmpeg_output
...
Conflicts:
scripts/ZoneMinder/lib/ZoneMinder/Logger.pm
scripts/ZoneMinder/lib/ZoneMinder/Object.pm
2017-11-07 18:25:33 -08:00
Isaac Connor
57cb6bb3f2
increase height of monitor
2017-11-06 12:03:24 -08:00
APHW2 MFGENG
c2fab6e959
add the options for nvsocket as an include
2017-11-06 07:31:08 -08:00
Isaac Connor
bef7c0ed94
Only start a monitor if it has a Function
2017-11-05 11:54:00 -05:00
Isaac Connor
7374ced076
0 is a prefectly valid PreEventCount
2017-11-05 10:00:24 -05:00
Isaac Connor
09f3355e18
add /usr/share/zoneminder/www/cache as a temp dir
2017-11-04 14:52:36 -04:00
Isaac Connor
63c788ef0e
handle when sql error occurs and no params given
2017-11-03 15:45:11 -04:00
Isaac Connor
f39353a4a3
add missing breaks
2017-11-03 15:44:53 -04:00
Isaac Connor
8432ab5938
change quotes, and limit the # of results to 2 when getting next and previous frames. 2 is because one of them could be the currently selected Event,
2017-11-03 15:09:19 -04:00
Isaac Connor
0ef5c16bcc
when doing parseSort, reset the sortfield to StartTime instead of DateTime
2017-11-03 15:07:04 -04: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
54d77519c0
Only show Storage and Server filters if there is more than 1
2017-11-03 12:03:01 -04:00
Isaac Connor
67bb8c302f
add missing /
2017-11-03 10:00:29 -04:00
Isaac Connor
09938ef7ee
join the echo's into 1 to also get the line breaks
2017-11-03 09:24:13 -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
4ef28bb30d
don't put the leading / in the cache link
2017-11-03 09:22:43 -04:00
Isaac Connor
5aa61cf1f5
unset the ref so that last monitor isn't duplicated
2017-11-02 07:59:25 -04:00
Isaac Connor
92917809b8
add creating /usr/share/zoneminder/www/cache
2017-11-01 12:49:38 -07:00
Isaac Connor
866c875312
Merge branch 'storageareas' into tesla
2017-11-01 12:01:51 -07:00
Isaac Connor
1aea1517bf
put back old behaviour for add monitor
2017-11-01 13:09:14 -04: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
96e0959c35
clear the cookie for zmMontageLayout
2017-11-01 13:07:35 -04:00
Isaac Connor
0af389c984
populate the Id of the layout when inserting it
2017-11-01 13:07:24 -04:00
Isaac Connor
d4080dcdbd
when saving a new layout, auto-select it
2017-11-01 12:19:27 -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
445fbb06d6
clearFix so that #monitors actually has a height
2017-11-01 11:52:59 -04:00
Isaac Connor
a9d4dfac45
fix the file extension so that mime type works better
2017-11-01 11:52:32 -04:00
Isaac Connor
36e13039c7
Switch to LONGTEXT FROM JSON type
2017-11-01 11:05:21 -04:00
Isaac Connor
25210b7ecf
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2017-11-01 09:41:22 -04:00
Isaac Connor
e6918cd1bd
implement crude cache busting code for .js and .css files
2017-11-01 09:41:19 -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
ce6cc24de5
turn off debug
2017-10-30 20:20:40 -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
207b66c8fa
add Edit Layout
2017-10-30 16:29:46 -04:00
Isaac Connor
1694eeb436
debugging and code simplification
2017-10-30 16:29:27 -04:00
Isaac Connor
97757ba6cd
add Inserting when saving
2017-10-30 16:29:13 -04:00
Isaac Connor
a6c790b374
use a shared include for the filters bar
2017-10-30 07:37:08 -07:00
Isaac Connor
8312bf52a4
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2017-10-30 08:37:54 -04: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
71c8562b46
Rough in a MontageLayout class
2017-10-27 10:01:16 -07:00
Isaac Connor
82fbec697f
add IS and IS NOT as filter operators so that we can do IS NULL and IS NOT NULL because = NULL and !=NULL are not valid
2017-10-27 08:37:53 -07:00
Isaac Connor
bc150574c7
wip import
2017-10-26 18:56:10 -07:00
Isaac Connor
0265a48a30
fix seg fault, fix pkt pts dts/duration. Stil wrong framerate
2017-10-26 10:12:56 -07:00
Isaac Connor
0fbb473dd4
refactoring
2017-10-25 13:06:15 -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
ea84bd1e69
add a Status Filter
2017-10-25 09:04:54 -07:00
Isaac Connor
b6dde354be
rename AnalysisFPS to AnalysisFPSLimit
2017-10-24 17:34:32 -07:00
Isaac Connor
e9600bc5d3
add monitors.php
2017-10-24 16:25:11 -07:00
Isaac Connor
ea669b4750
increase size of group edit popup
2017-10-24 16:09:12 -07:00
Isaac Connor
6905c6a1fb
add CpuLoad t Servers list
2017-10-24 16:08:52 -07:00
Isaac Connor
5ba6cf0fb2
Add DiskSpace to Events listings on console
2017-10-24 14:19:36 -07:00
Isaac Connor
82bf507ee9
Add Status, ram, swap to Servers List
2017-10-24 12:43:32 -07:00
Isaac Connor
59e50bbbef
Update DiskSpace when we create jpg's
2017-10-23 17:04:02 -07:00
Isaac Connor
6b2d0aa59b
fix popup when clicking on a monitor on montagereview
2017-10-23 17:03:41 -07:00
Isaac Connor
5e98587ff4
add Server and Storage filters to montagereview
2017-10-23 17:03:18 -07:00
Isaac Connor
9cbd33b439
if there is a selected monitor but it isn't in the available monitors, still show the monitors
2017-10-23 17:02:47 -07:00
Isaac Connor
729fdb4fdd
add a popup size for monitors
2017-10-23 17:02:21 -07:00
Isaac Connor
b5e59efda5
improve updating diskSpace entries
2017-10-23 17:02:04 -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
ced5015a83
move zmcControl and zmaControl to the Monitor Object
2017-10-23 17:00:59 -07:00
Isaac Connor
df8fbaccea
Fixes
2017-10-23 11:50:45 -07:00
Isaac Connor
f99e404730
update the total_disk_space function to do and sql sum on the events that already have a space assigned and only update ones that don't. This reduces ram requirements.
2017-10-23 11:02:36 -07:00
Isaac Connor
a836dd5ab3
UPdate DiskSpace when creating frame images from the mp4
2017-10-23 10:55:24 -07:00
Isaac Connor
d477067fa6
add Id and Name as a title popup to the cnanvas so if you mouse over it you can see which monitor it is
2017-10-23 10:55:04 -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
Isaac Connor
ed9da696b3
Rough in save functionality into Event.
2017-10-23 10:53:58 -07:00
Isaac Connor
b58c9d87c3
wip
2017-10-23 09:51:41 -04: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
6fba9fa65a
google code style and quotes
2017-10-20 14:54:28 -04:00
Isaac Connor
169b64813b
improve Server and Storage dropdown filters
2017-10-20 14:27:29 -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
d4b0c504fe
fix Server and Storage dropdowns
2017-10-19 12:44:33 -07:00
Isaac Connor
cf2eace2c7
improve htmlSelect and add Storage and Server filters to console
2017-10-19 09:50:07 -04:00
Isaac Connor
32ba53cf1b
turn off database debugging
2017-10-18 16:37:45 -04:00
Isaac Connor
b11a514823
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2017-10-18 13:27:13 -04:00
Isaac Connor
c281467e69
Store server and storage filters in session. Add storage and server filters to console. WIP
2017-10-18 13:24:41 -04:00
Isaac Connor
6e63cd378f
whitespace
2017-10-18 09:44:07 -07:00
Isaac Connor
32c79f8d23
Add a disk space total to event list
2017-10-18 09:43:51 -07:00
Isaac Connor
a4fe76a7fc
fix currentTime additions, tweaks, debug
2017-10-17 11:53:58 -07:00
Isaac Connor
9b809c357b
Fix Bulk frame calculations
2017-10-17 11:53:34 -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
c363b5a190
fix some missing break lines in output
2017-10-17 10:10:20 -07:00
Isaac Connor
e31e106612
fix loading virtual frame from bulk frames
2017-10-17 10:09:30 -07:00
Isaac Connor
ba4e5572d6
add setting of values to anonymouse member function
2017-10-17 10:09:14 -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
340b39ad54
Merge branch 'storageareas' of http://github.com/connortechnology/ZoneMinder into storageareas
2017-10-16 12:21:26 -07:00
Isaac Connor
75b4de94a7
fix bad char
2017-10-16 12:21:19 -07:00
Isaac Connor
2fb0acfcc3
remove cellspacing=
2017-10-16 12:20:26 -07:00
Isaac Connor
29a50626e0
cleanup
2017-10-16 12:19:38 -07:00
Isaac Connor
87d9108290
increase width of events
2017-10-16 12:19:22 -07:00
Isaac Connor
f81bac530d
increase function popup height
2017-10-16 15:16:54 -04:00
Isaac Connor
9e1893311d
google code style
2017-10-16 15:16:33 -04:00
Isaac Connor
7ceeef55fc
rough in figuring out a frame in between bulk frames
2017-10-16 15:16:19 -04:00
Isaac Connor
6bf9e28a1e
fix use of api when auth not in use and actually specify which monitor to restart
2017-10-16 10:00:41 -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
Isaac Connor
b862bfd3d2
impose minimum size of timeline, reduce extra redraws on initial load
2017-10-16 12:03:33 -04:00
Isaac Connor
5c0d8384d9
code style and quotes
2017-10-16 08:31:35 -07:00
Isaac Connor
ed92abfc76
Add Type to Storage Editing
2017-10-16 08:31:05 -07:00
Isaac Connor
345d9749ce
Add Type to Storage Editing
2017-10-16 08:31:01 -07: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
Isaac Connor
005190ab44
Merge pull request #36 from digital-gnome/montagereview-ordering
...
MontageReview ordering
2017-10-15 15:23:40 -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
Isaac Connor
bc84be6008
Merge pull request #34 from digital-gnome/flat-skin-scrollbar
...
height 100 causing phantom scroll
2017-10-13 10:06:23 -04:00
digital-gnome
590639039a
height 100 causing phantom scroll
...
Fixes phantom scrollbar in flat skin
2017-10-13 09:01:13 -04:00
Isaac Connor
48cd4cb55c
Merge pull request #33 from digital-gnome/eventvideo-div
...
move eventvideo div close
2017-10-13 06:09:34 -04:00
digital-gnome
32f9e64a14
make evenVideo wrap just the video
2017-10-12 19:52:23 -04:00
digital-gnome
2913b211db
move eventvideo div close
...
I think I did this. eventVideo div wasn't properly wrapping everything
2017-10-12 17:38:03 -04:00
Isaac Connor
28ef94fad0
handle an array as a Hint, fixing bandwidth option
2017-10-12 11:43:53 -07:00
Isaac Connor
446d3a92c5
spacing and google code style
2017-10-12 11:43:31 -07:00
Isaac Connor
78d1c1ed20
google code style and quote marks
2017-10-12 11:43:15 -07:00
Isaac Connor
e6c0add17e
add ZM_BANDWIDTH_DEFAULT
2017-10-12 12:09:05 -04:00
Isaac Connor
ac1830a40f
increase height of bandwidth popup
2017-10-12 08:54:29 -07:00
Isaac Connor
b96b2636bb
add the update to add Type to Storage
2017-10-12 07:50:43 -07:00
Isaac Connor
8abb8a9259
add Type to Storage
2017-10-12 07:32:48 -07:00
Isaac Connor
a1b13a2555
Merge pull request #32 from digital-gnome/navigationPlus
...
Navigation plus
2017-10-12 09:55:13 -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