-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the experimental HTML converter (#47)
* Update wptelegram-bot-api * Update wptelegram-bot-api * Add format-text library * Move wptelegram-bot-api to bot-api * Update format-text * Fix VS Code config * Update composer and PHPCS config * Update format-text * Add the experimental HTML converter * Update gulpfile.esm.js * Prepare for v3.2.0 Co-authored-by: irshadahmad21 <[email protected]>
- Loading branch information
1 parent
f5bc9ac
commit 9d02cab
Showing
32 changed files
with
194 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "src/includes/wptelegram-bot-api"] | ||
path = src/includes/wptelegram-bot-api | ||
url = https://github.com/manzoorwanijk/wptelegram-bot-api.git | ||
[submodule "src/includes/bot-api"] | ||
path = src/includes/bot-api | ||
url = [email protected]:wpsocio/wptelegram-bot-api.git | ||
[submodule "src/includes/format-text"] | ||
path = src/includes/format-text | ||
url = [email protected]:wpsocio/wptelegram-format-text.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"recommendations": ["emeraldwalk.runonsave", "ikappas.phpcs", "bmewburn.vscode-intelephense-client"] | ||
"recommendations": [ | ||
"wongjn.php-sniffer", | ||
"bmewburn.vscode-intelephense-client", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
{ | ||
"phpcs.standard": "${workspaceFolder}/phpcs.xml", | ||
"emeraldwalk.runonsave": { | ||
"commands": [ | ||
{ | ||
"match": "\\.php$", | ||
"cmd": "\"vendor/bin/phpcbf\" --standard=phpcs.xml \"${file}\"" | ||
} | ||
] | ||
}, | ||
"[php]": { | ||
"editor.formatOnSave": false | ||
} | ||
"[php]": { | ||
"editor.defaultFormatter": "wongjn.php-sniffer", | ||
"editor.formatOnSave": true | ||
}, | ||
"phpSniffer.standard": "phpcs.xml", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ruleset name="WPTelegram"> | ||
|
||
<!-- Enable colors in report --> | ||
<arg name="colors"/> | ||
<!-- Enable colors in report --> | ||
<arg name="colors" /> | ||
|
||
<!-- Add source codes in the report --> | ||
<arg value="s"/> | ||
<!-- Add source codes in the report --> | ||
<arg value="s" /> | ||
|
||
<!-- Load WordPress Coding standards --> | ||
<rule ref="WordPress"/> | ||
<exclude-pattern>*/includes/format-text/*</exclude-pattern> | ||
<exclude-pattern>*/includes/html2text/*</exclude-pattern> | ||
|
||
<!-- Customize --> | ||
<rule ref="WordPress"> | ||
<!-- Disable File Name warning --> | ||
<exclude name="WordPress.Files.FileName" /> | ||
<!-- Disable short array syntax warning --> | ||
<exclude name="Generic.Arrays.DisallowShortArraySyntax" /> | ||
</rule> | ||
<!-- Disallow Long Array Syntax --> | ||
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found"> | ||
<type>warning</type> | ||
</rule> | ||
<!-- Load WordPress Coding standards --> | ||
<rule ref="WordPress" /> | ||
|
||
<!-- Customize --> | ||
<rule ref="WordPress"> | ||
<!-- Disable File Name warning --> | ||
<exclude name="WordPress.Files.FileName" /> | ||
|
||
<!-- Disable short array syntax warning --> | ||
<exclude name="Generic.Arrays.DisallowShortArraySyntax" /> | ||
</rule> | ||
|
||
<!-- Disallow Long Array Syntax --> | ||
<rule ref="Generic.Arrays.DisallowLongArraySyntax.Found"> | ||
<type>warning</type> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule format-text
added at
f0623b
Submodule wptelegram-bot-api
deleted from
4a21b9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: WP Telegram - Stable\n" | ||
"Report-Msgid-Bugs-To: https://github.com/wpsocio/wptelegram\n" | ||
"POT-Creation-Date: 2022-12-08 11:44:38+00:00\n" | ||
"POT-Creation-Date: 2023-01-19 15:14:07+00:00\n" | ||
"PO-Revision-Date: 2021-03-14 01:37+0530\n" | ||
"Last-Translator: Robert Skiba <[email protected]>\n" | ||
"Language-Team: Deutsch\n" | ||
|
@@ -30,7 +30,7 @@ msgstr "" | |
"Mit diesem Plugin kann man Posts an Telegram senden, Benachrichtigungen " | ||
"erhalten und vieles mehr :)" | ||
|
||
#: includes/Main.php:314 | ||
#: includes/Main.php:319 | ||
msgid "WP Telegram" | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: WP Telegram - Stable\n" | ||
"Report-Msgid-Bugs-To: https://github.com/wpsocio/wptelegram\n" | ||
"POT-Creation-Date: 2022-12-08 11:44:38+00:00\n" | ||
"POT-Creation-Date: 2023-01-19 15:14:07+00:00\n" | ||
"PO-Revision-Date: 2021-03-14 01:37+0530\n" | ||
"Last-Translator: Robert Skiba <[email protected]>\n" | ||
"Language-Team: Deutsch\n" | ||
|
@@ -28,7 +28,7 @@ msgid "" | |
"and do lot more :)" | ||
msgstr "" | ||
|
||
#: includes/Main.php:314 | ||
#: includes/Main.php:319 | ||
msgid "WP Telegram" | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: WP Telegram - Stable\n" | ||
"Report-Msgid-Bugs-To: https://github.com/wpsocio/wptelegram\n" | ||
"POT-Creation-Date: 2022-12-08 11:44:38+00:00\n" | ||
"POT-Creation-Date: 2023-01-19 15:14:07+00:00\n" | ||
"PO-Revision-Date: 2021-03-14 02:02+0530\n" | ||
"Last-Translator: \n" | ||
"Language-Team: Taktaweb Group <[email protected]>\n" | ||
|
@@ -31,7 +31,7 @@ msgstr "" | |
"با این افزونه، شما می توانید نوشتهها را به تلگرام بفرستید و اعلان دریافت " | ||
"کنید و کلی کارهای دیگه انجام بدید :)" | ||
|
||
#: includes/Main.php:314 | ||
#: includes/Main.php:319 | ||
msgid "WP Telegram" | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.