Skip to content

Commit 909b2ed

Browse files
authored
Merge pull request #18 from lushonline/17-enhancement-add-support-for-setting-thumbnailurl-coure-custom-field
17 enhancement add support for setting thumbnailurl coure custom field
2 parents 8bfa87c + 703a02b commit 909b2ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+242
-134
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
moodle-versions: ["MOODLE_311_STABLE", "MOODLE_400_STABLE"]
14+
moodle-versions: ["MOODLE_311_STABLE", "MOODLE_400_STABLE", "MOODLE_401_STABLE"]
1515
database: ["pgsql", "mariadb"]
1616
operating-system: [ubuntu-latest]
17-
php-versions: ["7.3", "7.4", "8.0"]
18-
node-versions: ["16.14.0"]
17+
php-versions: ["7.4", "8.0"]
18+
node-versions: ["16.16.0"]
1919

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

@@ -58,7 +58,7 @@ jobs:
5858
mysql -u 'root' -h '127.0.0.1' -e 'SELECT VERSION();'
5959
6060
- name: Checkout Plugin
61-
uses: actions/checkout@v2
61+
uses: actions/checkout@v3
6262
with:
6363
path: plugin
6464

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ If the Statement [Results](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-
7777

7878
## License
7979

80-
2019-2022 LushOnline
80+
2019-2023 LushOnline
8181

8282
This program is free software: you can redistribute it and/or modify it under
8383
the terms of the GNU General Public License as published by the Free Software

backup/moodle2/backup_externalcontent_activity_task.class.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @package mod_externalcontent
2121
* @category backup
22-
* @copyright 2019-2022 LushOnline
22+
* @copyright 2019-2023 LushOnline
2323
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2424
*/
2525

@@ -34,7 +34,7 @@
3434
/**
3535
* The class provides all the settings and steps to perform one complete backup of mod_externalcontent.
3636
* @package mod_externalcontent
37-
* @copyright 2019-2022 LushOnline
37+
* @copyright 2019-2023 LushOnline
3838
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3939
*/
4040
class backup_externalcontent_activity_task extends backup_activity_task {

backup/moodle2/backup_externalcontent_stepslib.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @package mod_externalcontent
2121
* @category backup
22-
* @copyright 2019-2022 LushOnline
22+
* @copyright 2019-2023 LushOnline
2323
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2424
*/
2525

@@ -30,7 +30,7 @@
3030
/**
3131
* Define the complete structure for backup, with file and id annotations.
3232
* @package mod_externalcontent
33-
* @copyright 2019-2022 LushOnline
33+
* @copyright 2019-2023 LushOnline
3434
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3535
*/
3636
class backup_externalcontent_activity_structure_step extends backup_activity_structure_step {

backup/moodle2/restore_externalcontent_activity_task.class.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The task that provides a complete restore of mod_externalcontent is defined here.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -33,7 +33,7 @@
3333
/**
3434
* Restore task for mod_externalcontent.
3535
* @package mod_externalcontent
36-
* @copyright 2019-2022 LushOnline
36+
* @copyright 2019-2023 LushOnline
3737
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3838
*/
3939
class restore_externalcontent_activity_task extends restore_activity_task {

backup/moodle2/restore_externalcontent_stepslib.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* All the steps to restore mod_externalcontent are defined here.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -29,7 +29,7 @@
2929
/**
3030
* Defines the structure step to restore one mod_externalcontent activity.
3131
* @package mod_externalcontent
32-
* @copyright 2019-2022 LushOnline
32+
* @copyright 2019-2023 LushOnline
3333
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3434
*/
3535
class restore_externalcontent_activity_structure_step extends restore_activity_structure_step {

classes/analytics/indicator/activity_base.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Activity base class.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* Activity base class.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
abstract class activity_base extends \core_analytics\local\indicator\community_of_inquiry_activity {

classes/analytics/indicator/cognitive_depth.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Cognitive depth indicator - externalcontent.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* Cognitive depth indicator - externalcontent.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class cognitive_depth extends activity_base {

classes/analytics/indicator/social_breadth.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Social breadth indicator - externalcontent.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* Social breadth indicator - externalcontent.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class social_breadth extends activity_base {

classes/completion/custom_completion.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The mod_externalcontent module custom completion class.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* The mod_externalcontent module custom completion.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class custom_completion extends \core_completion\activity_custom_completion {

classes/event/course_module_completedexternally.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The mod_externalcontent module completed externally event.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* The mod_externalcontent module completed externally event.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class course_module_completedexternally extends \core\event\base {

classes/event/course_module_instance_list_viewed.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The mod_externalcontent instance list viewed event.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* The mod_externalcontent instance list viewed event class.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class course_module_instance_list_viewed extends \core\event\course_module_instance_list_viewed {

classes/event/course_module_scoredexternally.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The mod_externalcontent module scored externally event.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* The mod_externalcontent module scored externally event.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class course_module_scoredexternally extends \core\event\base {

classes/event/course_module_viewed.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* The mod_externalcontent module viewed event.
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -28,7 +28,7 @@
2828
* The mod_externalcontent module viewed event.
2929
*
3030
* @package mod_externalcontent
31-
* @copyright 2019-2022 LushOnline
31+
* @copyright 2019-2023 LushOnline
3232
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3333
*/
3434
class course_module_viewed extends \core\event\course_module_viewed {

classes/external.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* mod_externalcontent external API
1919
*
2020
* @package mod_externalcontent
21-
* @copyright 2019-2022 LushOnline
21+
* @copyright 2019-2023 LushOnline
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

@@ -30,7 +30,7 @@
3030
* mod_externalcontent functions
3131
*
3232
* @package mod_externalcontent
33-
* @copyright 2019-2022 LushOnline
33+
* @copyright 2019-2023 LushOnline
3434
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3535
*/
3636
class mod_externalcontent_external extends external_api {

0 commit comments

Comments
 (0)