Commit Graph

742 Commits

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