diff --git a/README.md b/README.md index 017a66e..8393908 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ **Donate link:** https://tareq.co/donate/ **Tags:** sms, text, notification, twilio, nexmo, vonage, clickatell, plivo, dokan, woocommerce **Requires at least:** 5.0 -**Tested up to:** 5.8 -**Stable tag:** 1.1 +**Tested up to:** 6.0 +**Stable tag:** 1.1.1 **Requires PHP:** 5.6 **License:** GPLv2 or later **License URI:** https://www.gnu.org/licenses/gpl-2.0.html @@ -103,11 +103,15 @@ Well, it depends. Let us know what you want, we might consider adding that featu ## Changelog ## +### v1.1.1 (2 June, 2022) ### + + - **Fix:** WordPress 6.0 compatibility + ### v1.1 (31 Aug, 2021) ### - **Fix:** Responsive issue in the settings panel was fixed where the name of gateways were overflowing the total viewport. - **Fix:** Remove duplicate numbers while sending messages. If a message is being sent and somehow two person have the same numbers, it'll only send one message. - **New:** Syncing of vendor phone number from Dokan added while registration. When a vendor was registering, his phone number from Dokan wasn't syncing as a Texty number, which prevented him to receive messages. + - **Fix:** Responsive issue in the settings panel was fixed where the name of gateways were overflowing the total viewport. + - **Fix:** Remove duplicate numbers while sending messages. If a message is being sent and somehow two person have the same numbers, it'll only send one message. + - **New:** Syncing of vendor phone number from Dokan added while registration. When a vendor was registering, his phone number from Dokan wasn't syncing as a Texty number, which prevented him to receive messages. ### v1.0 (22 Jan, 2021) ### diff --git a/composer.lock b/composer.lock index ed8b550..33869a0 100644 --- a/composer.lock +++ b/composer.lock @@ -46,33 +46,37 @@ "theme", "wordpress" ], + "support": { + "issues": "https://github.com/Appsero/client/issues", + "source": "https://github.com/Appsero/client/tree/v1.2.0" + }, "time": "2020-09-10T09:10:28+00:00" } ], "packages-dev": [ { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.1", + "version": "v0.7.2", "source": { "type": "git", "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c" + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", "shasum": "" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { "composer/composer": "*", - "phpcompatibility/php-compatibility": "^9.0", - "sensiolabs/security-checker": "^4.1.0" + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" }, "type": "composer-plugin", "extra": { @@ -93,6 +97,10 @@ "email": "franck.nijhof@dealerdirect.com", "homepage": "http://www.frenck.nl", "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" } ], "description": "PHP_CodeSniffer Standards Composer Installer Plugin", @@ -104,6 +112,7 @@ "codesniffer", "composer", "installer", + "phpcbf", "phpcs", "plugin", "qa", @@ -114,7 +123,11 @@ "stylecheck", "tests" ], - "time": "2020-12-07T18:04:37+00:00" + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, + "time": "2022-02-04T12:51:07+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -172,32 +185,36 @@ "phpcs", "standards" ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibility" + }, "time": "2019-12-27T09:44:58+00:00" }, { "name": "phpcompatibility/phpcompatibility-paragonie", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git", - "reference": "b862bc32f7e860d0b164b199bd995e690b4b191c" + "reference": "ddabec839cc003651f2ce695c938686d1086cf43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/b862bc32f7e860d0b164b199bd995e690b4b191c", - "reference": "b862bc32f7e860d0b164b199bd995e690b4b191c", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/ddabec839cc003651f2ce695c938686d1086cf43", + "reference": "ddabec839cc003651f2ce695c938686d1086cf43", "shasum": "" }, "require": { "phpcompatibility/php-compatibility": "^9.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7", "paragonie/random_compat": "dev-master", "paragonie/sodium_compat": "dev-master" }, "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." }, "type": "phpcodesniffer-standard", @@ -224,20 +241,24 @@ "polyfill", "standards" ], - "time": "2019-11-04T15:17:54+00:00" + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie" + }, + "time": "2021-02-15T10:24:51+00:00" }, { "name": "phpcompatibility/phpcompatibility-wp", - "version": "2.1.0", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git", - "reference": "41bef18ba688af638b7310666db28e1ea9158b2f" + "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/41bef18ba688af638b7310666db28e1ea9158b2f", - "reference": "41bef18ba688af638b7310666db28e1ea9158b2f", + "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/d55de55f88697b9cdb94bccf04f14eb3b11cf308", + "reference": "d55de55f88697b9cdb94bccf04f14eb3b11cf308", "shasum": "" }, "require": { @@ -245,10 +266,10 @@ "phpcompatibility/phpcompatibility-paragonie": "^1.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5" + "dealerdirect/phpcodesniffer-composer-installer": "^0.7" }, "suggest": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.", "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." }, "type": "phpcodesniffer-standard", @@ -274,20 +295,24 @@ "standards", "wordpress" ], - "time": "2019-08-28T14:22:28+00:00" + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP" + }, + "time": "2021-12-30T16:37:40+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.8", + "version": "3.6.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4" + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", "shasum": "" }, "require": { @@ -325,7 +350,12 @@ "phpcs", "standards" ], - "time": "2020-10-23T02:01:07+00:00" + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2021-12-12T21:44:58+00:00" }, { "name": "tareq1988/wp-php-cs-fixer", @@ -341,6 +371,7 @@ "reference": "56b9c1dd2b979a4ff7a25afa2e1c6b290a5ae876", "shasum": "" }, + "default-branch": true, "type": "library", "autoload": { "psr-4": { @@ -358,6 +389,10 @@ } ], "description": "WordPress rules for php-cs-fixer", + "support": { + "issues": "https://github.com/tareq1988/wp-php-cs-fixer/issues", + "source": "https://github.com/tareq1988/wp-php-cs-fixer/tree/master" + }, "time": "2020-09-21T09:47:38+00:00" }, { @@ -404,6 +439,11 @@ "standards", "wordpress" ], + "support": { + "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues", + "source": "https://github.com/WordPress/WordPress-Coding-Standards", + "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" + }, "time": "2020-05-13T23:57:56+00:00" } ], @@ -417,5 +457,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.1.0" } diff --git a/languages/texty.json b/languages/texty.json index 8f24813..c37a3dc 100644 --- a/languages/texty.json +++ b/languages/texty.json @@ -21,7 +21,7 @@ null, "" ], - "https://wedevs.com": [ + "https://wptexty.com/": [ null, "" ], @@ -261,6 +261,18 @@ null, "" ], + "Settings": [ + null, + "" + ], + "SMS Gateway": [ + null, + "" + ], + "Gateways": [ + null, + "" + ], "Test Message": [ null, "" diff --git a/languages/texty.pot b/languages/texty.pot index bb8de32..6ca6f94 100644 --- a/languages/texty.pot +++ b/languages/texty.pot @@ -1,21 +1,19 @@ -# Copyright (c) 2021 weDevs Pte. Ltd. All Rights Reserved. +# Copyright (c) 2022 weDevs Pte. Ltd. All Rights Reserved. msgid "" msgstr "" -"Project-Id-Version: Texty 1.1\n" +"Project-Id-Version: Texty 1.1.1\n" "Report-Msgid-Bugs-To: https://github.com/weDevsOfficial/texty/issues\n" "Last-Translator: support@wedevs.com\n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2021-08-31T12:39:36+00:00\n" +"POT-Creation-Date: 2022-06-02T14:24:51+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.4.0\n" +"X-Generator: WP-CLI 2.6.0\n" "X-Domain: texty\n" #. Plugin Name of the plugin -#: includes/Admin/Menu.php:26 -#: includes/Admin/Menu.php:27 msgid "Texty" msgstr "" @@ -32,267 +30,201 @@ msgid "weDevs" msgstr "" #. Author URI of the plugin -msgid "https://wedevs.com" +msgid "https://wptexty.com/" msgstr "" -#: includes/Admin/Profile.php:28 msgid "Phone Number (Texty)" msgstr "" -#: includes/Api/Send.php:35 -#: includes/Api/Tools.php:35 msgid "The to phone number" msgstr "" -#: includes/Api/Send.php:40 msgid "The message to be sent" msgstr "" -#: includes/Api/Settings.php:127 msgid "The selected gateway" msgstr "" -#: includes/Gateways/Clickatell.php:25 msgid "Clickatell" msgstr "" #. translators: URL to Twilio settings and help docs -#: includes/Gateways/Clickatell.php:36 msgid "Send SMS with Clickatell. Follow this link to get the API. Follow these instructions to configure the gateway." msgstr "" -#: includes/Gateways/Clickatell.php:64 -#: includes/Gateways/Vonage.php:64 msgid "API Key" msgstr "" -#: includes/Gateways/Fake.php:20 msgid "Fake Gateway" msgstr "" -#: includes/Gateways/Fake.php:29 msgid "This is a fake gateway that logs the messages to debug.log file without sending the actual SMS." msgstr "" -#: includes/Gateways/Plivo.php:25 msgid "Plivo" msgstr "" #. translators: URL to Plivo settings and help docs -#: includes/Gateways/Plivo.php:36 msgid "Send SMS with Plivo. Follow this link to get the Auth ID and Token from Plivo. Follow these instructions to configure the gateway." msgstr "" -#: includes/Gateways/Plivo.php:64 msgid "Auth ID" msgstr "" -#: includes/Gateways/Plivo.php:70 -#: includes/Gateways/Twilio.php:70 msgid "Auth Token" msgstr "" -#: includes/Gateways/Plivo.php:76 -#: includes/Gateways/Twilio.php:76 -#: includes/Gateways/Vonage.php:76 msgid "From Number" msgstr "" -#: includes/Gateways/Plivo.php:79 msgid "Must be a valid number associated with your Plivo account" msgstr "" -#: includes/Gateways/Twilio.php:25 msgid "Twilio" msgstr "" #. translators: URL to Twilio settings and help docs -#: includes/Gateways/Twilio.php:36 msgid "Send SMS with Twilio. Follow this link to get the Account SID and Token from Twilio. Follow these instructions to configure the gateway." msgstr "" -#: includes/Gateways/Twilio.php:64 msgid "Account SID" msgstr "" -#: includes/Gateways/Twilio.php:79 msgid "Must be a valid number associated with your Twilio account" msgstr "" -#: includes/Gateways/Vonage.php:25 msgid "Vonage (nexmo)" msgstr "" #. translators: Vonage dashboard settings URL and help docs -#: includes/Gateways/Vonage.php:45 msgid "Send SMS with Vonage (formerly Nexmo). Follow this link to get the API Key and Secret from Vonage. Follow these instructions to configure the gateway." msgstr "" -#: includes/Gateways/Vonage.php:70 msgid "API Secret" msgstr "" -#: includes/Notifications.php:83 msgid "WordPress" msgstr "" -#: includes/Notifications.php:88 msgid "WooCommerce" msgstr "" -#: includes/Notifications.php:93 msgid "Dokan" msgstr "" -#: includes/Notifications/Dokan/CompleteVendor.php:11 msgid "Vendor - When Order Status is Complete" msgstr "" -#: includes/Notifications/Dokan/ProcessingVendor.php:11 msgid "Vendor - When Order Status is Processing" msgstr "" -#: includes/Notifications/WC/CompleteAdmin.php:11 msgid "Admin - When Order Status is Complete" msgstr "" -#: includes/Notifications/WC/CompleteCustomer.php:11 msgid "Customer - When Order Status is Complete" msgstr "" -#: includes/Notifications/WC/HoldCustomer.php:11 msgid "Customer - When Order Status is On Hold" msgstr "" -#: includes/Notifications/WC/ProcessingAdmin.php:11 msgid "Admin - When Order Status is Processing" msgstr "" -#: includes/Notifications/WC/ProcessingCustomer.php:11 msgid "Customer - When Order Status is Processing" msgstr "" -#: includes/Notifications/WP/Comment.php:18 msgid "New Comment" msgstr "" -#: includes/Notifications/WP/Registration.php:18 msgid "New User Registration" msgstr "" -#: src/components/Header.js:35 -#: src/components/Header.js:38 msgid "Gateway Settings" msgstr "" -#: src/components/Header.js:44 -#: src/components/Header.js:47 -#: src/pages/Notifications.js:90 msgid "Notifications" msgstr "" -#: src/components/Header.js:53 -#: src/components/Header.js:56 -#: src/pages/Tools.js:15 msgid "Tools" msgstr "" -#: src/components/NotificationItem.js:35 msgid "active" msgstr "" -#: src/components/NotificationItem.js:35 msgid "inactive" msgstr "" -#: src/components/NotificationItem.js:41 msgid "Enable" msgstr "" -#: src/components/NotificationItem.js:52 msgid "Select one or multiple user roles. Users with phone number in their profile will receive the text" msgstr "" -#: src/components/NotificationItem.js:78 -#: src/components/QuickSend.js:58 msgid "Message" msgstr "" -#: src/components/NotificationItem.js:86 msgid "You may use these variables: " msgstr "" -#: src/components/QuickSend.js:29 -#: src/components/TestMessage.js:27 msgid "Message has been sent." msgstr "" -#: src/components/QuickSend.js:32 -#: src/components/TestMessage.js:30 msgid "Error, message could not be sent." msgstr "" -#: src/components/QuickSend.js:49 msgid "Phone Number" msgstr "" -#: src/components/QuickSend.js:60 msgid "Write your message..." msgstr "" -#: src/components/QuickSend.js:68 -#: src/components/TestMessage.js:59 msgid "Sending..." msgstr "" -#: src/components/QuickSend.js:68 msgid "Send Message" msgstr "" -#: src/components/Status.js:33 msgid "Connected" msgstr "" -#: src/components/Status.js:33 msgid "Not connected" msgstr "" -#: src/components/TestMessage.js:47 msgid "Test Number" msgstr "" -#: src/components/TestMessage.js:52 msgid "Enter a phone number to test the SMS sending." msgstr "" -#: src/components/TestMessage.js:59 msgid "Send Test" msgstr "" -#: src/pages/Notifications.js:75 msgid "Changes have been saved" msgstr "" -#: src/pages/Notifications.js:92 msgid "Enable or disable notification based on different events." msgstr "" -#: src/pages/Notifications.js:113 msgid "Plugin not installed" msgstr "" -#: src/pages/Notifications.js:151 msgid "Saving..." msgstr "" -#: src/pages/Notifications.js:151 msgid "Save Changes" msgstr "" -#: src/pages/Tools.js:22 +msgid "Settings" +msgstr "" + +msgid "SMS Gateway" +msgstr "" + +msgid "Gateways" +msgstr "" + msgid "Test Message" msgstr "" -#: src/pages/Tools.js:30 msgid "Quick Send" msgstr "" diff --git a/package.json b/package.json index 4c4db39..7c164d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "texty", - "version": "1.0.0", + "version": "1.1.1", "description": "", "main": "index.js", "keywords": [], diff --git a/readme.txt b/readme.txt index bbfcfac..06d3ab1 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: tareq1988, wedevs, nizamuddinbabu Donate link: https://tareq.co/donate/ Tags: sms, text, notification, twilio, nexmo, vonage, clickatell, plivo, dokan, woocommerce Requires at least: 5.0 -Tested up to: 5.8 -Stable tag: 1.1 +Tested up to: 6.0 +Stable tag: 1.1.1 Requires PHP: 5.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -103,11 +103,15 @@ Well, it depends. Let us know what you want, we might consider adding that featu == Changelog == += v1.1.1 (2 June, 2022) = + + - **Fix:** WordPress 6.0 compatibility + = v1.1 (31 Aug, 2021) = - **Fix:** Responsive issue in the settings panel was fixed where the name of gateways were overflowing the total viewport. - **Fix:** Remove duplicate numbers while sending messages. If a message is being sent and somehow two person have the same numbers, it'll only send one message. - **New:** Syncing of vendor phone number from Dokan added while registration. When a vendor was registering, his phone number from Dokan wasn't syncing as a Texty number, which prevented him to receive messages. + - **Fix:** Responsive issue in the settings panel was fixed where the name of gateways were overflowing the total viewport. + - **Fix:** Remove duplicate numbers while sending messages. If a message is being sent and somehow two person have the same numbers, it'll only send one message. + - **New:** Syncing of vendor phone number from Dokan added while registration. When a vendor was registering, his phone number from Dokan wasn't syncing as a Texty number, which prevented him to receive messages. = v1.0 (22 Jan, 2021) = diff --git a/texty.php b/texty.php index b77ed15..1e608dd 100644 --- a/texty.php +++ b/texty.php @@ -4,8 +4,8 @@ * Description: SMS Notification for WordPress * Plugin URI: https://wordpress.org/plugins/texty/ * Author: weDevs - * Author URI: https://wedevs.com - * Version: 1.1 + * Author URI: https://wptexty.com/ + * Version: 1.1.1 * License: GPL2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: texty @@ -24,7 +24,7 @@ final class Texty { * * @var string */ - private $version = '1.1'; + private $version = '1.1.1'; /** * Instances array