Slava Monich
b649b71868
Added storage optimizer option
2020-11-24 00:17:27 +02: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
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
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
dd6239c119
Hotfix: Use up-to-date chat information for open-by-notification
2020-11-20 19:08:05 +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
Sebastian Wolf
301f52603a
Integrate latest translation updates
2020-11-12 21:37:17 +01:00
iamnomeutente
92afae9f6c
Typo corrected
2020-11-11 16:02:56 +01:00
Slava Monich
8ca5956722
Made sticker animation configurable
2020-11-11 13:22:43 +02:00
Slava Monich
449784883e
Support for animated stickers
...
TGS are gzipped Lottie-Animations.
2020-11-11 13:22:31 +02: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
John Gibbon
7d28f72e98
add some message type descriptions
2020-11-05 14:06:41 +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
Sebastian Wolf
86ac99004d
Notifications: disable previewBody/Summary for now, update README
2020-11-01 21:58:22 +01:00
Slava Monich
45180b64b4
Don't post unwanted feedback for removed notifications
...
Also, don't turn off PatternCommunicationIM pattern when some (but
not all) notifications are removed, don't keep empty notification
groups in notificationGroups map, reuse already posted notification
after restarting the client, handle chat title change and more...
2020-11-01 21:07:15 +02:00
Slava Monich
9504b24d5c
Pre-allocate commonly used QStrings in NotificationManager
...
To avoid overhead (e.g. ASCII => UTF16 convertion) on each use.
2020-11-01 21:07:15 +02:00
Slava Monich
484f66f01c
Don't pass primitive types by const references to NotificationManager
...
It makes no sense whatsoever.
2020-11-01 21:07:15 +02:00
Sebastian Wolf
4de0cb213e
Merge pull request #120 from monich/chatmodel-crash
...
Fix crash in ChatModel
2020-11-01 19:41:44 +01:00