summary refs log tree commit diff
path: root/src/ChatPage.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce allocations using QStringLiteralNicolas Werner2021-12-291-20/+20
|
* Fix more warnings and remove dead codeNicolas Werner2021-12-281-32/+27
|
* Some qt6 prepNicolas Werner2021-12-281-3/+2
|
* Misc clang-tidy fixesNicolas Werner2021-12-281-11/+11
|
* Fix crash when receiving matrix uriNicolas Werner2021-12-171-3/+4
| | | | | | | | 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
* Strip space chars from recovery passphraseNicolas Werner2021-12-151-1/+7
|
* Fix turnserver check not being started when restoring from cacheNicolas Werner2021-12-131-0/+1
|
* Cleanup error logging a bitNicolas Werner2021-11-291-30/+11
|
* Delete rooms even if we fail to leaveNicolas Werner2021-11-291-0/+10
|
* Mark rooms as direct chatsNicolas Werner2021-11-211-2/+2
| | | | | Either by accepting an invite or manually using /converttodm and revert with /converttoroom.
* Pretty error printingNicolas Werner2021-11-211-7/+1
|
* Add a filter for direct chatsNicolas Werner2021-11-201-6/+6
| | | | fixes #317
* Improve fetching of device keys after loginNicolas Werner2021-11-081-1/+3
|
* Fix self verification status never updatingNicolas Werner2021-11-071-0/+1
|
* Move away from using an event loop to access secretsNicolas Werner2021-11-071-57/+60
| | | | | | | | Fixes messages in room flickering and being stuck fixes #760 relates to #770 relates to #789
* Add self verification after loginNicolas Werner2021-10-301-1/+61
|
* Move voip and encryption stuff into their own directoriesNicolas Werner2021-10-171-3/+3
|
* Change indentation to 4 spacesNicolas Werner2021-09-181-1065/+1016
|
* Improvements for linking to eventsThulinma2021-09-161-10/+61
| | | | | | - 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.
* More profile improvements:Thulinma2021-09-081-1/+6
| | | | | | | | | - 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
* Add workaround for broken key countsNicolas Werner2021-09-061-0/+17
|
* Fix key count updates on conduitNicolas Werner2021-09-061-3/+40
|
* Conduit does not send count, if it didn't changeNicolas Werner2021-09-051-23/+22
|
* Make desktop alerting independent from notification support in the homeserver.Thulinma2021-09-031-8/+17
|
* Stop encrypting all sessions with secretNicolas Werner2021-08-311-5/+7
|
* cleanup QSettings usage a bitNicolas Werner2021-08-291-7/+6
|
* Fix all rooms being opened on startupNicolas Werner2021-08-171-1/+2
|
* Remove unneeded codeNicolas Werner2021-08-171-41/+1
|
* Allow downloading keys from key backupNicolas Werner2021-08-171-0/+100
|
* Remove some unused headersNicolas Werner2021-08-111-2/+0
|
* QML the read receipts listLoren Burkholder2021-07-291-1/+0
| | | | There are probably a few things wrong with this, but I'm going to call it good enough for an initial commit
* Fix SSSS unlock without a password setNicolas Werner2021-07-251-2/+9
| | | | fixes #657
* Fix edge case that could lead to no new one time keys being uploadedNicolas Werner2021-07-241-21/+23
|
* Clean up codeLoren Burkholder2021-07-201-28/+0
|
* make lintLoren Burkholder2021-07-201-23/+26
|
* make lintLoren Burkholder2021-07-201-25/+24
|
* QML the invite dialogLoren Burkholder2021-07-201-0/+28
| | | | This also adds a property `roomId` to TimelineModel.
* Store megolm session data in separate databaseNicolas Werner2021-07-171-3/+7
|
* Fix error message for /syncNicolas Werner2021-06-301-1/+1
|
* Use coeurl for networkingNicolas Werner2021-06-301-2/+2
| | | | | Something is still wrong on shutdown, need to debug that. And CI will fail.
* Fix use after free from Qml widgetNicolas Werner2021-05-301-0/+8
|
* Delete old room listNicolas Werner2021-05-281-280/+29
|
* Move currentRoom/timeline handling to roomlistNicolas Werner2021-05-281-4/+3
|
* Reenable invitesNicolas Werner2021-05-241-2/+2
|
* Make roomlist look niceNicolas Werner2021-05-211-5/+0
|
* Fix crash when you have no rooms and open the profile as well as not ↵Nicolas Werner2021-04-301-1/+4
| | | | rendering rooms without groups
* Highlight navigated to messageNicolas Werner2021-04-291-1/+6
|
* Move check for duplicate /sync responses to the same threadNicolas Werner2021-03-161-12/+12
|
* Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into ↵Nicolas Werner2021-03-131-13/+6
|\ | | | | | | Jedi18-quickswitcher_qml
| * remove old quick switcherJedi182021-02-241-13/+0
| |
| * enter key now works, fix room highlighting and add overlayJedi182021-02-231-0/+6
| |
* | Fix a few db access crashesNicolas Werner2021-03-121-5/+8
| |
* | Add config option to disable tls validationNicolas Werner2021-03-061-2/+12
| |
* | fix lintingNicolas Werner2021-03-051-10/+12
| |
* | Fix a few join confirmations too manyNicolas Werner2021-03-051-7/+10
| |
* | Merge pull request #505 from Nheko-Reborn/license-headersDeepBlueV7.X2021-03-051-16/+4
|\ \ | | | | | | License headers
| * | Update license headersNicolas Werner2021-03-051-16/+4
| | |
* | | Fix lintingJoseph Donofry2021-03-041-12/+10
|/ /
* | Don't ask to join joined rooms when clicking matrix uriNicolas Werner2021-03-011-2/+2
| |
* | navigate to newly created roomsJedi182021-02-251-2/+11
| |
* | Ensure we ask for confirmation when clicking on a matrix uriNicolas Werner2021-02-241-3/+17
|/
* Adapt to changes in MSC2312Nicolas Werner2021-02-171-7/+7
|
* Move notification parsing into postNotificationLoren Burkholder2021-02-131-17/+2
|
* Display notifications for emote messages properlyLoren Burkholder2021-02-131-1/+8
|
* make linttrilene2021-02-071-4/+3
|
* Don't attempt to begin group ""Loren Burkholder2021-02-041-3/+5
|
* Fix bug on logout of non-default profileLoren Burkholder2021-02-041-7/+5
|
* Merge remote-tracking branch 'nheko-im/master' into privacy_screenJoseph Donofry2021-02-011-7/+30
|\
| * made requeste changesJedi182021-01-291-1/+1
| |
| * fix lintingJedi182021-01-281-1/+1
| |
| * Username can be edited by double clicking on text, added global user profile ↵Jedi182021-01-281-0/+4
| | | | | | | | menu action in user info widget
| * Make matrix link chat invites direct chatsNicolas Werner2021-01-251-2/+4
| |
| * Allow users to hide rooms with specific tagsNicolas Werner2021-01-231-4/+21
| |
* | Implement Privacy ScreenJoseph Donofry2021-01-261-0/+2
|/ | | | | | * Add handles for window focus gained / focus lossed and connect to timer * Clean up some of the PrivacyScreen.qml code * Connect settings to PrivacyScreen visibility
* Fix kick translationNicolas Werner2021-01-181-1/+1
|
* Update German translationNicolas Werner2021-01-151-1/+1
|
* Allow joins via other servers from a matrix: uriNicolas Werner2021-01-111-4/+9
|
* Handle matrix schemeNicolas Werner2021-01-101-0/+140
| | | | | | Link opening only works on Linux for now. See https://github.com/matrix-org/matrix-doc/pull/2312
* Port PlaceCall dialog to Qmltrilene2021-01-071-1/+0
|
* Allow inline replies from notifications on linuxNicolas Werner2021-01-071-0/+8
|
* Fix some compiler warningsNicolas Werner2020-12-251-1/+1
|
* Add download keys from secret storageNicolas Werner2020-12-181-0/+53
|
* Store secrets in keychainNicolas Werner2020-12-161-6/+5
|
* Remove outbound session storageNicolas Werner2020-11-301-1/+0
|
* Remove unnecessary capture of thisNicolas Werner2020-11-261-3/+2
|
* Fix race when reading members from dbNicolas Werner2020-11-251-7/+8
|
* Remove old TextinputNicolas Werner2020-11-251-7/+0
|
* Send typing updates from QMLNicolas Werner2020-11-251-47/+0
|
* Move calls to new input barNicolas Werner2020-11-251-32/+0
|
* Add file uploadingNicolas Werner2020-11-251-120/+0
|
* Basic text input in qmlNicolas Werner2020-11-251-48/+0
|
* Merge remote-tracking branch 'upstream/master' into webrtc-videotrilene2020-10-281-113/+73
|\
| * Don't pass around empty timelineNicolas Werner2020-10-281-1/+1
| |
| * No roomid on leaveNicolas Werner2020-10-271-1/+1
| |
| * Optimize buildNicolas Werner2020-10-271-113/+72
| |
* | Fix crash on exittrilene2020-10-271-1/+0
| |
* | Merge remote-tracking branch 'upstream/master' into webrtc-videotrilene2020-10-271-19/+11
|\|
| * Merge pull request #306 from LorenDB/masterDeepBlueV7.X2020-10-241-14/+2
| |\ | | | | | | Add option for separate profiles
| | * Add option for unique configLorenDB2020-10-241-14/+2
| | |
| * | Trade CPU usage for 30MB of members in RAMNicolas Werner2020-10-221-2/+0
| |/
| * Clean up key requests + autoreloadNicolas Werner2020-10-201-0/+6
| |
| * Fix crash on exitNicolas Werner2020-10-171-3/+3
| |
* | Support video callstrilene2020-10-271-2/+5
|/
* Merge remote-tracking branch 'origin/master' into cross-signingNicolas Werner2020-10-081-8/+0
|\
| * Port ActiveCallBar to Qmltrilene2020-09-221-8/+0
| |
* | Don't fail on missing key for a device and /rotate-megolm-session commandNicolas Werner2020-10-031-0/+4
| |
* | Clean up verification and key cache a bitNicolas Werner2020-10-021-24/+32
| |
* | Merge remote-tracking branch 'origin/master' into cross-signingNicolas Werner2020-09-241-99/+33
|\|
| * Fix avatars in notificationsNicolas Werner2020-09-161-8/+16
| |
| * Reenable top bar room settings menus on avatar or title clicksNicolas Werner2020-09-161-0/+3
| | | | | | | | | | Also fixes a bug with an empty room settings window introduced in the port.
| * Port top bar to QmlNicolas Werner2020-09-161-91/+14
| | | | | | | | | | Also fixes some resize issues with stupid workarounds to our resize logic. This really needs to be cleaned up at some point!
* | Simplify outbound session setupNicolas Werner2020-09-201-5/+6
| | | | | | | | Don't send inbound session to self and claim and send all keys at once.
* | Split qml part of Device VerificationCH Chethan Reddy2020-09-141-6/+5
| |
* | Fix Wrong Emojis Issue in Room VerificationChethan2k12020-09-041-5/+6
| |
* | Merge remote-tracking branch 'upstream/master' into device-verificationCH Chethan Reddy2020-08-301-13/+106
|\|
| * Merge remote-tracking branch 'origin/master' into new-event-storeNicolas Werner2020-08-171-13/+101
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt io.github.NhekoReborn.Nheko.json src/Cache.cpp src/timeline/TimelineModel.cpp src/timeline/TimelineModel.h src/timeline/TimelineViewManager.cpp
| | * Add audio input device selectortrilene2020-08-051-0/+1
| | |
| | * Merge remote-tracking branch 'upstream/master' into voiptrilene2020-08-011-12/+44
| | |\
| | | * Warn before kicking,banning,inviting,etcNicolas Werner2020-07-161-12/+44
| | | |
| | * | clang-formattrilene2020-08-011-8/+7
| | | |
| | * | Improve TURN server retrievaltrilene2020-07-301-0/+2
| | | |
| | * | Remove references to video callstrilene2020-07-291-3/+0
| | | |
| | * | Handle ICE failuretrilene2020-07-261-9/+0
| | | |
| | * | Polish voice call UItrilene2020-07-221-12/+18
| | | |
| | * | Centre PlaceCall dialogtrilene2020-07-131-1/+2
| | | |
| | * | Merge remote-tracking branch 'upstream/master' into voiptrilene2020-07-101-7/+15
| | |\|
| | * | Support voice callstrilene2020-07-101-1/+60
| | | |
| * | | Add /clear-timeline commandNicolas Werner2020-08-091-0/+5
| | | |
* | | | Small FixesCH Chethan Reddy2020-08-291-3/+0
| | | |
* | | | Cache FixCH Chethan Reddy2020-08-241-0/+35
| | | |
* | | | [WIP] Room-Verification MessagesCH Chethan Reddy2020-08-091-6/+5
| | | |
* | | | Add DeviceVerificationList to keep track of all flows and Popup onCH Chethan Reddy2020-07-301-1/+1
| | | | | | | | | | | | | | | | recieving start or request
* | | | Handle Device Verification related to_device messagesChethan2k12020-07-301-0/+1
|/ / /
* | | Add workaround for duplicate syncsNicolas Werner2020-07-271-1/+8
| | |
* | | Fix room joinsNicolas Werner2020-07-201-7/+2
| | |
* | | Fix race condition between /messages and /syncNicolas Werner2020-07-181-34/+46
| | |
* | | Reenable sending messagesNicolas Werner2020-07-181-11/+9
| | |
* | | Readd pagination and fix redactionsNicolas Werner2020-07-131-30/+26
| | |
* | | Initialize Profile laterNicolas Werner2020-07-111-2/+2
| |/ |/|
* | Make connections across threads queued in any caseNicolas Werner2020-06-261-7/+15
|/
* Merge remote-tracking branch 'origin/master' into presenceJoseph Donofry2020-06-111-11/+18
|\
| * Add setting to alert on notificationAlexander 'z33ky' Hirsch2020-06-101-11/+18
| |
* | Fix small formatting errorNicolas Werner2020-06-091-1/+1
| |
* | Add menu actions to set presenceNicolas Werner2020-06-081-0/+18
| |
* | Show presence and set custom status messagesNicolas Werner2020-06-081-0/+20
|/
* Remove some redundant functionsNicolas Werner2020-05-301-2/+4
|
* Rename settings to be more consistentNicolas Werner2020-05-261-4/+4
|
* Add /roomnick commandNicolas Werner2020-05-181-0/+23
|
* Change the commit hash for mtxclientCH Chethan Reddy2020-05-151-1/+1
|
* minor fixesCH Chethan Reddy2020-05-151-3/+3
|
* Translation updatesNicolas Werner2020-05-101-2/+2
|
* Add SSONicolas Werner2020-05-091-2/+6
| | | | closes #94
* Fix joined rooms dropping to the bottom at firstNicolas Werner2020-05-051-2/+2
|
* Add support for db migrationsNicolas Werner2020-05-021-11/+29
|
* Send correct orientation for exif rotated imagesNicolas Werner2020-04-261-2/+2
|
* Only prune old messages every 500 syncsNicolas Werner2020-04-261-1/+7
|
* Fix double percent encoding of invitesNicolas Werner2020-04-241-2/+1
|
* Fix reply not closingNicolas Werner2020-04-131-23/+14
| | | | fixes #124
* Clear notifications when event is readNicolas Werner2020-04-111-0/+5
|
* Fix high CPU usage on 5XX error codesNicolas Werner2020-03-221-26/+5
|
* Fix avatar not being set for some rooms in the top barNicolas Werner2020-03-221-5/+2
|
* Made merge compatible with masterEmi Simpson2020-03-151-6/+5
|\
| * Reduce times we read upload dataNicolas Werner2020-03-081-6/+5
| |
* | Added toggle in the settings to ignore minor eventsEmi Simpson2020-03-151-1/+1
|/
* Speed up blurhash codeNicolas Werner2020-03-041-0/+2
|
* Experimental blurhash implementation (MXC2448)Nicolas Werner2020-03-031-32/+59
|
* Fix linter issueNicolas Werner2020-02-051-1/+4
|
* Make closing the reply popup actually clear the reply messageJoseph Donofry2020-02-041-0/+1
|
* Optimize includes a bitNicolas Werner2020-01-311-2/+2
|
* Add next/prev room shortcutsNicolas Werner2020-01-311-0/+12
|
* Enable ban and kick button in UserProfile (and try to fix centering)Nicolas Werner2020-01-301-81/+81
|
* Merge branch 'plain-text-messages' into 0.7.0-devNicolas Werner2020-01-291-10/+91
|\
| * Add command for invite,kick,ban and unbanNicolas Werner2020-01-291-9/+90
| |
| * Allow sending messages as plain textNicolas Werner2020-01-271-1/+1
| |
* | Add initial QML Reply PopupJoseph Donofry2020-01-271-0/+3
|/
* Move typing display to qmlNicolas Werner2020-01-171-53/+0
|
* Allow replying with an imageNicolas Werner2020-01-121-43/+46
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-44/+43
|
* Update to c++17Nicolas Werner2019-12-141-5/+5
|
* Send encrypted files as generic mimetype and actually set urlNicolas Werner2019-12-121-1/+4
|
* Implement sending encrypted filesNicolas Werner2019-12-051-162/+44
|
* Remove old timelineNicolas Werner2019-11-231-1/+1
|
* Reenable redactionsNicolas Werner2019-11-231-5/+0
|
* Rename initialize to sync, since it does the same thingNicolas Werner2019-11-231-2/+2
|
* Replace timeline with empty qml viewNicolas Werner2019-11-231-2/+2
|
* Try to reduce memory usage by reusing avatar pixmapsNicolas Werner2019-08-261-34/+4
|
* Fix build issues w/ clangJoseph Donofry2019-08-191-1/+1
|
* More updates to mentions functionalityJoseph Donofry2019-08-191-23/+4
|
* Fix issues with caching and loading of mentions.Joseph Donofry2019-08-121-26/+36
| | | | | | | Mentions are now loaded from the cache instead of directly from the web request. Mentions are also properly saved to the cache now (instead of as empty strings). Still lots of tweaks left on this feature.
* Fix linting issues w/ the last commitJoseph Donofry2019-08-091-2/+2
|
* Cache User MentionsJoseph Donofry2019-08-091-8/+21
| | | | | | | | | Cache user mentions when they are retrieved from the server. This logic currently isn't being utilized by the UI. Additionally, the app should use a 'since' value to only get mentions newer than those stored in the DB, to avoid excessive web requests. This will be implemented in a future commit.
* Update mentions dialogJoseph Donofry2019-07-281-3/+2
| | | | | | | | Mentions are now separated into 'this room' and 'all rooms' tab., which allows the user to filter on the current room if they desire. Should add additional logic in the future to show which room the mention was in the for the 'all rooms' view.
* Fix bug with emoji font setting and clean lintingJoseph Donofry2019-07-261-11/+11
|
* Update Mentions UIJoseph Donofry2019-07-211-8/+12
| | | | | | | | Mentions are now an '@' icon in the upper right. UI Popup is now a smaller dialog. Still lots of work to be done here.
* Fix linting issuesJoseph Donofry2019-07-161-19/+18
|
* Add User Mentions DialogJoseph Donofry2019-07-161-0/+52
| | | | | | | | | | | | Add a RoomListItem-like button that opens a dialog containing all of the messages that would result in a highlight from the server (for example, the user is mentioned, or @room is mentioned). This is VERY rudimentary and will be completely reworked in the future to take advantage of the existing TimelineView class, instead of using a dialog like it does now. The button to show the mentions also needs work.
* Further Improve Reply FunctionalityJoseph Donofry2019-06-131-2/+2
| | | | | | | Quoted replies now include matrix.to links for the event and the user. UI Rendering has been (slightly) improved... still very WIP. Restructured the reply structure in the code for future usability improvements.
* Add initial support for rich replies to nhekoJoseph Donofry2019-06-091-0/+5
|
* Merge branch 'ui-enhancements'redsky172019-02-071-3/+7
|\ | | | | | | Preparing for 0.6.3 release
| * Add unread notification color for user mentionedredsky172019-01-251-3/+7
| | | | | | | | | | | | When user is mentioned (via matrix 'highlight_count'), inactive rooms will use a different color for the notification circle than when only general unread messages exist.
* | escape id when joining a roomrnhmjoj2019-02-071-1/+2
|/
* Adjustments for the minimized sidebarKonstantinos Sideris2018-10-071-2/+3
|
* Remove room re-ordering optionKonstantinos Sideris2018-10-061-1/+1
|
* Display tags as sorting items in the community panel (#401)Victor Berger2018-09-281-0/+5
|
* Require login when the cache format changes (regression on #444)Konstantinos Sideris2018-09-211-3/+4
|
* Clean up unread rooms after initial syncKonstantinos Sideris2018-09-161-0/+2
|
* Mark unread rooms as such in the room listKonstantinos Sideris2018-09-131-0/+5
| | | | fixes #313
* Show sidebar after initial syncKonstantinos Sideris2018-09-081-1/+1
| | | | fixes #412
* Fallback to the login screen when the one-time keys cannot be uploadedKonstantinos Sideris2018-09-051-6/+13
|
* Retry initial sync on generic network errors (#422)Konstantinos Sideris2018-08-311-0/+6
|
* Handle some more edge cases in timelineKonstantinos Sideris2018-08-311-2/+8
|
* Fix a use-after-free error during logoutKonstantinos Sideris2018-08-311-18/+19
|
* Add temp fix to work with servers that don't support e2ee endpointsKonstantinos Sideris2018-08-301-0/+6
| | | | fixes #371
* Only call /sync when retrying initial sync (#422)Konstantinos Sideris2018-08-301-15/+22
|
* Add method to delete old messages periodicallyKonstantinos Sideris2018-08-251-0/+5
| | | | fixes #413
* Add option to disable desktop notificationsKonstantinos Sideris2018-08-111-1/+1
| | | | fixes #388
* Simplify dialog creationKonstantinos Sideris2018-08-111-43/+7
|
* Remove the reserved space gap for the typing notificationsKonstantinos Sideris2018-08-091-10/+9
|
* Lower the complexity of the group filtering algorithm (#380)Konstantinos Sideris2018-07-211-2/+2
| | | | | | | | The old algorithm during filtering will check every room if it's part of the group. O(N*G) The room ids for a group are now stored in a map for faster lookup so the search can be completed in a single pass. O(N)
* Mark own read messages with a double checkmark (#377)Konstantinos Sideris2018-07-171-0/+6
|
* Move all files under src/Konstantinos Sideris2018-07-171-0/+1347