Commit Graph

1059 Commits

Author SHA1 Message Date
Eduard Kuzmenko
4fa9e33bd5 Cancel reply on message delete
Draft: fix setting reply if message is empty
2021-08-12 20:51:10 +03:00
morethanwords
caa14dc623 Draft: load missing replying message 2021-08-12 09:06:10 +03:00
morethanwords
015c0b31c4 tg:// links 2021-08-11 22:24:13 +03:00
morethanwords
ac4340b97c Fix media viewer closening when clicking on t.me/
Fix media viewer keydown capture with active popups
2021-08-11 18:51:44 +03:00
morethanwords
9cbc9a788e Fix doubleclicking outgoing messages 2021-08-11 17:47:05 +03:00
morethanwords
1725d781b6 Fix url protocol regexp 2021-08-11 17:24:49 +03:00
morethanwords
65431310eb Fix media viewer padding 2021-08-11 17:09:43 +03:00
morethanwords
2fecfba7e5 Build 2021-08-11 17:04:39 +03:00
morethanwords
30b52bc55f Add toasts when t.me link is not found 2021-08-11 17:03:03 +03:00
morethanwords
cfd91e6a84 Refactored media viewer caption 2021-08-11 16:39:49 +03:00
morethanwords
34ee755eee Fix parsing local uri params 2021-08-10 20:07:04 +03:00
morethanwords
552611ce6c Increment channel post views
Add missing comment translations
2021-08-10 19:52:12 +03:00
morethanwords
4d9793efb7 Refactored links from /# to t.me/ 2021-08-10 14:17:17 +03:00
morethanwords
725f5743f2 Copy link for comment 2021-08-10 12:29:18 +03:00
morethanwords
7988edd5f9 Toggle selection by click on bubble's time
Fix reply by doubleclicking grouped document
Fix webpages layout
2021-08-10 12:08:10 +03:00
morethanwords
ac3ed37da0 Webpage fixes
Reply fixes
2021-08-09 23:29:40 +03:00
morethanwords
645286a40e Fix 'forwarded messages' subtitle
Suggest deleting the message that being edited
Fix changing webpage on input
2021-08-09 21:47:45 +03:00
morethanwords
3547a42a3e Fix emoji margin on macOS 2021-08-09 17:34:08 +03:00
morethanwords
79aa7b6f62 Reply fixes 2021-08-09 16:59:38 +03:00
morethanwords
b5905c428b Fix forwarding album by forward arrow
Prevent keyboard closening on clicking @via
Hide message input scrollbar
Fix flickering media border in inline helper
Hide checkbox ripple in popups
Hide urls underline in reply markup buttons
2021-08-03 20:12:09 +03:00
morethanwords
7562bb8831 Fix reply layout 2021-08-03 05:24:39 +03:00
Eduard Kuzmenko
a649ee9352 Merge pull request #43 from AlexWebArchitect/playbackrate
add keyboard shortcut for updating video playback rate
2021-08-03 05:13:18 +03:00
morethanwords
1274272f06 Fix round video playback 2021-08-03 05:12:37 +03:00
morethanwords
b346b60248 messed up repo 2021-08-03 05:05:59 +03:00
morethanwords
ebaa359985 test 2021-08-03 05:01:05 +03:00
morethanwords
cecc1566fd Merge branch 'master' of https://github.com/morethanwords/tweb 2021-08-03 04:57:44 +03:00
morethanwords
67a51956cf Inline bots 2021-08-03 04:44:13 +03:00
morethanwords
dce78f74be Inline bots 2021-08-03 04:30:06 +03:00
AlexWebArchitect
ad7a323632 add keyboard shortcut for updating video playback rate 2021-07-31 12:13:07 +03:00
Eduard Kuzmenko
0f7522e32a Fix autocomplete regex
Increase download chunks limit
2021-07-23 22:16:17 +03:00
Eduard Kuzmenko
699da948e5 Fix clearing download queue on cancel 2021-07-23 18:38:11 +03:00
Eduard Kuzmenko
e637b39939 Build 2021-07-23 15:32:58 +03:00
Eduard Kuzmenko
6f9db2c422 Fix fetching rpc_error instead of Vector 2021-07-23 15:23:17 +03:00
Eduard Kuzmenko
6e53c8f443 Pinned chat fixes 2021-07-22 15:07:19 +03:00
Eduard Kuzmenko
a7c5e8bc42 Fix loading single messages from private peers 2021-07-22 14:52:31 +03:00
Eduard Kuzmenko
1d3572c3d9 Prevent firefox image dragging 2021-07-22 14:52:18 +03:00
Eduard Kuzmenko
364a7e5ba8 Hide forward button in avatar media viewer 2021-07-22 14:29:41 +03:00
Eduard Kuzmenko
7e0112ead6 Fix pushing duplicate recent emoji 2021-07-22 14:24:36 +03:00
Eduard Kuzmenko
a963cf9120 Fix emoji inserting position if caret moved 2021-07-22 13:55:38 +03:00
Eduard Kuzmenko
ccaf8cb924 Fix ESG menu overflow 2021-07-21 23:21:09 +03:00
Eduard Kuzmenko
c8ceec3c46 Fix generating random long 2021-07-21 15:16:15 +03:00
Eduard Kuzmenko
cdc82182ef Fix pq factorization 2021-07-21 14:52:43 +03:00
Eduard Kuzmenko
37da386b9c Use crypto.getRandomValues() everywhere 2021-07-20 23:55:41 +03:00
Eduard Kuzmenko
3b2b6a6412 [MTProto] add padding to encryptedData
[MTProto] throw error if getRandomValues is unsupported
2021-07-20 23:21:57 +03:00
Eduard Kuzmenko
e976d1c5bc Change randomize method from Math.random to Crypto 2021-07-20 22:00:17 +03:00
Eduard Kuzmenko
935e0a3714 Empty chatlist placeholder
Fix pinned container on mobiles
2021-07-20 20:41:06 +03:00
Eduard Kuzmenko
25e5bcf22f Fix document name XSS 2021-07-20 19:11:58 +03:00
Eduard Kuzmenko
ccb8d847e2 Temporarily hide media viewer settings 2021-07-20 01:27:32 +03:00
Eduard Kuzmenko
730bc668e4 Media viewer: fix mobile controls 2021-07-20 01:24:29 +03:00
Eduard Kuzmenko
d10f355031 Merge branch 'master' into viewer-fixes 2021-07-19 23:00:39 +03:00
Eduard Kuzmenko
0cdf511f59 just a commit 2021-07-19 22:53:52 +03:00
Eduard Kuzmenko
3fd211d663 Merge pull request #41 from AlexWebArchitect/playbackrate
add video playback rate setting
2021-07-19 21:13:08 +03:00
Eduard Kuzmenko
68c81916e3 Fix FILE_REFERENCE_EXPIRED for streams 2021-07-19 21:02:40 +03:00
Eduard Kuzmenko
8b0254d6b3 Fix releasing temporary message 2021-07-19 18:28:36 +03:00
Eduard Kuzmenko
7d794758a1 Possible FILE_REFERENCE_EXPIRED fix 2021-07-19 17:58:02 +03:00
Eduard Kuzmenko
b9827563cd mobile controls 2021-07-19 16:51:53 +03:00
AlexWebArchitect
54a804f07a add video playback rate setting 2021-07-18 21:11:26 +03:00
Eduard Kuzmenko
b279abaeb4 Fix pinned media message overflow 2021-07-18 16:56:40 +03:00
Eduard Kuzmenko
522cb782ac Fix leaving legacy groups 2021-07-18 16:41:36 +03:00
Eduard Kuzmenko
1ceb45a96e Fix unpinning messages in channels 2021-07-18 14:34:56 +03:00
Eduard Kuzmenko
0a7e9bc95e Fix pinned messages border again 2021-07-18 14:12:53 +03:00
Eduard Kuzmenko
a15a47f350 Improve pinned messages border 2021-07-18 13:57:10 +03:00
Eduard Kuzmenko
38c8d93473 Build 2021-07-17 19:40:58 +03:00
Eduard Kuzmenko
47c34063fd Fix unpinning dialogs
Join left chat button
2021-07-17 19:38:51 +03:00
Eduard Kuzmenko
c3fcca8af9 Fix conflicting placeholder class name 2021-07-17 15:37:43 +03:00
Eduard Kuzmenko
81964d4bbb Build 2021-07-16 19:05:41 +03:00
Eduard Kuzmenko
d2fc62e048 Fix loading empty chatlist 2021-07-16 19:04:30 +03:00
Eduard Kuzmenko
c3f33efa1b Misc fixes 2021-07-16 18:44:30 +03:00
Eduard Kuzmenko
b986510798 Fix loading messages if list is too short
Show 'migrated from' & 'migrated to' service messages
2021-07-16 18:38:32 +03:00
Eduard Kuzmenko
36022a478b Some popup fixes 2021-07-16 17:16:05 +03:00
Eduard Kuzmenko
9d93fe65a5 Show alert when pinning dialog over the limit 2021-07-16 16:41:31 +03:00
Eduard Kuzmenko
fdd4232fcc Fix displaying scheduled's empty placeholder 2021-07-16 16:07:53 +03:00
Eduard Kuzmenko
c2b1326bd8 Allow global search in user pick popup 2021-07-16 15:47:30 +03:00
Eduard Kuzmenko
ede6056f64 MTProto new RSA method
Improve invokeAfter
Something more
2021-07-15 18:34:34 +03:00
Eduard Kuzmenko
bfe2dd7eac Added avatar arrows 2021-07-09 21:47:20 +03:00
Eduard Kuzmenko
ef0ec1c6dc Validate state with unique id 2021-07-09 19:43:05 +03:00
Eduard Kuzmenko
a49439a522 Improve streaming 2021-07-09 18:59:15 +03:00
Eduard Kuzmenko
4b87959690 Fix placeholder's width 2021-07-08 12:17:58 +03:00
Eduard Kuzmenko
33cdff7672 Disable pointer events for greeting sticker 2021-07-08 11:53:35 +03:00
Eduard Kuzmenko
d8621b20eb Remove debug 2021-07-08 11:49:23 +03:00
Eduard Kuzmenko
b798fb19fb Fix displaying chat placeholders
Fix bubble appearing animation
2021-07-08 11:48:27 +03:00
Eduard Kuzmenko
e833ade974 Change version 2021-07-08 09:07:53 +03:00
Eduard Kuzmenko
7f85c08a5e Added chat placeholders 2021-07-08 09:07:32 +03:00
Eduard Kuzmenko
c38e7c399e Change Kosovo formatting 2021-07-08 03:54:22 +03:00
Eduard Kuzmenko
179b3041ac Bot description:
Fix displaying bot description in empty chats
Center align
Fix appearing animation
2021-07-08 03:32:55 +03:00
Eduard Kuzmenko
368254af95 Bot description bubble 2021-07-08 02:32:10 +03:00
Eduard Kuzmenko
eff96de924 [Streaming] Fix hanged chunk load promise
Hide 'Sensitive content' section if it's unavailable
2021-07-06 19:11:00 +03:00
Eduard Kuzmenko
93be4cf3ac Fix FILE_REFERENCE_EXPIRED
Fix api timeout error
2021-07-06 18:18:15 +03:00
Eduard Kuzmenko
c12e02b804 Rollback 2021-07-04 06:20:36 +03:00
Eduard Kuzmenko
8fe9f3de48 Fix references again 2021-07-04 06:18:38 +03:00
Eduard Kuzmenko
c53c5b1c52 Improved FILE_REFERENCE_EXPIRED handling 2021-07-04 05:52:40 +03:00
Eduard Kuzmenko
24cc268ccb Added missed Kosovo 2021-07-04 03:09:28 +03:00
Eduard Kuzmenko
6dd0153e54 Cancel user typing on new message 2021-07-04 02:56:21 +03:00
Eduard Kuzmenko
babbfdb3d7 Added delete cloud drafts button 2021-07-03 18:31:57 +03:00
Eduard Kuzmenko
a179dd3f09 Fix sending recent sticker 2021-07-02 20:52:44 +03:00
Eduard Kuzmenko
99085abcd9 Open sticker set on set header click 2021-07-02 20:50:04 +03:00
Eduard Kuzmenko
2f8d977914 Added some toasts for t.me links 2021-07-02 20:43:49 +03:00
Eduard Kuzmenko
5f003e82db Close reply keyboard by touch on mobiles
Fix reply keyboard max width on mobiles
2021-07-02 20:22:42 +03:00
Eduard Kuzmenko
050ae89a19 Wrap action messages for reply correctly 2021-07-02 20:01:15 +03:00
Eduard Kuzmenko
705fe6963d Display sticker sets in general settings 2021-07-02 09:52:52 +03:00
Eduard Kuzmenko
01ec2005e9 Bot keyboard
Display 'via @username'
2021-07-02 08:17:51 +03:00
Eduard Kuzmenko
706bf9fd27 Increase media size 2021-07-02 01:39:50 +03:00
Eduard Kuzmenko
2c86501ec5 Video player fixes:
Hide controls & cursor in fullscreen mode
Fix flickering pause on start
F, M, Space keyboard shortcuts
2021-07-01 05:30:05 +03:00
Eduard Kuzmenko
8de8aa9692 Fix 'Deleted' users 2021-07-01 04:17:57 +03:00
Eduard Kuzmenko
51a42887aa Build 2021-06-30 03:35:07 +03:00
Eduard Kuzmenko
9becf11224 Handle updates.differenceTooLong 2021-06-30 03:33:34 +03:00
Eduard Kuzmenko
3aaf6ddd22 Preload stream chunks 2021-06-30 03:07:00 +03:00
Eduard Kuzmenko
9198ed384d Refactor stream 2021-06-29 19:23:16 +03:00
Eduard Kuzmenko
365b30f888 Kicked from group status
Restrict writing in kicked groups
2021-06-29 18:42:35 +03:00
Eduard Kuzmenko
5145a28e42 Handle t.me/joinchat 2021-06-29 17:21:16 +03:00
Eduard Kuzmenko
ad4e70759d Handle t.me/addstickers 2021-06-29 16:17:10 +03:00
Eduard Kuzmenko
6bc80a5ac0 Remove debug 2021-06-29 04:21:35 +03:00
Eduard Kuzmenko
70c94c358f Fix loading dialogs
Fix showing chat where user is kicked
Don't save dialogs offset if it's an update
2021-06-29 04:19:53 +03:00
Eduard Kuzmenko
656cac5572 Timeout for t.me log out 2021-06-28 16:45:23 +03:00
Eduard Kuzmenko
7c9b5b8d6c t.me web sync 2021-06-28 16:41:42 +03:00
Eduard Kuzmenko
7833a5c13a Keep open button menu with checkboxes 2021-06-28 01:32:50 +03:00
Eduard Kuzmenko
bb632f4208 Apply new server time offset on update 2021-06-28 00:58:53 +03:00
Eduard Kuzmenko
3c764cc0a2 [temp] updates.differenceTooLong 2021-06-26 05:26:29 +03:00
Eduard Kuzmenko
0eaa0ba689 [WARNING] detect mobile with maxTouchPoints 2021-06-25 19:44:15 +03:00
Eduard Kuzmenko
cf9244d38f [temp] updates.differenceTooLong 2021-06-25 18:18:18 +03:00
Eduard Kuzmenko
d4c2f8bbb4 [Firefox] fix choosing emoji
[Firefox] disable emoji dragging
[Firefox] fix opening privacy & security with uBlock
Save recent emoji on message send
Fix choosing loading emoji
2021-06-25 18:16:16 +03:00
Eduard Kuzmenko
5ad39cf69d Fix loading fonts in Safari iOS 12.2+ 2021-06-25 15:10:50 +03:00
Eduard Kuzmenko
27c8adfb56 Skip 'Nobody' option in group chats privacy 2021-06-23 02:31:49 +03:00
Eduard Kuzmenko
47eee7e930 New websocket endpoints 2021-06-22 21:36:48 +03:00
Eduard Kuzmenko
c382e3e684 Release client networkers
Fix transport reusing
Release transport
2021-06-22 20:55:10 +03:00
Eduard Kuzmenko
d7c6af4b3c Disable double click reply on mobile devices 2021-06-22 19:27:07 +03:00
Eduard Kuzmenko
94741c70de Change manifest 'display' property 2021-06-22 19:07:52 +03:00
Eduard Kuzmenko
08cd148f2e Build 2021-06-22 18:48:30 +03:00
Eduard Kuzmenko
94f01ef560 Fix autocomplete helper detach 2021-06-22 18:44:10 +03:00
Eduard Kuzmenko
80fa6909d9 Force reconnect button 2021-06-22 18:16:23 +03:00
Eduard Kuzmenko
2d8bd827ae Update version 2021-06-22 05:29:54 +03:00
Eduard Kuzmenko
74cdb179bd Chat context menu hint 2021-06-22 05:28:37 +03:00
Eduard Kuzmenko
73d030dd69 Privacy: sensitive content 2021-06-22 05:11:17 +03:00
Eduard Kuzmenko
4b6dd5dee4 Emoji helper: ignore some symbols 2021-06-22 04:55:16 +03:00
Eduard Kuzmenko
07dff5479c Reconnect button 2021-06-22 04:34:04 +03:00
Eduard Kuzmenko
c95d2a83f2 Force reconnect timeout on online event 2021-06-22 02:10:48 +03:00
Eduard Kuzmenko
93cb272fde Release networker on drain 2021-06-22 01:56:31 +03:00
Eduard Kuzmenko
d031ff7db5 [temp] networker destroy 2021-06-21 18:19:33 +03:00
Eduard Kuzmenko
d7d045818c [temp] networker drain 2021-06-20 20:07:20 +03:00
Eduard Kuzmenko
2adb7e3528 Don't show saved messages in top peers
Don't show '0 seconds' in call duration
2021-06-20 19:21:28 +03:00
Eduard Kuzmenko
fee808d2a8 Fix search for mentions
Change version
2021-06-19 03:52:21 +03:00
Eduard Kuzmenko
ccc6d2c6ef Better search for emoji helper 2021-06-19 03:46:41 +03:00
Eduard Kuzmenko
cefdb6302f Use cached stickersets for stickers helper 2021-06-19 03:07:12 +03:00
Eduard Kuzmenko
d629c6819e Show full menu for right outside click 2021-06-19 02:58:55 +03:00
Eduard Kuzmenko
9a488b50b7 Fix artifacts (bg, ...) when pasting content 2021-06-19 02:45:34 +03:00
Eduard Kuzmenko
963b71d020 Fix reading status when sending messages to bot 2021-06-18 20:11:44 +03:00
Eduard Kuzmenko
337f066fe6 Fix parsing bot commands 2021-06-18 20:01:30 +03:00
Eduard Kuzmenko
362113338b [CRITICAL] handle user update 2021-06-18 19:46:39 +03:00
Eduard Kuzmenko
59c02ce5d1 Fix focusing tab on notification's click 2021-06-18 19:15:40 +03:00
Eduard Kuzmenko
0944509fec Pass navigator.userAgent to MTProto worker
Update langPackVersion
2021-06-18 18:51:02 +03:00