Commit graph

1318 commits

Author SHA1 Message Date
Slava Monich
56bc1135a7 Don't show irrelevant groups by default
chatListModel.showAllChats property can be used to switch visibility
of irrelevant groups on and off.
2020-10-04 04:33:42 +03:00
Slava Monich
1b261c224f Shortened log statements in TDLibWrapper
Macro is a good replacement for copy/paste.

And I'm not sure if this "[TDLibWrapper]" prefix is really necessary
since Qt adds the class and method to the debug messages which makes
another such prefix redundant. The LOG macro makes it easy to get rid
of it.
2020-10-04 04:28:46 +03:00
Sebastian J. Wolf
ec9e4b2f0b Handle message short texts properly in backend 2020-10-03 22:58:45 +02:00
Sebastian J. Wolf
79c77c426b Don't display 'unknown' for channels in chat list 2020-10-03 21:06:50 +02:00
Sebastian Wolf
b62078e380
Merge pull request #40 from monich/chatlist-roles
Expose more roles from ChatListModel
2020-10-03 20:50:00 +02:00
Slava Monich
f17048d071 Enable verbose output in TDLibReceiver if DEBUG is defined
This should have no effect on release build.
2020-10-03 21:09:04 +03:00
Sebastian J. Wolf
99b7f6e4df Merge branch 'master' of https://github.com/Wunderfitz/harbour-fernschreiber 2020-10-03 20:05:15 +02:00
Sebastian J. Wolf
873c9b2669 Handle ampersands in messages correctly, fixes #43 2020-10-03 20:04:32 +02:00
Slava Monich
39ecc7a058 Expose more roles from ChatListModel
Roles can now be directly bound to individual UI elements.

Replaced per-delegate timestamp refresh timers with a single
one refreshing all timestamps with a single dataChanged signal.

Removed chatChanged signal from since it's no longer necessary.
2020-10-03 21:02:33 +03:00
Sebastian Wolf
2d18199724
Merge pull request #41 from dashinfantry/patch-2
Update harbour-fernschreiber-zh_CN.ts
2020-10-01 20:05:36 +02:00
John Gibbon
2b228704ef add architecture detection
a bit unrelated to feature branch, but I just wanted to build it. ;)
2020-10-01 13:22:12 +02:00
John Gibbon
3149cb38cb handle empty chat list after registration
also translate some strings from b0d85840 to german
2020-10-01 13:20:43 +02:00
John Gibbon
6c1fc77f0c handle user registration 2020-10-01 12:51:43 +02:00
dashinfantry
d7b2af521c
Update harbour-fernschreiber-zh_CN.ts 2020-10-01 10:33:24 +08:00
Sebastian J. Wolf
9eb396c9ca Fixes here and there... 2020-09-30 21:41:49 +02:00
Sebastian J. Wolf
bfe3084d2e Differentiate text between other people and user 2020-09-30 00:09:51 +02:00
Sebastian J. Wolf
97e72bac9b Introduce upload status bar 2020-09-29 23:37:56 +02:00
Sebastian J. Wolf
f19b3ae4cb Add support for venues 2020-09-29 21:58:14 +02:00
Sebastian Wolf
d92ea9fbae
Merge pull request #38 from jgibbon/feature/messageLocation
Handle display of messageLocation
2020-09-29 21:12:29 +02:00
Sebastian J. Wolf
f03da2127d Handle enter key in a more relaxed way 2020-09-29 21:00:23 +02:00
John Gibbon
75ef6e70a4 update live locations 2020-09-29 15:50:21 +02:00
Sebastian J. Wolf
35e9373f49 Uploading pictures, videos and documents work, status bar still missing 2020-09-28 23:08:22 +02:00
John Gibbon
b58e33b2a4 Handle display of messageLocation
resolves #36
2020-09-28 22:59:47 +02:00
Sebastian J. Wolf
5fa2a1200f Adjust new sorting logic to TDLib 1.6.0, add contributors' info 2020-09-28 20:47:03 +02:00
Sebastian Wolf
c333a968d6
Merge pull request #37 from monich/order
Fix chat ordering and optimize chat data storage
2020-09-28 20:21:26 +02:00
Sebastian J. Wolf
30f208d9fb Initial steps to upload videos and documents 2020-09-27 23:24:22 +02:00
Slava Monich
f10d8a4045 Fix chat ordering and optimize chat data storage 2020-09-27 19:15:13 +03:00
Slava Monich
3c0d046b3f Handle updateChatPosition
And a bit of optimization:

1. Lookup handlers from hashtable
2. Pre-initialize commonly used strings
3. Avoid unnecessary QVariantMap lookups
4. Shortened logging statements
2020-09-27 19:10:30 +03:00
Sebastian J. Wolf
c9810ea194 Make yaml again the leading file 2020-09-27 15:19:46 +02:00
Sebastian Wolf
fa4fc782f9
Merge pull request #35 from monich/dbus
Build requires Qt5DBus
2020-09-27 15:17:24 +02:00
Sebastian J. Wolf
ad1cec1dfb Enable image attachments :) 2020-09-27 13:49:06 +02:00
Slava Monich
a2c9e66ede Build requires Qt5DBus 2020-09-27 13:20:18 +03:00
Sebastian J. Wolf
a5c2b34a86 Some clean-up and preparation for multi-target builds 2020-09-26 15:53:47 +02:00
Sebastian Wolf
ee5451027a
Merge pull request #33 from jgibbon/feature/pkgconfig-br
add pkgconfig build requirements to rpm meta data
2020-09-25 22:47:49 +02:00
Sebastian Wolf
9667ff46d3
Merge pull request #32 from GNUuser/patch-3
Update harbour-fernschreiber-es.ts
2020-09-25 22:42:20 +02:00
John Gibbon
dd0084db17 add pkgconfig build requirements to rpm meta data 2020-09-25 22:19:24 +02:00
carlosgonz
af43971f23
Update harbour-fernschreiber-es.ts
fixes
2020-09-24 16:31:22 -04:00
Sebastian J. Wolf
d2f5031485 Bring back replies, accidentially deleted before... 2020-09-24 22:27:17 +02:00
Sebastian J. Wolf
5b0c3df4d3 Escape <>, fixes #29 2020-09-24 21:54:36 +02:00
Sebastian Wolf
f14bb9547f
Merge pull request #30 from jgibbon/feature/coverpage-layout
CoverPage change for large numbers of messages
2020-09-24 21:08:53 +02:00
John Gibbon
a48148cf99 CoverPage change for large numbers of messages 2020-09-24 09:55:05 +02:00
Sebastian J. Wolf
e222ab115d Prepare message attachments 2020-09-23 23:41:17 +02:00
Sebastian J. Wolf
f2284a8fe9 Integrate Hungarian translation 2020-09-23 21:49:27 +02:00
Sebastian J. Wolf
b88eb918e1 Merge branch 'master' of https://github.com/Wunderfitz/harbour-fernschreiber 2020-09-23 21:38:25 +02:00
Sebastian J. Wolf
b0d35aac6c Limit height of message input field 2020-09-23 21:38:20 +02:00
Sebastian Wolf
f5bba631ff
Merge pull request #28 from edp17/master
Hungarian translation
2020-09-23 21:37:23 +02:00
edp17
1f4061b479 Hungarian translation (fixed2) 2020-09-23 15:29:37 +01:00
edp17
060131e5d0 Hungarian translation (fixed) 2020-09-23 13:35:25 +01:00
edp17
27691ea70c hungarian translation 2020-09-23 02:20:55 +01:00
Sebastian J. Wolf
0e1169e7f4 Some delay for lazy loading... 2020-09-22 22:46:48 +02:00