Commit Graph

533 Commits

Author SHA1 Message Date
Carl Schwan
e24a1b4541 Fix "Choose local file" does nothing
An import was wrong.

Fix #286


(cherry picked from commit 34311e4d48)
2021-03-05 00:34:52 +00:00
Carl Schwan
008ef38226 Fix icon sizes on mobile
(cherry picked from commit a9678b6fc3)
2021-03-05 00:34:36 +00:00
Albert Astals Cid
cae3c4ca60 i18nc -> i18n
there's no context so the c is wrong
2021-03-05 00:14:30 +01:00
Carl Schwan
bb3b3bc088 Input field fixes
* Message with multiple mentions are not broken in IRC. Fix #267
* Editing a message won't remove mentions anymore
2021-02-22 19:09:56 +00:00
Tobias Fella
edcbc9ab01 Port away from QQC1
The only usage was a dialog that was never called


(cherry picked from commit f71bbe20dc)
2021-02-17 21:34:30 +00:00
Carl Schwan
1afbd42523 Revert "Revert "Improve sending message with mentions""
This reverts commit 0f043e36c4.
2021-02-17 21:58:57 +01:00
Tobias Fella
e546c12b45 Don't underline links 2021-02-17 20:16:19 +00:00
Anjani Kumar
babbc039ab Focus inputField after cancelling edit/reply 2021-02-14 15:32:02 +05:30
Yuri Chornoivan
d3b8c9b98e Fix minor typo: sytem -> system 2021-02-14 08:53:48 +02:00
Tobias Fella
0ca2eb4008 Add option to disable system tray integration
Implements #59
2021-02-13 19:18:28 +00:00
Anjani Kumar
3979cf59ce Clears inputField when edit is cancelled. 2021-02-13 19:17:06 +00:00
Tobias Fella
f4ab281789 Revert "Fix broken i18ncp call"
This reverts commit 7d100b2a0f
2021-02-12 15:21:20 +00:00
Tobias Fella
7d100b2a0f Fix broken i18ncp call 2021-02-11 23:18:14 +01:00
Tobias Fella
9432e28685 Fix opening a second invitation 2021-02-10 23:13:16 +01:00
Arnav Rawat
b84375749b Close menu after selecting a reaction
Fixes #256
2021-02-10 10:33:35 +00:00
Yuri Chornoivan
4c7be7426e Fix minor typos 2021-02-08 14:53:32 +02:00
Tobias Fella
b689e55068 Refactor and cleanup dead qml 2021-02-07 22:34:07 +01:00
Tobias Fella
464c48540e Improve first-run UX
- Replace LoginPage with step-by-step approach to support different login flows
- Implement login using SSO
2021-02-07 21:23:31 +00:00
Carl Schwan
ff6bff208a Remove room description from room header
After using it for some time, I don't think it is really usefull but it
makes the UI more visually heavy, it doesn't show it completely and also
has very bad contrast.

Fix #197
2021-02-07 00:29:08 +00:00
Tobias Fella
7ae222d427 Fix typo 2021-02-06 20:50:37 +01:00
Carl Schwan
82945ab153 Make right clicking on message works again
This is now using TapHandler that can be used in a Layout without
warning about undefined behaviors.
2021-02-06 00:44:07 +00:00
Carl Schwan
c17392bd9d Add minimul width and height to modal window
Fix #253
2021-02-05 23:40:32 +01:00
Tobias Fella
546d17b1a2 Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu 2021-02-04 20:23:16 +00:00
Tobias Fella
72907a1f18 Refactor and fix invitations
-Move invitation handling into RoomPage and delete InvitationPage
-Open the new room after accepting the invitation
2021-02-04 20:22:53 +00:00
Bart Ribbers
465334e23f Improve the look of reactions
- Always show the reaction counts. Element does this too and it makes sure
the look is consistent, no matter how many reactions there are.
- Show a slight border around the background to make the transition to
non-reaction less "grainy"
2021-02-04 18:28:53 +01:00
Nicolas Fella
7aedfd0e17 Move message filtering to C++
The filter callback is called very often (O(messages)). The current
filter model shows some significant overhead in QML internals. Moving
that to C++ makes it quite a bit faster.
2021-02-02 21:51:27 +00:00
Arnav Rawat
f67f319854 Fix sending attachments/files
This commit lets attachments be sent by themselves and prevents
a crash when a text message is sent with an attachment
2021-01-24 20:38:40 +00:00
Yuri Chornoivan
fde637b1df Add i18n() 2021-01-23 21:49:38 +02:00
Tobias Fella
75d3b346ac Actually save the settings 2021-01-23 16:39:34 +00:00
Carl Schwan
0f043e36c4 Revert "Improve sending message with mentions"
This reverts commit b9d34487a4
2021-01-22 14:45:40 +00:00
Carl Schwan
b9d34487a4 Improve sending message with mentions
* Fix bug with reply having broken mentions (@$1:$2)
* Fix mentions disapearing from edited messages
* Fix formatting disapearing from edited messages
2021-01-21 22:56:19 +01:00
Tobias Fella
f7cbb876f0 Make room topic in RoomDrawer readOnly 2021-01-20 15:17:10 +01:00
Yaroslav Sidlovsky
6893cb361e Fix displaying user names with bold text
Property "font.bold" is ignored for QQC2.Label (see: https://phabricator.kde.org/D14495)
2021-01-16 15:16:22 +03:00
Carl Schwan
c24c25eb38 Be less noisy 2021-01-14 20:32:15 +01:00
Nate Graham
bd11f543f5 Regularize context menu
"Open in new Window" goes on top, as it does in most other context menus
with similar items

"Leave room" goes on the bottom with a separator above it, because it's
a mildly destructive action.
2021-01-14 08:16:55 -07:00
Christopher Hock
3ac85bacad Change color of role description to light grey. 2021-01-13 21:45:49 +00:00
Carl Schwan
d9128ca483 Fix the white bar in the room page's header 2021-01-11 22:18:45 +00:00
Carson Black
07f637c854 Improve appearance of room listing
This ports the room list delegates to Kirigami.BasicListItem leading/trailing for a more consistent appearance with other applications, and adjusts how their context menus look and behave
2021-01-11 21:25:29 +00:00
Carl Schwan
a3e1e1d0a4 Fix autocompletion
Now it will save a map from display name to id and use that to generate
clean matrix.to links. This also make sure the colors used for the
preview are correct by using NeoChatUser and fix the bug with the regex
by simply removing the regex.

Fix #234
2021-01-11 02:19:55 +01:00
Yaroslav Sidlovsky
ed26e87c96 Display table borders 2021-01-09 15:02:24 +01:00
Carl Schwan
f4784bb0a1 Allow opening window in a secondary window 2021-01-09 13:32:16 +00:00
Yuri Chornoivan
a82b9dc14e Fix minor typos 2021-01-09 09:19:11 +02:00
Carl Schwan
2cb38ad1ea Add filter search field in room drawer
Fix #195
2021-01-09 01:02:19 +01:00
Carl Schwan
4be3eac7af Fix avatar loading in multiple places and prefers name instead of
display name for avatar fallback.

This also fixes a bug where users didn't get their avatar loaded in the
room list.

Fix #209
2021-01-09 00:37:13 +01:00
Carl Schwan
de23eef519 Fix PgUp/PgDn keys in message view switch rooms
Now use Ctr+PgUp/PgDn keys instead

Fix #213
2021-01-09 00:15:02 +01:00
Carl Schwan
cd1bec9977 Introduce the ActionsHandler 2021-01-08 23:12:09 +00:00
Nate Graham
af7003e680 Disable "Send message" button when there's no message to send 2021-01-08 14:42:21 -07:00
Nate Graham
cb57a1ec06 Fix case of anchors being set on an item in a Layout 2021-01-08 14:09:04 -07:00
Noah Davis
338553de16 [ChatTextInput] Fix isImage (no such property) and rgba (Should be Qt.rgba) 2021-01-04 13:58:34 -05:00
Noah Davis
9a17c07fdd [ChatTextInput] support more image formats and use icons for non-image attached files 2021-01-04 13:58:34 -05:00