Commit graph

491 commits

Author SHA1 Message Date
Jedi18
4aefac08a4 focus message input on adding emoji/reacting to a message 2021-02-05 22:42:08 +05:30
Jedi18
f02342fe22 close emoji autocompleter if space typed after : issue #433 and adds default option for emoji font family settings 2021-02-05 21:52:49 +05:30
DeepBlueV7.X
a7150b5666
Merge branch 'master' into avatar_username_feature 2021-02-03 03:17:28 +01:00
Nicolas Werner
3433cc3be7 Cleanup privacy screen, no more grabImage 2021-02-03 03:14:43 +01:00
Loren Burkholder
5109dc5e0f Fix QML layout warnings 2021-02-02 19:30:03 -05:00
Nicolas Werner
aeec1e12fc Merge branch 'master' into 'privacy_screen'
# Conflicts:
#   resources/qml/TimelineView.qml
2021-02-02 13:00:53 -05:00
Joseph Donofry
2a858d84e2
Update format script again 2021-02-02 11:50:57 -05:00
Joseph Donofry
2bfd44755e
Try to fix format script and fix linting 2021-02-02 11:37:10 -05:00
Jedi18
cd3f719e43 add loading indicator 2021-02-02 17:24:08 +05:30
Jedi18
d535cc5e75 add error message and update avatars on avatar change in timeline and user profile dialog 2021-02-02 13:30:47 +05:30
Loren Burkholder
1c3e113d4e Allow drag/drop of files on whole timeline 2021-02-01 20:44:47 -05:00
Joseph Donofry
1127aa7c91
Small UX fixes 2021-02-01 18:57:59 -05:00
Joseph Donofry
53c653a228
Merge remote-tracking branch 'nheko-im/master' into privacy_screen 2021-02-01 18:42:38 -05:00
Joseph Donofry
d59910a8f2
Remove redundant import and fix visible warning 2021-02-01 18:42:18 -05:00
DeepBlueV7.X
2b7bd09ad3
Merge pull request #431 from Jedi18/avatar_username_feature
Username editing (room specific and global)
2021-02-01 19:14:57 +01:00
Jedi18
c3e02240bf update room and global avatar through user profile 2021-02-01 22:13:04 +05:30
Jedi18
0ebb2947ef focus and select text on clicking edit button 2021-01-30 14:08:02 +05:30
Loren Burkholder
58dc79074c Close user profile dialog on Esc 2021-01-29 18:29:38 -05:00
Loren Burkholder
cd998d1c35 Center user info dialog on the screen 2021-01-29 18:16:50 -05:00
Jedi18
e09e587796 shifted isUsernameEditingAllowed to qml from c++ 2021-01-29 12:06:38 +05:30
Jedi18
9b5a287d14 made requeste changes 2021-01-29 11:55:24 +05:30
Jedi18
b3f29f592b Changed edit method from double clicking to an edit button 2021-01-28 23:35:02 +05:30
Jedi18
87490c29cd Username can be edited by double clicking on text, added global user profile menu action in user info widget 2021-01-28 20:03:50 +05:30
Nicolas Werner
73244afdb8 Fix username completion deleting characters before it
fixes #421
2021-01-27 20:26:54 +01:00
Nicolas Werner
54cc77de0e Only select elements in completer when mouse is moved 2021-01-27 19:36:53 +01:00
Nicolas Werner
d1280af2e4 Autoclose completer when space is pressed and no suggestion available 2021-01-27 19:19:21 +01:00
Jedi18
5e3f513655 update room specific username from userprofile 2021-01-27 11:03:08 +05:30
Joseph Donofry
bfeb766a91
Implement Privacy Screen
* Add handles for window focus gained / focus lossed and connect to timer
* Clean up some of the PrivacyScreen.qml code
* Connect settings to PrivacyScreen visibility
2021-01-26 17:23:28 -05:00
Joseph Donofry
cb93ac3402
Fix formatting 2021-01-26 00:03:09 -05:00
Joseph Donofry
0794f0a3fd
Initial commit for privacy screen
Missing window focus event and knowing when room is encryption
2021-01-25 23:46:55 -05:00
Loren Burkholder
bc7cf9ef39 Get category switching working 2021-01-25 21:40:27 -05:00
Nicolas Werner
e5d2e2b728 Remove test log message 2021-01-25 16:19:28 +01:00
Nicolas Werner
2165eb8cb8 Focus input area on room switch and reply change again
fixes #412
fixes #413
2021-01-25 16:17:14 +01:00
rnhmjoj
c569ab24bc
Add "open in external program" action 2021-01-24 01:50:23 +01:00
DeepBlueV7.X
049278bc35
Merge pull request #395 from LorenDB/master
A few small things
2021-01-23 02:40:22 +01:00
Loren Burkholder
cd426d8f75 Use colors.mid for Completer border 2021-01-22 20:38:09 -05:00
Loren Burkholder
7e374a205c Fix UserProfile's behavior in dark theme 2021-01-22 19:18:56 -05:00
Nicolas Werner
97340bed13 Fix font tags showing up in playable media messages 2021-01-23 00:49:28 +01:00
Loren Burkholder
b1f8397499 Add border to Completer to distinguish it from the window 2021-01-21 19:05:34 -05:00
Nicolas Werner
6f17e2ff6e Fix flickable direction for MessageInput 2021-01-20 00:47:34 +01:00
Nicolas Werner
32a20a5f8c Simplify section handling a bit 2021-01-19 23:58:40 +01:00
trilene
150046233b Fix typo 2021-01-18 21:49:27 -05:00
Nicolas Werner
15750872de Fix completer opening in wrong place after warning fix 2021-01-19 03:31:00 +01:00
Nicolas Werner
d11978ac1b Fix qml warnings 2021-01-19 03:25:56 +01:00
Nicolas Werner
bcfa683468 Improve hover stuff, needs HoverHandler for a proper fix 2021-01-18 21:58:38 +01:00
Nicolas Werner
6a0de004a2 Fix placeholderTextColor not supported below Qt 5.12 2021-01-18 13:44:26 +01:00
Nicolas Werner
fcc1358e6b Fix more anchors.centerIn 2021-01-18 12:43:27 +01:00
Nicolas Werner
724e6436ee Remove unused stuff in profile 2021-01-18 00:53:07 +01:00
DeepBlueV7.X
20885dd66a
Merge pull request #378 from LorenDB/readReceipts
Display read receipts when read indicator is clicked
2021-01-17 23:55:58 +01:00
Nicolas Werner
07e71e6eae Fix crash with ScrollView 2021-01-17 04:05:02 +01:00
Loren Burkholder
93b492e9e6 Only use a pointing hand if there is something to click on 2021-01-16 19:55:50 -05:00
Loren Burkholder
6f6d962ab9 Fix warning messages about null image path 2021-01-16 11:52:58 -05:00
Loren Burkholder
b46cd339a1 Fix tooltips 2021-01-16 11:41:37 -05:00
Loren Burkholder
8f7ca298bc
Simplify source URL construction
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2021-01-16 10:19:26 -05:00
Loren Burkholder
7671927fa4 Remove unnecessary properties; simplify hover code 2021-01-16 10:16:27 -05:00
Loren Burkholder
139ab146bb Use an ImageButton for the StatusIndicator
Incidentally, this allows ImageButtons to not change color.
2021-01-16 10:02:55 -05:00
Nicolas Werner
42b08257ec Make read markers a bit less confusing 2021-01-16 13:54:56 +01:00
Loren Burkholder
f520f8ce16 Display read receipts when read indicator is clicked 2021-01-15 20:46:43 -05:00
Nicolas Werner
ca54de0b50 Update translations 2021-01-15 13:57:19 +01:00
DeepBlueV7.X
061e4c1b09
Merge pull request #374 from trilene/master
Add call invite screen for mobile
2021-01-15 01:36:50 +01:00
trilene
dfe2f7dc57 Finesse mobile call invite screen 2021-01-13 16:00:41 -05:00
trilene
a85823b68a Add call invite screen for mobile 2021-01-12 14:22:52 -05:00
Nicolas Werner
14cb3bfe10 Don't use centerIn on popup on Qt < 5.12 2021-01-12 15:55:36 +01:00
Nicolas Werner
826a5cfb14 Use minimum required versions for qml imports 2021-01-12 15:04:31 +01:00
Nicolas Werner
6090d00251 Revert "Update QtQuick versions to match Qt 5.10"
This reverts commit 74e32dd96b.
2021-01-12 15:03:39 +01:00
Nicolas Werner
31881e14d9 Make it easier to understand, what button to click for verification from profile 2021-01-12 15:00:59 +01:00
Nicolas Werner
81762119b9 Make device verification request dialogs easier to understand. 2021-01-12 15:00:59 +01:00
Joseph Donofry
74e32dd96b
Update QtQuick versions to match Qt 5.10 2021-01-11 22:17:00 -05:00
Joseph Donofry
9be466754e
Add ripple to completer 2021-01-11 20:22:40 -05:00
Joseph Donofry
9a604d3821
Clean up Avatar click event handling 2021-01-11 20:02:39 -05:00
Joseph Donofry
3ff8b3ad8c
Merge master and fix conflicts 2021-01-11 17:51:39 -05:00
Joseph Donofry
1bc2db4bdf
Add Ripple effects to qml buttons and avatar 2021-01-11 17:50:26 -05:00
trilene
cf8a47503f Fix device discovery under GStreamer 1.16 2021-01-07 09:48:25 -05:00
trilene
2bd8a386e2 Color and icon button spacing fixes 2021-01-07 14:04:54 +01:00
trilene
2984d71971 Fix Qml control colors 2021-01-07 14:04:54 +01:00
trilene
4123e6aff1 Fix previous commit 2021-01-07 14:04:54 +01:00
trilene
1c4a86e502 Set Label text color explicitly 2021-01-07 14:04:54 +01:00
trilene
13a280df13 Finesse PlaceCall dialog 2021-01-07 14:04:54 +01:00
trilene
6427687d20 Add missing translation marks 2021-01-07 14:04:54 +01:00
trilene
87d2074c81 Add devices dialog to CallInviteBar 2021-01-07 14:04:54 +01:00
trilene
055c6f7248 Add device combos to PlaceCall dialog 2021-01-07 14:04:54 +01:00
trilene
d315d02ee6 Use Layout margins 2021-01-07 14:04:54 +01:00
trilene
07ac7b7e85 Port PlaceCall dialog to Qml 2021-01-07 14:04:50 +01:00
trilene
459c59901e Fix one-way video calls 2021-01-07 14:04:21 +01:00
trilene
7124024977 Make call invites less intrusive 2021-01-07 14:04:21 +01:00
trilene
ac410f46f2 Move call-related properties to CallManager 2021-01-07 14:04:21 +01:00
Nicolas Werner
5ca043ad87 Fix user status that got lost at some point 2021-01-04 15:14:40 +01:00
Nicolas Werner
97688763f6 Background color for code and don't collapse space in timeline 2020-12-14 02:21:58 +01:00
Nicolas Werner
703950273b Don't overflow room name 2020-12-13 16:05:48 +01:00
DeepBlueV7.X
95667edb14
Merge pull request #347 from kamathmanu/avatarFullViewSupport
Add support for viewing avatar images in full size
2020-11-30 21:25:42 +01:00
kamathmanu
d4cece2f4d
Update resources/qml/Avatar.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 14:58:50 -05:00
kamathmanu
a48c6353bf
Update resources/qml/Avatar.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 14:58:37 -05:00
Nicolas Werner
39a0a340d8 Fix selection in input area by mouse 2020-11-30 18:53:25 +01:00
kamathmanu
e36b090c5b Add support for viewing avatar images in full size 2020-11-30 10:05:24 -05:00
kirillpt
22997439ba change 'redacted' for 'removed' 2020-11-26 11:50:37 +03:00
DeepBlueV7.X
c44513614f
Merge branch 'master' into fix-call-bar 2020-11-25 22:01:19 +01:00
trilene
491ca1592a Fix ActiveCallBar 2020-11-25 15:54:54 -05:00
Nicolas Werner
b7505fe562 Open completer on tab 2020-11-25 19:05:12 +01:00
Nicolas Werner
08e9461611 Fix input focus when pressing reply button 2020-11-25 19:05:12 +01:00
Nicolas Werner
c74077a41f Implement Qml drag and drop 2020-11-25 19:05:12 +01:00
Nicolas Werner
0eb8d4126b Fix enter when no completion available 2020-11-25 19:05:12 +01:00
Nicolas Werner
37df79f796 Show userid in completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
0cf556fa20 Mouse selection of completions 2020-11-25 19:05:12 +01:00
Nicolas Werner
90ce4f23ab Fix index out of range on backspace in completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
29625ae253 Fix some issues with completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
c8fa40a2df Use a trie for filtering completions (not fuzzy yet) 2020-11-25 19:05:12 +01:00
Nicolas Werner
094c0b09ab Qml emoji completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
67dcc74c79 Simple prefix match for completions 2020-11-25 19:05:12 +01:00
Nicolas Werner
ecc7759973 Custom completer filtering 2020-11-25 19:05:12 +01:00
Nicolas Werner
add5903fb0 Working User completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
cabeb1464c WIP Qml completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
9d68d59465 Reenable Ctrl+U 2020-11-25 19:05:12 +01:00
Nicolas Werner
d14a5f8067 Reimplement message history 2020-11-25 19:05:12 +01:00
Nicolas Werner
82c441dddd Move emoji picker to qml 2020-11-25 19:05:12 +01:00
Nicolas Werner
2bec5d083c Use old style connection (for Qt5.12) 2020-11-25 19:05:12 +01:00
Nicolas Werner
d1af1a8669 Move calls to new input bar 2020-11-25 19:05:12 +01:00
Nicolas Werner
a31d3d0816 Add file uploading 2020-11-25 19:05:12 +01:00
Nicolas Werner
0bb4885632 Basic text input in qml 2020-11-25 19:05:12 +01:00
Nicolas Werner
7a74b86340 Pasteable textinput 2020-11-25 19:05:11 +01:00
Nicolas Werner
35066900d1 Disable scroll helper on mobile 2020-11-25 19:05:11 +01:00
Nicolas Werner
5df47c4b4a Make reply background a bit less saturated 2020-11-21 01:18:55 +01:00
Nicolas Werner
081bd8d5f1 Add some padding between scrollbar and messages 2020-11-21 01:10:38 +01:00
DeepBlueV7.X
3ec8a291b6
Merge pull request #327 from kamathmanu/qtBackwardsCompatability
Make compatible with qt 5.12
2020-11-15 17:07:05 +01:00
kamathmanu
eb72fd2cf9 Make compatible with qt 5.12 2020-11-14 16:38:17 -05:00
DeepBlueV7.X
9c4148cca3
Merge pull request #314 from MayeulC/smoothie-2
Smooth all the things [v2]
2020-11-12 14:04:06 +01:00
DeepBlueV7.X
27bf654d92
Merge pull request #320 from trilene/webrtc-video
Video calls: add local webcam view
2020-11-09 21:49:26 +01:00
trilene
d391404b79 Video calls: add local webcam view 2020-11-09 10:51:17 -05:00
Mayeul Cantan
2c542c398a Smooth pictures in timeline 2020-10-31 23:41:04 +01:00
Mayeul Cantan
a176f0bf35 Smooth Avatars in timeline
This helps on low-dpi screens, getting rid of the jaggies.
2020-10-31 23:40:45 +01:00
DeepBlueV7.X
5fb3d4ede8
Merge pull request #310 from MayeulC/fix-typo
Improve wording in multiple strings.
2020-10-31 22:28:40 +01:00
Mayeul Cantan
a9a0635c02 Wording: Verification request isn't a request anymore once accepted
Replace it with "verification process".
2020-10-31 22:23:34 +01:00
trilene
fd479a91be Merge remote-tracking branch 'upstream/master' into webrtc-video 2020-10-28 16:08:17 -04:00
Nicolas Werner
2143881997 Make back button bigger as it is hard to tap with your thumb 2020-10-28 14:53:11 +01:00
trilene
d9ca5309ac Merge remote-tracking branch 'upstream/master' into webrtc-video 2020-10-27 15:29:53 -04:00
trilene
d1f3a3ef40 Support video calls 2020-10-27 13:14:06 -04:00
Nicolas Werner
7f2d18c36d Fix small scope issue 2020-10-26 21:45:00 +01:00
Nicolas Werner
0e7baa21ab Disable new MessageInput, until you can paste images 2020-10-26 21:34:34 +01:00
Nicolas Werner
3d64df41da Split up TimelineView into separate components 2020-10-26 21:34:34 +01:00
Nicolas Werner
3a0e55e97b Qml message input mockup 2020-10-26 21:34:34 +01:00
Nicolas Werner
3172811ca7 Add mobile mode which improves scrolling 2020-10-24 16:21:00 +02:00
Nicolas Werner
53734607cf Fix copying text 2020-10-24 14:42:18 +02:00
Nicolas Werner
e959443831 Speed up rendering the timeline by a LOT by reducing clipping
Sadly still required for replies, otherwise this would be perfect.
2020-10-22 21:02:39 +02:00
Nicolas Werner
b3a7f0b888 Hide room name, if not loaded yet 2020-10-18 22:30:42 +02:00
DeepBlueV7.X
b23913fa7c
Merge pull request #301 from kamathmanu/issue266-filenameOnHover
Display filename on mouse hover
2020-10-16 12:44:45 +02:00
kamathmanu
e1c4f7d516 Make Text element a sibling of the Rectangle to avoid the text from depending on the rectangle's opacity property. Switch to Nheko theme colors 2020-10-15 11:52:49 -04:00
kamathmanu
e3c6656613 Avoid hardcoded font size 2020-10-14 18:07:09 -04:00
kamathmanu
a0c2a174ea Display filename on mouse hover 2020-10-13 16:24:42 -04:00
Nicolas Werner
d075a90024 Fix emoji filter losing focus 2020-10-12 22:05:55 +02:00
Nicolas Werner
1a029112d9 Lint qml with qml-format 2020-10-08 21:11:21 +02:00
Nicolas Werner
99ba1f17d3 Merge remote-tracking branch 'origin/master' into cross-signing 2020-10-08 16:57:03 +02:00