Skip to content

Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3197

Open
weilai-irl wants to merge 27 commits into
MOODLE_502_STABLEfrom
wip-130956-m502
Open

Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3197
weilai-irl wants to merge 27 commits into
MOODLE_502_STABLEfrom
wip-130956-m502

Conversation

@weilai-irl

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 26, 2026 14:49
@weilai-irl weilai-irl self-assigned this May 26, 2026
@weilai-irl weilai-irl added this to the 2026-03 milestone May 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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_teamsmeeting plugin (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.

Comment thread lib/editor/tiny/plugins/teamsmeeting/result.php Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js
Comment thread lib/editor/tiny/plugins/teamsmeeting/result.php Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/result.php
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js
Comment thread lib/editor/tiny/plugins/teamsmeeting/tests/webservice_test.php
@weilai-irl weilai-irl force-pushed the wip-130956-m502 branch 2 times, most recently from 072104f to a91d43c Compare May 27, 2026 11:30
@weilai-irl weilai-irl force-pushed the wip-130956-m502 branch 2 times, most recently from 6bff348 to 01452b3 Compare May 28, 2026 11:05
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.

4 participants