Isaac Connor
e9d8b7925a
Merge branch 'db_reconnect' into storageareas
2016-05-10 11:13:09 -04:00
Isaac Connor
2af96237b3
increase filter save popup height
2016-05-10 10:02:07 -04:00
Steve Gilvarry
c0d3d69bec
Merge pull request #1420 from connortechnology/fix_event_menubars
...
remove set height on the menu bars, fixing flow issues
2016-05-10 16:55:06 +10:00
Isaac Connor
a8de0bff71
Merge branch 'master' into storageareas
2016-05-09 19:30:02 -04:00
Isaac Connor
35783f7dc0
Merge branch 'mysql_fixes' into storageareas
2016-05-09 19:27:42 -04:00
Steve Gilvarry
b03d2660cb
Merge pull request #1455 from ZoneMinder/api_servers
...
rough in Server object support
2016-05-10 08:00:58 +10:00
Steve Gilvarry
cffcbc6357
Merge pull request #1462 from ZoneMinder/merge_storageareas
...
Merge object model classes from storageareas
2016-05-10 07:59:25 +10:00
Isaac Connor
7f9c70d521
when value to be stored is undefined or '', then set the field=NULL
2016-05-09 13:39:40 -04:00
Isaac Connor
41776547cb
Merge branch 'master' into fix_zone_edit
2016-05-09 12:33:05 -04:00
Isaac Connor
beebe74e7b
Merge branch 'merge_db_connects' into storageareas
2016-05-09 12:26:17 -04:00
Joshua Ruehlig
e12160456b
Support user defined MySQL Port/Socket in API
2016-05-09 00:24:08 -07:00
Isaac Connor
966a9dcd8d
Merge pull request #1467 from ZoneMinder/api_fixes
...
Don't pass request data as a monitor array to daemonControl
2016-05-07 18:25:35 -04:00
Isaac Connor
e4171855bb
add padding for nabar to body
2016-05-07 18:12:31 -04:00
Isaac Connor
ae40dc8b1b
revert to fixed navbar
2016-05-07 18:11:58 -04:00
Isaac Connor
e35b0a1eb2
Merge pull request #1469 from pliablepixels/1468-api-consoleEvents-alarmedFrames
...
added alarmed frames filter
2016-05-07 17:06:37 -04:00
arjunrc
be329e1e0d
switched to named param format, more flexible, in line with other APIs
2016-05-07 16:28:25 -04:00
arjunrc
8347b69b09
added alarmed frames filter
2016-05-07 14:26:09 -04:00
Isaac Connor
6d991a1c6c
Merge pull request #1466 from pliablepixels/1465-api-alarm-on-off
...
added alarm enable/disable
2016-05-07 11:26:49 -04:00
arjunrc
6f9cc0f19f
to be safe, lets add system edit permissions, so rogue users can't turn alarms OFF
2016-05-07 11:01:03 -04:00
Isaac Connor
654d4d2bee
Merge branch 'api_fixes' into storageareas
2016-05-07 10:56:47 -04:00
Isaac Connor
15977f1a3c
Don't pass request data as a monitor array to daemonControl
2016-05-07 10:56:38 -04:00
arjunrc
0280ae4dd5
added alarm enable/disable
2016-05-07 10:37:42 -04:00
Isaac Connor
51e6372362
remove extra hidden fields
2016-05-06 18:20:05 -04:00
Isaac Connor
dcdefac48a
fix styles in header, move footer back into header
2016-05-06 16:08:32 -04:00
Isaac Connor
7219e0624b
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 15:56:07 -04:00
Isaac Connor
9756f59a2c
still trying to fix eventcounts
2016-05-06 15:56:01 -04:00
Isaac Connor
97a1d5a648
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 15:53:48 -04:00
Isaac Connor
52b4e98e5a
fixes
2016-05-06 15:53:19 -04:00
Isaac Connor
fc191dfaa5
fixes
2016-05-06 15:52:07 -04:00
Isaac Connor
38877f802c
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 15:47:48 -04:00
Isaac Connor
905b69a394
fix too many {
2016-05-06 15:47:29 -04:00
Isaac Connor
7c3a7a6fda
fix i to monitor_i in for loop
2016-05-06 15:46:47 -04:00
Isaac Connor
38e02db9cf
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 15:46:00 -04:00
Isaac Connor
daf10c1b84
make displayMonitors global
2016-05-06 15:44:35 -04:00
Isaac Connor
f8d7f9906d
fixup merging of Event data into the monitor array
2016-05-06 15:44:23 -04:00
Isaac Connor
2ccefdb23c
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 15:30:25 -04:00
Isaac Connor
f4df9e053d
port sidebar css over from classic to flat
2016-05-06 15:30:10 -04:00
Isaac Connor
fb1b8000ec
fix the use of when specifying a skin
2016-05-06 15:24:20 -04:00
Isaac Connor
02b5cd6b6c
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 15:17:10 -04:00
Isaac Connor
5d8eeb5b56
deprecate header, just the getNavBarHTML function
2016-05-06 15:16:48 -04:00
Isaac Connor
da97dfd9cf
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 14:59:10 -04:00
Isaac Connor
ed5cb2f3ed
fix global language problems
2016-05-06 14:58:41 -04:00
Isaac Connor
99d9f98244
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 14:40:08 -04:00
Isaac Connor
956b971719
put back maxWidtha nd maxHeight
2016-05-06 14:39:48 -04:00
Isaac Connor
b3b63ec1d9
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 14:38:17 -04:00
Isaac Connor
829202b42a
move more eventcounting stuff to console.php.
2016-05-06 14:38:08 -04:00
Isaac Connor
b67ea65fcb
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 14:34:02 -04:00
Isaac Connor
297f27af8c
fix missing {
2016-05-06 14:33:56 -04:00
Isaac Connor
f1e22f9265
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 14:32:57 -04:00
Isaac Connor
7acf6cb694
fix colon to semi colon
2016-05-06 14:32:52 -04:00
Isaac Connor
01397b6695
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 14:31:27 -04:00
Isaac Connor
83795805f2
Move state getting into index.php
2016-05-06 14:30:50 -04:00
Isaac Connor
1d673a0b8c
move header into a function in functions.php. Move event population into console.php
2016-05-06 14:30:32 -04:00
Isaac Connor
7df2685223
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 12:51:40 -04:00
Isaac Connor
e87a35b04d
Merge branch 'always_show_ptz' into storageareas
2016-05-06 12:51:15 -04:00
Isaac Connor
c9f1614e32
If the camera has no centering control, don't make it look like it does. This also removes a logged error
2016-05-06 12:51:03 -04:00
Isaac Connor
d5f1519829
Can't externally reference .js.php, they have to be inline js
2016-05-06 12:40:23 -04:00
Isaac Connor
b333b8ebee
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 12:06:47 -04:00
Isaac Connor
ee015ee674
whitespace/codestyle. Also remove duplicate form iput runState which I think is left over from it being a popup
2016-05-06 12:06:13 -04:00
Isaac Connor
44e5b566b8
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 11:56:24 -04:00
Isaac Connor
8405db4750
Move running=daemonCheck from header to index.php so that it is defined early and can be used everywhere
2016-05-06 11:56:03 -04:00
Isaac Connor
b3b9eaa7d5
better code for deprecate sequpdownarrays
2016-05-06 11:44:13 -04:00
Isaac Connor
be4f155160
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 11:42:46 -04:00
Isaac Connor
4784f8b630
deprecate the seqUp and seqDown arrays
2016-05-06 11:36:11 -04:00
Isaac Connor
4b838dc66c
deprecate minSequence and maxSequence
2016-05-06 11:29:49 -04:00
Isaac Connor
b0e977f8ed
Merge branch 'iconnor-updated-console' into storageareas
2016-05-06 11:26:53 -04:00
Isaac Connor
55567b66e9
deprecate minSequence and maxSequence use
2016-05-06 11:04:35 -04:00
Isaac Connor
b0a057724a
document minSequence use
2016-05-06 11:04:22 -04:00
Isaac Connor
c050969141
Merge object model classes from storageareas
2016-05-05 15:33:28 -04:00
Isaac Connor
4b782efd54
Whitespace fixes
2016-05-05 15:30:24 -04:00
Isaac Connor
49dc917b2e
Merge isaac:ZoneMinder.p1 into storageareas
2016-05-05 15:24:14 -04:00
Isaac Connor
27b928839c
deprecate view=image-ffmpeg
2016-05-05 15:04:11 -04:00
Isaac Connor
1f6425b1b7
Fix for SQL to load next and previous event
2016-05-05 14:50:15 -04:00
Isaac Connor
0e74778dda
add find and find_all functions
2016-05-05 14:49:57 -04:00
Isaac Connor
df960bb1ea
rework image.php view to properly handle fid being the FrameId instead of fid. Fix scaling.
2016-05-05 14:49:40 -04:00
Isaac Connor
d342b11e64
remove servers references from header, they go in console
2016-05-04 09:07:29 -04:00
Isaac Connor
36f94dddec
cleanup merge problems
2016-05-03 14:46:22 -04:00
Isaac Connor
d25e75f485
Merge branch 'updated-console' of github.com:ZoneMinder/ZoneMinder into updated-console
2016-05-03 14:39:59 -04:00
Isaac Connor
c3628a8dfd
Merge branch 'updated-console' into storageareas
2016-05-03 14:34:58 -04:00
Isaac Connor
4defe92911
Merge branch 'master' into updated-console
2016-05-03 14:22:37 -04:00
Kyle Johnson
36da4aed88
Push monitor view back to before I messed with it
2016-05-03 13:55:38 -04:00
Kyle Johnson
b92c9f9be4
Add state modal to options view
2016-05-03 13:55:38 -04:00
Kyle Johnson
3271d17a3a
Remove header from log view
2016-05-03 13:55:38 -04:00
Kyle Johnson
bfda50b693
Also don't load additional JS to Log view
...
Another issue with mootools & jquery conflicts
2016-05-03 13:55:38 -04:00
Kyle Johnson
dcd6449a9b
Don't include extra js libraries for monitor view.
...
This is a workaround for an issue where you couldn't change tabs
whlie in the monitor view, but probably makes sense anyway.
2016-05-03 13:55:38 -04:00
Kyle Johnson
464db86c53
Revert "Add sidebar and top nav to Monitors popup view"
...
This reverts commit 315fb3e857
.
2016-05-03 13:55:38 -04:00
Kyle Johnson
237f1c3a9c
Change sidebar to lighter colors
2016-05-03 13:53:30 -04:00
Kyle Johnson
6a48b9041a
Revert "Include Chart.js"
...
This reverts commit 33d6d311b0
.
Didn't mean to add this code in yet. For a future feature.
2016-05-03 13:53:30 -04:00
Kyle Johnson
44fbbee152
Major rewrite of states view. Now a modal on every page.
...
Read: No longer an HTML popup window.
* State html is now included toward the bottom of every page
* The states.js has been rewritten in jquery
* Applying, deleting or saving a state reloads the page after the POST is done
2016-05-03 13:53:30 -04:00
Kyle Johnson
800378b095
Add state view's js and php to all pages as it is now part of header
2016-05-03 13:53:30 -04:00
Kyle Johnson
2e2cc3d9ab
Change 'marked' row style to bootstrap 'danger' and find it with jquery
2016-05-03 13:53:30 -04:00
Kyle Johnson
62fc4dff7e
Change class of delete button to be red
2016-05-03 13:53:30 -04:00
Kyle Johnson
0f5089bbf8
Fix button alignment on console page, and add button styling
2016-05-03 13:53:30 -04:00
Kyle Johnson
f305a6ffc8
Replace console table css with styles from bootstrap
2016-05-03 13:53:30 -04:00
Kyle Johnson
8b5693129b
Include Chart.js
2016-05-03 13:53:30 -04:00
Kyle Johnson
0bb08a6256
clean up options a bit more
2016-05-03 13:51:54 -04:00
Kyle Johnson
291179d3b1
Add side tab list to options page, and style it.
2016-05-03 13:51:54 -04:00
Kyle Johnson
cf6f36b0e5
Add header to log view
2016-05-03 13:51:54 -04:00
Isaac Connor
3e51429fb0
Move skin and css changing up above the include of header.php so that the set cookie call will work
2016-05-03 13:51:54 -04:00
Isaac Connor
e435b3ebed
remove duplication
2016-05-03 13:51:54 -04:00
Kyle Johnson
d698f2af14
Restyle the header. Full width, dark background, collapseable.
2016-05-03 13:51:54 -04:00
Kyle Johnson
6c1f53cbdc
Load jquery and bootstrap js in classic skin
2016-05-03 13:51:54 -04:00
Kyle Johnson
27c9d06aee
Add local copy of bootstrap.js 3.3.6
2016-05-03 13:51:54 -04:00
Kyle Johnson
eb443e371f
Update doctype to html5, and add additional meta tags
2016-05-03 13:51:54 -04:00
Kyle Johnson
ff15fdb6d9
Make the ZM logo in header stand out
2016-05-03 13:51:54 -04:00
Kyle Johnson
7a6dae69f0
Convert options layout to side-tabs, and improve readability
2016-05-03 13:51:54 -04:00
Kyle Johnson
d95cf8dae5
Push the options page down a bit to make tab look better
2016-05-03 13:51:54 -04:00
Kyle Johnson
d12fc95ad1
Restyle options view with horizontal form layout
2016-05-03 13:51:54 -04:00
Kyle Johnson
2214cb6389
Add styling to delete / save / add buttons in options.php
2016-05-03 13:51:54 -04:00
Kyle Johnson
b317797a6c
Remove cancel button from options as it no longer makes sense.
2016-05-03 13:51:54 -04:00
Kyle Johnson
2a9b10e80e
Update options.php to use bootstrap container
2016-05-03 13:51:54 -04:00
Kyle Johnson
be8385535d
Oops. Move Console view outside of canView(system) restriction
2016-05-03 13:51:54 -04:00
Kyle Johnson
858845e3a1
Add a link back to console in header
2016-05-03 13:51:54 -04:00
Kyle Johnson
a8c7ec250d
Make the Options link a standard href (not a popup).
2016-05-03 13:51:54 -04:00
Kyle Johnson
25c9328187
Move console php code to header as that code is now needed in additional views.
2016-05-03 13:51:54 -04:00
Kyle Johnson
cd8e8d9685
Move the header into its own file, and include it in options view.
2016-05-03 13:51:34 -04:00
Kyle Johnson
a4e07e9a73
Update options styling
2016-05-03 13:51:34 -04:00
Kyle Johnson
2fff9a6a8b
Fix state link to do popup like before
2016-05-03 13:51:34 -04:00
Kyle Johnson
3e59aca739
Additional footer padding
2016-05-03 13:51:34 -04:00
Kyle Johnson
d6b0b637ea
Add styles to additional console buttons
2016-05-03 13:51:34 -04:00
Kyle Johnson
daef9eb40b
Remove extra #footer styling
2016-05-03 13:51:34 -04:00
Kyle Johnson
ea0c61d482
Bump up the default font size
2016-05-03 13:51:34 -04:00
Kyle Johnson
c3cc5d46bd
Wrap footer in container-fluid
2016-05-03 13:51:34 -04:00
Kyle Johnson
d7f471f41f
Restyle of Login page.
2016-05-03 13:51:34 -04:00
Kyle Johnson
03c188db89
Move recaptcha javascript to actual <head> tag
...
The way it was handled previously resulted in invalid html, with an
extra <head> tag being inserteed inside the <body>.
2016-05-03 13:51:34 -04:00
Kyle Johnson
aa3c99fc68
Initial major restyle of classic skin.
2016-05-03 13:51:34 -04:00
Kyle Johnson
c4c9b6c494
Local copy of bootstrap 3.3.6, included in classic skin.
2016-05-03 13:51:06 -04:00
Isaac Connor
516bacdfd3
Merge branch 'updated-console' into storageareas
2016-05-03 13:38:57 -04:00
Kyle Johnson
a1b4869ee6
Add state modal to options view
2016-05-03 13:33:22 -04:00
Kyle Johnson
0a77da8a2f
Remove header from log view
2016-05-03 13:33:08 -04:00
Kyle Johnson
c2fd3dd84a
Also don't load additional JS to Log view
...
Another issue with mootools & jquery conflicts
2016-05-03 13:25:39 -04:00
Kyle Johnson
6768fe5554
Don't include extra js libraries for monitor view.
...
This is a workaround for an issue where you couldn't change tabs
whlie in the monitor view, but probably makes sense anyway.
2016-05-03 13:06:28 -04:00
Isaac Connor
01aa2c9319
change permissions to stream permissions for view
2016-05-02 19:48:24 -04:00
Isaac Connor
e53bd1292e
increase events list width to accomodate thumbnails
2016-05-02 14:30:54 -04:00
Isaac Connor
240d08133d
implement caching of scaled images.
2016-05-02 14:12:30 -04:00
Isaac Connor
fe63e4af80
remove extra semi colon
2016-05-02 13:42:42 -04:00
Isaac Connor
550fdc9295
change thumbnail path to specify eid and fid instead of path to the jpg.
2016-05-02 13:42:15 -04:00
Isaac Connor
b8c8ff3807
fix if structuring
2016-05-02 13:36:19 -04:00
Isaac Connor
b38aa60209
fix height of function popup
2016-05-02 11:56:42 -04:00
Isaac Connor
75f9fde920
rough in Server object support
2016-05-02 10:41:25 -04:00
Isaac Connor
9d6a7541c8
add Id column to storage areas
2016-05-02 10:40:42 -04:00
Isaac Connor
272e1da958
rough in Server object support
2016-05-02 10:37:19 -04:00
Isaac Connor
4aafd1d417
Make api use zm.conf
2016-04-30 13:50:09 -04:00
Steve Gilvarry
da157f5a1a
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2016-04-30 22:27:10 +10:00
Isaac Connor
ce69f24bdd
use zm.conf values for database connection
2016-04-30 08:11:39 -04:00
Isaac Connor
532fb77ecb
As well as writing zm.conf contents into the Configure object, define them, like we do in the regular UI. Also remove unneeded quotes
2016-04-30 08:09:56 -04:00
Isaac Connor
0044161b9c
Merge branch 'fix_zone_edit' into storageareas
2016-04-29 10:46:37 -04:00
Isaac Connor
be5f0cd4a9
replace OutputVideoStream and OutputImageStream with versions that return a string. Call getStreamHTML before we output the headers because we use streamMode and streamSrc in the header .js.php
2016-04-29 10:44:46 -04:00
Isaac Connor
af66105c37
Merge branch 'master' into storageareas
2016-04-29 08:28:53 -04:00
Steve Gilvarry
513d1568d0
Merge pull request #1444 from ZoneMinder/handle_disk_free_space_error
...
handle disk_free_space error
2016-04-29 21:36:29 +10:00