Sebastian Wolf
9da9d22a71
Merge pull request #449 from monich/header-font-size
...
Use larger font for settings section headers
2021-12-05 22:06:59 +01:00
Sebastian Wolf
a59d32b29d
Update to TDLib 1.7.9, preliminary support for sponsored messages
2021-12-05 22:06:05 +01:00
Slava Monich
9f4f3c9475
Hide "Extra options..." context menu item if it's not needed
...
If all context actions fit into the context menu limit (5 items in portrait,
4 items in landscape) it makes no sense to show this "Extra options..." thing.
2021-12-05 03:30:00 +02:00
Slava Monich
8a48982ca5
Use larger font for settings section headers
2021-12-05 01:12:49 +02:00
Sebastian Wolf
0400d12e52
Support for animated emoji
2021-12-04 22:05:22 +01:00
Sebastian Wolf
db655d766f
No 'Recently used' section if there are no stickers, fixes #438
2021-11-07 15:09:33 +01:00
Slava Monich
481d6e88cc
Animate accordion image rotation
2021-09-18 16:59:37 +03:00
Sebastian Wolf
2f635395bc
Merge pull request #430 from Wunderfitz/feature/settings-page-accordion
...
settings page accordion
2021-08-30 19:47:41 +02:00
Sebastian Wolf
bb9cacb71e
Adjust accordion arrows to match default UX (see sample components)
2021-08-30 19:25:49 +02:00
jngibbon
fa9e0c7d54
Update chatNotificationSettings in chat info page
2021-07-02 23:47:30 +02:00
jngibbon
2ffe9ae885
Remove some unused code/comments and a few empty lines
2021-06-09 08:55:11 +02:00
jngibbon
0aba35d9bd
Implement Settings Accordion
...
fixes #344
2021-06-09 08:55:11 +02:00
Sebastian Wolf
98307c59e4
New sticker picker: layout optimizations
2021-05-24 21:41:21 +02:00
Sebastian Wolf
3262835f1d
Merge branch 'master' into feature/stickerpicker-listview
2021-05-24 21:04:10 +02:00
jngibbon
5c69119b38
Remove unnecessary maximumLineCount
2021-05-23 22:13:16 +02:00
jngibbon
9fded3d3a8
Speed up Sticker Picker
2021-05-22 21:19:59 +02:00
Sebastian Wolf
109913c9ca
Introduce possibility to display stickers as emojis
2021-05-20 23:41:55 +02:00
Slava Monich
9a2b2b0ca8
Handle more cases when the drawer should be closed
...
1. Other item is pressed
2. Any item is long-pressed, including the selected one
3. ChatPage is getting deactivated
2021-03-27 01:27:47 +02:00
Slava Monich
4050f41ce2
Don't have on-screen keyboard and drawer visible simultaneously
...
Also, removed unnecessary closeRequested() signal.
2021-02-22 00:27:36 +02:00
Slava Monich
3497f9d0fc
Fixed MessageSticker highlight and click behavior
...
The highlighted property has been moved to MessageContentBase and
the mouse area was stealing mouse events from the parent.
2021-02-21 01:47:05 +02:00
Sebastian Wolf
7ae58badd9
Fix highlighted behavior after options drawer was opened
2021-02-16 21:36:29 +01:00
Sebastian Wolf
0a8f507f6f
Message option drawer: This crazy idea really seems to work...
2021-02-15 21:20:38 +01:00
Sebastian Wolf
d9991cce79
Try something for the too large context menu
2021-02-14 21:57:48 +01:00
Sebastian Wolf
257fc749ee
Merge remote-tracking branch 'origin/master' into newStickerSets
2021-02-14 11:57:36 +01:00
Sebastian Wolf
352789f79d
Disable auto-scroll after context menu interaction, fixes #139
2021-02-14 11:51:26 +01:00
Sebastian Wolf
42a697591d
Show first sticker in picker if no set thumbnail is available
2021-02-14 10:17:26 +01:00
Sebastian Wolf
8fc499582b
Redesign sticker picker, fix one sticker reload bug
2021-02-13 18:55:49 +01:00
Sebastian Wolf
ef9a999994
Properly add/remove sticker sets (almost ;))
2021-02-13 00:34:01 +01:00
Sebastian Wolf
94aee83936
Showing new sticker sets
2021-02-11 23:39:56 +01:00
Sebastian Wolf
fc2c53f840
Show in-reply-to message if it was deleted, fixes #374
2021-02-09 22:35:19 +01:00
Sebastian Wolf
3575e1674c
[SFOS4] Documents app can't access our files anymore, always use Downloads
2021-02-08 22:49:34 +01:00
Slava Monich
8f345174ab
Use different badge colors for muted chats
2021-02-07 02:29:50 +02:00
Sebastian Wolf
cbee948e09
Avoid display errors on chat information page for multi-line infos
2021-02-05 22:16:26 +01:00
Sebastian Wolf
40fea18a46
Try to fix video page (without refactoring ;))
2021-02-03 23:12:24 +01:00
John Gibbon
42f3cfb155
Fix click signal forwarding for extra content items
2021-02-03 11:47:03 +01:00
Slava Monich
b1c4311990
Update message view counts in real time
2021-01-31 22:10:45 +02:00
Slava Monich
5d1af66c38
Don't display default and superlowres images at the same time
2021-01-30 05:35:45 +02:00
Sebastian Wolf
e2b6d25aa8
Show picture placeholder in settings, handle first upload properly
2021-01-26 23:54:37 +01:00
Sebastian Wolf
9b820dad2b
Add and delete profile pictures
2021-01-26 23:26:40 +01:00
Sebastian Wolf
5e6cd6f4b4
Prepare adding/deleting profile pictures
2021-01-25 23:39:54 +01:00
Sebastian Wolf
9a5db3e83f
Next steps towards supporting user preferences
2021-01-24 23:46:30 +01:00
Sebastian Wolf
2fcacef6d4
Merge remote-tracking branch 'origin/master' into userPreferences
2021-01-22 22:14:25 +01:00
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
3a59ec54ba
Merge remote-tracking branch 'origin/master' into userPreferences
2021-01-19 22:31:30 +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
Sebastian Wolf
4e6d012a7d
Start with personal profile settings
2021-01-19 00:02:37 +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
Sebastian Wolf
d38f56b9fe
Recording Vorbis files works & connected to UI
2021-01-02 00:15:25 +01:00
John Gibbon
d3eac32216
Remove warnings about Slider maximumValue not > minimumValue
2021-01-01 21:13:14 +01:00
Sebastian Wolf
fd0d188030
Merge remote-tracking branch 'origin/master' into voicenotes
2021-01-01 15:03:22 +01:00
Sebastian Wolf
9662df3c74
Start with voice notes
2020-12-31 19:12:50 +01:00
Slava Monich
f9a824ca2c
Apply opacity to picture and badge as a group
...
It matters when page is being dimmed
2020-12-31 17:30:55 +02:00
John Gibbon
753f322053
implement message drafts
2020-12-31 01:18:14 +01:00
Sebastian Wolf
232049422a
Add 'mark chat as read/unread' feature, fixes #240
2020-12-31 00:19:36 +01:00
Slava Monich
0cb19d833c
Message API usage cleanup
...
1. Pass chat_id where appropriate
2. Pass message_id and chat_id (which are numbers) as numbers
3. Use pre-initialized QStrings more often
4. Don't pass numbers by const reference, it doesn't make sense
5. Removed some redundant const modifiers
2020-12-30 18:20:50 +02:00
Slava Monich
cd0eace631
Fixed invalid component reference in StickerPreview
2020-12-30 17:46:28 +02:00
Sebastian Wolf
7dfe7ddc3e
Change message bubble colors for light ambiences, fixes #239
2020-12-30 13:49:57 +01:00
Sebastian Wolf
b4b1eb4bc0
Merge remote-tracking branch 'origin/master' into searching
2020-12-29 16:33:40 +01:00
Sebastian Wolf
775a31cecb
Implement delete/add chat members properly, fixes #131
2020-12-29 16:32:39 +01:00
Sebastian Wolf
78a71cfbab
Merge remote-tracking branch 'origin/master' into searching
2020-12-28 22:16:59 +01:00
Sebastian Wolf
ef1f824cd8
Add download option to audio preview
2020-12-28 21:20:10 +01:00
Sebastian Wolf
225eb76899
Fix crash on incoming message deletions & minor other fixes
2020-12-28 14:35:27 +01:00
John Gibbon
d0f33969eb
support basic bot messages (reply markup)
...
only inlineKeyboardButtonTypeCallback and inlineKeyboardButtonTypeUrl are implemented.
2020-12-27 00:01:59 +01:00
John Gibbon
653a35500c
speed up overview page loading
...
contributes to #198
2020-12-25 23:22:11 +01:00
Sebastian Wolf
fe0b390a87
TDLib 1.7: Bring back pinned messages (nobody noticed so far?)
2020-12-25 22:38:13 +01:00
Sebastian Wolf
4e680a9a3f
Don't display empty in-reply-to section if message wasn't found
2020-12-25 15:33:53 +01:00
Sebastian Wolf
ff399a524c
Display group information for anonymous messages
2020-12-25 13:50:13 +01:00
Sebastian Wolf
d0ebbc7170
Bring proper link coloring in web page descriptions back
2020-12-25 12:31:32 +01:00
Slava Monich
d2d6fac778
Fixed Emoji image positioning in multiline StyledText
...
Combination of maximumLineCount and TruncationMode.Elide (or Fade)
breaks Emoji image alignment, pushing the image down. Explicitly
truncating the text fixes the problem, at expense of certain runtime
overhead.
Also, toggle full and truncated Web page preview on tap.
2020-12-24 05:45:27 +02:00
Sebastian Wolf
c10819b12e
Merge pull request #246 from monich/placeholderImage
...
Fixed invalid reference
2020-12-21 23:33:04 +01:00
Slava Monich
88b79236e7
Fixed invalid reference
2020-12-21 04:42:40 +02:00
Sebastian Wolf
335b8ed0c9
Merge latest changes (edit/reply)
2020-12-15 20:39:48 +01:00
Slava Monich
aee027219a
Don't show Reply menu item if the message can't be replied to
...
Also moved the handling of the Edit action to the chat page where
it's actually being handled.
2020-12-15 20:19:06 +02:00
Sebastian Wolf
0d21174220
TDLib 1.7: MPEG4 thumbnails are too much, autostart animations
2020-12-08 19:56:29 +01:00
Sebastian Wolf
8e03b16243
Enable links in in-reply-to rows
2020-12-07 23:30:46 +01:00
Sebastian Wolf
6508c20a0d
TDLib 1.7: Enable proper links in web previews
2020-12-07 22:46:25 +01:00
Sebastian Wolf
2cd86a95d9
TDLib 1.7: Video thumbnail is a 'file' not a 'video' anymore
2020-12-07 22:24:07 +01:00
Sebastian Wolf
44510901ac
TDLib 1.7: Forward info - original sender ID remains unchanged
2020-12-07 22:13:51 +01:00
Sebastian Wolf
6e54988978
TDLib 1.7: Web page descriptions can be formatted now
2020-12-07 22:02:58 +01:00
Sebastian Wolf
63db26afc8
TDLib 1.7: Sticker IDs, message sender IDs
2020-12-07 21:43:09 +01:00
Slava Monich
b6c97c7f93
Optimized chat model a bit
...
1. Store and handle message ids as numbers rather than variants/strings
2. Incrementally update message id map
3. Expose additional roles and properties to avoid unnecessary lookups
2020-12-06 21:10:50 +02:00
Slava Monich
bd695d1a91
Fix occasional crashes on long-tapping poll items
...
The crash was happening when Repeater was adding context menu items
instantiated by PollPreview to context menu owned by MessageListViewItem.
It's fixed by instantiating those extra menu items inside context menu
itself. Generic ListElement couldn't be used because it doesn't like
functions as property values, hence this NamedAction thing.
2020-12-06 01:52:19 +02:00
Slava Monich
6fc88fe0d5
Mark readonly properties as such
2020-12-05 20:00:11 +02:00
Slava Monich
782561273f
Tweaked poll/quiz layout
...
Made it slightly more compact.
2020-12-05 19:41:47 +02:00
John Gibbon
d35419d656
press effect for more items
...
there are still a few areas where there's no press effect (message items themselves: Text, profile thumbnail, sent icon,…)
but for now I've just aligned the components to the image changes
2020-12-04 22:47:03 +01:00
Sebastian Wolf
8f9c46a05d
Merge pull request #226 from monich/press
...
Press effect for image preview items
2020-12-04 21:53:06 +01:00
Slava Monich
eed1b06f97
Press effect for image preview items
2020-12-04 21:30:25 +02:00
John Gibbon
1e877dec22
extend #224 to LocationPreview and VideoPreview
2020-12-04 20:22:21 +01:00
Slava Monich
3fdfd8d7d2
Fixed long tap on an image
...
MouseArea filling the image was eating mouse events which should be
handled by the list item. Handle them all at the list item level and
forward the "clicked" event to the extra content items which declare
the clicked() function.
2020-12-04 05:12:00 +02:00
Sebastian Wolf
5d0398b071
Merge pull request #221 from monich/verified
...
Add verification badge to verified chats
2020-12-03 22:01:48 +01:00
Slava Monich
2638c3837d
Improve preview of wide images
...
Avoid clipping. Also, handling file updates on C++ side should be good
for performance.
2020-12-03 04:54:19 +02:00
Slava Monich
38165c4f67
Add verification badge to verified chats
2020-12-03 02:13:35 +02:00
Sebastian Wolf
98d07c86c4
Show some love to the editing functionality
2020-12-01 21:17:13 +01:00
Sebastian Wolf
782599f905
Simplify remorse popups, see #206
2020-11-29 13:33:14 +01:00
Sebastian Wolf
965f6db84e
Merge pull request #205 from Wunderfitz/new-chat-from-contacts-7
...
New chat from contacts, initial secret chat support
2020-11-29 12:41:25 +01:00
Slava Monich
dff9b1668e
Animate opening and closing of attachment picker row
...
And slightly tweaked the process of closing the sticker picker.
2020-11-29 06:48:55 +02:00
Sebastian Wolf
48b5e14335
Improvements after feedback round
2020-11-28 19:11:51 +01:00
Sebastian Wolf
90f7535fda
Secret chats begin to work properly...
2020-11-26 00:25:15 +01:00
Sebastian Wolf
a6d8328b10
I can see secret chats... ;)
2020-11-25 00:23:38 +01:00
John Gibbon
9e405918f7
fix functions scope; make appNotification global
...
I've left some instances of AppNotification items where they're supposed to be centered inside a component, not the whole page.
2020-11-23 20:15:28 +01:00
John Gibbon
aec4666721
Fix copy paste artifacts
2020-11-23 08:27:56 +01:00
John Gibbon
7017818acb
Add switchable Debug output (JS)
2020-11-23 00:08:04 +01:00
John Gibbon
b4a520ed93
Remove elide
2020-11-22 21:10:36 +01:00