Commit graph

97 commits

Author SHA1 Message Date
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
jngibbon
a2b05fc227 fix qml type warning
… I created myself in df1f20cb (oops)
2021-06-09 08:55:11 +02:00
jngibbon
df1f20cb30 Delay link/notification handling until chatListCreated
(hopefully) fixes #412
2021-05-26 22:21:53 +02: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
9a5db3e83f
Next steps towards supporting user preferences 2021-01-24 23:46:30 +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
John Gibbon
cc0cc94dc5 Add a different placeholder text for no filtered chats 2021-01-02 20:46:24 +01:00
John Gibbon
54602d8a6c
Remove obsolete Row; Enable animations; Change Hint 2021-01-02 20:15:25 +01:00
Sebastian Wolf
473c603451
Reorganize title bar, introduce interaction hint 2021-01-02 16:10:01 +01:00
Sebastian Wolf
11058bc05a
Chat List: Let a timer do the model change 2020-12-30 16:44:23 +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
2e970f2003
Search for public chats... 2020-12-27 23:30:25 +01:00
Sebastian Wolf
19a17ed3f3
Now you can search in a chat... 2020-12-27 00:16:25 +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
039aca14bf
Always scroll to top at startup 2020-12-25 12:55:46 +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
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
Slava Monich
38165c4f67 Add verification badge to verified chats 2020-12-03 02:13:35 +02:00
Sebastian Wolf
4bcd4faca9 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-27 19:51:56 +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
7da8957423 Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-23 21:32:27 +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
Sebastian Wolf
fe8199a1eb Merge remote-tracking branch 'origin/master' into new-chat-from-contacts-7 2020-11-20 21:48:37 +01:00
Slava Monich
d1ccf9f796 Show notification popups except for the current chat
And drop dependency on Ngf. Also, pre-initialize the chat photo when
pushing the chat page.
2020-11-20 21:42:23 +02:00
Sebastian Wolf
fb2e0786c9 Merge with master branch (notification hotfix) 2020-11-20 19:22:43 +01:00
Sebastian Wolf
dd6239c119 Hotfix: Use up-to-date chat information for open-by-notification 2020-11-20 19:08:05 +01:00
Sebastian Wolf
3dbf38a1fa Start implementing 'New Chat' functionality 2020-11-20 18:30:33 +01:00
Sebastian Wolf
e4dbb63a92 Properly encode HTML entities for chat's last message 2020-11-19 11:41:32 +01:00
Sebastian Wolf
aeca799006 Harmonize error handling, ignore 404 (for now) 2020-11-16 14:37:14 +01:00
Sebastian Wolf
c8c0044815 Display all error messages (let's see how it works...) 2020-11-15 23:29:04 +01:00
Sebastian Wolf
5d3805759a Small UI fixes, error handling for joining chats 2020-11-09 23:22:24 +01:00
Sebastian Wolf
89e0576adc Support open-with from external sources (e.g. web links) 2020-11-08 21:13:04 +01:00
Slava Monich
9e8038b1b6 Added TDLibFile and optimized ProfileThumbnail
Profile images seem to be loading significantly faster after
moving file fetching logic to the native code and removing the
artificial delay.

TDLibFile is a generic object which can hopefully be used
elsewhere as an efficient replacement for JavaScript.
2020-11-08 06:08:32 +02:00
Sebastian Wolf
9bb24b4862 Joining/leaving chats seems to work... 2020-11-07 20:29:44 +01:00
Sebastian Wolf
6eed093e7b
Merge pull request #121 from monich/dbus-open
Don't animate ChatPage transition when notification is tapped
2020-11-01 19:52:36 +01:00
Slava Monich
96dcbdde22 Don't animate ChatPage transition when notification is tapped
And simplified unrolling of the page stack.
2020-11-01 20:36:59 +02:00
John Gibbon
3f454711cf remove some unused imports 2020-10-31 21:09:59 +01:00
John Gibbon
f4d0a4800e QtMultimedia 5.6 2020-10-31 20:50:32 +01:00