Commit graph

235 commits

Author SHA1 Message Date
Sebastian Wolf
d38f56b9fe
Recording Vorbis files works & connected to UI 2021-01-02 00:15:25 +01:00
John Gibbon
42398eee96 Implement TextArea focus after message send option
fixes #149
2021-01-01 01:34:11 +01: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
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
283466ae95
Merging should be done right... :/ 2020-12-29 09:12:57 +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
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
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
13a91fa0e7
Remove pinned message workaround, add more build information 2020-12-26 15:43:10 +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
a0a2e6bdca
Merge remote-tracking branch 'origin/master' into searching 2020-12-21 23:33:51 +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
Sebastian Wolf
87255e123a
Merge remote-tracking branch 'origin/tdlib17' into searching 2020-12-16 23:55:58 +01: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
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
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
bf9c4e1e5e TDLib 1.7: Message database seems to lead to terrible performance -> disable it 2020-12-07 23:33:09 +01:00
Sebastian Wolf
63db26afc8 TDLib 1.7: Sticker IDs, message sender IDs 2020-12-07 21:43:09 +01:00
Sebastian Wolf
f6d72d8ef1 Next version will be 0.6 2020-12-06 21:50:38 +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
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
56f5a675ac Fix reload after single message, changelog for 0.5.1 2020-12-04 22:53:52 +01:00
Sebastian Wolf
00bb7289ad Fix chat list short messages in channels 2020-12-04 20:28:42 +01:00
Sebastian Wolf
2869a99cbc Get also the one and only message in a chat (hopefully no side-effects...) 2020-12-03 22:33:36 +01:00
Slava Monich
38165c4f67 Add verification badge to verified chats 2020-12-03 02:13:35 +02:00
Sebastian Wolf
a8fd0e0463 Chore: Change release version 2020-12-01 23:18:26 +01:00
Sebastian Wolf
98d07c86c4 Show some love to the editing functionality 2020-12-01 21:17:13 +01:00
Sebastian Wolf
4aedc56ca7 Merge incoming changes from secret chat/contacts 2020-11-29 12:44:50 +01:00
Sebastian Wolf
9aa1392b1e Postprocess at-mentions without username 2020-11-29 00:33:27 +01:00
Sebastian Wolf
f7296daf4e Start with @-mentioning in own messages 2020-11-28 23:00:10 +01:00
Sebastian Wolf
48b5e14335 Improvements after feedback round 2020-11-28 19:11:51 +01:00
Sebastian Wolf
de945c7846 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-27 21:14:59 +01:00
Sebastian Wolf
cc08ee3997 Switch to file picker for documents, fix short text for audios 2020-11-27 21:13:55 +01:00
Sebastian Wolf
4bcd4faca9 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-27 19:51:56 +01:00
Sebastian Wolf
4cf35641c5 Secret chat identifer switches to qlonglong 2020-11-27 19:42:39 +01:00
John Gibbon
0ba4d9a408 Fix initial auth handling
This (hopefully, it at least LGTM) fixes two problems:
 - OverviewPage.onCompleted: It got the wrong AuthorizationState if qml was loaded too fast because it wasn't initialized. (c++)
- The QML could have tried to open the InitializationPage "onCompleted". But the initial pageStack operation is a parent in it's call stack,  so it is neither ready nor wants to accept "completeAnimation()". A zero interval Timer was added for this case.
2020-11-27 10:25:23 +01:00
Sebastian Wolf
deacb7f0ea Synchronize contacts with Telegram 2020-11-26 22:18:51 +01:00