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
*
* @author Jakob Sack
* @copyright 2011 Jakob Sack kde@jakobsack.de
*
* 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 Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/ */
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
*
* @author Jakob Sack
* @copyright 2011 Jakob Sack kde@jakobsack.de
*
* 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 Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/ */
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 * This library is free software; you can redistribute it and/or
* @subpackage DAV * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved. * License as published by the Free Software Foundation; either
* @author Evert Pot (http://www.rooftopsolutions.nl/) * version 3 of the License, or any later version.
* @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 distributed in the hope that it will be useful,
* executed! * 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.
* *
* CREATE TABLE locks ( * You should have received a copy of the GNU Affero General Public
* `id` INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, * License along with this library. If not, see <http://www.gnu.org/licenses/>.
* `userid` VARCHAR(200),
* `owner` VARCHAR(100),
* `timeout` INTEGER UNSIGNED,
* `created` INTEGER,
* `token` VARCHAR(100),
* `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 * This library is free software; you can redistribute it and/or
* @subpackage DAV * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved. * License as published by the Free Software Foundation; either
* @author Evert Pot (http://www.rooftopsolutions.nl/) * version 3 of the License, or any later version.
* @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 distributed in the hope that it will be useful,
* executed! * 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.
* *
* CREATE TABLE IF NOT EXISTS `properties` ( * You should have received a copy of the GNU Affero General Public
* `userid` varchar(200) COLLATE utf8_unicode_ci NOT NULL, * License along with this library. If not, see <http://www.gnu.org/licenses/>.
* `propertypath` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
* `propertyname` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
* `propertyvalue` text COLLATE utf8_unicode_ci NOT NULL
* ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
* *
*/ */
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 {
/** /**