Updating license headers

This commit is contained in:
Jenkins for ownCloud 2015-02-23 05:28:53 -05:00 committed by Thomas Müller
parent fd6d56290e
commit 6a1a4880f0
800 changed files with 14942 additions and 7446 deletions

View file

@ -1,26 +1,29 @@
<?php <?php
/** /**
* ownCloud - ajax frontend * @author Arthur Schiwon <blizzz@owncloud.com>
* * @author Frank Karlitschek <frank@owncloud.org>
* @author Robin Appelman * @author Jakob Sack <mail@jakobsack.de>
* @copyright 2010 Robin Appelman icewind1991@gmail.com * @author Lukas Reschke <lukas@owncloud.com>
* * @author Michael Göhler <somebody.here@gmx.de>
* 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 * @author Thomas Müller <thomas.mueller@tmit.eu>
* License as published by the Free Software Foundation; either *
* version 3 of the License, or any later version. * @copyright Copyright (c) 2015, ownCloud, Inc.
* * @license AGPL-3.0
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This code is free software: you can redistribute it and/or modify
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * it under the terms of the GNU Affero General Public License, version 3,
* GNU AFFERO GENERAL PUBLIC LICENSE for more details. * as published by the Free Software Foundation.
* *
* You should have received a copy of the GNU Affero General Public * This program is distributed in the hope that it will be useful,
* License along with this library. If not, see <http://www.gnu.org/licenses/>. * 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\User::checkAdminUser(); OCP\User::checkAdminUser();
$htaccessWorking=(getenv('htaccessWorking')=='true'); $htaccessWorking=(getenv('htaccessWorking')=='true');

View file

@ -1,5 +1,32 @@
<?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();

View file

@ -1,26 +1,29 @@
<?php <?php
/** /**
* ownCloud - ajax frontend * @author Andreas Fischer <bantu@owncloud.com>
* * @author Bart Visscher <bartv@thisnet.nl>
* @author Robin Appelman * @author Björn Schießle <schiessle@owncloud.com>
* @copyright 2010 Robin Appelman icewind1991@gmail.com * @author Frank Karlitschek <frank@owncloud.org>
* * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* This library is free software; you can redistribute it and/or * @author Lukas Reschke <lukas@owncloud.com>
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @author Robin Appelman <icewind@owncloud.com>
* License as published by the Free Software Foundation; either *
* version 3 of the License, or any later version. * @copyright Copyright (c) 2015, ownCloud, Inc.
* * @license AGPL-3.0
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This code is free software: you can redistribute it and/or modify
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * it under the terms of the GNU Affero General Public License, version 3,
* GNU AFFERO GENERAL PUBLIC LICENSE for more details. * as published by the Free Software Foundation.
* *
* You should have received a copy of the GNU Affero General Public * This program is distributed in the hope that it will be useful,
* License along with this library. If not, see <http://www.gnu.org/licenses/>. * 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();
\OC::$server->getSession()->close(); \OC::$server->getSession()->close();

View file

@ -1,5 +1,27 @@
<?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'])) {

View file

@ -1,5 +1,27 @@
<?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');

View file

@ -1,4 +1,25 @@
<?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'] : '';

View file

@ -1,5 +1,29 @@
<?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();

View file

@ -1,5 +1,31 @@
<?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;

View file

@ -1,5 +1,31 @@
<?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

View file

@ -1,26 +1,29 @@
<?php <?php
/** /**
* ownCloud - Core * @author Christopher Schäpers <kondou@ts.unde.re>
* @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>
* *
* @author Morris Jobke * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Morris Jobke morris.jobke@gmail.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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\JSON::checkLoggedIn(); OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck(); OCP\JSON::callCheck();
\OC::$server->getSession()->close(); \OC::$server->getSession()->close();

View file

@ -1,4 +1,26 @@
<?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();

View file

@ -1,5 +1,36 @@
<?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

View file

@ -1,5 +1,29 @@
<?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');

View file

@ -1,11 +1,24 @@
<?php <?php
/** /**
* Copyright (c) 2014 Lukas Reschke <lukas@owncloud.com> * @author Tobias Kaminsky <tobias@kaminsky.me>
* 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\Appinfo; namespace OCA\Files\Appinfo;
use OC\AppFramework\Utility\SimpleContainer; use OC\AppFramework\Utility\SimpleContainer;

View file

@ -1,9 +1,21 @@
<?php <?php
/** /**
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl> * @author Bart Visscher <bartv@thisnet.nl>
* 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/>
*
*/ */
$application->add(new OCA\Files\Command\Scan(OC_User::getManager())); $application->add(new OCA\Files\Command\Scan(OC_User::getManager()));

View file

@ -1,28 +1,31 @@
<?php <?php
/** /**
* ownCloud * @author Bart Visscher <bartv@thisnet.nl>
* @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>
* *
* @author Frank Karlitschek * @copyright Copyright (c) 2015, ownCloud, Inc.
* @author Jakob Sack * @license AGPL-3.0
* @copyright 2012 Frank Karlitschek frank@owncloud.org
* @copyright 2011 Jakob Sack kde@jakobsack.de
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
// Backends // Backends
$authBackend = new OC_Connector_Sabre_Auth(); $authBackend = new OC_Connector_Sabre_Auth();
$lockBackend = new OC_Connector_Sabre_Locks(); $lockBackend = new OC_Connector_Sabre_Locks();

View file

@ -1,11 +1,27 @@
<?php <?php
/** /**
* Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl> * @author Bart Visscher <bartv@thisnet.nl>
* This file is licensed under the Affero General Public License version 3 or * @author Lukas Reschke <lukas@owncloud.com>
* later. * @author Tobias Kaminsky <tobias@kaminsky.me>
* See the COPYING-README file. * @author Tom Needham <tom@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/>
*
*/ */
namespace OCA\Files\Appinfo; namespace OCA\Files\Appinfo;
$application = new Application(); $application = new Application();

View file

@ -1,12 +1,26 @@
<?php <?php
/** /**
* Copyright (c) 2013 Thomas Müller <thomas.mueller@tmit.eu> * @author Bart Visscher <bartv@thisnet.nl>
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl> * @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 OCA\Files\Command; namespace OCA\Files\Command;
use OC\ForbiddenException; use OC\ForbiddenException;

View file

@ -1,11 +1,26 @@
<?php <?php
/** /**
* Copyright (c) 2014-2015 Lukas Reschke <lukas@owncloud.com> * @author Joas Schilling <nickvergessen@gmx.de>
* This file is licensed under the Affero General Public License version 3 or * @author Lukas Reschke <lukas@owncloud.com>
* later. * @author Tobias Kaminsky <tobias@kaminsky.me>
* 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\Controller; namespace OCA\Files\Controller;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;

View file

@ -1,26 +1,28 @@
<?php <?php
/** /**
* ownCloud - ajax frontend * @author Felix Moeller <mail@felixmoeller.de>
* * @author Frank Karlitschek <frank@owncloud.org>
* @author Robin Appelman * @author Jakob Sack <mail@jakobsack.de>
* @copyright 2010 Robin Appelman icewind1991@gmail.com * @author Lukas Reschke <lukas@owncloud.com>
* * @author Robin Appelman <icewind@owncloud.com>
* This library is free software; you can redistribute it and/or * @author Vincent Petry <pvince81@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();

View file

@ -1,23 +1,31 @@
<?php <?php
/** /**
* ownCloud - ajax frontend * @author Bjoern Schiessle <schiessle@owncloud.com>
* @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>
* *
* @author Robin Appelman * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2010 Robin Appelman icewind1991@gmail.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
use OCA\Files\Appinfo\Application; use OCA\Files\Appinfo\Application;

View file

@ -1,15 +1,23 @@
<?php <?php
/** /**
* ownCloud - Files Activity Extension * @author Joas Schilling <nickvergessen@gmx.de>
* *
* @author Joas Schilling * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2015 Joas Schilling nickvergessen@owncloud.com * @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/>
* *
* 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;

View file

@ -1,27 +1,28 @@
<?php <?php
/** /**
* ownCloud - Core * @author Bjoern Schiessle <schiessle@owncloud.com>
* @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>
* *
* @author Morris Jobke * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Morris Jobke morris.jobke@gmail.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files; namespace OCA\Files;
class App { class App {

View file

@ -1,11 +1,24 @@
<?php <?php
/** /**
* Copyright (c) 2013 Tom Needham <tom@owncloud.com> * @author Christopher Schäpers <kondou@ts.unde.re>
* 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; namespace OCA\Files;
class Capabilities { class Capabilities {

View file

@ -1,11 +1,30 @@
<?php <?php
/** /**
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com> * @author Bjoern Schiessle <schiessle@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or * @author brumsel <brumsel@losecatcher.de>
* later. * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* See the COPYING-README file. * @author Lukas Reschke <lukas@owncloud.com>
* @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;

View file

@ -1,26 +1,23 @@
<?php <?php
/** /**
* ownCloud - Files list * @author Vincent Petry <pvince81@owncloud.com>
* *
* @author Vincent Petry * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2014 Vincent Petry <pvince81@owncloud.com> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
// Check if we are a user // Check if we are a user
OCP\User::checkLoggedIn(); OCP\User::checkLoggedIn();

View file

@ -1,11 +1,24 @@
<?php <?php
/** /**
* 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 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\Service; namespace OCA\Files\Service;
use OC\Files\FileInfo; use OC\Files\FileInfo;

View file

@ -1,26 +1,23 @@
<?php <?php
/** /**
* ownCloud - Simple files list * @author Vincent Petry <pvince81@owncloud.com>
* *
* @author Vincent Petry * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2014 Vincent Petry <pvince81@owncloud.com> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
// TODO: move to handlebars // TODO: move to handlebars
// renders the controls and table headers template // renders the controls and table headers template

View file

@ -1,26 +1,29 @@
<?php <?php
/** /**
* ownCloud - Core * @author Bjoern Schiessle <schiessle@owncloud.com>
* @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>
* *
* @author Morris Jobke * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Morris Jobke morris.jobke@gmail.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
class Test_OC_Files_App_Rename extends \Test\TestCase { class Test_OC_Files_App_Rename extends \Test\TestCase {
private static $user; private static $user;

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 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 *
* 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\Controller; namespace OCA\Files\Controller;
use OC\Files\FileInfo; use OC\Files\FileInfo;

View file

@ -1,11 +1,26 @@
<?php <?php
/** /**
* 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 Joas Schilling <nickvergessen@gmx.de>
* later. * @author Robin Appelman <icewind@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/>
*
*/ */
use OCA\Files; use OCA\Files;
/** /**

View file

@ -1,23 +1,21 @@
<?php <?php
/** /**
* ownCloud * @author Vincent Petry <pvince81@owncloud.com>
* *
* @author Vincent Petry * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2014 Vincent Petry <pvince81@owncloud.com> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files; namespace OCA\Files;

View file

@ -1,13 +1,29 @@
<?php <?php
/** /**
* Copyright (c) 2013, Sam Tuke <samtuke@owncloud.com> * @author Bjoern Schiessle <schiessle@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or later. * @author Björn Schießle <schiessle@owncloud.com>
* 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>
* @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();

View file

@ -1,14 +1,29 @@
<?php <?php
/** /**
* 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 Björn Schießle <schiessle@owncloud.com>
* See the COPYING-README file. * @author Christopher Schäpers <kondou@ts.unde.re>
* @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>
* *
* Script to change recovery key password * @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::checkAdminUser(); \OCP\JSON::checkAdminUser();
\OCP\JSON::checkAppEnabled('files_encryption'); \OCP\JSON::checkAppEnabled('files_encryption');
\OCP\JSON::callCheck(); \OCP\JSON::callCheck();

View file

@ -1,12 +1,27 @@
<?php <?php
/** /**
* Copyright (c) 2013, Bjoern Schiessle <schiessle@owncloud.com> * @author Arthur Schiwon <blizzz@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or later. * @author Bjoern Schiessle <schiessle@owncloud.com>
* See the COPYING-README file. * @author Joas Schilling <nickvergessen@gmx.de>
* @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');

View file

@ -1,14 +1,28 @@
<?php <?php
/** /**
* 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 Björn Schießle <schiessle@owncloud.com>
* See the COPYING-README file. * @author Christopher Schäpers <kondou@ts.unde.re>
* @author Joas Schilling <nickvergessen@gmx.de>
* @author Lukas Reschke <lukas@owncloud.com>
* @author Robin Appelman <icewind@owncloud.com>
* *
* Script to change recovery key password * @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::checkAppEnabled('files_encryption'); \OCP\JSON::checkAppEnabled('files_encryption');
\OCP\JSON::callCheck(); \OCP\JSON::callCheck();

View file

@ -1,12 +1,29 @@
<?php <?php
/** /**
* Copyright (c) 2013, Sam Tuke <samtuke@owncloud.com> * @author Bjoern Schiessle <schiessle@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or later. * @author Björn Schießle <schiessle@owncloud.com>
* 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 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();

View file

@ -1,5 +1,29 @@
<?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');

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 2015 Thomas Müller <deepdiver@owncloud.com> * @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/>
*
*/ */
use OCA\Files_Encryption\Command\MigrateKeys; use OCA\Files_Encryption\Command\MigrateKeys;
$userManager = OC::$server->getUserManager(); $userManager = OC::$server->getUserManager();

View file

@ -1,12 +1,25 @@
<?php <?php
/** /**
* 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 later. * @author Lukas Reschke <lukas@owncloud.com>
* See the COPYING-README file. * @author Tom Needham <tom@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/>
*
*/ */
/** @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')

View file

@ -1,5 +1,24 @@
<?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');

View file

@ -1,11 +1,24 @@
<?php <?php
/** /**
* Copyright (c) 2015 Thomas Müller <thomas.mueller@tmit.eu> * @author Arthur Schiwon <blizzz@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or * @author Thomas Müller <thomas.mueller@tmit.eu>
* 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\Command; namespace OCA\Files_Encryption\Command;
use OCA\Files_Encryption\Migration; use OCA\Files_Encryption\Migration;

View file

@ -1,26 +1,25 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption\Exception; namespace OCA\Files_Encryption\Exception;
/** /**

View file

@ -1,26 +1,24 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption\Exception; namespace OCA\Files_Encryption\Exception;
/** /**

View file

@ -1,26 +1,24 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption\Exception; namespace OCA\Files_Encryption\Exception;
/** /**

View file

@ -1,5 +1,28 @@
<?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';

View file

@ -1,11 +1,25 @@
<?php <?php
/** /**
* Copyright (c) 2013 Tom Needham <tom@owncloud.com> * @author Christopher Schäpers <kondou@ts.unde.re>
* This file is licensed under the Affero General Public License version 3 or * @author Joas Schilling <nickvergessen@gmx.de>
* 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/>
*
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
class Capabilities { class Capabilities {

View file

@ -1,30 +1,33 @@
<?php <?php
/**
/** * @author Bjoern Schiessle <schiessle@owncloud.com>
* ownCloud * @author Björn Schießle <schiessle@owncloud.com>
* * @author Florin Peter <github@florin-peter.de>
* @copyright (C) 2014 ownCloud, Inc. * @author Joas Schilling <nickvergessen@gmx.de>
* * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Bjoern Schiessle <schiessle@owncloud.com> * @author Morris Jobke <hey@morrisjobke.de>
* @author Sam Tuke <samtuke@owncloud.com> * @author Owen Winkler <a_github@midnightcircus.com>
* @author Frank Karlitschek <frank@owncloud.com> * @author Robin McCorkell <rmccorkell@karoshi.org.uk>
* @author Robin Appelman <icewind@owncloud.com> * @author Sam Tuke <mail@samtuke.com>
* * @author Scott Arciszewski <scott@arciszewski.me>
* 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/>
*
*/
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
/** /**

View file

@ -1,28 +1,33 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
/** /**

View file

@ -1,28 +1,23 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
/** /**

View file

@ -1,27 +1,34 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
/** /**

View file

@ -1,26 +1,26 @@
<?php <?php
/** /**
* ownCloud * @author Arthur Schiwon <blizzz@owncloud.com>
*
* @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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;

View file

@ -1,35 +1,32 @@
<?php <?php
/** /**
* ownCloud
*
* @copyright (C) 2014 ownCloud, Inc.
*
* @author Bjoern Schiessle <schiessle@owncloud.com> * @author Bjoern Schiessle <schiessle@owncloud.com>
* @author Sam Tuke <samtuke@owncloud.com> * @author Björn Schießle <schiessle@owncloud.com>
* @author Robin Appelman <icewind1991@gmail.com> * @author Florin Peter <github@florin-peter.de>
* @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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
/**
* 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;
/** /**

View file

@ -1,27 +1,32 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
/** /**

View file

@ -1,35 +1,31 @@
<?php <?php
/** /**
* ownCloud
*
* @copyright (C) 2014 ownCloud, Inc.
*
* @author Bjoern Schiessle <schiessle@owncloud.com> * @author Bjoern Schiessle <schiessle@owncloud.com>
* @author Robin Appelman <icewind@owncloud.com> * @author Björn Schießle <schiessle@owncloud.com>
* @author Sam Tuke <samtuke@owncloud.com> * @author Florin Peter <github@florin-peter.de>
* @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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
/**
* 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;

View file

@ -1,28 +1,36 @@
<?php <?php
/** /**
* ownCloud * @author Arthur Schiwon <blizzz@owncloud.com>
*
* @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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption; namespace OCA\Files_Encryption;
/** /**

View file

@ -1,11 +1,27 @@
<?php <?php
/** /**
* Copyright (c) 2011 Robin Appelman <icewind@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 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/>
*
*/ */
\OC_Util::checkAdminUser(); \OC_Util::checkAdminUser();
$tmpl = new OCP\Template('files_encryption', 'settings-admin'); $tmpl = new OCP\Template('files_encryption', 'settings-admin');

View file

@ -1,11 +1,29 @@
<?php <?php
/** /**
* Copyright (c) 2013 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 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');

View file

@ -1,12 +1,32 @@
<?php <?php
/** /**
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com>, and * @author Andreas Fischer <bantu@owncloud.com>
* Robin Appelman <icewind@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 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;
/** /**

View file

@ -1,11 +1,25 @@
<?php <?php
/** /**
* 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 * @author Joas Schilling <nickvergessen@gmx.de>
* later. * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* 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;

View file

@ -1,25 +1,28 @@
<?php <?php
/** /**
* ownCloud * @author Bjoern Schiessle <schiessle@owncloud.com>
* @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>
* *
* @author Bjoern Schiessle * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2014 Bjoern Schiessle <schiessle@owncloud.com> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
/** /**

View file

@ -1,11 +1,30 @@
<?php <?php
/** /**
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com> * @author Andreas Fischer <bantu@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or * @author Bjoern Schiessle <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 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;
/** /**

View file

@ -1,26 +1,27 @@
<?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>
* *
* This library is free software; you can redistribute it and/or * @copyright Copyright (c) 2015, ownCloud, Inc.
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * @license AGPL-3.0
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* This library is distributed in the hope that it will be useful, * 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 * 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
class Migration extends TestCase { class Migration extends TestCase {

View file

@ -1,25 +1,29 @@
<?php <?php
/** /**
* ownCloud * @author Bjoern Schiessle <schiessle@owncloud.com>
* @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>
* *
* @author Bjoern Schiessle * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Bjoern Schiessle <schiessle@owncloud.com> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
/** /**

View file

@ -1,25 +1,30 @@
<?php <?php
/** /**
* ownCloud * @author Bart Visscher <bartv@thisnet.nl>
* @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>
* *
* @author Florin Peter * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Florin Peter <owncloud@florin-peter.de> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
/** /**

View file

@ -1,25 +1,29 @@
<?php <?php
/** /**
* ownCloud * @author Bjoern Schiessle <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 Thomas Müller <thomas.mueller@tmit.eu>
* *
* @author Florin Peter * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Florin Peter <owncloud@florin-peter.de> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
/** /**

View file

@ -1,11 +1,24 @@
<?php <?php
/** /**
* 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 Joas Schilling <nickvergessen@gmx.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;
/** /**

View file

@ -1,25 +1,30 @@
<?php <?php
/** /**
* ownCloud * @author Bjoern Schiessle <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 Thomas Müller <thomas.mueller@tmit.eu>
* @author Vincent Petry <pvince81@owncloud.com>
* *
* @author Florin Peter * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Florin Peter <owncloud@florin-peter.de> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
/** /**

View file

@ -1,11 +1,35 @@
<?php <?php
/** /**
* Copyright (c) 2012 Sam Tuke <samtuke@owncloud.com> * @author Andreas Fischer <bantu@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or * @author Bjoern Schiessle <schiessle@owncloud.com>
* later. * @author Björn Schießle <schiessle@owncloud.com>
* See the COPYING-README file. * @author Florin Peter <github@florin-peter.de>
* @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;
/** /**

View file

@ -1,25 +1,31 @@
<?php <?php
/** /**
* ownCloud * @author Bjoern Schiessle <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 Lukas Reschke <lukas@owncloud.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <icewind@owncloud.com>
* @author Thomas Müller <thomas.mueller@tmit.eu>
* *
* @author Florin Peter * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Florin Peter <owncloud@florin-peter.de> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_Encryption\Tests; namespace OCA\Files_Encryption\Tests;
/** /**

View file

@ -1,5 +1,26 @@
<?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();

View file

@ -1,5 +1,24 @@
<?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();

View file

@ -1,5 +1,28 @@
<?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');

View file

@ -1,4 +1,30 @@
<?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';

View file

@ -1,5 +1,25 @@
<?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();

View file

@ -1,10 +1,34 @@
<?php <?php
/** /**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> * @author Christian Berendt <berendt@b1-systems.de>
* Copyright (c) 2014 Robin McCorkell <rmccorkell@karoshi.org.uk> * @author fibsifan <fi@volans.uberspace.de>
* This file is licensed under the Affero General Public License version 3 or * @author Jan-Christoph Borchardt <hey@jancborchardt.net>
* later. * @author j-ed <juergen@eisfair.org>
* See the COPYING-README file. * @author Martin Mattel <martin.mattel@diemattels.at>
* @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');

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 2015 University of Edinburgh <Ross.Nicoll@ed.ac.uk> * @author Ross Nicoll <jrn@jrn.me.uk>
* 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\Appinfo; namespace OCA\Files_External\Appinfo;
use \OCA\Files_External\Controller\AjaxController; use \OCA\Files_External\Controller\AjaxController;

View file

@ -1,25 +1,25 @@
<?php <?php
/** /**
* ownCloud - External Storage Routes * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Ross Nicoll <jrn@jrn.me.uk>
* @author Vincent Petry <pvince81@owncloud.com>
* *
* @author Vincent Petry * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2014 Vincent Petry <pvince81@owncloud.com> * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files_External\Appinfo; namespace OCA\Files_External\Appinfo;
$application = new Application(); $application = new Application();

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 2015 University of Edinburgh <Ross.Nicoll@ed.ac.uk> * @author Ross Nicoll <jrn@jrn.me.uk>
* 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\Controller; namespace OCA\Files_External\Controller;
use OCP\AppFramework\Controller; use OCP\AppFramework\Controller;

View file

@ -1,27 +1,35 @@
<?php <?php
/** /**
* ownCloud * @author André Gaul <gaul@web-yard.de>
* @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>
* *
* @author Michael Gapczynski * @copyright Copyright (c) 2015, ownCloud, Inc.
* @author Christian Berendt * @license AGPL-3.0
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
* @copyright 2013 Christian Berendt berendt@b1-systems.de
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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 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 .

View file

@ -1,25 +1,24 @@
<?php <?php
/** /**
* ownCloud * @author Joas Schilling <nickvergessen@gmx.de>
* @author Vincent Petry <pvince81@owncloud.com>
* *
* @author Vincent Petry * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2014 Vincent Petry pvince81@owncloud.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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/>
* *
*/ */
namespace OCA\Files\External; namespace OCA\Files\External;
class Api { class Api {

View file

@ -1,28 +1,34 @@
<?php <?php
/** /**
* ownCloud * @author Bart Visscher <bartv@thisnet.nl>
* @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>
* *
* @author Michael Gapczynski * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com * @license AGPL-3.0
* @copyright 2014 Vincent Petry <pvince81@owncloud.com>
* @copyright 2014 Robin McCorkell <rmccorkell@karoshi.org.uk>
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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 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

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com> * @author Robin Appelman <icewind@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\Config; namespace OCA\Files_External\Config;
use OC\Files\Mount\MountPoint; use OC\Files\Mount\MountPoint;

View file

@ -1,25 +1,32 @@
<?php <?php
/** /**
* ownCloud * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* * @author Michael Gapczynski <gapczynskim@gmail.com>
* @author Michael Gapczynski * @author Michael Gapczynski <GapczynskiM@gmail.com>
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com * @author Morris Jobke <hey@morrisjobke.de>
* * @author Philipp Kapfer <philipp.kapfer@gmx.at>
* 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 * @author Robin McCorkell <rmccorkell@karoshi.org.uk>
* License as published by the Free Software Foundation; either * @author Sascha Schmidt <realriot@realriot.de>
* version 3 of the License, or any later version. * @author Thomas Müller <thomas.mueller@tmit.eu>
* * @author Vincent Petry <pvince81@owncloud.com>
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * @copyright Copyright (c) 2015, ownCloud, Inc.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @license AGPL-3.0
* GNU AFFERO GENERAL PUBLIC LICENSE for more details. *
* * This code is free software: you can redistribute it and/or modify
* You should have received a copy of the GNU Affero General Public * it under the terms of the GNU Affero General Public License, version 3,
* License along with this library. If not, see <http://www.gnu.org/licenses/>. * 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;
require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php'; require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php';

View file

@ -1,11 +1,24 @@
<?php <?php
/** /**
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com> * @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_External; namespace OCA\Files_External;
use OC\Files\Filesystem; use OC\Files\Filesystem;

View file

@ -1,11 +1,31 @@
<?php <?php
/** /**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> * @author Bart Visscher <bartv@thisnet.nl>
* This file is licensed under the Affero General Public License version 3 or * @author Felix Moeller <mail@felixmoeller.de>
* later. * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* 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 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{

View file

@ -1,24 +1,33 @@
<?php <?php
/** /**
* ownCloud * @author Adam Williamson <awilliam@redhat.com>
* @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>
* *
* @author Michael Gapczynski * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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 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.

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 2013 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 OC\Files\Storage; namespace OC\Files\Storage;
/** /**

View file

@ -1,11 +1,23 @@
<?php <?php
/** /**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> * @author Robin Appelman <icewind@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\Mount\MountPoint; use OC\Files\Mount\MountPoint;

View file

@ -1,9 +1,30 @@
<?php <?php
/** /**
* Copyright (c) 2012 Henrik Kjölhede <hkjolhede@gmail.com> * @author Andreas Fischer <bantu@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or * @author Bart Visscher <bartv@thisnet.nl>
* later. * @author hkjolhede <hkjolhede@gmail.com>
* See the COPYING-README file. * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @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;

View file

@ -1,9 +1,22 @@
<?php <?php
/** /**
* Copyright (c) 2014, 2015 University of Edinburgh <Ross.Nicoll@ed.ac.uk> * @author Ross Nicoll <jrn@jrn.me.uk>
* 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 OC\Files\Storage; namespace OC\Files\Storage;

View file

@ -1,11 +1,30 @@
<?php <?php
/** /**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> * @author Arthur Schiwon <blizzz@owncloud.com>
* 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;
use Icewind\SMB\Exception\Exception; use Icewind\SMB\Exception\Exception;

View file

@ -1,11 +1,26 @@
<?php <?php
/** /**
* Copyright (c) 2014 Robin McCorkell <rmccorkell@karoshi.org.uk> * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* This file is licensed under the Affero General Public License version 3 or * @author Lukas Reschke <lukas@owncloud.com>
* later. * @author Robin Appelman <icewind@owncloud.com>
* See the COPYING-README file. * @author Robin McCorkell <rmccorkell@karoshi.org.uk>
*
* @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;

View file

@ -1,11 +1,28 @@
<?php <?php
/** /**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> * @author Bart Visscher <bartv@thisnet.nl>
* This file is licensed under the Affero General Public License version 3 or * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* later. * @author Robin Appelman <icewind@owncloud.com>
* See the COPYING-README file. * @author Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.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 OC\Files\Storage; namespace OC\Files\Storage;
abstract class StreamWrapper extends Common { abstract class StreamWrapper extends Common {

View file

@ -1,25 +1,32 @@
<?php <?php
/** /**
* ownCloud * @author Bart Visscher <bartv@thisnet.nl>
* @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>
* *
* @author Christian Berendt * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2013 Christian Berendt berendt@b1-systems.de * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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 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;

View file

@ -1,5 +1,23 @@
<?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();

View file

@ -1,25 +1,25 @@
<?php <?php
/** /**
* ownCloud * @author Joas Schilling <nickvergessen@gmx.de>
* * @author Lukas Reschke <lukas@owncloud.com>
* @author Michael Gapczynski * @author Michael Gapczynski <GapczynskiM@gmail.com>
* @copyright 2012 Michael Gapczynski mtgap@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 * This code is free software: you can redistribute it and/or modify
* version 3 of the License, or any later version. * it under the terms of the GNU Affero General Public License, version 3,
* * as published by the Free Software Foundation.
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful,
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
* GNU AFFERO GENERAL PUBLIC LICENSE for more details. * 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 along with this library. If not, see <http://www.gnu.org/licenses/>. * 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_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();

View file

@ -1,25 +1,28 @@
<?php <?php
/** /**
* ownCloud * @author Frank Karlitschek <frank@owncloud.org>
* * @author Joas Schilling <nickvergessen@gmx.de>
* @author Michael Gapczynski * @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com * @author Lukas Reschke <lukas@owncloud.com>
* * @author Michael Gapczynski <GapczynskiM@gmail.com>
* This library is free software; you can redistribute it and/or * @author Morris Jobke <hey@morrisjobke.de>
* 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/>
*
*/
OC_Util::checkAdminUser(); OC_Util::checkAdminUser();
OCP\Util::addScript('files_external', 'settings'); OCP\Util::addScript('files_external', 'settings');

View file

@ -1,26 +1,24 @@
<?php <?php
/** /**
* ownCloud * @author Joas Schilling <nickvergessen@gmx.de>
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* *
* @author Jörn Friedrich Dreyer * @copyright Copyright (c) 2015, ownCloud, Inc.
* @copyright 2012 Jörn Friedrich Dreyer jfd@owncloud.com * @license AGPL-3.0
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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 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 {

View file

@ -1,27 +1,26 @@
<?php <?php
/** /**
* ownCloud * @author Joas Schilling <nickvergessen@gmx.de>
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Michael Gapczynski <GapczynskiM@gmail.com>
* @author Robin Appelman <icewind@owncloud.com>
* *
* @author Michael Gapczynski * @copyright Copyright (c) 2015, ownCloud, Inc.
* @author Christian Berendt * @license AGPL-3.0
* @copyright 2012 Michael Gapczynski mtgap@owncloud.com
* @copyright 2013 Christian Berendt berendt@b1-systems.de
* *
* This library is free software; you can redistribute it and/or * This code is free software: you can redistribute it and/or modify
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * it under the terms of the GNU Affero General Public License, version 3,
* License as published by the Free Software Foundation; either * as published by the Free Software Foundation.
* version 3 of the License, or any later version.
* *
* 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 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 {

Some files were not shown because too many files have changed in this diff Show more