0cc5c64608
* Use a single capability 'mod/workshop:exportsubmissions' to control who is able to export a submission and all associated visible peer-assessments. * The export capability is by default granted to teachers and managers as well. * Simplify the integration of the export button into the submission page. There is now a single place where the export button appears - at the buttom of the submission page. * Clean up the new strings introduced for this feature. * Rewrite the portfolio caller class so that it better mimics the behaviour of the submission.php page. It must not be possible to get access to contents otherwise not available via the UI. * Fix phpunit tests. * Improve behat tests so that they can run in headless browser (performance). During the development, some problems were detected in the underlying portfolio API, especially with LEAP2A format and files collisions handling. These may be eventually fixed in the future, should there be a demand for it.
31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// 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.
|
|
//
|
|
// 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 Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Defines the version of workshop
|
|
*
|
|
* @package mod_workshop
|
|
* @copyright 2009 David Mudrak <david.mudrak@gmail.com>
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
$plugin->version = 2016100600; // The current module version (YYYYMMDDXX)
|
|
$plugin->requires = 2016051900; // Requires this Moodle version.
|
|
$plugin->component = 'mod_workshop';
|
|
$plugin->cron = 60; // Give as a chance every minute.
|