fixing file headers with copy right

This commit is contained in:
Thomas Müller 2012-05-05 18:13:40 +02:00
parent c0e67fa24a
commit d46bea8867
5 changed files with 90 additions and 66 deletions

View File

@ -1,18 +1,26 @@
<?php <?php
/** /**
* HTTP Basic authentication backend class * ownCloud
* *
* This class can be used by authentication objects wishing to use HTTP Basic * @author Jakob Sack
* Most of the digest logic is handled, implementors just need to worry about * @copyright 2011 Jakob Sack kde@jakobsack.de
* the validateUserPass method. *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library 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 along with this library. If not, see <http://www.gnu.org/licenses/>.
* *
* @package Sabre
* @subpackage DAV
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved.
* @author James David Low (http://jameslow.com/)
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/ */
class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic { class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
/** /**
* Validates a username and password * Validates a username and password

View File

@ -1,13 +1,26 @@
<?php <?php
/** /**
* Directory class * ownCloud
* *
* @package Sabre * @author Jakob Sack
* @subpackage DAV * @copyright 2011 Jakob Sack kde@jakobsack.de
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved. *
* @author Evert Pot (http://www.rooftopsolutions.nl/) * This library is free software; you can redistribute it and/or
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library 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 along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sabre_DAV_ICollection, Sabre_DAV_IQuota { class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sabre_DAV_ICollection, Sabre_DAV_IQuota {
/** /**

View File

@ -1,13 +1,26 @@
<?php <?php
/** /**
* File class * ownCloud
* *
* @package Sabre * @author Jakob Sack
* @subpackage DAV * @copyright 2011 Jakob Sack kde@jakobsack.de
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved. *
* @author Evert Pot (http://www.rooftopsolutions.nl/) * This library is free software; you can redistribute it and/or
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library 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 along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_DAV_IFile { class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_DAV_IFile {
/** /**

View File

@ -1,34 +1,26 @@
<?php <?php
/** /**
* The Lock manager allows you to handle all file-locks centrally. * ownCloud
* *
* This Lock Manager stores all its data in a database. You must pass a PDO * @author Jakob Sack
* connection object in the constructor. * @copyright 2011 Jakob Sack kde@jakobsack.de
*
* @package Sabre
* @subpackage DAV
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved.
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/
/*
* *
* The following SQL statement is just a help for developers and will not be * This library is free software; you can redistribute it and/or
* executed! * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* CREATE TABLE locks ( * This library is distributed in the hope that it will be useful,
* `id` INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, * but WITHOUT ANY WARRANTY; without even the implied warranty of
* `userid` VARCHAR(200), * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* `owner` VARCHAR(100), * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
* `timeout` INTEGER UNSIGNED, *
* `created` INTEGER, * You should have received a copy of the GNU Affero General Public
* `token` VARCHAR(100), * License along with this library. If not, see <http://www.gnu.org/licenses/>.
* `scope` TINYINT,
* `depth` TINYINT,
* `uri` text
* );
* *
*/ */
class OC_Connector_Sabre_Locks extends Sabre_DAV_Locks_Backend_Abstract { class OC_Connector_Sabre_Locks extends Sabre_DAV_Locks_Backend_Abstract {
/** /**

View File

@ -1,28 +1,26 @@
<?php <?php
/** /**
* Base node-class * ownCloud
* *
* The node class implements the method used by both the File and the Directory classes * @author Jakob Sack
* * @copyright 2011 Jakob Sack kde@jakobsack.de
* @package Sabre
* @subpackage DAV
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved.
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/
/*
* *
* The following SQL statement is just a help for developers and will not be * This library is free software; you can redistribute it and/or
* executed! * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* *
* CREATE TABLE IF NOT EXISTS `properties` ( * This library is distributed in the hope that it will be useful,
* `userid` varchar(200) COLLATE utf8_unicode_ci NOT NULL, * but WITHOUT ANY WARRANTY; without even the implied warranty of
* `propertypath` varchar(255) COLLATE utf8_unicode_ci NOT NULL, * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* `propertyname` varchar(255) COLLATE utf8_unicode_ci NOT NULL, * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
* `propertyvalue` text COLLATE utf8_unicode_ci NOT NULL *
* ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; * 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/>.
* *
*/ */
abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IProperties { abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IProperties {
/** /**