Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moodle 4.4 upgrade #60

Merged
merged 19 commits into from
Oct 11, 2024

Conversation

stopfstedt
Copy link
Member

  • refactored Ilios API client
  • added test coverage

copy/pasted from tool_ilioscategoryassigment.
the functionality we got from this dependency has been absorbed into this plugin.
fixes typo in release info and bumps version while at it.
i'm dropping the year info from the copyright. it's unnecessary.
this code has always, and will always, "belong to" the regents.
see ilios#50

this addresses the regression outline in
fixes unrelated linting errors while at it.
do some cleanup on pre-existing tests while at it.
these tests cover areas of the process that haven't changed during this
refactor, but that should be covered with tests nonetheless.
Copy link
Member

@jrjohnson jrjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of questions on some specific parts.

classes/ilios.php Show resolved Hide resolved
classes/ilios.php Outdated Show resolved Hide resolved
classes/ilios.php Show resolved Hide resolved
edit.php Show resolved Hide resolved
lang/en_us/enrol_ilios.php Show resolved Hide resolved
tests/helper_test.php Show resolved Hide resolved
tests/lib_test.php Show resolved Hide resolved
ilios::get() is never called with additional options, so we can just pass the
JWT token in an array without blending things first.
@stopfstedt stopfstedt requested a review from jrjohnson October 11, 2024 17:12
Copy link
Member

@jrjohnson jrjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super approve!

classes/ilios.php Show resolved Hide resolved
edit.php Show resolved Hide resolved
@jrjohnson jrjohnson merged commit b0af9bd into ilios:MOODLE_404_STABLE Oct 11, 2024
4 checks passed
@stopfstedt stopfstedt deleted the moodle44upgradeforreal branch October 11, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants