Tobias Fella
c0151353c5
Add an option to hide images and videos by default
...
Implements #658
2024-08-26 17:42:29 +02:00
Tobias Fella
8da567d9fa
Don't run QtKeychain job in a nested event loop
...
Doing that causes deadlocks and there's no need for it here
2024-08-24 11:21:20 +02:00
Tobias Fella
d99f69cc24
Adapt to libQuotient API change
2024-08-24 11:03:28 +02:00
Tobias Fella
bd1d4289c0
Ensure that room list does not show rooms without title during startup
...
There's a brief moment during startup where the model knows about the rooms, but their state
is not loaded, which makes them show up in the room list with ugly fallback titles.
To prevent this, we delay closing the welcome page until the basestate is loaded.
2024-08-23 17:08:46 +02:00
James Graham
32fd62c484
Add option to reset all config values to their default
...
Closes network/neochat#504
2024-08-23 09:20:09 +00:00
Laurent Montel
46916b34d4
Remove duplicate headers from headers/cpp
2024-08-21 12:28:57 +00:00
Tobias Fella
5170854a2c
Add UI for importing and exporting megolm keys
2024-07-31 23:05:54 +02:00
Tobias Fella
3dd28a0382
Unconditionally use SSSS
2024-06-28 14:33:23 +02:00
Tobias Fella
fd8725f649
Add basic cross-signing support
...
(cherry picked from commit e1795076c8c41a34b91c31df35d1e344d0b14887)
2024-06-27 18:51:38 +02:00
Tobias Fella
3d433762b1
Fix ifs for ssss
2024-06-27 18:23:29 +02:00
Tobias Fella
a0c8bdf021
Make notifications more useful
...
- Refactor and cleanup code
- Don't paginate through notifications - it spams the server with requests and realistically only contains anything relevant on startup after a long time, in which case you're going to lose some notification anyway
- Only show newest notification for the respective room, closing the old notification if one exists
- Only show text of this notification
BUG: 475228
2024-06-12 21:28:09 +02:00
Tobias Fella
29972b5867
Port away from commitSingleShot
2024-06-08 15:43:16 +02:00
Tobias Fella
20908107a0
Remove unused includes
2024-05-05 21:21:43 +02:00
Tobias Fella
9bb89c728f
Move KUnifiedPush include to source file
2024-05-04 11:22:00 +02:00
Tobias Fella
be2e28cc53
Cleanup API
2024-05-04 11:17:45 +02:00
Tobias Fella
1e644587b3
Replace Quotient::Connection with NeoChatConnection where possible
2024-04-23 12:35:15 +02:00
Yuri Chornoivan
55caf84b94
Fix minor typos
2024-04-13 08:47:48 +03:00
James Graham
eaf4663c84
RoomManger connection
...
RoomManger should just get it's connection from Controller, no need to involve QML
2024-03-30 19:48:34 +00:00
James Graham
0f9eb4beeb
Fix logout current connection crash
...
Make sure that the neochat can handle switching connection when the current one is logged out. This is mostly about using QPointer to handle use after free issues due to room objects being deleted.
2024-03-27 15:25:24 +00:00
Tobias Fella
e07b876677
Add UI for entering key backup passphrase
2024-03-22 22:04:07 +01:00
James Graham
f557ceda19
Notification Consistency
...
Make sure that the new rules for counting notifications for muted, mention and low priority rooms is applied consistently to the room list, space drawer and the task manager notification badge
implements #644
2024-03-01 17:56:13 +00:00
Tobias Fella
5fb4838734
Improve push notification string
2024-02-20 20:50:17 +01:00
Tobias Fella
bac5fa8c14
Don't try setting up push notifications when there's no endpoint
2024-02-20 18:19:49 +01:00
Tobias Fella
b02bdd22dd
Allow dropping connections from the welcome page
...
This is the last piece required to make sure that we can recover from broken connections, e.g., when the access token is invalid.
2024-02-14 17:38:46 +01:00
Tobias Fella
4bd160cceb
Remove workaround for QTBUG 93281
...
Seems to no longer be required
2024-01-20 16:13:13 +00:00
Tobias Fella
981edc9cf7
Refactor proxy configuration and move to separate file
2024-01-13 17:39:56 +01:00
Tobias Fella
d45aa14348
Refactor some code around connection handling
2024-01-13 13:00:29 +00:00
Tobias Fella
5a6b0f756d
Remove broken network error checks
...
Fixes #529
2024-01-09 19:59:23 +01:00
Tobias Fella
63b6d7ebe0
Remove unused includes
2024-01-08 20:41:59 +01:00
Tobias Fella
b9ec33dd94
Remove activeConnection from Config
...
It's not used anymore
2024-01-07 21:25:55 +01:00
Tobias Fella
69bd1202ba
Remove another comment
2024-01-07 21:20:04 +01:00
Tobias Fella
f75c09e130
Remove comment
2024-01-07 21:19:25 +01:00
Tobias Fella
c10bcf1764
Move userConsentRequired to NeoChatConnection
2024-01-07 19:44:37 +01:00
Tobias Fella
9e2bf0da26
Port away from Controller::saveWindowGeometry
2024-01-07 19:39:18 +01:00
Tobias Fella
4c3d7ab011
Move Controller::toggleWindow to WindowController
2023-12-23 14:50:36 +00:00
Tobias Fella
d02eee6daa
Port away from and remove Controller::initiated
2023-12-23 13:39:41 +00:00
Tobias Fella
7694f6c464
Remove unused signal
2023-12-23 00:36:53 +01:00
Joshua Goins
3caa5ad2ed
Prevent KUnifiedPush-activated daemon from sticking around forever
...
Erroneous activations of the D-Bus service could cause the daemon to be
launched without any messageReceived signals being called (which then
hooks up the notifications to quit the app.) Now there's a five-second
timeout to prevent it from living too long.
2023-12-21 19:41:41 +00:00
Tobias Fella
c2641a5fc2
Cleanup error reporting
2023-12-03 14:39:31 +01:00
James Graham
201aa82c04
Remove controller::joinRoom
...
Remove controller::joinRoom in favour of using RoomManager::OpenResource
2023-11-25 15:07:15 +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
100f595026
Add handler for KUnifiedPush messageReceived events
2023-11-12 21:46:33 +00:00
Joshua Goins
15ba6d58e2
Only attempt to setup push notifications on the first syncDone
2023-11-12 15:53:15 -05:00
Tobias Fella
1312fde470
Cleanup code
2023-11-12 01:46:23 +01:00
Tobias Fella
7fe2feb1e4
Make NeoChat not shut down when disabling close-to-tray
2023-11-12 01:46:06 +01:00
Joshua Goins
ffa2d5dc0e
Fix push notification registration
...
Now it should regularly happen after login
2023-11-10 18:08:52 +00:00
Joshua Goins
d90298392d
Only run setupPushNotification once for new accounts
2023-11-10 18:08:52 +00:00
Joshua Goins
3fc125a798
Move push notification setup to NeoChatConnection
2023-11-10 18:08:52 +00:00
Joshua Goins
99f6778df4
Register for push notifications
...
This sets it up so the homeserver will give us push notifications, but
we aren't handling them yet.
2023-11-10 18:08:52 +00:00