Skip to content

Commit

Permalink
Prepare for next release (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
irshadahmad21 authored Nov 18, 2024
1 parent 3e78a6d commit c29c6b5
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 63 deletions.
5 changes: 0 additions & 5 deletions .changeset/stupid-bikes-walk.md

This file was deleted.

6 changes: 6 additions & 0 deletions plugins/wptelegram-login/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.11.6

### Patch Changes

- [#207](https://github.com/wpsocio/wp-projects/pull/207) [`3e78a6d`](https://github.com/wpsocio/wp-projects/commit/3e78a6dacfd61e875c5187427d777e9f653f2c99) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed login for Web Apps after recent Telegram update to Bot API.

## 1.11.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion plugins/wptelegram-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 6.4
**Requires PHP:** 7.4
**Tested up to:** 6.7
**Stable tag:** 1.11.5
**Stable tag:** 1.11.6
**License:** GPL-3.0-or-later
**License URI:** [https://www.gnu.org/licenses/gpl-3.0.html](https://www.gnu.org/licenses/gpl-3.0.html)
**Donate link:** [wpsocio.com/donate](https://wpsocio.com/donate)
Expand Down
2 changes: 1 addition & 1 deletion plugins/wptelegram-login/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wpsocio/wptelegram-login",
"version": "1.11.5",
"version": "1.11.6",
"description": "Let the users login to your website with their Telegram and make it simple for them to get connected and let them receive their email notifications on Telegram.",
"scripts": {
"gen:docs": "\"vendor/bin/wp-documentor\" parse src --format=markdown --output=docs/README.md --relative=docs",
Expand Down
36 changes: 18 additions & 18 deletions plugins/wptelegram-login/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Argument | Type | Description
`$wp_user_id` | `int` | The WordPress user ID.
`$userdata` | `array` | The user data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 578](../src/shared/LoginHandler.php#L578-L584)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 579](../src/shared/LoginHandler.php#L579-L585)

### `wptelegram_login_after_update_user`

Expand All @@ -120,7 +120,7 @@ Argument | Type | Description
`$wp_user_id` | `int` | The WordPress user ID.
`$userdata` | `array` | The user data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 614](../src/shared/LoginHandler.php#L614-L620)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 615](../src/shared/LoginHandler.php#L615-L621)

### `wptelegram_login_after_update_user_meta`

Expand All @@ -132,7 +132,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$wp_user_id` | `int` | The WordPress user ID.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 634](../src/shared/LoginHandler.php#L634-L639)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 635](../src/shared/LoginHandler.php#L635-L640)

## Filters

Expand Down Expand Up @@ -281,7 +281,7 @@ Argument | Type | Description
`$validation_query_params` | `array` | The validation query parameters.
`$input` | `array` | The input data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 203](../src/shared/LoginHandler.php#L203-L209)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 204](../src/shared/LoginHandler.php#L204-L210)

### `wptelegram_login_clean_input`

Expand All @@ -294,7 +294,7 @@ Argument | Type | Description
`$clean_input` | `array` | The cleaned input.
`$input` | `array` | The input data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 213](../src/shared/LoginHandler.php#L213-L219)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 214](../src/shared/LoginHandler.php#L214-L220)

### `wptelegram_login_valid_auth_data`

Expand All @@ -307,7 +307,7 @@ Argument | Type | Description
`$auth_data` | `array` | The valid auth data.
`$input_data` | `array` | The input data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 263](../src/shared/LoginHandler.php#L263-L269)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 264](../src/shared/LoginHandler.php#L264-L270)

### `wptelegram_login_hash_auth_data`

Expand All @@ -321,7 +321,7 @@ Argument | Type | Description
`$auth_data` | `array` | The auth data received.
`$secret_key` | `string` | The secret key.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 297](../src/shared/LoginHandler.php#L297-L304)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 298](../src/shared/LoginHandler.php#L298-L305)

### `wptelegram_login_get_secret_key`

Expand All @@ -335,7 +335,7 @@ Argument | Type | Description
`$data_source` | `string` | The data source.
`$bot_token` | `string` | The bot token.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 343](../src/shared/LoginHandler.php#L343-L350)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 344](../src/shared/LoginHandler.php#L344-L351)

### `wptelegram_login_random_email_host`

Expand All @@ -348,7 +348,7 @@ Argument | Type | Description
`$host` | `string` | The host for the random email.
`$user` | `\WP_User` | The current user.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 364](../src/shared/LoginHandler.php#L364-L370)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 365](../src/shared/LoginHandler.php#L365-L371)

### `wptelegram_login_random_email_user`

Expand All @@ -361,7 +361,7 @@ Argument | Type | Description
`$random_user` | `string` | The username for the random email.
`$user` | `\WP_User` | The current user.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 373](../src/shared/LoginHandler.php#L373-L379)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 374](../src/shared/LoginHandler.php#L374-L380)

### `wptelegram_login_random_email`

Expand All @@ -376,7 +376,7 @@ Argument | Type | Description
`$random_user` | `string` | The username for the random email.
`$host` | `string` | The host for the random email.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 383](../src/shared/LoginHandler.php#L383-L391)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 384](../src/shared/LoginHandler.php#L384-L392)

### `wptelegram_login_disable_signup`

Expand All @@ -391,7 +391,7 @@ Argument | Type | Description
`$disable_signup` | `bool` | Whether to disable sign up via Telegram.
`$data` | `array` | The user details.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 474](../src/shared/LoginHandler.php#L474-L482)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 475](../src/shared/LoginHandler.php#L475-L483)

### `wptelegram_login_always_update_user_data`

Expand All @@ -409,7 +409,7 @@ Argument | Type | Description
`$data` | `array` | The user details.
`$existing_user_id` | `int\|null` | Existing WP User ID.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 492](../src/shared/LoginHandler.php#L492-L503)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 493](../src/shared/LoginHandler.php#L493-L504)

### `wptelegram_login_save_user_data`

Expand All @@ -422,7 +422,7 @@ Argument | Type | Description
`$data` | `array` | The user details.
`$wp_user_id` | `int\|null` | Existing WP User ID.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 526](../src/shared/LoginHandler.php#L526-L532)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 527](../src/shared/LoginHandler.php#L527-L533)

### `wptelegram_login_unique_username`

Expand All @@ -434,7 +434,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$unique_username` | `string` | The unique username.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 551](../src/shared/LoginHandler.php#L551-L556)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 552](../src/shared/LoginHandler.php#L552-L557)

### `wptelegram_login_insert_user_data`

Expand All @@ -446,7 +446,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$userdata` | `array` | The user data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 565](../src/shared/LoginHandler.php#L565-L570)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 566](../src/shared/LoginHandler.php#L566-L571)

### `wptelegram_login_update_user_data`

Expand All @@ -460,7 +460,7 @@ Argument | Type | Description
-------- | ---- | -----------
`$userdata` | `array` | The user data.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 594](../src/shared/LoginHandler.php#L594-L601)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 595](../src/shared/LoginHandler.php#L595-L602)

### `wptelegram_login_user_redirect_to`

Expand All @@ -473,7 +473,7 @@ Argument | Type | Description
`$redirect_to` | `string` | The redirect URL.
`$user` | `\WP_User` | The logged in user.

Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 682](../src/shared/LoginHandler.php#L682-L688)
Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 683](../src/shared/LoginHandler.php#L683-L689)

### `wptelegram_login_web_app_login_data`

Expand Down
2 changes: 1 addition & 1 deletion plugins/wptelegram-login/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wptelegram-login",
"title": "WP Telegram Login",
"version": "1.11.5",
"version": "1.11.6",
"description": "Let the users login to your website with their Telegram and make it simple for them to get connected and let them receive their email notifications on Telegram.",
"private": true,
"license": "GPL-3.0-or-later",
Expand Down
14 changes: 7 additions & 7 deletions plugins/wptelegram-login/src/languages/wptelegram-login-de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -565,28 +565,28 @@ msgstr "%s wird benötigt."
msgid "Changes could not be saved."
msgstr "Die Änderungen konnten nicht gespeichert werden."

#: shared/LoginHandler.php:250
#: shared/LoginHandler.php:251
msgid "Unauthorized! Data is NOT from Telegram"
msgstr "Unautorisiert! Diese Daten stammen NICHT von Telegram"

#: shared/LoginHandler.php:254
#: shared/LoginHandler.php:255
msgid "Invalid! The data is outdated"
msgstr "Ungültig! Die Daten sind abgelaufen/veraltet"

#: shared/LoginHandler.php:443
#: shared/LoginHandler.php:444
msgid "Invalid! The data is incomplete"
msgstr "Ungültig! Die Daten sind unvollständig"

#: shared/LoginHandler.php:460
#: shared/LoginHandler.php:461
msgid "The Telegram User ID is already associated with another existing user. Please contact the admin"
msgstr "Diese Telegram User ID ist bereits mit einem anderen existierenden Benutzer verbunden. Bitte den Administrator kontaktieren"

#: shared/LoginHandler.php:486
#: shared/LoginHandler.php:487
msgid "Sign up via Telegram is disabled. You must first create an account and connect it to Telegram to be able to use Telegram Login"
msgstr "Anmelden über Telegram ist deaktiviert. Du musst zuerst einen Account anlegen und mit Telegram verbinden, um Telegram Login verwenden zu können."

#: shared/LoginHandler.php:575
#: shared/LoginHandler.php:611
#: shared/LoginHandler.php:576
#: shared/LoginHandler.php:612
msgid "Telegram sign in could not be completed."
msgstr "Die Telegram-Anmeldung konnte nicht erfolgreich durchgeführt werden."

Expand Down
14 changes: 7 additions & 7 deletions plugins/wptelegram-login/src/languages/wptelegram-login-ru_RU.po
Original file line number Diff line number Diff line change
Expand Up @@ -566,28 +566,28 @@ msgstr ""
msgid "Changes could not be saved."
msgstr ""

#: shared/LoginHandler.php:250
#: shared/LoginHandler.php:251
msgid "Unauthorized! Data is NOT from Telegram"
msgstr "Несанкционированный! Данные НЕ из Telegram"

#: shared/LoginHandler.php:254
#: shared/LoginHandler.php:255
msgid "Invalid! The data is outdated"
msgstr "Ошибка! Данные устарели"

#: shared/LoginHandler.php:443
#: shared/LoginHandler.php:444
msgid "Invalid! The data is incomplete"
msgstr "Ошибка! Данные неполные"

#: shared/LoginHandler.php:460
#: shared/LoginHandler.php:461
msgid "The Telegram User ID is already associated with another existing user. Please contact the admin"
msgstr "Идентификатор пользователя Telegram уже связан с другой существующей учетной записью. Пожалуйста, свяжитесь с администратором"

#: shared/LoginHandler.php:486
#: shared/LoginHandler.php:487
msgid "Sign up via Telegram is disabled. You must first create an account and connect it to Telegram to be able to use Telegram Login"
msgstr "Регистрация через Telegram отключена. Вы должны сначала создать учетную запись и подключить к ней Telegram, чтобы иметь возможность входа через Telegram"

#: shared/LoginHandler.php:575
#: shared/LoginHandler.php:611
#: shared/LoginHandler.php:576
#: shared/LoginHandler.php:612
msgid "Telegram sign in could not be completed."
msgstr "Не удалось выполнить вход через Telegram."

Expand Down
14 changes: 7 additions & 7 deletions plugins/wptelegram-login/src/languages/wptelegram-login-uk.po
Original file line number Diff line number Diff line change
Expand Up @@ -566,28 +566,28 @@ msgstr "%s є обов'язковим."
msgid "Changes could not be saved."
msgstr "Не вдається зберегти зміни."

#: shared/LoginHandler.php:250
#: shared/LoginHandler.php:251
msgid "Unauthorized! Data is NOT from Telegram"
msgstr "Несанкціоновано! Дані НЕ від Telegram"

#: shared/LoginHandler.php:254
#: shared/LoginHandler.php:255
msgid "Invalid! The data is outdated"
msgstr "Недійсний! Дані застарілі"

#: shared/LoginHandler.php:443
#: shared/LoginHandler.php:444
msgid "Invalid! The data is incomplete"
msgstr "Недійсний! Дані неповні"

#: shared/LoginHandler.php:460
#: shared/LoginHandler.php:461
msgid "The Telegram User ID is already associated with another existing user. Please contact the admin"
msgstr "Ідентифікатор користувача Telegram вже пов'язаний з іншим наявним користувачем. Будь ласка, зверніться до адміністратора"

#: shared/LoginHandler.php:486
#: shared/LoginHandler.php:487
msgid "Sign up via Telegram is disabled. You must first create an account and connect it to Telegram to be able to use Telegram Login"
msgstr "Реєстрація через Telegram вимкнена. Спочатку потрібно створити обліковий запис і підключити його до Telegram, щоб мати можливість користуватися Telegram Вхід"

#: shared/LoginHandler.php:575
#: shared/LoginHandler.php:611
#: shared/LoginHandler.php:576
#: shared/LoginHandler.php:612
msgid "Telegram sign in could not be completed."
msgstr "Не вдалося увійти в Telegram."

Expand Down
18 changes: 9 additions & 9 deletions plugins/wptelegram-login/src/languages/wptelegram-login.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: WP Telegram Login 1.11.5\n"
"Project-Id-Version: WP Telegram Login 1.11.6\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wptelegram-login\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-11-14T16:35:25+00:00\n"
"POT-Creation-Date: 2024-11-18T05:49:02+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.11.0\n"
"language: en_US\n"
Expand Down Expand Up @@ -628,28 +628,28 @@ msgstr ""
msgid "Please contact your hosting provider to ensure the above requirements are met."
msgstr ""

#: shared/LoginHandler.php:250
#: shared/LoginHandler.php:251
msgid "Unauthorized! Data is NOT from Telegram"
msgstr ""

#: shared/LoginHandler.php:254
#: shared/LoginHandler.php:255
msgid "Invalid! The data is outdated"
msgstr ""

#: shared/LoginHandler.php:443
#: shared/LoginHandler.php:444
msgid "Invalid! The data is incomplete"
msgstr ""

#: shared/LoginHandler.php:460
#: shared/LoginHandler.php:461
msgid "The Telegram User ID is already associated with another existing user. Please contact the admin"
msgstr ""

#: shared/LoginHandler.php:486
#: shared/LoginHandler.php:487
msgid "Sign up via Telegram is disabled. You must first create an account and connect it to Telegram to be able to use Telegram Login"
msgstr ""

#: shared/LoginHandler.php:575
#: shared/LoginHandler.php:611
#: shared/LoginHandler.php:576
#: shared/LoginHandler.php:612
msgid "Telegram sign in could not be completed."
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions plugins/wptelegram-login/src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: telegram, login, register, social, signup
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.7
Stable tag: 1.11.5
Stable tag: 1.11.6
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -154,7 +154,7 @@ Automatic updates should work smoothly, but we still recommend you back up your

== Changelog ==

= 1.11.5 =
- Fixed the issue of block editor Zoom out not being visible when the plugin is active
= 1.11.6 =
- Fixed login for Web Apps after recent Telegram update to Bot API.

[See full changelog](https://github.com/wpsocio/wptelegram-login/blob/main/CHANGELOG.md)
Loading

0 comments on commit c29c6b5

Please sign in to comment.