parent
adc986f3e4
commit
06aef4e8b1
|
@ -1,29 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
* ownCloud - ajax frontend
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
*
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
* @author Robin Appelman
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* @copyright 2010 Robin Appelman icewind1991@gmail.com
|
||||||
* @author Michael Göhler <somebody.here@gmx.de>
|
*
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* This library is free software; you can redistribute it and/or
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
*
|
* License as published by the Free Software Foundation; either
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* version 3 of the License, or any later version.
|
||||||
* @license AGPL-3.0
|
*
|
||||||
*
|
* This library is distributed in the hope that it will be useful,
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* as published by the Free Software Foundation.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
*
|
||||||
* GNU Affero General Public License for more details.
|
*/
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\User::checkAdminUser();
|
OCP\User::checkAdminUser();
|
||||||
|
|
||||||
$htaccessWorking=(getenv('htaccessWorking')=='true');
|
$htaccessWorking=(getenv('htaccessWorking')=='true');
|
||||||
|
|
|
@ -1,32 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
|
@ -1,29 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
* ownCloud - ajax frontend
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
*
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* @author Robin Appelman
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
* @copyright 2010 Robin Appelman icewind1991@gmail.com
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
*
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* This library is free software; you can redistribute it and/or
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
*
|
* License as published by the Free Software Foundation; either
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* version 3 of the License, or any later version.
|
||||||
* @license AGPL-3.0
|
*
|
||||||
*
|
* This library is distributed in the hope that it will be useful,
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* as published by the Free Software Foundation.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
*
|
||||||
* GNU Affero General Public License for more details.
|
*/
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
// Check if we are a user
|
// Check if we are a user
|
||||||
OCP\User::checkLoggedIn();
|
OCP\User::checkLoggedIn();
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
|
@ -1,27 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$dir = '/';
|
$dir = '/';
|
||||||
|
|
||||||
if (isset($_GET['dir'])) {
|
if (isset($_GET['dir'])) {
|
||||||
|
|
|
@ -1,27 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
$l = \OC::$server->getL10N('files');
|
$l = \OC::$server->getL10N('files');
|
||||||
|
|
|
@ -1,25 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
||||||
$mime = isset($_GET['mime']) ? (string)$_GET['mime'] : '';
|
$mime = isset($_GET['mime']) ? (string)$_GET['mime'] : '';
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Georg Ehrke <georg@owncloud.com>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
|
@ -1,31 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
|
||||||
* @author Georg Ehrke <georg@owncloud.com>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
// Init owncloud
|
// Init owncloud
|
||||||
global $eventSource;
|
global $eventSource;
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Georg Ehrke <georg@owncloud.com>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
// Init owncloud
|
// Init owncloud
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
* ownCloud - Core
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Morris Jobke
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Morris Jobke morris.jobke@gmail.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
|
@ -1,26 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
set_time_limit(0); //scanning can take ages
|
set_time_limit(0); //scanning can take ages
|
||||||
|
|
||||||
\OCP\JSON::checkLoggedIn();
|
\OCP\JSON::checkLoggedIn();
|
||||||
|
|
|
@ -1,36 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Florian Pritz <bluewind@xinu.at>
|
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Luke Policinski <lpolicinski@gmail.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Roman Geber <rgeber@owncloudapps.com>
|
|
||||||
* @author TheSFReader <TheSFReader@gmail.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
||||||
// Firefox and Konqueror tries to download application/json for me. --Arthur
|
// Firefox and Konqueror tries to download application/json for me. --Arthur
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Felix Moeller <mail@felixmoeller.de>
|
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$l = \OC::$server->getL10N('files');
|
$l = \OC::$server->getL10N('files');
|
||||||
|
|
||||||
OCP\App::registerAdmin('files', 'admin');
|
OCP\App::registerAdmin('files', 'admin');
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Tobias Kaminsky <tobias@kaminsky.me>
|
* Copyright (c) 2014 Lukas Reschke <lukas@owncloud.com>
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
*
|
* later.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* See the COPYING-README file.
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\Appinfo;
|
namespace OCA\Files\Appinfo;
|
||||||
|
|
||||||
use OC\AppFramework\Utility\SimpleContainer;
|
use OC\AppFramework\Utility\SimpleContainer;
|
||||||
|
|
|
@ -1,21 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$application->add(new OCA\Files\Command\Scan(OC_User::getManager()));
|
$application->add(new OCA\Files\Command\Scan(OC_User::getManager()));
|
||||||
|
|
|
@ -1,31 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* ownCloud
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Frank Karlitschek
|
||||||
* @license AGPL-3.0
|
* @author Jakob Sack
|
||||||
|
* @copyright 2012 Frank Karlitschek frank@owncloud.org
|
||||||
|
* @copyright 2011 Jakob Sack kde@jakobsack.de
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Backends
|
// Backends
|
||||||
$authBackend = new \OC\Connector\Sabre\Auth();
|
$authBackend = new \OC\Connector\Sabre\Auth();
|
||||||
|
|
||||||
|
|
|
@ -1,27 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl>
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Tobias Kaminsky <tobias@kaminsky.me>
|
* later.
|
||||||
* @author Tom Needham <tom@owncloud.com>
|
* See the COPYING-README file.
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\Appinfo;
|
namespace OCA\Files\Appinfo;
|
||||||
|
|
||||||
$application = new Application();
|
$application = new Application();
|
||||||
|
|
|
@ -1,26 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* Copyright (c) 2013 Thomas Müller <thomas.mueller@tmit.eu>
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* later.
|
||||||
*
|
* See the COPYING-README file.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\Command;
|
namespace OCA\Files\Command;
|
||||||
|
|
||||||
use OC\ForbiddenException;
|
use OC\ForbiddenException;
|
||||||
|
|
|
@ -1,26 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* Copyright (c) 2014-2015 Lukas Reschke <lukas@owncloud.com>
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Tobias Kaminsky <tobias@kaminsky.me>
|
* later.
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\Controller;
|
namespace OCA\Files\Controller;
|
||||||
|
|
||||||
use OCP\AppFramework\Http;
|
use OCP\AppFramework\Http;
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Felix Moeller <mail@felixmoeller.de>
|
* ownCloud - ajax frontend
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
*
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
* @author Robin Appelman
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* @copyright 2010 Robin Appelman icewind1991@gmail.com
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
*
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* This library is free software; you can redistribute it and/or
|
||||||
*
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* License as published by the Free Software Foundation; either
|
||||||
* @license AGPL-3.0
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* as published by the Free Software Foundation.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
*
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
* This program is distributed in the hope that it will be useful,
|
*
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* GNU Affero General Public License for more details.
|
*
|
||||||
*
|
*/
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
// Check if we are a user
|
// Check if we are a user
|
||||||
OCP\User::checkLoggedIn();
|
OCP\User::checkLoggedIn();
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,23 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud - ajax frontend
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Jakob Sack <mail@jakobsack.de>
|
|
||||||
* @author Jan-Christoph Borchardt <hey@jancborchardt.net>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Roman Geber <rgeber@owncloudapps.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Robin Appelman
|
||||||
* @license AGPL-3.0
|
* @copyright 2010 Robin Appelman icewind1991@gmail.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
use OCA\Files\Appinfo\Application;
|
use OCA\Files\Appinfo\Application;
|
||||||
|
|
|
@ -1,23 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* ownCloud - Files Activity Extension
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Joas Schilling
|
||||||
* @license AGPL-3.0
|
* @copyright 2015 Joas Schilling nickvergessen@owncloud.com
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
|
* later.
|
||||||
|
* See the COPYING-README file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files;
|
namespace OCA\Files;
|
||||||
|
|
||||||
use OC\L10N\Factory;
|
use OC\L10N\Factory;
|
||||||
|
|
|
@ -1,28 +1,27 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud - Core
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Morris Jobke
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Morris Jobke morris.jobke@gmail.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace OCA\Files;
|
namespace OCA\Files;
|
||||||
|
|
||||||
class App {
|
class App {
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
* Copyright (c) 2013 Tom Needham <tom@owncloud.com>
|
||||||
* @author Tom Needham <tom@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
*
|
* later.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* See the COPYING-README file.
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files;
|
namespace OCA\Files;
|
||||||
|
|
||||||
class Capabilities {
|
class Capabilities {
|
||||||
|
|
|
@ -1,30 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
* @author brumsel <brumsel@losecatcher.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* later.
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* See the COPYING-README file.
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files;
|
namespace OCA\Files;
|
||||||
|
|
||||||
use OCP\Files\FileInfo;
|
use OCP\Files\FileInfo;
|
||||||
|
|
|
@ -1,23 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* ownCloud - Files list
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Vincent Petry
|
||||||
* @license AGPL-3.0
|
* @copyright 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Check if we are a user
|
// Check if we are a user
|
||||||
OCP\User::checkLoggedIn();
|
OCP\User::checkLoggedIn();
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
*
|
* later.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* See the COPYING-README file.
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\Service;
|
namespace OCA\Files\Service;
|
||||||
|
|
||||||
use OC\Files\FileInfo;
|
use OC\Files\FileInfo;
|
||||||
|
|
|
@ -1,23 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* ownCloud - Simple files list
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Vincent Petry
|
||||||
* @license AGPL-3.0
|
* @copyright 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TODO: move to handlebars
|
// TODO: move to handlebars
|
||||||
|
|
||||||
// renders the controls and table headers template
|
// renders the controls and table headers template
|
||||||
|
|
|
@ -1,29 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud - Core
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Morris Jobke
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Morris Jobke morris.jobke@gmail.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Test_OC_Files_App_Rename extends \Test\TestCase {
|
class Test_OC_Files_App_Rename extends \Test\TestCase {
|
||||||
private static $user;
|
private static $user;
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* Copyright (c) 2015 Lukas Reschke <lukas@owncloud.com>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\Controller;
|
namespace OCA\Files\Controller;
|
||||||
|
|
||||||
use OC\Files\FileInfo;
|
use OC\Files\FileInfo;
|
||||||
|
|
|
@ -1,26 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author brumsel <brumsel@losecatcher.de>
|
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* later.
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use OCA\Files;
|
use OCA\Files;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,21 +1,23 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* ownCloud
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Vincent Petry
|
||||||
* @license AGPL-3.0
|
* @copyright 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
namespace OCA\Files;
|
namespace OCA\Files;
|
||||||
|
|
|
@ -1,29 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2013, Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or later.
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* See the COPYING-README file.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* Script to handle admin settings for encrypted key recovery
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use OCA\Files_Encryption\Helper;
|
use OCA\Files_Encryption\Helper;
|
||||||
|
|
||||||
\OCP\JSON::checkAdminUser();
|
\OCP\JSON::checkAdminUser();
|
||||||
|
|
|
@ -1,29 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2013, Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or later.
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
* See the COPYING-README file.
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* Script to change recovery key password
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
\OCP\JSON::checkAdminUser();
|
\OCP\JSON::checkAdminUser();
|
||||||
\OCP\JSON::checkAppEnabled('files_encryption');
|
\OCP\JSON::checkAppEnabled('files_encryption');
|
||||||
\OCP\JSON::callCheck();
|
\OCP\JSON::callCheck();
|
||||||
|
|
|
@ -1,27 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
* Copyright (c) 2013, Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or later.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* See the COPYING-README file.
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* check migration status
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use OCA\Files_Encryption\Util;
|
use OCA\Files_Encryption\Util;
|
||||||
|
|
||||||
\OCP\JSON::checkAppEnabled('files_encryption');
|
\OCP\JSON::checkAppEnabled('files_encryption');
|
||||||
|
|
|
@ -1,28 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2013, Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or later.
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
* See the COPYING-README file.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* Script to change recovery key password
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
\OCP\JSON::checkLoggedIn();
|
\OCP\JSON::checkLoggedIn();
|
||||||
\OCP\JSON::checkAppEnabled('files_encryption');
|
\OCP\JSON::checkAppEnabled('files_encryption');
|
||||||
\OCP\JSON::callCheck();
|
\OCP\JSON::callCheck();
|
||||||
|
|
|
@ -1,29 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2013, Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or later.
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* See the COPYING-README file.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* Script to handle admin settings for encrypted key recovery
|
||||||
*/
|
*/
|
||||||
|
|
||||||
\OCP\JSON::checkLoggedIn();
|
\OCP\JSON::checkLoggedIn();
|
||||||
\OCP\JSON::checkAppEnabled('files_encryption');
|
\OCP\JSON::checkAppEnabled('files_encryption');
|
||||||
\OCP\JSON::callCheck();
|
\OCP\JSON::callCheck();
|
||||||
|
|
|
@ -1,29 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
\OCP\Util::addscript('files_encryption', 'encryption');
|
\OCP\Util::addscript('files_encryption', 'encryption');
|
||||||
\OCP\Util::addscript('files_encryption', 'detect-migration');
|
\OCP\Util::addscript('files_encryption', 'detect-migration');
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
* Copyright (c) 2015 Thomas Müller <deepdiver@owncloud.com>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use OCA\Files_Encryption\Command\MigrateKeys;
|
use OCA\Files_Encryption\Command\MigrateKeys;
|
||||||
|
|
||||||
$userManager = OC::$server->getUserManager();
|
$userManager = OC::$server->getUserManager();
|
||||||
|
|
|
@ -1,25 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* Copyright (c) 2013, Tom Needham <tom@owncloud.com>
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or later.
|
||||||
* @author Tom Needham <tom@owncloud.com>
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** @var $this \OCP\Route\IRouter */
|
||||||
|
|
||||||
$this->create('files_encryption_ajax_adminrecovery', 'ajax/adminrecovery.php')
|
$this->create('files_encryption_ajax_adminrecovery', 'ajax/adminrecovery.php')
|
||||||
->actionInclude('files_encryption/ajax/adminrecovery.php');
|
->actionInclude('files_encryption/ajax/adminrecovery.php');
|
||||||
$this->create('files_encryption_ajax_changeRecoveryPassword', 'ajax/changeRecoveryPassword.php')
|
$this->create('files_encryption_ajax_changeRecoveryPassword', 'ajax/changeRecoveryPassword.php')
|
||||||
|
|
|
@ -1,24 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
use OCA\Files_Encryption\Migration;
|
use OCA\Files_Encryption\Migration;
|
||||||
|
|
||||||
$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');
|
$installedVersion=OCP\Config::getAppValue('files_encryption', 'installed_version');
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
* Copyright (c) 2015 Thomas Müller <thomas.mueller@tmit.eu>
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
*
|
* later.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* See the COPYING-README file.
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Command;
|
namespace OCA\Files_Encryption\Command;
|
||||||
|
|
||||||
use OCA\Files_Encryption\Migration;
|
use OCA\Files_Encryption\Migration;
|
||||||
|
|
|
@ -1,25 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Exception;
|
namespace OCA\Files_Encryption\Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,24 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Exception;
|
namespace OCA\Files_Encryption\Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,24 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Exception;
|
namespace OCA\Files_Encryption\Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,28 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Volkan Gezer <volkangezer@gmail.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
if (!isset($_)) { //also provide standalone error page
|
if (!isset($_)) { //also provide standalone error page
|
||||||
require_once __DIR__ . '/../../../lib/base.php';
|
require_once __DIR__ . '/../../../lib/base.php';
|
||||||
require_once __DIR__ . '/../lib/crypt.php';
|
require_once __DIR__ . '/../lib/crypt.php';
|
||||||
|
|
|
@ -1,25 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
* Copyright (c) 2013 Tom Needham <tom@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Tom Needham <tom@owncloud.com>
|
* later.
|
||||||
*
|
* See the COPYING-README file.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
class Capabilities {
|
class Capabilities {
|
||||||
|
|
|
@ -1,33 +1,30 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* @author Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* @author Frank Karlitschek <frank@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* @author Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Owen Winkler <a_github@midnightcircus.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Scott Arciszewski <scott@arciszewski.me>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,33 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
|
* @author Florin Peter <owncloud@florin-peter.de>
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Owen Winkler <a_github@midnightcircus.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,23 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
|
* @author Sam Tuke <samtuke@owncloud.org>
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,34 +1,27 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,32 +1,35 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* @author Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* @author Robin Appelman <icewind1991@gmail.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Encryption proxy which handles filesystem operations before and after
|
||||||
|
* execution and encrypts, and handles keyfiles accordingly. Used for
|
||||||
|
* webui.
|
||||||
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,32 +1,27 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
|
* @author Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,31 +1,35 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* @author Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* @author Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* transparently encrypted filestream
|
||||||
|
*
|
||||||
|
* you can use it as wrapper around an existing stream by setting CryptStream::$sourceStreams['foo']=array('path'=>$path,'stream'=>$stream)
|
||||||
|
* and then fopen('crypt://streams/foo');
|
||||||
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
use OCA\Files_Encryption\Exception\EncryptionException;
|
use OCA\Files_Encryption\Exception\EncryptionException;
|
||||||
|
|
|
@ -1,36 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
|
* @author Sam Tuke <samtuke@owncloud.com>,
|
||||||
|
* @author Frank Karlitschek <frank@owncloud.org>,
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author jknockaert <jasper@knockaert.nl>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Markus Goetz <markus@woboq.com>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption;
|
namespace OCA\Files_Encryption;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,27 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2011 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* later.
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* See the COPYING-README file.
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
\OC_Util::checkAdminUser();
|
\OC_Util::checkAdminUser();
|
||||||
|
|
||||||
$tmpl = new OCP\Template('files_encryption', 'settings-admin');
|
$tmpl = new OCP\Template('files_encryption', 'settings-admin');
|
||||||
|
|
|
@ -1,29 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2013 Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* later.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* See the COPYING-README file.
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Add CSS stylesheet
|
// Add CSS stylesheet
|
||||||
\OC_Util::addStyle('files_encryption', 'settings-personal');
|
\OC_Util::addStyle('files_encryption', 'settings-personal');
|
||||||
|
|
||||||
|
|
|
@ -1,32 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com>, and
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* later.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* See the COPYING-README file.
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,25 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2013 Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* later.
|
||||||
*
|
* See the COPYING-README file.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
use OCA\Files_Encryption;
|
use OCA\Files_Encryption;
|
||||||
|
|
|
@ -1,28 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Bjoern Schiessle
|
||||||
* @license AGPL-3.0
|
* @copyright 2014 Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,30 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* later.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* See the COPYING-README file.
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,27 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
* ownCloud
|
||||||
|
*
|
||||||
|
* @copyright (C) 2014 ownCloud, Inc.
|
||||||
|
*
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* This library is free software; you can redistribute it and/or
|
||||||
* @license AGPL-3.0
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
class Migration extends TestCase {
|
class Migration extends TestCase {
|
||||||
|
|
|
@ -1,29 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Bjoern Schiessle
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Bjoern Schiessle <schiessle@owncloud.com>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,30 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* ownCloud
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Florin Peter
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Florin Peter <owncloud@florin-peter.de>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,29 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Florin Peter
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Florin Peter <owncloud@florin-peter.de>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
*
|
* later.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* See the COPYING-README file.
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,30 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* ownCloud
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Florin Peter
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Florin Peter <owncloud@florin-peter.de>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,35 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com>
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Björn Schießle <schiessle@owncloud.com>
|
* later.
|
||||||
* @author Florin Peter <github@florin-peter.de>
|
* See the COPYING-README file.
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Markus Goetz <markus@woboq.com>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Sam Tuke <mail@samtuke.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_Encryption\Tests;
|
namespace OCA\Files_Encryption\Tests;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,26 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\JSON::checkAppEnabled('files_external');
|
OCP\JSON::checkAppEnabled('files_external');
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\JSON::checkAppEnabled('files_external');
|
OCP\JSON::checkAppEnabled('files_external');
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Volkan Gezer <volkangezer@gmail.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php';
|
require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php';
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_external');
|
OCP\JSON::checkAppEnabled('files_external');
|
||||||
|
|
|
@ -1,30 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Adam Williamson <awilliam@redhat.com>
|
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Volkan Gezer <volkangezer@gmail.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
set_include_path(get_include_path().PATH_SEPARATOR.
|
set_include_path(get_include_path().PATH_SEPARATOR.
|
||||||
\OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src');
|
\OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src');
|
||||||
require_once 'Google/Client.php';
|
require_once 'Google/Client.php';
|
||||||
|
|
|
@ -1,25 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\JSON::checkAppEnabled('files_external');
|
OCP\JSON::checkAppEnabled('files_external');
|
||||||
OCP\JSON::callCheck();
|
OCP\JSON::callCheck();
|
||||||
|
|
||||||
|
|
|
@ -1,34 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Christian Berendt <berendt@b1-systems.de>
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author fibsifan <fi@volans.uberspace.de>
|
* Copyright (c) 2014 Robin McCorkell <rmccorkell@karoshi.org.uk>
|
||||||
* @author Jan-Christoph Borchardt <hey@jancborchardt.net>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author j-ed <juergen@eisfair.org>
|
* later.
|
||||||
* @author Martin Mattel <martin.mattel@diemattels.at>
|
* See the COPYING-README file.
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Ross Nicoll <jrn@jrn.me.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
* @author Volkan Gezer <volkangezer@gmail.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
$l = \OC::$server->getL10N('files_external');
|
$l = \OC::$server->getL10N('files_external');
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Ross Nicoll <jrn@jrn.me.uk>
|
* Copyright (c) 2015 University of Edinburgh <Ross.Nicoll@ed.ac.uk>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_External\Appinfo;
|
namespace OCA\Files_External\Appinfo;
|
||||||
|
|
||||||
use \OCA\Files_External\Controller\AjaxController;
|
use \OCA\Files_External\Controller\AjaxController;
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* ownCloud - External Storage Routes
|
||||||
* @author Ross Nicoll <jrn@jrn.me.uk>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Vincent Petry
|
||||||
* @license AGPL-3.0
|
* @copyright 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_External\Appinfo;
|
namespace OCA\Files_External\Appinfo;
|
||||||
|
|
||||||
$application = new Application();
|
$application = new Application();
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Ross Nicoll <jrn@jrn.me.uk>
|
* Copyright (c) 2015 University of Edinburgh <Ross.Nicoll@ed.ac.uk>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_External\Controller;
|
namespace OCA\Files_External\Controller;
|
||||||
|
|
||||||
use OCP\AppFramework\Controller;
|
use OCP\AppFramework\Controller;
|
||||||
|
|
|
@ -1,35 +1,27 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author André Gaul <gaul@web-yard.de>
|
* ownCloud
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
|
||||||
* @author Christian Berendt <berendt@b1-systems.de>
|
|
||||||
* @author Christopher T. Johnson <ctjctj@gmail.com>
|
|
||||||
* @author Johan Björk <johanimon@gmail.com>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Michael Gapczynski
|
||||||
* @license AGPL-3.0
|
* @author Christian Berendt
|
||||||
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
|
* @copyright 2013 Christian Berendt berendt@b1-systems.de
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
set_include_path(get_include_path() . PATH_SEPARATOR .
|
set_include_path(get_include_path() . PATH_SEPARATOR .
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* ownCloud
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Vincent Petry
|
||||||
* @license AGPL-3.0
|
* @copyright 2014 Vincent Petry pvince81@owncloud.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\External;
|
namespace OCA\Files\External;
|
||||||
|
|
||||||
class Api {
|
class Api {
|
||||||
|
|
|
@ -1,34 +1,28 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* ownCloud
|
||||||
* @author Bjoern Schiessle <schiessle@owncloud.com>
|
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Michael Gapczynski
|
||||||
* @license AGPL-3.0
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
|
* @copyright 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
|
* @copyright 2014 Robin McCorkell <rmccorkell@karoshi.org.uk>
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class to configure mount.json globally and for users
|
||||||
*/
|
*/
|
||||||
class OC_Mount_Config {
|
class OC_Mount_Config {
|
||||||
// TODO: make this class non-static and give it a proper namespace
|
// TODO: make this class non-static and give it a proper namespace
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_External\Config;
|
namespace OCA\Files_External\Config;
|
||||||
|
|
||||||
use OC\Files\Mount\MountPoint;
|
use OC\Files\Mount\MountPoint;
|
||||||
|
|
|
@ -1,32 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* ownCloud
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
*
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
* @author Michael Gapczynski
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
*
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* This library is free software; you can redistribute it and/or
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* @author Sascha Schmidt <realriot@realriot.de>
|
* License as published by the Free Software Foundation; either
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
* version 3 of the License, or any later version.
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
*
|
||||||
*
|
* This library is distributed in the hope that it will be useful,
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* @license AGPL-3.0
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
*
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
* This code is free software: you can redistribute it and/or modify
|
*
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* as published by the Free Software Foundation.
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*/
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php';
|
require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php';
|
||||||
|
|
|
@ -1,24 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
*
|
* later.
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* See the COPYING-README file.
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_External;
|
namespace OCA\Files_External;
|
||||||
|
|
||||||
use OC\Files\Filesystem;
|
use OC\Files\Filesystem;
|
||||||
|
|
|
@ -1,31 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Felix Moeller <mail@felixmoeller.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* later.
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
* See the COPYING-README file.
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
class FTP extends \OC\Files\Storage\StreamWrapper{
|
class FTP extends \OC\Files\Storage\StreamWrapper{
|
||||||
|
|
|
@ -1,33 +1,24 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Adam Williamson <awilliam@redhat.com>
|
* ownCloud
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
|
||||||
* @author Christopher Schäpers <kondou@ts.unde.re>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Michael Gapczynski
|
||||||
* @license AGPL-3.0
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
set_include_path(get_include_path().PATH_SEPARATOR.
|
set_include_path(get_include_path().PATH_SEPARATOR.
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* Copyright (c) 2013 Vincent Petry <pvince81@owncloud.com>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,23 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files_External;
|
namespace OCA\Files_External;
|
||||||
|
|
||||||
use OC\Files\Mount\MountPoint;
|
use OC\Files\Mount\MountPoint;
|
||||||
|
|
|
@ -1,30 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Andreas Fischer <bantu@owncloud.com>
|
* Copyright (c) 2012 Henrik Kjölhede <hkjolhede@gmail.com>
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author hkjolhede <hkjolhede@gmail.com>
|
* later.
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* See the COPYING-README file.
|
||||||
* @author Lennart Rosam <lennart.rosam@medien-systempartner.de>
|
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Ross Nicoll <jrn@jrn.me.uk>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Ross Nicoll <jrn@jrn.me.uk>
|
* Copyright (c) 2014, 2015 University of Edinburgh <Ross.Nicoll@ed.ac.uk>
|
||||||
*
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* later.
|
||||||
* @license AGPL-3.0
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
|
|
|
@ -1,30 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Arthur Schiwon <blizzz@owncloud.com>
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Michael Gapczynski <gapczynskim@gmail.com>
|
* later.
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
* See the COPYING-README file.
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
use Icewind\SMB\Exception\Exception;
|
use Icewind\SMB\Exception\Exception;
|
||||||
|
|
|
@ -1,26 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* Copyright (c) 2014 Robin McCorkell <rmccorkell@karoshi.org.uk>
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* later.
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* later.
|
||||||
* @author Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>
|
* See the COPYING-README file.
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
abstract class StreamWrapper extends Common {
|
abstract class StreamWrapper extends Common {
|
||||||
|
|
|
@ -1,32 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bart Visscher <bartv@thisnet.nl>
|
* ownCloud
|
||||||
* @author Benjamin Liles <benliles@arch.tamu.edu>
|
|
||||||
* @author Christian Berendt <berendt@b1-systems.de>
|
|
||||||
* @author Felix Moeller <mail@felixmoeller.de>
|
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Philipp Kapfer <philipp.kapfer@gmx.at>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
* @author Robin McCorkell <rmccorkell@karoshi.org.uk>
|
|
||||||
* @author Thomas Müller <thomas.mueller@tmit.eu>
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Christian Berendt
|
||||||
* @license AGPL-3.0
|
* @copyright 2013 Christian Berendt berendt@b1-systems.de
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OC\Files\Storage;
|
namespace OC\Files\Storage;
|
||||||
|
|
||||||
use Guzzle\Http\Exception\ClientErrorResponseException;
|
use Guzzle\Http\Exception\ClientErrorResponseException;
|
||||||
|
|
|
@ -1,23 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
// Check if we are a user
|
// Check if we are a user
|
||||||
OCP\User::checkLoggedIn();
|
OCP\User::checkLoggedIn();
|
||||||
|
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* ownCloud
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
*
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
* @author Michael Gapczynski
|
||||||
*
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
*
|
||||||
* @license AGPL-3.0
|
* This library is free software; you can redistribute it and/or
|
||||||
*
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* License as published by the Free Software Foundation; either
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* version 3 of the License, or any later version.
|
||||||
* as published by the Free Software Foundation.
|
*
|
||||||
*
|
* This library is distributed in the hope that it will be useful,
|
||||||
* This program is distributed in the hope that it will be useful,
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
* GNU Affero General Public License for more details.
|
*
|
||||||
*
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
*/
|
||||||
*
|
|
||||||
*/
|
|
||||||
OCP\Util::addScript('files_external', 'settings');
|
OCP\Util::addScript('files_external', 'settings');
|
||||||
OCP\Util::addStyle('files_external', 'settings');
|
OCP\Util::addStyle('files_external', 'settings');
|
||||||
$backends = OC_Mount_Config::getPersonalBackends();
|
$backends = OC_Mount_Config::getPersonalBackends();
|
||||||
|
|
|
@ -1,28 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Frank Karlitschek <frank@owncloud.org>
|
* ownCloud
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
*
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* @author Michael Gapczynski
|
||||||
* @author Lukas Reschke <lukas@owncloud.com>
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
*
|
||||||
* @author Morris Jobke <hey@morrisjobke.de>
|
* This library is free software; you can redistribute it and/or
|
||||||
*
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* License as published by the Free Software Foundation; either
|
||||||
* @license AGPL-3.0
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is distributed in the hope that it will be useful,
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* as published by the Free Software Foundation.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
*
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
* This program is distributed in the hope that it will be useful,
|
*
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* You should have received a copy of the GNU Affero General Public
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* GNU Affero General Public License for more details.
|
*/
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
OC_Util::checkAdminUser();
|
OC_Util::checkAdminUser();
|
||||||
|
|
||||||
OCP\Util::addScript('files_external', 'settings');
|
OCP\Util::addScript('files_external', 'settings');
|
||||||
|
|
|
@ -1,24 +1,26 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* ownCloud
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Jörn Friedrich Dreyer
|
||||||
* @license AGPL-3.0
|
* @copyright 2012 Jörn Friedrich Dreyer jfd@owncloud.com
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Test\Files\Storage;
|
namespace Test\Files\Storage;
|
||||||
|
|
||||||
class AmazonS3Migration extends \Test\TestCase {
|
class AmazonS3Migration extends \Test\TestCase {
|
||||||
|
|
|
@ -1,26 +1,27 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* ownCloud
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
||||||
* @author Michael Gapczynski <GapczynskiM@gmail.com>
|
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
|
||||||
*
|
*
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
* @author Michael Gapczynski
|
||||||
* @license AGPL-3.0
|
* @author Christian Berendt
|
||||||
|
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
|
||||||
|
* @copyright 2013 Christian Berendt berendt@b1-systems.de
|
||||||
*
|
*
|
||||||
* This code is free software: you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
* as published by the Free Software Foundation.
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 3 of the License, or any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU Affero General Public License for more details.
|
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Test\Files\Storage;
|
namespace Test\Files\Storage;
|
||||||
|
|
||||||
class AmazonS3 extends Storage {
|
class AmazonS3 extends Storage {
|
||||||
|
|
|
@ -1,26 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @author Joas Schilling <nickvergessen@gmx.de>
|
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
|
||||||
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
* This file is licensed under the Affero General Public License version 3 or
|
||||||
* @author Robin Appelman <icewind@owncloud.com>
|
* later.
|
||||||
* @author Vincent Petry <pvince81@owncloud.com>
|
* See the COPYING-README file.
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2015, ownCloud, Inc.
|
|
||||||
* @license AGPL-3.0
|
|
||||||
*
|
|
||||||
* This code is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License, version 3,
|
|
||||||
* as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Test\Files\Storage;
|
namespace Test\Files\Storage;
|
||||||
|
|
||||||
class Dropbox extends Storage {
|
class Dropbox extends Storage {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue