Commit Graph

243 Commits

Author SHA1 Message Date
Nicolas Werner b75ef07896
Add basic support for multiple windows 2022-05-06 00:36:53 +02:00
Nicolas Werner f7ffaac63d
Fix PLs for DMs 2022-04-20 16:50:27 +02:00
Nicolas Werner 864b4b2646 Fix SSSS if another client used the wrong base64 format 2022-04-08 05:11:24 +02:00
Nicolas Werner f316dbed43 Fix a few issues with receiving to_device messages in initial sync 2022-04-08 03:24:10 +02:00
DeepBlueV7.X 747fe6408d
Merge pull request #1036 from Nheko-Reborn/fixCreateDirectChat
Don't treat a space as a direct chat
2022-04-03 01:17:42 +02:00
Loren Burkholder 3bb00aa96c Don't treat a space as a direct chat 2022-04-02 19:07:20 -04:00
Apurv404 9eddee75ca Fix room alias issue (#354) 2022-04-02 02:56:08 +05:30
Nicolas Werner 4e5e5d55eb
lint 2022-04-01 01:14:44 +02:00
Nicolas Werner 6f8babc80b
Allow knocking if join failed and via matrix uris 2022-04-01 00:58:01 +02:00
Nicolas Werner a59b3147a6
Add reasons to everything
fixes #1030
2022-03-30 23:40:12 +02:00
Nicolas Werner c91f91d5d3
Add /knock command 2022-03-30 21:15:22 +02:00
Nicolas Werner 6d1416fb6e
Add backend for new room creation dialogs 2022-03-29 20:51:18 +02:00
tastytea 083562a7d8
Add GUI for specifying kick/ban reason
This replaces the are-you-sure dialog and also shows up when using
/-commands.

Closes: https://github.com/Nheko-Reborn/nheko/issues/239

# Previous commits:
#   e390c398 Allow to specify reason for removed message
#   5949173b Add function to force focus on InputDialog input field
#   9482ac4e Allow explicit selection of SSO method
#   ab05e2d8 Mobile message input (#962)
2022-03-06 19:58:12 +01:00
Nicolas Werner f44d8e916b
Remove a few now unused files 2022-01-30 13:16:36 +01:00
Nicolas Werner c5c892b873
Remove unnecessary qml engine shutdown workaround 2022-01-29 17:41:14 +01:00
Nicolas Werner 573624a490
Remove some unused functions 2022-01-26 21:44:13 +01:00
Nicolas Werner aaae72a4f2
Fix focus and qml parenting with qml root 2022-01-26 21:44:13 +01:00
Nicolas Werner b106eafb0e
Initial qml root window 2022-01-26 21:44:13 +01:00
Ayushi Bisht 6aaaa777c6 Fixed a grammatical error 2022-01-18 12:42:50 +05:30
Nicolas Werner 61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner 9a9dbda571
Update presence dynamically and reduce allocations 2021-12-30 04:54:03 +01:00
Nicolas Werner 19dc6cadea
Reserve size of some containers we are filling 2021-12-29 06:01:38 +01:00
Nicolas Werner d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner bb290f9fec
Fix more warnings and remove dead code 2021-12-28 22:30:12 +01:00
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