Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Include GPLv3 license and add license notices to all source files.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmathis authored and SpenserJ committed Oct 31, 2011
1 parent f5f7e96 commit e79a0e6
Show file tree
Hide file tree
Showing 16 changed files with 946 additions and 16 deletions.
674 changes: 674 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion README.md
Expand Up @@ -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/>.
19 changes: 18 additions & 1 deletion 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;

Expand Down
19 changes: 18 additions & 1 deletion block_panopto.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/>.
*/

require_once("lib/panopto_data.php");

Expand Down
19 changes: 18 additions & 1 deletion db/access.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/>.
*/

$capabilities = array(
'block/panopto:provision_course' => array(
Expand Down
18 changes: 17 additions & 1 deletion db/install.xml
@@ -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">
Expand Down
19 changes: 18 additions & 1 deletion edit_form.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/>.
*/

require_once("lib/panopto_data.php");

Expand Down
20 changes: 19 additions & 1 deletion lang/en/block_panopto.php
@@ -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';
Expand Down
21 changes: 19 additions & 2 deletions lib/PanoptoSoapClient.php
@@ -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
Expand All @@ -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.
Expand Down
20 changes: 19 additions & 1 deletion lib/block_panopto_lib.php
@@ -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)
Expand Down
20 changes: 19 additions & 1 deletion lib/panopto_data.php
@@ -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))
{
Expand Down
19 changes: 18 additions & 1 deletion provision_course.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/>.
*/

require_once(dirname(__FILE__) . '/../../config.php');
require_once($CFG->libdir . '/formslib.php');
Expand Down
19 changes: 18 additions & 1 deletion settings.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/>.
*/

defined('MOODLE_INTERNAL') || die;

Expand Down
18 changes: 17 additions & 1 deletion styles.css
@@ -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
{
Expand Down
20 changes: 19 additions & 1 deletion version.php
@@ -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;
20 changes: 19 additions & 1 deletion views/provisioned_course.html.php
@@ -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>
Expand Down

0 comments on commit e79a0e6

Please sign in to comment.