Permalink
Browse files

Include GPLv3 license and add license notices to all source files.

  • Loading branch information...
1 parent f5f7e96 commit e79a0e695220894ffef40b07d0bd1ffc3978e0d9 @gmathis gmathis committed with Sep 30, 2011
Showing with 946 additions and 16 deletions.
  1. +674 −0 LICENSE.txt
  2. +16 −1 README.md
  3. +18 −1 SSO.php
  4. +18 −1 block_panopto.php
  5. +18 −1 db/access.php
  6. +17 −1 db/install.xml
  7. +18 −1 edit_form.php
  8. +19 −1 lang/en/block_panopto.php
  9. +19 −2 lib/PanoptoSoapClient.php
  10. +19 −1 lib/block_panopto_lib.php
  11. +19 −1 lib/panopto_data.php
  12. +18 −1 provision_course.php
  13. +18 −1 settings.php
  14. +17 −1 styles.css
  15. +19 −1 version.php
  16. +19 −1 views/provisioned_course.html.php
View
Oops, something went wrong.
View
@@ -20,4 +20,19 @@ Fork the block, fix a bug or add a new feature, and send us a pull-request. Or,
## Copyright
- Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+
+## License
+
+The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+The Panopto plugin for Moodle 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
View
19 SSO.php
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
global $CFG, $USER;
View
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
require_once("lib/panopto_data.php");
View
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
$capabilities = array(
'block/panopto:provision_course' => array(
View
@@ -1,6 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!-- Copyright Panopto 2009 - 2011
+
+ This file is part of the Panopto plugin for Moodle.
+
+ The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ The Panopto plugin for Moodle 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+-->
-<!-- Copyright Panopto 2009 - 2011 -->
<XMLDB PATH="blocks/panopto/db" VERSION="20090610" COMMENT="XMLDB file for Panopto Focus block"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
View
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
require_once("lib/panopto_data.php");
View
@@ -1,4 +1,22 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
+
$string['pluginname'] = 'Panopto Focus';
$string['panopto:provision_course'] = 'Provision a course';
$string['panopto:provision_multiple'] = 'Provision multiple courses at once';
View
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011
+<?php
+/* Copyright Panopto 2009 - 2011
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
// Subclasses SoapClient and hand-crafts SOAP parameters to be compatible with ASP.NET web service in non-WSDL mode.
class PanoptoSoapClient extends SoapClient
@@ -12,7 +29,7 @@ class PanoptoSoapClient extends SoapClient
public function PanoptoSoapClient($server_name, $apiuser_userkey, $apiuser_authcode)
{
// Instantiate SoapClient in non-WSDL mode.
- parent::__construct(null, array('location' => "http://$server_name/Panopto/Services/ClientData.svc",
+ parent::__construct(null, array('location' => "http://$server_name/Panopto_deployed/Services/ClientData.svc",
'uri' => "http://services.panopto.com"));
// Cache web service credentials for all calls requiring authentication.
View
@@ -1,4 +1,22 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
+
// Prepend the instance name to the Moodle course ID to create an external ID for Panopto Focus.
function decorate_course_id($moodle_course_id)
View
@@ -1,4 +1,22 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
+
global $CFG;
if(empty($CFG))
{
View
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
require_once(dirname(__FILE__) . '/../../config.php');
require_once($CFG->libdir . '/formslib.php');
View
@@ -1,4 +1,21 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
defined('MOODLE_INTERNAL') || die;
View
@@ -1,4 +1,20 @@
-/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu) */
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
#configPage
{
View
@@ -1,2 +1,20 @@
-<?php // Copyright Panopto 2009 - 2011
+<?php
+/* Copyright Panopto 2009 - 2011
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
+
$plugin->version = 2011092100;
@@ -1,4 +1,22 @@
-<?php // Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu) ?>
+<?php
+/* Copyright Panopto 2009 - 2011 / With contributions from Spenser Jones (sjones@ambrose.edu)
+ *
+ * This file is part of the Panopto plugin for Moodle.
+ *
+ * The Panopto plugin for Moodle is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * The Panopto plugin for Moodle 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with the Panopto plugin for Moodle. If not, see <http://www.gnu.org/licenses/>.
+ */
+?>
<div class='courseProvisionResult'>
<div class='attribute'>Course Name</div>

0 comments on commit e79a0e6

Please sign in to comment.