Commit graph

351 commits

Author SHA1 Message Date
Sebastian Wolf
f3242bf7db
We only need the local .desktop files in Verla and earlier :) 2021-11-07 19:53:23 +01:00
Sebastian Wolf
a88abbb20f
Compatibility with earlier SFOS versions is hard... 2021-11-07 17:00:17 +01:00
Sebastian Wolf
90b0a40824
Improve URL/open-with handler (hopefully) 2021-11-03 23:31:00 +01:00
Sebastian Wolf
dce28370b5
Development continues with 0.10 2021-08-30 20:07:11 +02:00
Sebastian Wolf
d2df4ddf16
Enhance location attachment information (accuracy, address) 2021-05-27 23:48:50 +02:00
Sebastian Wolf
136e4328d7
A chat might become visible after first discovery 2021-05-26 21:53:10 +02:00
Sebastian Wolf
29719c0764
Update message index map after message exchange, fixes #407 2021-05-25 22:28:48 +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
Sebastian Wolf
f240845927
Prepare aarch64 build 2021-03-02 22:46:08 +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
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
41e9efb8e5
Merge pull request #376 from Wunderfitz/newStickerSets
Redesign sticker picker, show sticker sets, install/remove sticker sets
2021-02-15 21:19:13 +01:00
Sebastian Wolf
9ebe33a419
Relax rule for hiding private chats 2021-02-14 12:55:54 +01:00
Sebastian Wolf
23fd7cb7cd
Potentially fix another bug 2021-02-13 20:01:42 +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
0a4fd6be93
Enable storage optimizer per default 2021-02-09 21:55:45 +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
Sebastian Wolf
08b004f6a5
Hide empty private chats from list 2021-02-07 18:23:59 +01:00
Sebastian Wolf
31ee65fc98
Introduce configurable delay for marking messages as read 2021-02-03 22:16:22 +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
c6f0a41559
Fix default value if no own message was found 2021-02-02 20:27:42 +01:00
Sebastian Wolf
fd6ebae7c0
Better chat index handling, see #235 & #271 2021-02-02 00:42:42 +01:00
Slava Monich
903cb02919 Explicitly set image-path notification hint to empty string
To stop home screen from using app icon as a default.
2021-02-01 02:04:35 +02:00
Slava Monich
b1c4311990 Update message view counts in real time 2021-01-31 22:10:45 +02:00
Slava Monich
3433ec547e Made notification sound configurable 2021-01-31 20:46:26 +02:00
Sebastian Wolf
af4a1f3a69
Chat list: Don't cache user information (wasn't set properly anyway) 2021-01-29 22:53:28 +01: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
bcbbf5616d
Fix two bugs in user privacy settings 2021-01-25 20:52:40 +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
Sebastian Wolf
e7c075edb7
Video notes text on chat list was missing 2021-01-22 22:05:32 +01:00
John Gibbon
e6e63622e5 Implement sending Quiz explanations
TDLib 1.7 feature
2021-01-22 11:13:51 +01:00
Sebastian Wolf
f0d14bc440
Change username, prepare privacy setting rules 2021-01-19 23:58:58 +01:00
Sebastian Wolf
3a59ec54ba
Merge remote-tracking branch 'origin/master' into userPreferences 2021-01-19 22:31:30 +01:00
Sebastian Wolf
066037f1a5
Notifications: Avoid popup in current chat, play sound (again), fixes #233 2021-01-19 21:48:28 +01:00
Sebastian Wolf
4e6d012a7d
Start with personal profile settings 2021-01-19 00:02:37 +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
Sebastian Wolf
063df54e94
Merge branch 'master' into logout 2021-01-15 22:00:04 +01:00
Santhosh Manikandan S
f471ef2683 1. Merged "Loading Chat Lists" and "Logging Out" BusyIndicator to one
2. Use QT in-built API to get the application storage location rather than
hardcoding the path when clearing tdlib files
2021-01-14 23:07:09 +05:30
Santhosh Manikandan S
756a96e92c Merge branch 'master' into logout 2021-01-11 23:57:31 +05:30
Santhosh Manikandan S
62a17f722f Added option to logout and login 2021-01-11 23:35:55 +05:30
John Gibbon
1ce981c147 Implement inline queries (among others) 2021-01-10 22:20:05 +01:00
Sebastian Wolf
d4935a4968
Introduce online-only mode as non-default option, fixes #77 2021-01-10 13:35:34 +01:00
Sebastian Wolf
233515474f
Merge pull request #297 from monich/fileId
Update webPage photo id when message gets updated
2021-01-08 23:33:52 +01:00
Sebastian Wolf
b9933dd706
Merge pull request #296 from monich/retry
Don't retry downloading too often
2021-01-08 22:34:30 +01:00
Slava Monich
92655b4417 Update webPage photo id when message gets updated 2021-01-08 05:36:34 +02:00
Slava Monich
4f275a5405 Don't retry downloading too often 2021-01-08 04:12:16 +02:00
Slava Monich
7f9166d1ae Initialize ChatModel::searchModeActive 2021-01-08 01:03:22 +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
fb161f3d24
Take chat list type into account when receiving new chat positions 2021-01-06 16:54:23 +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
2b634471dc
Sending locations seems to work as well... 2021-01-03 01:22:30 +01:00
Sebastian Wolf
7c615b5cff
Merge remote-tracking branch 'origin/master' into voicenotes 2021-01-02 20:33:03 +01:00
Sebastian Wolf
5213084fb1
Sending voice notes seems to work... 2021-01-02 17:22:09 +01:00
Sebastian Wolf
473c603451
Reorganize title bar, introduce interaction hint 2021-01-02 16:10:01 +01:00
Sebastian Wolf
d38f56b9fe
Recording Vorbis files works & connected to UI 2021-01-02 00:15:25 +01:00
John Gibbon
42398eee96 Implement TextArea focus after message send option
fixes #149
2021-01-01 01:34:11 +01: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
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
283466ae95
Merging should be done right... :/ 2020-12-29 09:12:57 +01:00
Sebastian Wolf
78a71cfbab
Merge remote-tracking branch 'origin/master' into searching 2020-12-28 22:16:59 +01:00
Sebastian Wolf
e6fd5885aa
Force read all mentions in a chat when nothing is unread 2020-12-28 21:57:34 +01:00
Sebastian Wolf
72fd008dfc
Disable some stuff that is not needed in search mode 2020-12-28 17:12:21 +01:00
Sebastian Wolf
225eb76899
Fix crash on incoming message deletions & minor other fixes 2020-12-28 14:35:27 +01:00
Sebastian Wolf
2e970f2003
Search for public chats... 2020-12-27 23:30:25 +01:00
Sebastian Wolf
0f28db0115
Merge remote-tracking branch 'origin/master' into searching 2020-12-27 12:06:54 +01:00
Sebastian Wolf
19a17ed3f3
Now you can search in a chat... 2020-12-27 00:16:25 +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
Sebastian Wolf
461b724d15
Merge latest upstream changes 2020-12-26 16:28:03 +01:00
Sebastian Wolf
13a91fa0e7
Remove pinned message workaround, add more build information 2020-12-26 15:43:10 +01:00
Sebastian Wolf
c83fcda617
Merge remote-tracking branch 'origin/master' into searching 2020-12-25 22:40:37 +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
a0a2e6bdca
Merge remote-tracking branch 'origin/master' into searching 2020-12-21 23:33:51 +01:00
Sebastian Wolf
00287ea89c
Merge pull request #237 from Wunderfitz/tdlib17
Migration to TDLib 1.7
2020-12-21 23:22:52 +01:00
Sebastian Wolf
87255e123a
Merge remote-tracking branch 'origin/tdlib17' into searching 2020-12-16 23:55:58 +01:00
Sebastian Wolf
4fbdeb6366
TDLib 1.7: Set timeout back to 5s, repair user profile photos 2020-12-16 23:54:17 +01:00
Sebastian Wolf
45bcc4f33d
Introduce filter capabilities for chat list 2020-12-16 23:32:42 +01:00
Slava Monich
25efbb8bc2 Added "Show all chats" switch to the Debug page 2020-12-16 16:04:15 +02:00
Sebastian Wolf
8b49b0363c TDLib 1.7: Reduce log verbosity level again to normal 2020-12-14 22:12:52 +01:00
Sebastian Wolf
a1f0e1c1c5 TDLib 1.7: Some 'fun' with the message database 2020-12-08 21:57:23 +01:00
Sebastian Wolf
bf9c4e1e5e TDLib 1.7: Message database seems to lead to terrible performance -> disable it 2020-12-07 23:33:09 +01:00
Sebastian Wolf
63db26afc8 TDLib 1.7: Sticker IDs, message sender IDs 2020-12-07 21:43:09 +01:00
Sebastian Wolf
f6d72d8ef1 Next version will be 0.6 2020-12-06 21:50:38 +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