Commit graph

1427 commits

Author SHA1 Message Date
Loren Burkholder
3a86d44c1e Finish getting all avatars jdenticonified 2021-09-11 19:35:31 -04:00
Loren Burkholder
350fc593ed Use better id loading methodology 2021-09-11 19:35:31 -04:00
Loren Burkholder
350d1977af Add some fancy effects to jdenticon 2021-09-11 19:35:31 -04:00
Loren Burkholder
1fdecdcc21 Get direct chat jdenticons to line up 2021-09-11 19:35:31 -04:00
Loren Burkholder
0e931456ee Only set identicon source if used 2021-09-11 19:35:31 -04:00
Loren Burkholder
d2e193ff78 Add jdenticon support 2021-09-11 19:35:31 -04:00
Thulinma
a39cb537ae More profile improvements:
- Now scrolls entire profile instead of only device list, improving the experience on smaller screens
- Fixed centering of room name
- Allow profile to be sized smaller to match the new scrolling behavior
- Silenced warning about room being null for global profiles
- Matrix URLs now open global profiles instead of room-specific profiles if the user is not in the currently opened room
- Opening global profile from room specific profile now uses openGlobalUserProfile function instead of reinventing the wheel
2021-09-08 01:26:05 +02:00
Thulinma
e7564396fb Improvements to user profiles:
- Set a minimum width on the profile window (avatar size + margins)
- Made avatar editing a separate button, so you can zoom in on your own avatars
- Added hover text to avatar/displayname change buttons, which clarify where they will apply for global/room-specific profiles
- Added display of room name for room-specific profiles, with hover text that explains what that means.
- Added way to open global profile for users from their room-specific profiles (globe button next to room name)
2021-09-05 19:05:43 +02:00
tastytea
c122915c28
Decrease left margins on blockquotes to 1em.
It is intentionally impossible to add borders to blockquotes via CSS:
<https://bugreports.qt.io/browse/QTBUG-23244>.

Bug: https://github.com/Nheko-Reborn/nheko/issues/704
2021-09-04 17:45:22 +02:00
Nicolas Werner
bf9601018d
Fix room ping permission checked incorrectly 2021-09-03 12:34:41 +02:00
DeepBlueV7.X
5d6c26c8c7
Merge pull request #696 from resolritter/reply
Right-click tap handler for replies
2021-09-03 09:43:13 +00:00
Nicolas Werner
f7560cd998
Fix z value of avatar in timeline 2021-09-03 01:33:42 +02:00
Nicolas Werner
3528fe4e5d
Warn the user before they ping the whole room 2021-09-02 03:15:39 +02:00
resolritter
3f8bb19ba1 right-click tap handler for replies 2021-08-31 16:45:44 -03:00
Nicolas Werner
ded926cdf9
Fix a few null warnings 2021-08-29 19:24:44 +02:00
Nicolas Werner
b5b580fda5
Loaded causes weird artifacts loading rooms 2021-08-29 18:45:49 +02:00
Nicolas Werner
374ad0a816
Small image pack editor improvements
- add missing mimetype
- allow removal of images from pack
- allow GIF as a format
- don't divide size by 2 if the image is very small already
2021-08-29 17:22:49 +02:00
Nicolas Werner
15bf643347
Add option to only play animated images on hover 2021-08-29 16:32:28 +02:00
Nicolas Werner
ef068ac2b3
Support animated images
fixes #461
2021-08-29 16:32:28 +02:00
Nicolas Werner
09c041c8ac
Use in memory media player instead of storing unencrypted files on disk 2021-08-29 16:32:22 +02:00
resolritter
b5af1d81df accept Backtab and Shift-Tab for hovering selection backwards 2021-08-22 13:02:26 -03:00
Thomas Karpiniec
92e8cd0681 Avoid completer jitter before closing 2021-08-21 14:24:55 +10:00
Thomas Karpiniec
a24348b574 Allow opening a completer starting with selected text 2021-08-21 13:31:27 +10:00
Thomas Karpiniec
47ad58ef49 Close popup on SelectAll 2021-08-21 13:29:27 +10:00
Nicolas Werner
327a889ad5
Simplify message delegate size calculation a bit 2021-08-21 03:13:02 +02:00
Nicolas Werner
71a153538f
Disable async timeline loading, since it hangs in a layout loop sometimes 2021-08-20 14:00:35 +02:00
DeepBlueV7.X
cdb2167661
Merge pull request #684 from thombles/clear-emoji-search
Clear emoji search field when picker closed
2021-08-19 15:05:40 +00:00
Joseph Donofry
9504d02f18 Add Qt.WindowTitleHint to qml dialogs 2021-08-19 10:55:54 -04:00
Thomas Karpiniec
8ee043f042 Clear emoji search field when picker closed 2021-08-19 23:40:56 +10:00
Nicolas Werner
5b460861b1
Allow accepting knocks in the timeline
As well as selecting more join rules.
2021-08-17 23:31:25 +02:00
Nicolas Werner
56b24f8d93
Load message list async 2021-08-17 19:11:09 +02:00
Nicolas Werner
028bcd5b7c
Update join button in room directory after join 2021-08-17 14:21:04 +02:00
DeepBlueV7.X
b01496f9b4
Merge pull request #659 from kamathmanu/nhekoRoomDirectory
Nheko room directory
2021-08-17 11:56:47 +00:00
Nicolas Werner
56db0dbc7d
Allow downloading keys from key backup 2021-08-17 03:24:12 +02:00
Joseph Donofry
093f9f9e33
Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements 2021-08-16 17:16:17 -04:00
Nicolas Werner
1e7756c508
Fix dpi scaling of avatars 2021-08-16 12:48:45 +02:00
kamathmanu
820665db92 Formatting 2021-08-14 21:58:56 -04:00
kamathmanu
7321af8a7d Cleanup more nits 2021-08-14 21:47:11 -04:00
Nicolas Werner
42d2b10d5d
Round images in the image provider 2021-08-14 17:17:50 +02:00
kamathmanu
0f4a7b1ba6 Formatting + Licensing 2021-08-14 09:49:18 -04:00
kamathmanu
eaddfb4f73 Clean up final nits 2021-08-14 09:44:34 -04:00
Nicolas Werner
24366b7520
Tab to move down completer 2021-08-14 12:19:15 +02:00
Nicolas Werner
9bad584931
Show verification status in memberlist 2021-08-13 23:58:26 +02:00
Nicolas Werner
18ea01e198
Show if there are unverified devices in a room
Also fixes some issues where nested transactions will poison the
verification cache.
2021-08-13 23:19:54 +02:00
kamathmanu
9ab1296131 Ran qmlformat and make license 2021-08-12 10:45:42 -04:00
kamathmanu
f2560b7531 Make search text selectable by clicking 2021-08-12 09:57:26 -04:00
kamathmanu
570e5ffde2 Added Spinner while rooms load 2021-08-12 09:50:52 -04:00
Joseph Donofry
21b2db6745
Merge pull request #678 from LorenDB/closeRoom
Close currently open room when it is tapped again
2021-08-11 18:13:38 -04:00
Loren Burkholder
9a0c1c27ed Remove warnings on closing room 2021-08-10 22:16:27 -04:00
Loren Burkholder
308207c289 Remove unnecessary debugging log 2021-08-10 22:16:22 -04:00
Joseph Donofry
c91e771d53
Merge origin/master and fix conflicts 2021-08-10 19:29:58 -04:00
Loren Burkholder
cc6693af8a Close currently open room when it is tapped again 2021-08-09 19:24:46 -04:00
kamathmanu
6a75e5270c Fix nits from code review 2021-08-09 09:18:08 -04:00
Nicolas Werner
89840b9e0b
AttrIbution 2021-08-08 21:18:05 +02:00
Nicolas Werner
d0947fd7c4
increase settings window size 2021-08-08 11:35:26 +02:00
Nicolas Werner
42fdbec43a
Fix decryption errors in reply popups 2021-08-08 01:17:58 +02:00
kamathmanu
2dfccda73c
Merge branch 'master' into nhekoRoomDirectory 2021-08-07 21:20:43 +00:00
kamathmanu
34ffe054cf Improve window closing 2021-08-07 17:00:28 -04:00
kamathmanu
98b733ad26 Fixed anchoring/positioning of delegate items and join room display 2021-08-07 17:00:28 -04:00
kamathmanu
f5ee1e84b5 Padding for search bar 2021-08-07 17:00:28 -04:00
kamathmanu
93f8c24fc5 Room Directory UI for exploring and joining public rooms. V1: simplistic server + network facilities 2021-08-07 17:00:28 -04:00
Nicolas Werner
72bbad7485
Show encryption errors in qml and add request keys button 2021-08-07 22:51:09 +02:00
Nicolas Werner
e5a6b2b6ef
Allow creating new packs 2021-08-06 04:31:53 +02:00
Nicolas Werner
16d0190f4e
Allow uploading additional stickers 2021-08-06 04:31:53 +02:00
Nicolas Werner
a57a15a2e0
Basic sticker pack editor 2021-08-06 04:31:53 +02:00
DeepBlueV7.X
6d83b7c675
Merge pull request #666 from LorenDB/qml-all-the-things
Open profile when clicking avatar
2021-08-06 02:33:04 +00:00
Loren Burkholder
f7d1d1b941 Open profile when clicking avatar 2021-08-05 21:14:17 -04:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Loren Burkholder
092f936fc9 Fix colors for manual dark theme 2021-07-31 13:55:56 -04:00
Loren Burkholder
dab1c9068a QML the raw message dialog 2021-07-31 12:11:15 -04:00
Nicolas Werner
4c151cc3c7
Fix C&P error for DeviceType 2021-07-31 15:59:19 +02:00
Nicolas Werner
5b0bd26795
Fix annoying touch overlap in room list 2021-07-31 11:08:52 +02:00
Loren Burkholder
b398454409 Use an explicit color for the label 2021-07-30 08:14:44 -04:00
Loren Burkholder
330b9d62a5 Move read receipts connection to allow for future pop-out room views 2021-07-30 07:24:48 -04:00
Loren Burkholder
135622e14e Don't switch room that read receipt-related stuff is opened in 2021-07-29 21:29:09 -04:00
Loren Burkholder
7e538851d6 Use a QSortFilterProxyModel instead of resetting the model 2021-07-29 21:07:52 -04:00
Loren Burkholder
5d38b96bbb Use Dialog flag to make tiling WMs happy 2021-07-29 21:07:52 -04:00
Loren Burkholder
9dc9152e07 Close dialog on escape 2021-07-29 21:07:52 -04:00
Loren Burkholder
2fe010c04a Dynamically update read receipts 2021-07-29 21:07:52 -04:00
Loren Burkholder
3ce7fdd63f Fix incorrect function name 2021-07-29 21:07:52 -04:00
Loren Burkholder
b03a1df19d Add close button at footer 2021-07-29 21:07:52 -04:00
Loren Burkholder
4dd994ae00 QML the read receipts list
There are probably a few things wrong with this, but I'm going to call it good enough for an initial commit
2021-07-29 21:07:16 -04:00
Nicolas Werner
d955444dc1
Port to explicit connect syntax
Also fix a lot of warnings.
2021-07-27 22:35:38 +02:00
Joe
3f567a8da7 Merge master and fix conflicts 2021-07-24 18:26:25 -04:00
DeepBlueV7.X
ca3d17dc22
Merge pull request #651 from LorenDB/qml-all-the-things
Fix a few UI things
2021-07-23 16:17:43 +00:00
Nicolas Werner
eafbab6ae1
Add menu to enable or disable stickers globally 2021-07-23 17:43:17 +02:00
Nicolas Werner
50cc0fca3b
Fix emoji picker not connected to input 2021-07-22 15:31:07 +02:00
Nicolas Werner
0ac550ecbb
Show confirmation dialog when leaving a room via the context menu 2021-07-22 15:07:33 +02:00
Loren Burkholder
0ce7d02abe make lint 2021-07-22 07:55:12 -04:00
Loren Burkholder
bbecadf1a8 Add functionality for loading global user profile where needed
This is so viewing profiles from the invite dialog will work as expected.
2021-07-21 20:38:18 -04:00
Loren Burkholder
0971fd0fcc Pad the loading spinner 2021-07-21 20:37:36 -04:00
DeepBlueV7.X
1d3579196a
Merge pull request #650 from LorenDB/qml-all-the-things
Open room members when member info label clicked
2021-07-21 23:18:21 +00:00
Loren Burkholder
44be4c1f4a Move various room auxiliary functions to TimelineManager 2021-07-21 18:56:20 -04:00
Nicolas Werner
d6ccb6e307
Update translations 2021-07-21 19:13:34 +02:00
Loren Burkholder
b17002929c Open room members when member info label clicked 2021-07-21 12:36:02 -04:00
Nicolas Werner
5e85fa606e
Fix color of invite label 2021-07-21 13:55:29 +02:00
Loren Burkholder
d33538316c Fix the loading spinner setup
This fixes binding loops and gives it a (in my opinion) sane size.
2021-07-20 21:51:52 -04:00
Loren Burkholder
38c6aa65fa Fix elided width 2021-07-20 21:48:10 -04:00
Loren Burkholder
c78c284898 Call the correct function 2021-07-20 21:48:10 -04:00
Loren Burkholder
705c283dcb Fix bad connection 2021-07-20 21:48:10 -04:00
Loren Burkholder
44d2818e0c Add property for plain room name 2021-07-20 21:48:10 -04:00
Loren Burkholder
823e740396 Check with regex everywhere 2021-07-20 21:48:10 -04:00
Loren Burkholder
92fdda8423 Use elided label 2021-07-20 21:48:10 -04:00
Loren Burkholder
75920925dc Use correct colors 2021-07-20 21:48:10 -04:00
Loren Burkholder
fa06881c49 Don't hardcode fonts
Fix hardcoded fonts (again)
2021-07-20 21:48:07 -04:00
Loren Burkholder
152acdc4a5 Fix hardcoded spacing/padding
Another padding fix
2021-07-20 21:48:03 -04:00
Loren Burkholder
6c9ac76260 Fix roomId property 2021-07-20 21:48:03 -04:00
Loren Burkholder
7cd4e6f1c6 make lint 2021-07-20 21:48:03 -04:00
Loren Burkholder
21eb312f69 Only run spinner while loading members 2021-07-20 21:48:03 -04:00
Loren Burkholder
a7bdbc2af2 Consolidate connections 2021-07-20 21:48:03 -04:00
Loren Burkholder
48669302ec make lint 2021-07-20 21:48:03 -04:00
Loren Burkholder
e91b3067a1 Fix visibility of spinner 2021-07-20 21:48:03 -04:00
Loren Burkholder
b6d4e6b20a Drop unnecessary code 2021-07-20 21:48:03 -04:00
Loren Burkholder
4384554587 Only invite if there is something/someone to invite 2021-07-20 21:48:03 -04:00
Loren Burkholder
74d493ff16 Use standardized padding 2021-07-20 21:48:03 -04:00
Loren Burkholder
f1f5796fb8 Get Ctrl+Enter working and fix cleaning up and closing 2021-07-20 21:48:03 -04:00
Loren Burkholder
67fff656b3 Fix bad property name 2021-07-20 21:48:03 -04:00
Loren Burkholder
4d5950b6a7 Document bad behavior with footer and spinner 2021-07-20 21:48:03 -04:00
Loren Burkholder
d2c6252911 More shortcut stuff 2021-07-20 21:48:03 -04:00
Loren Burkholder
155315ecbb Fix Ctrl-Enter shortcut 2021-07-20 21:47:54 -04:00
Loren Burkholder
73d902611d Actually set invitees property 2021-07-20 21:47:54 -04:00
Loren Burkholder
462204f3f4 Fix properties 2021-07-20 21:47:54 -04:00
Loren Burkholder
81a3faee7b Finish converting function to property 2021-07-20 21:47:54 -04:00
Loren Burkholder
3c5b395171 Use fancy spinner (courtesy of redsky) 2021-07-20 21:47:46 -04:00
Loren Burkholder
cb8d140123 Fix properties 2021-07-20 21:47:46 -04:00
Loren Burkholder
02326fce70 Fix background color on text input 2021-07-20 21:47:46 -04:00
Loren Burkholder
5d9556722f Fix up components 2021-07-20 21:47:37 -04:00
Loren Burkholder
4ddcff2300 Fix borked property stuff 2021-07-20 21:47:37 -04:00
Loren Burkholder
d2d5229ede make lint 2021-07-20 21:47:32 -04:00
Loren Burkholder
182de32380 Use standard buttons for OK button 2021-07-20 21:47:32 -04:00
Loren Burkholder
59a2630be7 Simplify room details access
This removes the redundant room name property
2021-07-20 21:47:32 -04:00
Loren Burkholder
908629bec0 Fix item that accept() is called on 2021-07-20 21:47:32 -04:00
Loren Burkholder
03acced6d6 Add close on Escape shortcut 2021-07-20 21:47:32 -04:00
Loren Burkholder
c566a62541 Clean up code 2021-07-20 21:47:22 -04:00
Loren Burkholder
4746fcd16f Add fancy label if you enter a bad mxid 2021-07-20 21:47:22 -04:00
Loren Burkholder
3c999ade95 Focus the input bar automatically 2021-07-20 21:47:22 -04:00
Loren Burkholder
a176de5f11 Make sure to use the default room id if none is specified 2021-07-20 21:47:22 -04:00
Loren Burkholder
a76fc7d200 Add a fancy loading spinner to the member list 2021-07-20 21:47:22 -04:00
Loren Burkholder
e1acf5d324 make lint 2021-07-20 21:47:22 -04:00
Loren Burkholder
6c57fa6c5b QML the invite dialog
This also adds a property `roomId` to TimelineModel.
2021-07-20 21:47:22 -04:00
Loren Burkholder
77a0c574bf QML the room member list 2021-07-20 21:47:05 -04:00
Nicolas Werner
88ed0fade7
Explicitly reload data in delegates, if related events got loaded 2021-07-20 14:09:19 +02:00
Joseph Donofry
a4754e79d2
Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements 2021-07-19 14:12:28 -04:00
Joseph Donofry
42bef68acc
Import and update lurkki's branch 2021-07-19 14:11:03 -04:00
Nicolas Werner
6d169cea7d
Fix reaction button again 2021-07-19 17:59:38 +02:00
Nicolas Werner
752ffa5c51
Model alias is still needed 2021-07-19 17:49:57 +02:00
Nicolas Werner
11c9666408
Cache sticker picker 2021-07-19 17:45:55 +02:00
Nicolas Werner
60be0e8c09
Make scrolling sticker picker bearable 2021-07-19 14:57:10 +02:00
Nicolas Werner
9d5ba4f681
Move sticker parsing and enable room stickers 2021-07-19 03:02:30 +02:00
Nicolas Werner
8a1666bc88
Basic sticker support 2021-07-19 01:28:07 +02:00
Nicolas Werner
0b864d9485
Fix replies not reloading after fetching them 2021-07-16 11:47:49 +02:00
Joseph Donofry
19f2c02eda
Remove 'respond to key requests' functionality 2021-07-15 18:08:59 -04:00
Nicolas Werner
b453b65787
Try to make scrolling emoji picker a bit smoother 2021-07-15 17:56:32 +02:00
Nicolas Werner
b158c02e3b
Fix warning by deleting code I don't understand 2021-07-15 00:34:47 +02:00
Nicolas Werner
be0576f6a1
Add workaround for TextEdit not rerendering after image loaded
fixes #541
2021-07-15 00:26:39 +02:00
Nicolas Werner
9d6bc706ff
Don't use full dump for replies 2021-07-12 22:28:01 +02:00
Nicolas Werner
f704e381c3
Fix a few missing properties 2021-07-12 01:28:09 +02:00
Nicolas Werner
bd26624ed8
Prepare for reuseItems in timeline
The actual reuseItems is still blocked on a few upstream bugs.
2021-07-12 00:24:33 +02:00
Nicolas Werner
f7ffcb4846
Use required properties and delegate pooling for room list 2021-07-10 20:28:46 +02:00
Nicolas Werner
d61a9c718a
Fix high CPU usage when a room is open 2021-07-10 17:21:15 +02:00
Nicolas Werner
c755d54243
Remove db bottleneck by caching ro txn for 100 requests 2021-07-10 16:12:38 +02:00
Nicolas Werner
2f08f5181c
Redesign invites and room preview joins 2021-07-09 11:36:34 +02:00
Joseph Donofry
16e9332aec
Remove commented code 2021-07-08 22:41:36 -04:00
Joseph Donofry
8871f7e9d8
Fixes from code review 2021-07-08 22:39:27 -04:00
Joseph Donofry
425f02b800
Remove EmojiEmitter 2021-07-08 21:28:10 -04:00
Joseph Donofry
1d204ce94c
Merge remote-tracking branch 'origin/master' into nheko_loading_spinner 2021-07-08 21:15:50 -04:00
Nicolas Werner
f6f5d2615a
Make emoji picker follow theme 2021-07-03 22:45:36 +02:00
Nicolas Werner
683a24d2aa
Fix community sidebar toggle 2021-07-02 12:36:33 +02:00
Nicolas Werner
568ec845da
Fix mouse cursor on reply delegates 2021-06-30 22:54:58 +02:00
Nicolas Werner
ee44effdbd
Fix clicking links in mobile mode
fixes #617
2021-06-25 11:35:27 +02:00
Nicolas Werner
760406f218
Don't use a thin font in the room list 2021-06-25 11:35:26 +02:00
Nicolas Werner
eb6baf619a
Fix missing back button on spaces page in narrow mode as well as topic not resizing properly 2021-06-25 11:34:19 +02:00
Nicolas Werner
847e52a6af
Fix null warning for space avatars 2021-06-25 11:34:19 +02:00
Nicolas Werner
884fb74d2d
Add a basic 'Space page' 2021-06-25 11:34:19 +02:00
Nicolas Werner
e6edb1daa3
Hide last message on spaces 2021-06-25 11:34:19 +02:00
BShipman
d3c0392def add avatar changed event support issue #550 2021-06-19 14:11:58 -05:00
Nicolas Werner
84434433f2
Fix wrong tags in context menu 2021-06-14 23:40:06 +02:00
Nicolas Werner
6459ab8c95
Change collapse position 2021-06-14 23:07:20 +02:00
Loren Burkholder
e95659811d
Fix button spacing 2021-06-13 03:25:37 +02:00
Nicolas Werner
9fd70c34f9
Layout 1.15 -> 1.12 2021-06-13 02:48:22 +02:00
Nicolas Werner
8803908321
Try to be compatible with Qt 5.12 2021-06-13 01:51:09 +02:00
Nicolas Werner
e6878ee298
Don't read avatarUrl from local profile, if no global avatar is set 2021-06-12 16:05:45 +02:00
Nicolas Werner
7d5e82c888
Merge branch 'master' into qml-roomlist 2021-06-12 15:05:07 +02:00
Nicolas Werner
4985e1f536
Persist sidebar sizes 2021-06-12 14:09:08 +02:00
Joseph Donofry
4a6e62d1ee
Fix PrivacyScreen for qml-roomlist 2021-06-11 15:13:29 -04:00
Nicolas Werner
a5291605a9
Reenable tag hiding 2021-06-11 17:54:05 +02:00
Nicolas Werner
8d2d8dc267
Enable toggling tags 2021-06-11 14:51:29 +02:00
Nicolas Werner
d8c0d4874b
Render community items 2021-06-11 13:12:43 +02:00
Joseph Donofry
284ca27fdc
Add nheko logo spinner to relevant places in UI 2021-06-09 19:01:49 -04:00
Joseph Donofry
f859937b65
Change variable for running 2021-06-09 18:26:15 -04:00
Joseph Donofry
07a922dc63
Add Nheko logo QML Spinner 2021-06-09 18:23:32 -04:00
Nicolas Werner
2cd1a931c2
Basic community list model 2021-06-09 23:52:28 +02:00
Nicolas Werner
d364c29c43
Implement switching in narrow mode 2021-06-08 22:22:33 +02:00
Nicolas Werner
686298e023
Somewhat reenable the adaptive layout 2021-06-08 22:22:29 +02:00
Nicolas Werner
27070386e7
Fix html in completer
Fixes #578
2021-06-08 22:21:29 +02:00
Nicolas Werner
1da3f2e1da
Add ugly borders to tables 2021-06-08 22:21:29 +02:00
Nicolas Werner
7f4656d3c3
Refactor to use Instantiator instead of doing it manually 2021-05-30 13:22:11 +02:00
Nicolas Werner
53fcf7f428
Port remaining sidebar actions to qml 2021-05-30 12:41:44 +02:00
Nicolas Werner
03d30a2abc
Delete old room list 2021-05-28 23:25:57 +02:00
Nicolas Werner
298822baea
Move currentRoom/timeline handling to roomlist 2021-05-28 22:14:59 +02:00
Nicolas Werner
e2765212fb
Reimplement room context menus 2021-05-28 17:25:46 +02:00
AppAraat
9d25124810 Added mnemonic letters to context menu.
https://doc.qt.io/qt-5/qshortcut.html#mnemonic
2021-05-24 21:42:05 +02:00
Nicolas Werner
c290b0747f
Reenable invites 2021-05-24 14:04:07 +02:00
Nicolas Werner
6112badb08
Reenable userInfo settings menu 2021-05-22 15:19:44 +02:00
Nicolas Werner
f2bc184550
Fix device list not showing up and UserProfile blocking the window 2021-05-22 14:31:38 +02:00
Nicolas Werner
d307f24adf
Fix leaving rooms 2021-05-22 11:23:16 +02:00
Nicolas Werner
f3d956aebc
Fix emoji in new RoomList 2021-05-22 10:16:42 +02:00
Nicolas Werner
beeb60e4a1
Sort the room list 2021-05-22 00:57:14 +02:00
Nicolas Werner
cd67046f60
Make roomlist look nice 2021-05-21 21:19:03 +02:00
Nicolas Werner
10fd2752f9
Some basic room list 2021-05-19 19:34:10 +02:00
Nicolas Werner
567fe81ad7
Basic header and footer of room list 2021-05-15 13:05:55 +02:00
Nicolas Werner
39a43ad4ab
Reorganize TimelineView to prepare porting the room list 2021-05-14 15:23:40 +02:00
Nicolas Werner
5658be5215
Move global avatarSize property 2021-05-13 11:32:28 +02:00
Nicolas Werner
877f4daa1a
Fix missing import for colors 2021-05-13 10:59:30 +02:00
Nicolas Werner
22afa122c4
Move openLink to Nheko globals 2021-05-13 08:53:56 +02:00
Nicolas Werner
a7f8b23b52
Make palette global in Qml 2021-05-13 08:23:56 +02:00
Nicolas Werner
0d0709ccd3
Show verification status next to messages 2021-05-07 17:01:57 +02:00
Nicolas Werner
ab0baf5d9e
Only show actions, when you have permissions to do them 2021-05-02 18:06:56 +02:00
Nicolas Werner
1321d9bcca
Fix crash when you have no rooms and open the global user profile 2021-04-30 15:37:18 +02:00
absorber
6ac10963b0
UI/UX improvement: Better naming suggestion.
Copy address location -> Copy link location
2021-04-29 22:10:14 +00:00
Nicolas Werner
2d678bdcf6
Allow copying messages via right click
fixes #291
2021-04-29 23:38:45 +02:00
Nicolas Werner
9ab1dc253e
Copy address location
fixes #463
2021-04-29 23:09:13 +02:00
Nicolas Werner
f626de0447
Copy link to message
fixes #499
2021-04-29 21:46:49 +02:00
Nicolas Werner
82fa8ab292
Highlight navigated to message 2021-04-29 19:09:16 +02:00
Nicolas Werner
76a9240076
Rewrite matrix.to links to matrix uris and handle them the same way 2021-04-28 20:03:52 +02:00
Nicolas Werner
5b6671f063
Add Alt-F to forward messages 2021-04-27 12:09:00 +02:00
Nicolas Werner
2b253ead9e
Make forward messages a bit more readable 2021-04-27 11:33:46 +02:00
Nicolas Werner
65d85768d0
Clean up design a bit 2021-04-27 11:08:21 +02:00
Nicolas Werner
8236f6ba72
Merge branch 'forward_message_feature' of https://github.com/Jedi18/nheko into Jedi18-forward_message_feature 2021-04-24 14:35:21 +02:00
Nicolas Werner
d6109b95fb
Escape html in topics and show line breaks in the settings 2021-04-19 11:20:52 +02:00
Nicolas Werner
c2e625756c
Use one CompletionProxy for everything including EmojiPicker 2021-04-18 21:53:39 +02:00
Nicolas Werner
663c3b0014
Set a title for the room settings 2021-04-17 20:40:31 +02:00
Nicolas Werner
fcda5ace6b
Update translations 2021-04-17 20:14:50 +02:00
Nicolas Werner
eaa91b4e56
Fix cursor positioning on edits
fixes #502
2021-04-15 23:21:50 +02:00
Nicolas Werner
3022178334
Fix paste not overwriting selections 2021-04-15 21:13:53 +02:00
Nicolas Werner
84b2cf08a1
Set Dialog flag on Dialogs
Relates to #538
2021-04-15 21:13:53 +02:00
targetakhil
9934004702 remove unused function and set position to center of timeline view 2021-04-15 22:37:47 +05:30
targetakhil
dff5cfc3ba Added overlay and UI changes 2021-04-15 22:37:47 +05:30
targetakhil
6893e3a8d5 show forward menu item only for relevant events, changes to ui 2021-04-15 22:37:47 +05:30
targetakhil
ce8246238e Fix basic UI for forward completer 2021-04-15 22:37:47 +05:30
targetakhil
603ff33ea6 added basic forwarding 2021-04-15 22:37:41 +05:30
Joseph Donofry
3a0ad55ecc
Fix emoji picker getting cut off 2021-04-13 17:58:21 -04:00
Nicolas Werner
18e96d5c7d
Fix some TapHandler focus issues 2021-04-11 22:24:50 +02:00
Nicolas Werner
28074794e7
Fix undefined warning 2021-04-09 14:12:37 +02:00
Nicolas Werner
6c71802680
Fix download button 2021-04-04 00:15:37 +02:00
DeepBlueV7.X
6cf3d97ebd
Merge pull request #540 from LorenDB/master
Use qsTr() for strings
2021-03-31 21:13:34 +00:00
Loren Burkholder
877685d66d Use qsTr() for strings 2021-03-31 17:07:07 -04:00
Nicolas Werner
1a448ae584
Remove delay when focusing quick switcher 2021-03-27 22:01:56 +01:00
Nicolas Werner
583fd9b5ab
Fix double click on video message 2021-03-27 01:18:20 +01:00
DeepBlueV7.X
1bd59a3939
Merge pull request #536 from LorenDB/master
Add a part command
2021-03-26 00:38:00 +00:00
Nicolas Werner
ae19dd2bc2
Disable horizontal scrollbar in timeline
fixes #530
2021-03-26 01:31:46 +01:00
Loren Burkholder
32f5e35037 Use correct Qt version 2021-03-25 20:20:13 -04:00
Nicolas Werner
0d4ddadb15
Fix emoji picker appearing in wrong locations 2021-03-23 18:05:43 +01:00
Nicolas Werner
0e60c09b19
Fix room settings opening twice on room title 2021-03-19 04:40:41 +01:00
DeepBlueV7.X
6548b84e29
Merge pull request #523 from Jedi18/master
Fix windows video bug
2021-03-15 15:51:10 +00:00
Nicolas Werner
e490ef953f
Use native menus 2021-03-14 22:22:52 +01:00
targetakhil
02e388e542 fix windows video bug 2021-03-14 23:16:41 +05:30
Nicolas Werner
47a7adf823
Use readonly properties where possible 2021-03-14 16:24:04 +01:00
Nicolas Werner
eb9603f4c0
Fix room completions not showing label avatars
When no image is set for a room, the room didn't have the first
character in the avatar, when opening any completer, that showed it.
2021-03-14 02:50:44 +01:00
Nicolas Werner
05c636a8d4
Fix qml license headers again 2021-03-14 02:45:20 +01:00
Nicolas Werner
8ebb55623e
Remove background of quick switcher popup 2021-03-14 02:42:41 +01:00
Nicolas Werner
1961312b15
Improve sorting and sizing of completions a bit 2021-03-14 01:24:26 +01:00
Nicolas Werner
b82c11bd79
Fix text corruption from unrounded pixel height 2021-03-13 23:52:46 +01:00
Nicolas Werner
7a356f3832
Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into Jedi18-quickswitcher_qml 2021-03-13 23:45:05 +01:00
Nicolas Werner
3da9c45df2
Fix popup opening at wrong place
fixes #512
2021-03-07 18:23:50 +01:00
Nicolas Werner
c03f716e8b
Fix conflict between qmlformat and license check 2021-03-07 05:57:56 +01:00
Nicolas Werner
bb6ff8cec8
Show mxid on hovering username
fixes #507
2021-03-07 05:53:54 +01:00
Jedi18
8870455f9d change allowed mistakes, fix minor style issues, remove old completer function from inputbar 2021-03-07 00:18:24 +05:30
DeepBlueV7.X
57a6edadcb
Merge pull request #506 from Nheko-Reborn/timeline-buttons
Use overlay buttons for message actions
2021-03-06 13:47:37 +00:00
Nicolas Werner
e5cff64460
Use short format for time 2021-03-05 17:44:49 +01:00
Nicolas Werner
2685eec6c7
Mark message currently being edited 2021-03-05 17:22:47 +01:00
Nicolas Werner
e1c96569c1
Fix janky hoverhandling for text messages
Add a 1px border to get more hover enter events...
2021-03-05 16:47:20 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Nicolas Werner
1142fe2663
Use overlay buttons for message actions 2021-03-04 22:59:10 +01:00
Nicolas Werner
e3803ceb9a
Avoid some duplicate property queries 2021-03-03 21:34:24 +01:00
Nicolas Werner
3b4f8f2016
Fix avatar fallback in rooms 2021-03-03 17:54:00 +01:00
Jedi18
1f8a3ae1e8 changed bottomToTop to true and renamed textWidth to textHeight 2021-02-26 11:39:51 +05:30
Nicolas Werner
b55e6fbae8
Use toggles for screen share settings 2021-02-25 20:45:59 +01:00
trilene
55fb00c67b Merge remote-tracking branch 'upstream/master' into screenshare-x11 2021-02-25 12:10:12 -05:00
trilene
402bd565cb Add screen sharing window preview 2021-02-25 12:00:55 -05:00
Nicolas Werner
8846a2a013
Fix potential issue with modifiers and edit shortcuts 2021-02-25 14:54:50 +01:00
Nicolas Werner
345dc1e61f
Fix text input restoring after edits 2021-02-25 00:50:17 +01:00
Nicolas Werner
f6b5b24d64
Allow editing via up and down arrows 2021-02-24 23:51:05 +01:00
trilene
efe240d609 Allow choice of single window when sharing screen 2021-02-24 17:07:01 -05:00
Jedi18
68c999e5f4 remove old quick switcher 2021-02-24 19:50:36 +05:30
Jedi18
0ce7f78446 added margins and ui changes for quickswitcher and completer 2021-02-24 19:32:13 +05:30
Jedi18
096f37df1f fix row content centering 2021-02-24 13:38:01 +05:30
Jedi18
ebb35e5cb1 fix matrixtextfield color and quickswitcher font size 2021-02-23 22:07:45 +05:30
Jedi18
97c2505619 add matrix text field 2021-02-23 21:36:21 +05:30
Nicolas Werner
7560972cac
Fix qml formatting 2021-02-23 05:24:34 +01:00
DeepBlueV7.X
736ba5e2e8
Merge pull request #488 from Nheko-Reborn/scroll-view-thingy
Use Scrollview again
2021-02-22 22:14:31 +00:00
Nicolas Werner
78ecffb45b Use scrollview again for input 2021-02-22 23:13:38 +01:00
Nicolas Werner
af9b66dd3e Linkify topic in room settings and use non-deprecated MessageDialog 2021-02-22 21:37:32 +01:00
Jedi18
ee232c5c60 fix timeline focus 2021-02-23 00:46:40 +05:30
Jedi18
b1dec6f6ac enter key now works, fix room highlighting and add overlay 2021-02-23 00:18:31 +05:30
Jedi18
3f4ad1dd8b selecting room in quickswitcher now works, added completionSelected signal 2021-02-22 23:08:42 +05:30
trilene
70c77cdc44 Display screen sharing content locally 2021-02-21 16:30:10 -05:00
Jedi18
0922a8e4c7 add room alias delegate, fix some quickswitcher ui problems 2021-02-22 00:01:50 +05:30
Jedi18
32d419d14f add quick switcher qml file and moved completerFor from inputbar to timeline view class 2021-02-21 23:10:21 +05:30
trilene
c461c0aac0 Require GStreamer 1.18 for voip support 2021-02-20 17:14:22 -05:00
trilene
8ccd2abc6a Screen sharing (X11): support picture-in-picture 2021-02-20 11:26:53 -05:00
Nicolas Werner
8351cc4180 Fix miscalculation of padding in timeline 2021-02-20 02:53:14 +01:00
DeepBlueV7.X
99efe2f06b
Merge pull request #479 from Jedi18/add_rooms_model_completer
Add rooms completion model
2021-02-19 14:03:42 +00:00
trilene
3b26cf4ba3 Screen sharing (X11): add hide mouse cursor option 2021-02-18 16:53:30 -05:00
trilene
8df10eeeca Support desktop screen sharing on X11 2021-02-18 15:55:29 -05:00
Jedi18
f76f7b7f8a fixed roomsettings spacing and toggle button right align bug 2021-02-16 22:22:55 +05:30
Jedi18
8c4f0a070e change togglebutton size, set textarea color to colors.text 2021-02-16 11:52:03 +05:30
Jedi18
19dbbb2c6c add rooms model, add room delegate for completer 2021-02-16 00:50:28 +05:30
Jedi18
b5e351ab02 Replace rowlayouts with gridlayout and fix room settings initializer list 2021-02-14 11:26:10 +05:30
Akhil Nair
8400540428
Merge branch 'master' into room_settings_qml 2021-02-14 00:04:27 -05:00
Nicolas Werner
734fb7e286 Add double tap to reply feature
Does not always work, since Text steals focus...

relates to #414
2021-02-14 01:56:46 +01:00
Nicolas Werner
d43607d01c Fix hover handling in the timeline 2021-02-14 01:28:28 +01:00
Nicolas Werner
0d61f4bff1 Improve scroll to message a bit by using a ScrollView 2021-02-13 23:53:30 +01:00
Jedi18
1a406f79e6 replaced with togglebutton using qtquickcontrols2 2021-02-13 23:59:42 +05:30
Jedi18
4996ae27a0 added togglebutton styling 2021-02-13 21:49:21 +05:30
Jedi18
6540352123 fix roomsetting layout 2021-02-13 20:46:40 +05:30
Jedi18
f3596aed55 added room topic 2021-02-13 19:08:52 +05:30
Nicolas Werner
7ddcab3902 Mark messages as read, when Nheko gets focused
fixes #235
2021-02-13 01:41:09 +01:00
Nicolas Werner
e2fc676c77 Revert keeping whitespace in html, it breaks lists 2021-02-12 18:22:41 +01:00
Jedi18
35aa0126ac added changing of name through edit modal, removed old roomsettings 2021-02-12 12:48:12 +05:30
Jedi18
f044e2d2a1 fix avatar update on timeline sync 2021-02-11 23:50:45 +05:30
Jedi18
a7d7d18e92 shifted room avatar changing 2021-02-11 23:39:11 +05:30
Jedi18
473b14ed0f added roomversion, roomid etc 2021-02-11 21:23:33 +05:30
Jedi18
7401bd13b2 added notifications and encryption for the new roomsettings 2021-02-11 19:54:09 +05:30
Nicolas Werner
2a5e20dc6f Fix cancel edit order on Escape key 2021-02-10 18:00:52 +01:00
Jedi18
b70f37194f ui almost looks the same, midway between transition from old room settings to new room settings 2021-02-10 21:22:42 +05:30
Nicolas Werner
2606568376 Fix messages sometimes not being rendered, when they are too large 2021-02-10 15:24:00 +01:00
Nicolas Werner
6a2e8a6952 Try to avoid QTBUG-89568 2021-02-10 14:38:41 +01:00
Nicolas Werner
a62276c289 Fix UI allowing edits of foreign messages in some cases 2021-02-10 14:32:16 +01:00
Nicolas Werner
29c89b1b9e Abort -> Cancel 2021-02-10 14:11:55 +01:00
Nicolas Werner
6e2ae1d812 Add edit shortcuts and fix some focus stuff 2021-02-09 20:22:53 +01:00
Nicolas Werner
9b7d33e847 Implement message editing
The UI still looks ugly, but I have no good idea atm.

fixes #134
2021-02-09 20:22:53 +01:00
Nicolas Werner
00fd4eecec Display edits correctly 2021-02-09 20:22:49 +01:00
Jedi18
37679ac57e added room settings qml 2021-02-09 23:11:39 +05:30
DeepBlueV7.X
23a9306383
Merge pull request #459 from Jedi18/minor_fixes
Fix emoji related issues
2021-02-09 16:25:37 +01:00
trilene
974c336c5e make lint 2021-02-07 13:58:32 -05:00
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
Nicolas Werner
7b6fab3373 Calculate verification status from cross-signing sigs and update dynamically 2020-10-08 00:20:12 +02:00
Nicolas Werner
64d5a193f1 Fix in room verification 2020-10-06 17:02:41 +02:00
Nicolas Werner
8a4d85f801 Show different verification errors 2020-10-05 22:58:07 +02:00
Nicolas Werner
bca29a4227 Make steps in verification flow explicit 2020-10-05 22:12:10 +02:00
Nicolas Werner
51964c4fd7 Clean up verification pages a bit 2020-10-02 17:33:04 +02:00
Nicolas Werner
d4dccc8e36 Fix room name 2020-10-02 16:58:13 +02:00
Nicolas Werner
54e3c2c96b Fix verification start to start with request 2020-10-02 12:18:54 +02:00
Nicolas Werner
94690ebd4c Clean up verification and key cache a bit 2020-10-02 01:14:42 +02:00
trilene
e57199412a Allow button colors override 2020-09-25 12:09:22 -04:00
trilene
3f73853e4b Move ActiveCallBar Qml to separate file 2020-09-25 10:26:36 -04:00
Nicolas Werner
4802c34009 Merge remote-tracking branch 'origin/master' into cross-signing 2020-09-24 21:36:43 +02:00
trilene
da27670cbe Port ActiveCallBar to Qml 2020-09-22 12:07:36 -04:00
Nicolas Werner
4179be427f Fix binding loop when trying to reply 2020-09-20 08:59:35 +02:00
Nicolas Werner
0afe1299e2 Fix emoji escape in file messages
This disables color emojis for now in filenames
2020-09-19 22:55:25 +02:00
DeepBlueV7.X
fe325f9266
Merge pull request #285 from Lurkki14/master
Use Rectangle for typing users so it doesn't overlap with the timeline
2020-09-19 17:02:53 +02:00
Nicolas Werner
75d7c2608a Update translations 2020-09-19 15:32:33 +02:00
Jussi Kuokkanen
13658d536e make typing Rectangle extents cleaner 2020-09-18 16:18:31 +03:00
Lurkki14
8741e5f36a
Set typing Rectangle color directly instead of Connection
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-09-18 14:55:48 +03:00
Jussi Kuokkanen
1f71f7227a make Rectangle to fill the gap between input widget and typing users 2020-09-17 17:52:40 +03:00
Jussi Kuokkanen
c463568031 simplify check for no typing users 2020-09-17 17:50:39 +03:00
Jussi Kuokkanen
7d72356318 Merge branch 'master' of https://github.com/Nheko-Reborn/nheko 2020-09-17 16:51:50 +03:00
Jussi Kuokkanen
e49691fe3b use Rectangle for typing users so it doesn't overlap with the timeline 2020-09-17 16:49:56 +03:00
Nicolas Werner
b05c101021 Fix null errors in qml 2020-09-16 23:49:17 +02:00
Nicolas Werner
77e241b9e5 Reenable top bar room settings menus on avatar or title clicks
Also fixes a bug with an empty room settings window introduced in the
port.
2020-09-16 23:49:17 +02:00
Nicolas Werner
640b0ee405 Port top bar to Qml
Also fixes some resize issues with stupid workarounds to our resize
logic. This really needs to be cleaned up at some point!
2020-09-16 23:49:17 +02:00
CH Chethan Reddy
8eb74daf76 Split qml part of Device Verification 2020-09-14 17:27:49 +05:30
Nicolas Werner
94e1b52ddd Single line click handler 2020-09-13 18:23:41 +02:00
Nicolas Werner
b934cf329c Clean up UserProfile a bit 2020-09-13 18:16:48 +02:00
Chethan2k1
f6a47ce72f Some fixes 2020-09-12 15:10:36 +05:30
Chethan2k1
a27662dc08 Making sure Verification Objects are deleted properly 2020-09-10 13:25:49 +05:30
Chethan2k1
e70b4e4268 Fix wrong tran_id issue 2020-09-10 11:09:21 +05:30
Chethan2k1
e8eeb480d5 Fix Wrong Emojis Issue in Room Verification 2020-09-04 12:02:24 +05:30
Nicolas Werner
e0981e17a1 Fix reactions 2020-09-03 09:37:02 +05:30
CH Chethan Reddy
b174bd9380 Merge remote-tracking branch 'upstream/master' into device-verification 2020-08-30 22:27:14 +05:30
CH Chethan Reddy
0d1dd29b19 Small Fixes 2020-08-29 13:37:51 +05:30
CH Chethan Reddy
8a4bd37fea [WIP] Room Verification Works! 2020-08-18 11:29:02 +05:30
Nicolas Werner
7f7108161e Hide CallCandidates again in new store 2020-08-17 23:30:36 +02:00
Nicolas Werner
de7ec4d2b3 Merge remote-tracking branch 'origin/master' into new-event-store
Conflicts:
	CMakeLists.txt
	io.github.NhekoReborn.Nheko.json
	src/Cache.cpp
	src/timeline/TimelineModel.cpp
	src/timeline/TimelineModel.h
	src/timeline/TimelineViewManager.cpp
2020-08-17 20:40:33 +02:00
CH Chethan Reddy
2e20049b36 [WIP] Room-Verification Messages 2020-08-09 08:35:15 +05:30
Nicolas Werner
1e9efa3072 Try to fix variable timestamp width 2020-08-07 17:31:58 +02:00
Nicolas Werner
dbaddb0165 Further tweak text element 2020-08-06 19:19:13 +02:00
trilene
b86711a388 Merge remote-tracking branch 'upstream/master' into voip 2020-08-01 15:49:26 -04:00
CH Chethan Reddy
3635c185e9 Add Room Verification Messages 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
1fcd768f88 Adding Room Key Verification Stuff 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
1103cc15cf Adding icons to UserProfile 2020-07-30 22:10:27 +05:30
Nicolas Werner
08028d5c57 Refactor UserProfile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ac1fbbb69f Some issue with UserProfile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
6fae36abc4 [WIP] Add Caching for users 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ffa61095b8 Error Handling and some fixes 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
00e36b6068 Add some Userprofile buttons 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
fd232b1f4a Some more fixes 2020-07-30 22:10:27 +05:30
Nicolas Werner
4862be06be Fix presence indicator 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
1633650303 Some more changes
- remove unnecessary field sender in userprofile.qml
    - cover user facing string with qsTr to get picked by translations
    - add spacing and fix theming issue
    - increase and add color to username
    - change back to QVector from QLinkedList cause I have mistaken
    better time complexity to give better benchmark

red
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
d49ab15656 Some Improvements
- DeviceVerificationList change to LinkedList to improve time
    complexity while deleting
    - Downgrade the flow to not use key.verification.done and
    key.verification.ready
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ce013e67a6 Add some more slots and mac 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
67367d0004 Shared secret with decimal and emoji works! 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
41b6ef0c32 Add DeviceVerificationList to keep track of all flows and Popup on
recieving start or request
2020-07-30 22:10:27 +05:30
Chethan2k1
1eb162cb6f Handle Device Verification related to_device messages 2020-07-30 22:10:27 +05:30
Chethan2k1
cd5dd0e39b Add SAS Method choice and Add send_to_device API call 2020-07-30 22:10:27 +05:30
Chethan2k1
b628f485ff Tweak UI for device verification and Add more slots 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
f9c0f4dd54 Add C++ Model for DeviceList 2020-07-30 22:10:27 +05:30
Chethan2k1
a54a973ad6 Adding DeviceList for userprofile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
64f204d984 Rewrite UserProfile in qml 2020-07-30 22:10:27 +05:30
Nicolas Werner
707248fea3 Add DeviceVerificationFlow dummy and verification test button 2020-07-30 22:10:27 +05:30
Nicolas Werner
b1362ca69f Use label in device verification dialogs (for proper theming) 2020-07-30 22:10:27 +05:30
Nicolas Werner
fed0463e57 Make emojis a bit smaller 2020-07-30 22:10:27 +05:30
Nicolas Werner
480c4bc8f5 Set proper emoji font for device verification 2020-07-30 22:10:27 +05:30
Nicolas Werner
2088053d26 Add DeviceVerificationFlow dummy and verification test button 2020-07-30 22:10:27 +05:30
Nicolas Werner
488cc5e73b First design iteration of device verification dialogs 2020-07-30 22:10:27 +05:30
Nicolas Werner
8bf26917ad Make long press menu actually work 2020-07-26 02:06:38 +02:00
Nicolas Werner
6f557c19a1 Optimize scrolling a little bit 2020-07-25 23:10:02 +02:00
Nicolas Werner
cbb4356b19 Fix more non integer heights 2020-07-25 22:10:30 +02:00
Nicolas Werner
fdcf91f5eb Fix binding loop and non integer text height 2020-07-25 22:08:02 +02:00
trilene
aec24efbe2 Specify call type on timeline 2020-07-24 13:30:12 -04:00
Nicolas Werner
19f27236ea Fix reactions 2020-07-20 00:42:48 +02:00
Nicolas Werner
6f2bc908ba Fix reaction display 2020-07-19 12:22:54 +02:00
Lorem
e86c1cc79f Make dateBubble's text vertically aligned to vertical center 2020-07-19 12:22:47 +05:30
Nicolas Werner
9ae7d0dce3 Readd pagination and fix redactions 2020-07-13 00:08:58 +02:00
trilene
c73cfe1810 Merge remote-tracking branch 'upstream/master' into voip 2020-07-10 19:39:44 -04:00
trilene
7a206441c8 Support voice calls 2020-07-10 19:19:48 -04:00
Nicolas Werner
530c531c4b WIP: Event Store split out 2020-07-09 23:15:22 +02:00
Nicolas Werner
8d3ab300b6 Open url using QDesktopServices from Qml
This fixes some weirdness on some platforms, where Qt.openUrlExternally
does weird stuff.
2020-07-09 00:45:37 +02:00
Nicolas Werner
fe12e63c7c Fix parent undefined warning 2020-07-08 02:02:48 +02:00
Nicolas Werner
cded494cb5 Try to make text rendering in qml sharper 2020-06-19 19:34:03 +02:00
Nicolas Werner
dde28c627b Lower qt version used for emoji picker and scroll helper 2020-06-17 21:34:02 +02:00
Nicolas Werner
5c8ee99e9a Remove online indicator for offline users 2020-06-17 20:50:39 +02:00
Joseph Donofry
7afb164244
Merge remote-tracking branch 'origin/master' into presence 2020-06-11 22:27:30 -04:00
Joseph Donofry
5e355c36fd
Fix build issue on some versions of clang 2020-06-10 22:34:14 -04:00
Joseph Donofry
39b240e25a
Remove unused QML file 2020-06-09 21:31:19 -04:00
Joseph Donofry
0078c72a37
Remove signals in favor of direct function calls 2020-06-09 21:28:15 -04:00
Joseph Donofry
75cdc1eee2
Remove duplicate search icons 2020-06-09 21:21:30 -04:00
Joseph Donofry
07ffd9e7e9
Fix UserSettings in QML 2020-06-09 21:05:27 -04:00
Joseph Donofry
6bb73f84a3
Merge master and fix conflicts 2020-06-09 20:51:36 -04:00
Joseph Donofry
fa34749279
Minor adjustments to emoji picker 2020-06-09 20:47:21 -04:00
Nicolas Werner
96f4169be9 Show presence and set custom status messages 2020-06-08 01:59:05 +02:00
Nicolas Werner
6b60ff7713 Rename settings to be more consistent 2020-05-26 22:54:51 +02:00
Nicolas Werner
f452bdf2b0 Make settings update immediately in qml and allow limiting timeline width
Limiting improves readability on wide monitors.

The immediate update of the settings is done by just exposing settings
as properties and then setting the settings as a context property.
2020-05-26 22:54:51 +02:00
Joseph Donofry
5228861b88
Add reaction/redaction for in-line Reactions 2020-05-21 21:21:35 -04:00
lkito
d8b89e2ef0 Added an optional feature to show bigger emoji-only messages with 3 or less emoji 2020-05-21 16:31:27 +04:00
Nicolas Werner
a75d7f00bc Fix reactions binding loop 2020-05-16 22:19:37 +02:00
Joseph Donofry
f4ea0b215d
Attach emoji picker picked to reaction sender 2020-05-16 15:52:51 -04:00
Joseph Donofry
a5778bdf40
Merge remote-tracking branch 'origin/master' into reactions 2020-05-16 15:10:49 -04:00
lkito
2c21f6e3fa Implemented optional message body highlighting feature. 2020-05-16 17:15:43 +04:00
Joseph Donofry
6d2789f4d5
Merge master into reactions 2020-05-14 20:53:01 -04:00
Joseph Donofry
18f934efad
Add un-encrypted warning icon for messages in encrypted rooms 2020-05-14 20:35:29 -04:00
Joseph Donofry
ff7468e6d5
Update emoji picker and translations 2020-05-13 20:19:15 -04:00
Nicolas Werner
2c3d09edbb Try to smooth scrolling a bit by increasing cacheBuffer 2020-05-13 23:55:02 +02:00
Nicolas Werner
d6981355d3 Align scrolling to pixels manually 2020-05-13 23:33:00 +02:00
Joseph Donofry
ee4dcef90f
Add new QML-based emoji picker (work in progress)
This is necessary to support having a picker within QML.
Eventually, this should replace the existing widget-based one.
2020-05-13 00:36:41 -04:00
Nicolas Werner
004d10bfee Clip replies by default
In the future we should probably add a gradient when clipped...
2020-05-13 01:09:45 +02:00
Joseph Donofry
991fa4ac98
Change redaction color that accidentally got committed 2020-05-07 22:22:41 -04:00
Joseph Donofry
5b9611dcd3
Merge branch 'master' into reactions 2020-05-07 22:21:06 -04:00
Joseph Donofry
cc92161339
Fix redaction color change that accidentally got committed 2020-05-07 22:20:25 -04:00
Joseph Donofry
a1661f7006
merge master into reactions 2020-05-07 20:53:24 -04:00
Nicolas Werner
e48dfd15fe Add shortcuts to select/deselect reply targets 2020-05-06 13:33:13 +02:00
Nicolas Werner
a1951056da Reaction and Button layout fixes 2020-05-06 03:40:24 +02:00
Nicolas Werner
e55a09906f Misc color fixes 2020-05-05 23:43:43 +02:00
Nicolas Werner
ca5490074a Fix scroll to replied to message (somewhat) 2020-05-05 23:43:28 +02:00
Nicolas Werner
846ff33ed8 Position reaction emoji and text on the same baseline 2020-05-04 13:41:18 +02:00
Nicolas Werner
54013e4a00 Basic, broken reaction display 2020-05-04 13:14:54 +02:00
Nicolas Werner
a9aed09d35 Add placeholder for reactions 2020-05-04 00:59:05 +02:00
DeepBlueV7.X
38417a374d
Merge pull request #184 from shocklateboy92/features/backlog-progress
Add visual indication that data is being fetched
2020-05-01 10:19:32 +02:00
Nicolas Werner
2997155f56 Fix spacing of typing notifications 2020-04-30 22:02:41 +02:00
Lasath Fernando
21b33363ce Make pagination spinner inline 2020-04-29 13:52:39 -07:00
Lasath Fernando
1f9d3024b1 Add visual indication that data is being fetched
This turns `paginationInProgress` field of `TimelineModel` into a `Q_PROPERTY`, so the Ui can bind to it.
For the moment, I'm showing the same spinner as we do during initial sync. It's not ideal, on the count of being giant and in the middle but it's better than nothing. We can make it more subtle later.
2020-04-29 13:52:39 -07:00
DeepBlueV7.X
19ec8d261d
Merge pull request #183 from shocklateboy92/features/smooth-scroll
Improve scrolling in timeline view
2020-04-29 22:15:53 +02:00
Nicolas Werner
3226d1787c Fix some smaller coloring issues 2020-04-29 21:41:46 +02:00
Lasath Fernando
c5d373e8f1 Address CR comments 2020-04-29 02:14:43 -07:00
Lasath Fernando
5c57de070e Remove commented out code; fix padding for Pill 2020-04-28 01:10:54 -07:00
Lasath Fernando
84c5ff0bcb Fix binding loops for height 2020-04-28 00:38:13 -07:00
Lasath Fernando
1555dc2296 Shamelessly steal ScrollHelper.qml from spectral
I mean, we're both GPL so... :P
2020-04-28 00:29:51 -07:00
Nicolas Werner
0e1bb5137b Add menu entry to show decrypted source
Also make hidden entries not consume space in Menus with some qml
styles.
2020-04-21 22:32:45 +02:00
Nicolas Werner
6a39b29acc Disable opening images, when they are not loaded 2020-04-21 20:55:28 +02:00
Nicolas Werner
dcddea6fb8 Fix reply not closing
fixes #124
2020-04-13 16:22:30 +02:00
Nicolas Werner
537cc966cc Use Item for transparent rectangles 2020-04-10 08:48:30 +02:00
Nicolas Werner
d68b24188f Size reply background by contents 2020-04-10 08:48:30 +02:00
Nicolas Werner
d2e495532d Make Filemessage background size by content 2020-04-10 08:48:30 +02:00
Nicolas Werner
6794b6472d Add a few missing palette colors 2020-04-08 23:10:00 +02:00
Nicolas Werner
d35cc3dda4 Use palette for qml code for theming
Can't do it for QtWidgets code. We need to fully transition, before we
can fully switch over probably.
2020-03-29 22:11:33 +02:00
Nicolas Werner
0f1a352dd7 Make buttons hideable via setting, button contents can still be accessed via context menu 2020-03-10 00:30:45 +01:00
Nicolas Werner
a071f55c7b Fix images without size 2020-03-08 14:39:22 +01:00
DeepBlueV7.X
fc2f08a186
Merge pull request #137 from Nheko-Reborn/blurhash
Experimental Blurhash support
2020-03-05 21:07:18 +00:00
Nicolas Werner
b894ce4dcd Make blurhash provider async 2020-03-04 01:56:58 +01:00
Adasauce
ed4bb1a576
Add support for more room events in timeline 2020-03-03 15:06:52 -04:00
Nicolas Werner
0fc98b2692 Experimental blurhash implementation (MXC2448) 2020-03-03 02:34:26 +01:00
Nicolas Werner
11bffd5d90 Revert change from TextEdit to TextArea
It made some messages unreadabe. We loose proper highlight colors, but
we will have to do for now, until I can figure out, why the TextArea
doesn't work.
2020-02-27 16:48:23 +01:00
Nicolas Werner
b1eff0a37f Improve link theming 2020-02-27 00:34:58 +01:00
Nicolas Werner
4d79f8078e Don't let click on reply steal focus from the replied to elements 2020-02-26 23:43:54 +01:00
Nicolas Werner
505a8b5742 Only show reply button and option button on hover 2020-02-26 23:43:15 +01:00
Nicolas Werner
653ad0be97 Fix placeholder text being visible behind transparent avatars 2020-02-23 15:47:19 +01:00
Nicolas Werner
6bdc75d073 Reset user colors on theme change (in qml timeline) 2020-02-20 20:51:07 +01:00
Nicolas Werner
284fc8eaa8 Improve styling of emote messages 2020-02-09 01:24:24 +01:00
Joseph Donofry
096db389d1
Make closing the reply popup actually clear the reply message 2020-02-04 18:17:14 -05:00
Nicolas Werner
d330020fdd Improve styling a bit 2020-02-03 19:21:03 +01:00
Nicolas Werner
2053f67626 Close popup when clicking outside 2020-02-02 00:33:55 +01:00
Nicolas Werner
5f4efa9442 Speed up timeline by using global ToolTip and Menu 2020-02-02 00:27:51 +01:00
Nicolas Werner
735086371d Make page scrolling half height 2020-01-31 00:02:15 +01:00
Nicolas Werner
9b7c1cb7f9 Add scroll page shortcut 2020-01-30 23:57:39 +01:00
Nicolas Werner
c2d436942e Add explicit size to reply close button 2020-01-30 04:01:44 +01:00
Joseph Donofry
d205952fc8
Change tooltip palette settings for QML 2020-01-28 19:20:39 -05:00
Nicolas Werner
4951241d23 Simplify reply popup logic 2020-01-28 19:08:16 +01:00
Nicolas Werner
c2e0aee193 Improve styling of reply popup 2020-01-28 17:16:49 +01:00
Nicolas Werner
3319e0ec20 Fix resize loop of images in reply popup 2020-01-28 17:08:49 +01:00
Joseph Donofry
2b8b04a04b
Add initial QML Reply Popup 2020-01-27 23:28:11 -05:00
Nicolas Werner
e9267ffc76 Show event type string in placeholder 2020-01-23 20:59:17 +01:00
Nicolas Werner
86960e67ec Implement display of membership events 2020-01-23 20:34:04 +01:00
Nicolas Werner
84ac122c48 PixelAlign timeline view 2020-01-21 22:22:25 +01:00
Nicolas Werner
fcc7c0ce5b Account for spacing when checking for bottom message for read status 2020-01-21 20:46:12 +01:00
Nicolas Werner
c95f4d8276 Fix colors in typing display, when username contains emoji 2020-01-21 20:41:09 +01:00
Nicolas Werner
fe912240bc Move typing display to qml 2020-01-17 01:25:14 +01:00
Nicolas Werner
69ce94d1bd Reduce memory usage and make room switching quicker
May make scrolling more laggy or jumpy.
2020-01-14 22:37:23 +01:00
Nicolas Werner
4eb0e11740 Try to match old theme better 2020-01-14 20:44:11 +01:00
Nicolas Werner
4727f1c2bb Fetch missing events for replies 2020-01-11 18:53:32 +01:00
Nicolas Werner
2b3dc3d8b9 Implement fancy reply rendering
This currently assumes the event, that is replied to, is already
fetched. If it isn't, it will render an empty reply. In the future we
should fetch replies before rendering them.
2020-01-11 14:07:51 +01:00
Nicolas Werner
01bd9f659d Adapt play buttons to theme and remove accidental message bg 2020-01-06 18:29:08 +01:00
Nicolas Werner
51d7e64992 Simplify read message logic with inverted timeline 2020-01-06 18:29:08 +01:00
Nicolas Werner
5af6f6528b Use fetchMore for native lazy loading of item model data 2020-01-06 18:29:08 +01:00
Nicolas Werner
946ab4d0f2 invert timeline 2020-01-06 18:29:08 +01:00
Nicolas Werner
a73ed771fa Make images always fit the timeline 2019-12-13 02:16:12 +01:00
Nicolas Werner
e98a61fea6 Show topic and name changes in timeline 2019-12-10 14:46:52 +01:00
Nicolas Werner
dee49508de Simplify scroll logic 2019-12-08 01:26:00 +01:00
Nicolas Werner
8c44c5e2d0 Change scroll behaviour of timeline
This requires Qt 5.9 (to calculate overshoot).
The default scroll behaviour of list views has far too much inertia.
This should make scrolling feel more like scrolling the other scroll
areas of nheko.
2019-12-08 00:54:28 +01:00
Nicolas Werner
05aa7f948a Try to fix binding loop warning 2019-12-07 15:00:06 +01:00
Nicolas Werner
b8f6e4ce64 Add encrypted file download 2019-12-03 02:48:29 +01:00
Nicolas Werner
6c2ec3fe67 Rename qml namespace from com.github.nheko to im.nheko 2019-11-30 01:43:39 +01:00
Nicolas Werner
9fd279c020 Show encryption enabled and use a non zero size for zero size vide 2019-11-23 20:07:15 +01:00
Nicolas Werner
85aae9408b Wrap text in pre tags 2019-11-23 20:07:15 +01:00
Nicolas Werner
c424e397b0 Add loading spinner and restore message send queue 2019-11-23 20:07:15 +01:00
Nicolas Werner
a3fc944967 Fix links opening user dialog and in browser 2019-11-23 20:06:16 +01:00
Nicolas Werner
0cec167339 Fix infinite item instantiating loop by using height instead of contentHeight 2019-11-23 20:06:16 +01:00
Nicolas Werner
2bfb885b47 optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider 2019-11-23 20:06:15 +01:00
Nicolas Werner
1268e9f11c Make replies format nicer
Also lays a bit of groundwork for better reply rendering
2019-11-23 20:06:15 +01:00
Nicolas Werner
88dc72df4f Enable link handling 2019-11-23 20:06:15 +01:00
Nicolas Werner
993926e189 Make user clickable and improve button cursor look 2019-11-23 20:06:15 +01:00
Nicolas Werner
4f7a45a0a6 Improve avatar look and layouting
Thanks to red_sky for the feedback!
2019-11-23 20:06:15 +01:00
Nicolas Werner
2279484697 Remove unused import 2019-11-23 20:06:15 +01:00
Nicolas Werner
3c9ddc2afb break height binding loop 2019-11-23 20:06:15 +01:00
Nicolas Werner
2055c75f8b Organize qml files a bit 2019-11-23 20:06:15 +01:00
Nicolas Werner
3d6f502bcc Incubate delegates asynchronously 2019-11-23 20:06:15 +01:00
Nicolas Werner
c8f97216fa Small fixes to delegate chooser implementation 2019-11-23 20:06:15 +01:00
Nicolas Werner
c37495fae2 Use a basic implementation of a DelegateChooser for compat with older Qt
The interface is taken from Qt/KDE, but the implementation is different,
because the Qt implementation depends on some Qt internals.
2019-11-23 20:06:15 +01:00
Nicolas Werner
cff46d97a8 Add native themeing to QML (where possible) 2019-11-23 20:06:15 +01:00
Nicolas Werner
a83ae7e95f Fix section layout issues and pagination issues
Pagination could get stuck, if the messages request failed.
Section height seemes to have been calculated to late, which would make
some section overlap the next message in some cases. Fix that by doing
the height calculation manually.
2019-11-23 20:06:15 +01:00
Nicolas Werner
0fd2199112 Load content if no scrollbar is needed 2019-11-23 20:06:15 +01:00
Nicolas Werner
8ebef4eed2 Size images/videos by timeline width 2019-11-23 20:06:15 +01:00
Nicolas Werner
d90038cf20 Misc layout fixes 2019-11-23 20:06:15 +01:00
Nicolas Werner
b9076c5c4d Try out DelegateChooser
requires Qt5.12+
2019-11-23 20:06:15 +01:00
Nicolas Werner
e828d9ed7b Disable autoplayback again 2019-11-23 20:06:15 +01:00
Nicolas Werner
489165d579 Lower requirement on QtQuick.Layouts version 2019-11-23 20:06:15 +01:00
Nicolas Werner
e196450428 Use QtQuick.Controls compatible with Qt 5.8 2019-11-23 20:06:15 +01:00
Nicolas Werner
425d534e22 Enable Sticker and Emote messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
67d255a2de Add basic video messages
Size is fixed for now, otherwise the Video output ends up somewhere...
2019-11-23 20:06:15 +01:00
Nicolas Werner
8a511a7862 Add progress bar to audio messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
ea98d7b2ae Add simple audio message widget 2019-11-23 20:06:15 +01:00
Nicolas Werner
a8166462ad File messages (qml) 2019-11-23 20:06:15 +01:00
Nicolas Werner
aee29c6ed5 Reenable redactions 2019-11-23 20:06:15 +01:00
Nicolas Werner
e2d733a01a Restore saving of media 2019-11-23 20:06:14 +01:00
Nicolas Werner
9b18440b4f Reenable ImageOverlay 2019-11-23 20:06:14 +01:00
Nicolas Werner
82091999c4 Add lock to encrypted messages 2019-11-23 20:06:14 +01:00
Nicolas Werner
c8315d792b Make avatar in timeline smaller 2019-11-23 20:06:14 +01:00
Nicolas Werner
6c7e6b0e86 Fix read indicator 2019-11-23 20:06:14 +01:00
Nicolas Werner
d34067a257 Enable read receipts action and sync read receipts from cache 2019-11-23 20:06:14 +01:00
Nicolas Werner
240b3a566b Add send/received indicator 2019-11-23 20:06:14 +01:00
Nicolas Werner
5200db17e9 Implement basic placeholder and disable unimplemented event types 2019-11-23 20:06:14 +01:00
Nicolas Werner
d1fffd6617 Implement simple scroll state handling 2019-11-23 20:06:14 +01:00
Nicolas Werner
62d0cd74da Implement replies in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
a1c97fc8d6 Show redactions in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
7aca8a9430 Reenable view raw message 2019-11-23 20:06:14 +01:00
Nicolas Werner
86f4119a05 Implement basic ImageMessages in qml timeline
I suck at sizing so the images in the message are currently hardcoded to
300 pixels in width...
2019-11-23 20:06:14 +01:00
Nicolas Werner
ebeb1eb772 Implement avatars in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
7947ba57cc Make reply and options buttons smaller 2019-11-23 20:06:14 +01:00
Nicolas Werner
8727831de7 Fix QML emojis 2019-11-23 20:06:14 +01:00
Nicolas Werner
bbbd5df75f Use system colors for now 2019-11-23 20:06:14 +01:00
Nicolas Werner
34f5400e99 Implement TextMessage delegate
Text selection over multiple items doesn't work yet
2019-11-23 20:06:14 +01:00
Nicolas Werner
56e27ced25 Format date (close to) the old way in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
ccedbde38b Add avatar placeholder and scrollbar to qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
2dd636456c Add basic sections and button placeholders to qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
699fd7b38e Implement loading of history, when timeline is displayed 2019-11-23 20:06:14 +01:00
Nicolas Werner
47fbfd3f44 Add items to timline 2019-11-23 20:06:14 +01:00
Nicolas Werner
8b5c7b2f2f Add placeholder timeline model 2019-11-23 20:06:14 +01:00
Nicolas Werner
8e611abe87 Replace timeline with empty qml view 2019-11-23 20:06:14 +01:00