Commit graph

385 commits

Author SHA1 Message Date
Sebastian Wolf
f1b14f41ae
Merge pull request #257 from monich/badge-opacity
Apply opacity to picture and badge as a group
2021-01-01 14:01:19 +01:00
Sebastian Wolf
1e4455482c
Only draft message if allowed (last commit in 2020 :D) 2020-12-31 19:27:44 +01:00
Slava Monich
f9a824ca2c Apply opacity to picture and badge as a group
It matters when page is being dimmed
2020-12-31 17:30:55 +02:00
John Gibbon
753f322053 implement message drafts 2020-12-31 01:18:14 +01:00
Sebastian Wolf
232049422a
Add 'mark chat as read/unread' feature, fixes #240 2020-12-31 00:19:36 +01:00
Slava Monich
0cb19d833c Message API usage cleanup
1. Pass chat_id where appropriate
2. Pass message_id and chat_id (which are numbers) as numbers
3. Use pre-initialized QStrings more often
4. Don't pass numbers by const reference, it doesn't make sense
5. Removed some redundant const modifiers
2020-12-30 18:20:50 +02:00
Sebastian Wolf
6b731486cb
Merge pull request #253 from monich/stickerPreviewFix
Fixed invalid component reference in StickerPreview
2020-12-30 16:59:46 +01:00
Slava Monich
cd0eace631 Fixed invalid component reference in StickerPreview 2020-12-30 17:46:28 +02:00
Sebastian Wolf
11058bc05a
Chat List: Let a timer do the model change 2020-12-30 16:44:23 +01:00
Sebastian Wolf
e15c171640
Show send message button also if attachments are there, fixes #143 2020-12-30 16:18:50 +01:00
Sebastian Wolf
7dfe7ddc3e
Change message bubble colors for light ambiences, fixes #239 2020-12-30 13:49:57 +01:00
Sebastian Wolf
33878bb480
Merge pull request #250 from Wunderfitz/searching
Fernschreiber learns filtering and searching
2020-12-30 13:09:13 +01:00
Santhosh Manikandan S
ba42aa061b Send message button will now be hidden by default if Send message by Enter
option is used

Ref: https://github.com/Wunderfitz/harbour-fernschreiber/issues/143
2020-12-29 23:04:28 +05:30
Sebastian Wolf
b4b1eb4bc0
Merge remote-tracking branch 'origin/master' into searching 2020-12-29 16:33:40 +01:00
Sebastian Wolf
775a31cecb
Implement delete/add chat members properly, fixes #131 2020-12-29 16:32:39 +01:00
Sebastian Wolf
78a71cfbab
Merge remote-tracking branch 'origin/master' into searching 2020-12-28 22:16:59 +01:00
Sebastian Wolf
e6fd5885aa
Force read all mentions in a chat when nothing is unread 2020-12-28 21:57:34 +01:00
Sebastian Wolf
ef1f824cd8
Add download option to audio preview 2020-12-28 21:20:10 +01:00
Sebastian Wolf
2f52a87e2b
Remove debug log for cooldown 2020-12-28 19:40:27 +01:00
Sebastian Wolf
72fd008dfc
Disable some stuff that is not needed in search mode 2020-12-28 17:12:21 +01:00
Sebastian Wolf
225eb76899
Fix crash on incoming message deletions & minor other fixes 2020-12-28 14:35:27 +01:00
Sebastian Wolf
2e970f2003
Search for public chats... 2020-12-27 23:30:25 +01:00
Sebastian Wolf
0f28db0115
Merge remote-tracking branch 'origin/master' into searching 2020-12-27 12:06:54 +01:00
Sebastian Wolf
23641b24a1
Proper height for chat page search field 2020-12-27 00:38:20 +01:00
Sebastian Wolf
19a17ed3f3
Now you can search in a chat... 2020-12-27 00:16:25 +01:00
John Gibbon
d0f33969eb support basic bot messages (reply markup)
only inlineKeyboardButtonTypeCallback and inlineKeyboardButtonTypeUrl are implemented.
2020-12-27 00:01:59 +01:00
Sebastian Wolf
461b724d15
Merge latest upstream changes 2020-12-26 16:28:03 +01:00
Sebastian Wolf
d619b97ee4
Increase chatListCreatedTimer to 100ms, update translation files 2020-12-26 14:58:10 +01:00
John Gibbon
653a35500c speed up overview page loading
contributes to #198
2020-12-25 23:22:11 +01:00
Sebastian Wolf
c83fcda617
Merge remote-tracking branch 'origin/master' into searching 2020-12-25 22:40:37 +01:00
Sebastian Wolf
fe0b390a87
TDLib 1.7: Bring back pinned messages (nobody noticed so far?) 2020-12-25 22:38:13 +01:00
Sebastian Wolf
4e680a9a3f
Don't display empty in-reply-to section if message wasn't found 2020-12-25 15:33:53 +01:00
Sebastian Wolf
ff399a524c
Display group information for anonymous messages 2020-12-25 13:50:13 +01:00
Sebastian Wolf
039aca14bf
Always scroll to top at startup 2020-12-25 12:55:46 +01:00
Sebastian Wolf
d0ebbc7170
Bring proper link coloring in web page descriptions back 2020-12-25 12:31:32 +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
a0a2e6bdca
Merge remote-tracking branch 'origin/master' into searching 2020-12-21 23:33:51 +01: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
1317f6532e
Use chat list proxy model only if filtering is active 2020-12-17 09:24:20 +01:00
Sebastian Wolf
45bcc4f33d
Introduce filter capabilities for chat list 2020-12-16 23:32:42 +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
335b8ed0c9 Merge latest changes (edit/reply) 2020-12-15 20:39:48 +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
0d21174220 TDLib 1.7: MPEG4 thumbnails are too much, autostart animations 2020-12-08 19:56:29 +01:00
Sebastian Wolf
8e03b16243 Enable links in in-reply-to rows 2020-12-07 23:30:46 +01:00