Commit Graph

786 Commits

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