Skip to content

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

Open
weilai-irl wants to merge 27 commits into
MOODLE_500_STABLEfrom
wip-130956-m500
Open

Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3195
weilai-irl wants to merge 27 commits into
MOODLE_500_STABLEfrom
wip-130956-m500

Conversation

@weilai-irl

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 26, 2026 14:45
@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 (Tiny editor) plugin into lib/editor/tiny/plugins/teamsmeeting, including the UI (AMD modules), backend scripts/webservice endpoints, capability definitions, DB schema, and CI integration so it is tested alongside the other components in this repository.

Changes:

  • Add the Tiny editor plugin implementation (AMD code + PHP plugininfo) to expose a “Teams Meeting” toolbar button and configuration.
  • Add backend endpoints (external function + iframe result/error scripts) and initial DB schema for storing/retrieving meeting links.
  • Add test coverage (PHPUnit capability tests + Behat UI checks) and include the plugin folder in the repo CI matrix.

Reviewed changes

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

Show a summary per file
File Description
lib/editor/tiny/plugins/teamsmeeting/version.php Declares plugin component/version metadata.
lib/editor/tiny/plugins/teamsmeeting/settings.php Adds admin settings page definition for the plugin.
lib/editor/tiny/plugins/teamsmeeting/db/access.php Defines tiny/teamsmeeting:add capability defaults.
lib/editor/tiny/plugins/teamsmeeting/db/install.xml Creates {tiny_teamsmeeting} table schema.
lib/editor/tiny/plugins/teamsmeeting/db/services.php Registers AJAX-enabled external function/service.
lib/editor/tiny/plugins/teamsmeeting/classes/plugininfo.php Tiny plugin registration (buttons/config/is_enabled).
lib/editor/tiny/plugins/teamsmeeting/classes/external/get_meeting_details.php External API for retrieving stored meeting details.
lib/editor/tiny/plugins/teamsmeeting/classes/privacy/provider.php Privacy metadata for external location usage.
lib/editor/tiny/plugins/teamsmeeting/result.php Iframe result handler + meeting persistence + postMessage.
lib/editor/tiny/plugins/teamsmeeting/error.php Iframe “meeting not found” error view.
lib/editor/tiny/plugins/teamsmeeting/lang/en/tiny_teamsmeeting.php English strings for UI/settings/privacy/capability.
lib/editor/tiny/plugins/teamsmeeting/lang/pl/tiny_teamsmeeting.php Polish translation strings.
lib/editor/tiny/plugins/teamsmeeting/pix/icon.svg Tiny toolbar icon.
lib/editor/tiny/plugins/teamsmeeting/README.MD Plugin installation/usage documentation.
lib/editor/tiny/plugins/teamsmeeting/tests/webservice_test.php PHPUnit tests for capability behaviour.
lib/editor/tiny/plugins/teamsmeeting/tests/behat/teamsmeeting.feature Behat scenarios for button visibility based on capability.
lib/editor/tiny/plugins/teamsmeeting/amd/src/plugin.js Tiny plugin bootstrap/registration.
lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js Shared constants for AMD modules.
lib/editor/tiny/plugins/teamsmeeting/amd/src/options.js Registers and exposes Tiny plugin options.
lib/editor/tiny/plugins/teamsmeeting/amd/src/configuration.js Toolbar configuration (adds Teams Meeting button).
lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js Button behaviour, iframe dialog, link insertion/updates.
lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js Built AMD bundle for plugin bootstrap.
lib/editor/tiny/plugins/teamsmeeting/amd/build/plugin.min.js.map Source map for built plugin bundle.
lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js Built AMD bundle for common module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/common.min.js.map Source map for built common module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js Built AMD bundle for options module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/options.min.js.map Source map for built options module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js Built AMD bundle for configuration module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/configuration.min.js.map Source map for built configuration module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js Built AMD bundle for commands module.
lib/editor/tiny/plugins/teamsmeeting/amd/build/commands.min.js.map Source map for built commands module.
lib/editor/tiny/plugins/teamsmeeting/.github/workflows/ci.yml Plugin-local CI workflow (standalone plugin context).
lib/editor/tiny/plugins/teamsmeeting/.gitlab-ci.yml Plugin-local GitLab CI configuration (standalone plugin context).
.github/workflows/ci.yml Adds the plugin folder to the monorepo CI matrix.

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

Comment thread lib/editor/tiny/plugins/teamsmeeting/classes/plugininfo.php
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/common.js Outdated
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/settings.php
Comment thread lib/editor/tiny/plugins/teamsmeeting/result.php Outdated
Comment thread lib/editor/tiny/plugins/teamsmeeting/db/install.xml
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/commands.js
Comment thread lib/editor/tiny/plugins/teamsmeeting/amd/src/options.js Outdated
@weilai-irl weilai-irl force-pushed the wip-130956-m500 branch 2 times, most recently from c901989 to 1af9b33 Compare May 27, 2026 11:30
@weilai-irl weilai-irl force-pushed the wip-130956-m500 branch 2 times, most recently from 9b61d5f to 45dbf05 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