summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix redaction of edited messagesNicolas Werner2021-11-081-2/+34
|
* Move voip and encryption stuff into their own directoriesNicolas Werner2021-10-171-1/+1
|
* Change indentation to 4 spacesNicolas Werner2021-09-181-1590/+1545
|
* Improvements for linking to eventsThulinma2021-09-161-1/+15
| | | | | | - 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.
* Workaround for broken fetchMore() with reuseItemsNicolas Werner2021-09-151-0/+4
|
* Use more descriptive property nameLoren Burkholder2021-09-111-2/+2
|
* make lintLoren Burkholder2021-09-111-4/+3
|
* Use better id loading methodologyLoren Burkholder2021-09-111-0/+6
|
* Get direct chat jdenticons to line upLoren Burkholder2021-09-111-0/+13
|
* Don't allow images in username change messages and user completerNicolas Werner2021-09-091-1/+2
| | | | Sorry, no fun for you!
* Fix day separator when loading older messagesNicolas Werner2021-09-081-12/+7
| | | | fixes #632
* Allow accepting knocks in the timelineNicolas Werner2021-08-171-1/+65
| | | | As well as selecting more join rules.
* Allow downloading keys from key backupNicolas Werner2021-08-171-6/+4
|
* Show if there are unverified devices in a roomNicolas Werner2021-08-131-0/+17
| | | | | Also fixes some issues where nested transactions will poison the verification cache.
* fix sticker packs being uneditable in some roomsNicolas Werner2021-08-111-1/+1
|
* Show encryption errors in qml and add request keys buttonNicolas Werner2021-08-071-0/+16
|
* Basic sticker pack editorNicolas Werner2021-08-061-0/+9
|
* QML the raw message dialogLoren Burkholder2021-07-311-7/+4
|
* Use a QSortFilterProxyModel instead of resetting the modelLoren Burkholder2021-07-291-1/+1
|
* QML the read receipts listLoren Burkholder2021-07-291-2/+3
| | | | There are probably a few things wrong with this, but I'm going to call it good enough for an initial commit
* Move various room auxiliary functions to TimelineManagerLoren Burkholder2021-07-211-25/+0
|
* Open room members when member info label clickedLoren Burkholder2021-07-211-2/+2
|
* make lintLoren Burkholder2021-07-201-1/+2
|
* Add property for plain room nameLoren Burkholder2021-07-201-0/+3
|
* Clean up codeLoren Burkholder2021-07-201-3/+3
|
* Permissions only needs a roomid to functionLoren Burkholder2021-07-201-0/+1
|
* Make sure to use the default room id if none is specifiedLoren Burkholder2021-07-201-3/+3
|
* make lintLoren Burkholder2021-07-201-0/+10
|
* QML the room member listLoren Burkholder2021-07-201-2/+10
|
* Explicitly reload data in delegates, if related events got loadedNicolas Werner2021-07-201-0/+4
|
* Basic sticker supportNicolas Werner2021-07-191-0/+9
|
* Fix replies not reloading after fetching themNicolas Werner2021-07-161-0/+8
|
* Prepare for reuseItems in timelineNicolas Werner2021-07-121-10/+10
| | | | The actual reuseItems is still blocked on a few upstream bugs.
* Remove db bottleneck by caching ro txn for 100 requestsNicolas Werner2021-07-101-5/+7
|
* Update translationsNicolas Werner2021-07-021-1/+2
|
* Apply suggestions from code reviewStuart Mumford2021-06-251-1/+1
|
* Update src/timeline/TimelineModel.cppStuart Mumford2021-06-251-1/+1
|
* Add another regex to match inline img tags using single quotesStuart Mumford2021-06-251-0/+4
| | | | Signed-off-by: Stuart Mumford <stuart@cadair.com>
* Don't spam key requests directly after startupNicolas Werner2021-06-251-0/+6
|
* Add a basic 'Space page'Nicolas Werner2021-06-251-0/+8
|
* Hide spaces by default, unless they are in the current space filterNicolas Werner2021-06-251-0/+4
|
* fixup! Allow editing unsent messagesAlexander Bantyev2021-06-191-0/+2
|
* fixup! Allow editing unsent messagesAlexander Bantyev2021-06-191-0/+1
|
* fixup! Allow editing unsent messagesAlexander Bantyev2021-06-181-0/+3
|
* Allow editing unsent messagesAlexander Bantyev2021-06-181-7/+11
| | | | | | | | | | As of 0db4d71ec2483c7ac5a7b536737fee8fc53a76d7 (Prevent edits of unsent messages), messages that are edits of (or replies to) unsent messages were not allowed. This change was made because otherwise the edits were discarded due to use of txnid rather than mxid in the "m.relates_to" object. Remove this restriction and fix the issue by replacing txnid with mxid in all related events when the message is sent (and we obtain mxid from the server).
* Implement switching in narrow modeNicolas Werner2021-06-081-2/+0
|
* Try to get rid of an allocationNicolas Werner2021-05-301-2/+2
|
* Fix emoji in new RoomListNicolas Werner2021-05-221-0/+11
|
* Sort the room listNicolas Werner2021-05-221-0/+2
|
* Make roomlist look niceNicolas Werner2021-05-211-4/+26
|
* Mark unsent events as uneditableNicolas Werner2021-05-091-2/+4
| | | | fixes #574
* Show verification status next to messagesNicolas Werner2021-05-071-0/+16
|
* Only show actions, when you have permissions to do themNicolas Werner2021-05-021-2/+117
|
* Fix crash when you have no rooms and open the profile as well as not ↵Nicolas Werner2021-04-301-3/+3
| | | | rendering rooms without groups
* Copy link to messageNicolas Werner2021-04-291-0/+44
| | | | fixes #499
* Highlight navigated to messageNicolas Werner2021-04-291-0/+38
|
* Merge branch 'forward_message_feature' of https://github.com/Jedi18/nheko ↵Nicolas Werner2021-04-241-0/+10
|\ | | | | | | into Jedi18-forward_message_feature
| * move detection code to nheko namespace and fix a few other bugstargetakhil2021-04-171-1/+1
| |
| * remove unused function and set position to center of timeline viewtargetakhil2021-04-151-11/+0
| |
| * show forward menu item only for relevant events, changes to uitargetakhil2021-04-151-0/+11
| |
| * added basic forwardingtargetakhil2021-04-151-0/+10
| |
* | Escape html in topics and show line breaks in the settingsNicolas Werner2021-04-191-4/+9
| |
* | Fix display name referenced for incorrect event typesJoseph Donofry2021-04-181-3/+4
| |
* | change display name wordingtargetakhil2021-04-181-5/+8
|/
* Clean up notification code a bitNicolas Werner2021-03-171-24/+1
|
* Create function for processing whether a message is a replyLoren Burkholder2021-03-171-1/+1
|
* Don't send markdown links in bodyNicolas Werner2021-03-151-4/+26
| | | | fixes #422
* prepend file:// for linux and macostargetakhil2021-03-151-0/+8
|
* Disable room pings in repliesNicolas Werner2021-03-121-0/+2
|
* fix lintingNicolas Werner2021-03-051-16/+17
|
* Merge pull request #505 from Nheko-Reborn/license-headersDeepBlueV7.X2021-03-051-0/+4
|\ | | | | License headers
| * Update license headersNicolas Werner2021-03-051-0/+4
| |
* | Fix lintingJoseph Donofry2021-03-041-17/+16
|/
* Fix reply relating to the wrong id of edited eventNicolas Werner2021-03-031-1/+1
|
* Allow editing via up and down arrowsNicolas Werner2021-02-241-2/+21
|
* Merge pull request #474 from Jedi18/room_settings_qmlDeepBlueV7.X2021-02-191-0/+8
|\ | | | | Shifted Room Settings Dialog to QML
| * Merge branch 'master' into room_settings_qmlAkhil Nair2021-02-141-11/+88
| |\
| * | added changing of name through edit modal, removed old roomsettingsJedi182021-02-121-2/+2
| | |
| * | fix avatar update on timeline syncJedi182021-02-111-0/+8
| | |
* | | Make inline images work a bit betterNicolas Werner2021-02-171-2/+10
| | |
* | | Fix crash from logging unset indices (leftover after debugging)Nicolas Werner2021-02-171-5/+0
| |/ |/|
* | Mark messages as read, when Nheko gets focusedNicolas Werner2021-02-131-3/+3
| | | | | | | | fixes #235
* | Fix crash when editing an edited message pointing to itselfNicolas Werner2021-02-121-7/+9
| |
* | Prevent edits of unsent messagesNicolas Werner2021-02-101-0/+3
| |
* | Fix UI allowing edits of foreign messages in some casesNicolas Werner2021-02-101-4/+6
| |
* | Fix stuck notifications because of editsNicolas Werner2021-02-101-4/+19
| | | | | | | | | | Does not fix the read status yet, for that we need to compare read receipts for all events after the last visible event.
* | Implement message editingNicolas Werner2021-02-091-1/+23
| | | | | | | | | | | | The UI still looks ugly, but I have no good idea atm. fixes #134
* | Display edits correctlyNicolas Werner2021-02-091-3/+36
| |
* | Switch to new relations formatNicolas Werner2021-02-091-2/+2
|/
* add loading indicatorJedi182021-02-021-1/+1
|
* add error message and update avatars on avatar change in timeline and user ↵Jedi182021-02-021-1/+4
| | | | profile dialog
* made requeste changesJedi182021-01-291-5/+1
|
* Shifted fetching of global username fom timeline model to user profileJedi182021-01-291-14/+1
|
* fix lintingJedi182021-01-281-2/+2
|
* Changed edit method from double clicking to an edit buttonJedi182021-01-281-1/+18
|
* Username can be edited by double clicking on text, added global user profile ↵Jedi182021-01-281-1/+1
| | | | menu action in user info widget
* update room specific username from userprofileJedi182021-01-271-2/+2
|
* Add "open in external program" actionrnhmjoj2021-01-241-8/+31
|
* Fix font tags showing up in playable media messagesNicolas Werner2021-01-231-1/+2
|
* Simplify section handling a bitNicolas Werner2021-01-191-26/+20
|
* Make read markers a bit less confusingNicolas Werner2021-01-161-3/+4
|
* Fix call invite declined on another devicetrilene2021-01-101-1/+3
|
* Fix call answered on another devicetrilene2021-01-071-1/+6
|
* Fix some compiler warningsNicolas Werner2020-12-251-3/+3
|
* Properly share and rotate sessions on member and device changesNicolas Werner2020-11-301-74/+10
|
* Fix race when reading members from dbNicolas Werner2020-11-251-1/+4
|
* Send typing updates from QMLNicolas Werner2020-11-251-1/+0
|
* Basic text input in qmlNicolas Werner2020-11-251-1/+0
|
* Pasteable textinputNicolas Werner2020-11-251-0/+1
|
* Share code for sending encrypted olm messagesNicolas Werner2020-10-201-198/+25
|
* Store timestamp with olm sessionsNicolas Werner2020-10-201-1/+2
|
* Calculate verification status from cross-signing sigs and update dynamicallyNicolas Werner2020-10-081-1/+1
|
* Make steps in verification flow explicitNicolas Werner2020-10-051-2/+2
|
* Don't fail on missing key for a device and /rotate-megolm-session commandNicolas Werner2020-10-031-0/+6
|
* Merge remote-tracking branch 'origin/master' into cross-signingNicolas Werner2020-09-241-12/+70
|\
| * Fix null errors in qmlNicolas Werner2020-09-161-12/+6
| |
| * Port top bar to QmlNicolas Werner2020-09-161-0/+64
| | | | | | | | | | 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-109/+95
| | | | | | | | 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-17/+16
| |
* | Fix Wrong Emojis Issue in Room VerificationChethan2k12020-09-041-16/+17
| |
* | Add support for Encrypted to-device verification messagesCH Chethan Reddy2020-09-031-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into device-verificationCH Chethan Reddy2020-08-301-78/+157
|\|
| * Hide CallCandidates again in new storeNicolas Werner2020-08-171-1/+5
| |
| * Merge remote-tracking branch 'origin/master' into new-event-storeNicolas Werner2020-08-171-14/+110
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt io.github.NhekoReborn.Nheko.json src/Cache.cpp src/timeline/TimelineModel.cpp src/timeline/TimelineModel.h src/timeline/TimelineViewManager.cpp
| | * clang-formattrilene2020-08-011-2/+4
| | |
| | * Specify call type on timelinetrilene2020-07-241-0/+4
| | |
| | * Hide incoming CallCandidates in encrypted roomstrilene2020-07-141-0/+9
| | |
| | * Remove commentstrilene2020-07-131-2/+0
| | |
| | * Hide CallCandidates events from the timelinetrilene2020-07-131-1/+2
| | |
| | * Merge remote-tracking branch 'upstream/master' into voiptrilene2020-07-101-55/+79
| | |\
| | * | Support voice callstrilene2020-07-101-57/+148
| | | |
* | | | [WIP] Room Verification Works!CH Chethan Reddy2020-08-181-4/+3
| | | |
* | | | [WIP] Room-Verification MessagesCH Chethan Reddy2020-08-091-248/+85
| | | |
* | | | Add Room Verification MessagesCH Chethan Reddy2020-07-301-25/+120
| | | |
* | | | Adding Room Key Verification StuffCH Chethan Reddy2020-07-301-1/+186
| | | |
* | | | Refactor UserProfileNicolas Werner2020-07-301-2/+2
|/ / /
* | | Rename EventStore::event to get to remove ambiguity with QObject::eventNicolas Werner2020-07-261-17/+17
| | |
* | | Fix reactionsNicolas Werner2020-07-201-1/+2
| | |
* | | Fix reaction displayNicolas Werner2020-07-191-1/+2
| | |
* | | Fix reply scrollingNicolas Werner2020-07-181-2/+2
| | |
* | | Fix flickering of encrypted messages when sending using new storeNicolas Werner2020-07-181-8/+10
| | |
* | | Fix encryption indicatorNicolas Werner2020-07-181-3/+6
| | |
* | | Reenable sending messagesNicolas Werner2020-07-181-311/+53
| | |
* | | Readd pagination and fix redactionsNicolas Werner2020-07-131-29/+24
| | |
* | | Fetch missing eventsNicolas Werner2020-07-101-21/+0
| | |
* | | WIP: Event Store split outNicolas Werner2020-07-091-416/+253
| |/ |/|
* | Make connections across threads queued in any caseNicolas Werner2020-06-261-55/+79
|/
* Additional code cleanupJoseph Donofry2020-06-111-7/+0
|
* Merge master and fix conflictsJoseph Donofry2020-06-091-2/+22
|\
| * Remove some redundant functionsNicolas Werner2020-05-301-2/+2
| |
| * Fix some join messages showing as emptyNicolas Werner2020-05-261-0/+2
| |
| * Added an optional feature to show bigger emoji-only messages with 3 or less ↵lkito2020-05-211-0/+18
| | | | | | | | emoji
* | Fix crash when reacting to messages from /syncNicolas Werner2020-05-171-1/+1
| | | | | | | | Messages on /sync don't have a room_id
* | Fix local echo for reactionsNicolas Werner2020-05-161-1/+21
| |
* | Merge master into reactionsJoseph Donofry2020-05-141-1/+10
|\|
| * Add un-encrypted warning icon for messages in encrypted roomsJoseph Donofry2020-05-141-0/+5
| |
| * Show inline imagesNicolas Werner2020-05-141-0/+4
| | | | | | | | | | (This is such a hack and will probably break, but it works for now for most cases...)
| * Translation updatesNicolas Werner2020-05-101-1/+1
| |
* | Add new QML-based emoji picker (work in progress)Joseph Donofry2020-05-131-20/+18
| | | | | | | | | | This is necessary to support having a picker within QML. Eventually, this should replace the existing widget-based one.
* | Initial support for sending reactionsJoseph Donofry2020-05-091-4/+39
| |
* | merge master into reactionsJoseph Donofry2020-05-071-0/+7
|/
* Merge pull request #192 from Nheko-Reborn/reactionsDeepBlueV7.X2020-05-081-1/+37
|\ | | | | Reactions
| * Fix reaction redaction for real this timeNicolas Werner2020-05-061-0/+3
| |
| * Fix rooms with a lot of reactions not paginating correctlyNicolas Werner2020-05-061-1/+5
| |
| * Show displayname on reactionsNicolas Werner2020-05-061-1/+1
| |
| * Basic, broken reaction displayNicolas Werner2020-05-041-0/+29
| |
* | Fix messages being immediately read againNicolas Werner2020-05-061-2/+10
| |
* | Fix joined rooms dropping to the bottom at firstNicolas Werner2020-05-051-0/+27
|/
* Merge pull request #184 from shocklateboy92/features/backlog-progressDeepBlueV7.X2020-05-011-4/+16
|\ | | | | Add visual indication that data is being fetched
| * Add visual indication that data is being fetchedLasath Fernando2020-04-291-4/+16
| | | | | | | | | | This turns `paginationInProgress` field of `TimelineModel` into a `Q_PROPERTY`, so the Ui can bind to it. For the moment, I'm showing the same spinner as we do during initial sync. It's not ideal, on the count of being giant and in the middle but it's better than nothing. We can make it more subtle later.
* | Don't store pending receipts in cacheNicolas Werner2020-04-301-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | We don't get notified for every message. Sometimes we only get a read receipt for the newest message, which means old read receipts accumulate in the database. This least to some considerable CPU overhead, when checking if the timeline should be notified for new read receipts. Instead just always notify, since that has far less overhead in the worst case and doesn't need complicated cache cleanup. The old pending_receipts db is not removed for now. It should still have minimal storage overhead and we don't have a good mechanism for cache format upgrades atm.
* | Strip reply fallback from plain text bodyNicolas Werner2020-04-301-6/+16
|/
* Change decrypt setting againJoseph Donofry2020-04-231-9/+1
|
* Change how decrypt value is retrieved from settingsJoseph Donofry2020-04-231-0/+6
|
* Fix own messages not showing as encryptedNicolas Werner2020-04-231-7/+7
|
* Add signal/slot for decryption changes in last patchJoseph Donofry2020-04-221-0/+7
|
* Add ability to toggle sidebar messages for encrypted roomsJoseph Donofry2020-04-211-1/+6
|
* Add menu entry to show decrypted sourceNicolas Werner2020-04-211-0/+13
| | | | | Also make hidden entries not consume space in Menus with some qml styles.
* Fix own encrypted images not showing up after sendingNicolas Werner2020-04-211-0/+4
|
* Try to fix messages getting stuck by sometimes sending them twice and never ↵Nicolas Werner2020-04-191-19/+8
| | | | failing them
* Cache decrypted eventsNicolas Werner2020-04-141-2/+24
|
* Fix encrypted event indicatorNicolas Werner2020-04-141-5/+5
|
* Fix reply not closingNicolas Werner2020-04-131-2/+11
| | | | fixes #124
* Removed double-sanitization of ... is typing namesEmi Simpson2020-03-241-1/+1
|
* Better image overlay handling when downloadingAdasauce2020-03-201-2/+5
| | | | | | | | | | - hides the overlay when prompting for download location - cancel re-shows the dialog - success closes the overlay - would be nice to have a return code from the download fn in mtxclient. Closes #140
* Add periods to terminate non-user messages in the timelinePushpam Choudhary2020-03-131-14/+14
|
* Merge pull request #137 from Nheko-Reborn/blurhashDeepBlueV7.X2020-03-051-0/+4
|\ | | | | Experimental Blurhash support
| * Experimental blurhash implementation (MXC2448)Nicolas Werner2020-03-031-0/+4
| |
* | Add support for more room events in timelineAdasauce2020-03-031-21/+137
|/
* Reset user colors on theme change (in qml timeline)Nicolas Werner2020-02-201-13/+2
|
* Clear user colors on theme changeNicolas Werner2020-02-201-0/+3
|
* Paginationg != Paginating in debug messageAdasauce2020-02-171-1/+1
|
* Don't delete messages received out of order (fixup the flickering fix)Nicolas Werner2020-02-161-11/+1
|
* Try to fix flickering, if sync return event before send completesNicolas Werner2020-02-161-0/+14
|
* use QStandardPaths locations for all file dialogs.Adasauce2020-02-141-1/+2
|
* use the standard system download path for downloadsAdasauce2020-02-141-3/+5
| | | | | | | | | | | | | QFileDialog's dir arg (which was set to the incoming file name from the Matrix download) can take a full path to suggest. By prepending QStandardPaths::DownloadLocation, it opens to the system's download folder and proposes the filename as the download name. Using QStandardPaths should make this work on other platforms, and from what I read, its possible for this to return an empty string on platforms where it doesn't support it, so this should essentially revert to the previous functionality if Qt can't determine the system's download location.
* Fix <displaynames>Nicolas Werner2020-02-021-1/+1
|
* Fix newlines in plain text messages againNicolas Werner2020-01-271-1/+1
|
* Fix reply rendering without markdown in riotNicolas Werner2020-01-271-3/+20
|
* Add missing thread includeNicolas Werner2020-01-261-0/+1
|
* Show event type string in placeholderNicolas Werner2020-01-231-0/+11
|
* Implement display of membership eventsNicolas Werner2020-01-231-2/+100
|
* Fix colors in typing display, when username contains emojiNicolas Werner2020-01-211-3/+28
|
* Linkify links before sendingNicolas Werner2020-01-211-9/+8
|
* Move typing display to qmlNicolas Werner2020-01-171-0/+30
|
* Fix duplicate messages in timeline after sendingNicolas Werner2020-01-141-0/+11
|
* Escape blacklisted html tagsNicolas Werner2020-01-141-2/+2
|
* Fix replies in encrypted roomsNicolas Werner2020-01-131-4/+8
| | | | The relation needs to be unencrypted...
* Fetch missing events for repliesNicolas Werner2020-01-111-53/+96
|
* Implement fancy reply renderingNicolas Werner2020-01-111-3/+13
| | | | | | This currently assumes the event, that is replied to, is already fetched. If it isn't, it will render an empty reply. In the future we should fetch replies before rendering them.
* Simplify read message logic with inverted timelineNicolas Werner2020-01-061-1/+1
|
* Use fetchMore for native lazy loading of item model dataNicolas Werner2020-01-061-31/+44
|
* invert timelineNicolas Werner2020-01-061-12/+40
|
* Move visitors out of TimelineModelNicolas Werner2019-12-271-445/+144
|
* Reduce includes of MatrixClient.h, as it is the most expensive headerNicolas Werner2019-12-151-0/+10
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-12/+11
|
* Update to c++17Nicolas Werner2019-12-141-79/+78
|
* Fix preview of sent encrypted imagesNicolas Werner2019-12-131-10/+11
|
* Show topic and name changes in timelineNicolas Werner2019-12-101-0/+32
|
* Restore linkification of messagesNicolas Werner2019-12-061-2/+2
|
* Implement decryption of imagesNicolas Werner2019-12-031-0/+13
| | | | It is a bit of a hack, but it works...
* Add encrypted file downloadNicolas Werner2019-12-031-0/+184
|
* Show encryption enabled and use a non zero size for zero size videNicolas Werner2019-11-231-1/+4
|
* Only mark messages as read, when room is activeNicolas Werner2019-11-231-1/+2
|
* LintNicolas Werner2019-11-231-5/+3
|
* Fix replies to encrypted eventsNicolas Werner2019-11-231-1/+5
|
* Fix windows buildNicolas Werner2019-11-231-3/+5
| | | | No idea, why apply visitor doesn't work with temporaries?
* Add loading spinner and restore message send queueNicolas Werner2019-11-231-2/+95
|
* Show only messages in room listNicolas Werner2019-11-231-7/+30
|
* Remove old timelineNicolas Werner2019-11-231-0/+1220