Skip to content

Commit

Permalink
Merge pull request #30 from ilovepdf/develop
Browse files Browse the repository at this point in the history
v2.0.3
  • Loading branch information
diegocrombie authored Mar 7, 2024
2 parents 6eb5d09 + 7f13b8b commit 9230989
Show file tree
Hide file tree
Showing 18 changed files with 148 additions and 7,026 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vendor/*
composer.lock
package-lock.json
dev/package-lock.json
dev/node_modules/

# Compiled Java class files
*.class
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
=== Best Watermark - Protect images on your site with iLoveIMG ===
Plugin Name: Best Watermark - Protect images on your site with iLoveIMG
Version: 2.0.2
Version: 2.0.3
Author: iLovePDF
Author URI: https://www.iloveimg.com/
Contributors: iLovePDF
Tags: watermark, image protection, photography, picture, e-commerce
Requires at least: 5.3
Tested up to: 6.4.2
Stable tag: 2.0.2
Tested up to: 6.4.3
Stable tag: 2.0.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -86,6 +86,11 @@ Moreover, all processed files are automatically deleted from our servers after b

== Changelog ==

== 2.0.3 ==
Added
* Update libraries.
* Assets files were optimized.

== 2.0.2 ==
Added
* Update iloveimg-php library
Expand Down
11 changes: 8 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
=== Best Watermark - Protect images on your site with iLoveIMG ===
Plugin Name: Best Watermark - Protect images on your site with iLoveIMG
Version: 2.0.2
Version: 2.0.3
Author: iLovePDF
Author URI: https://www.iloveimg.com/
Contributors: iLovePDF
Tags: watermark, image protection, photography, picture, e-commerce
Requires at least: 5.3
Tested up to: 6.4.2
Stable tag: 2.0.2
Tested up to: 6.4.3
Stable tag: 2.0.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -86,6 +86,11 @@ Moreover, all processed files are automatically deleted from our servers after b

== Changelog ==

== 2.0.3 ==
Added
* Update libraries.
* Assets files were optimized.

== 2.0.2 ==
Added
* Update iloveimg-php library
Expand Down
10 changes: 5 additions & 5 deletions admin/Ilove_Img_Wm_Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Ilove_Img_Wm_Plugin {
* @access public
* @var string VERSION The current version of the plugin.
*/
const VERSION = '2.0.2';
const VERSION = '2.0.3';

/**
* The unique identifier of this plugin.
Expand Down Expand Up @@ -93,21 +93,21 @@ public function admin_init() {
public function enqueue_scripts() {
wp_enqueue_script(
self::NAME . '_spectrum_admin',
plugins_url( '/assets/js/spectrum.js', __DIR__ ),
plugins_url( '/assets/js/spectrum.min.js', __DIR__ ),
array(),
self::VERSION,
'1.8.0',
true
);
wp_enqueue_script(
self::NAME . '_admin',
plugins_url( '/assets/js/main.js', __DIR__ ),
plugins_url( '/assets/js/main.min.js', __DIR__ ),
array(),
self::VERSION,
true
);
wp_enqueue_style(
self::NAME . '_admin',
plugins_url( '/assets/css/app.css', __DIR__ ),
plugins_url( '/assets/css/app.min.css', __DIR__ ),
array(),
self::VERSION
);
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions assets/js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/js/spectrum.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
},
"scripts": {
"stan": "vendor/bin/phpstan analyse --memory-limit=-1 --error-format=table > ../../../phpstan-report-iloveimg-watermark.txt",
"phpcs-summary": "phpcs -s --report=summary --ignore=*/vendor/*,*/iloveimg-php/*,*/.github/*,*/assets/css/* --report-file=../../../condesniffer-report-summary-iloveimg-watermark.txt ./",
"phpcs": "phpcs -s --ignore=*/vendor/*,*/iloveimg-php/*,*/.github/*,*/assets/css/* --report-file=../../../condesniffer-report-iloveimg-watermark.txt ./",
"phpcbf": "phpcbf --ignore=vendor/,iloveimg-php/,.github/ ./",
"phpcs-summary": "phpcs -s --report=summary --ignore=*/vendor/*,*/iloveimg-php/*,*/.github/*,*/assets/css/*,*/assets/js/* --report-file=../../../condesniffer-report-summary-iloveimg-watermark.txt ./",
"phpcs": "phpcs -s --ignore=*/node_modules/*,*/vendor/*,*/iloveimg-php/*,*/.github/*,*/assets/js/*,*/assets/css/* --report-file=../../../condesniffer-report-iloveimg-watermark.txt ./",
"phpcbf": "phpcbf --ignore=node_modules/,vendor/,iloveimg-php/,assets/js/,assets/css/,.github/ ./",
"autoload-dev": "composer dump-autoload",
"autoload-prod": "composer dump-autoload --no-dev"
},
Expand Down
47 changes: 0 additions & 47 deletions dev/gulpfile.js

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 9230989

Please sign in to comment.