Commit graph

1014 commits

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