Tobias Fella
53670f5e81
Use QtKeychain on Android
2021-03-15 19:03:13 +00:00
Arnav Rawat
b6787ae242
Allow the avatar to be changed
...
This Merge Request allows an avatar to be set through the userEditSheet
The parts in controller.cpp decode the url and check whether the image
is valid, through qimagereader.
2021-03-05 00:31:44 +00:00
Carl Schwan
481a2e3681
Don't show "Close in System Tray button" on Android
...
Fix #273
2021-02-26 14:15:33 +01:00
Tobias Fella
a7e61f0e20
Revert "Fix build failure"
...
This reverts commit ab8dabc280 .
2021-02-17 21:00:11 +00:00
Tobias Fella
0ca2eb4008
Add option to disable system tray integration
...
Implements #59
2021-02-13 19:18:28 +00:00
Tobias Fella
464c48540e
Improve first-run UX
...
- Replace LoginPage with step-by-step approach to support different login flows
- Implement login using SSO
2021-02-07 21:23:31 +00:00
Carl Schwan
6dcfad1f8d
Don't show login page when starting NeoChat
...
This was caused by us calling initiated to early. Only do it when no
accounts exists or that at least one account fails to login.
Fix #248
2021-02-06 00:16:30 +00:00
Nicolas Fella
92e00587f7
Use QSystemTrayIcon instead of KStatusNotifierItem
...
KSNI doesn't support Windows and macOS and we don't need any of the features it provides over QSystemTrayIcon
Also remove some dead code
2021-02-02 21:51:05 +00: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
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
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
Carl Schwan
8224d3ae9f
Save and restore window size
2020-12-30 13:19:16 +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
Carl Schwan
1f065e46cf
Simplify shortcuts code in hamburger menu
2020-12-28 12:35:50 +01: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
Tobias Fella
c449a8fafe
Apply clang-format
2020-12-25 22:23:35 +01:00
Carl Schwan
00e6584f84
Last icon fix
2020-12-17 10:28:54 +01:00
Tobias Fella
8e2cdc8f08
Implement a device management page
2020-12-16 23:37:49 +00:00
Tobias Fella
b33ee619db
Port away from deprecated API
2020-12-07 14:29:46 +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
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
29fe130f6d
Use standard Ctrl+Shift+Comma shortcut for showing settings
...
Fix : #42
2020-12-01 15:45:41 +01:00
Carl Schwan
136a8f2af8
Clang-tidy + clang-format
2020-11-27 00:26:39 +01:00
Aleix Pol
0906e0c680
Fix system tray, clean it up
...
At first I noticed it wasn't working like it should, then realised it
was using APIs that are largely unadvised. Also I saw there's some kind
of system to render numbers in there but this is also something we
generally do not do. There's better ways to display such information
(e.g. using the com.canonical.Unity interface), so I wouldn't bother
having ad-hoc code in there. And if we need to have it, we better have
it in KNotifications.
It now will also use the icon from the theme.
2020-11-24 13:57:00 +00:00
Tobias Fella
0b8db12543
Don't use trayicon on android
2020-11-23 00:03:49 +01:00
Carl Schwan
8f358b7680
Immediately display connect errors in the login page
...
This is using a Kirigami.InlineMessage component.
2020-11-22 11:02:56 +01:00
Carl Schwan
e6ed67b1a2
Support wellknow for autentification
...
Now kde.org is an alias to kde.modular.im
2020-11-19 15:52:04 +00:00
Tobias Fella
de183caefb
Apply clang-format
2020-11-17 20:25:18 +01:00
Tobias Fella
e2f6853258
Port away from QNetworkConfigurationmanager
2020-11-15 20:13:17 +00:00
Tobias Fella
16c64ad67f
Rename Controller.connection to activeConnection
2020-11-12 12:26:08 +01:00
Tobias Fella
26b2071e11
Handle revoked tokens better
2020-11-12 11:19:13 +00:00
Tobias Fella
79ee2e1279
Apply clang-format to rest of cpp
2020-11-12 11:07:36 +00:00
Tobias Fella
d8dde6e082
Add license headers to code files
2020-11-11 15:17:23 +00:00
Carl Schwan
122a7cdd2f
Rebrand files names Spectral -> NeoChat
2020-11-08 23:17:30 +01:00
Tobias Fella
c2c49c69fe
Code cleanup
2020-11-08 22:08:56 +01:00
Tobias Fella
cbeafddfd4
Add accounts management page
2020-11-08 18:12:14 +00:00
Nicolas Fella
ca97b8ddc3
Properly sort includes
2020-11-04 20:29:19 +01:00
Nicolas Fella
a08d017c02
Normalize includes
2020-11-04 20:25:52 +01:00
Tobias Fella
f7a218d6a5
Add AboutPage
2020-11-04 02:12:57 +00:00
Carl Schwan
8b3f89cf2e
Fix a bunch of clazy warnings
2020-11-03 15:15:16 +00:00
Tobias Fella
a4477d5211
Add basic android port
2020-11-03 16:06:28 +01:00
Carl Schwan
ce69506cf6
s/emit/Q_EMIT
2020-11-03 12:03:06 +01:00