James Graham
4af27f7609
Remove unneeded includes
2024-10-03 23:22:48 +01:00
Joshua Goins
d165cd955d
Use the new KConfig WindowStateSaver
...
This removes some NeoChat-specific code we have for saving/restoring the
window.
2024-09-06 08:21:06 +00:00
James Graham
05a2f03c18
Make use of the proposed new KColorScheme API
...
Make use of new API proposed in frameworks/kcolorscheme!12
2024-09-01 14:17:41 +00:00
Joshua Goins
d3908db2c9
Fix Carl's avatar in the about data
...
This is supposed to be a QUrl to catch the correct overload.
2024-07-26 07:41:21 +00:00
James Graham
408f0a12e2
Use new libquotient functionality to encrypt direct chats by default
...
Needs https://github.com/quotient-im/libQuotient/pull/730
2024-06-29 17:30:28 +02:00
Tobias Fella
47242aa66c
Remove remaining uses of MatrixImageProvider and remove it
2024-05-06 18:18:48 +02:00
Tobias Fella
affb911d97
Create QML module for chatbar
2024-04-25 23:02:59 +02:00
Tobias Fella
c3db90d2e3
Make DrKonqi work with NeoChat
2024-04-18 18:49:12 +02:00
Tobias Fella
3c4c538de8
Use declarative type registration for remaining types
2024-04-12 22:17:39 +02:00
Tobias Fella
21beeef920
Load Main qml component from module
2024-04-11 21:01:55 +02:00
James Graham
a4630a53fa
Create QML module for login
2024-04-11 18:56:08 +00:00
James Graham
0552c798fb
Create qml module for devtools
2024-04-01 10:58:29 +00:00
James Graham
ff5853a850
Create a QML module for settings
2024-03-26 13:23:43 +00:00
Tobias Fella
e07b876677
Add UI for entering key backup passphrase
2024-03-22 22:04:07 +01:00
James Graham
6f9a273d39
Timeline Module
...
Move all the timeline QML files into their own QML module. Having them all in the same location is annoying and hard to work with.
2024-03-18 18:39:59 +00:00
Joshua Goins
35b08d085c
Prevent collision between KUnifiedPush DBus and KRunner DBus
...
These share the same D-Bus service name (org.kde.neochat) which comes
with a fun little addition: KRunner activation! While this is not a
problem while NeoChat is running - since it's already registered - this
becomes an issue while searching for NeoChat in something like the
Kickoff. The Kickoff (and consequently, KRunner) tries to activate the
NeoChat D-Bus service which runs our unified push parts.
This introduces a "FakeRunner" which watches closely for calls to the
KRunner interface while we're in unified push mode (or directly called
from D-Bus but not running) so it quits immediately.
2024-03-15 18:41:04 +00:00
Tobias Fella
6947fbc12a
Add purpose plugin
...
Implements #182
2024-03-11 20:07:00 +01:00
Tobias Fella
bc67033c00
Adapt to QTP0001
2024-02-26 16:49:17 +01:00
Tobias Fella
6937a4b2fe
Quotient -> libQuotient
2024-02-20 18:42:13 +01:00
Tobias Fella
ecf93de006
Update copyright year
2024-01-11 18:21:44 +01:00
James Graham
27c9c62564
ResolveResource
...
Use ResolveResource rather than calling individual functions like visit user and room
2023-11-26 12:23:28 +00:00
Tobias Fella
5c32520c35
Add appium test for opening the user details sheet and fix some accessibility problems
2023-11-16 19:47:13 +01:00
Joshua Goins
d3148f8c8b
Don't start the entire NeoChat backend when receiving push notifications
...
This adds a dedicated "set up for push notifications only" function in
Controller, which only sets up the KUnifiedPush connector for receiving
the message and then quitting right afterward. If the user tries to
open a notification, then it will quit and open the main client.
2023-11-12 17:08:15 -05:00
Joshua Goins
41c2f9c4d5
Re-arrange main.cpp and add no gui option when DBus activated
...
We don't want the QML engine initialized at all when launching on
notifications, it'll be useless there.
2023-11-10 18:08:52 +00:00
Tobias Fella
1d95d5aa15
Fix Runner and MatrixImageProvider singletons
2023-11-05 14:35:28 +01:00
Carl Schwan
ff4cf86ea5
Add profile picture in about data
2023-11-05 12:17:26 +01:00
Joshua Goins
e3cf85aa8c
Yank "Qt5" out of the description for libQuotient
...
We aren't using thr Qt5 version anymore, and it's not really a point in
describing which exact Qt version we use with libQuotient in a user
facing string like this anyway.
2023-11-03 17:39:02 -04:00
Tobias Fella
f1b1b8ce53
Remove unused include
2023-10-30 21:29:44 +01:00
Laurent Montel
19adc7b9e5
GIT_SILENT: use KLocalizedString::setApplicationDomain(QByteArrayLiteral => saving one deep data copy
2023-10-25 08:25:27 +02:00
Tobias Fella
9dcb7b49fa
Use KColorScheme
2023-10-24 07:55:01 +00:00
Tobias Fella
dc409387bd
Remove check for libQuotient 0.8
2023-10-23 22:00:34 +02:00
Tobias Fella
925393deab
Add type registration for KeyVerificationSession
2023-09-29 19:26:41 +00:00
Tobias Fella
957419070a
Remove unused includes
2023-09-23 22:43:48 +02:00
Tobias Fella
3a4f71de7f
Port to declarative type registration
2023-09-23 14:05:50 +00:00
Tobias Fella
cee72b6d48
Remove Qt5 compatibility ifdefs
2023-09-13 11:16:02 +00:00
James Graham
2c6ab498ac
Event Handler
...
Similar to text handler, pull out the disparate array of functions which format information from an event ready for display in the UI and put in a handler class with a test suite.
requires https://github.com/quotient-im/libQuotient/pull/686
2023-09-07 19:02:50 +00:00
James Graham
56f5ef2611
MediaSizeHelper
...
Create a media size helper and use it to force video and images to be the correct size even in replies.
2023-09-02 16:43:05 +00:00
Tobias Fella
8ce5a57499
Remove type registration for RoomMessageEvent
2023-09-01 18:54:58 +00:00
Tobias Fella
8359c1fe90
Only set graphics API when using Qt6
2023-09-01 16:06:00 +00:00
Tobias Fella
370bbf8a4b
Set attributes for QtWebEngine
2023-09-01 11:34:33 +00:00
Laurent Montel
e28419ef88
Use isEmpty() here
2023-08-30 19:29:02 +02:00
Tobias Fella
e15bec2295
Introduce NeoChatConnection
...
Previously, some functions that conceptually belong to the connection needed to be in the Controller, since we didn't have a place to put them.
This fixes that by extending the Connection class in a similar way as we extend the Room class.
2023-08-29 20:14:44 +00:00
James Graham
442612d31d
Merge the functionality of CollapseStateProxyModel into MessageFilterModel
...
Merge the functionality of CollapseStateProxyModel into MessageFilterModel there is no need for a whole separate model the filters can be combined trivialy.
2023-08-28 10:31:18 +00:00
Tobias Fella
59164d3bb2
Implement account registration
...
Implements #7
2023-08-28 10:05:09 +00:00
Tobias Fella
ed033a1c5e
Raise compiler settings level to 5.105
2023-08-21 13:02:14 +02:00
Carl Schwan
6e8b0f001f
Add network cache
2023-08-15 15:33:46 +00:00
Tobias Fella
67453d9fb8
Remove ifdefs for E2EE
2023-08-07 21:15:11 +00:00
James Graham
25e0e3fa8e
Remove NeoChatUser and just use Quotient::User this simplifies things and avoids casting from one to the other which address santizer didn't like
2023-08-01 15:57:58 +00:00
Tobias Fella
13988da4fc
Add login appium test
2023-07-20 07:14:23 +00:00
Tobias Fella
b990e3fbcb
Stop using the AccountRegistry Singleton
2023-07-15 20:31:24 +00:00