Skip to content

Commit

Permalink
Tw17194599 (#17)
Browse files Browse the repository at this point in the history
* Added doc headers to all required files.

* TW17194599 Updating version and contributions.
  • Loading branch information
mchurchward authored Jul 5, 2021
1 parent 71e522c commit 0d568fe
Show file tree
Hide file tree
Showing 29 changed files with 194 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ This plugin has been developed to work on Moodle releases 3.9, 3.10, and 3.11.
## Development ##
This Plugin has been developed and is maintained by Brickfield Education Labs.
If you wish to contribute funding to the ongoing development of features and / or
maintenance of the plugin - please contact support@brickfield.ie.
maintenance of the plugin - please contact [support@brickfield.ie](mailto:support@brickfield.ie).

This module uses code derived from ["jquery.editable.amd.js"](https://github.com/victorjonsson/jquery-editable/).
This code written by [Victor Jonsson](http://victorjonsson.se/) is licensed under [GNU GPLv2](http://www.gnu.org/licenses/gpl-2.0.html).

## Documentation ##
All public documentation for this plugin will be maintained at the
Expand Down
3 changes: 2 additions & 1 deletion amd/src/board.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
/**
* A javascript module to handle the board.
*
* @module mod_board/board
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyrigt 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down
3 changes: 2 additions & 1 deletion amd/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
/**
* A javascript module to handle the board.
*
* @module mod_board/main
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down
7 changes: 7 additions & 0 deletions backup/moodle2/backup_board_activity_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once($CFG->dirroot . '/mod/board/backup/moodle2/backup_board_stepslib.php');
Expand Down
7 changes: 7 additions & 0 deletions backup/moodle2/backup_board_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

class backup_board_activity_structure_step extends backup_activity_structure_step {

protected function define_structure() {
Expand Down
7 changes: 7 additions & 0 deletions backup/moodle2/restore_board_activity_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once($CFG->dirroot . '/mod/board/backup/moodle2/restore_board_stepslib.php'); // Because it exists (must).
Expand Down
7 changes: 7 additions & 0 deletions backup/moodle2/restore_board_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

class restore_board_activity_structure_step extends restore_activity_structure_step {

protected function define_structure() {
Expand Down
7 changes: 7 additions & 0 deletions classes/board.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Jay Churchward <jay@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board;

defined('MOODLE_INTERNAL') || die;
Expand Down
7 changes: 7 additions & 0 deletions classes/event/add_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/add_note.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/delete_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/delete_note.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/move_note.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/rate_note.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/update_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions classes/event/update_note.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace mod_board\event;
defined('MOODLE_INTERNAL') || die();

Expand Down
7 changes: 7 additions & 0 deletions db/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

$capabilities = array(
Expand Down
7 changes: 7 additions & 0 deletions db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die;

$functions = [
Expand Down
7 changes: 7 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

function xmldb_board_upgrade($oldversion) {
Expand Down
7 changes: 7 additions & 0 deletions download_board.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require('../../config.php');

use mod_board\board;
Expand Down
7 changes: 7 additions & 0 deletions download_submissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require('../../config.php');

use mod_board\board;
Expand Down
7 changes: 7 additions & 0 deletions external.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();

require_once("$CFG->libdir/externallib.php");
Expand Down
7 changes: 7 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

require('../../config.php');

$id = required_param('id', PARAM_INT); // Course id.
Expand Down
7 changes: 7 additions & 0 deletions lang/en/board.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die;

$string['pluginname'] = 'Board';
Expand Down
7 changes: 7 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die;

use mod_board\board;
Expand Down
7 changes: 7 additions & 0 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die;

require_once($CFG->dirroot.'/course/moodleform_mod.php');
Expand Down
7 changes: 7 additions & 0 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die;

if ($ADMIN->fulltree) {
Expand Down
13 changes: 11 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* @package mod_board
* @author Karen Holland <karen@brickfieldlabs.ie>
* @copyright 2021 Brickfield Education Labs <https://www.brickfield.ie/>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die;

$plugin->component = 'mod_board'; // Full name of the plugin (used for diagnostics).
$plugin->version = 2021051201; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2017110800; // Requires this Moodle version.
$plugin->version = 2021052400; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2020061500; // Moodle 3.9 and up.
$plugin->release = '1.39.01 (Build 2021070500)';
$plugin->maturity = MATURITY_STABLE;
Loading

0 comments on commit 0d568fe

Please sign in to comment.