Commit graph

697 commits

Author SHA1 Message Date
Sebastian Wolf
856a16c640
Don't overwrite active status of attachment row for voice notes, fixes #481 2022-04-24 14:39:36 +02:00
Sebastian Wolf
40f60cf4be
Add Emoji 14.0 support :) 2022-03-21 22:37:27 +01:00
Slava Monich
11f055932a Support textEntityTypeStrikethrough
It's not currently working because of this QtQuick bug:

  https://bugreports.qt.io/browse/QTBUG-72376

but maybe someday it will.
2022-02-20 18:58:38 +02:00
Sebastian Wolf
338fd3edd1
New release somewhen after TDLib upgrade 2022-01-07 23:58:45 +01:00
Sebastian Wolf
60c1ed6bb1
Try to optimize sticker set handling (less reload) 2022-01-07 23:00:28 +01:00
Sebastian Wolf
932f483b7a
TDLib 1.8.0: New format for sponsored messages 2022-01-07 22:03:58 +01:00
Sebastian Wolf
fcbf9d65f1
TDLib 1.8.0: Headers and sender -> sender_id changes 2022-01-07 19:18:04 +01:00
Sebastian Wolf
fd46780b89
Merge pull request #477 from monich/replies
Fixed message reference in Replies chat
2022-01-05 21:07:30 +01:00
Slava Monich
a6d469a999 Don't try to load message with zero id
chatPage.messageIdToShow can be defined and yet be zero
2021-12-26 04:50:37 +02:00
Slava Monich
af5a2b6c92 Fixed message reference in Replies chat
According to td_api.tl:

@reply_in_chat_id If non-zero, the identifier of the chat to which the
replied message belongs; Currently, only messages in the Replies chat
can have different reply_in_chat_id and chat_id
2021-12-26 04:46:52 +02:00
Slava Monich
1179c86a06 Make "In reply to" properly react to taps 2021-12-18 02:44:45 +02:00
Sebastian Wolf
833f5f1df7
Prepare 0.12 2021-12-16 21:54:30 +01:00
Sebastian Wolf
2d58239c34
Merge pull request #466 from monich/forward
Optimized forwarding
2021-12-16 21:19:50 +01:00
Sebastian Wolf
49b7047ac9
Some cleanup after #469 2021-12-15 23:56:46 +01:00
Sebastian Wolf
1ff1426b8b
Merge pull request #469 from nephros/sessions
Move Session options to Settings page
2021-12-15 22:34:08 +01:00
Sebastian Wolf
5ad93a777a
Try switching back to ChatListModel for opening chats via notifications 2021-12-15 22:07:14 +01:00
nephros
a5e5e36083 Use Remorse.popupAction instead of RemorseItem
RemorseItem sets anchors which we can't have in a Column
2021-12-15 12:17:05 +01:00
nephros
8349cb4377 fixup! fixup! Settings: add login info and logout to Profile 2021-12-15 12:02:32 +01:00
nephros
313a4d3827 fixup! Settings: add login info and logout to Profile 2021-12-15 11:57:48 +01:00
nephros
f33162801c Settings: add login info and logout to Profile 2021-12-15 11:55:29 +01:00
nephros
3786a0cb3f Sessions: remove profile info, restore list design 2021-12-15 10:36:26 +01:00
Slava Monich
68a2adc38d Optimized forwarding
It was a very strange experience. Now it's more like what an average
user would expect :)
2021-12-15 01:30:26 +02:00
Sebastian Wolf
7bfa4a54e0
Some logging for some strange issues... 2021-12-14 23:22:21 +01:00
nephros
f8bc0df74a Tweak dimensions, fix ResponsiveGrid 2021-12-14 12:56:11 +01:00
nephros
4a04a55513 Move Session options to Settings page 2021-12-12 22:09:28 +01:00
Sebastian Wolf
fe9cd73798
Narrow down message link option for tg/resolve links 2021-12-11 23:22:32 +01:00
Sebastian Wolf
b8e5fb189c
Handle many direct message links properly, fixes #312 2021-12-11 18:29:31 +01:00
Sebastian Wolf
37518d06a6
Merge pull request #464 from monich/filter
Improve chat search performance
2021-12-09 22:11:05 +01:00
Slava Monich
5da08c2a15 Hide appearance settings that are not applicable 2021-12-09 05:16:21 +02:00
Slava Monich
3c20eb7ca8 Improve chat search performance
Simple text search performs significantly better that regular
expressions.

Disconnecting search filter model from the source when search is off
should be good for performance because the filter model won't have to
unnecessarily react to the source model changes.
2021-12-09 02:13:18 +02:00
Sebastian Wolf
5309dda94b
Avoid saving drafts for deleted users, fixes #439 2021-12-08 23:57:06 +01:00
Sebastian Wolf
02573e8d4e
Add option to delete private chat, see #439 2021-12-08 22:35:26 +01:00
Sebastian Wolf
c509616db9
Merge pull request #462 from monich/emoji-bg
Apply last remaining sticker option to animated emoji
2021-12-08 21:26:34 +01:00
Sebastian Wolf
57f2d71eca
Basic group chat members come in differently 2021-12-08 21:24:29 +01:00
Slava Monich
fb2c0a42c1 Apply last remaining sticker option to animated emoji
In all other respects their behavior is already equivalent
2021-12-08 20:52:57 +02:00
Sebastian Wolf
fcdf6cc4ed
Merge pull request #460 from monich/emoji
Describe emoji with emoji
2021-12-08 00:34:50 +01:00
Sebastian Wolf
0f4e0eaf58
Better support sponsored message types 2021-12-08 00:33:35 +01:00
Slava Monich
2fea47af1b Describe emoji with emoji
And stickers too
2021-12-08 00:57:54 +02:00
Sebastian Wolf
b5b0ec5ed1
Some fixes for #457 were missing... 2021-12-07 20:36:48 +01:00
Sebastian Wolf
b2e41a6421
Adapt to new chat member format, fixes #457 2021-12-06 23:51:54 +01:00
Sebastian Wolf
489c410b14
Merge branch 'master' into smarter-extra-options 2021-12-05 22:09:18 +01:00
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
88d385ab0d
Don't forget the about page 2021-11-10 22:01:56 +01:00
Sebastian Wolf
db655d766f
No 'Recently used' section if there are no stickers, fixes #438 2021-11-07 15:09:33 +01:00
Sebastian Wolf
90b0a40824
Improve URL/open-with handler (hopefully) 2021-11-03 23:31:00 +01:00
Slava Monich
481d6e88cc Animate accordion image rotation 2021-09-18 16:59:37 +03:00
Sebastian Wolf
dce28370b5
Development continues with 0.10 2021-08-30 20:07:11 +02: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
jngibbon
a2b05fc227 fix qml type warning
… I created myself in df1f20cb (oops)
2021-06-09 08:55:11 +02:00
Sebastian Wolf
d668c8666e
Prepare release 0.9 2021-05-30 19:16:03 +02:00
Sebastian Wolf
d2df4ddf16
Enhance location attachment information (accuracy, address) 2021-05-27 23:48:50 +02:00
jngibbon
df1f20cb30 Delay link/notification handling until chatListCreated
(hopefully) fixes #412
2021-05-26 22:21:53 +02:00
Sebastian Wolf
b719d18a70
Remove debug statement from previous testing... 2021-05-26 15:16:05 +02:00
Sebastian Wolf
b350487fb9
Adjust scroll position handling when chat window height changes, fixes #418 2021-05-25 23:15:43 +02:00
Sebastian Wolf
388ea83e45
Disable auto-scroll when app is in background, fixes 410 2021-05-25 22:48:25 +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
Santhosh Manikandan S
f559b4892b Add focus text on entering chat option
Added an option to focus the text area when entering a chat has
been added and the same is exposed under Settings page.
2021-05-13 00:02:26 +05:30
Santhosh Manikandan S
93da676e6b Fix new line in TextInput when using Send By Enter
Fixed the issue by removing the enter that gets added to textarea
when enter is pressed using string operations.
2021-05-04 20:16:42 +05:30
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
Sebastian Wolf
f240845927
Prepare aarch64 build 2021-03-02 22:46:08 +01:00
Sebastian Wolf
d3556d293d
Prepare patch release 0.8.1 2021-03-01 21:43:45 +01:00
Sebastian Wolf
edd9db186b
Contact registered message becoming simple 2021-02-25 21:38:55 +01:00
Slava Monich
545b716f24 Don't show Active Sessions button when not authenticated
Also, expose authorizationState as TDLibWrapper property.
2021-02-25 02:59:51 +02:00
Sebastian Wolf
5e8584af79
Prepare release 0.8, including changelog 2021-02-22 21:46:55 +01: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
aef9fd8391
Support for managing Telegram sessions 2021-02-20 00:14:43 +01:00
Sebastian Wolf
b2f2ee5453
Disable contacts sync on Sailfish OS 4.x 2021-02-18 22:48:01 +01:00
Sebastian Wolf
1a409407c9
Add 'Forward Message' to options drawer, fix SFOS 4.0.1 bug 2021-02-17 23:48:08 +01:00
Sebastian Wolf
8ae148ec90
Merge remote-tracking branch 'origin/master' into messageOptionsDrawer 2021-02-16 21:55:04 +01:00
Sebastian Wolf
a432e91996
Trigger mark-as-read (almost) immediately after opening chat 2021-02-16 21:48:14 +01:00
Sebastian Wolf
7ae58badd9
Fix highlighted behavior after options drawer was opened 2021-02-16 21:36:29 +01:00
Sebastian Wolf
e2e78713df
Drawer: Replace Flickable/Column with SilicaListView 2021-02-16 20:54:48 +01:00
Sebastian Wolf
a734690d0d
Merge branch 'messageOptionsDrawer' of github.com:Wunderfitz/harbour-fernschreiber into messageOptionsDrawer 2021-02-16 18:52:13 +01:00
Sebastian Wolf
9688c09002
Define dock height/width more transparently 2021-02-16 18:51:50 +01:00
Sebastian Wolf
01cdb18b46
Reference chatPage correctly in new delete action
Co-authored-by: jgibbon <99138+jgibbon@users.noreply.github.com>
2021-02-16 18:47:12 +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
ade5cb34fb
Stickers can now also be send as replies 2021-02-14 10:46:29 +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
4435828ff7
Sort text replacements better to avoid overlaps, fixes #334 2021-02-10 22:02:53 +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
Sebastian Wolf
5de6ea4f11
Next release will be 0.7.1 (patches/fixes only) 2021-02-07 18:28:07 +01:00
Slava Monich
8f345174ab Use different badge colors for muted chats 2021-02-07 02:29:50 +02:00
Sebastian Wolf
f6e21b6428
Use default landscape format for settings page 2021-02-05 22:49:56 +01: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
4b0f8f3166
Mark new messages as read when automatically scrolling down 2021-02-05 21:57:22 +01:00
Sebastian Wolf
299ab8d7a0
Adjust settings page layout 2021-02-04 23:46:06 +01:00
Sebastian Wolf
40fea18a46
Try to fix video page (without refactoring ;)) 2021-02-03 23:12:24 +01:00
Sebastian Wolf
31ee65fc98
Introduce configurable delay for marking messages as read 2021-02-03 22:16:22 +01:00
Sebastian Wolf
ca94e7971b
Merge privacy settings 2021-02-03 21:54:46 +01:00
Sebastian Wolf
1a3767e599
Merge pull request #359 from Wunderfitz/chatIndexHandling
Improved chat message index handling
2021-02-03 21:42:01 +01:00
John Gibbon
42f3cfb155 Fix click signal forwarding for extra content items 2021-02-03 11:47:03 +01:00
Sebastian Wolf
978ee5a334
Handle last read sent message better, might address #301 2021-02-02 23:19:02 +01:00
Sebastian Wolf
3176c3dc8c
Chat page: Adjust initial scroll position, honoring #243 2021-02-02 22:05:24 +01:00
Sebastian Wolf
fd6ebae7c0
Better chat index handling, see #235 & #271 2021-02-02 00:42:42 +01:00
Sebastian Wolf
55ce5c36d8
Merge pull request #353 from monich/view_count
Update message view counts in real time
2021-01-31 22:42:18 +01:00
Sebastian Wolf
18cf86b75c
Adjust explanatory text and update English & German localization 2021-01-31 22:00:35 +01:00
Slava Monich
b1c4311990 Update message view counts in real time 2021-01-31 22:10:45 +02:00
Sebastian Wolf
444649c3b2
Merge pull request #349 from monich/sound
Made notification sound configurable
2021-01-31 20:41:34 +01:00
Sebastian Wolf
3bc97f2739
Cover: Smaller font sizes, enable numerus forms, fixes #350 2021-01-31 20:23:59 +01:00
Slava Monich
3433ec547e Made notification sound configurable 2021-01-31 20:46:26 +02:00
Sebastian Wolf
f65a62d61f
Merge pull request #348 from monich/superlowres
Don't display default and superlowres images at the same time
2021-01-31 12:20:39 +01:00
Slava Monich
5d1af66c38 Don't display default and superlowres images at the same time 2021-01-30 05:35:45 +02:00
Slava Monich
f7bcec0456 Don't allow ContextMenu to be wider than its ComboBox
That looks ridiculous.
2021-01-30 01:16:13 +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
e6e63622e5 Implement sending Quiz explanations
TDLib 1.7 feature
2021-01-22 11:13:51 +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
Sebastian Wolf
f0d14bc440
Change username, prepare privacy setting rules 2021-01-19 23:58:58 +01:00
John Gibbon
844498ee46 Remove unused TDLibFile from image page 2021-01-19 22:52:49 +01:00
John Gibbon
b6468ec924 Remove useless output 2021-01-19 22:43:12 +01:00
John Gibbon
117e7e9310 Use biggest image for detail page 2021-01-19 22:42:53 +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
Sebastian Wolf
c992c3ed00
Merge pull request #326 from monich/landscape-settings
Optimize settings page for landscape layout
2021-01-18 18:45:48 +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