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
a8fd0e0463
Chore: Change release version
2020-12-01 23:18:26 +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
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
Sebastian Wolf
7ab58d3730
Add option to close a secret chat
2020-11-26 16:11:12 +01:00
Sebastian Wolf
6f889437ed
Merge latest upstream changes...
2020-11-26 15:38:15 +01:00
Sebastian Wolf
3b8d284b2b
Handle secret chat state for chat list
2020-11-25 22:09:47 +01:00
Sebastian Wolf
a6d8328b10
I can see secret chats... ;)
2020-11-25 00:23:38 +01:00
Sebastian Wolf
86599b2859
Move contacts to an own model
2020-11-24 16:13:16 +01:00
Slava Monich
b649b71868
Added storage optimizer option
2020-11-24 00:17:27 +02:00
Sebastian Wolf
20b773ac59
Check contacts requested via extra-attribute
2020-11-23 20:53:43 +01:00
Sebastian Wolf
51cad07231
Yet another merge from master, need to be faster... ;)
2020-11-23 12:08:25 +01:00
Slava Monich
3d48125371
Add MceInterface object
2020-11-23 01:38:06 +02:00
Slava Monich
162e1ca996
Take logging categories into use
...
Logging can be enabled in release build like this:
QT_LOGGING_RULES="fernschreiber.*=true" harbour-fernschreiber
See https://doc.qt.io/qt-5/qloggingcategory.html for more details.
2020-11-22 16:40:55 +02:00
Sebastian Wolf
c6fa5cf97f
Options for creating new chats...
2020-11-21 22:13:37 +01:00
Sebastian Wolf
9d75cbbedf
Showing sorted contacts, wow!
2020-11-20 23:00:50 +01:00
Sebastian Wolf
3dbf38a1fa
Start implementing 'New Chat' functionality
2020-11-20 18:30:33 +01:00
Sebastian Wolf
af47ae2c72
Some improvements as suggested by @jgibbon, add unpin feature
2020-11-18 15:01:16 +01:00
Sebastian Wolf
b35d268b12
Now able to pin messages and show in-reply-to messages in overlay
2020-11-18 15:00:05 +01:00
Sebastian Wolf
2830f50a35
React properly on pinned message changes, nice message overlay ;)
2020-11-18 14:59:35 +01:00
Sebastian Wolf
c8c0044815
Display all error messages (let's see how it works...)
2020-11-15 23:29:04 +01:00
Sebastian Wolf
1c82072c15
Merge pull request #160 from monich/updateChatPhoto
...
Update chat photo
2020-11-15 17:19:57 +01:00
Slava Monich
2323c574b3
Handle updateChatPhoto message
2020-11-15 06:12:17 +02:00
John Gibbon
a8ca33fa3d
multiple message selection
2020-11-14 23:50:12 +01:00
Slava Monich
66551e9590
Initialize TDLibWrapper::joinChatRequested
2020-11-14 06:33:39 +02:00
Sebastian Wolf
301f52603a
Integrate latest translation updates
2020-11-12 21:37:17 +01:00
Sebastian Wolf
5d3805759a
Small UI fixes, error handling for joining chats
2020-11-09 23:22:24 +01:00
Sebastian Wolf
89e0576adc
Support open-with from external sources (e.g. web links)
2020-11-08 21:13:04 +01:00
Slava Monich
9e8038b1b6
Added TDLibFile and optimized ProfileThumbnail
...
Profile images seem to be loading significantly faster after
moving file fetching logic to the native code and removing the
artificial delay.
TDLibFile is a generic object which can hopefully be used
elsewhere as an efficient replacement for JavaScript.
2020-11-08 06:08:32 +02:00
Sebastian Wolf
9bb24b4862
Joining/leaving chats seems to work...
2020-11-07 20:29:44 +01:00
Sebastian Wolf
6d3b3464bf
Experiment a bit with opening new chats
2020-11-05 00:02:27 +01:00
Sebastian Wolf
84bfb003b0
Prepare to join/see chats by link
2020-11-03 23:39:09 +01:00
Sebastian Wolf
bbd8e3eabf
Start chat from @-mention
2020-11-03 22:21:01 +01:00
Slava Monich
4c2f9dba19
Moved chatTypeFromString from ChatListModel to TDLibWrapper
...
So that it can be used elsewhere
2020-10-31 21:19:34 +02:00
Sebastian Wolf
3175e641dc
Merge branch 'master' into const-refs
2020-10-26 21:28:39 +01:00
John Gibbon
d3324bfab2
slot/primitive considerations from #103
2020-10-24 19:28:20 +02:00
Slava Monich
080244ecb1
Removed useless slots from TDLibWrapper
...
Signals can be connected directly to signals.
2020-10-24 03:24:56 +03:00
Slava Monich
460eaa878f
Don't pass primitive data as a const reference
...
It just doesn't make any sense.
Reference (essentially a pointer) can't be smaller than a primitive
type, except for 64-bit numbers on a 32-bit platform. In terms of
performance, an additional indirection can't be better than picking
the value directly from the stack, let alone a register.
2020-10-24 03:13:08 +03:00
John Gibbon
924ff9deda
implement polls
2020-10-23 10:29:56 +02:00
John Gibbon
6970dc3625
implement "mark all messages as read" MenuItem
...
contributes to #70 (doesn't mark anything as unread, though, and does not use toggleChatIsMarkedAsUnread at all)
2020-10-19 21:08:32 +02:00
Sebastian J. Wolf
98e2bea69f
Prepare translation files for #87
2020-10-19 19:51:33 +02:00
Sebastian J. Wolf
91ae3651ef
Change license header to reflect number of contributions
2020-10-19 19:34:47 +02:00
John Gibbon
74a732a5b6
implement chat info page
...
includes some basic group administration features
2020-10-19 12:48:55 +02:00
Sebastian J. Wolf
a95dcc4efc
Ignore already existing file when download is requested, fixes #67
2020-10-18 22:14:48 +02:00
Sebastian J. Wolf
a78f60f974
Search for emojis with :<keyword>
2020-10-18 18:57:01 +02:00
Sebastian J. Wolf
e578c6bef3
Use GridView for sticker picker
2020-10-18 16:29:34 +02:00