Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3197
Open
weilai-irl wants to merge 27 commits into
Open
Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3197weilai-irl wants to merge 27 commits into
weilai-irl wants to merge 27 commits into
Conversation
…vent it from being cleared by Tiny editor
There was a problem hiding this comment.
Pull request overview
This PR imports the tiny_teamsmeeting TinyMCE plugin into the Moodle Tiny plugins area, adding UI + backend support for creating Microsoft Teams meetings and re-opening existing meeting links from the editor.
Changes:
- Added the
tiny_teamsmeetingplugin (PHP endpoints, DB schema, capability, settings, language strings, and privacy provider). - Added Tiny (AMD) frontend integration (toolbar button + dialog + link marking) with built JS artifacts.
- Added PHPUnit + Behat coverage and wired the plugin into the repo CI matrix.
Reviewed changes
Copilot reviewed 23 out of 41 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/ci.yml |
Adds lib/editor/tiny/plugins/teamsmeeting to the plugin CI matrix. |
lib/editor/tiny/plugins/teamsmeeting/version.php |
Declares plugin component/version requirements. |
lib/editor/tiny/plugins/teamsmeeting/settings.php |
Defines admin settings page for Meetings App URL. |
lib/editor/tiny/plugins/teamsmeeting/db/access.php |
Introduces tiny/teamsmeeting:add capability. |
lib/editor/tiny/plugins/teamsmeeting/db/install.xml |
Defines the tiny_teamsmeeting DB table. |
lib/editor/tiny/plugins/teamsmeeting/db/services.php |
Registers the AJAX webservice function and service. |
lib/editor/tiny/plugins/teamsmeeting/classes/plugininfo.php |
Wires the Tiny plugin button availability/config to Moodle/Tiny. |
lib/editor/tiny/plugins/teamsmeeting/classes/external/get_meeting_details.php |
Implements AJAX external function to resolve existing meeting links. |
lib/editor/tiny/plugins/teamsmeeting/classes/privacy/provider.php |
Declares privacy metadata for the external Meetings app. |
lib/editor/tiny/plugins/teamsmeeting/result.php |
Handles meeting creation result + DB insert + iframe rendering + postMessage. |
lib/editor/tiny/plugins/teamsmeeting/error.php |
Renders “meeting not found” iframe content. |
lib/editor/tiny/plugins/teamsmeeting/lang/en/tiny_teamsmeeting.php |
English strings for UI/settings/privacy. |
lib/editor/tiny/plugins/teamsmeeting/lang/pl/tiny_teamsmeeting.php |
Polish strings for UI/settings/privacy. |
lib/editor/tiny/plugins/teamsmeeting/pix/icon.svg |
Adds toolbar icon. |
lib/editor/tiny/plugins/teamsmeeting/README.MD |
Plugin documentation/usage guide. |
lib/editor/tiny/plugins/teamsmeeting/tests/webservice_test.php |
PHPUnit tests (currently capability-focused). |
lib/editor/tiny/plugins/teamsmeeting/tests/behat/teamsmeeting.feature |
Behat scenarios for capability-driven button visibility. |
lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js |
Shared constants for AMD modules. |
lib/editor/tiny/plugins/teamsmeeting/amd/src/plugin.js |
Tiny plugin registration bootstrap. |
lib/editor/tiny/plugins/teamsmeeting/amd/src/options.js |
Tiny option registration/getters. |
lib/editor/tiny/plugins/teamsmeeting/amd/src/configuration.js |
Toolbar configuration injection. |
lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js |
Button/dialog/link-marking logic + message handling + AJAX lookup. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js |
Built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js.map |
Sourcemap for built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js |
Built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js.map |
Sourcemap for built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js |
Built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js.map |
Sourcemap for built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js |
Built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js.map |
Sourcemap for built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js |
Built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js.map |
Sourcemap for built AMD artifact. |
lib/editor/tiny/plugins/teamsmeeting/.gitlab-ci.yml |
Plugin-local GitLab CI configuration (not used by this repo’s GitHub Actions). |
lib/editor/tiny/plugins/teamsmeeting/.github/workflows/ci.yml |
Plugin-local GitHub workflow file (not used by this repo’s root workflows). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
072104f to
a91d43c
Compare
a91d43c to
906ec3f
Compare
6bff348 to
01452b3
Compare
01452b3 to
2f3a05b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.