Commit graph

677 commits

Author SHA1 Message Date
Sebastian Wolf
d0ebbc7170
Bring proper link coloring in web page descriptions back 2020-12-25 12:31:32 +01:00
Sebastian Wolf
4aa8ff3d8a
Merge pull request #247 from monich/emoji-image-pos
Fixed Emoji image positioning in multiline StyledText
2020-12-25 12:27:14 +01:00
Slava Monich
d2d6fac778 Fixed Emoji image positioning in multiline StyledText
Combination of maximumLineCount and TruncationMode.Elide (or Fade)
breaks Emoji image alignment, pushing the image down. Explicitly
truncating the text fixes the problem, at expense of certain runtime
overhead.

Also, toggle full and truncated Web page preview on tap.
2020-12-24 05:45:27 +02:00
Sebastian Wolf
c10819b12e
Merge pull request #246 from monich/placeholderImage
Fixed invalid reference
2020-12-21 23:33:04 +01:00
Sebastian Wolf
fe4b330479
Merge pull request #245 from monich/ampersandRe
Removed unnecessary ampersand replacement
2020-12-21 23:31:43 +01:00
Sebastian Wolf
00287ea89c
Merge pull request #237 from Wunderfitz/tdlib17
Migration to TDLib 1.7
2020-12-21 23:22:52 +01:00
Slava Monich
88b79236e7 Fixed invalid reference 2020-12-21 04:42:40 +02:00
Slava Monich
a2bd181911 Removed unnecessary ampersand replacement 2020-12-21 04:35:35 +02:00
Sebastian Wolf
4fbdeb6366
TDLib 1.7: Set timeout back to 5s, repair user profile photos 2020-12-16 23:54:17 +01:00
Sebastian Wolf
b9502d35ee
Merge pull request #242 from monich/join-by-id
Added  a few items to the Debug page
2020-12-16 20:46:34 +01:00
Slava Monich
25efbb8bc2 Added "Show all chats" switch to the Debug page 2020-12-16 16:04:15 +02:00
Slava Monich
72582c26f4 Added "Join chat by id" to the Debug page 2020-12-16 03:45:32 +02:00
Sebastian Wolf
f7e005da46 TDLib 1.7: Actually commit the new build instructions ;) 2020-12-15 21:11:12 +01:00
Sebastian Wolf
bc1d4ace30 TDLib 1.7: Special build instructions in README 2020-12-15 21:05:58 +01:00
Sebastian Wolf
335b8ed0c9 Merge latest changes (edit/reply) 2020-12-15 20:39:48 +01:00
Sebastian Wolf
c327d57872
Merge pull request #236 from monich/reply
Don't show Reply menu item if the message can't be replied to
2020-12-15 20:33:55 +01:00
Slava Monich
aee027219a Don't show Reply menu item if the message can't be replied to
Also moved the handling of the Edit action to the chat page where
it's actually being handled.
2020-12-15 20:19:06 +02:00
Sebastian Wolf
8b49b0363c TDLib 1.7: Reduce log verbosity level again to normal 2020-12-14 22:12:52 +01:00
Sebastian Wolf
a1f0e1c1c5 TDLib 1.7: Some 'fun' with the message database 2020-12-08 21:57:23 +01:00
Sebastian Wolf
0d21174220 TDLib 1.7: MPEG4 thumbnails are too much, autostart animations 2020-12-08 19:56:29 +01:00
Sebastian Wolf
bf9c4e1e5e TDLib 1.7: Message database seems to lead to terrible performance -> disable it 2020-12-07 23:33:09 +01:00
Sebastian Wolf
8e03b16243 Enable links in in-reply-to rows 2020-12-07 23:30:46 +01:00
Sebastian Wolf
6508c20a0d TDLib 1.7: Enable proper links in web previews 2020-12-07 22:46:25 +01:00
Sebastian Wolf
2cd86a95d9 TDLib 1.7: Video thumbnail is a 'file' not a 'video' anymore 2020-12-07 22:24:07 +01:00
Sebastian Wolf
44510901ac TDLib 1.7: Forward info - original sender ID remains unchanged 2020-12-07 22:13:51 +01:00
Sebastian Wolf
6e54988978 TDLib 1.7: Web page descriptions can be formatted now 2020-12-07 22:02:58 +01:00
Sebastian Wolf
63db26afc8 TDLib 1.7: Sticker IDs, message sender IDs 2020-12-07 21:43:09 +01:00
Sebastian Wolf
aafe7c1308 Header files for TDLib 1.7 2020-12-06 22:03:08 +01:00
Sebastian Wolf
f6d72d8ef1 Next version will be 0.6 2020-12-06 21:50:38 +01:00
Sebastian Wolf
ba0290bd1c
Merge pull request #232 from monich/chatmodel
Optimize chat model a bit
2020-12-06 21:42:35 +01:00
Slava Monich
b6c97c7f93 Optimized chat model a bit
1. Store and handle message ids as numbers rather than variants/strings
2. Incrementally update message id map
3. Expose additional roles and properties to avoid unnecessary lookups
2020-12-06 21:10:50 +02:00
Sebastian Wolf
0064b80bb9
Merge pull request #234 from monich/select
Animate display of selection panel
2020-12-06 20:07:57 +01:00
Slava Monich
2ce1ad1f49 Animate display of selection panel 2020-12-06 16:50:03 +02:00
Sebastian Wolf
e295f6e082
Merge pull request #231 from monich/poll-crash
Fix occasional crashes on long-tapping poll items
2020-12-06 01:20:05 +01:00
Slava Monich
bd695d1a91 Fix occasional crashes on long-tapping poll items
The crash was happening when Repeater was adding context menu items
instantiated by PollPreview to context menu owned by MessageListViewItem.

It's fixed by instantiating those extra menu items inside context menu
itself. Generic ListElement couldn't be used because it doesn't like
functions as property values, hence this NamedAction thing.
2020-12-06 01:52:19 +02:00
Sebastian Wolf
5d1a545317
Merge pull request #229 from monich/poll
Tweaked poll/quiz layout
2020-12-05 23:06:49 +01:00
Slava Monich
6fc88fe0d5 Mark readonly properties as such 2020-12-05 20:00:11 +02:00
Slava Monich
782561273f Tweaked poll/quiz layout
Made it slightly more compact.
2020-12-05 19:41:47 +02:00
Sebastian Wolf
633f765c80 Remove 'offline' in user status, addresses majority vote in #219 2020-12-05 15:55:45 +01:00
Sebastian Wolf
feee8be154
Merge pull request #228 from GNUuser/patch-22
Update harbour-fernschreiber-es.ts
2020-12-05 15:33:18 +01:00
Sebastian Wolf
878fbb901e
Merge pull request #227 from jgibbon/feature/general-press
press effect for more items
2020-12-05 15:31:47 +01:00
Sebastian Wolf
bc0f30bbe8
Merge pull request #203 from jgibbon/feature/functions-js-optimizations
Optimize functions.js
2020-12-05 15:19:10 +01:00
carlosgonz
455427b7cc
Update harbour-fernschreiber-es.ts 2020-12-05 08:49:53 -05:00
Sebastian Wolf
56f5a675ac Fix reload after single message, changelog for 0.5.1 2020-12-04 22:53:52 +01:00
John Gibbon
d35419d656 press effect for more items
there are still a few areas where there's no press effect (message items themselves: Text, profile thumbnail, sent icon,…)
but for now I've just aligned the components to the image changes
2020-12-04 22:47:03 +01:00
Sebastian Wolf
8f9c46a05d
Merge pull request #226 from monich/press
Press effect for image preview items
2020-12-04 21:53:06 +01:00
John Gibbon
5145c54d94 Removed unused imports 2020-12-04 21:39:02 +01:00
John Gibbon
214e6d335b Implement suggested changes
- (rebase to current master)
 - put compareAndRepeat in debug.js
 - create a new DebugPage for tests instead of AboutPage; only visible in debug mode
 - finalize PR state (remove functionsOLD left for comparisons)
2020-12-04 21:23:02 +01:00
John Gibbon
a2118edc3b Optimize functions.js 2020-12-04 21:23:02 +01:00
Sebastian Wolf
c65ff27ebe
Merge pull request #225 from jgibbon/feature/general-click
extend #224 to LocationPreview and VideoPreview
2020-12-04 21:19:45 +01:00