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
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
Tobias Fella
699ac3a8e6
Remove undefined function declarations
2024-08-10 10:35:38 +02:00
Tobias Fella
e11c97cdc0
Move NeoChatRoom::showMessage to Controller
...
It doesn't fit into NeoChatRoom conceptually
2024-07-07 13:44:55 +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
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
57be57971d
Remove unused include
2024-05-04 11:17:08 +02:00
Tobias Fella
1e644587b3
Replace Quotient::Connection with NeoChatConnection where possible
2024-04-23 12:35:15 +02: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
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
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
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
9ec3e5b2cc
Remove more unused signals
2023-12-23 00:45:00 +01:00
Tobias Fella
15d066b3ed
Remove unused variable
2023-12-23 00:39:08 +01:00
Tobias Fella
7694f6c464
Remove unused signal
2023-12-23 00:36:53 +01:00
Tobias Fella
c2641a5fc2
Cleanup error reporting
2023-12-03 14:39:31 +01:00
Tobias Fella
0521ff2c4d
Move PasswordStatus out of Controller
2023-12-03 14:09:41 +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
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
Tobias Fella
4ef44b8e93
Track online status per connection
2023-11-09 19:38:43 +01:00
Tobias Fella
7f9e709559
Improve initial active connection handling
...
If the last active connection is not reachable (server down, keychain problems,
token revoked, etc.), NeoChat currently fails to load at all, with the only fix
being to delete a line from the config file. This is surprisingly hard to fix with
a nice UX as long as we stick to the principle of loading the user's last active
connection automatically.
This patch thus drops that principle; instead, the user is always asked to choose
the connection to continue with.
2023-11-06 12:26:25 +00:00
Tobias Fella
6ba2b715c3
Port away from Controller::activeConnectionIndex
2023-11-05 21:03:04 +00:00
Tobias Fella
0e55c3b38f
Port some things away from Controller::activeConnection
2023-11-05 13:02:18 +00:00
Tobias Fella
4033f07272
Port away from custom format* QML functions
2023-10-31 14:56:52 +01:00
Tobias Fella
5df4fa297d
Move Controller::setBlur and Controller::hasWindowSystem to WindowController
2023-10-31 09:17:44 +00:00
Tobias Fella
33c5b418d2
Move Controller::openOrCreateDirectChat to NeoChatConnection
2023-10-31 09:16:59 +00:00
Tobias Fella
d4cb27eca4
Make singletons owned by the C++ side
2023-10-02 16:29:04 +00:00
Tobias Fella
3a4f71de7f
Port to declarative type registration
2023-09-23 14:05:50 +00:00
Tobias Fella
f7d2ffac66
Move Controller::createRoom and Controller::createSpace to NeoChatConnection
2023-09-11 17:55:52 +00:00
Tobias Fella
8baeb236bc
Remove unused signals in Controller
2023-09-03 11:32:59 +00:00
Tobias Fella
b9d173d0b5
Remove Controller::accountCount in favor of AccountRegistry::accountCount
2023-09-03 11:23:39 +00:00
Laurent Montel
167349b9d2
Remove unused forward declaration
2023-09-01 11:51:36 +02:00
Tobias Fella
002961f638
Move jobs to individual files
2023-08-30 21:10:56 +00:00
Tobias Fella
cfcc1756dd
Implement deactivating accounts
2023-08-29 22:38:32 +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
Tobias Leupold
c1604a9c4f
Trayicon tweaks
...
This fixes two minor inconveniences:
- When closing the chat window and re-showing it from the systray icon, the geometry was not properly restored. The window was always shown in the middle of the screen. Now, one gets the window back with it's actual last position and size.
- It is now possible to not only show the window from the systray icon, but also to close it. This is the way other chat programs do it (Kopete back in the day, Konversation, Quassel IRC etc.)
2023-08-22 20:58:04 +00:00
Tobias Fella
1b43846196
Remove obsolete quotientMinorVersion property
2023-08-14 18:05:14 +00:00
Tobias Fella
67453d9fb8
Remove ifdefs for E2EE
2023-08-07 21:15:11 +00:00