Commit graph

1425 commits

Author SHA1 Message Date
Nicolas Werner
df6a5aabb6
Fix clicking on images in replies
fixes #881
2022-03-05 03:45:45 +01:00
Nicolas Werner
7238ca3765
Open room members dialog when clicking the encryption indicator
fixes #937
2022-03-05 01:45:16 +01:00
DeepBlueV7.X
d0623131e5
Merge pull request #965 from maltee1/mobile_room_settings
Mobile room settings
2022-03-05 00:33:45 +00:00
Malte E
cb057b016a rich text emoji 2022-03-04 23:11:47 +01:00
Malte E
864adaffca wrap room name 2022-03-04 23:08:00 +01:00
Malte E
573933f239 cosmetics 2022-03-04 13:40:44 +01:00
Malte E
8658801839 hopfefully the button works now 2022-03-04 11:19:58 +01:00
Malte E
cf7353c1e9 fix text color and button, copy roomID on click 2022-03-03 21:51:26 +01:00
Eldred Habert
90e9df0ec9
Correct "be be"
This kind of duplicated short word is
is easy to have your brain "auto-correct" :D
2022-03-02 22:52:34 +01:00
Malte E
02da8e445a make long topic collapsible 2022-03-02 10:02:01 +01:00
Nicolas Werner
89a8f7a3f1
Hide hover when leaving the timeline 2022-03-01 04:21:00 +01:00
Nicolas Werner
35a2b0e45a
Fix metadata not resizing properly 2022-03-01 03:12:57 +01:00
Nicolas Werner
23efa8f815
Fix a few small completer glitches 2022-03-01 02:33:22 +01:00
Nicolas Werner
d84502737b
Fix misalignment in room list tiles 2022-02-26 16:06:33 +01:00
Malte E
49aceefae3
Fix roomlist timestamp being off-screen (#966)
* fix timestamp disappearing off-screen

* remove mobileMode dependency of ScrollHelper
2022-02-25 21:57:13 +00:00
Malte E
22235defac restore default width and height 2022-02-25 22:05:35 +01:00
Malte E
e59468f28c clean up indentation 2022-02-25 21:59:01 +01:00
Malte E
fd3efdffcf make RoomSettings mobile friendly and more like UserProfile 2022-02-25 21:57:19 +01:00
Nicolas Werner
2c5489468d
Fix mobile call screen
See #469
2022-02-25 17:24:00 +01:00
Malte E
5108955df2
making userName_ an AbstractButton should play nicely with ListView (#961)
* making userName_ an AbstractButton should make it play nicely with the ListView

* make Avatar an AbstractButton

* make userName_ in Reply.qml an AbstractButton

* use alias for avatar background color and fix margin of username in reply
2022-02-24 02:16:39 +00:00
DeepBlueV7.X
ebc0384ebb
Merge pull request #956 from maltee1/mobile_room_directory
Mobile room directory
2022-02-23 01:14:36 +00:00
Malte E
3d8e5c0028 make room directory fit mobile screens 2022-02-21 22:41:02 +01:00
Nicolas Werner
ff4334d59e
Don't leak dialogs
It seems that you need to manually destroy created objects... Great...

fixes #898
2022-02-21 05:01:01 +01:00
Nicolas Werner
609cd82dc0
Fix forward completer 2022-02-21 04:07:13 +01:00
Malte E
1c8a5c645d
Add sender names to state events (#948)
* add sendernames to state events

* Center state events and make them less tiny
2022-02-21 00:39:32 +00:00
DeepBlueV7.X
b3da8738bf
Merge pull request #951 from maltee1/fix_timeline_scrollbar
Fix timeline scrollbar
2022-02-21 00:31:09 +00:00
DeepBlueV7.X
8727b696fc
Merge pull request #946 from maltee1/mobile_usersettings
Make UserSettingsPage fit on a phone screen
2022-02-21 00:25:06 +00:00
Malte E
8b6d4a57e6 another shot in the dark 2022-02-20 13:51:07 +01:00
Malte E
8b75d86924 try to make scrollbar overlap content based on style 2022-02-20 11:18:39 +01:00
Malte E
ea7c8d1427 remove touchobserver 2022-02-20 10:09:22 +01:00
Malte E
4f8e6602c4 limit width of comboboxes and add bottomPadding 2022-02-20 09:45:37 +01:00
Nicolas Werner
d941974e35
Simplify logic to suppress wheel events 2022-02-20 03:03:11 +01:00
Malte E
af8fbb990b remove reparenting 2022-02-19 21:47:19 +01:00
Nicolas Werner
46fbb0e749
Use ListView without scrollview for messages
That way we can autohide the scollbar if needed, it should fix some
jumping issues, it makes it possible to flick on mobile, etc.

Some related bugs:

https://bugreports.qt.io/browse/QTBUG-75223
https://bugreports.qt.io/browse/QTBUG-44902
2022-02-19 21:45:43 +01:00
Malte E
c405eddea6 actually fix awkward message spacing 2022-02-18 21:33:09 +01:00
Malte E
a3fcb4d990 fix awkward message spacing 2022-02-18 21:29:14 +01:00
Malte E
144e7cd038 make search usable on mobile 2022-02-18 21:06:28 +01:00
Malte E
8fede53c82 let labels wrap and collapse below the back button 2022-02-18 20:20:52 +01:00
tastytea
624da5e028
Make hover highlight fill the full width of the timeline
Rows in the message bubble design are only as wide as the bubbles. This
lead to invisible hover highlight. Now it's consistent.
2022-02-18 02:20:56 +01:00
Nicolas Werner
0629ea5932
Always enable hover for ItemDelegate 2022-02-17 15:32:25 +01:00
Nicolas Werner
c0f415238d
Fix images without size not showing (take5) 2022-02-17 00:42:57 +01:00
Nicolas Werner
c310e6f35c
Fix hover highlight when hovering hover menu
fixes #941
2022-02-16 23:25:19 +01:00
DeepBlueV7.X
6a47b47571
Merge pull request #939 from maltee1/better_bubbles
Place metadata next to content if there is space
2022-02-16 20:21:22 +00:00
Nicolas Werner
d330fdb61f
Fix hovering messages 2022-02-14 23:13:22 +01:00
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400 2022-02-14 22:56:35 +01:00
Malte E
1cc4f76998 fix overlap in NoticeMessage 2022-02-14 21:59:35 +01:00
Malte E
e69f0fe960 don't mess up old layout 2022-02-14 21:15:16 +01:00
Malte E
6f3ed5b282 space-saving metadata placement 2022-02-14 21:07:03 +01:00
Nicolas Werner
1df1b5037e
Fix second codeblock not wrapping 2022-02-14 16:47:27 +01:00
Nicolas Werner
297c819bf0
Fix padding in redactions 2022-02-14 15:57:08 +01:00
Nicolas Werner
ddcd4850f1
Merge branch 'message-bubbles' of https://github.com/maltee1/nheko into maltee1-message-bubbles 2022-02-14 15:43:17 +01:00
Malte E
ddf11d9a8c improve spacings 2022-02-14 14:50:37 +01:00
Malte E
ce13ccd677 fix redactions line-wrapping 2022-02-14 14:16:11 +01:00
Malte E
414257bf0e fix bugs found by Nico 2022-02-14 14:03:17 +01:00
Nicolas Werner
6e1ac16f61
Fix overlapping offline indicator 2022-02-14 04:05:33 +01:00
Malte E
993b0ae721 fix vertical space for some state events 2022-02-13 13:27:31 +01:00
Malte E
987b9bed6b add small avatars option and tweak colors and spacings 2022-02-13 13:12:51 +01:00
Nicolas Werner
47b822604d
Hidden events: Refactor slightly for reusability 2022-02-12 19:48:53 +01:00
Malte E
894438c6ce place own bubbles on right and remove user info 2022-02-11 23:12:04 +01:00
Malte E
d0ac110cb7 Fix layout - no more binding loops (hopefully) 2022-02-11 22:02:30 +01:00
tastytea
72cfb06208
Hidden events: Some cleanup 2022-02-10 00:48:35 +01:00
tastytea
49b313e3b8
Hidden events: Make save-function reusable for global account data 2022-02-10 00:48:35 +01:00
tastytea
f7ca41bc49
Hidden events: Change title and prompt depending on isRoomSetting
We would have to set text and title separately otherwise.
2022-02-10 00:48:35 +01:00
tastytea
f0bb64030e
Hidden events: Incorporate suggestions from review
- Set TitleHint flag on dialog
- Store hidden events as QSet<QString> instead of std::vector<bool>
- Change wording in dialog (disable events instead of turning the hiding
  on)
2022-02-10 00:48:35 +01:00
tastytea
d4cc3507f8
Hidden events: Enhance tooltips
Shorten tooltip for power levels, expand tooltip for user events.
2022-02-10 00:48:35 +01:00
tastytea
5cd3e61cb0
Add GUI to change hidden events per room
This adds a dialog to the room settings in which the user can choose
which of these three event types they want to hide (additionally to the
default):

  - m.room.member
  - m.room.power_levels
  - m.sticker

The current state is read when room settings are opened and saved when
new settings are accepted.
2022-02-10 00:48:35 +01:00
Malte E
0e548b7d39 fixed most of the binding loops 2022-02-09 21:36:04 +01:00
Malte E
5db7ec7f03 Variable width bubbles (still has binding loop) 2022-02-09 17:53:02 +01:00
Malte E
e290f9938a
Update resources/qml/delegates/Reply.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2022-02-07 22:04:49 +01:00
Malte E
12d600db97 add translations and actually add changes to TimelineModel 2022-02-07 21:53:37 +01:00
Malte E
384c9c91e3 print state events without bubbles, displaynames or avatars and in a smaller font 2022-02-07 21:00:51 +01:00
Malte E
9d194cc2e6 clean up margin setting 2022-02-05 21:53:21 +01:00
Malte E
f5a693ac03 place metadata below message when the Layout is narrow (<350) 2022-02-05 14:12:51 +01:00
tastytea
9836443d26
Add maximum width to room name in user profile
Layout is: spacing | text | spacing | button | spacing
Therefore we subtract 3x spacing and 1x button(16) from width.
2022-02-05 01:40:31 +01:00
tastytea
721c315be2
Add maximum width to user name in profile
Layout is: padding | text | margin | button | padding
Therefore we subtract 2x padding, 1x margin and 1x button from
width. And an extra button for some reason. 🤷
2022-02-05 01:38:03 +01:00
tastytea
2815ad0408
Fix width of room name to dialog width 2022-02-04 23:40:40 +01:00
Malte E
3f7c15c7af Add message bubbles 2022-02-04 23:12:30 +01:00
Malte E
3c8c02e802 Revert removal of width and height in TextMessage and implicitWidth in MessageDelegate 2022-02-04 21:20:25 +01:00
Nicolas Werner
7b00411dc4 Show widgets as links 2022-02-04 20:48:14 +01:00
DeepBlueV7.X
00116e8128
Merge pull request #906 from LorenDB/offlineIndicator
Add offline indicator
2022-02-04 07:13:53 +01:00
Loren Burkholder
9d3d85c5c2 Use different height setting 2022-02-03 18:31:29 -05:00
Malte E
04b47d6882 prepare code for message bubbles and dynamic message layout 2022-02-03 20:26:20 +01:00
tastytea
eb13bed201
Clear search text in StickerPicker when the popup closes
Same as emoji picker.
2022-02-02 18:00:50 +01:00
Loren Burkholder
5bed3684ec Add offline indicator (#472) 2022-02-01 23:39:22 -05:00
DeepBlueV7.X
b706e272e5
Merge pull request #893 from Nheko-Reborn/qml-root
Qml root
2022-01-30 19:18:32 +00:00
Nicolas Werner
f76d679ef6
Fix list items being hoverable through between settings and new room buttons 2022-01-30 20:09:58 +01:00
Nicolas Werner
2613275461
Reimplement error notifications 2022-01-30 19:14:33 +01:00
Nicolas Werner
a0a35c8786
keep the RegisterPage name
So we don't have to retranslate.
2022-01-29 17:30:56 +01:00
Nicolas Werner
f28013dc18
Port registration to Qml 2022-01-28 15:24:56 +01:00
Joseph Donofry
42ae8fa9f2 Use ScrollHelper on EmojiPicker 2022-01-26 19:14:18 -05:00
Nicolas Werner
4a80fdc951
Functional login page 2022-01-26 21:44:13 +01:00
Nicolas Werner
aaae72a4f2
Fix focus and qml parenting with qml root 2022-01-26 21:44:13 +01:00
Nicolas Werner
b106eafb0e
Initial qml root window 2022-01-26 21:44:13 +01:00
Nicolas Werner
c59bb67569
Fix setting double values in setting spinboxes 2022-01-13 05:52:31 +01:00
Nicolas Werner
34abae0c42
Small size and selection improvements for the settings page 2022-01-13 04:16:26 +01:00
Nicolas Werner
41a9577201
Fix device verification colors 2022-01-12 19:03:29 +01:00
Nicolas Werner
39bf20baed
Move usersettings page to pages subdir 2022-01-12 19:03:29 +01:00
Joseph Donofry
d2ee5d8d43
Merge pull request #883 from Nheko-Reborn/qml-usersettings
Port usersettings to qml
2022-01-11 13:04:55 -05:00
Nicolas Werner
59bc8307c8
Address review comments 2022-01-11 04:12:42 +01:00
Nicolas Werner
f1a23355bd
Port usersettings to qml 2022-01-09 01:02:25 +01:00
Joseph Donofry
53c73c2195
Fix some minor UI issues with ImageOverlay and RawMessageDialog 2022-01-05 23:33:08 -05:00
Nicolas Werner
8d52c17f29
Work around images with size 0 in info
fixes #875
2022-01-04 05:19:48 +01:00
Nicolas Werner
6d4ff70b48
Add minimum scale in image viewer 2022-01-03 04:00:21 +01:00
Nicolas Werner
eee61cd524
Fix download icon size 2022-01-02 23:17:53 +01:00
Nicolas Werner
ccc221c341
Make some icons smoother 2022-01-02 22:14:31 +01:00
Nicolas Werner
66520eae19
Port image overlay to qml
Allows you to zoom and pan now.

relates to #647
2022-01-02 21:46:29 +01:00
Nicolas Werner
c3e2e73175
Fix fade out of ripple 2022-01-02 20:13:21 +01:00
Nicolas Werner
1c83ce1e79
Simplify Ripple effect and make it easier to use everywhere 2022-01-02 06:22:50 +01:00
Nicolas Werner
1dc53a301f
Fix hovering aliases that only have text 2022-01-01 16:38:52 +01:00
Nicolas Werner
7685d1808b
Strip variant selector in some cases
fixes #439
Workaround for https://bugreports.qt.io/browse/QTBUG-97401
fixes #810
2022-01-01 07:10:12 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
6f77a1fe9d
Use the styles default delay for tooltips
This makes them less annoying when scrolling or accessing the popup
menu.

See also #860
2021-12-31 00:48:55 +01:00
Nicolas Werner
750c64f323
Get rid of some useless code 2021-12-31 00:48:55 +01:00
Nicolas Werner
b7d6191e24
Fix wrapping in member events 2021-12-31 00:48:55 +01:00
Joe Donofry
459edcd71a Merge branch 'completer_scrolling' into 'master'
Completer scrolling

See merge request nheko-reborn/nheko!20
2021-12-30 04:46:30 +00:00
Joe Donofry
c8ff44aa20 Increase Completer limit to 30
- Add scrolling
- Only display ~7 items at once
2021-12-30 04:46:30 +00:00
Nicolas Werner
9a9dbda571
Update presence dynamically and reduce allocations 2021-12-30 04:54:03 +01:00
Nicolas Werner
7742f12f30
Use body in alt text of custom emoji 2021-12-27 19:08:13 +01:00
Nicolas Werner
ea6b19b307
Add an ugly custom emote completer using ~ 2021-12-27 06:23:36 +01:00
Nicolas Werner
926c7a89ad
Add alternative shortcut to Alt-A for systems, where that is taken already 2021-12-22 02:45:25 +01:00
Nicolas Werner
6484ed6496
Explicitly set text format for raw message dialog 2021-12-19 09:35:59 +01:00
Nicolas Werner
999ac95658
Fix a small alignment issue of text in notification bubbles 2021-12-16 21:30:58 +01:00
Loren Burkholder
4a7e6d3f48 Fix a few things 2021-12-15 19:10:01 -05:00
Loren Burkholder
6e7e22b0e7 Make notification count bubbles expand some more 2021-12-15 19:09:57 -05:00
Loren Burkholder
b25cda6939 Don't get too large of corners 2021-12-13 19:08:54 -05:00
Loren Burkholder
d15094b21e Use better translation method 2021-12-13 19:08:54 -05:00
Loren Burkholder
c09c0d35b8 Make opening room members from rooms settings dialog work 2021-12-13 19:08:54 -05:00
Loren Burkholder
95887c87db Make it obvious that this is a notification and not the actual message 2021-12-13 19:08:54 -05:00
Nicolas Werner
d46e517e3a
Only show room pack button, when you can actually create one 2021-12-13 23:25:42 +01:00
Nicolas Werner
a0699f5247
Multiply source size by scale factor
Might be unnecessary, but docs are unclear on that.
2021-12-13 19:09:03 +01:00
Nicolas Werner
2974c541c5
Misc pack editor improvements 2021-12-13 06:18:30 +01:00
Nicolas Werner
bb600dd3d1
Show some avatar for image packs 2021-12-13 06:00:32 +01:00
Nicolas Werner
dae032172d
Add recently used reactions
fixes #435
2021-12-13 00:43:05 +01:00
Nicolas Werner
ad91784d86
Vertically align message input
fixes #351
2021-12-12 00:03:00 +01:00
Nicolas Werner
b4ef2ce60c
Allow clicking links in replies
fixes #529
2021-12-11 23:56:24 +01:00
Nicolas Werner
d36ba00ff6
Properly set position of resize handler after letting it go
fixes #817
fixes sidebar not staying small after restart
2021-12-11 20:47:41 +01:00
Nicolas Werner
5c1cc7d5c6
Fix broken top bar clicks without pins 2021-12-11 19:21:01 +01:00
Nicolas Werner
e5a6deaeb2
Change width of pinned message box 2021-12-11 07:01:14 +01:00
Nicolas Werner
75b112f0c8
Support pinned messages
fixes #519
2021-12-11 06:10:41 +01:00
Nicolas Werner
2e0d0dad96
Fix escaped html showing up in playable media message labels
fixes #840
2021-12-08 23:37:55 +01:00
Nicolas Werner
d409bab838
Limit max memory usage of images 2021-12-08 02:43:08 +01:00
Nicolas Werner
868342ffc9
Allow swiping between views in single page mode
Allows access to spaces on mobile for example
2021-12-06 23:38:39 +01:00
Nicolas Werner
943a20fc37
Navigate to subspaces by clicking on them 2021-12-02 03:53:12 +01:00
Nicolas Werner
aa5d2098d0
Don't waste space for non existing subspaces 2021-12-01 00:46:02 +01:00
Nicolas Werner
fee2f5c701
Don't pad, just fill 2021-12-01 00:33:22 +01:00
Nicolas Werner
65152252a4
Leaves can't collapse 2021-12-01 00:24:57 +01:00
Nicolas Werner
fe49beb68e
Hide me underneath the space tree 2021-12-01 00:04:01 +01:00
Nicolas Werner
a703e6f041
Remove double padding on redactions 2021-11-29 03:10:35 +01:00
Joe Donofry
b920f8d7ca Change QML UI for redactions 2021-11-29 00:59:57 +00:00
Nicolas Werner
2324d2de05
Fix colors of sidebar in replies 2021-11-24 04:09:22 +01:00
Nicolas Werner
aea7461cba
Fix one more wrong background color 2021-11-22 22:16:55 +01:00
Nicolas Werner
97aadee01c
Pass correct background color to username separator 2021-11-20 00:32:03 +01:00
Nicolas Werner
1af204f7d3
Fix mouse cursor on top bar 2021-11-19 00:28:56 +01:00
Nicolas Werner
57fb0d79f9
Fix colors and alignment in dialogs 2021-11-18 22:33:45 +01:00
Joseph Donofry
7be659af46
Fix video call filename and qtjdenticon for windows 2021-11-18 22:04:01 +01:00
Nicolas Werner
d1e1e9363d
Fix qml warnings and missing icons 2021-11-18 22:04:00 +01:00
Loren Burkholder
9a5d457a49 Quality-of-life improvements to InputDialog 2021-11-16 21:06:51 -05:00
Loren Burkholder
b5e25a8369 Don't add arbitrary padding
This breaks the vertical-centeredness on the close button.
2021-11-16 20:35:10 -05:00
Loren Burkholder
f048caee69 Simplify code for padding delegates 2021-11-16 18:53:44 -05:00
Loren Burkholder
36f1bbcc02 Remove duplicate property 2021-11-16 18:40:48 -05:00
Loren Burkholder
b1c1274d96 Allow removing users from the invite dialog 2021-11-16 18:40:48 -05:00
Loren Burkholder
e09af0b101 Nicer padding 2021-11-16 18:40:48 -05:00
Loren Burkholder
f095352a2c Add pointing hand cursor shape 2021-11-16 18:40:48 -05:00
Loren Burkholder
07aa89cca1 Port invite dialog to use ItemDelegate 2021-11-16 18:40:48 -05:00
Loren Burkholder
d645c43618 Add highlight on hover 2021-11-16 18:40:48 -05:00
Loren Burkholder
8ca1b93abb Switch member dialog to using ItemDelegate 2021-11-16 18:40:48 -05:00
Nicolas Werner
df1f549a2c
Use filled shields everywhere and distinguish different states more 2021-11-17 00:37:30 +01:00
Loren Burkholder
f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Nicolas Werner
61d2d1c665
Support exif rotation on received videos
fixes #674
2021-11-15 03:36:30 +01:00
Nicolas Werner
c6ae336c30
Reenable still image viewer for WebP until we qmlify the image viewer 2021-11-14 22:18:25 +01:00
Nicolas Werner
b0530089ab
Fix some colors switched to yellow by accident 2021-11-13 03:21:42 +01:00
Nicolas Werner
1ab4d35579 Merge branch 'video_player_enhancements' into 'master'
Video player enhancements

See merge request nheko-reborn/nheko!15
2021-11-12 00:19:25 +00:00
Nicolas Werner
b7b4fd0e9b
Format qml 2021-11-11 21:32:38 +01:00
Nicolas Werner
6c5807ed0c
Make yellow darker
Fixes readability issues in the userprofile.

fixes #440
2021-11-11 21:26:18 +01:00
Nicolas Werner
771f3ea316
Make pill text color match the separator color 2021-11-11 21:15:33 +01:00
Nicolas Werner
435047b1ba
Make it possible to unhide the controls on mobile 2021-11-11 19:56:51 +01:00
Nicolas Werner
ffc60180de
Cleanup positioning of player elements 2021-11-11 19:23:52 +01:00
Joseph Donofry
c5e8b2da15
More refactoring and layout updates 2021-11-11 00:16:25 -05:00
Nicolas Werner
ca3198c1aa
Swap encryption and edit indicator 2021-11-11 04:43:37 +01:00
Nicolas Werner
8f3a6abfa2
Improve the layout and behaviour of topbar slightly 2021-11-11 04:29:50 +01:00
Joseph Donofry
e3eb87cc21
More player fixes 2021-11-09 23:52:59 -05:00
Joseph Donofry
df17e4e28b
Fix audio player and use same controls for video and audio 2021-11-09 22:33:16 -05:00
Joseph Donofry
c1c9c71b08
Move rest of controls to separate file 2021-11-09 22:17:00 -05:00
Joseph Donofry
f6fcae124f
Initial Refactoring into separate controls 2021-11-09 19:28:53 -05:00
Joseph Donofry
c68c8de74f
Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements 2021-11-09 18:34:40 -05:00
Joseph Donofry
42b74509ea
Incorporate nico's suggestions, fix volume slider 2021-11-08 22:55:16 -05:00
DeepBlueV7.X
add5dfce7f
Merge pull request #798 from LorenDB/fixRRDialog
Fix clicking on avatar
2021-11-09 03:30:24 +01:00
Loren Burkholder
2c725bd1e5 Fix clicking on avatar 2021-11-08 21:26:35 -05:00
Nicolas Werner
ebc93c8870
Explicitly namespace platform module 2021-11-09 02:57:01 +01:00
Joseph Donofry
13a5194c08
Minor fixes for undefined qml behavior 2021-11-08 19:18:11 -05:00
Joseph Donofry
c93a7b2435
Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements 2021-11-08 18:32:19 -05:00
DeepBlueV7.X
1bdf4ebd21
Merge pull request #791 from Nheko-Reborn/secret-storage-fixes
Move away from using an event loop to access secrets
2021-11-07 12:42:40 +01:00
Nicolas Werner
5ca1fb18bb
Move away from using an event loop to access secrets
Fixes messages in room flickering and being stuck

fixes #760
relates to #770
relates to #789
2021-11-07 03:52:57 +01:00
Loren Burkholder
b5b5c95246 Use ItemDelegate for read receipts 2021-11-06 20:00:20 -04:00
Nicolas Werner
3758c42ed6
Fix leave room dialog 2021-11-05 23:04:44 +01:00
Joseph Donofry
743a83c8e6
Update video_player_enhancements with changes from master 2021-11-03 21:43:11 -04:00
Nicolas Werner
8563ec002d
Use ItemDelegate for CommunitiesList 2021-11-03 23:20:28 +01:00
Nicolas Werner
1e22274d8c
Use ItemDelegate in RoomList instead of a Rectangle with handlers
fixes #683
relates to #571
2021-11-03 23:01:36 +01:00
Nicolas Werner
1a163f49e2
Fix unjoinable invites on mobile as well as unclickable previews 2021-11-03 22:35:54 +01:00
Nicolas Werner
912a8c43b2
Fix copyright order 2021-11-03 18:52:28 +01:00
Nicolas Werner
211fd9d76c
Fix registration on matrix.org
This was a bit of a journey:
https://github.com/matrix-org/matrix-doc/pull/3471
But it should work now and we now use the UIAHandler everywhere.

fixes #670
2021-11-03 18:39:51 +01:00
Nicolas Werner
2aabe9dcac
Prompt user when there are unverified devices 2021-11-01 22:20:15 +01:00
Nicolas Werner
5bd6208c43
Some people consider Nheko not an AAAAA title 2021-10-30 01:01:39 +02:00
Nicolas Werner
5688b2647e
Add self verification after login 2021-10-30 00:23:07 +02:00
Loren Burkholder
0c2522684b Auto-focus search bar in room directory 2021-10-28 21:44:24 -04:00
Thulinma
662cb573e1 Allow changing device names, display last seen time and IP 2021-10-20 18:31:57 +02:00
Eldred Habert
d56a48215a
Fix incorrect pluralization of "rooms" 2021-10-19 18:25:59 +02:00
Nicolas Werner
6793bdf3fd
lint 2021-10-17 17:20:51 +02:00
Nicolas Werner
b030eb923b
WIP 2021-10-17 17:18:14 +02:00
Nicolas Werner
a5030bdd4d
move device verification management to its own file 2021-10-17 17:18:14 +02:00
Thulinma
649c5ff86d Add support for listing devices that do not support encryption, add support for logging out devices.
Ticks off another box in #23!
2021-10-17 00:00:14 +02:00
Eldred Habert
a0e1f97f2c Use correct Monopoly quote
Hi if you're reading this commit message wondering "what the fuck?"
2021-10-15 19:18:10 +02:00
tastytea
0516892759
Allow JPEG in image picker for stickers and emotes.
The file ending list is translated, so all the translations are updated
too.
2021-10-15 16:51:20 +02:00
Loren Burkholder
14488a8fe7 Use the same leave room dialog everywhere
This ports the leave room dialog to QML, everywhere. There are now no differences between the various leave dialogs.
2021-10-11 19:00:40 -04:00
DeepBlueV7.X
088765b427
Merge pull request #741 from LorenDB/qmlJoinRoomDlg
QML the join room dialog
2021-10-11 19:53:17 +00:00
DeepBlueV7.X
281d764aa3
Merge pull request #755 from Nheko-Reborn/bootstrapping
Support bootstrapping crosssigning
2021-10-09 23:35:09 +00:00
Loren Burkholder
0841abead3 Use better close-on-Enter logic 2021-10-09 17:29:05 -04:00
Loren Burkholder
6a327e0db3 Auto-focus the input 2021-10-09 17:14:35 -04:00
Loren Burkholder
484845c130 Add handy keyboard shortcuts 2021-10-09 17:14:35 -04:00
Loren Burkholder
e9ed12e27b QML the join room dialog 2021-10-09 17:14:33 -04:00
DeepBlueV7.X
7eb9071b50
Merge pull request #743 from LorenDB/qmlLogout
QML the logout dialog
2021-10-09 20:57:38 +00:00
Nicolas Werner
ad1e6c8298
Support bootstrapping crosssigning
Showing the bootstrap state and showing there are unverified devices is
still missing.
2021-10-09 05:01:53 +02:00
DeepBlueV7.X
569606f35b
Simplify device list refresh logic 2021-10-07 20:01:55 +02:00
Thulinma
456a41bcdf Added support for refreshing the device list, marking current device with a checkmark instead of a lock 2021-10-06 22:52:19 +02:00
Loren Burkholder
81406171a0 QML the logout dialog 2021-10-05 20:12:24 -04:00
DeepBlueV7.X
d46f916cc1
Merge pull request #744 from LorenDB/reorganizeQml
Reorganize all the dialogs into the dialogs folder
2021-10-04 09:07:00 +00:00
Loren Burkholder
a6c3e3562c Fix some strings and translation stuff 2021-10-01 12:29:54 -04:00
Loren Burkholder
4e020645f1 Reorganize all the dialogs into the dialogs folder 2021-09-29 20:16:46 -04:00
Loren Burkholder
297e550b6c Fix margins on input dialog 2021-09-24 21:33:50 -04:00
Nicolas Werner
8ffb3ac9e8
Add missing qsTr 2021-09-20 01:22:58 +02:00
Nicolas Werner
a54f828fb4
Fix a few verification typos 2021-09-20 01:15:51 +02:00
DeepBlueV7.X
e118f3882d
Merge pull request #728 from Thulinma/goto
Improvements for linking to events
2021-09-17 10:19:58 +00:00
Patryk Cisek
d499fffb7e
Added a text field that allows choosing custom homeserver in "Room directory" dialog. (#727)
* Added a text field that allows choosing custom homeserver in "Room directory" dialog.

* Moved "Choose custom homeserver" text field to the right and shrinked it to 30% of "Room directory" dialog's width.

* Adding "server_name=" when needed when joining room.

When joining room that is hosted on a different homeserver than
the account is registered on, the request fails. In such scenario
the server has to be explicitly mentioned in a server_name URL
parameter. More info here:
https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-join-roomidoralias

* Minor fix: intentation (4 spaces -> 8 spaces)

Co-authored-by: Patryk Cisek <patryk@cisek.email>
2021-09-17 10:12:56 +00:00
Nicolas Werner
22230ed0a9
Disable reuseItems again D: 2021-09-17 12:02:54 +02:00
Thulinma
1d5bf56cf9 Improvements for linking to events
- Fixes scrolling to an event not being reliable
- Adds new /goto command that can open URLs, go to events, or go to message indexes.
- Refactored ChatPage::handleMatrixUri() to contain the handling originally in Nheko::openLink(), and makes it return a boolean based on whether the URL was handled internally or not.
2021-09-16 02:17:07 +02:00
Nicolas Werner
30aedd36a1
Reenable reuseItems for the message view
If this is still broken, we will need to disable it again.
2021-09-15 23:19:12 +02:00
Joseph Donofry
c7545cb455 Fix a few jdenticon bugs 2021-09-14 18:39:57 -04:00
DeepBlueV7.X
d6eeaa1c04
Merge pull request #721 from symphorien/hotlist
Implement a binding to go to a room with unread messages
2021-09-14 19:00:50 +00:00
Guillaume Girol
82b1cc4e5f add Alt+A keybinding to switch to next room with unread messages 2021-09-14 12:00:00 +00:00
DeepBlueV7.X
8e2f1e9dce
Merge pull request #416 from LorenDB/jdenticon
Add jdenticon support
2021-09-13 21:31:29 +00:00
Nicolas Werner
f6b278dc85
Update translations 2021-09-13 23:17:03 +02:00
Loren Burkholder
96edc0bb75 Use correct form of roomId 2021-09-11 19:35:31 -04:00
Loren Burkholder
8e5f91a579 Use better jdenticon codes/id settings 2021-09-11 19:35:31 -04:00
Loren Burkholder
3b15bf5227 Remove useless line 2021-09-11 19:35:31 -04:00
Loren Burkholder
bb8dbf2c2e Use better visible check 2021-09-11 19:35:31 -04:00
Loren Burkholder
094ddb48a2 Don't bother with crop 2021-09-11 19:35:31 -04:00
Loren Burkholder
17729ce662 Fix jdenticons in various places 2021-09-11 19:35:31 -04:00
Loren Burkholder
356723fe06 Use more descriptive property name 2021-09-11 19:35:31 -04:00
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