Commit Graph

703 Commits

Author SHA1 Message Date
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
Michele Guerini Rocco 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