From a7d1c3b3d1ac99a7989f750a55f4629dfc460e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Storhaug?= Date: Mon, 14 Sep 2020 05:34:06 +0200 Subject: [PATCH 01/12] Add working version --- .gitignore | 3 + .travis.yml | 48 ++++++++++++++ block_capquizqtracker.php | 107 ++++++++++++++++++++++++++++++ db/access.php | 52 +++++++++++++++ edit_form.php | 37 +++++++++++ lang/en/block_capquizqtracker.php | 36 ++++++++++ settings.php | 35 ++++++++++ version.php | 35 ++++++++++ 8 files changed, 353 insertions(+) create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 block_capquizqtracker.php create mode 100644 db/access.php create mode 100644 edit_form.php create mode 100755 lang/en/block_capquizqtracker.php create mode 100644 settings.php create mode 100755 version.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a367c48 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.vscode + +*.code-workspace diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..13d7155 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,48 @@ +language: php + +addons: + postgresql: "9.5" + +services: + - mysql + - postgresql + - docker + +cache: + directories: + - $HOME/.composer/cache + - $HOME/.npm + +php: + - 7.2 + - 7.3 + - 7.4 + +env: + global: + - MOODLE_BRANCH=MOODLE_39_STABLE + matrix: + - DB=pgsql + - DB=mysqli + +before_install: + - phpenv config-rm xdebug.ini + - cd ../.. + - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3 + - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" + +install: + - moodle-plugin-ci install + +script: + - moodle-plugin-ci phplint + - moodle-plugin-ci phpcpd + - moodle-plugin-ci phpmd + - moodle-plugin-ci codechecker + - moodle-plugin-ci validate + - moodle-plugin-ci savepoints + - moodle-plugin-ci mustache + - moodle-plugin-ci grunt + - moodle-plugin-ci phpdoc + - moodle-plugin-ci phpunit + - moodle-plugin-ci behat diff --git a/block_capquizqtracker.php b/block_capquizqtracker.php new file mode 100644 index 0000000..c5a2a9f --- /dev/null +++ b/block_capquizqtracker.php @@ -0,0 +1,107 @@ +. + +/** + * Main interface to Question Tracker + * + * Provides block for registering question issues for quiz module + * + * @package block_capquizqtracker + * @author André Storhaug + * @copyright 2020 NTNU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +use \local_qtracker\output\issue_registration_block; +use \mod_capquiz\capquiz; +use \mod_capquiz\capquiz_attempt; + +defined('MOODLE_INTERNAL') || die(); + +class block_capquizqtracker extends block_base { + public function init() { + $this->title = get_string('capquizqtracker_quiz', 'block_capquizqtracker'); + } + + public function applicable_formats() { + return array('all' => false, 'mod-capquiz' => true); + } + + function has_config() { + return true; + } + + function get_content() { + global $COURSE, $USER, $PAGE; + + if ($this->content !== null) { + return $this->content; + } + + if (empty($this->instance)) { + $this->content = ''; + return $this->content; + } + + $this->content = new stdClass(); + $this->content->items = array(); + $this->content->icons = array(); + $this->content->text = ''; + $this->content->footer = ''; + + // Get submitted parameters. + $cmid = optional_param('id', null, PARAM_INT); + $capquiz = new capquiz($cmid); + + if (has_capability('mod/capquiz:instructor', $capquiz->context())) { + $url = new moodle_url('/local/qtracker/view.php', array('courseid' => $COURSE->id)); + $this->content->text = html_writer::link($url, "View issues..."); + return $this->content; + } + + $currentcontext = $this->page->context->get_course_context(false); + if (!empty($this->config->text)) { + $this->content->text = $this->config->text; + } + + if (empty($currentcontext)) { + return $this->content; + } + + if ($this->page->course->id == SITEID) { + $this->content->text .= "site context"; + } + + if (isset($this->config->text)) { + $this->content->text = $this->config->text; + } else { + $this->content->text = html_writer::tag('p', get_string('question_problem_details', 'block_capquizqtracker')); + } + + $this->userid = $USER->id; + + $quba = $capquiz->question_usage(); + $qengine = $capquiz->question_engine(); + $attempt = $qengine->attempt_for_current_user(); + $slot = $attempt->question_slot(); + + $renderer = $this->page->get_renderer('local_qtracker'); + $context = $PAGE->context; + $templatable = new issue_registration_block($quba, [$slot], $context->id); + $this->content->text .= $renderer->render($templatable); + return $this->content; + } +} diff --git a/db/access.php b/db/access.php new file mode 100644 index 0000000..0aa8988 --- /dev/null +++ b/db/access.php @@ -0,0 +1,52 @@ +. + +/** + * Plugin capabilities. + * + * @package block_capquizqtracker + * @author André Storhaug + * @copyright 2020 NTNU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$capabilities = array( + + 'block/capquizqtracker:myaddinstance' => array( + 'captype' => 'write', + 'contextlevel' => CONTEXT_SYSTEM, + 'archetypes' => array( + 'user' => CAP_ALLOW + ), + + 'clonepermissionsfrom' => 'moodle/my:manageblocks' + ), + + 'block/capquizqtracker:addinstance' => array( + 'riskbitmask' => RISK_SPAM | RISK_XSS, + + 'captype' => 'write', + 'contextlevel' => CONTEXT_BLOCK, + 'archetypes' => array( + 'editingteacher' => CAP_ALLOW, + 'manager' => CAP_ALLOW + ), + + 'clonepermissionsfrom' => 'moodle/site:manageblocks' + ), +); diff --git a/edit_form.php b/edit_form.php new file mode 100644 index 0000000..a7409f8 --- /dev/null +++ b/edit_form.php @@ -0,0 +1,37 @@ +. + +/** + * @package block_capquizqtracker + * @author André Storhaug + * @copyright 2020 NTNU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +class block_capquizqtracker_edit_form extends block_edit_form { + + protected function specific_definition($mform) { + + // Section header title according to language file. + $mform->addElement('header', 'configheader', get_string('blocksettings', 'block')); + + // A sample string variable with a default value. + $mform->addElement('text', 'config_text', get_string('blockstring', 'block_capquizqtracker'), 'cols="30" rows="5"'); + $mform->setDefault('config_text', get_string('question_problem_details', 'block_quizqtracker')); + $mform->setType('config_text', PARAM_TEXT); + + } +} \ No newline at end of file diff --git a/lang/en/block_capquizqtracker.php b/lang/en/block_capquizqtracker.php new file mode 100755 index 0000000..8728b90 --- /dev/null +++ b/lang/en/block_capquizqtracker.php @@ -0,0 +1,36 @@ +. + +/** + * @package block_capquizqtracker + * @author André Storhaug + * @copyright 2020 NTNU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$string['pluginname'] = 'CAPQuiz Question Tracker'; +$string['capquizqtracker_quiz'] = 'CAPQuiz Question Tracker'; +$string['capquizqtracker:addinstance'] = 'Add a new CAPQuestion Tracker block'; +$string['capquizqtracker:myaddinstance'] = 'Add a new CAPQuestion Tracker block to the My Moodle page'; + +$string['blockstring'] = 'Block string'; +$string['descconfig'] = 'Description of the config section'; +$string['descfoo'] = 'Config description'; +$string['headerconfig'] = 'Config section header'; +$string['labelfoo'] = 'Config label'; +$string['question_problem_details'] = 'If you have feedback for a question, please fill in the form below.'; diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..490b9c8 --- /dev/null +++ b/settings.php @@ -0,0 +1,35 @@ +. + +/** + * Main interface to Question Tracker + * + * @package block_capquizqtracker + * @author André Storhaug + * @copyright 2020 NTNU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$settings->add(new admin_setting_heading('sampleheader', + get_string('headerconfig', 'block_capquizqtracker'), + get_string('descconfig', 'block_capquizqtracker'))); + +$settings->add(new admin_setting_configcheckbox('capquizqtracker/foo', + get_string('labelfoo', 'block_capquizqtracker'), + get_string('descfoo', 'block_capquizqtracker'), + '0')); \ No newline at end of file diff --git a/version.php b/version.php new file mode 100755 index 0000000..04faf8e --- /dev/null +++ b/version.php @@ -0,0 +1,35 @@ +. + +/** + * @package block_capquizqtracker + * @author André Storhaug + * @copyright 2020 NTNU + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$plugin->version = 2020091400; +$plugin->requires = 2016120500; +$plugin->cron = 0; +$plugin->component = 'block_capquizqtracker'; +$plugin->dependencies = array( + 'mod_capquiz' => ANY_VERSION, // The Foo activity must be present (any version). + 'local_qtracker' => ANY_VERSION, // The Bar enrolment plugin version 2014020300 or higher must be present. +); +$plugin->maturity = MATURITY_BETA; +$plugin->release = '0.1.0'; From e3d366ad1e85ec05aee6b134a1f93b211673e744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Storhaug?= Date: Mon, 14 Sep 2020 05:36:22 +0200 Subject: [PATCH 02/12] Add editorconfig file --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dfe57bd --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.yml] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false +insert_final_newline = true From 07169ac1fb32049b305b97d3904be538bb2e4a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Storhaug?= Date: Mon, 14 Sep 2020 05:36:30 +0200 Subject: [PATCH 03/12] Add gitattributes file --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf From a67cef28123627a144edc91b676ccc93c40d13b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Storhaug?= Date: Wed, 16 Sep 2020 19:52:19 +0200 Subject: [PATCH 04/12] Correct wrong language string path --- block_capquizqtracker.php | 7 ++++++- edit_form.php | 6 +++--- version.php | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/block_capquizqtracker.php b/block_capquizqtracker.php index c5a2a9f..4854e6b 100644 --- a/block_capquizqtracker.php +++ b/block_capquizqtracker.php @@ -16,7 +16,7 @@ /** * Main interface to Question Tracker - * + * * Provides block for registering question issues for quiz module * * @package block_capquizqtracker @@ -64,6 +64,11 @@ function get_content() { // Get submitted parameters. $cmid = optional_param('id', null, PARAM_INT); + + if (is_null($cmid)) { + return $this->content->text; + } + $capquiz = new capquiz($cmid); if (has_capability('mod/capquiz:instructor', $capquiz->context())) { diff --git a/edit_form.php b/edit_form.php index a7409f8..5c8bc86 100644 --- a/edit_form.php +++ b/edit_form.php @@ -30,8 +30,8 @@ protected function specific_definition($mform) { // A sample string variable with a default value. $mform->addElement('text', 'config_text', get_string('blockstring', 'block_capquizqtracker'), 'cols="30" rows="5"'); - $mform->setDefault('config_text', get_string('question_problem_details', 'block_quizqtracker')); - $mform->setType('config_text', PARAM_TEXT); + $mform->setDefault('config_text', get_string('question_problem_details', 'block_capquizqtracker')); + $mform->setType('config_text', PARAM_TEXT); } -} \ No newline at end of file +} diff --git a/version.php b/version.php index 04faf8e..6f5f971 100755 --- a/version.php +++ b/version.php @@ -23,7 +23,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020091400; +$plugin->version = 2020091600; $plugin->requires = 2016120500; $plugin->cron = 0; $plugin->component = 'block_capquizqtracker'; From 50f7956d5d709d502f2561a192022d9227d51871 Mon Sep 17 00:00:00 2001 From: Hans Georg Schaathun Date: Tue, 22 Sep 2020 10:17:37 +0200 Subject: [PATCH 05/12] Modified the lead text in the block --- lang/en/block_capquizqtracker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/en/block_capquizqtracker.php b/lang/en/block_capquizqtracker.php index 8728b90..06152b4 100755 --- a/lang/en/block_capquizqtracker.php +++ b/lang/en/block_capquizqtracker.php @@ -33,4 +33,4 @@ $string['descfoo'] = 'Config description'; $string['headerconfig'] = 'Config section header'; $string['labelfoo'] = 'Config label'; -$string['question_problem_details'] = 'If you have feedback for a question, please fill in the form below.'; +$string['question_problem_details'] = 'If you have question about or feedback to a question or its solution, please fill in the form below.'; From 041e975e2a4e95804a315aab594e9d67bef79ea7 Mon Sep 17 00:00:00 2001 From: hgeorgsch Date: Tue, 22 Sep 2020 12:39:51 +0200 Subject: [PATCH 06/12] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3e1778d..2591dfa 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # moodle-block_capquizqtracker 🐛 Moodle Question Tracker Block plugin for CAPQuiz + +**Requires** [QTracker](https://github.com/KQMATH/moodle-local_qtracker), [CAPQuiz](https://github.com/KQMATH/moodle-mod_capquiz) + +This plugin creates a block to be added to [CAPQuiz](https://github.com/KQMATH/moodle-mod_capquiz) activities in order to provide an interface to [QTracker](https://github.com/KQMATH/moodle-local_qtracker). + +See [QTracker](https://github.com/KQMATH/moodle-local_qtracker) for further information. From a5c24641c0ba03db1950ebf6c2ffd236d6207a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Storhaug?= Date: Thu, 4 Feb 2021 00:36:49 +0100 Subject: [PATCH 07/12] Create moodle-ci.yml --- .github/workflows/moodle-ci.yml | 104 ++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 .github/workflows/moodle-ci.yml diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml new file mode 100644 index 0000000..f090810 --- /dev/null +++ b/.github/workflows/moodle-ci.yml @@ -0,0 +1,104 @@ +name: build + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-18.04 + + services: + postgres: + image: postgres:9.6 + env: + POSTGRES_USER: 'postgres' + POSTGRES_HOST_AUTH_METHOD: 'trust' + ports: + - 5432:5432 + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 + mariadb: + image: mariadb:10 + env: + MYSQL_USER: 'root' + MYSQL_ALLOW_EMPTY_PASSWORD: "true" + ports: + - 3306:3306 + options: --health-cmd="mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 3 + + strategy: + fail-fast: false + matrix: + php: ['7.2', '7.3', '7.4'] + moodle-branch: ['MOODLE_310_STABLE', 'MOODLE_39_STABLE'] + database: [pgsql, mariadb] + + steps: + - name: Check out repository code + uses: actions/checkout@v2 + with: + path: plugin + + - name: Setup PHP ${{ matrix.php }} + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + coverage: none + + - name: Initialise moodle-plugin-ci + run: | + composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3 + echo $(cd ci/bin; pwd) >> $GITHUB_PATH + echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH + sudo locale-gen en_AU.UTF-8 + + - name: Install moodle-plugin-ci + run: | + moodle-plugin-ci install --plugin ./plugin --db-host=127.0.0.1 + env: + DB: ${{ matrix.database }} + MOODLE_BRANCH: ${{ matrix.moodle-branch }} + + - name: PHP Lint + if: ${{ always() }} + run: moodle-plugin-ci phplint + + - name: PHP Copy/Paste Detector + continue-on-error: true # This step will show errors but will not fail + if: ${{ always() }} + run: moodle-plugin-ci phpcpd + + - name: PHP Mess Detector + continue-on-error: true # This step will show errors but will not fail + if: ${{ always() }} + run: moodle-plugin-ci phpmd + + - name: Moodle Code Checker + if: ${{ always() }} + run: moodle-plugin-ci codechecker --max-warnings 0 + + - name: Moodle PHPDoc Checker + if: ${{ always() }} + run: moodle-plugin-ci phpdoc + + - name: Validating + if: ${{ always() }} + run: moodle-plugin-ci validate + + - name: Check upgrade savepoints + if: ${{ always() }} + run: moodle-plugin-ci savepoints + + - name: Mustache Lint + if: ${{ always() }} + run: moodle-plugin-ci mustache + + - name: Grunt + if: ${{ always() }} + run: moodle-plugin-ci grunt --max-lint-warnings 0 + + - name: PHPUnit tests + if: ${{ always() }} + run: moodle-plugin-ci phpunit --coverage-clover + + - name: Behat features + if: ${{ always() }} + run: moodle-plugin-ci behat --profile chrome From 634e3fd241654d88f38104514a58a14c05c7eb06 Mon Sep 17 00:00:00 2001 From: sebastsg Date: Thu, 11 Feb 2021 10:58:26 +0100 Subject: [PATCH 08/12] #1 fix to work with new capquiz --- block_capquizqtracker.php | 5 +++-- version.php | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/block_capquizqtracker.php b/block_capquizqtracker.php index 4854e6b..b5c0a52 100644 --- a/block_capquizqtracker.php +++ b/block_capquizqtracker.php @@ -98,8 +98,9 @@ function get_content() { $this->userid = $USER->id; - $quba = $capquiz->question_usage(); - $qengine = $capquiz->question_engine(); + $user = $capquiz->user(); + $quba = $user->question_usage(); + $qengine = $capquiz->question_engine($user); $attempt = $qengine->attempt_for_current_user(); $slot = $attempt->question_slot(); diff --git a/version.php b/version.php index 6f5f971..462f5ed 100755 --- a/version.php +++ b/version.php @@ -23,7 +23,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020091600; +$plugin->version = 2021021100; $plugin->requires = 2016120500; $plugin->cron = 0; $plugin->component = 'block_capquizqtracker'; @@ -32,4 +32,4 @@ 'local_qtracker' => ANY_VERSION, // The Bar enrolment plugin version 2014020300 or higher must be present. ); $plugin->maturity = MATURITY_BETA; -$plugin->release = '0.1.0'; +$plugin->release = '0.1.1'; From ca59b0edbe4a3e7b07e0961d7732ac6d22337433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Storhaug?= Date: Thu, 10 Jun 2021 17:35:59 +0200 Subject: [PATCH 09/12] Add Coveralls parallel build --- .github/workflows/moodle-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index f090810..50f9d58 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -102,3 +102,29 @@ jobs: - name: Behat features if: ${{ always() }} run: moodle-plugin-ci behat --profile chrome + + - name: Convert Coverage (clover2lcov) + uses: andstor/clover2lcov-action@v1 + if: ${{ always() }} + with: + src: ./coverage.xml + dst: ./coverage/lcov.info + + - name: Coveralls Parallel + if: ${{ always() }} + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + flag-name: run-${{ matrix.test_number }} + parallel: true + + finish: + needs: test + if: always() + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true From 6caf860908dd75c67ca93b2c3d158ea18c7f3ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Storhaug?= Date: Thu, 22 Jul 2021 14:12:47 +0200 Subject: [PATCH 10/12] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2591dfa..459a0a8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,27 @@ # moodle-block_capquizqtracker +[![build](https://github.com/KQMATH/moodle-block_capquizqtracker/actions/workflows/moodle-ci.yml/badge.svg?branch=master)](https://github.com/KQMATH/moodle-block_capquizqtracker/actions/workflows/moodle-ci.yml) + 🐛 Moodle Question Tracker Block plugin for CAPQuiz -**Requires** [QTracker](https://github.com/KQMATH/moodle-local_qtracker), [CAPQuiz](https://github.com/KQMATH/moodle-mod_capquiz) +**Requires** [QTracker](https://github.com/KQMATH/moodle-local_qtracker) and [CAPQuiz](https://github.com/KQMATH/moodle-mod_capquiz). This plugin creates a block to be added to [CAPQuiz](https://github.com/KQMATH/moodle-mod_capquiz) activities in order to provide an interface to [QTracker](https://github.com/KQMATH/moodle-local_qtracker). See [QTracker](https://github.com/KQMATH/moodle-local_qtracker) for further information. + +## Documentation +Documentation is available [here](https://github.com/KQMATH/moodle-block_capquizqtracker/wiki), including [installation instructions](https://github.com/KQMATH/moodle-block_capquizqtracker/wiki/Installation-instructions). + +## Feedback: +**Project lead:** Hans Georg Schaathun + +**Developer:** [André Storhaug](https://github.com/andstor) + +## License +CAPQuiz QTracker is licensed under the [GNU General Public, License Version 3](https://github.com/KQMATH/moodle-block_capquizqtracker/LICENSE). + +## Related + +- [CAPQuiz](https://moodle.org/plugins/mod_capquiz) - Computer adaptive practice activity module for Moodle +- [Quiz QTracker](https://moodle.org/plugins/block_quizqtracker) - Moodle Question Tracker Block plugin for Moodle Quiz +- From 599a8746743c63cf804316cbc41033a19e2ac368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Storhaug?= Date: Thu, 22 Jul 2021 14:13:01 +0200 Subject: [PATCH 11/12] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 459a0a8..9d042f6 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,3 @@ CAPQuiz QTracker is licensed under the [GNU General Public, License Version 3](h - [CAPQuiz](https://moodle.org/plugins/mod_capquiz) - Computer adaptive practice activity module for Moodle - [Quiz QTracker](https://moodle.org/plugins/block_quizqtracker) - Moodle Question Tracker Block plugin for Moodle Quiz -- From bd0c5910caf1dc88e93411174854f0c862f3b331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Storhaug?= Date: Thu, 22 Jul 2021 14:15:05 +0200 Subject: [PATCH 12/12] Update version.php --- version.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.php b/version.php index 462f5ed..f90f611 100755 --- a/version.php +++ b/version.php @@ -23,7 +23,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2021021100; +$plugin->version = 2021072200; $plugin->requires = 2016120500; $plugin->cron = 0; $plugin->component = 'block_capquizqtracker'; @@ -32,4 +32,4 @@ 'local_qtracker' => ANY_VERSION, // The Bar enrolment plugin version 2014020300 or higher must be present. ); $plugin->maturity = MATURITY_BETA; -$plugin->release = '0.1.1'; +$plugin->release = '0.1.0';