This commit is contained in:
Eduard Kuzmenko 2022-04-16 20:15:57 +03:00
parent 1a4e7e5e1c
commit 8ae953383c
71 changed files with 128 additions and 63 deletions

6
.env
View File

@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.4.1
VERSION_FULL=1.4.1 (160)
BUILD=160
VERSION=1.4.2
VERSION_FULL=1.4.2 (161)
BUILD=161

View File

@ -1,3 +1,19 @@
### 1.4.2 (161)
* The Video Player now supports **Picture-in-Picture** mode keep messaging and switching chats while watching videos. Open a video, then click or tap the icon in the bottom right corner.
* The **Audio Player** has been packed with two new features for music lovers: set your favorite song to **repeat** or change the **playback order** for playlists. It will also **remember** your playback settings __(volume, repeat, and speed)__.
* Replies in Forwarded Messages reply previews are now included when **forwarding messages** to other chats, so everyone can see the full context of your inside jokes.
* From your chat list, hit the `ESC` key and instantly start typing in Search.
* Search inputs now transliterate between Latin and Cyrillic keyboards when searching for your friend __Ivan__ you can type __Шмфт__ and the app will know what you meant.
* Along with other Telegram apps, WebK now shows `FAKE` and `SCAM` badges for suspicious chats.
* `Monospace text` has an improved font with a cleaner look. You can also copy with a tap or click instantly.
* Using the ⬇️ button to jump to the end of a chat now has an animated transition.
* Try the reworked **Chat Backgrounds**: dark patterns now render faster and instantly resize.
* Issues with messages marked as read automatically and deleting voice messages in Shared Media have been fixed.
**WebK** now has an [official channel](http://t.me/WebK_en) where we will cover important news, updates and more about the app in English (For Russian, [press 2](http://t.me/WebK_ru)).
### 1.4.1 (144)
* Supported Emoji 14.
* Improved connection stability.

15
CHANGELOG_ru.md Normal file
View File

@ -0,0 +1,15 @@
### 1.4.2 (161)
* Видеопроигрыватель теперь поддерживает режим **«картинка в картинке»** видео останется перед глазами, даже если Вы перейдёте в другую беседу. Для вызова режима откройте видео, далее кликните или коснитесь кнопки в правом нижнем углу проигрывателя.
* Любителей слушать музыку в Telegram порадуют два нововведения музыкального проигрывателя **режим повтора песни** и возможность воспроизводить плейлисты в **обратном порядке**. Кроме того, проигрыватель теперь **запоминает** Ваши предпочтения __(уровень громкости, режим повтора, а также скорость воспроизведения)__.
* Сохранение ответов при пересылке возможность быстро переместиться к исходному сообщению появилась и при **пересылке ответа** в другие чаты. Шутку не придется объяснять, если сразу добавить контекст.
* В настольных браузерах касание кнопки `ESC` откроет поиск начинайте набор моментально.
* Не беда, если забыли переключиться с латиницы на кириллицу при поиске, WebK поймёт, что __Bdfy это Иван__.
* Как и в остальных приложениях Telegram, метки `SCAM` и `FAKE` теперь отображаются на подозрительных чатах и каналах.
* `Моноширинный текст` получил новый шрифт. Моментально копируйте текст с таким форматированием по клику или касанию.
* Прокрутка истории чата вниз через кнопку ⬇️ теперь анимируется.
* **Фоны для чатов** были улучшены узоры в тёмных фонах быстрее отрисовываются и моментально перестраиваются, если Вы меняете размер окна браузера.
* Исправлены недоработки с автоматическим прочтением сообщений и удалением голосовых заметок из вкладки Общие Медиа.
У **WebK** появился [официальный канал](http://t.me/WebK_ru) в нём рассказываем о приложении на русском языке (For English, [press 1](http://t.me/WebK_en)).

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,14 @@
• The Video Player now supports **Picture-in-Picture** mode keep messaging and switching chats while watching videos. Open a video, then click or tap the icon in the bottom right corner.
• The **Audio Player** has been packed with two new features for music lovers: set your favorite song to **repeat** or change the **playback order** for playlists. It will also **remember** your playback settings __(volume, repeat, and speed)__.
• Replies in Forwarded Messages reply previews are now included when **forwarding messages** to other chats, so everyone can see the full context of your inside jokes.
• From your chat list, hit the `ESC` key and instantly start typing in Search.
• Search inputs now transliterate between Latin and Cyrillic keyboards when searching for your friend __Ivan__ you can type __Шмфт__ and the app will know what you meant.
• Along with other Telegram apps, WebK now shows `FAKE` and `SCAM` badges for suspicious chats.
`Monospace text` has an improved font with a cleaner look. You can also copy with a tap or click instantly.
• Using the ⬇️ button to jump to the end of a chat now has an animated transition.
• Try the reworked **Chat Backgrounds**: dark patterns now render faster and instantly resize.
• Issues with messages marked as read automatically and deleting voice messages in Shared Media have been fixed.
•*WebK** now has an [official channel](http://t.me/WebK_en) where we will cover important news, updates and more about the app in English (For Russian, [press 2](http://t.me/WebK_ru)).

View File

@ -0,0 +1,14 @@
• Видеопроигрыватель теперь поддерживает режим **«картинка в картинке»** видео останется перед глазами, даже если Вы перейдёте в другую беседу. Для вызова режима откройте видео, далее кликните или коснитесь кнопки в правом нижнем углу проигрывателя.
• Любителей слушать музыку в Telegram порадуют два нововведения музыкального проигрывателя **режим повтора песни** и возможность воспроизводить плейлисты в **обратном порядке**. Кроме того, проигрыватель теперь **запоминает** Ваши предпочтения __(уровень громкости, режим повтора, а также скорость воспроизведения)__.
• Сохранение ответов при пересылке возможность быстро переместиться к исходному сообщению появилась и при **пересылке ответа** в другие чаты. Шутку не придется объяснять, если сразу добавить контекст.
В настольных браузерах касание кнопки `ESC` откроет поиск начинайте набор моментально.
Не беда, если забыли переключиться с латиницы на кириллицу при поиске, WebK поймёт, что __Bdfy это Иван__.
• Как и в остальных приложениях Telegram, метки `SCAM` и `FAKE` теперь отображаются на подозрительных чатах и каналах.
`Моноширинный текст` получил новый шрифт. Моментально копируйте текст с таким форматированием по клику или касанию.
• Прокрутка истории чата вниз через кнопку ⬇️ теперь анимируется.
**Фоны для чатов** были улучшены узоры в тёмных фонах быстрее отрисовываются и моментально перестраиваются, если Вы меняете размер окна браузера.
• Исправлены недоработки с автоматическим прочтением сообщений и удалением голосовых заметок из вкладки Общие Медиа.
У **WebK** появился [официальный канал](http://t.me/WebK_ru) в нём рассказываем о приложении на русском языке (For English, [press 1](http://t.me/WebK_en)).

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
1.4.1 (160)
1.4.2 (161)

View File

@ -689,11 +689,17 @@ export class ApiUpdatesManager {
if(newVersion) {
this.updatesState.syncLoading.then(async() => {
const strs: Record<string, string> = {
en: 'was updated to version',
ru: 'обновлён до версии'
};
const getChangelog = (lang: string) => {
fetch(`changelogs/${newVersion.split(' ')[0]}_${lang}.md`)
fetch(`changelogs/${lang}_${newVersion.split(' ')[0]}.md`)
.then(res => (res.status === 200 && res.ok && res.text()) || Promise.reject())
.then(text => {
const pre = `**Telegram Web${App.suffix} was updated to version ${newVersion}**\n\n`;
const langStr = strs[lang] || strs.en;
const pre = `**Telegram Web${App.suffix} ${langStr} ${newVersion}**\n\n`;
text = pre + text;