From ee3f1ab6f56e157d4f1c2e6236c73224bb67af97 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 29 Sep 2026 11:14:38 +0200 Subject: [PATCH] chore(wordpress): drop the svn/tags copy from git; releases are wordpress@ GitHub releases --- .gitignore | 2 + wordpress/README.md | 4 +- wordpress/svn/tags/1.0.0/README.txt | 87 -- .../svn/tags/1.0.0/build/web-embed-pdf.js | 1 - wordpress/svn/tags/1.0.0/simplepdf-embed.php | 113 -- .../svn/tags/1.0.0/src/@types/global.d.ts | 9 - wordpress/svn/tags/1.0.0/src/index.ts | 84 -- wordpress/svn/tags/1.0.0/src/shared.ts | 191 ---- wordpress/svn/tags/1.0.0/src/types.ts | 17 - wordpress/svn/tags/1.1.0/README.txt | 89 -- .../svn/tags/1.1.0/build/web-embed-pdf.js | 1 - wordpress/svn/tags/1.1.0/simplepdf-embed.php | 113 -- .../svn/tags/1.1.0/src/@types/global.d.ts | 9 - wordpress/svn/tags/1.1.0/src/index.ts | 84 -- wordpress/svn/tags/1.1.0/src/shared.ts | 198 ---- wordpress/svn/tags/1.1.0/src/types.ts | 17 - wordpress/svn/tags/1.1.1/README.txt | 91 -- .../svn/tags/1.1.1/build/web-embed-pdf.js | 1 - wordpress/svn/tags/1.1.1/simplepdf-embed.php | 113 -- .../svn/tags/1.1.1/src/@types/global.d.ts | 9 - wordpress/svn/tags/1.1.1/src/index.ts | 84 -- wordpress/svn/tags/1.1.1/src/shared.ts | 198 ---- wordpress/svn/tags/1.1.1/src/types.ts | 17 - wordpress/svn/tags/1.1.2/README.txt | 93 -- .../svn/tags/1.1.2/build/web-embed-pdf.js | 1 - wordpress/svn/tags/1.1.2/simplepdf-embed.php | 93 -- .../svn/tags/1.1.2/src/@types/global.d.ts | 9 - wordpress/svn/tags/1.1.2/src/index.ts | 20 - wordpress/svn/tags/1.1.2/src/shared.ts | 437 ------- wordpress/svn/tags/1.1.2/src/types.ts | 42 - wordpress/svn/tags/1.2.0/README.txt | 165 --- .../svn/tags/1.2.0/assets/icon-128x128.png | Bin 7194 -> 0 bytes .../svn/tags/1.2.0/build/web-embed-pdf.js | 1 - wordpress/svn/tags/1.2.0/pdf-links.php | 66 -- wordpress/svn/tags/1.2.0/simplepdf-embed.php | 1005 ----------------- .../svn/tags/1.2.0/src/@types/global.d.ts | 9 - wordpress/svn/tags/1.2.0/src/index.ts | 20 - wordpress/svn/tags/1.2.0/src/shared.ts | 423 ------- wordpress/svn/tags/1.2.0/src/types.ts | 30 - wordpress/svn/tags/1.2.0/uninstall.php | 9 - 40 files changed, 5 insertions(+), 3950 deletions(-) delete mode 100644 wordpress/svn/tags/1.0.0/README.txt delete mode 100644 wordpress/svn/tags/1.0.0/build/web-embed-pdf.js delete mode 100644 wordpress/svn/tags/1.0.0/simplepdf-embed.php delete mode 100644 wordpress/svn/tags/1.0.0/src/@types/global.d.ts delete mode 100644 wordpress/svn/tags/1.0.0/src/index.ts delete mode 100644 wordpress/svn/tags/1.0.0/src/shared.ts delete mode 100644 wordpress/svn/tags/1.0.0/src/types.ts delete mode 100644 wordpress/svn/tags/1.1.0/README.txt delete mode 100644 wordpress/svn/tags/1.1.0/build/web-embed-pdf.js delete mode 100644 wordpress/svn/tags/1.1.0/simplepdf-embed.php delete mode 100644 wordpress/svn/tags/1.1.0/src/@types/global.d.ts delete mode 100644 wordpress/svn/tags/1.1.0/src/index.ts delete mode 100644 wordpress/svn/tags/1.1.0/src/shared.ts delete mode 100644 wordpress/svn/tags/1.1.0/src/types.ts delete mode 100644 wordpress/svn/tags/1.1.1/README.txt delete mode 100644 wordpress/svn/tags/1.1.1/build/web-embed-pdf.js delete mode 100644 wordpress/svn/tags/1.1.1/simplepdf-embed.php delete mode 100644 wordpress/svn/tags/1.1.1/src/@types/global.d.ts delete mode 100644 wordpress/svn/tags/1.1.1/src/index.ts delete mode 100644 wordpress/svn/tags/1.1.1/src/shared.ts delete mode 100644 wordpress/svn/tags/1.1.1/src/types.ts delete mode 100644 wordpress/svn/tags/1.1.2/README.txt delete mode 100644 wordpress/svn/tags/1.1.2/build/web-embed-pdf.js delete mode 100644 wordpress/svn/tags/1.1.2/simplepdf-embed.php delete mode 100644 wordpress/svn/tags/1.1.2/src/@types/global.d.ts delete mode 100644 wordpress/svn/tags/1.1.2/src/index.ts delete mode 100644 wordpress/svn/tags/1.1.2/src/shared.ts delete mode 100644 wordpress/svn/tags/1.1.2/src/types.ts delete mode 100644 wordpress/svn/tags/1.2.0/README.txt delete mode 100644 wordpress/svn/tags/1.2.0/assets/icon-128x128.png delete mode 100644 wordpress/svn/tags/1.2.0/build/web-embed-pdf.js delete mode 100644 wordpress/svn/tags/1.2.0/pdf-links.php delete mode 100644 wordpress/svn/tags/1.2.0/simplepdf-embed.php delete mode 100644 wordpress/svn/tags/1.2.0/src/@types/global.d.ts delete mode 100644 wordpress/svn/tags/1.2.0/src/index.ts delete mode 100644 wordpress/svn/tags/1.2.0/src/shared.ts delete mode 100644 wordpress/svn/tags/1.2.0/src/types.ts delete mode 100644 wordpress/svn/tags/1.2.0/uninstall.php diff --git a/.gitignore b/.gitignore index 8a87439c..83bfb857 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ dev # Wordpress extension wordpress/svn/.svn +# Published versions live on WordPress.org SVN and as wordpress@ GitHub releases, not in git +wordpress/svn/tags/ # Chrome extension chrome-extension/release/ diff --git a/wordpress/README.md b/wordpress/README.md index bc93891b..b9dc9a80 100644 --- a/wordpress/README.md +++ b/wordpress/README.md @@ -21,7 +21,9 @@ To release a new version: 1. Set `SIMPLEPDF_WEB_EMBED_VERSION` in [simplepdf-embed.php](./svn/trunk/simplepdf-embed.php) to the `@simplepdf/web-embed-pdf` version pinned in [package.json](./package.json) (CI fails on a mismatch), and run `npm run package-plugin` 2. Set the new version in the [simplepdf-embed.php](./svn/trunk/simplepdf-embed.php) header and `SIMPLEPDF_PLUGIN_VERSION`, the `Stable tag` of [README.txt](./svn/trunk/README.txt) and [blueprint.json](./svn/assets/blueprints/blueprint.json) 3. Add the changelog entry in [README.txt](./svn/trunk/README.txt): it is posted to Discord as written -4. Merge. Then commit the new `svn/tags//` folder to git (it mirrors WordPress.org) +4. Merge + +Each published version is recorded as the `wordpress@` GitHub release, on the commit it was published from; `svn/tags/` is not kept in git. WordPress.org strips images from `README.txt`: show the plugin through `svn/assets/screenshot-N.png`, captioned under `== Screenshots ==`. diff --git a/wordpress/svn/tags/1.0.0/README.txt b/wordpress/svn/tags/1.0.0/README.txt deleted file mode 100644 index e5641702..00000000 --- a/wordpress/svn/tags/1.0.0/README.txt +++ /dev/null @@ -1,87 +0,0 @@ -=== SimplePDF Embed === -Contributors: bendersej -Tags: pdf, embed pdf, fill & sign PDF, pdf editor -Tested up to: 6.4.3 -Stable tag: 1.0.0 -License: GPLv2 or later -License URI: https://www.gnu.org/licenses/gpl-2.0.html -Requires at least: 5.8 -Requires PHP: 5.6.20 - -Your visitors can fill & sign PDFs without leaving your website. - -== Description == - -A lightweight plugin that automatically opens any PDF file with SimplePDF.eu: allowing your visitors to fill and edit PDFs (merge, rotate, delete pages) without leaving your website. - -== Try it out! == - -https://wordpress.simplepdf.co/ - -== Features == -- Any .pdf link on your website is automatically opened with SimplePDF.eu -- Add text, checkboxes, pictures, signatures to PDFs -- Fill fillable form -- Add, delete, rotate, merge PDFs -- Download the resulting PDF -- Works on all browsers and mobile devices -- Works with both Gutenber and the classic editor -- Fully responsive - -== Screenshots == - -1. SimplePDF Embed -2. Admin settings of SimplePDF Embed -3. Adding a PDF link using the Gutenber editor -4. Adding a PDF link using the classic editor -5. The PDF is opened on top of the existing website - -== Installation == - -This section describes how to install the plugin and get it working. - -e.g. - -1. Install using the WordPress built-in Plugin installer, or Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation. -2. Activate the plugin through the ‘Plugins’ menu in WordPress. -3. Optional: Go to Settings > SimplePDF Embed and enter your "Company Identifier" (requires a SimplePDF.eu account) -4. Now any PDF links in your wordpress pages are opened using SimplePDF (you can disable this behaviour in the settings: see 3.) - -== Frequently Asked Questions == -= I have installed the plugin: what should I do next? = - -All the existing PDF files will now open with SimplePDF.eu. - -If you wish to add new PDFs to your website, simply upload them to your Wordpress, copy the link and add it as a link to any page or paragraph in your wordpress. - -= The PDF is not opened with SimplePDF = - -Make sure that the link ends with ".pdf". - -Example: https://wordpress.simplepdf.co/wp-content/uploads/2024/01/example_wordpress.pdf - -= Do I need a SimplePDF account to use this plugin? = - -No: the plugin does not require an account to work: all features are available without any account. - -= What are the differences between using the plugin without and with a SimplePDF account? = - -Without an account, the plugin will open the PDF editor allowing your visitors to fill in documents and download them. - -With an account, the filled in documents will be automatically transmitted to you. You can configure to receive email notifications as well as use your own logo and loading. - -= Where should I submit my feature request or bug report? = - -Feel free to reach out to us at wordpress@simplepdf.eu! - -= Where can I see the code? = - -Our Github repository contains both the code for the Wordpress plugin as well as the underlying @simplepdf/web-embed-pdf code upon which it relies: -- [Wordpress plugin source code](https://github.com/SimplePDF/simplepdf-embed/tree/main/wordpress) -- [@simplepdf/web-embed-pdf](https://github.com/SimplePDF/simplepdf-embed/tree/main/web) - -== Changelog == - -= 1.0.0 = -* Initial release - diff --git a/wordpress/svn/tags/1.0.0/build/web-embed-pdf.js b/wordpress/svn/tags/1.0.0/build/web-embed-pdf.js deleted file mode 100644 index 76d3d3e0..00000000 --- a/wordpress/svn/tags/1.0.0/build/web-embed-pdf.js +++ /dev/null @@ -1 +0,0 @@ -!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){"use strict";function n(n,e,t){if(t||2===arguments.length)for(var o,i=0,l=e.length;i\n .simplePDF_container {\n user-select: none;\n position: fixed;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n height: 100vh;\n width: 100%;\n z-index: 999999;\n padding: 16px;\n top: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.4);\n }\n\n .simplePDF_content {\n width: 100%;\n height: 100%;\n position: relative;\n box-sizing: border-box;\n }\n\n .simplePDF_iframeContainer {\n overflow: hidden;\n background: #f1f7ff;\n border-radius: 6px;\n width: 100%;\n height: 100%;\n }\n\n .simplePDF_iframe {\n border: none;\n border-radius: 6px;\n width: 100%;\n height: 100%;\n }\n\n .simplePDF_close {\n z-index: 1;\n position: absolute;\n top: -12px;\n right: -12px;\n\n border: none;\n padding: 6px;\n border-radius: 50px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n box-shadow: 0 1px 3px rgb(0 0 0 / 10%), 0 1px 2px rgb(0 0 0 / 24%);\n\n cursor: pointer;\n background: #ff5959;\n text-shadow: 1px 1px #243889;\n }\n\n .simplePDF_close svg {\n fill: white;\n width: 14px;\n height: 14px;\n }\n\n .simplePDF_close:hover {\n box-shadow: 0 2px 4px rgb(0 0 0 / 10%), 0 4px 4px rgb(0 0 0 / 24%);\n }\n \n
\n
\n \n
\n