Skip to content

Commit b8165fd

Browse files
committed
adding remote instance
1 parent 5ab334b commit b8165fd

35 files changed

+2383
-724
lines changed

appinfo/app.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

appinfo/info.xml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,31 @@
33
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
44
<id>backup</id>
55
<name>Backup</name>
6-
<description><![CDATA[Allows admins to generate a backup of a Nextcloud instance and restore it. Possible via occ or REST]]></description>
6+
<description><![CDATA[Backup. Restore.]]></description>
77
<licence>agpl</licence>
88
<author mail="maxence@artificial-owl.com">Maxence Lange</author>
9-
<author>Frank Karlitschek</author>
10-
<version>0.1.0</version>
9+
<version>0.1.2</version>
1110
<namespace>Backup</namespace>
1211
<category>tools</category>
1312
<website>https://github.com/nextcloud/backup</website>
1413
<bugs>https://github.com/nextcloud/backup/issues</bugs>
1514
<repository type="git">https://github.com/nextcloud/backup.git</repository>
1615
<screenshot>https://raw.githubusercontent.com/nextcloud/backup/master/img/screenshot.png</screenshot>
1716
<dependencies>
18-
<nextcloud min-version="16" max-version="17"/>
17+
<nextcloud min-version="22" max-version="23"/>
1918
</dependencies>
2019

21-
<background-jobs>
22-
<job>OCA\Backup\Cron\Backup</job>
23-
</background-jobs>
20+
<!-- <background-jobs>-->
21+
<!-- <job>OCA\Backup\Cron\Backup</job>-->
22+
<!-- </background-jobs>-->
2423

2524
<commands>
26-
<command>OCA\Backup\Command\Create</command>
27-
<command>OCA\Backup\Command\Listing</command>
28-
<command>OCA\Backup\Command\Details</command>
29-
<command>OCA\Backup\Command\Restore</command>
25+
<command>OCA\Backup\Command\RemoteAdd</command>
26+
<command>OCA\Backup\Command\RemoteList</command>
27+
<!-- <command>OCA\Backup\Command\Remote</command>-->
28+
<!-- <command>OCA\Backup\Command\Create</command>-->
29+
<!-- <command>OCA\Backup\Command\Listing</command>-->
30+
<!-- <command>OCA\Backup\Command\Details</command>-->
31+
<!-- <command>OCA\Backup\Command\Restore</command>-->
3032
</commands>
3133
</info>

appinfo/routes.php

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,8 @@
11
<?php
2-
/**
3-
* @copyright Copyright (c) 2017 Frank Karlitschek <frank@karlitschek.de>
4-
*
5-
* @author Frank Karlitschek <frank@karlitschek.de>
6-
*
7-
* @license GNU AGPL version 3 or any later version
8-
*
9-
* This program is free software: you can redistribute it and/or modify
10-
* it under the terms of the GNU Affero General Public License as
11-
* published by the Free Software Foundation, either version 3 of the
12-
* License, or (at your option) any later version.
13-
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU Affero General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU Affero General Public License
20-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21-
*
22-
*/
232

243
return [
25-
'ocs' => [
26-
['name' => 'API#createBackup', 'url' => '/api/v1/create', 'verb' => 'POST'],
27-
['name' => 'API#restoreBackup', 'url' => '/api/v1/restore', 'verb' => 'POST'],
28-
],
4+
'routes' => [
5+
['name' => 'Remote#appService', 'url' => '/', 'verb' => 'GET'],
6+
['name' => 'Remote#test', 'url' => '/test', 'verb' => 'GET']
7+
]
298
];

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
}
1616
},
1717
"require": {
18-
"daita/my-small-php-tools": "dev-master",
18+
"artificial-owl/my-small-php-tools": "~23",
1919
"ifsnop/mysqldump-php": "2.0.0",
20-
"symfony/console": "^4.2",
2120
"pimple/pimple": "~3.0"
2221
}
2322
}

composer.json~

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)