Skip to content

Conversation

Fragonite
Copy link

TL;DR

Requires the before_http_headers hook.

The hook calls the original function for backwards compatibility with 4.1.

Testing

Install the plugin.
Add an instance of the block to a course with teachers.
Edit the block settings to show contact information for all teacher roles.
Verify it works correctly.
There is also an admin settings page for the plugin where defaults can be set.

@Fragonite Fragonite requested a review from dmitriim February 3, 2025 12:57
@dmitriim
Copy link
Member

dmitriim commented Feb 3, 2025

@Fragonite LGTM. Please create an issue for the upstream repo + MR to that repo. Good to merge here after that.

@Fragonite
Copy link
Author

@Fragonite LGTM. Please create an issue for the upstream repo + MR to that repo. Good to merge here after that.

The hook fix is only necessary due to one of our customisations: #1

Do you want to open a PR for all our changes?

@dmitriim
Copy link
Member

dmitriim commented Feb 4, 2025

Is there issue/PR for that customisation?

@Fragonite
Copy link
Author

Just this issue, no PR submitted. roelmann#34

@dmitriim
Copy link
Member

dmitriim commented Feb 4, 2025

Can you please raise an issue + submit PR which would include your patch as well?

@Fragonite
Copy link
Author

Issue and PR have been created. There actually is an existing upstream PR for #1 (see below).

roelmann#41

roelmann#42

@dmitriim dmitriim merged commit 48f441c into master-catalyst Feb 5, 2025
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