Commit Graph

609 Commits

Author SHA1 Message Date
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
Carl Schwan
00e6584f84 Last icon fix 2020-12-17 10:28:54 +01:00
Carl Schwan
8312fdd08d Rename icon and set icon name explicitely
Fix #140
2020-12-17 10:03:21 +01:00
Carl Schwan
2b84c5dd02 Improve autocompletion 2020-12-17 08:57:50 +00:00
Tobias Fella
8e2cdc8f08 Implement a device management page 2020-12-16 23:37:49 +00:00
Carl Schwan
4e57e47def Merge branch '1.0' 2020-12-16 22:20:47 +01:00
Carl Schwan
80d428ff2c Fix sidebar and autocompletion not listing all members
This was because of lazy loadingn, now force the active room to be fully
loaded.
2020-12-16 22:19:38 +01:00
Tobias Fella
72fd647b7b Add 'quit' action to global menu
Implements #134
2020-12-12 23:38:13 +01:00
Carl Schwan
d646962ea1 Bump dependencies to libQuotient 0.7 (master) 2020-12-12 15:39:29 +01:00
Tobias Fella
03df042922 Remove old icons 2020-12-10 15:43:55 +01:00
Tobias Fella
b33ee619db Port away from deprecated API 2020-12-07 14:29:46 +01:00
Carl Schwan
87833a8458 Add an image editor 2020-12-07 09:58:03 +00:00
Carl Schwan
344dbb110d Fix a few issues with icons 2020-12-06 17:37:10 +01:00
Carl Schwan
7d8e344842 Remember active connection instead of loading first connection
Fix #122
2020-12-04 23:16:21 +01:00
Carl Schwan
7ed41a8f68 Move back to plain text 2020-12-04 21:25:23 +01:00
Tobias Fella
e1775f94c6 Make clicking on notifications open the room they're coming from
Implements #28
2020-12-03 13:52:04 +00:00
Carl Schwan
21cd37c21e Completely rework login job
Now .well-know is obsolete and also error message are correctly
displayed
2020-12-03 00:34:10 +01:00
Carl Schwan
8a3659efba Add option to toggle the display of users avatar in timeline on and off 2020-12-02 18:25:29 +01:00
Carl Schwan
ef56764a97 fix crash 2020-12-02 00:13:39 +01:00
Carl Schwan
372a60cec9 Remove loading forcing to load every room 2020-12-01 19:17:43 +01:00
Carl Schwan
29fe130f6d Use standard Ctrl+Shift+Comma shortcut for showing settings
Fix: #42
2020-12-01 15:45:41 +01:00
Carl Schwan
b62e694c97 Code style 2020-12-01 11:56:50 +01:00