Nicolas Werner
5ca98829f7
Some qt6 prep
2021-12-28 20:09:08 +01:00
Nicolas Werner
2866826356
Misc clang-tidy fixes
2021-12-28 19:12:15 +01:00
Nicolas Werner
09aded2bc8
Fix crash when receiving matrix uri
...
It seems like handling the message in a blocking manner is a no-go. I
have no idea how to fix that, so just use a queued connection for now...
(ASAN does not cooperate and just hides the crash D:)
fixes #842
2021-12-17 05:58:09 +01:00
Nicolas Werner
6d69248109
Strip space chars from recovery passphrase
2021-12-15 18:26:14 +01:00
Nicolas Werner
9b9d4bec70
Fix turnserver check not being started when restoring from cache
2021-12-13 18:32:54 +01:00
Nicolas Werner
6266c917c0
Cleanup error logging a bit
2021-11-29 06:20:43 +01:00
Nicolas Werner
6779f0e509
Delete rooms even if we fail to leave
2021-11-29 06:06:51 +01:00
Nicolas Werner
3d92e8ae60
Mark rooms as direct chats
...
Either by accepting an invite or manually using /converttodm and revert
with /converttoroom.
2021-11-21 06:13:45 +01:00
Nicolas Werner
4dc5b647c6
Pretty error printing
2021-11-21 06:10:24 +01:00
Nicolas Werner
5ef3250994
Add a filter for direct chats
...
fixes #317
2021-11-20 22:48:04 +01:00
Nicolas Werner
ff560a09f5
Improve fetching of device keys after login
2021-11-08 17:01:22 +01:00
Nicolas Werner
809be93e20
Fix self verification status never updating
2021-11-07 21:27:58 +01:00
Nicolas Werner
5ca1fb18bb
Move away from using an event loop to access secrets
...
Fixes messages in room flickering and being stuck
fixes #760
relates to #770
relates to #789
2021-11-07 03:52:57 +01:00
Nicolas Werner
5688b2647e
Add self verification after login
2021-10-30 00:23:07 +02:00
Nicolas Werner
550c80525a
Move voip and encryption stuff into their own directories
2021-10-17 17:18:14 +02:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces
2021-09-18 00:45:50 +02:00
Thulinma
1d5bf56cf9
Improvements for linking to events
...
- Fixes scrolling to an event not being reliable
- Adds new /goto command that can open URLs, go to events, or go to message indexes.
- Refactored ChatPage::handleMatrixUri() to contain the handling originally in Nheko::openLink(), and makes it return a boolean based on whether the URL was handled internally or not.
2021-09-16 02:17:07 +02:00
Thulinma
a39cb537ae
More profile improvements:
...
- Now scrolls entire profile instead of only device list, improving the experience on smaller screens
- Fixed centering of room name
- Allow profile to be sized smaller to match the new scrolling behavior
- Silenced warning about room being null for global profiles
- Matrix URLs now open global profiles instead of room-specific profiles if the user is not in the currently opened room
- Opening global profile from room specific profile now uses openGlobalUserProfile function instead of reinventing the wheel
2021-09-08 01:26:05 +02:00
Nicolas Werner
6490ee3a34
Add workaround for broken key counts
2021-09-06 00:32:09 +02:00
Nicolas Werner
70e20f5d10
Fix key count updates on conduit
2021-09-06 00:07:14 +02:00
Nicolas Werner
e035d1407a
Conduit does not send count, if it didn't change
2021-09-05 23:15:44 +02:00
Thulinma
6bd62f8283
Make desktop alerting independent from notification support in the homeserver.
2021-09-03 03:13:15 +02:00
Nicolas Werner
c80e253a24
Stop encrypting all sessions with secret
2021-08-31 04:06:51 +02:00
Nicolas Werner
47c7c4c777
cleanup QSettings usage a bit
2021-08-29 16:32:28 +02:00
Nicolas Werner
5287ba38f9
Fix all rooms being opened on startup
2021-08-17 19:00:00 +02:00
Nicolas Werner
7d62af7cda
Remove unneeded code
2021-08-17 09:59:13 +02:00
Nicolas Werner
56db0dbc7d
Allow downloading keys from key backup
2021-08-17 03:24:12 +02:00
Nicolas Werner
02b217d009
Remove some unused headers
2021-08-11 01:30:55 +02:00
Loren Burkholder
4dd994ae00
QML the read receipts list
...
There are probably a few things wrong with this, but I'm going to call it good enough for an initial commit
2021-07-29 21:07:16 -04:00
Nicolas Werner
f4e670d8d5
Fix SSSS unlock without a password set
...
fixes #657
2021-07-25 12:13:24 +02:00
Nicolas Werner
a61678242b
Fix edge case that could lead to no new one time keys being uploaded
2021-07-24 14:59:14 +02:00
Loren Burkholder
baa9dfe110
Clean up code
2021-07-20 21:47:46 -04:00
Loren Burkholder
d2d5229ede
make lint
2021-07-20 21:47:32 -04:00
Loren Burkholder
e1acf5d324
make lint
2021-07-20 21:47:22 -04:00
Loren Burkholder
6c57fa6c5b
QML the invite dialog
...
This also adds a property `roomId` to TimelineModel.
2021-07-20 21:47:22 -04:00
Nicolas Werner
9fadd14871
Store megolm session data in separate database
2021-07-17 01:27:37 +02:00
Nicolas Werner
2c307a4dee
Fix error message for /sync
2021-06-30 12:21:57 +02:00
Nicolas Werner
00f251753e
Use coeurl for networking
...
Something is still wrong on shutdown, need to debug that.
And CI will fail.
2021-06-30 02:43:36 +02:00
Nicolas Werner
18ff58edb3
Fix use after free from Qml widget
2021-05-30 00:23:57 +02:00
Nicolas Werner
03d30a2abc
Delete old room list
2021-05-28 23:25:57 +02:00
Nicolas Werner
298822baea
Move currentRoom/timeline handling to roomlist
2021-05-28 22:14:59 +02:00
Nicolas Werner
c290b0747f
Reenable invites
2021-05-24 14:04:07 +02:00
Nicolas Werner
cd67046f60
Make roomlist look nice
2021-05-21 21:19:03 +02:00
Nicolas Werner
986b561c34
Fix crash when you have no rooms and open the profile as well as not rendering rooms without groups
2021-04-30 15:33:17 +02:00
Nicolas Werner
82fa8ab292
Highlight navigated to message
2021-04-29 19:09:16 +02:00
Nicolas Werner
cc3d32c65e
Move check for duplicate /sync responses to the same thread
2021-03-16 21:01:14 +01:00
Nicolas Werner
7a356f3832
Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into Jedi18-quickswitcher_qml
2021-03-13 23:45:05 +01:00
Nicolas Werner
6ad4065de4
Fix a few db access crashes
2021-03-12 17:14:18 +01:00
Nicolas Werner
47e97d490c
Add config option to disable tls validation
2021-03-06 20:52:08 +01:00
Nicolas Werner
1be42045ee
fix linting
2021-03-05 15:26:07 +01:00