Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/MOODLE_405_STABLE' into MOODLE…
Browse files Browse the repository at this point in the history
…_403_STABLE
  • Loading branch information
trevor-c committed Oct 7, 2024
2 parents 83d012e + 7e27884 commit 35a0aa7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ visibility).
Changelog
---------

2024-10-07 v4.5.0

* Fix inline display of show/hide arrow for Moodle 4.5
* Address new issues identified by code checker

2024-01-05 v4.1.0

* Fix inline list display inconsistencies in Moodle 4.1+
Expand Down Expand Up @@ -76,14 +81,14 @@ Installing from the Git repository (recommended if you installed Moodle from
Git):

Follow the instructions at
https://docs.moodle.org/401/en/Git_for_Administrators#Installing_a_contributed_extension_from_its_Git_repository,
e.g. for the Moodle 4.1.x code:
https://docs.moodle.org/405/en/Git_for_Administrators#Installing_a_contributed_extension_from_its_Git_repository,
e.g. for the Moodle 4.5.x code:

$ cd /path/to/your/moodle/
$ cd mod/
$ git clone https://github.com/tonyjbutler/moodle-mod_leganto.git leganto
$ cd leganto/
$ git checkout -b MOODLE_401_STABLE origin/MOODLE_401_STABLE
$ git checkout -b MOODLE_405_STABLE origin/MOODLE_405_STABLE
$ git branch -d master
$ cd /path/to/your/moodle/
$ echo /mod/leganto/ >> .git/info/exclude
Expand All @@ -104,7 +109,7 @@ Updating Moodle
---------------
If you installed Moodle and the Leganto reading list module from Git you can
run the following commands to update both (see
https://docs.moodle.org/401/en/Git_for_Administrators#Installing_a_contributed_extension_from_its_Git_repository):
https://docs.moodle.org/405/en/Git_for_Administrators#Installing_a_contributed_extension_from_its_Git_repository):

$ cd /path/to/your/moodle/
$ git pull
Expand Down
2 changes: 1 addition & 1 deletion classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class provider implements \core_privacy\local\metadata\null_provider {
*
* @return string
*/
public static function get_reason() : string {
public static function get_reason(): string {
return 'privacy:metadata';
}
}
4 changes: 4 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ div.legantobox ul.citations li.citation a.citationsource:active {
transform: rotate(-90deg);
}

.section .activity.leganto .activitytitle {
display: inherit;
}

.section .activity.leganto .afterlink {
margin: 0;
padding: 0.25rem;
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024010500; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2022112800; // Requires this Moodle version.
$plugin->version = 2024100700; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2023100900; // Requires this Moodle version.
$plugin->component = 'mod_leganto'; // Full name of the plugin (used for diagnostics).
$plugin->cron = 0;
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'v4.1.0 (Build: 20240105)';
$plugin->release = 'v4.5.0 (Build: 20241007)';

0 comments on commit 35a0aa7

Please sign in to comment.