Skip to content

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

Open
weilai-irl wants to merge 27 commits into
MOODLE_501_STABLEfrom
wip-130956-m501
Open

Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3196
weilai-irl wants to merge 27 commits into
MOODLE_501_STABLEfrom
wip-130956-m501

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 lib/editor/tiny/plugins/teamsmeeting, adding Microsoft Teams meeting creation/link insertion support to Moodle’s Tiny editor, along with supporting DB schema, webservice, UI assets, tests, and CI wiring.

Changes:

  • Adds the tiny_teamsmeeting plugin (PHP integration, settings, capability, DB table, external function, UI scripts/assets).
  • Adds automated coverage (PHPUnit + Behat) and plugin-scoped CI configs.
  • Updates the repository CI workflow matrix to include this new plugin folder.

Reviewed changes

Copilot reviewed 23 out of 41 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
lib/editor/tiny/plugins/teamsmeeting/version.php Declares plugin metadata/version requirements.
lib/editor/tiny/plugins/teamsmeeting/settings.php Adds admin settings for the Meetings App URL.
lib/editor/tiny/plugins/teamsmeeting/result.php Handles meeting creation result display + persistence + postMessage.
lib/editor/tiny/plugins/teamsmeeting/error.php Renders an iframe-friendly “meeting not found” error page.
lib/editor/tiny/plugins/teamsmeeting/README.MD Usage/installation documentation for the plugin.
lib/editor/tiny/plugins/teamsmeeting/pix/icon.svg Provides Tiny toolbar icon asset.
lib/editor/tiny/plugins/teamsmeeting/lang/en/tiny_teamsmeeting.php English strings (UI, capability, privacy).
lib/editor/tiny/plugins/teamsmeeting/lang/pl/tiny_teamsmeeting.php Polish strings for UI/privacy.
lib/editor/tiny/plugins/teamsmeeting/db/access.php Defines tiny/teamsmeeting:add capability.
lib/editor/tiny/plugins/teamsmeeting/db/install.xml Defines DB table for storing meeting info.
lib/editor/tiny/plugins/teamsmeeting/db/services.php Registers AJAX webservice function/service.
lib/editor/tiny/plugins/teamsmeeting/classes/plugininfo.php Tiny plugin integration (buttons/config/is_enabled).
lib/editor/tiny/plugins/teamsmeeting/classes/privacy/provider.php Privacy API metadata (external location link).
lib/editor/tiny/plugins/teamsmeeting/classes/external/get_meeting_details.php External API to look up existing meetings by URL.
lib/editor/tiny/plugins/teamsmeeting/tests/webservice_test.php PHPUnit tests around capability behavior.
lib/editor/tiny/plugins/teamsmeeting/tests/behat/teamsmeeting.feature Behat scenarios for toolbar button visibility based on capability.
lib/editor/tiny/plugins/teamsmeeting/amd/src/plugin.js Registers the Tiny plugin with TinyMCE.
lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js Shared constants for the JS plugin.
lib/editor/tiny/plugins/teamsmeeting/amd/src/options.js Registers/reads Tiny plugin options (appurl, locale, sesskey, etc.).
lib/editor/tiny/plugins/teamsmeeting/amd/src/configuration.js Injects plugin button into Tiny toolbar configuration.
lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js Implements the toolbar button/dialog, link marking, AJAX lookup, and postMessage handling.
lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js Built AMD bundle for plugin loader.
lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js.map Sourcemap for built plugin bundle.
lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js Built AMD bundle for common constants.
lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js.map Sourcemap for common bundle.
lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js Built AMD bundle for options.
lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js.map Sourcemap for options bundle.
lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js Built AMD bundle for toolbar configuration.
lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js.map Sourcemap for configuration bundle.
lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js Built AMD bundle for commands/dialog behavior.
lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js.map Sourcemap for commands bundle.
lib/editor/tiny/plugins/teamsmeeting/.gitlab-ci.yml Plugin-level GitLab CI configuration for moodle-plugin-ci.
lib/editor/tiny/plugins/teamsmeeting/.github/workflows/ci.yml Plugin-level GitHub Actions workflow for moodle-plugin-ci.
.github/workflows/ci.yml Includes lib/editor/tiny/plugins/teamsmeeting in the repo CI matrix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/classes/plugininfo.php
Comment thread lib/editor/tiny/plugins/teamsmeeting/db/install.xml
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/amd/src/commands.js
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/settings.php
Comment thread lib/editor/tiny/plugins/teamsmeeting/db/services.php
@weilai-irl weilai-irl force-pushed the wip-130956-m501 branch 2 times, most recently from 6ebf685 to db0622f Compare May 27, 2026 11:30
@weilai-irl weilai-irl force-pushed the wip-130956-m501 branch 2 times, most recently from 77b2875 to 573777e 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