-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2b7c28a
Showing
13 changed files
with
781 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
language: php | ||
dist: bionic | ||
sudo: required | ||
services: | ||
- mysql | ||
addons: | ||
firefox: "47.0.1" | ||
postgresql: "9.6" | ||
chrome: stable | ||
apt: | ||
packages: | ||
- openjdk-8-jre-headless | ||
- chromium-chromedriver | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
- $HOME/.npm | ||
php: | ||
- 7.2 | ||
env: | ||
- DB=pgsql MOODLE_BRANCH=master | ||
- DB=mysqli MOODLE_BRANCH=master | ||
- DB=mariadb MOODLE_BRANCH=master | ||
matrix: | ||
include: | ||
- php: 7.1 | ||
env: DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE | ||
- php: 7.2 | ||
env: DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE | ||
- php: 7.2 | ||
env: DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE | ||
- php: 7.2 | ||
env: DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE | ||
- php: 7.2 | ||
env: DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE | ||
- php: 7.3 | ||
env: DB=pgsql MOODLE_BRANCH=master | ||
before_install: | ||
- phpenv config-rm xdebug.ini | ||
- nvm install 8.9 | ||
- nvm use 8.9 | ||
- cd ../.. | ||
- composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2 | ||
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" | ||
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://127.0.0.1 & | ||
install: | ||
- moodle-plugin-ci add-plugin --clone https://github.com/ewallah/moodle-local_aws.git | ||
- moodle-plugin-ci install | ||
script: | ||
- /home/travis/build/moodle/vendor/bin/phpunit "provider_testcase" /home/travis/build/moodle/privacy/tests/provider_test.php | ||
- /home/travis/build/moodle/vendor/bin/phpunit "tool_dataprivacy_expired_contexts_testcase" /home/travis/build/moodle/admin/tool/dataprivacy/tests/expired_contexts_test.php | ||
- moodle-plugin-ci phplint | ||
- moodle-plugin-ci phpcpd | ||
- moodle-plugin-ci phpmd | ||
- moodle-plugin-ci phpdoc | ||
- moodle-plugin-ci codechecker | ||
- moodle-plugin-ci validate | ||
- moodle-plugin-ci savepoints | ||
- moodle-plugin-ci mustache | ||
- moodle-plugin-ci grunt | ||
- moodle-plugin-ci phpunit --coverage-text | ||
- moodle-plugin-ci behat | ||
- moodle-plugin-ci behat --profile chrome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# My Courses Moodle Plugin | ||
|
||
This plugin provide a page with all enrolled courses and progress which can be added to Moodle navigation | ||
|
||
## Usage | ||
|
||
Install the plugin from your Moodle Administration page | ||
Add a navigation link to your Moodle to view the page: | ||
https://yourmoodlelms.com/report/mycourse/index.php | ||
|
||
## Description | ||
|
||
One of the great benefit of using this plugin is it show all courses a user enrolled in one page along with the course category and current completion progress. | ||
|
||
## Settings | ||
There is no setting available for this plugin | ||
|
||
## Contributing | ||
Feel free to contribute by: | ||
* Submitting translations to the [Moodle AMOS translator](https://lang.moodle.org/local/amos/view.php) | ||
* Testing and creating issues. But remember to check if the issues is already | ||
reported before creating a new one. Perhaps you can contribute to an already | ||
existing issue? | ||
* Solving issues and submitting code through Pull Requests to the 'master' branch or on a separate feature branch. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?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/>. | ||
|
||
/** | ||
* Privacy Subsystem implementation for report_mycourses. | ||
* | ||
* @package report | ||
* @subpackage mycourses | ||
* @copyright 2021 onwards Sam Suresh {@link https://modernlms.com} | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace report_mycourses\privacy; | ||
|
||
defined('MOODLE_INTERNAL') || die(); | ||
|
||
/** | ||
* Privacy Subsystem for report_mycourses implementing null_provider. | ||
* | ||
* @copyright 2018 Zig Tan <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class provider implements \core_privacy\local\metadata\null_provider { | ||
|
||
/** | ||
* Get the language string identifier with the component's language | ||
* file to explain why this plugin stores no data. | ||
* | ||
* @return string | ||
*/ | ||
public static function get_reason() : string { | ||
return 'privacy:metadata'; | ||
} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.