Commit Graph

2692 Commits

Author SHA1 Message Date
Kyle Johnson 4022695961 Reworked the events paginate function, it now grabs only the needed fields, sorts properly, and limits based on the configured ZM_WEB_EVENTS_PER_PAGE option. 2013-05-15 17:46:11 -04:00
Kyle Johnson c47f450e41 Added the Monitor and Config model to the Events controller 2013-05-15 17:42:42 -04:00
Kyle Johnson 2a3b649341 Forgot to pull out the Monitors schema before committing... 2013-05-15 08:42:39 -04:00
Kyle Johnson 7913fbb49f Added a link to the add monitors page 2013-05-15 08:36:05 -04:00
Kyle Johnson a1aed0ec03 First pass at ability to add monitors. Field names do not match database columns so not all values are saved 2013-05-15 08:35:49 -04:00
Kyle Johnson 39e15b48a1 Replaced use of querybuilder functionality via find() with prebuilt queries via query(). This fixes #1. 2013-05-14 22:52:47 -04:00
Kyle Johnson 1307ba41c8 Changed the event count lookups to use find() instead of custom functions 2013-05-08 09:37:56 -04:00
Kyle Johnson 08f57b6b47 Made the footer link legible 2013-05-08 08:03:58 -04:00
Kyle Johnson 0e8a96141e Lack of newlines makes me cry 2013-05-08 07:56:11 -04:00
Kyle Johnson 74008dcb8b Moved some of the logic for determining video streaming options from the controller to the model 2013-05-07 11:15:06 -04:00
Kyle Johnson b5e15a1708 First pass of the Monitors view page with code to determine stream type (mpeg, jpeg), bitrate, fps, etc 2013-05-07 10:29:34 -04:00
Kyle Johnson a6bcd78e6e Added a link to change the bandwidth 2013-05-06 19:53:38 -04:00
Kyle Johnson 29784fa3d3 Set the zmBandwidth variable app-wide 2013-05-06 19:53:25 -04:00
Kyle Johnson 82c14790c5 Added the live stream with hardcoded values 2013-05-06 19:38:22 -04:00
Kyle Johnson 49a01a9c28 Initial commit of Bandwidth Model, View and Controller. 2013-05-06 19:37:22 -04:00
Kyle Johnson ac93b8318e Added Cookie and Session components to the entire app, also set the zmBandwidth cookie to low by default 2013-05-06 19:36:34 -04:00
Kyle Johnson 9052b7fda5 Added a style to make the header legible 2013-05-06 11:34:48 -04:00
Kyle Johnson 69f9f446a8 Added Monitors, Events and Options index view to the header 2013-05-06 11:34:17 -04:00
Kyle Johnson f35e7cbe73 Initial commit of Config Controller and View.
* Allows basic updating of config options
 * No validation yet
 * All options are rendered as text boxes.  Some need to be dropdown, etc.
2013-05-06 11:06:58 -04:00
Kyle Johnson 869b84732d Changed the primaryKey to the actual primary key of the Config table 2013-05-06 11:05:33 -04:00
Kyle Johnson 5f7e4a3471 Overriding the primaryKey for the Events and Monitors models 2013-05-06 10:36:47 -04:00
Kyle Johnson 03a9915138 Added the Config model 2013-05-06 08:42:05 -04:00
Kyle Johnson b6bf96b701 Added the list of distinct monitors to the monitors variable for later use with filtering 2013-05-06 08:40:25 -04:00
Kyle Johnson d4b0d05366 Added number of archived events per monitor to Monitors index view 2013-05-04 22:45:59 -04:00
Kyle Johnson 3af0600917 Limited the number of fields returned when searching for associated events and zones 2013-05-04 22:41:27 -04:00
Kyle Johnson d681654e56 Moved events queries from the Monitors controller to the Monitors model 2013-05-04 19:42:37 -04:00
Kyle Johnson a56ae4ed42 Display last events per hour, day, week, month per monitor 2013-05-04 19:22:48 -04:00
Kyle Johnson 20b024ef02 Added queries for last events per hour, day, week and month 2013-05-04 19:22:09 -04:00
Kyle Johnson c42ae4a91d Moved the Html and Form helpers to the common AppController 2013-05-03 07:34:45 -04:00
Kyle Johnson cff58441fc Fixed some indents 2013-05-02 21:31:05 -04:00
Kyle Johnson 2cc0620edc Added zone count to monitor index 2013-05-02 21:27:55 -04:00
Kyle Johnson b7d993839b Added Zone model, as well as Monitor and Zone model association 2013-05-02 09:01:27 -04:00
Kyle Johnson 12642e6c45 Added additional table columns as well as total event count per monitor 2013-05-02 08:56:51 -04:00
Kyle Johnson e782fbe38d Defined associations between the Monitor and Event models 2013-05-02 08:55:59 -04:00
Kyle Johnson e2751c0597 Initial ability to edit limited options of existing monitors 2013-05-01 21:03:25 -04:00
Kyle Johnson 6bc6610542 Added Monitors view view 2013-05-01 20:57:10 -04:00
Kyle Johnson 1be91f67e3 Added Function and Source columns 2013-05-01 18:46:01 -04:00
Kyle Johnson 055d8f8d0b Initial commit of MVC for Monitors 2013-05-01 18:41:59 -04:00
Kyle Johnson a5e2f29a4b Specified the specific table name for the Event model 2013-05-01 18:21:46 -04:00
Kyle Johnson a16054b33f Removed an HTML comment and changed the heading from 1 to 2. 2013-05-01 08:24:42 -03:00
Kyle Johnson 31902af09a Update README.md 2013-05-01 08:04:57 -03:00
Kyle Johnson 5354ec12e1 Merge branch 'modern' into develop 2013-05-01 07:03:10 -04:00
Kyle Johnson 9d5243ccab Initial commit of Event Model, View and Controller with basic support for drilling into an event 2013-05-01 07:02:12 -04:00
Kyle Johnson 8322dc390f Initial commit of CakePHP 2.3.4 2013-05-01 06:58:31 -04:00
Kyle Johnson 1ed6462354 Removed all of the old web files 2013-05-01 06:52:43 -04:00
Isaac Connor e37a49b511 add the debian directory with stuff to build a debian package 2013-04-29 16:46:56 -04:00
Isaac Connor 044af38cdb match up #if's regarding gnutls-openssl 2013-04-29 16:44:37 -04:00
Isaac Connor c0e634d856 add a check for gnutls-openssl which is required to add the -lgnutls-openssl to the compile line to make it compile 2013-04-29 16:43:49 -04:00
Isaac Connor ce61512a0d gnutls changes from ubuntu package 2013-04-29 15:32:55 -04:00
Isaac Connor 0913287ee1 gnutls changes from ubuntu package 2013-04-29 15:32:16 -04:00