Commit graph

383 commits

Author SHA1 Message Date
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
ccf15121e0
Merge pull request #134 from iamnomeutente/master
Update harbour-fernschreiber-it.ts
2020-11-06 21:15:51 +01:00
Sebastian Wolf
bed24ea074
Merge pull request #133 from jgibbon/feature/var
replace variant with var
2020-11-06 21:10:06 +01:00
iamnomeutente
502a3c5490 Update harbour-fernschreiber-it.ts
New strings and some corrections (3rd-person plural > 2st singular)
2020-11-06 09:51:11 +01:00
John Gibbon
fdb8cc5852 replace variant with var
https://doc.qt.io/archives/qt-5.6/qtquick-performance.html
In general, "property var" should be considered to be superior to "property variant" for every use-case from QtQuick 2.0 and newer (note that "property variant" is marked as obsolete), as it allows a true JavaScript reference to be stored (which can reduce the number of conversions required in certain expressions).
2020-11-05 23:23:37 +01:00
Sebastian Wolf
5a9ecd03cc
Merge pull request #132 from jgibbon/feature/simple-message-delegate
Add simple message delegate
2020-11-05 22:59:01 +01:00
John Gibbon
7d28f72e98 add some message type descriptions 2020-11-05 14:06:41 +01:00
John Gibbon
37bede461b differentiate between simple/normal messages 2020-11-05 14:05:33 +01:00
Sebastian Wolf
6d3b3464bf Experiment a bit with opening new chats 2020-11-05 00:02:27 +01:00
Sebastian Wolf
c2c3bed55c
Merge pull request #130 from iamnomeutente/master
Update harbour-fernschreiber-it.ts
2020-11-04 19:29:47 +01:00
Sebastian Wolf
cb81f3c518
Merge pull request #129 from jgibbon/feature/chatpage-mark-as-read
delay viewMessage calls; animate changes
2020-11-04 19:28:30 +01:00
iamnomeutente
98d6fa60ea Update harbour-fernschreiber-it.ts 2020-11-04 16:31:39 +01:00
John Gibbon
02a4b057d6 delay viewMessage calls; animate changes 2020-11-04 12:26:57 +01:00
Sebastian Wolf
84bfb003b0 Prepare to join/see chats by link 2020-11-03 23:39:09 +01:00
Sebastian Wolf
8e46661d78 Start chat from avatar or user name 2020-11-03 22:32:36 +01:00
Sebastian Wolf
d709473ae4 Merge branch 'master' of https://github.com/Wunderfitz/harbour-fernschreiber 2020-11-03 22:21:21 +01:00
Sebastian Wolf
bbd8e3eabf Start chat from @-mention 2020-11-03 22:21:01 +01:00
Sebastian Wolf
56c5fe2d36
Merge pull request #128 from jgibbon/bugfix/entity-sort
entity sort offset+length
2020-11-03 20:46:38 +01:00
Sebastian Wolf
23d0af9836 Merge branch 'master' of https://github.com/Wunderfitz/harbour-fernschreiber 2020-11-03 08:19:03 +01:00
Sebastian Wolf
fd74da2408 Restore web page preview 2020-11-03 08:18:46 +01:00
Sebastian Wolf
480a71720b
Merge pull request #127 from jgibbon/bugfix/changelog-path
fix rpm changelog
2020-11-03 08:16:06 +01:00
John Gibbon
7240bbbf44 entity sort offset+length 2020-11-03 00:03:00 +01:00
Sebastian Wolf
1b345a6654 Add a tap-to-change date format for messages, fixes #47 2020-11-02 23:42:23 +01:00
Sebastian Wolf
179ef885b5 Chat Information Page: More tweaks 2020-11-02 23:19:50 +01:00
Sebastian Wolf
5ee71dda29 Chat Information Page: Improvements for channels 2020-11-02 22:51:12 +01:00
Sebastian Wolf
f7738e5178
Merge pull request #126 from Wunderfitz/bugfix/initial-scroll-position
Set initial scroll position for ChatPage
2020-11-02 21:35:36 +01:00
John Gibbon
666fbd4a69 fix rpm changelog
To include the changes in the rpm it
 - needs to be renamed
 - need to have entries in descending order
Also, I've changed the second 0.2 → 0.3
2020-11-02 21:18:21 +01:00
Sebastian Wolf
c4aa5042ff
Merge pull request #125 from iamnomeutente/master
Update harbour-fernschreiber-it.ts
2020-11-02 21:04:51 +01:00
Sebastian Wolf
c951977b3c
Merge pull request #124 from GNUuser/patch-13
Update harbour-fernschreiber-es.ts
2020-11-02 21:04:10 +01:00
John Gibbon
5903fbc4da Set initial scroll position for ChatPage
Fixes #1
2020-11-02 20:54:18 +01:00
iamnomeutente
6788fa96f7 Update harbour-fernschreiber-it.ts 2020-11-02 16:29:06 +01:00
carlosgonz
aa616e9964
Update harbour-fernschreiber-es.ts 2020-11-01 18:54:27 -05:00
Sebastian Wolf
f91079ca43 Try to fix HTML entity replacements for QML elements with styled text 2020-11-01 22:55:43 +01:00
Sebastian Wolf
86ac99004d Notifications: disable previewBody/Summary for now, update README 2020-11-01 21:58:22 +01:00
Sebastian Wolf
76bbc19a5d
Merge pull request #109 from monich/notifications
Notifications
2020-11-01 21:42:36 +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
6eed093e7b
Merge pull request #121 from monich/dbus-open
Don't animate ChatPage transition when notification is tapped
2020-11-01 19:52:36 +01:00
Sebastian Wolf
4de0cb213e
Merge pull request #120 from monich/chatmodel-crash
Fix crash in ChatModel
2020-11-01 19:41:44 +01:00
Sebastian Wolf
cccb48ced5
Merge pull request #119 from jgibbon/feature/qml-import-versions
clean up qml imports
2020-11-01 19:37:49 +01:00
Slava Monich
96dcbdde22 Don't animate ChatPage transition when notification is tapped
And simplified unrolling of the page stack.
2020-11-01 20:36:59 +02:00
Sebastian Wolf
11a1018ad9
Merge pull request #118 from jgibbon/feature/copy-chat-invite-link
Remove clipboard workaround
2020-11-01 19:28:03 +01:00
Sebastian Wolf
4938bbf361
Merge pull request #117 from monich/chatType
Move chatTypeFromString from ChatListModel to TDLibWrapper
2020-11-01 19:24:45 +01:00
Sebastian Wolf
8e97d19a02 Update Copy-to-Clipboard functionality & README 2020-11-01 19:20:21 +01:00
Sebastian Wolf
6cdbfec52e
Merge pull request #116 from chstem/clipboard
Copy messages to clipboard
2020-11-01 19:13:12 +01:00
Sebastian Wolf
e26cd3d9d3
Merge branch 'master' into clipboard 2020-11-01 19:12:52 +01:00
Sebastian Wolf
09256d8ed9 Update README after latest changes to chat page 2020-11-01 18:56:09 +01:00
Sebastian Wolf
27f1f02b29
Merge pull request #115 from iamnomeutente/master
Update harbour-fernschreiber-it.ts
2020-11-01 18:00:16 +01:00