From 3704e33c668a63868efec504e3999a9edd123665 Mon Sep 17 00:00:00 2001 From: BlueTeck Date: Mon, 9 Feb 2015 20:01:01 +0100 Subject: added getProjectActivity + getOverdueTasks to API --- jsonrpc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jsonrpc.php') diff --git a/jsonrpc.php b/jsonrpc.php index 6530e73a..566976cd 100644 --- a/jsonrpc.php +++ b/jsonrpc.php @@ -20,6 +20,7 @@ $server->bind('enableProject', $container['project'], 'enable'); $server->bind('disableProject', $container['project'], 'disable'); $server->bind('enableProjectPublicAccess', $container['project'], 'enablePublicAccess'); $server->bind('disableProjectPublicAccess', $container['project'], 'disablePublicAccess'); +$server->bind('getProjectActivity', $container['projectActivity'], 'getProjects'); $server->register('createProject', function($name) use ($container) { $values = array('name' => $name); @@ -71,6 +72,7 @@ $server->bind('allowUser', $container['projectPermission'], 'addMember'); */ $server->bind('getTask', $container['taskFinder'], 'getById'); $server->bind('getAllTasks', $container['taskFinder'], 'getAll'); +$server->bind('getOverdueTasks', $container['taskFinder'], 'getOverdueTasks'); $server->bind('openTask', $container['taskStatus'], 'open'); $server->bind('closeTask', $container['taskStatus'], 'close'); $server->bind('removeTask', $container['task'], 'remove'); -- cgit v1.2.3