Commit graph

865 commits

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