Add Website Preview plugin#495
Conversation
|
@Junhao-Han, thanks for submitting! At a glance, the |
|
@asmecher, thanks for the review. I converted the archive tests from a directly executable smoke script into a PHPUnit-style test class, so the test file no longer performs actions if reached through the web server. I published a new plugin release, 1.0.0.1, and updated this PR to point to the new package and MD5. The updated package contains tests/WebsitePreviewArchiveServiceTest.php instead of the previous executable smoke script. |
|
Thanks, @Junhao-Han, I've merged the plugin! |
|
Thank you very much, @asmecher ! |
Adds Website Preview, a generic OJS plugin for previewing static website projects submitted as ZIP files from the OJS workflow page.
The plugin registers a Web Project file type, adds a Website preview action in the workflow, selects a clear index.html entry point, and renders the project in a sandboxed preview frame.
Tested against OJS 3.3.0-21.