Commit Graph

1510 Commits

Author SHA1 Message Date
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
Joseph Stevens
bef95d7fed Use same format triggers as Android (#1323) 2017-01-16 15:19:02 +03:00
Igor Zhukov
4b4fa8aca7 Fixes buttons inside message text field 2017-01-12 21:02:57 +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
7a1d922972 Added z-index to emoji icon in composer 2017-01-12 19:18:26 +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
9ce0bb0aea Added new web manifest
Closes #1306
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