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
0d21174220
TDLib 1.7: MPEG4 thumbnails are too much, autostart animations
2020-12-08 19:56:29 +01:00
Sebastian Wolf
8e03b16243
Enable links in in-reply-to rows
2020-12-07 23:30:46 +01:00
Sebastian Wolf
6508c20a0d
TDLib 1.7: Enable proper links in web previews
2020-12-07 22:46:25 +01:00
Sebastian Wolf
2cd86a95d9
TDLib 1.7: Video thumbnail is a 'file' not a 'video' anymore
2020-12-07 22:24:07 +01:00
Sebastian Wolf
44510901ac
TDLib 1.7: Forward info - original sender ID remains unchanged
2020-12-07 22:13:51 +01:00
Sebastian Wolf
6e54988978
TDLib 1.7: Web page descriptions can be formatted now
2020-12-07 22:02:58 +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
2ce1ad1f49
Animate display of selection panel
2020-12-06 16:50:03 +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
Slava Monich
6fc88fe0d5
Mark readonly properties as such
2020-12-05 20:00:11 +02:00
Slava Monich
782561273f
Tweaked poll/quiz layout
...
Made it slightly more compact.
2020-12-05 19:41:47 +02:00
Sebastian Wolf
633f765c80
Remove 'offline' in user status, addresses majority vote in #219
2020-12-05 15:55:45 +01:00
Sebastian Wolf
878fbb901e
Merge pull request #227 from jgibbon/feature/general-press
...
press effect for more items
2020-12-05 15:31:47 +01:00
Sebastian Wolf
bc0f30bbe8
Merge pull request #203 from jgibbon/feature/functions-js-optimizations
...
Optimize functions.js
2020-12-05 15:19:10 +01:00
John Gibbon
d35419d656
press effect for more items
...
there are still a few areas where there's no press effect (message items themselves: Text, profile thumbnail, sent icon,…)
but for now I've just aligned the components to the image changes
2020-12-04 22:47:03 +01:00
Sebastian Wolf
8f9c46a05d
Merge pull request #226 from monich/press
...
Press effect for image preview items
2020-12-04 21:53:06 +01: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
eed1b06f97
Press effect for image preview items
2020-12-04 21:30:25 +02:00
John Gibbon
1e877dec22
extend #224 to LocationPreview and VideoPreview
2020-12-04 20:22:21 +01:00
Slava Monich
3fdfd8d7d2
Fixed long tap on an image
...
MouseArea filling the image was eating mouse events which should be
handled by the list item. Handle them all at the list item level and
forward the "clicked" event to the extra content items which declare
the clicked() function.
2020-12-04 05:12:00 +02:00
Sebastian Wolf
5d0398b071
Merge pull request #221 from monich/verified
...
Add verification badge to verified chats
2020-12-03 22:01:48 +01:00
Slava Monich
2638c3837d
Improve preview of wide images
...
Avoid clipping. Also, handling file updates on C++ side should be good
for performance.
2020-12-03 04:54:19 +02: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
Sebastian Wolf
98d07c86c4
Show some love to the editing functionality
2020-12-01 21:17:13 +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
Sebastian Wolf
b31072ff82
Realign emojis to avoid strange text alignment
2020-11-26 14:44:02 +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
aec4666721
Fix copy paste artifacts
2020-11-23 08:27:56 +01:00
John Gibbon
c8f7f569a7
Another debug signal handler fix
2020-11-23 00:38:45 +01:00
John Gibbon
6140d54b18
Change debug signal handler
2020-11-23 00:13:58 +01:00
John Gibbon
7017818acb
Add switchable Debug output (JS)
2020-11-23 00:08:04 +01:00
John Gibbon
b4a520ed93
Remove elide
2020-11-22 21:10:36 +01:00
John Gibbon
41af123d42
Update Twemoji images
2020-11-22 20:19:14 +01:00
John Gibbon
352493f100
Use TruncationMode.Fade
2020-11-22 20:19:14 +01:00
John Gibbon
07b8d35fb3
Remove obsolete emoji basePath workaround
2020-11-22 20:19:14 +01:00
John Gibbon
5650be60a8
Simplify twemoji.js
2020-11-22 20:19:14 +01:00
Sebastian Wolf
b26c6e81c2
Avoid strange layout if user name is veeeeeeeery long
2020-11-22 19:16:11 +01:00
Slava Monich
42ebec4503
Do not animate tab item width
...
It looks weird when they are moving around the screen after page
orientation changes.
2020-11-22 13:31:04 +02: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
Sebastian Wolf
4bbeb4fa34
Only clear chat model if navigated back | update translation files
2020-11-21 10:12:59 +01:00
Slava Monich
2f2cbb4679
Added UI for notificationTurnsDisplayOn option
2020-11-21 01:43:08 +02:00
Sebastian Wolf
9d75cbbedf
Showing sorted contacts, wow!
2020-11-20 23:00:50 +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
82d0058746
Merge pull request #179 from jgibbon/bugfix/#20_translation_plurals
...
Bugfix/#20 translation plurals
2020-11-19 21:01:19 +01:00
Sebastian Wolf
baf4b27e60
Avoid stale state for chat page picture
2020-11-19 20:25:53 +01:00
Sebastian Wolf
e4dbb63a92
Properly encode HTML entities for chat's last message
2020-11-19 11:41:32 +01:00
John Gibbon
616658ab35
%n → %Ln; remove more .arg()
2020-11-19 11:27:10 +01:00
John Gibbon
8181e17fa2
remove unnecessary .arg (+warnings)
2020-11-19 11:27:10 +01:00
John Gibbon
b48ca728d2
change/enable plural handling
2020-11-19 11:27:10 +01:00
John Gibbon
cf1c25f156
[%n1|%L1] → %Ln
2020-11-19 11:27:10 +01:00
Sebastian Wolf
af47ae2c72
Some improvements as suggested by @jgibbon, add unpin feature
2020-11-18 15:01:16 +01:00
Sebastian Wolf
b35d268b12
Now able to pin messages and show in-reply-to messages in overlay
2020-11-18 15:00:05 +01:00
Sebastian Wolf
541036d796
Display extra content in message overlay
2020-11-18 14:59:51 +01:00
Sebastian Wolf
2830f50a35
React properly on pinned message changes, nice message overlay ;)
2020-11-18 14:59:35 +01:00
Sebastian Wolf
15be3862f6
Display pinned message in chat
2020-11-18 14:59:15 +01:00
Sebastian Wolf
f6b42eb3cb
Merge pull request #169 from jgibbon/bugfix/message-permissions
...
Bugfix/message permissions
2020-11-18 12:44:21 +01:00
Sebastian Wolf
97feb2f804
Merge pull request #176 from Wunderfitz/chat-header-alignment
...
Properly align custom header on chat page
2020-11-18 11:54:13 +01:00
John Gibbon
816ba6eca7
remove some semicolons;
2020-11-18 11:13:05 +01:00