aboutsummaryrefslogtreecommitdiffstats
path: root/lib/connector
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-05-05 18:13:40 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2012-05-05 18:13:40 +0200
commitd46bea8867593399c04ea18bb6ad090aa2a258f2 (patch)
treed6820895c61414795ec2bcb00b0357c807ad4356 /lib/connector
parentc0e67fa24adfa356dccdb35fad29879c39b69cb7 (diff)
downloadnextcloud-server-d46bea8867593399c04ea18bb6ad090aa2a258f2.tar.gz
nextcloud-server-d46bea8867593399c04ea18bb6ad090aa2a258f2.zip
fixing file headers with copy right
Diffstat (limited to 'lib/connector')
-rw-r--r--lib/connector/sabre/auth.php28
-rw-r--r--lib/connector/sabre/directory.php27
-rw-r--r--lib/connector/sabre/file.php27
-rw-r--r--lib/connector/sabre/locks.php40
-rw-r--r--lib/connector/sabre/node.php34
5 files changed, 90 insertions, 66 deletions
diff --git a/lib/connector/sabre/auth.php b/lib/connector/sabre/auth.php
index 8964ef7d0de..1c7a84f0f2a 100644
--- a/lib/connector/sabre/auth.php
+++ b/lib/connector/sabre/auth.php
@@ -1,18 +1,26 @@
<?php
+
/**
- * HTTP Basic authentication backend class
+ * ownCloud
*
- * This class can be used by authentication objects wishing to use HTTP Basic
- * Most of the digest logic is handled, implementors just need to worry about
- * the validateUserPass method.
+ * @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 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 {
/**
* Validates a username and password
diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php
index 912c8cd439a..935d3b0abe4 100644
--- a/lib/connector/sabre/directory.php
+++ b/lib/connector/sabre/directory.php
@@ -1,13 +1,26 @@
<?php
+
/**
- * Directory class
- *
- * @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
+ * 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/>.
+ *
*/
+
class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sabre_DAV_ICollection, Sabre_DAV_IQuota {
/**
diff --git a/lib/connector/sabre/file.php b/lib/connector/sabre/file.php
index 98661dbb184..f2efe0a5ac1 100644
--- a/lib/connector/sabre/file.php
+++ b/lib/connector/sabre/file.php
@@ -1,13 +1,26 @@
<?php
+
/**
- * File class
- *
- * @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
+ * 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/>.
+ *
*/
+
class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_DAV_IFile {
/**
diff --git a/lib/connector/sabre/locks.php b/lib/connector/sabre/locks.php
index 7164d9a09c1..94382e68a1a 100644
--- a/lib/connector/sabre/locks.php
+++ b/lib/connector/sabre/locks.php
@@ -1,34 +1,26 @@
<?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
- * connection object in the constructor.
- *
- * @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
- */
-/*
+ * @author Jakob Sack
+ * @copyright 2011 Jakob Sack kde@jakobsack.de
*
- * The following SQL statement is just a help for developers and will not be
- * executed!
+ * 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.
*
- * CREATE TABLE locks (
- * `id` INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
- * `userid` VARCHAR(200),
- * `owner` VARCHAR(100),
- * `timeout` INTEGER UNSIGNED,
- * `created` INTEGER,
- * `token` VARCHAR(100),
- * `scope` TINYINT,
- * `depth` TINYINT,
- * `uri` text
- * );
+ * 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_Locks extends Sabre_DAV_Locks_Backend_Abstract {
/**
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index 41acb48dfb6..a7d1de8b953 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -1,28 +1,26 @@
<?php
+
/**
- * Base node-class
+ * ownCloud
*
- * The node class implements the method used by both the File and the Directory classes
- *
- * @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
- */
-/*
+ * @author Jakob Sack
+ * @copyright 2011 Jakob Sack kde@jakobsack.de
*
- * The following SQL statement is just a help for developers and will not be
- * executed!
+ * 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.
*
- * CREATE TABLE IF NOT EXISTS `properties` (
- * `userid` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
- * `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;
+ * 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/>.
*
*/
+
abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IProperties {
/**