stable
Clone or download
Read-only
request #14867: Introduce embed as a new plugin
Here comes a new plugin. Install and activate the plugin "Embed". Go to an artifact. Insert a public Figma url: * in a text field * in a string field * in a follow-up comment Submit the artifact. Go to the artifact. Under the url a live preview of the service url is displayed. This patch only deals with Figma, based on their recommendation[0]. Other services will be added in dedicated commits. This takes another approach than previous implementation that was suffering from various security issues[1]. [0] https://www.figma.com/developers/embed [1] git #tuleap/stable/ef8ada3d69af2a23aa3f2484cd24c6be3bd7e1c7 Change-Id: I7c30d43e9b38b6d3b8629cf453893951388d5ef9
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/embed/README.mkd | +20 | −0 | Go to diff View file |
A | plugins/embed/include/embedPlugin.php | +68 | −0 | Go to diff View file |
A | plugins/embed/jest.config.js | +25 | −0 | Go to diff View file |
A | plugins/embed/package-lock.json | +4 | −0 | Go to diff View file |
A | plugins/embed/package.json | +16 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/insertEmbed.ts | +26 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/insertEmbedsEverywhere.test.ts | +94 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/insertEmbedsEverywhere.ts | +30 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/widget/__snapshots__/figma.test.ts.snap | +18 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/widget/__snapshots__/insertWidget.test.ts.snap | +124 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/widget/figma.test.ts | +44 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/widget/figma.ts | +45 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/widget/insertWidget.test.ts | +114 | −0 | Go to diff View file |
A | plugins/embed/scripts/embed/widget/insertWidget.ts | +68 | −0 | Go to diff View file |
A | plugins/embed/scripts/index.ts | +28 | −0 | Go to diff View file |
A | plugins/embed/scripts/selectors.test.ts | +32 | −0 | Go to diff View file |
A | plugins/embed/scripts/selectors.ts | +26 | −0 | Go to diff View file |
A | plugins/embed/site-content/fr_FR/LC_MESSAGES/tuleap-embed.po | +13 | −0 | Go to diff View file |
A | plugins/embed/tsconfig.json | +9 | −0 | Go to diff View file |
A | plugins/embed/webpack.common.js | +52 | −0 | Go to diff View file |
A | plugins/embed/webpack.dev.js | +23 | −0 | Go to diff View file |
A | plugins/embed/webpack.prod.js | +23 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php | +6 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/Renderer/GetAdditionalJavascriptFilesForArtifactDisplay.php | +49 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_String.class.php | +1 | −1 | Go to diff View file |
M | src/themes/FlamingParrot/css/utils/_pre-definitions.scss | +4 | −0 | Go to diff View file |
M | tools/rpm/tuleap.rhel6.spec | +12 | −0 | Go to diff View file |
M | tools/rpm/tuleap.rhel7.spec | +12 | −0 | Go to diff View file |