Kyle Johnson
40dcca2084
Add API function to get ZM version
2014-11-24 00:52:27 +00:00
Kyle Johnson
055a494fe4
Add getDiskPercent function to the api
...
Returns the amount of space used
2014-11-21 22:15:32 +00:00
Kyle Johnson
ffaa24d108
daemonCheck finds zmdc.pl via Configure::read
2014-11-21 21:42:21 +00:00
Kyle Johnson
0108f43cab
Add function for making vars in zm.conf global in api
...
This loops throgh zm.conf and sets each variable in it
as global in CakePHP via Configure::write. The vars
can then later be read withing CakePHP via Configure::read
2014-11-21 21:40:31 +00:00
Kyle Johnson
403ece33bd
Tell cmake to configure zm version and config path in cakephp
2014-11-21 21:04:46 +00:00
Kyle Johnson
345f152181
Add function for returning system load via api
2014-11-21 19:49:03 +00:00
Kyle Johnson
2ae1880006
Initial commit of general purpose API event search
2014-11-20 13:46:49 +00:00
Kyle Johnson
408c6111b8
Return specific configs as an HTML <form> in API
2014-11-20 04:04:23 +00:00
Kyle Johnson
a0f12575fe
Add API function to return event counts for console view
2014-11-19 15:49:38 +00:00
Kyle Johnson
175e7d3e22
Initial commit of Host MVC.
...
Used for daemonCheck, getLoad, etc
2014-11-16 00:21:55 +00:00
Kyle Johnson
35530c627a
Initial commit of Logs MVC
2014-11-15 19:03:40 +00:00
Kyle Johnson
0129ca5f74
Rework the ConfigParser component.
2014-11-15 19:03:10 +00:00
Kyle Johnson
e7d726bf75
Don't print out the Config string to the file system.
2014-11-15 19:02:54 +00:00
Kyle Johnson
fcaa67e3c3
Slight refactor of ConfigParser Component. Needs more work.
2014-11-15 19:02:18 +00:00
Kyle Johnson
cf3d0f962c
Add view for Configs Edit
2014-11-15 19:02:03 +00:00
Kyle Johnson
9f80a7d5f5
Show a list of Config Key:Value pairs
2014-11-15 19:01:32 +00:00
Kyle Johnson
9268c503af
Do not display the "hidden" config category
2014-11-15 19:01:19 +00:00
Kyle Johnson
b9f54056da
Add component for dumping Config table as HTML
2014-11-15 18:59:58 +00:00
Kyle Johnson
de631075d3
Return possible source types ni DB via API
2014-11-15 18:59:24 +00:00
Kyle Johnson
0d57306790
Find category configs only when $category is not null. API
2014-11-15 18:58:58 +00:00
Kyle Johnson
9f150c4e46
Revert "Find category configs only when $category is not null. API"
...
This reverts commit efbbcadc7dad9aa52a7aab0483546eab48840ae6.
2014-11-15 18:58:51 +00:00
Kyle Johnson
b88febeaee
Find category configs only when $category is not null. API
2014-11-15 18:58:43 +00:00
Kyle Johnson
0a7ba112ab
API support for querying config categories.
...
Either return a list of distinct categories, or all configs under a
certain category
2014-11-15 18:55:20 +00:00
Kfir Itzhak
afd4e451fd
Add the web/api folder to cmake
2014-04-30 12:16:46 +03:00
Kyle Johnson
40e929e7a6
Changed the API readme to be ZoneMinder-relevant
2014-04-29 20:49:54 +00:00
Kyle Johnson
f1f3de6d7d
Moved the api to underneath the web directory
2014-04-29 20:41:04 +00:00