From a77923eb33cb73a65ba5d27393cb60b010858e24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2019 23:22:27 +0400 Subject: [PATCH 1/7] Bump lodash from 4.17.11 to 4.17.15 (#1909) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15) Signed-off-by: dependabot[bot] --- package-lock.json | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 192757e3..03c1bf44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3116,12 +3116,6 @@ "path-is-absolute": "^1.0.0" } }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - }, "strip-json-comments": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", @@ -7982,14 +7976,6 @@ "string-width": "^1.0.1", "strip-ansi": "^3.0.0", "through": "^2.3.6" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "interpret": { @@ -8735,12 +8721,6 @@ "get-stdin": "^4.0.1", "meow": "^3.3.0" } - }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true } } }, @@ -8758,14 +8738,6 @@ "requires": { "lodash": "^4.0.1", "phantomjs-prebuilt": "^2.1.7" - }, - "dependencies": { - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - } } }, "kew": { @@ -9010,9 +8982,9 @@ } }, "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "dev": true }, "lodash._basecopy": { @@ -12383,12 +12355,6 @@ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, - "lodash": { - "version": "4.17.11", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", - "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", - "dev": true - }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", From 2fc517d36111b13bd47088c894519f138ed525da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D1=95=CF=83=CF=83=D1=8F=D1=83=CE=B1=20g=CE=B1=CE=B7g?= =?UTF-8?q?=CE=B1=D1=8F=CE=B1=D7=A0?= Date: Thu, 12 Dec 2019 00:52:54 +0530 Subject: [PATCH 2/7] Update README.md (#1903) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 05e9eb70..068bafa0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) -[![Stories in Ready](https://badge.waffle.io/zhukov/webogram.png?label=ready&title=Ready)](https://waffle.io/zhukov/webogram) + ## [Webogram](https://web.telegram.org) — Telegram Web App From c9f4a31a9ce719aece517681bdf16c31800326b5 Mon Sep 17 00:00:00 2001 From: Jason Cooke Date: Thu, 12 Dec 2019 08:23:27 +1300 Subject: [PATCH 3/7] docs: fix typo (#1858) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 068bafa0..7c50b696 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Install dependencies with: npm install ``` -Optionaly, run the following commands in the project directory to install gulp globally: +Optionally, run the following commands in the project directory to install gulp globally: ```lang=bash sudo npm install -g gulp From 8dd95b4c63be5df3265453807cfcedea7d89e021 Mon Sep 17 00:00:00 2001 From: fcnjd <47329537+fcnjd@users.noreply.github.com> Date: Wed, 11 Dec 2019 20:24:04 +0100 Subject: [PATCH 4/7] labeled the main menu button for screen reader users to help blind people (#1877) --- app/js/locales/de-de.json | 3 ++- app/js/locales/en-us.json | 2 +- app/less/app.less | 8 +++++++- app/partials/desktop/head.html | 3 ++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/app/js/locales/de-de.json b/app/js/locales/de-de.json index 9318e2be..b2a07df5 100644 --- a/app/js/locales/de-de.json +++ b/app/js/locales/de-de.json @@ -407,6 +407,7 @@ "error_modal_gelocation_na": "App kann deinen aktuellen Standort nicht bestimmen", "error_modal_2fa_recent_confirm": "Deine vorherigen Versuche das Konto zurückzusetzen wurden durch den aktiven Nutzer abgebrochen. Bitte in 7 Tagen erneut probieren.", "error_modal_2fa_delayed_time_md": "Du kannst dein Konto zurücksetzen in: **{time}**", + "head_mainmenu": "Hauptmenü", "head_telegram": "Telegram", "head_new_group": "Neue Gruppe", "head_new_contact": "Neuer Kontakt", @@ -837,4 +838,4 @@ "country_select_modal_country_zm": "Sambia", "country_select_modal_country_tz_uk": "Sansibar", "country_select_modal_country_zw": "Simbabwe" -} \ No newline at end of file +} diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 8af3318e..7ebccb51 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -460,7 +460,7 @@ "error_modal_2fa_recent_confirm": "Your recent attempts to reset this account have been cancelled by its active user. Please try again in 7 days.", "error_modal_2fa_delayed_time_md": "You'll be able to reset your account in: **{time}**", - + "head_mainmenu": "Main menu", "head_telegram": "Telegram", "head_new_group": "New group", "head_new_contact": "New contact", diff --git a/app/less/app.less b/app/less/app.less index 388b3fc4..50babf99 100644 --- a/app/less/app.less +++ b/app/less/app.less @@ -5023,4 +5023,10 @@ a.countries_modal_search_clear { } } - +.visually-hidden { /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */ + position: absolute !important; + height: 1px; width: 1px; + overflow: hidden; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} diff --git a/app/partials/desktop/head.html b/app/partials/desktop/head.html index 6f92f30b..02c02861 100644 --- a/app/partials/desktop/head.html +++ b/app/partials/desktop/head.html @@ -4,6 +4,7 @@ - \ No newline at end of file + From 3024a8eacd71dbf3eec38b9096f4d9e91dcbdd0f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2019 23:29:19 +0400 Subject: [PATCH 5/7] Bump lodash.merge from 4.6.1 to 4.6.2 (#1918) Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/commits) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 03c1bf44..023fa034 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9195,9 +9195,9 @@ } }, "lodash.merge": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.1.tgz", - "integrity": "sha512-AOYza4+Hf5z1/0Hztxpm2/xiPZgi/cjMqdnKTUWTBSKchJlxXXuUSxCCl8rJlf4g6yww/j6mA8nC8Hw/EZWxKQ==", + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, "lodash.partialright": { From f636fe10fc6424727ad6cf6458d4144e3fdbe96d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2019 23:29:41 +0400 Subject: [PATCH 6/7] Bump mixin-deep from 1.3.1 to 1.3.2 (#1919) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 023fa034..ff6f4f3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9661,9 +9661,9 @@ } }, "mixin-deep": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", - "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", "dev": true, "requires": { "for-in": "^1.0.2", From ba313a7eeb4b82355f5d080ddc3740e1c8e25f81 Mon Sep 17 00:00:00 2001 From: PhistucK Date: Wed, 11 Dec 2019 21:31:40 +0200 Subject: [PATCH 7/7] Added a tooltip to the voice message button (#1916) * Added a string for the voice recording button title * Added a title to the voice message button Added it twice - once for accessibility purposes on the anchor that actually activates the action (though hovering does not show this title) and the other is on the element on which the user actually clicks and hovers, in order to show the title. * Added a title to the voice message button --- app/js/locales/en-us.json | 1 + app/partials/desktop/send_form.html | 6 +++--- app/partials/mobile/send_form.html | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 7ebccb51..3be676eb 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -549,6 +549,7 @@ "im_emoji_tab": "Emoji", "im_stickers_tab": "Stickers", "im_stickers_tab_recent": "Frequently used", + "im_voice_record_title": "Record a message", "im_media_attach_title": "Send media", "im_attach_file_title": "Send file", "im_emoji_btn_title": "Insert emoticon", diff --git a/app/partials/desktop/send_form.html b/app/partials/desktop/send_form.html index 1edf42da..8ee0865d 100644 --- a/app/partials/desktop/send_form.html +++ b/app/partials/desktop/send_form.html @@ -54,8 +54,8 @@ - -
+ +
@@ -67,4 +67,4 @@
- \ No newline at end of file + diff --git a/app/partials/mobile/send_form.html b/app/partials/mobile/send_form.html index f6186bd0..032a069b 100644 --- a/app/partials/mobile/send_form.html +++ b/app/partials/mobile/send_form.html @@ -44,7 +44,7 @@ -
+
@@ -56,4 +56,4 @@
- \ No newline at end of file +