zoneminder/web/api/app/Controller
Pliable Pixels 0ff9002adf 2156 api login (#2157)
* error can be due to bad user or password

* added login/logout and related private functions

* handle case when userLogin fails, current code returns PHP error for  and API throw is not called

* formatting

* converted login params to POST, removed user=&pass= for other APIs

* formatting

* add auth check back but leave out login/out

* fixes to make it work across zmN, postman and curl

* added back enabled check
2018-07-15 21:17:35 -04:00
..
Component disable FilterComponent as it doesn't actually do anything. Add Groups join when needed 2017-12-09 14:03:42 -05:00
AppController.php 2156 api login (#2157) 2018-07-15 21:17:35 -04:00
ConfigsController.php Include values in /etc/zm files in viewByName 2018-06-25 15:43:01 -04:00
ControlsController.php Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
EventsController.php add fileSize to the api, and use it to add remote fileSize reporting in includes/Event 2018-05-08 13:33:56 -07:00
FramesController.php Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00
GroupsController.php Merge ../ZoneMinder.master into storageareas 2018-03-06 12:29:59 -05:00
HostController.php 2156 api login (#2157) 2018-07-15 21:17:35 -04:00
LogsController.php Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
MonitorsController.php Fix controlling daemon when the monitor is Local 2018-06-06 12:56:33 -04:00
PagesController.php further merges from cakephp 2.10.8 2018-03-21 13:09:55 -04:00
ServersController.php change permissions to stream permissions for view 2016-05-02 19:48:24 -04:00
StatesController.php address issue #1335 2016-03-12 08:07:25 -05:00
UsersController.php add in User Model/Controller and rough in auth. 2015-06-30 11:27:17 -04:00
ZonePresetsController.php Merged Angular UI branch API to master 2015-06-11 02:58:58 +00:00
ZonesController.php retab 2016-09-03 15:02:32 -04:00