Commit graph

187 commits

Author SHA1 Message Date
Sebastian Wolf
4cf35641c5 Secret chat identifer switches to qlonglong 2020-11-27 19:42:39 +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
90f7535fda Secret chats begin to work properly... 2020-11-26 00:25: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
4713fbfba6 Apply a dumb filter on contacts 2020-11-24 17:28:41 +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
John Gibbon
8fd82caf96 Address reviewed issues 2020-11-23 00:08:04 +01:00
John Gibbon
7b6dd14fd1 Use logging rule for front end 2020-11-23 00:08:04 +01:00
John Gibbon
7017818acb Add switchable Debug output (JS) 2020-11-23 00:08:04 +01: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
4d1bd029bc Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-21 10:21:53 +01:00
Slava Monich
e68340d406 Added notificationTurnsDisplayOn option
It defaults to false
2020-11-21 01:43:08 +02:00
Slava Monich
00483a676f Fixed release build 2020-11-21 00:33:17 +02:00
Sebastian Wolf
9d75cbbedf Showing sorted contacts, wow! 2020-11-20 23:00:50 +01:00
Sebastian Wolf
fe8199a1eb Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-20 21:48:37 +01:00
Slava Monich
d1ccf9f796 Show notification popups except for the current chat
And drop dependency on Ngf. Also, pre-initialize the chat photo when
pushing the chat page.
2020-11-20 21:42:23 +02:00
Sebastian Wolf
fb2e0786c9 Merge with master branch (notification hotfix) 2020-11-20 19:22:43 +01:00
Sebastian Wolf
dd6239c119 Hotfix: Use up-to-date chat information for open-by-notification 2020-11-20 19:08:05 +01:00
Sebastian Wolf
3dbf38a1fa Start implementing 'New Chat' functionality 2020-11-20 18:30:33 +01:00
John Gibbon
8181e17fa2 remove unnecessary .arg (+warnings) 2020-11-19 11:27:10 +01:00
John Gibbon
b48ca728d2 change/enable plural handling 2020-11-19 11:27:10 +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
f6b42eb3cb
Merge pull request #169 from jgibbon/bugfix/message-permissions
Bugfix/message permissions
2020-11-18 12:44:21 +01:00
John Gibbon
1486e49f1c add FernschreiberUtils to qml context (unused for now) 2020-11-17 16:45:54 +01:00
Slava Monich
8db731636c Removed mutex from ChatModel
AFAICT there's nothing to synchronize here
2020-11-16 21:33:47 +02:00
Sebastian Wolf
9141b8e68b Fix crash when forwarding to some chats, introduce iterative init 2020-11-16 16:52:48 +01:00
Sebastian Wolf
9507024f51 Loading messages or not loading them...? Next step towards #136 2020-11-16 14:22:32 +01:00
Sebastian Wolf
18e88a8412 If last message was an own one, it was of course read... 2020-11-16 00:08:55 +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
85d1bebc3a Load last read messages, enable lazy-loading the future, might fix #136 2020-11-15 23:05:22 +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
Slava Monich
90b32be076 Shortened log statements in ChatModel 2020-11-15 06:12:17 +02:00
Slava Monich
f25e3de029 Preallocate more QStrings in TDLibReceiver
For better performance.
2020-11-15 06:12:17 +02:00
Slava Monich
78720d48fc Silence 'Unhandled object type "ok"' message 2020-11-15 06:12:17 +02:00
John Gibbon
a8ca33fa3d multiple message selection 2020-11-14 23:50:12 +01:00
Sebastian Wolf
07aa92ffcc Merge branch 'master' of https://github.com/Wunderfitz/harbour-fernschreiber 2020-11-14 14:10:28 +01:00
Sebastian Wolf
fcf1bb2118 Display state of last message if it was sent by the user, fixes #152 2020-11-14 14:10:24 +01:00
Slava Monich
66551e9590 Initialize TDLibWrapper::joinChatRequested 2020-11-14 06:33:39 +02:00
Sebastian Wolf
7d78a2f126 Message sent successfully: Send dataChanged event first 2020-11-13 23:39:27 +01:00