Commit Graph

1637 Commits

Author SHA1 Message Date
John Yong
e3eed60b07 Update dialog upon edit of top message. Fix #1177 2017-04-06 10:29:11 +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
Bart
03bc92006d Added tests for AppImPanelController, DocumentModalController, EmbedModalController and VideoModalController (#1362)
* Added test for AppImPanelControllerSpec, cleaned up style of all tests

All tests give 0 errors when running gulp standard
All credits for those test still go to @Ryuno-Ki, I did not functionaly change the testing code

* add Test for DocumentModalController

* added tests for the EmbedModalController and VideoModalController
2017-04-03 17:01:53 +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
Bart
5099d14df9 Added test for ChangeLogModalController, AppFooterController and PeerSelectController (#1355)
* Added test for ChangeLogModalController
This commit changes the test scores as follows

|     | % Statements | % Branch | % Functions | % Lines |
|:---:|:------------:|:--------:|-------------|---------|
| Old |      3.5     |     0    | 0.36        | 3.52    |
| New |     4.22     |   0.36   | 1.08        | 4.24    |

* Added tests for AppFooterController
This commit changes the test scores as follows

|     | % Statements | % Branch | % Functions | % Lines |
|:---:|:------------:|:--------:|-------------|---------|
| Old |     4.22     |   0.36   |    1.08     |   4.24  |
| New |     4.29     |   0.36   |    1.44     |   4.31  |

* Added tests for PeerSelectController
This commit changes the test scores as follows

|     | % Statements | % Branch | % Functions | % Lines |
|:---:|:------------:|:--------:|-------------|---------|
| Old |     4.29     |   0.36   |    1.44     |   4.31  |
| New |     5.61     |   1.16   |    2.88     |   5.64  |

* Change Time-out time to variable
Instead of doing time-outs based on a constant, the time-out is based on a variable. This will make changing the time of time-out easier.

* Rename AppFooterController test, removed unnecessary test, fixed code style

Renamed test/unit/AppFooterController.js to test/unit/AppFooterControllerSpec.js to conform with other test files.
Removed a test in the renamed file. It only tested if the controller would compile given the test-environment, something that was implicitly tested in the other (now only) test.
The code style over all test files was not consistent (spacing), this is fixed.

* Changed style to StandardJS

When running "standard test/unit/..", there were some errors on the code-style of the tests
These are fixed
2017-03-13 21:57:11 +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
a862c17bac Yarn update 2017-01-12 19:18:26 +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
4be5cedec2 Added support for Yarn 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
André Jaenisch
6f8676dd74 Add karma, Jasmine, deps and karma.conf.js. Fixes #1291 (#1293)
* Add karma, Jasmine, deps and karma.conf.js. Fixes #1291

* Improved service worker code

* npm start script executes gulp watch task.

* Written a gulp task to compile templates AOT. Get rid of loading deps in unit tests and a preprocessor.

* PhantomJS package is deprecated. Use phantomjs-prebuilt instead.

* Adjust `npm run test`.
2017-01-12 18:09:31 +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