zoneminder/web/api
Isaac Connor 23ddc83ad4
fix_2167 (#2168)
* Populate a global  from the session on every request. Use the  object instead of using allowedMonitors in session.

* fix when  gets loaded.

* use  for auth, and add Monitor Edit checks to Zone add/delete/edit

* add back the ZM_OPT_USE_AUTH test for being logged in in AppController

* Update permissions code to use

* change quotes

* Update permission code to use

* Use  instal of session for systemPermission

* deprecate montiorPermision in session

* use  instead of session streamPermission

* move login code back into AppController. Has to be done for every request

* deprecate eventPermission, controlPermission and systemPermission in session.

* handle auth params in query string as well as post

* exit on HUP to free up memory.

* add missing global user

* system should be System
2018-08-08 09:59:46 -04:00
..
app fix_2167 (#2168) 2018-08-08 09:59:46 -04:00
lib/Cake New Monitor Type - Website (#2065) 2018-04-26 17:18:36 -04:00
.editorconfig Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
CMakeLists.txt Update CMakeLists.txt 2017-05-03 12:35:54 -05:00
CONTRIBUTING.md Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
README.md Update README.md 2015-08-21 11:29:35 +02:00
build.properties Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
build.xml Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
composer.json Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
index.php Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00

README.md

ZoneMinder API

This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.

app/Config/database.php.default must be configured and copied to app/Config/database.php

In adition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.

The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php