Commit Graph

1528 Commits

Author SHA1 Message Date
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
1f080a96fc Updated changelog 2017-05-11 23:56:39 +03:00
Igor Zhukov
6e65827dd5 Sync translations 2017-05-11 23:28:48 +03:00
Igor Zhukov
6712a79b57 Added changelog 2017-05-11 23:28:31 +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
Igor Zhukov
abd9849f52 Dirty hack to disable libwebp alerts
Closes #1384
2017-05-10 19:19: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
Igor Zhukov
b37bb78167 Hiding slash button when text is entered
Closes  #1373
2017-04-03 19:10:27 +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
Stapelpanda
283b701e9d Added close button to About section on Login page (#1359) 2017-03-14 19:19:01 +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
Akshay S Dinesh
0312a00729 fix #1348 message on inviting multiple users (#1349) 2017-03-13 21:18:57 +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
d6d84bc835 Fixed webapp manifest
Fixes #1306
2017-01-17 15:27:44 +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