Commit graph

475 commits

Author SHA1 Message Date
Sebastian Wolf
d9991cce79
Try something for the too large context menu 2021-02-14 21:57:48 +01:00
Sebastian Wolf
ade5cb34fb
Stickers can now also be send as replies 2021-02-14 10:46:29 +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
5de6ea4f11
Next release will be 0.7.1 (patches/fixes only) 2021-02-07 18:28:07 +01:00
Sebastian Wolf
f6e21b6428
Use default landscape format for settings page 2021-02-05 22:49:56 +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
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
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
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
John Gibbon
844498ee46 Remove unused TDLibFile from image page 2021-01-19 22:52:49 +01:00
John Gibbon
117e7e9310 Use biggest image for detail page 2021-01-19 22:42:53 +01:00
John Gibbon
5a720c1a00 Use TDLibPhoto in MessagePhoto 2021-01-19 22:39:46 +01:00
Sebastian Wolf
3a59ec54ba
Merge remote-tracking branch 'origin/master' into userPreferences 2021-01-19 22:31:30 +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
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
Slava Monich
e6ca239acd Optimize settings page for landscape layout 2021-01-17 22:05:30 +02:00
John Gibbon
aa7a1f28ce Use dedicated Files for message content 2021-01-16 00:40:02 +01:00
Sebastian Wolf
ab879f8db3
Translations and cleanup after latest changes 2021-01-15 23:08:58 +01:00
Sebastian Wolf
063df54e94
Merge branch 'master' into logout 2021-01-15 22:00:04 +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
954986edee Merge branch 'master' into feature/inline_queries 2021-01-15 08:18:12 +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
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
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
8607f1000b Only show inline query element mode if username is valid 2021-01-11 10:22:54 +01:00
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
Slava Monich
92655b4417 Update webPage photo id when message gets updated 2021-01-08 05:36:34 +02:00
Sebastian Wolf
7453c60052
Add sourceSize to pin icon 2021-01-07 21:52:26 +01:00
Sebastian Wolf
cc65c694c0
Use highlightBackgroundColor consistently for all chat attributes 2021-01-06 14:01:55 +01:00
Sebastian Wolf
9299205379
Show pinned chat icon in list 2021-01-06 10:42:12 +01:00
Sebastian Wolf
71283df6c5
Merge pull request #268 from Wunderfitz/voicenotes
Support sending voice notes and locations
2021-01-04 22:04:19 +01:00
John Gibbon
81ffb53062
Use OpacityRamp to hint at scrollable attachmentsOptions 2021-01-04 20:50:20 +01:00
Sebastian Wolf
2b634471dc
Sending locations seems to work as well... 2021-01-03 01:22:30 +01:00
John Gibbon
cc0cc94dc5 Add a different placeholder text for no filtered chats 2021-01-02 20:46:24 +01:00
Sebastian Wolf
7c615b5cff
Merge remote-tracking branch 'origin/master' into voicenotes 2021-01-02 20:33:03 +01:00
Sebastian Wolf
fd7de65c19
Merge pull request #263 from Wunderfitz/lean-overview
Remove magnifying glass, reorganize title bar, introduce interaction hint
2021-01-02 20:30:04 +01:00
John Gibbon
54602d8a6c
Remove obsolete Row; Enable animations; Change Hint 2021-01-02 20:15:25 +01:00
Sebastian Wolf
e620c41e17
Merge branch 'master' of github.com:Wunderfitz/harbour-fernschreiber 2021-01-02 20:07:23 +01:00
Sebastian Wolf
f26820ef75
AboutPage: React properly if no profile pic is defined, fixes #264 2021-01-02 20:06:53 +01:00
Sebastian Wolf
1b83fddfe6
No strange debug logging ;) 2021-01-02 19:57:36 +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
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
04f6c14e86 Remove warning if no draft_message is present 2021-01-01 21:06:38 +01:00
Sebastian Wolf
fd0d188030
Merge remote-tracking branch 'origin/master' into voicenotes 2021-01-01 15:03:22 +01:00
Sebastian Wolf
2c078307dc
Add singular/plural forms to search chats page 2021-01-01 14:39:22 +01:00
John Gibbon
42398eee96 Implement TextArea focus after message send option
fixes #149
2021-01-01 01:34:11 +01:00
Sebastian Wolf
1e4455482c
Only draft message if allowed (last commit in 2020 :D) 2020-12-31 19:27:44 +01:00
Sebastian Wolf
9662df3c74
Start with voice notes 2020-12-31 19:12:50 +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
Sebastian Wolf
11058bc05a
Chat List: Let a timer do the model change 2020-12-30 16:44:23 +01:00
Sebastian Wolf
e15c171640
Show send message button also if attachments are there, fixes #143 2020-12-30 16:18:50 +01:00
Sebastian Wolf
33878bb480
Merge pull request #250 from Wunderfitz/searching
Fernschreiber learns filtering and searching
2020-12-30 13:09:13 +01:00
Santhosh Manikandan S
ba42aa061b Send message button will now be hidden by default if Send message by Enter
option is used

Ref: https://github.com/Wunderfitz/harbour-fernschreiber/issues/143
2020-12-29 23:04:28 +05:30
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
e6fd5885aa
Force read all mentions in a chat when nothing is unread 2020-12-28 21:57:34 +01:00
Sebastian Wolf
ef1f824cd8
Add download option to audio preview 2020-12-28 21:20:10 +01:00
Sebastian Wolf
2f52a87e2b
Remove debug log for cooldown 2020-12-28 19:40:27 +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
23641b24a1
Proper height for chat page search field 2020-12-27 00:38:20 +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
d619b97ee4
Increase chatListCreatedTimer to 100ms, update translation files 2020-12-26 14:58:10 +01:00
John Gibbon
653a35500c speed up overview page loading
contributes to #198
2020-12-25 23:22:11 +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
039aca14bf
Always scroll to top at startup 2020-12-25 12:55:46 +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
1317f6532e
Use chat list proxy model only if filtering is active 2020-12-17 09:24:20 +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
Slava Monich
72582c26f4 Added "Join chat by id" to the Debug page 2020-12-16 03:45:32 +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
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
2ce1ad1f49 Animate display of selection panel 2020-12-06 16:50:03 +02:00
John Gibbon
5145c54d94 Removed unused imports 2020-12-04 21:39:02 +01:00
John Gibbon
214e6d335b Implement suggested changes
- (rebase to current master)
 - put compareAndRepeat in debug.js
 - create a new DebugPage for tests instead of AboutPage; only visible in debug mode
 - finalize PR state (remove functionsOLD left for comparisons)
2020-12-04 21:23:02 +01:00
John Gibbon
a2118edc3b Optimize functions.js 2020-12-04 21:23:02 +01:00
Slava Monich
38165c4f67 Add verification badge to verified chats 2020-12-03 02:13:35 +02:00
Sebastian Wolf
196abdd6d1 Workaround for ChatPage flickable issues (moving strangely sometimes) 2020-12-02 23:46:29 +01:00
Sebastian Wolf
a8fd0e0463 Chore: Change release version 2020-12-01 23:18:26 +01:00
Slava Monich
abfd408227 Allow any orientation for pickers 2020-12-01 05:31:38 +02:00
Sebastian Wolf
782599f905 Simplify remorse popups, see #206 2020-11-29 13:33:14 +01:00
Sebastian Wolf
4aedc56ca7 Merge incoming changes from secret chat/contacts 2020-11-29 12:44:50 +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
Sebastian Wolf
f446e35051 console.log -> Debug.log 2020-11-29 12:34:42 +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
f7296daf4e Start with @-mentioning in own messages 2020-11-28 23:00:10 +01:00
Sebastian Wolf
48b5e14335 Improvements after feedback round 2020-11-28 19:11:51 +01:00
Sebastian Wolf
de945c7846 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-27 21:14:59 +01:00
Sebastian Wolf
cc08ee3997 Switch to file picker for documents, fix short text for audios 2020-11-27 21:13:55 +01:00
Sebastian Wolf
4bcd4faca9 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-27 19:51:56 +01:00
Sebastian Wolf
4cf35641c5 Secret chat identifer switches to qlonglong 2020-11-27 19:42:39 +01:00
John Gibbon
0ba4d9a408 Fix initial auth handling
This (hopefully, it at least LGTM) fixes two problems:
 - OverviewPage.onCompleted: It got the wrong AuthorizationState if qml was loaded too fast because it wasn't initialized. (c++)
- The QML could have tried to open the InitializationPage "onCompleted". But the initial pageStack operation is a parent in it's call stack,  so it is neither ready nor wants to accept "completeAnimation()". A zero interval Timer was added for this case.
2020-11-27 10:25:23 +01:00
Sebastian Wolf
deacb7f0ea Synchronize contacts with Telegram 2020-11-26 22:18:51 +01:00
Sebastian Wolf
7ab58d3730 Add option to close a secret chat 2020-11-26 16:11:12 +01:00
Sebastian Wolf
6f889437ed Merge latest upstream changes... 2020-11-26 15:38:15 +01:00
Sebastian Wolf
24ab5a5953
Merge pull request #200 from monich/optimizer
Added storage optimizer option
2020-11-26 15:11:01 +01:00
Sebastian Wolf
63824e77f2 Remove debug leftover in AboutPage 2020-11-26 15:10:26 +01:00
John Gibbon
12136a0e7e Add menu for "About" to InitializationPage
Also puts the account specific info from "AboutPage" into a Loader to make it optional without much effort.
2020-11-26 11:18:17 +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
Sebastian Wolf
4713fbfba6 Apply a dumb filter on contacts 2020-11-24 17:28:41 +01:00
Sebastian Wolf
86599b2859 Move contacts to an own model 2020-11-24 16:13:16 +01:00
Slava Monich
b649b71868 Added storage optimizer option 2020-11-24 00:17:27 +02:00
Sebastian Wolf
7da8957423 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-23 21:32:27 +01:00
Sebastian Wolf
20b773ac59 Check contacts requested via extra-attribute 2020-11-23 20:53:43 +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
Sebastian Wolf
51cad07231 Yet another merge from master, need to be faster... ;) 2020-11-23 12:08:25 +01:00
John Gibbon
7017818acb Add switchable Debug output (JS) 2020-11-23 00:08:04 +01:00
John Gibbon
352493f100 Use TruncationMode.Fade 2020-11-22 20:19:14 +01:00
Sebastian Wolf
c6fa5cf97f Options for creating new chats... 2020-11-21 22:13:37 +01:00
Sebastian Wolf
4d1bd029bc Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-21 10:21:53 +01:00