Commit graph

198 commits

Author SHA1 Message Date
John Gibbon
2ed3bacd98 Implement viewing Quiz explanations
TDLib 1.7 feature
2021-01-22 11:14:55 +01:00
John Gibbon
c5640ec13f Fix poll results page
fixes #331
2021-01-22 10:02:32 +01:00
Sebastian Wolf
741ad78602
Sometimes images don't come with a proper width/height 2021-01-21 23:33:54 +01:00
John Gibbon
6eaea9221b Add highlight to location images 2021-01-20 00:57:31 +01:00
John Gibbon
b6468ec924 Remove useless output 2021-01-19 22:43:12 +01:00
John Gibbon
bba5bf94b8 Use TDLibImage in location content 2021-01-19 22:41:06 +01:00
John Gibbon
710254dc0f Use TDLibPhoto in inline query result 2021-01-19 22:40:28 +01:00
John Gibbon
5a720c1a00 Use TDLibPhoto in MessagePhoto 2021-01-19 22:39:46 +01:00
John Gibbon
b61bf2a46b Implement TDLibPhoto qml element 2021-01-19 22:39:05 +01:00
John Gibbon
290114f3f2 Extract minithumbnail into own Loader 2021-01-19 22:38:34 +01:00
Sebastian Wolf
390f6eaca6
Merge pull request #329 from jgibbon/feature/channel-layout
Change channel messages layout
2021-01-19 19:36:02 +01:00
John Gibbon
fa232a4cbf Change channel messages layout
- make text wider
- add view count
2021-01-19 00:12:59 +01:00
John Gibbon
4cf5f661c4 Visually optimize chat list
- work on pin icon (mirrored/pointier)
- align profile thumbnail the same as the text fallback
- harmonize list delegate (and profile thumbnail) height (no more variable height)
- minimally reduce column spacing
2021-01-18 22:55:15 +01:00
Sebastian Wolf
32f884e547
Merge pull request #327 from jgibbon/feature/messageContent_fileinfo_items
Add TDLibImage/TDLibThumbnail; rework Audio/VoiceNote/Document
2021-01-18 19:21:23 +01:00
John Gibbon
703931a5a1 Add TDLibImage/TDLibThumbnail; rework Audio/VoiceNote/Document
also, again, a quick Location fix before its real turn
2021-01-17 22:38:20 +01:00
jgibbon
55fefdd96d
Merge pull request #323 from jgibbon/feature/messageContent_refactor
Message content refactor
2021-01-17 22:08:08 +01:00
Slava Monich
14f73dbb48 Fixed QML runtime warning in ChatInformationTabItemMembersGroups
ChatInformationTabItemMembersGroups.qml:75:28: Unable to assign QString to QVariantMap
2021-01-17 21:37:47 +02:00
John Gibbon
921f58e8c0 Fix Game Layout 2021-01-16 00:40:02 +01:00
John Gibbon
935bcaeb85 Fix Locations 2021-01-16 00:40:02 +01:00
John Gibbon
e6748dbc18 Adapt to changed path 2021-01-16 00:40:02 +01:00
John Gibbon
aa7a1f28ce Use dedicated Files for message content 2021-01-16 00:40:02 +01:00
John Gibbon
282ab1d2b9 Prepare dedicated QML files for all supported message content types 2021-01-16 00:40:02 +01:00
Sebastian Wolf
2459aa70e0
Merge branch 'master' into feature/channel_simple_message_username 2021-01-15 22:41:37 +01:00
Sebastian Wolf
74d584fdcc
Merge pull request #318 from monich/can_get_members
Show channel members on chat information page
2021-01-15 21:52:06 +01:00
John Gibbon
c9ab840b97 Make inline bot name check case insensitive 2021-01-15 21:37:55 +01:00
John Gibbon
954986edee Merge branch 'master' into feature/inline_queries 2021-01-15 08:18:12 +01:00
John Gibbon
919eacdec7 Clean up GamePreview thumbnail properties 2021-01-14 10:40:02 +01:00
John Gibbon
2f11b6c67c Display Chat title in SimpleMessageDelegate if sender is chat
On overviewPage I found it sufficient being empty, since the title is directly above it, anyway. But in the channel itself it looked wrong without a user name.

The name link doesn't have a href – this would only be useful for edge cases like someone sharing a "changed title" message to another chat. I did not consider that relevant enough.
2021-01-14 10:22:23 +01:00
Slava Monich
08a95d4f07 Show channel members on chat information page
if can_get_members in supergroupFullInfo is true.
2021-01-14 01:38:23 +02:00
Slava Monich
a4dbc26e70 Handle message data change in ImagePreview
And use TDLibFile to load image in ImagePage
2021-01-13 04:19:16 +02:00
John Gibbon
37ad9441f2 Inline query cleanup; Fix ChatPage scrolling issue 2021-01-12 19:39:15 +01:00
John Gibbon
c031e56284 Reduce invalid inline requests + error messages 2021-01-11 10:19:00 +01:00
John Gibbon
fe6ba8ac0d Prevent int overflow for chat id by using string :( 2021-01-11 09:50:36 +01:00
John Gibbon
3473fb995c Fix imports for photo inline result 2021-01-11 09:28:07 +01:00
John Gibbon
1ce981c147 Implement inline queries (among others) 2021-01-10 22:20:05 +01:00
Sebastian Wolf
be2f08553b
Add button to copy document to Downloads folder 2021-01-10 20:26:29 +01:00
Slava Monich
b70a4427e0 Apply press effect to profile thumbnail in chat list 2021-01-10 04:25:02 +02:00
Sebastian Wolf
1523d62362
Chat List: Muted icon now always visible, fixes #156 2021-01-09 22:25:58 +01:00
Slava Monich
92655b4417 Update webPage photo id when message gets updated 2021-01-08 05:36:34 +02:00
Sebastian Wolf
e3370bf73e
Add chat list menu option to pin/unpin chat 2021-01-07 22:47:42 +01:00
Sebastian Wolf
7453c60052
Add sourceSize to pin icon 2021-01-07 21:52:26 +01:00
Sebastian Wolf
de51bbffc0
Harmonize chat attribute bubble sizes 2021-01-06 16:07:23 +01:00
Sebastian Wolf
cc65c694c0
Use highlightBackgroundColor consistently for all chat attributes 2021-01-06 14:01:55 +01:00
Sebastian Wolf
5ca6dd1ca0
Use dedicated pin icon, thanks to @jgibbon 2021-01-06 13:24:37 +01:00
Sebastian Wolf
7e6c871261
Make VideoPage work again 2021-01-06 12:58:16 +01:00
Sebastian Wolf
9299205379
Show pinned chat icon in list 2021-01-06 10:42:12 +01:00
Sebastian Wolf
e0b94a0487
One dedicated file per voice note recording 2021-01-04 22:03:04 +01:00
Sebastian Wolf
7c615b5cff
Merge remote-tracking branch 'origin/master' into voicenotes 2021-01-02 20:33:03 +01:00
Sebastian Wolf
be404d0e55
Put attachment row in a Flickable 2021-01-02 18:08:33 +01:00
Sebastian Wolf
5213084fb1
Sending voice notes seems to work... 2021-01-02 17:22:09 +01:00