2013-02-10 13:42:23 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2013, Tom Needham <tom@owncloud.com>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
|
2014-08-19 13:23:45 +00:00
|
|
|
/** @var $this \OCP\Route\IRouter */
|
|
|
|
|
|
|
|
$this->create('files_encryption_ajax_adminrecovery', 'ajax/adminrecovery.php')
|
|
|
|
->actionInclude('files_encryption/ajax/adminrecovery.php');
|
|
|
|
$this->create('files_encryption_ajax_changeRecoveryPassword', 'ajax/changeRecoveryPassword.php')
|
|
|
|
->actionInclude('files_encryption/ajax/changeRecoveryPassword.php');
|
|
|
|
$this->create('files_encryption_ajax_getMigrationStatus', 'ajax/getMigrationStatus.php')
|
|
|
|
->actionInclude('files_encryption/ajax/getMigrationStatus.php');
|
|
|
|
$this->create('files_encryption_ajax_updatePrivateKeyPassword', 'ajax/updatePrivateKeyPassword.php')
|
|
|
|
->actionInclude('files_encryption/ajax/updatePrivateKeyPassword.php');
|
|
|
|
$this->create('files_encryption_ajax_userrecovery', 'ajax/userrecovery.php')
|
|
|
|
->actionInclude('files_encryption/ajax/userrecovery.php');
|
|
|
|
|
2013-02-10 13:42:23 +00:00
|
|
|
// Register with the capabilities API
|
2014-12-03 15:52:44 +00:00
|
|
|
OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH);
|