Commit Graph

42 Commits

Author SHA1 Message Date
Tobias Fella
562b59d834 Fix unban permission check 2021-05-28 21:44:07 +02:00
Carl Schwan
0dbb56ba1e Fix creating broken direct chat for user with a direct chat already open
Just enter the existing room instead of trying to create a new one but
broken.

Fix !237
2021-05-23 21:46:40 +02:00
Tobias Fella
89d4c1ff95 Allow unbanning users 2021-05-22 13:54:54 +02:00
Tobias Fella
af6880b2ca Fix banning users 2021-05-22 13:37:31 +02:00
Tobias Fella
48d1fa27cf Don't offer banning users that are already banned 2021-05-22 13:09:52 +02:00
Tobias Fella
bd893adb34 Don't offer to kick users that already left 2021-05-22 00:32:49 +02:00
Carl Schwan
d77d8c3835 Improves dialogs
* Fix some small spacing issues
* Add title
2021-05-05 23:11:06 +02:00
Carl Schwan
2139112301 Simplify dialog title
No need to repeat the name two times
2021-05-05 23:04:47 +02:00
Tobias Fella
89056ed6c1 Move the ActionsHandler instance to the RoomPage
This is required since when using a RoomWindow, the ActionsHandler from the RoomManager is used, which means that the wrong room is used.
2021-04-17 20:47:01 +00:00
Tobias Fella
d170cc5161 Cleanup QML imports and license headers
- Group the imports into Qt, KDE, NeoChat
- Import the latest versions
- Remove unused imports
- Remove unused components
- Unify license header styling
2021-04-07 19:38:40 +00:00
Tobias Fella
7da342e629 Align avatar background colors in Timeline and UserDetailDialog
Fixes #160
2021-04-03 00:03:55 +02:00
Carl Schwan
603d4e1f0d Improve performance of the emoji model
Only display up to 10 emojis when searching

Related to #310 but a better solution needs to be found because we get
the same problem on big room when autocompleting usernames.
2021-03-20 15:32:33 +01:00
Arnav Rawat
b84375749b Close menu after selecting a reaction
Fixes #256
2021-02-10 10:33:35 +00:00
Tobias Fella
7ae222d427 Fix typo 2021-02-06 20:50:37 +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
cd1bec9977 Introduce the ActionsHandler 2021-01-08 23:12:09 +00:00
Tobias Fella
724f10a895 Don't load empty images from imageprovider
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error
2020-12-28 01:28:13 +01:00
Carl Schwan
dbc82b113b Fix not eliding text in USerDetailDialog
Fix: #169
2020-12-22 15:23:12 +01:00
Carl Schwan
f61eff2937 Use TextArea instead of simple field for room topic 2020-12-20 20:25:53 +01:00
Tobias Fella
3c5ee404c3 Get rid of Neochat.Effect 2020-12-12 00:09:10 +00:00
Carl Schwan
064bc5adbe Allow kicking and banning users 2020-12-05 11:06:27 +01:00
Carl Schwan
c1dccf7a7e Add create room dialog 2020-11-27 15:06:29 +01:00
Carl Schwan
b0bbd3631f Add Start a chat page 2020-11-27 14:37:29 +01:00
Nate Graham
5f932fb112 Correct typo in signal name (choosen -> chosen) 2020-11-24 15:43:43 -07:00
Carl Schwan
fe63b0c9a7 Add emoji picker for reaction 2020-11-24 14:25:56 +01:00
Carl Schwan
9849f9ae80 Don't display empty combobox 2020-11-22 12:03:10 +01:00
Carl Schwan
201ae823c8 Elide room settings dialog title 2020-11-22 11:58:18 +01:00
Tobias Fella
516ad863b8 Don't allow users to ignore themselves
Implements #16
2020-11-19 08:13:34 +00:00
Carl Schwan
b4e1c6979f Add option to accept invitation 2020-11-19 07:35:00 +00:00
Tobias Fella
a8b95791e2 Port MessageSourceDialog to OverlaySheet 2020-11-17 20:39:40 +01:00
Carl Schwan
8e52f645a2 Remove more old MPalette stuff 2020-11-17 11:21:56 +01:00
Carl Schwan
78f54e2441 Internalisation++ 2020-11-17 00:14:17 +01:00
Carl Schwan
28c965a40d Use a page for invitation instead of popup
This generally work better on a mobile device
2020-11-16 22:45:41 +00:00
Carl Schwan
4149ef4813 Internalization++ 2020-11-16 16:24:04 +01:00
Carl Schwan
6b70252201 Kirigamify the room settings dialog 2020-11-16 15:21:54 +00:00
Tobias Fella
16c64ad67f Rename Controller.connection to activeConnection 2020-11-12 12:26:08 +01:00
Tobias Fella
3a70a9d91c Set all internal qml versions to 1.0
They're useless and anything else just causes problem
2020-11-11 20:14:43 +01:00
Tobias Fella
84c6bd24dd Remove AccountDetailDialog
It's unused and replaced by AccountsPage
2020-11-11 18:46:53 +01:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
b0700726f9 Add join room page 2020-11-10 17:08:13 +00:00
Carl Schwan
76e79b9dc4 Use an overlay sheet for user detail dialog 2020-11-09 18:04:02 +00:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00