John Gibbon
aa7a1f28ce
Use dedicated Files for message content
2021-01-16 00:40:02 +01:00
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
Slava Monich
92655b4417
Update webPage photo id when message gets updated
2021-01-08 05:36:34 +02:00
Sebastian Wolf
cc65c694c0
Use highlightBackgroundColor consistently for all chat attributes
2021-01-06 14:01:55 +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
Sebastian Wolf
7c615b5cff
Merge remote-tracking branch 'origin/master' into voicenotes
2021-01-02 20:33:03 +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
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
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
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
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
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
fe0b390a87
TDLib 1.7: Bring back pinned messages (nobody noticed so far?)
2020-12-25 22:38:13 +01: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
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
Sebastian Wolf
196abdd6d1
Workaround for ChatPage flickable issues (moving strangely sometimes)
2020-12-02 23:46:29 +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
4cf35641c5
Secret chat identifer switches to qlonglong
2020-11-27 19:42:39 +01:00
Sebastian Wolf
7ab58d3730
Add option to close a secret chat
2020-11-26 16:11:12 +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
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
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
4bbeb4fa34
Only clear chat model if navigated back | update translation files
2020-11-21 10:12:59 +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
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
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
Sebastian Wolf
af47ae2c72
Some improvements as suggested by @jgibbon, add unpin feature
2020-11-18 15:01:16 +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
Sebastian Wolf
60ea95abec
Properly align custom header on chat page
2020-11-17 23:21:38 +01:00
John Gibbon
59304527d2
fix typo; don't update group status while selecting
2020-11-17 16:21:20 +01:00
John Gibbon
3cce631aa7
optimize permission lookups
2020-11-17 11:14:36 +01:00
John Gibbon
813c7912fe
chat info: review optimizations
2020-11-17 10:09:11 +01:00
John Gibbon
182a2d1344
ChatInfoPage as attached page
...
fixes #150 : Now basically everything is inside a loader; ChatInformationPage is added to ChatPage with pageStack.pushAttached
fixes #166 : Replaces the clunky VisualItemModel in tab view and doesn't initialize multiple times.
2020-11-17 10:09:11 +01:00
John Gibbon
c76d079e03
permissions: replace leftover debug changes; fix another copy/paste
2020-11-16 22:31:37 +01:00
John Gibbon
ac10e600bf
fix restricted member permission copy/paste issue
2020-11-16 22:07:21 +01:00
John Gibbon
d5a2d315db
forwarding/new message/attachment permissions
...
enhances #159 PR, hopefully fixes #164 issue
2020-11-16 22:07:21 +01:00
Sebastian Wolf
9141b8e68b
Fix crash when forwarding to some chats, introduce iterative init
2020-11-16 16:52:48 +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
85d1bebc3a
Load last read messages, enable lazy-loading the future, might fix #136
2020-11-15 23:05:22 +01:00
Sebastian Wolf
1c82072c15
Merge pull request #160 from monich/updateChatPhoto
...
Update chat photo
2020-11-15 17:19:57 +01:00
Slava Monich
2323c574b3
Handle updateChatPhoto message
2020-11-15 06:12:17 +02:00
John Gibbon
a8ca33fa3d
multiple message selection
2020-11-14 23:50:12 +01:00
Sebastian Wolf
6666cf494a
More progress bars & fix some web page previews
2020-11-14 22:53:51 +01:00
Sebastian Wolf
fa470f73ba
Progress bar for video downloads
2020-11-14 21:01:52 +01:00
Sebastian Wolf
d994f8f102
Fix UI glitches in forward info, support video notes
2020-11-14 20:02:34 +01:00
Sebastian Wolf
63ce0f92d2
Fix 'mute chat' for chats that have never been muted, fixes #144
2020-11-13 22:43:50 +01:00
Sebastian Wolf
5d3805759a
Small UI fixes, error handling for joining chats
2020-11-09 23:22:24 +01:00
John Gibbon
68e2dab715
set some properties readonly
2020-11-08 20:37:17 +01:00
John Gibbon
c3ccaa069d
qml runtime optimizations
2020-11-08 17:30:04 +01:00
Sebastian Wolf
9bb24b4862
Joining/leaving chats seems to work...
2020-11-07 20:29:44 +01:00
John Gibbon
fdb8cc5852
replace variant with var
...
https://doc.qt.io/archives/qt-5.6/qtquick-performance.html
In general, "property var" should be considered to be superior to "property variant" for every use-case from QtQuick 2.0 and newer (note that "property variant" is marked as obsolete), as it allows a true JavaScript reference to be stored (which can reduce the number of conversions required in certain expressions).
2020-11-05 23:23:37 +01:00
John Gibbon
37bede461b
differentiate between simple/normal messages
2020-11-05 14:05:33 +01:00
Sebastian Wolf
6d3b3464bf
Experiment a bit with opening new chats
2020-11-05 00:02:27 +01:00
John Gibbon
02a4b057d6
delay viewMessage calls; animate changes
2020-11-04 12:26:57 +01:00
Sebastian Wolf
8e46661d78
Start chat from avatar or user name
2020-11-03 22:32:36 +01:00
Sebastian Wolf
fd74da2408
Restore web page preview
2020-11-03 08:18:46 +01:00
Sebastian Wolf
1b345a6654
Add a tap-to-change date format for messages, fixes #47
2020-11-02 23:42:23 +01:00
John Gibbon
5903fbc4da
Set initial scroll position for ChatPage
...
Fixes #1
2020-11-02 20:54:18 +01:00