Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3195
Open
weilai-irl wants to merge 27 commits into
Open
Import tiny_teamsmeeting plugin into lib/editor/tiny/plugins/teamsmeeting#3195weilai-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 (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.
c901989 to
1af9b33
Compare
1af9b33 to
e6f5801
Compare
9b61d5f to
45dbf05
Compare
1396b8b to
cca72b9
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.