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

Merge branches 'stable-catalyst-400' and 'stable-catalyst-fix-resize' into stable-catalyst #67

Open
wants to merge 39 commits into
base: stable-catalyst
Choose a base branch
from

Conversation

Fragonite
Copy link

TL;DR

Consolidates the active branches and updates the minified js.

Testing

Run php vendor/bin/phpunit --testsuite mod_hvp_testsuite and verify the tests pass.

Upstream

Ideally we want to just use upstream, or at least submit PRs to upstream.

Our fork has accumulated a fair few changes, we would need to go through them and split it up into suitable issues and PRs.

rhell4 and others added 30 commits April 13, 2023 10:59
Add height if the activity has description
…atalyst-400

Resolve merge conflicts stable catalyst 400
* feat: Add support for downloadable H5P via Mobile app

* feat: updated cache method, handles video

* feat: handle elements inside of canvases

* bugfix: fix cron handler context

* bugfix: fix background image url detection

* feat: add margin on right so user can always scroll

* bugfix: force only ttf fonts for ios compatibility

* bugfix: fix default ios serif font

* feat: match iframe scrollheight to stop inner scrolling

* chore: add more docs

* docs: update mobile docs

* cleanup: move all hvp data to new window namespace

* bugfix: add unique id to selectors to mitigate mobile page load race conditions

* cleanup: put resizer on window namespace

* bugfix: run hvp only after cached assets are loaded

* bugfix: mobile resizer handle infinite height content types

* bugfix: start completion manager only after H5P is accessible

* docs: update mobile docs

* bugfix: remove resizer, opt for fixed height instead

* bugfix: fix resizer properly

* bugfix: fix unit test
chore: fix namespacing issues in 4.2+
This includes:
- Bulk update libraries to latest versions
- Bulk upgrade content to latest library version
- Bulk export libraries (for importing to another site)
- Bulk import is already a feature using the existing "Upload Libraries"
Increase php time limit for library export/import
Resolves 4.5 compatibility - install failure h5p#562
Replaced MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF to MESSAGE_DEFAULT_ENABLED as per Moodle plugin upgrade documentation: https://github.com/moodle/moodle/blob/13c12756b4d7e85f2d2e34038216179fd287c9c2/lib/upgrade.txt#L716

Thanks @otacke and @lkcivan
@Fragonite Fragonite requested review from dmitriim and removed request for dmitriim January 6, 2025 04:42
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.