Isaac Connor
d611840750
whitespace, handle NaN in limitArea
2017-04-05 16:09:40 -04:00
Isaac Connor
c5ff45922f
fix zone edit height
2017-04-05 16:09:06 -04:00
Isaac Connor
7815f1c539
introduce a redirect flag global variable to allow us to redirect. Which allows to redirect on successful login so we don't get repost popups
2017-04-05 10:05:21 -04:00
Andrew Bauer
a10d52a3e1
Merge pull request #1844 from connortechnology/fix_1812
...
fix Monitors filtering SQL
2017-04-03 20:06:39 -05:00
Isaac Connor
08766b7546
decrease wait time in order to achieve greater throughput. flush after every print so that we don't buffer the whole file
2017-03-31 14:33:00 -04:00
Isaac Connor
58d119d9ed
Merge branch 'fix_1762' into storageareas
2017-03-31 13:38:59 -04:00
Isaac Connor
514c83d3e9
whitespace and add a test for ->Triggers being an array
2017-03-31 12:01:37 -04:00
Isaac Connor
d1a60dedc8
Fix the overzealous use of escapeshellcmd that breaks restarting monitors
2017-03-31 11:59:55 -04:00
Isaac Connor
d3f6ab3d29
fix Monitors filtering SQL
2017-03-30 13:06:54 -04:00
Isaac Connor
56476a7774
uppercase SQL
2017-03-30 13:05:10 -04:00
Isaac Connor
4f2dcdacb4
update, remove styles and fix the sql for limiting monitors
2017-03-30 13:04:16 -04:00
Isaac Connor
dd4550406f
remove styles from montagereview and stick them in a view-specific css
2017-03-30 13:03:46 -04:00
Isaac Connor
7e3b27a130
Test for Controllable as well as ControlId
2017-03-30 10:49:02 -04:00
Isaac Connor
b2db0888ae
add a warning if csrf_check returns false
2017-03-30 10:46:13 -04:00
Isaac Connor
5ea77f0781
Make zones a link to zones_overview
2017-03-30 10:45:55 -04:00
Isaac Connor
538658403c
Merge pull request #1822 from knnniggett/csrf
...
Implement CSRF Mitigation
2017-03-30 10:39:55 -04:00
Isaac Connor
fe223e3b29
remove a warning when adding users when not logged in (could happen if OPT_AUTH isn't turned on yet
2017-03-29 10:38:29 -04:00
Isaac Connor
35067211e0
more the csrf to before actions.php
2017-03-29 10:19:00 -04:00
Isaac Connor
3cd9e46df9
Merge branch 'knnniggett-csrf' into storageareas
2017-03-28 20:44:38 -04:00
Isaac Connor
d006ebfc3c
Merge branch 'csrf' of https://github.com/knnniggett/ZoneMinder into knnniggett-csrf
2017-03-28 20:10:59 -04:00
Isaac Connor
769af661e9
Merge branch 'fix_x10' into storageareas
2017-03-28 20:05:52 -04:00
Isaac Connor
589b369109
fix inserting x10 record with missing ,
2017-03-28 20:03:46 -04:00
Andy Bauer
eb55a6bb9b
set action,view, and/or request to NULL if there are not defined
2017-03-28 17:52:31 -05:00
Andy Bauer
4e16ae6d19
add ZM_ENABLE_CSRF_MAGIC toggle
2017-03-28 17:29:36 -05:00
Isaac Connor
4d2fb6b7f8
don't need to reload when deleting. The row will no longer be in there
2017-03-27 13:13:48 -04:00
Isaac Connor
7b63461517
attempt to support redirecting to the given url instead of just refreshing
2017-03-27 13:13:08 -04:00
Isaac Connor
8ef7a708bd
updates in filters, try to get the new filter loaded when saving with a new name
2017-03-27 13:12:37 -04:00
Isaac Connor
7360619941
Merge branch 'master' into storageareas
2017-03-24 11:53:45 -04:00
Isaac Connor
8bd34a982d
only use scale if it has a value
2017-03-21 15:30:22 -04:00
IDDQDesnik
6081374ace
Updated Russian translation
2017-03-21 17:39:22 +03:00
Isaac Connor
eaca58bb7c
Merge pull request #1815 from mnoorenberghe/postlogin
...
Properly escape postLoginQuery. Fixes #1797
2017-03-21 10:27:13 -04:00
Isaac Connor
670c1a3c7c
pass NULL for ['width']
2017-03-21 09:47:07 -04:00
Matthew Noorenberghe
ea558c79a0
Fix check that API user is enabled
2017-03-20 17:16:24 -07:00
Isaac Connor
badbf1c74c
Merge pull request #1816 from mnoorenberghe/flat_window_sizes
...
Increase default window sizes for the flat theme. Fixes #1059
2017-03-20 13:10:13 -04:00
Isaac Connor
70246ce55a
whitespace corrections and ensure that options[width] and options[height] are defined
2017-03-20 12:10:28 -04:00
Andrew Bauer
2dcd95bc7f
Merge pull request #1504 from ZoneMinder/improve_filter
...
Improve filter
2017-03-18 21:12:58 -05:00
Andrew Bauer
d38bae72ae
integrate csrf-magic library
2017-03-18 20:12:06 -05:00
SteveGilvarry
a16ea554a3
Swap to PNG
2017-03-18 22:34:13 +11:00
Matthew Noorenberghe
c7955cd1b6
Add eslint configuration files extending Google's rules
2017-03-18 00:02:17 -07:00
Matthew Noorenberghe
91ad6afffb
Increase default window sizes for the flat theme. Fixes #1059
...
Used the computed height of <html> and rounded up the nearest multiple of 5.
2017-03-17 22:24:42 -07:00
Matthew Noorenberghe
ea5342abd2
Properly escape postLoginQuery. Fixes #1797
2017-03-17 21:05:28 -07:00
Isaac Connor
8834109812
code style and whitespace changes
2017-03-17 09:59:23 -04:00
Isaac Connor
d9c665b021
Merge branch 'fix_crash_with_invalid_zones' into storageareas
2017-03-17 09:35:11 -04:00
Andrew Bauer
9681a444b4
Merge pull request #1765 from SteveGilvarry/ffmpeg_url
...
Align Method description to what it is actually doing
2017-03-16 09:32:30 -05:00
Andrew Bauer
7e0ac4b239
Merge pull request #1780 from connortechnology/fix_1775
...
use escapeshellarg on inputs to daemonControl and other functions
2017-03-16 09:27:04 -05:00
Isaac Connor
5bccd92b68
fix scoping of scale var
2017-03-16 09:53:53 -04:00
Isaac Connor
9f99d34807
fix calls to getStreamHTML
2017-03-13 14:22:33 -04:00
Isaac Connor
14c4a156c6
set img.src='' first so that Chrome closes the old stream.
2017-03-06 20:21:12 -05:00
Isaac Connor
4df12ae370
Merge branch 'montage_width_height' of github.com:ConnorTechnology/ZoneMinder into montage_width_height
2017-03-06 17:30:00 -05:00
Isaac Connor
d3f7451736
Merge branch 'storageareas' into montage_width_height
2017-03-06 16:56:18 -05:00
Isaac Connor
fdcb93eacc
Merge branch 'master' into storageareas
2017-03-06 16:22:28 -05:00
Isaac Connor
ebafc62b51
Must reopen the session so we can generate an auth hash
2017-03-01 15:27:42 -05:00
Isaac Connor
4fc0aead70
wip
2017-03-01 15:26:40 -05:00
Isaac Connor
c4caa9a631
convert arguments from an array of strong to a hash and use http_build_query
2017-02-27 21:48:08 -05:00
Isaac Connor
c3a52272d8
implement changeWidth, changeHeight and alter getStreamHTML to take an array of options
2017-02-27 20:56:14 -05:00
Isaac Connor
a0dd36d869
add width and height scale dropdowns
2017-02-27 16:40:40 -05:00
Andy Bauer
8759e2bdb4
prevent divide by zero, make error messages more descriptive
2017-02-21 13:10:41 -06:00
Andy Bauer
27ca8d8674
use === operator in getDiskPercent function
2017-02-21 12:33:05 -06:00
Isaac Connor
186e5ba866
Merge branch 'master' into storageareas
2017-02-21 09:48:00 -05:00
Isaac Connor
971c70f540
Merge pull request #1793 from mnoorenberghe/api_debug_default
...
Reduce the default API debug level
2017-02-20 21:44:48 -05:00
Matthew Noorenberghe
df4739826b
Reduce the default API debug level
2017-02-18 23:06:53 -08:00
Manojav Sridhar
f50c0e2096
fix missing isset check, caused number of Undefined Property warnings
2017-02-18 11:15:43 -05:00
Manojav Sridhar
11b90e6011
fix usage of wrong key
2017-02-17 12:37:58 -05:00
Isaac Connor
980b088d57
google style and add label tags around Scale
2017-02-17 09:19:54 -05:00
Isaac Connor
2bf4b5ad1a
use escapeshellarg on inputs to daemonControl and other functions where exec is called
2017-02-15 09:45:25 -05:00
Isaac Connor
d135216ac7
Merge branch 'master' into storageareas
2017-02-15 09:30:35 -05:00
Isaac Connor
aeedfe8d74
fix some whitespacing
2017-02-14 09:11:54 -05:00
SteveGilvarry
b791504598
Wording of help text fixes
2017-02-06 08:01:04 +11:00
SteveGilvarry
9716c4ef89
Add Option help
2017-02-05 18:43:47 +11:00
SteveGilvarry
c72704bf0b
Change descriptions for ffmpeg methods and put TCP first.
2017-02-05 15:34:06 +11:00
Kyle Johnson
5804cd2462
Merge pull request #2 from connortechnology/fix_sql_injection
...
Sanitize input parameters
2017-02-04 15:05:54 -07:00
Andrew Bauer
c5906a5d4f
Merge pull request #6 from connortechnology/log_xss_fixes2
...
Log xss fixes2
2017-02-04 16:05:43 -06:00
Kyle Johnson
6b3a53ec0f
Tell PDO to use real prepared statements.
...
This makes sure the statement and the values aren't
parsed by PHP before sending it to the MySQL server.
See https://stackoverflow.com/questions/60174/how-can-i-prevent-sql-injection-in-php
and https://secure.php.net/manual/en/pdo.setattribute.php
2017-02-04 14:59:33 -07:00
Isaac Connor
e3edbf40cf
make url full width
2017-02-02 12:16:40 -05:00
Isaac Connor
7b73eb350f
update to current.
2017-02-02 12:15:16 -05:00
Isaac Connor
d8c79cb750
fixup header and sidebar layout
2017-02-02 11:31:16 -05:00
Isaac Connor
cee05a1bb7
fix merge problem
2017-02-02 09:21:49 -05:00
Isaac Connor
9135da92ed
fix typo fileFields => filterFields
2017-01-31 21:33:43 -05:00
Isaac Connor
7d451e1e41
float the scale control right, add css for other skins
2017-01-31 11:13:16 -05:00
Isaac Connor
4a4f62f0a7
add a scale element to the frame view. Include some bits from StorageAreas to make it work
2017-01-31 11:13:16 -05:00
Isaac Connor
568160e5aa
add a scale element to the frame view. Include some bits from StorageAreas to make it work
2017-01-31 11:13:15 -05:00
Isaac Connor
6f6eacaa72
fixup classic and dark skins
2017-01-30 21:45:48 -05:00
Isaac Connor
89022fff0c
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2017-01-30 21:16:26 -05:00
Isaac Connor
f3378207c0
make navbar static instead of fixed, sync up dark theme, and improve storage editing styles
2017-01-30 21:16:21 -05:00
Isaac Connor
ad2e00166a
use isset
2017-01-30 19:53:08 -05:00
Isaac Connor
4543b3e1b1
include jquery-ui instead of using a cdn version
2017-01-30 19:17:14 -05:00
Isaac Connor
19aed3f860
dont check ZM_DIR_EVENTS if it already exists in storageareas
2017-01-30 17:29:15 -05:00
Isaac Connor
9fd9c5de20
test for empty and non-existent path
2017-01-30 17:24:41 -05:00
Isaac Connor
fda115bebe
tell zmc and zma to stop before updating db
2017-01-30 16:37:53 -05:00
Isaac Connor
3437f23e8a
Merge branch 'master' into fix_sql_injection
2017-01-28 14:33:49 -05:00
Isaac Connor
41dab0750e
turn whatever gets output into html escaped html so that nothing gets revealed
2017-01-27 21:30:22 -05:00
Isaac Connor
a8d1450adf
Merge branch 'master' into fix_sql_injection
2017-01-27 17:18:34 -05:00
Kyle Johnson
746a096483
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2017-01-27 15:16:33 -07:00
Isaac Connor
c1e05753d6
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder-Pro
2017-01-27 17:12:46 -05:00
Isaac Connor
7ab6818fa0
Merge branch 'sanitize_image_path' of https://github.com/knnniggett/ZoneMinder into storageareas_sanitize
2017-01-25 17:14:30 -05:00
Andrew Bauer
dbd73690b2
use !== false rather than === true
2017-01-25 09:26:07 -06:00
Andrew Bauer
6189d2670c
ZM_DIR_EVENTS can be, and often is, a symlink
2017-01-25 09:05:34 -06:00
Andrew Bauer
8b19fca992
sanitize the image path before processing
2017-01-25 08:30:19 -06:00
Isaac Connor
129acb5b8e
only show mark column if you have the Monitor Edit ability
2017-01-24 09:30:56 -05:00
Isaac Connor
5b598fe90d
cleanup and use cleaned up monitor_id
2017-01-23 21:51:38 -05:00
Isaac Connor
7cd2f6c69e
use glyphicon for sort
2017-01-23 21:51:17 -05:00
Isaac Connor
bb3d47ab45
get rid of mapping
2017-01-23 21:34:06 -05:00
Isaac Connor
e937b4099b
add an ajax file for console to do sorting
2017-01-23 10:13:16 -05:00
Isaac Connor
fdd71a826a
implement dragndrop sorting
2017-01-23 10:12:57 -05:00
Isaac Connor
35148008b6
make img an inline-block so that it continues having space, even when is a broken link
2017-01-18 21:14:15 -05:00
Isaac Connor
8ce7719a33
remove extra db call cuz i sredundant
2017-01-18 21:12:54 -05:00
SteveGilvarry
2f3ebd80da
Remove zmf, die..die..die
2017-01-16 13:20:05 -08:00
Isaac Connor
9c8b229c74
Fix cutnpaste error
2017-01-14 17:08:13 -05:00
Isaac Connor
899b1b82b9
Merge branch 'filter_by_runstate' into storageareas
2017-01-14 17:07:20 -05:00
Isaac Connor
242e5a56d8
rough in the ability to filter on RunState
2017-01-14 16:55:28 -05:00
Isaac Connor
2ce4bad39b
fix Event being undefined when called by path
2017-01-13 14:42:10 -05:00
Kyle Johnson
0e7794f2a7
Merge pull request #1 from connortechnology/cookie_http_only
...
set http_only flag in cookie settings
2017-01-12 09:25:36 -07:00
Isaac Connor
16fdac3179
fix remSocketFile to remSockFile
2017-01-11 11:14:00 -05:00
Isaac Connor
2436e40f5d
Merge branch 'master' into storageareas
2017-01-11 10:34:27 -05:00
Andy Bauer
7ef7a36f39
fix conditional logic in controlcap.js
2017-01-10 17:53:05 -06:00
Isaac Connor
3074263e06
Merge branch 'control_fixes' into storageareas
2017-01-10 12:54:46 -05:00
Isaac Connor
55403219d8
fix regexp for direction in control command. Also log if the regexp doesn't match
2017-01-10 12:35:38 -05:00
Isaac Connor
fea5fa1b59
fix xtell should be -1 for move left
2017-01-10 12:35:02 -05:00
Isaac Connor
d8b8d78576
Fix storagearea lookup. Default to ZM_EVENTS_DIR
2017-01-09 16:35:58 -05:00
Isaac Connor
03fd964518
fix parsing StorageID
2017-01-09 14:59:14 -05:00
Isaac Connor
7ef0c2c9d3
fix deleting filters. We don't need to set fid anymore
2017-01-09 14:58:55 -05:00
Isaac Connor
cc724a5542
add a question mark to delete confirmation
2017-01-09 14:53:13 -05:00
Isaac Connor
84183c819c
Merge branch 'master' into storageareas
2017-01-03 09:53:09 -05:00
Isaac Connor
b4bddee337
Merge branch 'master' into improve_filter
2017-01-03 08:49:56 -05:00
Isaac Connor
0a90dbac9f
require Event.php and clean up use of object vs db row array. Use newer way of using views/image.php by passing eid and frameid instead of a path.
2017-01-02 10:35:51 -05:00
Isaac Connor
30674919c4
always include Storage object, because in the end we will be using it everywhere
2017-01-02 10:34:45 -05:00
Isaac Connor
f6ea52280a
Update Event object to @iconnor's latest which brings us a createListThumbnail function copied from includes/functions
2017-01-02 10:34:15 -05:00
Andrew Bauer
b063d8d6aa
Merge pull request #1728 from connortechnology/path_zms_message
...
Path zms message
2017-01-02 08:54:32 -06:00
Isaac Connor
5ae34a7561
Merge branch 'master' into storageareas
2017-01-02 09:39:10 -05:00
Isaac Connor
ef71ae248c
fix ramSocketFile to remSocketFile
2017-01-02 09:31:26 -05:00
Isaac Connor
d97926c478
fix ramSocketFile to remSocketFile
2017-01-02 09:31:06 -05:00
klemens
0d549f1db3
spelling fixes
2016-12-29 10:31:05 +01:00
Andy Bauer
25ab1bee18
more fixed to gpl license text
2016-12-26 10:40:09 -06:00
Andy Bauer
2dda2d9e1e
remove unneeded, empty files
2016-12-26 09:49:14 -06:00
Andy Bauer
254fcbcef7
update gpl 2 mailing address in source files
2016-12-26 09:23:16 -06:00
Isaac Connor
0f4b78b180
increase height of bandwidth popup
2016-12-21 10:46:42 -05:00
Isaac Connor
f92edc3456
refresh stream url when changing scale
2016-12-21 10:40:47 -05:00
Isaac Connor
02a2fdf58f
Merge branch 'remove_emptys' into storageareas
2016-12-20 16:40:42 -05:00
Isaac Connor
38c0cedecc
remove the use of empty which on php < 5.5 only supports variables.
2016-12-20 16:37:42 -05:00
Isaac Connor
c27d0270dc
Merge branch 'knnniggett-zmMemDetach' into storageareas
2016-12-20 15:40:14 -05:00
Isaac Connor
752f0eb40b
Merge branch 'master' into improve_filter
2016-12-20 11:43:02 -05:00
Andrew Bauer
68a24040ab
Merge pull request #1710 from connortechnology/path_zms_message
...
replace the old socket_sendto error message with something more useful
2016-12-20 10:30:35 -06:00
Isaac Connor
8b726996f7
FAQ fixes, more text about zms problems in it, and adjust the socket_sendto error message to point to the FAQ entry that is relevant.
2016-12-19 21:36:39 -05:00
Isaac Connor
fe3f3d91ce
replace the old socket_sendto error message with something more useful so that people stop asking us how to fix it.
2016-12-16 09:12:27 -05:00
Isaac Connor
794043cbe9
On successful login, tell php to regenerate the session id
2016-12-14 15:06:18 -05:00
Isaac Connor
ad157cf21c
fix tabs
2016-12-14 14:56:54 -05:00
Isaac Connor
69c39f8a23
set http_only flag in cookie settings
2016-12-14 14:39:44 -05:00
Isaac Connor
87e8f91868
Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas
2016-12-13 15:06:07 -05:00
Isaac Connor
708f52beda
Merge branch 'disk_space_in_events' into storageareas
2016-12-13 13:36:18 -05:00
Isaac Connor
a9548d3f6b
Add a config entry to turn event disk space on/off
2016-12-13 13:34:56 -05:00
Isaac Connor
30ec67d4c3
Merge branch 'master' into disk_space_in_events
2016-12-13 13:28:32 -05:00
Isaac Connor
821f9f8e6e
Merge branch 'fix_sql_injection' into storageareas
2016-12-08 15:58:10 -05:00
Isaac Connor
b5e4c94682
test for integer string as well
2016-12-08 15:58:00 -05:00
Isaac Connor
4fa24dcda4
Merge branch 'fix_sql_injection' into storageareas
2016-12-08 15:53:46 -05:00
Isaac Connor
7c84e2417d
remove extra ?
2016-12-08 15:53:38 -05:00
Isaac Connor
f68c73b4a8
Merge branch 'fix_sql_injection' into storageareas
2016-12-08 15:52:52 -05:00
Isaac Connor
08370b010e
Merge branch 'log_xss_fixes' into storageareas
2016-12-08 15:52:37 -05:00
Isaac Connor
42fdd1fbe9
Use htmlentities on the error message when dying because the string will be sent to the browser and if it includes scripts they will be run.
2016-12-08 15:52:21 -05:00
Isaac Connor
c8009baf3f
fix missing ; and test for integer string in limit
2016-12-08 15:46:42 -05:00
Isaac Connor
acbc5bc9e3
Merge branch 'cookie_http_only' into storageareas
2016-12-08 15:20:54 -05:00
Isaac Connor
772792a1b9
remove extra ,
2016-12-08 15:20:43 -05:00
Isaac Connor
ced701f56f
Merge branch 'fix_sql_injection' into storageareas
2016-12-08 14:58:50 -05:00
Isaac Connor
7f2bf04c2f
Merge branch 'cookie_http_only' into storageareas
2016-12-08 14:26:13 -05:00
Isaac Connor
20793ee822
set httpOnly to true on cookie creation. This will override whatever is in php.ini
2016-12-08 14:25:29 -05:00
Isaac Connor
d600eb0e8b
Merge branch 'master' into fix_sql_injection
2016-12-08 13:39:04 -05:00
Isaac Connor
e7d0861530
check limit for a valid integer and complain if not.
2016-12-08 13:37:23 -05:00
Isaac Connor
587fd16aa6
Add testing for limit, sortField and all the filters to ensure that they are valid.
2016-12-08 13:31:44 -05:00
Isaac Connor
857b4e8345
Merge branch 'master' into improve_filter
2016-12-06 11:58:41 -05:00
Bernardus Jansen
986567839e
Additional minor changes
2016-12-02 10:08:49 +01:00
Bernardus Jansen
e27639f599
Updated dutch translation
2016-12-02 09:49:50 +01:00
Isaac Connor
9e5f52a0ae
fix MonitorId is part of event, not frame
2016-11-29 15:25:51 -05:00
Isaac Connor
2adb17ad90
fix type
2016-11-29 15:25:24 -05:00
Isaac Connor
c2d6b3d809
fix auth
2016-11-29 15:25:10 -05:00
Isaac Connor
f9af1e7129
put authorized check back after including actions.php where it needs to go
2016-11-28 11:34:46 -05:00
Isaac Connor
be5b4691da
check for isset of SESSION['username'] instead of just assuming it exists
2016-11-22 15:35:07 -05:00
Isaac Connor
9312eed17f
Merge branch 'master' into disk_space_in_events
2016-11-22 10:58:24 -05:00
Isaac Connor
02cd3e8cba
Merge branch 'master' into small_fixes
2016-11-22 10:52:07 -05:00
Isaac Connor
6bf921a858
Add thumbnanils to the frames view. Also add a content-disposition header and some url mangling to help browsers give a useful filename when doing Save Image As
2016-11-21 12:28:15 -05:00
Isaac Connor
4fe6b6f8b7
set a min width so that small images or fps updates don't cause a reflow
2016-11-21 11:39:31 -05:00
Isaac Connor
c360e27b02
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-11-17 13:13:47 -05:00
Isaac Connor
bb6b0c2d49
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder into improve_filter
2016-11-17 12:16:49 -05:00
Kyle Johnson
4eb5ff7aff
Fix Undefined index: loginFailed. Resolves #1684
2016-11-16 19:42:04 -07:00
Isaac Connor
2bd080a6a6
Merge branch 'master' into storageareas
2016-11-15 08:41:00 -05:00
Isaac Connor
8f71971209
Show error message upon unsuccessful login. Fixes #1648 ( #1680 )
...
* Add additional post-cmake files to .gitignore
* Add bootstrap 3.3.7
* Load bootstrap css
* Restyle login page, move recaptcha js to <head>
The way it was handled previously resulted in
invalid html, with an extra <head> tag being
inserteed inside the <body>.
* Update doctype to HTML5, add meta tags for mobile browsers
* Move inline Login css to css file
* Remove extra php tag in functions.php
* Show error message upon unsuccessful login. Fixes #1648
* Includes bootstrap glyphicons as they're used in the error message.
* Failure check is done via a simple test in login.js.php and login.js.
The 'view' param will only be set (to 'postlogin') if the login page
has refreshed due to a failed login. Otherwise you're directed to
the console view.
* Only load bootstrap css in specific views.
Bootstrap was causing some styling conflicts with the legacy css.
As such only load bootstrap.css on pages which we have specifically
allowed, which would be pages that have been restyled and verified.
* Test for invalid login via session variable.
The previous method had cases where the error messsage was displayed
when it shouldn't have been, such as when specifying ?view=login
* Fix a few typos in login inputs
* Add new fonts directory to web CMakeLists
2016-11-14 21:24:43 -05:00
Kyle Johnson
b0d22aa2a5
Add new fonts directory to web CMakeLists
2016-11-14 19:23:05 -07:00
Isaac Connor
3b7723ee8f
Merge branch 'master' into storageareas
2016-11-11 22:40:00 -05:00
Andrew Bauer
49d8e35e56
Show available PATH_MAP percent on console ( #1675 )
...
* Add PATH_SWAP percent to console
* add changes to console.php
* use ZM_PATH_MAP instead of ZM_PATH_SWAP
* show the folder name PATH_MAP points to
* use a dash as the delimiter instead of fwd slash
2016-11-11 08:47:08 -05:00
Kyle Johnson
65fe07e7aa
Fix a few typos in login inputs
2016-11-10 23:36:28 -07:00
Kyle Johnson
95d00f70a3
Test for invalid login via session variable.
...
The previous method had cases where the error messsage was displayed
when it shouldn't have been, such as when specifying ?view=login
2016-11-10 23:29:12 -07:00
Kyle Johnson
3916b02a74
Only load bootstrap css in specific views.
...
Bootstrap was causing some styling conflicts with the legacy css.
As such only load bootstrap.css on pages which we have specifically
allowed, which would be pages that have been restyled and verified.
2016-11-10 23:07:52 -07:00
Kyle Johnson
0800a69a57
Show error message upon unsuccessful login. Fixes #1648
...
* Includes bootstrap glyphicons as they're used in the error message.
* Failure check is done via a simple test in login.js.php and login.js.
The 'view' param will only be set (to 'postlogin') if the login page
has refreshed due to a failed login. Otherwise you're directed to
the console view.
2016-11-10 22:51:32 -07:00
Kyle Johnson
97fb53e95c
Remove extra php tag in functions.php
2016-11-10 21:49:57 -07:00
Kyle Johnson
227b196a2e
Move inline Login css to css file
2016-11-10 21:48:42 -07:00
Kyle Johnson
3e3956f45d
Update doctype to HTML5, add meta tags for mobile browsers
2016-11-10 21:47:53 -07:00
Kyle Johnson
eacf6cd415
Restyle login page, move recaptcha js to <head>
...
The way it was handled previously resulted in
invalid html, with an extra <head> tag being
inserteed inside the <body>.
2016-11-10 21:46:55 -07:00
Kyle Johnson
1607ae1210
Load bootstrap css
2016-11-10 21:45:46 -07:00
Kyle Johnson
2c93f61622
Add bootstrap 3.3.7
2016-11-10 21:45:18 -07:00
Andrew Bauer
9f43825b92
prevent the end user from slecting an invalid configuration on the PT… ( #1676 )
...
* prevent the end user from slecting an invalid configuration on the PTZ control configuraion "Move" tab
* change to console.php should not be in this pr
2016-11-08 22:10:51 -05:00
Kyle Johnson
8c41781a9f
Fix event.stop error in watch.js See #1672 ( #1678 )
2016-11-08 18:53:06 -05:00
Isaac Connor
4b3ac63a68
merge master, deprecate qqq()
2016-11-08 11:30:44 -05:00
Kyle Johnson
735d2df3c9
event is redefined before being passed to deleteEvent. Fixes #1671
2016-11-04 23:23:40 -06:00
Isaac Connor
1e233c0ce5
Merge branch 'master' into improve_filter
2016-11-04 15:20:43 -04:00
Isaac Connor
5c62c654ce
fix WatchScale -> EventScale
2016-11-03 16:47:22 -04:00
Isaac Connor
53166fabf5
Merge branch 'master' into storageareas
2016-11-03 14:59:06 -04:00
Isaac Connor
cb69d1a693
Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas
2016-11-03 14:57:29 -04:00
Kyle Johnson
bd47439056
Merge pull request #1639 from connortechnology/cookie_scale
...
store the scale value for watch and event views in a cookie, differen…
2016-11-03 12:35:15 -06:00
Isaac Connor
099cca210b
fix monitorId to MonitorId
2016-11-03 14:34:17 -04:00
Isaac Connor
6d57b326fa
change logic of sending file contents to handle an off by one and be more readable
2016-11-03 11:42:42 -04:00
Isaac Connor
9d76c9cf6a
fix fclose
2016-11-03 11:23:50 -04:00
Isaac Connor
a87f5e1592
fix sending full content when we should be
2016-11-03 11:23:10 -04:00
Isaac Connor
0ea8461192
remove extra s
2016-11-03 09:43:38 -04:00
Isaac Connor
2f22eb5a8c
fix error when only 1 monitor is listed
2016-11-03 09:41:54 -04:00
Steve Gilvarry
d504043a9e
Update ru_ru.php
...
Remote extra line
2016-11-01 00:32:46 +11:00
Isaac Connor
ca69a79bed
fix video.js not being included when we are viewing an event without an h264 file, and when buttons do not exist.
2016-10-27 17:05:33 -04:00
Isaac Connor
a7c1231b46
fix WatchScale -> EventScale
2016-10-26 14:53:24 -04:00
Isaac Connor
340b172dc4
Merge branch 'add_scale_to_frame_view' into storageareas
2016-10-26 14:46:50 -04:00
Isaac Connor
42783b68f9
float the scale control right, add css for other skins
2016-10-26 14:43:23 -04:00
Isaac Connor
4defad1352
Merge branch 'add_scale_to_frame_view' into storageareas
2016-10-26 14:04:43 -04:00
Isaac Connor
d9a31f7fb6
Merge branch 'master' into storageareas
2016-10-26 13:39:31 -04:00
Isaac Connor
c74cc54ac0
add a scale element to the frame view. Include some bits from StorageAreas to make it work
2016-10-26 13:34:30 -04:00
Isaac Connor
98cde11e86
add a scale element to the frame view. Include some bits from StorageAreas to make it work
2016-10-26 13:34:28 -04:00
Isaac Connor
cf0e4935f1
cleanups, more debugging
...
Also, when adding a monitor, a user who is restricted to monitors can't create one, add an error essage about it instead of failing silently.
2016-10-21 12:43:23 -04:00
Isaac Connor
f9ac601194
fix getOutputHelperStream -> getHelperStream
2016-10-21 12:41:37 -04:00
Isaac Connor
7b1395a4ea
set default for StorageId to '0' since it can't be NULL anymore
2016-10-20 14:06:09 -04:00
Isaac Connor
f153e9b8fb
MontageReview should only be visisble to people who can view events. Fix running state
2016-10-20 13:38:12 -04:00
Isaac Connor
67e14bd12f
move States loading code into state view where it belongs. Move runnign check into specific places where it is needed. These changes reduce events list load time by about 4 seconds for me.
2016-10-20 13:16:50 -04:00
Isaac Connor
cb88b984c7
fix capt -> capture and some suspicious sprintf formatting and double quotes to single quotes
2016-10-20 12:01:25 -04:00
Isaac Connor
5ee8a1c0a7
deprecate the contents of getImageSrc since it is now in Event.php
2016-10-20 11:52:01 -04:00
Isaac Connor
fc540786a5
Move login by auth hash out of actions.php and into index.php. Double quotes to single quotes and google code style changes in indx.php
2016-10-20 11:51:42 -04:00
Isaac Connor
c795dd7568
double quotes to single quotes, remove some includes, slight efficiency gains and better error reporting when the .mp4 doesn't exist.
2016-10-20 11:50:13 -04:00
Isaac Connor
017085aee7
Use proper rounding instead of sprintf based rounding for fps
2016-10-20 11:49:35 -04:00
Steve Gilvarry
0409ae5582
Merge pull request #1652 from connortechnology/fix_popup
...
handle when window.open fails
2016-10-20 05:17:44 +11:00
Steve Gilvarry
11cc73f55d
Merge pull request #1651 from connortechnology/fix_disable_monitor
...
Fix logic when disabling a monitor
2016-10-20 05:16:22 +11:00
Steve Gilvarry
c78a543e8e
Merge pull request #1475 from connortechnology/htmlselect
...
introduce htmlselect as an alternative to buildselect
2016-10-20 05:05:59 +11:00
Pliable Pixels
192d0dbb45
added TimeZone get API
2016-10-18 14:07:31 -04:00
Isaac Connor
de9c5a3bed
add in missing break
2016-10-18 10:20:42 -04:00
Isaac Connor
aaf8f6c98b
add the missing case for ServerId in Filter processing.
2016-10-18 10:14:19 -04:00
Isaac Connor
b385ba7bf4
Merge branch 'master' into improve_filter
2016-10-18 09:59:45 -04:00
Isaac Connor
85faa7321c
reorder if logic to handle first page load before AuthHash has ever been set.
2016-10-17 13:12:13 -04:00
Isaac Connor
4bb9709cb2
use object methods of Event
2016-10-12 15:39:53 -04:00
Isaac Connor
dcf6a39bf6
split Event and Monitor into objects and use properties from appropriate object
2016-10-12 15:39:32 -04:00
Isaac Connor
c2911ae756
better debug in deletePath
2016-10-12 15:38:59 -04:00
Isaac Connor
3baa64aa52
add caller info to log when a bad argument is passed to event constructor
2016-10-12 15:38:40 -04:00
Isaac Connor
bf4bbf8b8d
use object methods for event deletion. Main benefit is error message when deleting
2016-10-12 15:36:40 -04:00
Isaac Connor
ba7d935a85
fix border size of text below the image in montage when alerted.
2016-10-12 12:19:04 -04:00
Isaac Connor
5b8b9c5345
merge update
2016-10-12 09:24:10 -04:00
Isaac Connor
b4f065eb75
Convert event view to use Objects
2016-10-12 09:17:57 -04:00
Isaac Connor
b00588b6ff
add back montagereview
2016-10-11 17:35:41 -04:00
Isaac Connor
0903ef294f
quick for to make MontageReview work
2016-10-11 17:35:28 -04:00
Isaac Connor
7c8b99af23
fix bracket problems
2016-10-11 12:43:13 -04:00
Isaac Connor
0358476ac0
Merge branch 'fix_popup' into storageareas
2016-10-11 12:19:38 -04:00
Isaac Connor
743e8c59f9
google code style and double to single quotes
2016-10-11 12:11:59 -04:00
Isaac Connor
0c956d6728
fix logic when disabling a monitor
2016-10-11 12:11:33 -04:00
Isaac Connor
c02b840274
Fix logic when disabling a monitor
2016-10-11 12:10:47 -04:00
Isaac Connor
ded1e0ea73
handle when window.open fails
2016-10-11 11:48:29 -04:00
Jeff Vogt
3801d9e43e
Disabled autocorrect, autocapitalize, spellcheck on username field for login form
2016-10-10 11:27:36 -07:00
Andrew Bauer
7b574e0d41
Merge pull request #1645 from connortechnology/fix_onvif
...
Fix onvif
2016-10-04 16:34:58 -05:00
Isaac Connor
96b5af9021
Merge branch 'fix_onvif' into storageareas
2016-10-04 15:00:28 -04:00
Isaac Connor
ac24865647
add NoDetectProfiles instead of reusing NoDetectedCameras
2016-10-04 14:33:51 -04:00
Isaac Connor
6814bcc791
add NoDetectProfiles instead of reusing NoDetectedCameras
2016-10-04 14:33:38 -04:00
Isaac Connor
09c5e3012a
username and password don't actually have to be specified
2016-10-04 14:09:32 -04:00
Isaac Connor
21a94a6200
better error message
2016-10-04 10:29:37 -04:00
Isaac Connor
68936b9af9
code style, replace with '
2016-10-03 21:58:57 -04:00
Isaac Connor
d4be5b06ea
Only generate auth hash when logged in.
2016-10-03 21:22:16 -04:00
Isaac Connor
f4418260e7
Should only generate an auth hash if we are logged in.
2016-10-03 21:18:13 -04:00
Isaac Connor
16bee2ef55
only generate auth hash if we are logged in
2016-10-02 14:13:54 -04:00
Isaac Connor
0ab84abe5b
Since we are returning a hash called user, it should really contain all data for that user.
2016-09-29 10:43:07 -04:00
Isaac Connor
404bbb79f0
must return the generated hash
2016-09-29 10:11:37 -04:00
Isaac Connor
8bc7b9562f
introduce config option ZM_AUTH_HASH_TTL which is the # of hours to make an auth hash valid for
2016-09-29 10:04:53 -04:00
Isaac Connor
cf9fa78ca3
work on fixing event view
2016-09-29 09:28:48 -04:00
Isaac Connor
07ae6b6aa2
commit authhash to session
2016-09-28 11:49:00 -04:00
Isaac Connor
09f7c9ddf9
Merge pull request #1633 from bhaal2/storageareas
...
Storageareas
2016-09-28 09:43:00 -04:00
Isaac Connor
994f1d566e
fix [
2016-09-28 09:09:01 -04:00
Isaac Connor
9bf48d27b1
implement caching the authhash in the session
2016-09-28 09:08:49 -04:00
Isaac Connor
1ae23b49bf
generateAuthHash early when session is active, it will get cached in session
2016-09-28 09:08:36 -04:00
Isaac Connor
02a196d98b
add missing ]
2016-09-28 08:30:22 -04:00
Isaac Connor
e217ca17cd
Merge branch 'fix_auth_timeout' into storageareas
2016-09-27 11:57:53 -04:00
Isaac Connor
303a2c6c5f
re-open session if neccessary to save AuthHashGeneratedAt
2016-09-27 11:56:31 -04:00
Isaac Connor
6840031ee3
fix auth timeout and user session[username] when checking auth hash for speedup
2016-09-27 11:51:55 -04:00
Isaac Connor
e04266600e
Merge branch 'fix_auth_timeout' into storageareas
2016-09-27 11:04:12 -04:00
Isaac Connor
4ce531099c
add an auth field to request=stream results to give the client a new auth hash to use
2016-09-27 11:03:12 -04:00
Isaac Connor
167214cb01
Merge branch 'cookie_scale' into storageareas
2016-09-27 10:05:16 -04:00
Isaac Connor
6c3a3d3d50
store the scale value for watch and event views in a cookie, differentiated by monitorId.
2016-09-27 09:46:04 -04:00
Isaac Connor
0580ef0c88
whitespace changes
2016-09-26 20:09:09 -04:00
Isaac Connor
3dcc1c3697
fix php outputting extra newlines after content
2016-09-22 10:37:32 -04:00
Isaac Connor
d96febd967
when ZM_DIR_EVENTS is relative, append ZM_PATH_WEB
2016-09-21 16:00:23 -04:00
Pliable Pixels
92d7cad5f1
enabled utf8
2016-09-21 11:53:34 -04:00
Isaac Connor
091459004c
ServerId can be 0
2016-09-21 10:30:31 -04:00
bhaal2
b9b1dd144c
@connortechnology changed the selectName back to Id from filterId in filter.php, this had a flowon effect in filtersave.php as well.
2016-09-21 21:41:22 +10:00
Isaac Connor
364a80fb94
don't output jpeg header unless there is some kind of success
2016-09-20 15:55:28 -04:00
Isaac Connor
33ab9d3098
instead of filterId, use Id so that the object in is properly filled out. Add object=filter to hidden fields
2016-09-20 12:19:44 -04:00
Isaac Connor
5ce2e95fb7
replace getDiskPercent call with code to show percent for all storageareas
2016-09-20 12:18:50 -04:00
Isaac Connor
fb610ba87d
fix getDiskPercent to take a StorageArea as a param and use it's disk_usage_percent function. When parsing filter, DiskPercent requires a storagearea now, so look for it in the terms
2016-09-20 12:18:20 -04:00
Isaac Connor
1add270b72
fixup saving Filters and executing them
2016-09-20 12:17:19 -04:00
Isaac Connor
f06723a178
add disk_usage_percent and fix whitespace
2016-09-20 12:16:49 -04:00
Isaac Connor
5604fe5610
add more debugging and fix LinkPath -> LinkPath
2016-09-20 12:16:07 -04:00
bhaal2
c74af40ffb
Had file open with old stuff. Fixed now.
2016-09-17 02:20:17 +10:00
bhaal2
aee6ae956d
Moved '%' to getDiskPercent() where it should have been.
2016-09-17 02:13:33 +10:00
bhaal2
c95e449bbd
Modifications to getDiskPercent():
...
Moved '%' to this function instead of at end of html in skins/classing/include/functions.php
Changed from SQL query to Storage area object model.
2016-09-17 02:11:07 +10:00
Isaac Connor
5f46b8f942
Merge pull request #1621 from connortechnology/fix_1620
...
ptzControl expects a monitor object instead of a dbrow array.
2016-09-15 10:18:26 -04:00
Isaac Connor
2c21fe80e7
Merge pull request #1626 from bhaal2/storageareas
...
Storageareas
2016-09-15 10:18:11 -04:00
bhaal2
181339a2dd
Nearly forgot its possible to have no "default" storage area, have wrapped the defaults space check in an if()
2016-09-15 19:49:58 +10:00
bhaal2
76beaf281a
Changed "Disk" to "Storage" which looked better when showing disk space for all storage areas.
2016-09-15 19:44:13 +10:00
bhaal2
d5337a08a8
Modify getDiskPercent() to report disk space for all storage areas.
2016-09-15 19:41:16 +10:00
Isaac Connor
37c559ba3d
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-09-14 12:49:55 -04:00
Isaac Connor
cf45feea66
quiet the logs on initial view load
2016-09-14 12:49:47 -04:00
Isaac Connor
fb8b2f2490
Merge pull request #1625 from bhaal2/storageareas
...
Storageareas
2016-09-14 12:08:55 -04:00
bhaal2
01ae4de123
Modified so deleting a filter is done by table Id instead of Name
2016-09-15 01:59:31 +10:00
bhaal2
17555bf623
Added extra argument 'id' to deleteFilter function to send to delete action for deleting a filter.
2016-09-15 01:57:31 +10:00
bhaal2
67f2ddc404
Changed filter list order back to Name
...
Added extra argument 'Id' to delete button onClick call
2016-09-15 01:55:58 +10:00
bhaal2
cd626a54ee
Converted filter action to use table Id's instead of filterName's when editing existings and creating new filters.
2016-09-15 01:29:44 +10:00
bhaal2
99a212803a
Converted filter action to use table Id's instead of filterName's when editing existings and creating new filters.
2016-09-15 01:29:35 +10:00
bhaal2
0d83fc5be7
Converted filter action to use table Id's instead of filterName's when editing existings and creating new filters.
2016-09-15 01:27:59 +10:00
Isaac Connor
a0eaea00a5
fix relative paths to jquery and bootstrap fixes #1618
2016-09-14 10:06:15 -04:00
bhaal2
cd0e6ba285
StorageId now defaults to 0 and database column now set to NOT NULL. Changed default Id in php to match
2016-09-14 23:56:05 +10:00
bhaal2
33fc47c4b1
StorageId now defaults to 0 (NOT NULL) in the Monitors table, updates to filter.php set the default Id for the default storage area to 0
2016-09-14 23:53:52 +10:00
Isaac Connor
db8cada380
fix merge
2016-09-13 15:01:02 -04:00
Isaac Connor
0bc50810de
only add the development h3 if it has contents, otherwise it pushes the header size down
2016-09-13 10:25:49 -04:00
Isaac Connor
2b4bad86cb
Merge branch 'master' into storageareas
2016-09-13 10:21:10 -04:00
Isaac Connor
a80881bb98
Merge branch 'fix_1620' into storageareas
2016-09-13 10:03:02 -04:00
Isaac Connor
54db9f2e3a
ptzControl expects a monitor object instead of a dbrow array.
2016-09-12 21:36:03 -04:00
Steve Gilvarry
563f4a9d46
Merge pull request #1505 from ZoneMinder/fix_filter_actions
...
Confirmed check box status is now retained after save and changing filters.
2016-09-11 14:13:51 +10:00
Andrew Bauer
e35ef3ce83
Merge pull request #1617 from coracis/master
...
Update German translation
2016-09-09 08:55:19 -05:00
Andrew Bauer
321deb5506
Merge pull request #1599 from sabbath88/master
...
add some more translation
2016-09-09 08:40:05 -05:00
corax
070051d06a
Merge commit '6fab2e97b1f45115107c4f5138424408f42dc3e9'
...
For easy pull-requesting
2016-09-09 14:20:03 +02:00
corax
6fab2e97b1
Update German translation of Buffer
2016-09-09 13:32:20 +02:00
corax
b10c79b4f7
Add translation for 'Montage Review'
2016-09-09 13:26:19 +02:00
corax
6b18184e4a
Remove confusing link to web console
2016-09-09 12:38:30 +02:00
corax
4dc6fc03b3
Add a missing translate()-call
2016-09-09 12:35:34 +02:00
corax
430ecd8e32
Fix some too direct translations into German
2016-09-09 11:51:53 +02:00
corax
d017138550
Fix a 'false friend' in German translation
2016-09-09 11:25:12 +02:00
Pliable Pixels
1440dd9265
retab
2016-09-03 15:02:32 -04:00
Pliable Pixels
7bf0b3c423
readded forMonitor - removed by mistake
2016-09-03 14:51:24 -04:00
Pliable Pixels
9a4330eb59
#1537 Zones Controller not returning all zones
2016-09-03 14:46:47 -04:00
Kyle Johnson
d6852e10b7
Merge pull request #1609 from connortechnology/fix_1606
...
implement suggested code to stop the monitor when Function is set to …
2016-09-01 22:57:57 -06:00
Isaac Connor
55f5db55dd
implement suggested code to stop the monitor when Function is set to None
2016-09-01 11:43:20 -04:00
Isaac Connor
10abe98e91
merge from packet queue. add monitorId to livestream div lookup
2016-09-01 10:15:12 -04:00
Isaac Connor
5f07911a63
fix spacing
2016-08-31 10:09:42 -04:00
Isaac Connor
ed1b6ccd58
Implement range support
2016-08-31 10:09:01 -04:00
Isaac Connor
ffaf046485
fix missing /
2016-08-30 14:51:56 -04:00
Isaac Connor
27c1f95607
handle when ZM_BASE_PATH == '/'
2016-08-30 14:36:14 -04:00
Isaac Connor
a28e7d8df8
fix typo
2016-08-30 14:24:51 -04:00
Isaac Connor
7411b47834
fix typo
2016-08-30 14:23:20 -04:00
Isaac Connor
6ce18c3628
ZM_BASE_URL is deprecated. Use ZM_BASE_PATH instead
2016-08-30 14:08:52 -04:00
Isaac Connor
237a4494b2
correct incorrect use of isset instead of array_key_exists
2016-08-30 13:44:57 -04:00
Isaac Connor
6204ed8dd4
correct incorrect use of isset instead of array_key_exists
2016-08-30 13:43:49 -04:00
David Sabbath Grits
2d44531d1f
add some more translation
2016-08-25 14:24:14 +02:00
Isaac Connor
944a131142
Merge ../ZoneMinder.master into storageareas
2016-08-22 11:49:50 -04:00
Isaac Connor
be7683299e
use single quotes instead of double quotes
2016-08-22 11:49:45 -04:00
Isaac Connor
09ebcfb7f8
only put in the development h3 tag if the value has been set
2016-08-22 11:42:44 -04:00
Isaac Connor
d6b126fe8c
Add caller and line when an unknown function is called on the Monitor object
2016-08-22 11:28:53 -04:00
Isaac Connor
eafe3d7748
Merge branch 'master' into storageareas
2016-08-17 10:31:55 -04:00
Isaac Connor
c82c872665
add a default NULL value to __construct
2016-08-17 10:31:16 -04:00
Andrew Bauer
7d48b2c6c5
Merge pull request #1577 from ZoneMinder/fix_zmaControl
...
fix error in calling zmaControl
2016-08-17 08:36:51 -05:00
Andrew Bauer
ea34f3d69a
Merge pull request #1576 from ZoneMinder/show_other_zones
...
include polygons for the other zones.
2016-08-15 20:36:16 -05:00
Isaac Connor
19d46c2d09
Merge branch 'master' into storageareas
2016-08-15 10:45:50 -04:00
Andrew Bauer
31cb86046c
Merge pull request #1592 from connortechnology/fix_analysis_frame
...
Fix analysis frame
2016-08-14 10:54:46 -05:00
Isaac Connor
a0bc30d3fe
fix the order of analyse/capture being passed
2016-08-12 15:40:47 -04:00
Isaac Connor
240336e3ec
silence error when Event has no StorageId set
2016-08-12 15:20:21 -04:00
Isaac Connor
9106675842
pass capture or analyse to getImageSrc
2016-08-12 15:17:13 -04:00
Isaac Connor
bcb7dd1ba4
take optional show= to specify the analyse image or the capture image
2016-08-12 15:16:05 -04:00
Isaac Connor
3dadcc8d32
add ability to pass show=capture or show=analyse to getImageSrc
2016-08-12 15:14:51 -04:00
Isaac Connor
bc4923b555
use instead of for the frame object and pass to getImageSrc which expects an array
2016-08-12 13:50:18 -04:00
Isaac Connor
cc06a84a0e
increase size of onvifprobe popup
2016-08-09 13:09:47 -04:00
Isaac Connor
f9e7d3ccd8
fix error messages when an empty Monitor is instantiated
2016-08-09 10:43:51 -04:00
Isaac Connor
2451768295
Merge branch 'master' into storageareas
2016-08-08 18:08:46 -04:00
Andrew Bauer
24d471f452
Merge pull request #1503 from ZoneMinder/id_on_console
...
add option to show monitor ID on console
2016-08-06 10:59:03 -05:00
Isaac Connor
9d65ef3bb2
Merge pull request #1556 from knnniggett/banner
...
custom banner text on web console
2016-08-06 10:59:53 -04:00
Andrew Bauer
382896dc0d
Merge pull request #1498 from josh4trunks/mysql_port_socket
...
Add support for MySQL Port / Unix Socket
2016-08-06 09:32:32 -05:00
Isaac Connor
6a0c6cd4f2
Merge branch 'show_other_zones' into storageareas
2016-08-02 13:54:01 -04:00
Isaac Connor
aa78b403a1
zmaControl can take an id #, so need to move the check for local server test down.
2016-08-02 12:33:41 -04:00
Isaac Connor
8093470a2e
make only the editing polygon have a border. Set default for Type when creating a new zone
2016-08-02 12:19:55 -04:00
Isaac Connor
b522371080
include polygons for the other zones.
2016-08-02 12:02:07 -04:00
Isaac Connor
c58c3efcf5
fix to
2016-07-25 15:34:53 -04:00
Isaac Connor
b9bba6bde5
fix to
2016-07-25 15:32:57 -04:00
Isaac Connor
b9a15d1465
fix missed to conversion
2016-07-23 13:37:00 -04:00
Isaac Connor
4c1c95e3a5
only include the state if canEdit(system) otherwise it gives an auth error
2016-07-22 16:04:42 -04:00
Isaac Connor
32f9b2755e
add more height to the logout popup
2016-07-22 16:04:18 -04:00
Isaac Connor
8194876454
always put popup links in a, even if it is disabled
2016-07-22 16:03:57 -04:00
Isaac Connor
6d1f85bcd6
fix spacing and code style, and when logging in, change view to console
2016-07-22 16:03:39 -04:00
Isaac Connor
9262d9d14e
remove debug messages on css changing
2016-07-22 16:02:55 -04:00
Isaac Connor
3504c1d8f5
Add Id to the title for each monitor
2016-07-21 15:02:01 -04:00
Isaac Connor
440f8fafdd
implement object based versions of getImageSrc and creatListThumbnail
2016-07-20 15:21:23 -04:00
Isaac Connor
8c8461a88e
Update to use Event object and object based createListThumbnail function
2016-07-20 15:20:51 -04:00
Isaac Connor
b1d0223c30
implement human_filesize
2016-07-20 15:20:21 -04:00
Isaac Connor
bce7369984
Merge branch 'disk_space_in_events' into storageareas
2016-07-19 17:36:15 -04:00
Isaac Connor
cd43d1fa7a
Rough in Event disk space reporting
2016-07-19 17:34:01 -04:00
Isaac Connor
4caa20821a
fix
2016-07-14 11:57:06 -04:00
Isaac Connor
eb0ddc4e32
update and use Monitor object to generate the stream html. Also introduce a mode parameter to getStreamHTML to specify stills
2016-07-14 11:55:27 -04:00
Isaac Connor
b6c02b563b
turn off host validation
2016-07-14 10:22:09 -04:00
Isaac Connor
a30610fbda
Merge branch 'master' into storageareas
2016-07-12 10:31:10 -04:00
Isaac Connor
410e154b7f
code style
2016-07-12 10:29:40 -04:00
Andy Bauer
19265b631a
custom banner text on web console
2016-07-09 13:11:30 -05:00
Steve Gilvarry
3eccdcd3e2
Merge pull request #1524 from ZoneMinder/add_api_auth
...
if user=&pass= are in request, use them for auth in api
2016-06-29 21:47:44 +10:00
Steve Gilvarry
f3779d543c
Merge pull request #1521 from ZoneMinder/fix_zone_edit
...
update area when points move
2016-06-29 21:46:28 +10:00
Steve Gilvarry
bdd0790106
Merge pull request #1522 from ZoneMinder/video_session
...
Move the session start down to where it is actually needed so that we…
2016-06-29 21:45:12 +10:00
Isaac Connor
9f00971e6b
Use Debug for debug output instead of Error
2016-06-27 10:27:26 -04:00
Isaac Connor
4fc68c0aa0
Use a subquery instead of a join to fix group by errors when sql_mode=only_full_group_by
2016-06-27 10:26:37 -04:00
Isaac Connor
6ab2b33e95
fix merge
2016-06-27 09:10:35 -04:00
Isaac Connor
6e4c8fa224
need to set the Id when duping
2016-06-24 10:31:15 -04:00
Isaac Connor
791c8fb3d5
add setting of object property
2016-06-24 10:30:56 -04:00
Isaac Connor
d732d9a49a
fix merge
2016-06-24 10:02:20 -04:00
Isaac Connor
c1f30480e3
fix merge
2016-06-23 12:49:27 -04:00
Isaac Connor
e29a0ebe71
Merge branch 'feature-h264-videostorage' into storageareas
2016-06-21 13:48:32 -04:00
Isaac Connor
6a8db582ff
whitespacing updates
2016-06-21 12:21:18 -04:00
Isaac Connor
31a5252afa
apply btn and btn-primary styles to remaining buttons on console
2016-06-21 09:22:32 -04:00
Isaac Connor
513de21260
Merge branch 'add_api_auth' into storageareas
2016-06-21 09:10:06 -04:00
Isaac Connor
b4aec41d3d
fix warnings and move User import up higher to where it needs to be
2016-06-21 09:09:58 -04:00
Isaac Connor
4230bd1bd5
move the control_fields into the class so that it is available.
2016-06-20 12:46:23 -04:00
Isaac Connor
9c7b22086f
introduce a hash to define the fields and default values of the control table. Primarily this is to prevent method warnings when a monitor is not controllable
2016-06-20 12:41:14 -04:00
Isaac Connor
1d1cedce95
use rand mofification like when re-establishing the stream instead of an Time(). Drop use of a tempImage as it doesn't seem to be used anywhere. Cleanup use of streamSrc. Introduce a function getStreamMode
2016-06-20 12:40:33 -04:00
Isaac Connor
26bba58c56
Merge branch 'master' into feature-h264-videostorage
2016-06-17 11:09:47 -04:00
Isaac Connor
3914e0b394
:Merge branch 'fix_zone_edit' into storageareas
2016-06-16 12:04:18 -04:00
Isaac Connor
0c82e82ae2
Don't update x in updateY and don't update y in updateX as they are not defined.
2016-06-16 12:00:00 -04:00
Steve Gilvarry
d0e08b32f5
Merge pull request #1506 from Disassembler0/master
...
Change encoding of web/lang/cs_cz.php from ISO-8859-2 to UTF-8
2016-06-17 00:01:08 +10:00
Isaac Connor
8e7665d397
use getStreamHTML instead of duplicated code
2016-06-14 12:40:18 -04:00
Isaac Connor
d5d48bef8a
clean out unused variables and don't scale the popup window. The contents of it won't be scaled.
2016-06-14 12:39:51 -04:00
Isaac Connor
bfa46e26ee
Use monitor Id instead of the array index. Id is unique, so just use it.
2016-06-14 12:39:15 -04:00
Isaac Connor
acba5bccf1
Always include the monitor Id in the tag id for the videostream
2016-06-14 12:38:37 -04:00
Isaac Connor
0f1a1a6294
log invalid calls to Monitor Object
2016-06-14 12:38:17 -04:00
Steve Gilvarry
f804f7739d
Adjust download file path to swap path to match the file generated.
2016-06-14 20:49:38 +10:00
Isaac Connor
abad7cbf9f
Merge branch 'fix_zone_edit' into storageareas
2016-06-13 09:43:03 -04:00
Isaac Connor
83ac4cd061
change the input handler from onchange to oninput. Disable form submit when hitting enter
2016-06-13 09:40:04 -04:00
Isaac Connor
632ec38d7d
Put back in neccessary callt o updateArea
2016-06-12 16:10:24 -04:00
Isaac Connor
4f2e0edb44
remove unnecssary updateAreas
...
remove unnecessary updateZoneImage
2016-06-07 21:23:30 -04:00
Isaac Connor
c3043c1487
cleanups, remove unneccessary updateArea calls
2016-06-07 21:22:22 -04:00
Isaac Connor
4fbab64368
Merge branch 'add_api_auth' into storageareas
2016-06-07 16:33:50 -04:00
Isaac Connor
dbdd1ae51e
remove debug logging
2016-06-07 16:26:58 -04:00
Isaac Connor
f26c9168c4
if user=&pass= are in request, use them for auth
2016-06-07 16:25:35 -04:00
Isaac Connor
94174a1fe2
use user= and pass= instead of auth hash
2016-06-07 15:47:59 -04:00
Isaac Connor
5f76cc8677
accept user=&pass= in url for auth
2016-06-07 15:14:47 -04:00
Isaac Connor
086d435712
send zmcCommand to api on server
2016-06-07 14:39:59 -04:00
Isaac Connor
b2dfdea66e
Merge branch 'fix_zone_edit' into storageareas
2016-06-07 11:45:50 -04:00
Isaac Connor
593fe2b0c5
update area when points move
2016-06-07 11:40:53 -04:00
Isaac Connor
1930b18100
Move the session start down to where it is actually needed so that we don't hold it open while generating videos
2016-06-07 10:38:37 -04:00
Isaac Connor
bb6adc3012
fix missing space
2016-06-07 09:37:05 -04:00
Isaac Connor
f0ec2a65ee
Merge branch 'fix_errors_when_event_not_found' into storageareas
2016-06-03 10:47:47 -04:00
Isaac Connor
380b86614f
put quotes around integer values that will be empty strings if the event is not found
2016-06-03 10:46:21 -04:00
Isaac Connor
b8c406f969
Merge branch 'master' into storageareas
2016-06-03 09:32:55 -04:00
Isaac Connor
060988c05c
set margin and padding on montage.alert and imageFeed.alert because bootstrap declares a generic .alert style with large margins and padding
2016-05-31 16:02:37 -04:00
Andrew Bauer
a57a3d3186
Merge pull request #1501 from ZoneMinder/fix_zone_edit
...
Fix zone edit
2016-05-31 10:33:31 -05:00
Disassembler
883b323528
Change encoding of web/lang/cs_cz.php from ISO-8859-2 to UTF-8
2016-05-29 22:16:00 +02:00
Isaac Connor
1add5a954a
Merge branch 'fix_filter_actions' into storageareas
2016-05-29 11:37:08 -04:00
Isaac Connor
9f6f5100fe
also copy Name from the request on update and only show delete button if it has a name
2016-05-29 11:32:18 -04:00
Isaac Connor
7725109917
Merge branch 'fix_filter_actions' into storageareas
2016-05-27 12:47:32 -04:00
Isaac Connor
101c93d422
When the filter is not being loaded, copy the auto fields in the request params into the dbFilter object
2016-05-27 12:45:36 -04:00
Isaac Connor
c4e5299943
sync up auto to Auto
2016-05-27 12:45:04 -04:00
Isaac Connor
c25b680799
Merge branch 'fix_filter_actions' into storageareas
2016-05-27 11:12:18 -04:00
Isaac Connor
65e33d6c19
synchronize on capitalizing the word Auto. This should fix the losing of the checkboxes when you change a filter
2016-05-27 11:11:30 -04:00
Isaac Connor
7277283659
rename AttrServerId to AttrServer, because that is the text that is returned
2016-05-27 10:12:46 -04:00
Isaac Connor
d52a6f9a95
Merge branch 'improve_filter' into storageareas
2016-05-27 09:57:05 -04:00
Isaac Connor
3058dd9463
Merge branch 'id_on_console' into storageareas
2016-05-26 12:19:33 -04:00
Isaac Connor
f461bc1e80
get rid of extra )
2016-05-26 12:18:58 -04:00
Isaac Connor
05709f3084
Merge branch 'id_on_console' into storageareas
2016-05-26 11:17:41 -04:00
Isaac Connor
f969186abb
add the ZM_WEB_ID_ON_CONSOLE option and use it to show the ID column on the console
2016-05-26 11:15:13 -04:00
Andrew Bauer
730abc9789
make zones unclickable when zm is not running
2016-05-26 09:35:36 -05:00
Andrew Bauer
1972c4116b
Merge pull request #1486 from connortechnology/update_image_view
...
Update image view
2016-05-26 09:05:14 -05:00
Isaac Connor
0d08c50199
change quotes
2016-09-29 12:22:01 -04:00
Isaac Connor
ab8b58ba48
Merge branch 'fix_auth_timeout' into storageareas
2016-09-29 10:44:30 -04:00
Isaac Connor
5c867aa5f5
Merge branch 'fix_auth_timeout' into storageareas
2016-09-29 10:10:38 -04:00
Andrew Bauer
ceaacf91bf
Merge pull request #1470 from connortechnology/api_improvements
...
Api improvements
2016-05-25 12:45:03 -05:00
Isaac Connor
7a08d4620f
Merge branch 'master' into storageareas
2016-05-25 10:17:46 -04:00
Andrew Bauer
575f8ec265
Merge pull request #1488 from ZoneMinder/hide_rtspdescribe
...
Hide rtspdescribe
2016-05-25 08:44:17 -05:00
Isaac Connor
8f1596d683
use setStyle('display','table-row') since mootools suck and .show() will use display:block on a tr
2016-05-25 09:08:28 -04:00
Isaac Connor
7cfa2a5eaa
Replace the server attribute with a server entry, populated with a dropdown.Makes things more friendly and less error-prone
2016-05-24 16:46:34 -04:00
Isaac Connor
277fdafa85
Remove entry for Server Name, making Server Id just say Server. The filters will be populated with a dropdown, so no need to go by Id or Name
2016-05-24 16:45:55 -04:00
Isaac Connor
8fabeb78d3
Merge branch 'fix_zone_edit' into storageareas
2016-05-24 15:55:49 -04:00
Isaac Connor
a8e407172a
split out versus get functionality in includes/functions. Fix positioning of svg over image stream
2016-05-24 15:50:22 -04:00
Isaac Connor
89f58daf89
Merge branch 'master' into fix_zone_edit
2016-05-24 15:30:56 -04:00
Isaac Connor
ae1eb94f27
fix getStreamHTML when using helper
2016-05-24 15:10:37 -04:00
Andrew Bauer
0052bb080c
unlink only if file exists
2016-05-24 12:13:17 -05:00
Isaac Connor
00abd36af8
fix the other case of the wrong case of rtsp
2016-05-24 12:19:31 -04:00
Isaac Connor
056eed6df9
fix to show RTSP describe option when switching back to rtsp
2016-05-24 12:15:59 -04:00
Isaac Connor
bc49aa6aa6
add missing ; and remove extra )
2016-05-24 09:34:36 -04:00
Isaac Connor
5eac0559e2
Merge branch 'master' into hide_rtspdescribe
2016-05-24 09:32:41 -04:00
Andrew Bauer
bec14bf111
Merge pull request #1478 from ZoneMinder/fix_montage_server_refs
...
pass in the server url into the monitor object to use instead of the …
2016-05-23 20:14:35 -05:00
josh4trunks
2ab79820a1
Add back changes
2016-05-22 08:08:12 -07:00
arjunrc
4018cab743
don't pass partial data to daemoncontrol
2016-05-19 14:53:16 -04:00
Isaac Connor
fff54e4086
update export to use event object, which automatically fixes storage path issues. Include mp4's in the list of video files to include
2016-05-18 09:02:14 -04:00
Isaac Connor
e62ea454ba
Merge branch 'master' into storageareas
2016-05-17 10:48:52 -04:00
Isaac Connor
20c4d07a00
Merge branch 'master' into hide_rtspdescribe
2016-05-16 14:40:04 -04:00
Isaac Connor
0faa28d058
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2016-05-16 14:38:49 -04:00
Isaac Connor
6084e2d00f
improve error message. The unrecognized action error happens above, so this error should just mention permissions
2016-05-16 14:38:40 -04:00
Isaac Connor
5e419e85d7
move logger down, as thisURL gets set in the skin.js and comment out overlay.js
2016-05-16 14:37:35 -04:00
Isaac Connor
e28cb5b412
fix body padding
2016-05-16 13:29:13 -04:00
Isaac Connor
9601b30972
Add Width, Height and alt to frame
2016-05-16 13:26:44 -04:00
Isaac Connor
e4566f2e8e
Merge branch 'update_image_view' into storageareas
2016-05-16 12:23:19 -04:00
Isaac Connor
df8964c1f9
use eid= & fid= instead of path to frame image. The use of view=image also provides more security.
2016-05-16 10:33:21 -04:00
Isaac Connor
235095ed5f
fix URL to image view
2016-05-16 10:32:43 -04:00
Isaac Connor
9a1b0b79b9
don't use a dropdown for montage, etc
2016-05-13 11:43:38 -04:00
Isaac Connor
a61dade6df
Merge branch 'fix_montage_server_refs' into storageareas
2016-05-13 11:11:27 -04:00
Isaac Connor
3ed6014f61
Merge branch 'iconnor-updated-console' into storageareas
2016-05-13 11:11:19 -04:00
Isaac Connor
8cb2692bbb
pass in the server url into the monitor object to use instead of the portal url
2016-05-13 11:09:12 -04:00
Isaac Connor
e301eaf6e4
use instead of $ to reference jquery
2016-05-13 11:08:04 -04:00
Isaac Connor
85f950d80a
put jquery into no conflict mode so it doesn't overwite mootools use of $
2016-05-13 09:45:24 -04:00
Isaac Connor
1ce2e597cf
fix body top padding
2016-05-12 20:00:37 -04:00
Isaac Connor
ed3e975e5a
take fid and eid as alternate parameters
2016-05-12 11:55:48 -04:00
Isaac Connor
2144cb7de6
fix body padding only for console and options
2016-05-12 10:45:13 -04:00
Isaac Connor
1530096560
whitespace/google code style
2016-05-12 10:17:41 -04:00
Isaac Connor
aba80f0935
introduce htmlselect as an alternative to buildselect
2016-05-12 09:43:37 -04:00
arjunrc
b513bcef82
icon's gonna kill me
2016-05-10 20:09:41 -04:00
arjunrc
af3cae578e
fixed verbose handling bug for status command on zmu
2016-05-10 20:07:28 -04:00
arjunrc
8d5f2a8e5d
added iconnor's change back
2016-05-10 19:17:09 -04:00
arjunrc
df830a5190
resolved merge conflicts
2016-05-10 19:15:00 -04:00
arjunrc
2888142e68
added status command to retrieve alarmed status of monitor in addition to on/of
2016-05-10 16:55:43 -04:00
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