Commit graph

641 commits

Author SHA1 Message Date
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