Skip to content

Commit

Permalink
Merge pull request #18 from lushonline/17-enhancement-add-support-for…
Browse files Browse the repository at this point in the history
…-setting-thumbnailurl-coure-custom-field

17 enhancement add support for setting thumbnailurl coure custom field
  • Loading branch information
lushonline authored Mar 14, 2023
2 parents 8bfa87c + 703a02b commit 909b2ed
Show file tree
Hide file tree
Showing 52 changed files with 242 additions and 134 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
strategy:
fail-fast: true
matrix:
moodle-versions: ["MOODLE_311_STABLE", "MOODLE_400_STABLE"]
moodle-versions: ["MOODLE_311_STABLE", "MOODLE_400_STABLE", "MOODLE_401_STABLE"]
database: ["pgsql", "mariadb"]
operating-system: [ubuntu-latest]
php-versions: ["7.3", "7.4", "8.0"]
node-versions: ["16.14.0"]
php-versions: ["7.4", "8.0"]
node-versions: ["16.16.0"]

runs-on: ${{ matrix.operating-system }}

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
mysql -u 'root' -h '127.0.0.1' -e 'SELECT VERSION();'
- name: Checkout Plugin
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: plugin

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ If the Statement [Results](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-

## License

2019-2022 LushOnline
2019-2023 LushOnline

This program 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
Expand Down
4 changes: 2 additions & 2 deletions backup/moodle2/backup_externalcontent_activity_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @package mod_externalcontent
* @category backup
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -34,7 +34,7 @@
/**
* The class provides all the settings and steps to perform one complete backup of mod_externalcontent.
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class backup_externalcontent_activity_task extends backup_activity_task {
Expand Down
4 changes: 2 additions & 2 deletions backup/moodle2/backup_externalcontent_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @package mod_externalcontent
* @category backup
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -30,7 +30,7 @@
/**
* Define the complete structure for backup, with file and id annotations.
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class backup_externalcontent_activity_structure_step extends backup_activity_structure_step {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The task that provides a complete restore of mod_externalcontent is defined here.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -33,7 +33,7 @@
/**
* Restore task for mod_externalcontent.
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class restore_externalcontent_activity_task extends restore_activity_task {
Expand Down
4 changes: 2 additions & 2 deletions backup/moodle2/restore_externalcontent_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* All the steps to restore mod_externalcontent are defined here.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -29,7 +29,7 @@
/**
* Defines the structure step to restore one mod_externalcontent activity.
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class restore_externalcontent_activity_structure_step extends restore_activity_structure_step {
Expand Down
4 changes: 2 additions & 2 deletions classes/analytics/indicator/activity_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Activity base class.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* Activity base class.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
abstract class activity_base extends \core_analytics\local\indicator\community_of_inquiry_activity {
Expand Down
4 changes: 2 additions & 2 deletions classes/analytics/indicator/cognitive_depth.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Cognitive depth indicator - externalcontent.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* Cognitive depth indicator - externalcontent.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class cognitive_depth extends activity_base {
Expand Down
4 changes: 2 additions & 2 deletions classes/analytics/indicator/social_breadth.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Social breadth indicator - externalcontent.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* Social breadth indicator - externalcontent.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class social_breadth extends activity_base {
Expand Down
4 changes: 2 additions & 2 deletions classes/completion/custom_completion.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The mod_externalcontent module custom completion class.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* The mod_externalcontent module custom completion.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class custom_completion extends \core_completion\activity_custom_completion {
Expand Down
4 changes: 2 additions & 2 deletions classes/event/course_module_completedexternally.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The mod_externalcontent module completed externally event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* The mod_externalcontent module completed externally event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class course_module_completedexternally extends \core\event\base {
Expand Down
4 changes: 2 additions & 2 deletions classes/event/course_module_instance_list_viewed.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The mod_externalcontent instance list viewed event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* The mod_externalcontent instance list viewed event class.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class course_module_instance_list_viewed extends \core\event\course_module_instance_list_viewed {
Expand Down
4 changes: 2 additions & 2 deletions classes/event/course_module_scoredexternally.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The mod_externalcontent module scored externally event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* The mod_externalcontent module scored externally event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class course_module_scoredexternally extends \core\event\base {
Expand Down
4 changes: 2 additions & 2 deletions classes/event/course_module_viewed.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The mod_externalcontent module viewed event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -28,7 +28,7 @@
* The mod_externalcontent module viewed event.
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class course_module_viewed extends \core\event\course_module_viewed {
Expand Down
4 changes: 2 additions & 2 deletions classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* mod_externalcontent external API
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand All @@ -30,7 +30,7 @@
* mod_externalcontent functions
*
* @package mod_externalcontent
* @copyright 2019-2022 LushOnline
* @copyright 2019-2023 LushOnline
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class mod_externalcontent_external extends external_api {
Expand Down
Loading

0 comments on commit 909b2ed

Please sign in to comment.