Commit Graph

1307 Commits

Author SHA1 Message Date
Igor Zhukov
5be0105806 Fixed empty user_auth after logout on test 2017-06-30 16:24:56 +03:00
Igor Zhukov
dcb63cb9f3 Fixed round video on mobile 2017-06-29 23:48:39 +03:00
Igor Zhukov
21b34ac7b4 Disable sign ups 2017-06-29 23:14:21 +03:00
Igor Zhukov
b4e4ce5a79 Handle fresh auth error
Closes #1436
2017-06-29 21:33:44 +03:00
Igor Zhukov
fb9bd8f1ec Upgrade to layer 66
Supported Telescope videos
Closes #1416
Fixed bug with frozen sent messages
2017-06-29 21:30:19 +03:00
Igor Zhukov
db1dcadae6 Merge branch 'master' of https://github.com/zhukov/webogram 2017-06-28 20:55:13 +03:00
Igor Zhukov
60ac9a942e Allow edit cloud storage old messages
Closes #1424
2017-06-28 20:55:03 +03:00
Igor Zhukov
8bd4651f7c Migrate static maps to Yandex
Yandex Static Maps API is free
Closes #1415
2017-06-28 20:44:26 +03:00
Bart
aea8530556 Added tests to improve Controller test coverage to over 10% (#1428)
* fully tested CountrySelectModal Controller

* Added test CountrySelectModal Controller for forgotten scenarios

* fully tested ImportContactModal Controller

* fully tested ProfileEditModal Controller and cleanup style of tests

* fully tested PasswordRecoveryModal Controller

* tested most of UsernameEditModal Controller

* Improved readability, refactored beforeEach ImportContactModalControllerSpec

* Tried to make the code more DRY

* removed unnecessary 'this.'
2017-06-28 18:04:48 +03:00
Bart
cd3979aeab Cleanup of tests, improved readability of the test code (#1434)
* Cleanup of tests, improved readability

* Improved readability concerning timeout/loading tests, removed unnecessary 'this.'
2017-06-28 18:03:49 +03:00
Igor Zhukov
550f8ae781 Fixed pinned messages bugs 2017-05-15 19:07:05 +03:00
Igor Zhukov
6e65827dd5 Sync translations 2017-05-11 23:28:48 +03:00
Igor Zhukov
7e1153712b Bump to 0.5.6
Sync translations
2017-05-11 22:41:06 +03:00
Igor Zhukov
0c2731794f Sync translations 2017-05-11 20:18:24 +03:00
Igor Zhukov
f4fe5941f7 Improved pushes in Chrome 2017-05-11 20:16:40 +03:00
Igor Zhukov
c9723f5723 Improved single instance checks 2017-05-11 19:34:26 +03:00
Igor Zhukov
ba9550b619 Improved styles for pinned conversations 2017-05-11 18:47:29 +03:00
Viviano Cantu
d2cb9273b0 add frame color to web app in background.js (#1410) 2017-05-10 18:20:02 +03:00
Igor Zhukov
937a35332f Supported pinned chats
Closes #1287
Pending pin icon
2017-05-10 18:17:28 +03:00
Igor Zhukov
facd3bfd2d Improved support for calls service messages 2017-05-10 16:35:18 +03:00
Igor Zhukov
e6395fac83 Added basic support for Telegram calls
Service messages for calls
Alert with download link
Closes #1404
Closes #1376
2017-05-10 16:05:50 +03:00
Igor Zhukov
092685db5a Supported sticker suggestions by emoji
Also fixed blinking suggestions list
Closes #1409
Closes #1332
Closes #814
2017-05-10 01:28:13 +03:00
Igor Zhukov
9962250799 Fixed forward to the same chat
Closes #1405
2017-05-09 19:55:56 +03:00
Bart
82957f1b91 Added structure to test directory, Fully tested filters.js (#1393)
* added tests for filter.js, Added structure to test-directory

In the gulpfile I changed some of the karma execution to ensure templates.js exists before the tests
Also removed some StandardJS errors from filters.js

* added tests to create at least 50% coverage for filters.js

* Added test for full coverage of filters.js

* fixed 2 side-cases

* Removed duplicate test, improved test-titles and added outcome clarification for dateOrTimeFilter

* Added test-init

While running ``gulp test`` there were a lot of warnings concerning i18n: key not found
This was because init.js was not run.
Because some parts of init.js were not relevant, I created test-init.js, only containing the part concerning localization.
Now the log is a lot cleaner when running ``gulp test``

* added 'use strict' to testing files

* changed local vars to this.

* improved clarity of mistery numbers

* improved in-test structure

* Improved shortUrl tests

* removed unnecessary code

* added cleanup to single test
2017-04-29 11:54:46 +03:00
Igor Zhukov
694584ec9f Improved read messages 2017-04-13 21:48:32 +03:00
Igor Zhukov
1d0709bcf6 Fixed regex for blocks of code 2017-04-13 17:31:18 +03:00
Igor Zhukov
fb1f274eba Merge branch 'pr/1360' 2017-04-13 16:53:23 +03:00
Igor Zhukov
81f041780e Simplified double click 2017-04-13 16:52:41 +03:00
Igor Zhukov
64d1d4ed7e Merge branch '1177-update-message-preview-on-edit' of https://github.com/whipermr5/webogram into whipermr5-1177-update-message-preview-on-edit 2017-04-13 16:29:00 +03:00
Igor Zhukov
857181617f Optimize performance
Less watch expressions
2017-04-13 16:00:53 +03:00
John Yong
5a14a4f926 Scroll chat to bottom upon dialog double click 2017-04-06 15:47:09 +08:00
John Yong
0bc21d74f7 Implement unsend messages. Fix #1340 2017-04-06 11:32:51 +08:00
John Yong
e3eed60b07 Update dialog upon edit of top message. Fix #1177 2017-04-06 10:29:11 +08:00
Viktor Oreshkin
580ddd7105 Update to layer 62
Signed-off-by: Viktor Oreshkin <stek29@users.noreply.github.com>
2017-04-04 01:42:13 +08:00
Igor Zhukov
6e6c74c5c1 New gmaps key
Closes #1364
(hopefully)
2017-04-03 19:59:32 +03:00
Artem Kolnogorov
e2b1314427 truncating filename without extension (#1363) 2017-03-17 21:10:18 +03:00
Stapelpanda
63489fe23f Renamed 'hasOnlick' to 'hasOnclick', added function to StandardJS Globals (#1361) 2017-03-17 13:42:46 +03:00
Igor Zhukov
f3c849b78f Improved hide about styles
Also added separate i18n key
2017-03-14 19:29:51 +03:00
Igor Zhukov
181921d7d3 Disable editing for stickers 2017-03-14 19:19:38 +03:00
Igor Zhukov
8c3a29a0de Sync translations 2017-03-14 19:19:38 +03:00
acran
a7d0e21575 allow editting mentions text for users with usernames (#1347)
when now holding the Alt key while selecting a user from the mentions
autocomplete suggestions the text inserted into the composer will be
forced to be in the

	@1234567 (firstname)

format (i.e. referring to the user by id and local firstname) instead of

	@username

even if the selected user has a username set.
This allows to manually edit the display text ("firstname") of the
mention.
2017-03-14 19:18:02 +03:00
Igor Zhukov
a82ab858b2 Fixed minor style bugs 2017-03-13 22:25:31 +03:00
Bart
5871645ca6 Fixed subset of StandardJS errors (#1356)
Fixed the errors that would definitly not change the functionality of the program
These include
* Unexpected && and || combinations
* variables with different values defined in same line of code
* Global variable never defined
* spacing/placing errors

These errors were not touched
* variables who are never used
* == and != errors
2017-03-13 21:57:24 +03:00
Igor Zhukov
94a94b864d Disabled chrome temps by default
Improved mime types handling for blobs
2017-03-13 21:15:46 +03:00
Igor Zhukov
5c9f4b00b7 Started to clean popup opener 2017-02-10 12:27:44 +03:00
Igor Zhukov
1a93895d4c Improved silent messages support 2017-01-30 17:22:16 +03:00
Viktor Oreshkin
594bbe4496 Fix Android-like format triggers offset calc (#1333) 2017-01-30 11:55:25 +03:00
Igor Zhukov
f0eee9f963 Sync translations 2017-01-19 18:38:40 +03:00
Igor Zhukov
694938a788 Improved search in history
Closes #1328
2017-01-19 18:30:40 +03:00
Igor Zhukov
35fdf3d8f1 Fixed flicker after edit 2017-01-17 15:27:44 +03:00
Igor Zhukov
3086dad219 Fixed edit messages with myself
Close #1321
2017-01-17 15:27:44 +03:00
Joseph Stevens
bef95d7fed Use same format triggers as Android (#1323) 2017-01-16 15:19:02 +03:00
Igor Zhukov
35f065dee1 Improved PUSH-notification when the app is launched
Possbly fixes #1301
2017-01-12 21:02:28 +03:00
Igor Zhukov
ba7e57879e Remove unused ErrorService dep
Closes #1295
2017-01-12 19:18:26 +03:00
Neil Kalman
9b650c5c8f fix scrollbar for RTL languages (#1150)
make the behavior same as before for both RTL and LTR languages

make solution use dynamic scrollbar size

as suggested in CR
2017-01-12 19:12:52 +03:00
Igor Zhukov
90cedfac37 Sync translations 2017-01-12 18:53:20 +03:00
Igor Zhukov
043c76b454 Rename "edit" to "select" for selecting messages
Close #1305
2017-01-12 17:52:37 +03:00
Igor Zhukov
300721e9b5 Added t.me support 2017-01-12 17:30:04 +03:00
Igor Zhukov
61401c8a14 Improved fx check in global scope
#1301
2016-12-20 23:45:14 +03:00
Igor Zhukov
db5315d7e4 Improved push notifications for Chrome 2016-12-20 19:32:36 +03:00
Igor Zhukov
edbdba582e No new notification if has active window 2016-12-20 19:09:47 +03:00
Igor Zhukov
82786e91ce Fixed confirm for opening URL from verified bots 2016-12-20 18:42:21 +03:00
Igor Zhukov
e9770d2746 Improved service worker code 2016-12-20 18:22:58 +03:00
Igor Zhukov
8cf24cdf7e Fixed close all notifications 2016-12-19 19:05:09 +03:00
Igor Zhukov
41bdb545a1 Improved push notifications 2016-12-19 18:37:20 +03:00
Igor Zhukov
40a8877953 Remove unuseful dropping auth key
Close #1297
2016-12-17 13:00:10 +03:00
Igor Zhukov
7d68cc1da7 improved timeout for hiding push 2016-12-16 21:57:41 +03:00
Igor Zhukov
44b4228ca4 Fixed push worker 2016-12-16 19:38:15 +03:00
Igor Zhukov
9ff88ea2c5 disable unused trace 2016-12-16 19:25:09 +03:00
Igor Zhukov
28a8bab544 Enable last active restriction 2016-12-16 19:20:04 +03:00
Igor Zhukov
d6e72a06ed Sync translations 2016-12-16 19:15:56 +03:00
Igor Zhukov
24a5402fbb Improved PUSH-notifications 2016-12-16 19:14:56 +03:00
Igor Zhukov
f0bd1404b4 Fixed notification check for iOS safari 2016-12-16 18:24:03 +03:00
Igor Zhukov
1d5891de02 Sync translations 2016-12-16 17:17:47 +03:00
Igor Zhukov
c14a49c613 Fixed double notifications 2016-12-16 17:17:24 +03:00
Igor Zhukov
27f8ecdc9a Sync translation 2016-12-16 16:52:44 +03:00
Igor Zhukov
80c3927192 Fixed legacy GCM subscriptions handling
Closes #1294
2016-12-16 16:52:11 +03:00
Igor Zhukov
a6cf0a7772 Notifications bugfixes 2016-12-16 16:44:27 +03:00
Igor Zhukov
1e06f171bb Compat fixes 2016-12-15 22:12:46 +03:00
Igor Zhukov
ba515441c1 Sync translations 2016-12-15 22:11:23 +03:00
Igor Zhukov
11ccf1aa16 Web Push notifications supported
Closes #981
2016-12-15 22:08:16 +03:00
Igor Zhukov
820eb3e16f Initial Web Push support
#981
2016-12-14 22:07:20 +03:00
Igor Zhukov
1d8e37b27e Fixed edit when editing text
Closes #1290
2016-12-14 15:37:40 +03:00
Igor Zhukov
563077f69e Improved logging 2016-12-13 18:35:38 +03:00
Igor Zhukov
33a7ca9a99 Improved security checks
https://core.telegram.org/mtproto/security_guidelines
2016-12-13 18:35:06 +03:00
Igor Zhukov
3afe7e7fec Improved URLs with urlencoding display 2016-12-12 14:15:20 +03:00
Igor Zhukov
d8579edd85 Fixed lang string 2016-12-08 23:39:21 +03:00
Igor Zhukov
fc3786d607 Sync translations 2016-12-08 23:33:46 +03:00
Igor Zhukov
75df136a7f Simple search in chat history 2016-12-08 23:33:01 +03:00
Igor Zhukov
a0f71227de Supported scrolling by keys in message field
Closes #1119 #853
2016-12-08 22:03:12 +03:00
Igor Zhukov
5e855779b9 Support edit messages
Closes #1155
2016-12-08 21:31:40 +03:00
Igor Zhukov
cde9f67667 Fixed sticker notification 2016-12-02 20:22:03 +03:00
Igor Zhukov
56df1ec994 Sync translations 2016-11-29 13:55:47 +03:00
Igor Zhukov
58355cb846 Sandboxing game iframe 2016-11-29 13:55:08 +03:00
Igor Zhukov
28b1b0f92e Fixed group drafts 2016-11-28 20:49:06 +03:00
Igor Zhukov
1a9ec87a61 Sync translations 2016-11-28 19:49:47 +03:00
Igor Zhukov
524823d6df Fixed regex replacement
Closes #1282
2016-11-28 17:12:45 +03:00
Igor Zhukov
f725f89079 Fixed syntax 2016-11-28 16:21:29 +03:00
Igor Zhukov
9dbb68b053 Improved draft update on active field 2016-11-28 15:58:36 +03:00
Igor Zhukov
c764845c21 Improved login form
Also supported delayed account reset
2016-11-27 19:17:46 +03:00