Commit Graph

1647 Commits

Author SHA1 Message Date
Isaac Connor e4ea12a5ca Merge branch 'mysql2PDO' of github.com:ZoneMinder/ZoneMinder into mysql2PDO 2013-11-13 10:13:42 -05:00
Isaac Connor 1519db78ce add ServerHost filter 2013-11-13 10:13:09 -05:00
Isaac Connor 969918781f more updates, currently the log updates are not enough. Filtering does not work. 2013-11-13 10:11:16 -05:00
Kfir Itzhak 91d42a86cf Merge branch 'cmakemootoolsfix' 2013-11-13 16:59:46 +02:00
Kfir Itzhak 47179f793d Fix make install failing to install mootools symlinks in an out-of-source build 2013-11-13 16:52:01 +02:00
Isaac Connor a155082997 use parameter passing instead of esacping 2013-11-12 15:39:29 -05:00
Kfir Itzhak cfc9a73851 Fixed not installing mootools symlinks in an out-of-source build 2013-11-08 18:54:46 +02:00
Isaac Connor b8f075499b fix for debian bug #725840 Javascript errors in updateButtons function of filter.js
Also a slight optimisation using else's instead of continuing to evaluate after the true value has been set.
2013-11-08 11:47:19 -05:00
Isaac Connor 463d8a136f Merge branch 'master' into mysql2PDO
Conflicts:
	zm.conf.in
2013-11-08 11:22:09 -05:00
Isaac Connor 03809cfa0f improve error reporting 2013-11-07 10:58:27 -05:00
Isaac Connor 4c6c415f02 fix: wrote dbCon instead of dbConn 2013-11-07 10:03:19 -05:00
Kfir Itzhak be21a882ab Merge pull request #242 from ZoneMinder/removeversionnumberfromzm.conf
Remove ZM_VERSION from zm.conf
2013-11-04 12:27:50 -08:00
Isaac Connor 51455b5c85 more updates and removal of escaping and quoting 2013-11-04 12:43:34 -05:00
Kfir Itzhak f73585dbaa Few web interface corrections regarding cURL 2013-11-04 17:28:15 +02:00
Kfir Itzhak 8e96df7643 Initial work on adding cURL to zoneminder 2013-11-04 16:52:21 +02:00
Kfir Itzhak fd656c55cf Changed default blend percentages and the dropdown list for alarm reference image blend 2013-11-04 12:10:53 +02:00
Kfir Itzhak 9d5ac7ae8c Fix cmake installing wrong files in an out-of-source build 2013-11-04 09:56:40 +02:00
Isaac Connor 4565068093 Merge pull request #233 from fastolfe/zone-marker-overflow
Fix marker-out-of-bounds crash when defining zone points
2013-11-03 13:10:07 -08:00
Isaac Connor 7989e8e980 Merge branch 'master' into mysql2PDO 2013-11-03 16:07:37 -05:00
Isaac Connor 2d0f4dffd1 Fix a missing NULL second paramter to dbFetchAll 2013-11-03 16:06:31 -05:00
Isaac Connor 6c6da67427 Merge branch 'master' into mysql2PDO 2013-11-03 15:57:45 -05:00
Isaac Connor 3fa91a30a3 allow the value side of config lines potentially be empty. 2013-11-03 15:52:37 -05:00
Isaac Connor 59b841958d use parameter passing instead of explicit exscaping 2013-11-03 15:40:00 -05:00
Kfir Itzhak 833705b613 Added alarm blend percent (useful for controlling how long an alarm lasts) and a dropdown list is used now if ZM_FAST_IMAGE_BLENDS is enabled 2013-11-03 10:26:04 +02:00
David Nesting b368d306b9 Fix marker-out-of-bounds crash when defining zone points 2013-11-02 15:56:42 -07:00
Isaac Connor 93560652f1 make sortorder be asc or desc, not something arbitrary which needs to be escaped
other fixes to use parameter passing to PDO instead of escaping them ourselves
2013-11-01 12:30:07 -04:00
Isaac Connor 72b80d7417 remake this branch off master instead of off mysql2PDO.
Establish an automake substitution of @VERSION@ and use it throughotu to override whatever is in zm.conf
2013-11-01 09:47:28 -04:00
Kfir Itzhak c2bd7c97ec First attempt at enabling out-of-source building for zm with cmake 2013-10-31 18:10:00 +02:00
Isaac Connor ae51ac5519 redo changes to use new dbFetch functions with parameter arrays 2013-10-18 14:24:08 -04:00
Isaac Connor 7fdb933d6b rework dbQuery, dbFetchOne to take a parameters array, and use it 2013-10-18 14:15:24 -04:00
Isaac Connor cde89a7144 more quoting removal, some slight optimisations 2013-10-17 21:03:24 -04:00
Isaac Connor 92591a6835 more removal of quotes 2013-10-17 17:05:50 -04:00
Isaac Connor ef765afa2d Merge branch 'master' into mysql2PDO 2013-10-17 17:02:44 -04:00
Isaac Connor 355c10c3a4 fix error when strict modes is on. 2013-10-17 17:02:17 -04:00
Isaac Connor 60e2703637 fix missing n 2013-10-17 17:01:37 -04:00
Isaac Connor 09fbdc9e35 forget the updates to this file 2013-10-17 16:57:05 -04:00
Isaac Connor 2a45506bff more quoting removal 2013-10-17 16:15:04 -04:00
Isaac Connor 0979830b91 more removal of exra quotes 2013-10-17 15:54:17 -04:00
Isaac Connor 36c4fad644 remove extra quoets since dbEcape does quoting now 2013-10-17 15:35:23 -04:00
Isaac Connor 870a59bed4 fix missing <?php. The missing full size tag makes the file fail when short tags are turned off 2013-10-17 14:23:25 -04:00
Isaac Connor 92d22b5202 Merge branch 'master' into mysql2PDO 2013-10-16 16:58:33 -04:00
Isaac Connor b126c5ae7e fix typo 2013-10-16 16:55:24 -04:00
Isaac Connor 9e2d7cfd24 initial convert to PDO with no testing 2013-10-16 16:07:58 -04:00
Kyle Johnson 7bf4de37de Merge pull request #211 from kylejohnson/master
ZoneMinder Dutch Translation updates by Alco (a.k. nightcrawler)
2013-10-15 13:23:57 -07:00
kjohnson dff5b3aeb0 ZoneMinder Dutch Translation updates by Alco (a.k. nightcrawler) 2013-10-14 09:27:01 -04:00
Chris Wiggins d4654f63ae merge modern into feature-h264-videostorage 2013-10-04 10:52:53 +13:00
Chris Wiggins d3d3460f21 merge master into modern 2013-10-04 10:40:30 +13:00
Isaac Connor 34f84a4097 Merge branch 'v1.26.4-beta' 2013-10-03 10:14:09 -04:00
Kyle Johnson 64f28a8b97 Merge pull request #193 from kylejohnson/191
Moved writing of configure options from Controller to Model. Fixes #191.
2013-10-02 05:28:57 -07:00
Kyle Johnson 60bebadecf Merge pull request #190 from kylejohnson/modern
Moved zmBandwidth option from cookie to Configure:: option.  Might fix #175
2013-10-02 05:28:33 -07:00
Kyle Johnson d1c19036ec Moved writing of configure options from Controller to Model. Fixes #191. 2013-10-02 08:25:48 -04:00
Kyle Johnson 19e5aec9ba Use the global zmBandwidth variable from Configure::read in the layout 2013-10-02 08:18:17 -04:00
Kyle Johnson e3db6e0edc Moved the zmBandwidth option from a cookie to global Configure:: option
In addition I'm no longer passing this option around, instead calling it
where needed.  This _might_ fix #175 as the variable is being set very early on
in bootstrap.php
2013-10-02 08:09:30 -04:00
Kevin Crider b0b0d8a521 Merge pull request #185 from kylejohnson/modern
Moved the Config tabs to the sidebar
2013-10-01 06:42:12 -07:00
Kyle Johnson 38944fb994 Merge pull request #179 from WDKevin/modern
Added datetime picker support and implemented on events sidebar
2013-10-01 06:28:29 -07:00
Kyle Johnson 83c744c7b7 Removed tooltips from jQuery UI 2013-10-01 08:39:16 -04:00
Kyle Johnson e61fbc4ba8 Bumped jQuery from 2.0.1 to 2.0.3 2013-10-01 08:39:02 -04:00
Kyle Johnson d3c221135d Moved the Config tabs to the sidebar 2013-09-30 10:28:45 -04:00
Kevin Crider 84cd245462 Fixed full screen toggle so it stays in place when the page is scrolled 2013-09-29 14:08:58 -04:00
Kevin Crider 348399d61b Tweaked the appearence of the filter by monitor panel on the Events page 2013-09-29 14:05:25 -04:00
Kevin Crider de99655196 Fixed select all bug after performing a search 2013-09-29 13:59:19 -04:00
Kevin Crider f8ea2a777c Improved the loading animation 2013-09-29 12:51:59 -04:00
Kevin Crider 33c0dff8a4 Fixed the search by date functionality 2013-09-29 11:36:23 -04:00
Chris Wiggins 76c8190e8b Update web frontend to correctly display video events 2013-09-29 12:23:28 +13:00
Kevin Crider 7e90d0f373 Added datetime picker support and implemented on events sidebar 2013-09-28 18:52:25 -04:00
mastertheknife 48f11a8064 Add cmake to zoneminder 2013-09-28 12:59:50 +03:00
Kyle Johnson 366a7c2541 Use a layout without a sidebar for the Config page 2013-09-27 20:51:34 -04:00
Kyle Johnson 983aece616 Consolidate the sidebar for Monitors and Events index. 2013-09-27 20:45:25 -04:00
Kevin Crider a852dee7bb Initial commit of expanding and collapsing error log messages 2013-09-27 19:58:01 -04:00
Kevin Crider 0630478404 Cleaned up date and time formatting on events page 2013-09-27 18:52:26 -04:00
Kevin Crider ef66285fa5 Added universal support for select all checkboxes and added one to the events page 2013-09-27 18:32:00 -04:00
Kevin Crider 516733a50e Fixes a small bug with a second border on each monitor panel 2013-09-27 17:50:24 -04:00
Kevin Crider a37e2fc168 Adds fullscreen button to hide and show header, sidebar and footer 2013-09-27 17:45:52 -04:00
Kevin Crider 73d9cfd3d9 Removed fullscreen CSS to be recomitted later 2013-09-27 17:39:24 -04:00
Kevin Crider 01b2617dd8 Fixes the fixed width bootstrap bug for containers 2013-09-27 17:37:48 -04:00
Kyle Johnson 1f02255413 Put the sidebar into a panel 2013-09-27 09:17:54 -04:00
Kyle Johnson 1887987841 Make the monitors index sidebar a little more terse 2013-09-27 08:42:46 -04:00
Kyle Johnson e4a05f0ae0 Don't load the masonry JS 2013-09-27 08:42:06 -04:00
Kyle Johnson 8dc161d47a Use css float, width and margin to position the monitors in the index view. 2013-09-27 08:40:52 -04:00
Kyle Johnson 6e06a35982 Added bootstrap glyphicons 2013-09-27 08:21:19 -04:00
Kyle Johnson 9566bfd31a Display the monitors as "panels" 2013-09-26 13:46:58 -04:00
Kyle Johnson 6b4e703388 Added help text to the Monitors General tab 2013-09-25 10:09:36 -04:00
Kyle Johnson 5ae657d6b0 Added help text to the Monitors Buffers tab 2013-09-25 10:09:14 -04:00
Kyle Johnson 47336fee15 Don't apply default classes to the Monitors edit and add checkboxes 2013-09-24 21:40:21 -04:00
Kyle Johnson 7c32525c9a Don't put the default div around the Monitors form close button 2013-09-24 21:35:47 -04:00
Kyle Johnson 8fc599240e Set the class of the default divs to form-group 2013-09-24 21:32:38 -04:00
Kyle Johnson ae895ad8b7 Set the width of the tab-content to 400px 2013-09-24 21:32:07 -04:00
Kyle Johnson 11983ab039 Don't add a fieldset to the timestamp tab 2013-09-24 21:26:31 -04:00
Kyle Johnson 3994378dd9 Don't use a horizontal form for Monitors add and edit views 2013-09-24 21:23:35 -04:00
Kyle Johnson 29abee74ad Included the create element instead of the end element 2013-09-24 21:16:44 -04:00
Kyle Johnson d8108fc6cd Moved common Monitors add and edit form code to elements. 2013-09-24 21:14:56 -04:00
Kyle Johnson f3c235544d Moved the common Monitors add and edit nav code to an element. 2013-09-24 20:43:48 -04:00
Kyle Johnson 186f763a4c Moved vars for Monitors edit and add views to appropriate elements.
This saves a bunch of redundant code, while putting the code in the
'right place'.
2013-09-24 20:34:36 -04:00
Kyle Johnson f385db2d80 Moved the scaling of streams from JS to PHP
The Monitor model is now smart enough to change the stream's scale.
It also has the option of not scaling at all (in the case of the
single monitor view).
2013-09-24 12:54:37 -04:00
Kyle Johnson 5f103b35a4 Load masonry on all pages 2013-09-24 11:21:27 -04:00
Kyle Johnson 87fe605435 Updated masonry from 3.0.0 to 3.1.2 2013-09-24 10:58:23 -04:00
Kyle Johnson 88dbd8db1d Removed the LiveStreamHelper completely.
No longer needed as of 2fa0d3a284
2013-09-24 09:18:01 -04:00
Kyle Johnson 9ccf5c72ce Forgot to remove debug() from a view 2013-09-24 09:12:42 -04:00
Kyle Johnson 2fa0d3a284 Rewrote the way that monitor streams are created.
No longer need LiveStreamHelper, and the logic of which image to
display (live or placeholder) has been moved to the Moniors model.
This way should be much easier to understand and support.  This also
fixes my 'ugly hack' in commit eed6c81287
2013-09-24 08:56:04 -04:00
Kyle Johnson 22f9ba5c38 Write the daemon status to Configure 2013-09-24 08:55:46 -04:00
Kyle Johnson eed6c81287 An ugly hack to make the liveStreams display in both index and view views. 2013-09-23 21:51:02 -04:00
Kyle Johnson 172d7a52d1 Revert "Wrapping the main content in a container to fix #169"
This reverts commit 8a9f9a8ab5.
2013-09-23 15:22:07 -04:00
Kyle Johnson 3f70f6714f Removed an old </table> tag 2013-09-23 15:09:58 -04:00
Kyle Johnson 8a9f9a8ab5 Wrapping the main content in a container to fix #169 2013-09-23 15:04:23 -04:00
Isaac Connor 7e91053761 increase the hegiht of the window a bit, the contents are larger 2013-09-23 10:03:33 -04:00
Knniggett 6d00540b5d Improve Chrome browser support & log streaming events 2013-09-21 14:52:41 -05:00
Kevin Crider 2e8e3d55ad Removed green version label and changed to red when a new version is available 2013-09-20 10:49:12 -04:00
Kevin Crider 0de88e7d68 Fixed small bug left over from testing 2013-09-20 10:49:12 -04:00
Kevin Crider d78315de50 Polls the update check every 5 minutes and if an update is available it adds a message beside the version number in the footer. This should fix issue #130 2013-09-20 10:49:11 -04:00
Chris Wiggins 99bae6386e Merge branch 'monitorSize' of git://github.com/chriswiggins/ZoneMinder into modern 2013-09-20 17:49:04 +12:00
Kyle Johnson f8db56b308 Have the Events view view (not index) use the popup layout 2013-09-19 11:31:54 -04:00
Kyle Johnson 0223aeb3ab Set all event links to be colorboxes 2013-09-19 11:31:05 -04:00
Kyle Johnson 9e782ed407 Adding the colorbox css and js to the default template 2013-09-19 11:30:25 -04:00
Kyle Johnson e0a7418d24 Adding the colorbot js 2013-09-19 11:29:42 -04:00
Kyle Johnson afa281a750 Adding the colorbox css 2013-09-19 11:29:29 -04:00
Kyle Johnson e936df0f0d A minimum layout file for use with popups 2013-09-19 11:29:12 -04:00
Kyle Johnson ca8cc028ef Display an HTML5 <video> for each event 2013-09-19 09:12:05 -04:00
Kyle Johnson 8aec78258b Create a video for each event view.
This determines the appropriate video format based on the user agent,
creates the video, and then returns the video path to the view.
2013-09-19 09:10:57 -04:00
Kyle Johnson 5844a1cc89 Added a function which creates videos from event jpgs 2013-09-19 08:57:54 -04:00
Chris Wiggins a49e66889d Move JS to main.js 2013-09-19 21:10:41 +12:00
Chris Wiggins 133b061179 Add code for dynamically scaling monitor images on home screen. Add new no-image image 2013-09-19 20:56:09 +12:00
Kevin Crider 5178d4fa37 Added "Function" column to the $monitors array to fix issue 140 2013-09-18 17:24:52 -04:00
Kevin Crider d7fd5566a7 Fixes issue 129 - Bandwidth is now updated in the UI after changing it 2013-09-18 17:10:17 -04:00
Kevin Crider bf8f799c4c Moved delete button to the sidebar 2013-09-18 16:46:44 -04:00
Kevin Crider 0cf11adb99 Removed logging line from deleteSelected function 2013-09-18 15:55:50 -04:00
Kevin Crider c6bbdac0d7 Added ability to delete multiple events at once 2013-09-18 15:53:35 -04:00
Kevin Crider 0f25bec1d6 Fixes to monitor sorting and reordering 2013-09-18 13:23:16 -04:00
Kevin Crider bcaa0ac36c Added missing jquery-2.0.1.min.map file 2013-09-18 13:16:10 -04:00
Isaac Connor b08a8252c4 Merge branch 'dukess-master' into v1.26.4-beta
Conflicts:
	scripts/zmupdate.pl.in
2013-09-18 13:03:54 -04:00
Isaac Connor c9ad6e661a Merge branch 'master' of https://github.com/dukess/ZoneMinder into dukess-master 2013-09-18 12:57:26 -04:00
Kevin Crider 4430399b1e Removed logging of post data 2013-09-18 12:37:01 -04:00
Kevin Crider 6dfdba7023 Added ability to reorder monitors on the dashboard 2013-09-18 12:22:14 -04:00
Kyle Johnson f716fbb237 Open the Config Option tab by default 2013-09-17 12:48:38 -04:00
Kyle Johnson f7b7a49616 shoNoImage was always being called as the $mon variable was incorrect 2013-09-17 09:43:48 -04:00
Kyle Johnson ddec9a0dd8 Fixes 147 - there were unescaped quotes 2013-09-17 09:28:42 -04:00
Kyle Johnson 17b60bf25f Merge branch 'modern' of github.com:ZoneMinder/ZoneMinder into modern 2013-09-17 09:13:03 -04:00
Kyle Johnson e694616702 Reworked the Config view to display options in rows using bootstrap.
This commit fixes #134
2013-09-17 09:07:35 -04:00
Kyle Johnson 064b86c95f Added my events dir to the gitignore list 2013-09-17 08:54:53 -04:00
Kyle Johnson e0423570bd Added classes to take care of smaller and larger displays 2013-09-17 08:50:46 -04:00
Chris Wiggins dc316b0aee Add static image when the monitor/system is not enabled/running 2013-09-16 22:00:27 +12:00
Chris Wiggins 6c60813a6f Merge branch 'modern' of github.com:ZoneMinder/ZoneMinder into modern 2013-09-16 13:13:07 +12:00
Chris Wiggins 7f1589a74e Search for a different string in zmdc.pl to correctly determine if ZM is running or not 2013-09-16 13:11:01 +12:00
Kyle Johnson c6d1715948 Removed an unneeded div in the Events view. 2013-09-14 22:10:49 -04:00
Kyle Johnson 3738c3866d Added a link to each event row to delete that event.
This fixes #126 however that issue was not specific enough.  This
commit allows a user to delete individual events.  There is currently
no way to delete multiple events.
2013-09-14 22:09:28 -04:00
Kyle Johnson bf2e46f512 Added a function to delete events.
Currently this only allows single events to be deleted.
2013-09-14 22:05:08 -04:00
Kyle Johnson 0b5a215dca Use the HtmlHelper::tableHeaders helper to display the table headers 2013-09-14 21:03:31 -04:00
Kyle Johnson 9ccf5c4ee8 Added a horizontal rule to the footer to help it stand out.
This isn't ideal (the footer should have css to make it stand out,
instead of an extra element).
2013-09-13 09:13:07 -04:00
Kyle Johnson 16994dbdb2 Add some styling to the version number in the footer.
If there is an upgrade available, the label-info (blue) class is
applied.
If there is not an upgrade avaiable, the label-success (green)
class is applied.
2013-09-13 09:07:19 -04:00
Kyle Johnson b2ab1cea09 Initial commit of Version Controller and View 2013-09-13 08:55:46 -04:00
Kyle Johnson 2f99274c0a Initial commit of Version model 2013-09-13 08:44:21 -04:00