Nicolas Fella
c1d5883af9
Add missing semicolon
2021-01-27 20:09:45 +01:00
Nicolas Fella
e6f2b5ea7f
Don't use KDBusAddons on Windows
...
It's only used for KDBusService, which likely doesn't work properly on Windows
2021-01-27 15:36:55 +01:00
Nicolas Fella
9603811a6d
Add app icon for Windows
2021-01-27 14:51:10 +01:00
Tobias Fella
4894470e7d
Fix crash on name change events
2021-01-27 01:23:49 +01:00
Nicolas Fella
8e6d1a8ea2
Fix warning
2021-01-26 17:35:02 +01:00
Nicolas Fella
c2b388d553
Use breeze QStyle on Windows
...
On Windows we want to use qqc2-desktop-style together with the Breeze QStyle instead of the default QStyle
2021-01-26 16:08:47 +01: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
6f7f0e025d
Fix showing user's displayName instead of mxid in roomlist delegate subtitles
2021-01-18 22:27:14 +01:00
Tobias Fella
fe1e3ee374
Remove markdown links from 'body' of messages
...
- Markdown is not in the matrix spec
- Clients use the 'body' text for things like notifications, which render these links as plain text
2021-01-17 01:54:41 +01:00
Tobias Fella
a653be8be8
Load serverAddress using QUrl::fromUserInput()
...
Fixes login when 'https://' is not added to the server url
2021-01-17 01:32:03 +01:00
Carl Schwan
7762f5f5ae
Don't load events if not needed
2021-01-14 21:11:05 +00:00
Carl Schwan
1abc28ad7f
Make sure we load events when opening a room
2021-01-14 20:53:11 +00:00
Carl Schwan
3ebda274ef
Fix broken name
2021-01-13 23:15:48 +00:00
Carl Schwan
eff8c08ccf
Add launcher badge to NeoChat showing the unread count
2021-01-13 20:14:51 +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
Yuri Chornoivan
a82b9dc14e
Fix minor typos
2021-01-09 09:19:11 +02: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
Carl Schwan
2e0096380f
Fix NeoChat not syncing
...
This problem was caused because addConnection was starting the sync
proccess unfortunally because the user wasn't connected this aborted
almost immediately and then the sync proccess wouldn't run at all.
Now start the sync proccess after making sure we are connected.
Fix #228
2021-01-08 21:42:07 +01:00
Carl Schwan
ca5f95b298
Handle non-consistent configuration
2021-01-08 21:26:56 +01:00
Carl Schwan
f6ac8ccb45
Improve timeline state event text representation
...
Change are inspired by Quatermion model
* Fix invite events not getting displayed correctly
* Add some options to control what get displayed (for the moment without
a GUI
* Show reason for a state event if it exists
2021-01-08 17:18:48 +00:00
Carl Schwan
249054b57f
Fix initial loading of room
2021-01-08 17:17:52 +00:00
Nate Graham
ab8dabc280
Fix build failure
...
isJobRunning() -> isJobPending()
2021-01-08 07:35:29 -07:00
Noah Davis
50d8bd5b7e
Add FileType singleton
...
This singleton is used to get the mimetype info for files as well as supported formats for Images and AnimatedImages
2021-01-04 13:58:34 -05:00
Mathew Broady
f232c40955
Remove unused "parent" parameter warning for DevicesModel::rowCount()
2021-01-02 15:47:01 +11:00
Carl Schwan
8224d3ae9f
Save and restore window size
2020-12-30 13:19:16 +00:00
Carl Schwan
4463e3e3f2
Add edited flag to edited messages
...
Fix #206
2020-12-30 13:17:59 +00:00
Tobias Fella
e6b97e3350
Fix accountCount not updating correctly
2020-12-30 13:17:22 +00:00
Tobias Fella
2c1cbc91d8
Fix active connection not loading on startup
2020-12-30 13:17:22 +00:00
Tobias Fella
bd00a73aa9
Ask for consent to terms and conditions if required
2020-12-30 13:17:14 +00:00
Nicolas Fella
88cc972edc
Build with QT_NO_KEYWORDS
2020-12-29 14:28:49 +00:00
Carl Schwan
5c8d916752
Add support for stickers
...
Fix #130
2020-12-29 14:28:32 +00:00
Tobias Fella
494e6dca42
Android: Add missing icons
2020-12-28 15:40:26 +01:00
Carl Schwan
1f065e46cf
Simplify shortcuts code in hamburger menu
2020-12-28 12:35:50 +01:00
Carl Schwan
c69d3587ba
Allow editing text and also hide edits from the timeline
2020-12-28 09:37:17 +00:00
Tobias Fella
0fe0f45944
Fix segfault/assert when logging out of account
2020-12-28 00:07:37 +00:00
Nicolas Fella
a52dbb0042
Remove modules from Qt includes
2020-12-28 00:36:17 +01:00
Nicolas Fella
6a1fd3ff31
Don't call stopSync when destroying controller
...
Connection does that internally already
2020-12-28 00:31:10 +01:00
Tobias Fella
3858956e82
Fix login for homeservers without well-known
2020-12-27 23:36:35 +01:00
Carl Schwan
dce3b796c2
Don't translate something we shouldn't
2020-12-26 15:58:57 +00:00
Tobias Fella
c449a8fafe
Apply clang-format
2020-12-25 22:23:35 +01:00
Nicolas Fella
57e05e2114
Default to org.kde.desktop QQC2 style
...
plasma-integration does that for us, but that obviously doesn't work for non-Plasma desktops.
2020-12-24 00:15:37 +01:00
Mathew Broady
a1b66f3aa6
Switch to newDisplayName() and newAvatarUrl()
...
Removes build warnings that these are deprecated.
See libQuotient commit f4db6988bf2fd71f74ac851557d82c6f65cc89b1
for more details.
2020-12-23 12:30:11 +11:00
Mathew Broady
f65b494422
Use room avatar if message sender does not have an avatar
2020-12-22 09:36:58 +11:00
Mathew Broady
74c6cc928b
Use user icon instead of room icon for notifications
2020-12-22 09:36:21 +11:00
Mathew Broady
44da1ca1bf
Use consistent capitalisation for postNotification's roomName
2020-12-21 11:08:33 +00:00
Mathew Broady
6a4b1983a1
Remove unused eventId() argument to postNotification()
2020-12-21 11:08:33 +00:00
Tobias Fella
af65884094
CMake cleanup
...
KQuickImageEditor is required, no need to check if it's found
2020-12-20 18:09:30 +01:00
Carl Schwan
6e659c853b
Add special font configuration for flatpak
2020-12-17 13:35:40 +01:00