summary refs log tree commit diff
path: root/src/timeline/TimelineModel.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow loading image only after explicit interactionsNicolas Werner2024-08-211-0/+1
|
* Make a few headers forward declarationsNicolas Werner2024-03-161-2/+3
|
* Add support for intentional mentionsNicolas Werner2024-03-081-1/+1
| | | | | | This is still a bit flaky around when to remove a mention, but it should work in most cases. Might add a toggle in the future to disable these though.
* Fix state event rendering for join rules and emojisNicolas Werner2023-11-281-1/+2
|
* Fix a few conversionsNicolas Werner2023-10-311-0/+1
|
* Merge pull request #1539 from Nheko-Reborn/issue1410DeepBlueV7.X2023-10-261-0/+2
|\ | | | | Add report message functionality
| * Add report message functionalityLoren Burkholder2023-10-251-0/+2
| |
* | Cleanup ignore user functionality slightlyNicolas Werner2023-10-241-6/+0
| |
* | Merge branch 'ignore-users' of github.com:NepNep21/nheko into ignore-usersNicolas Werner2023-10-231-0/+4
|\ \ | |/ |/|
| * RebaseNepNep212023-10-011-0/+4
| |
* | Fix typing notificationsNicolas Werner2023-10-091-7/+7
| |
* | Remaining events apart from verificationNicolas Werner2023-08-251-1/+2
| |
* | Get rid of redundant constructions and make room implicitNicolas Werner2023-08-251-0/+1
| |
* | Port state events and imagesNicolas Werner2023-08-251-5/+10
| |
* | Create an EventDelegateChooserNicolas Werner2023-08-251-0/+2
|/
* Merge remote-tracking branch 'origin/powerlevelsInTimeline'Nicolas Werner2023-08-101-0/+1
|\
| * Show an indicator in the timeline for mods and adminsLoren Burkholder2023-07-231-0/+1
| |
* | Add mark as read entry to the roomlist right-click menuLoren Burkholder2023-07-221-0/+2
|/
* Move to automatic type registrationNicolas Werner2023-06-191-0/+5
|
* Show some generic message for ACL changesNicolas Werner2023-06-101-0/+2
| | | | fixes #1476
* Use multidata in timeline modelNicolas Werner2023-06-081-0/+1
|
* Make Nheko compile on Qt6Nicolas Werner2023-06-081-2/+2
|
* Copy image to clipboardNicolas Werner2023-04-231-0/+1
| | | | Fixes #599
* Adapt to the new inherited variantNicolas Werner2023-04-111-1/+1
|
* Use the new mtxclient special effects refactoringLoren Burkholder2023-04-111-1/+1
|
* Add rainfall effectLoren Burkholder2023-04-081-1/+12
| | | | | This is a proof-of-concept example of inplementing a msgtype not found in the spec.
* Implement unknown msgtype functionalityLoren Burkholder2023-04-081-1/+2
|
* Get rid of year in license headersNicolas Werner2023-02-211-3/+1
| | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* Automatically fetch keys for undecrypted messages after verificationNicolas Werner2023-02-181-0/+2
| | | | | | | | Also fix rerendering edited messages after keys are received. fixes #1375 fixes #770 fixes #888
* Pause ParticleEmitter when not in use (#1284)Joseph Donofry2023-01-141-0/+1
| | | | | * Pause ParticleEmitter when not in use * Use timer instead to pause particle system
* There was always supposed to be a failed state for eventsNicolas Werner2023-01-121-0/+2
|
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
|
* Fix pagination after timeline clearNicolas Werner2023-01-021-1/+5
|
* Add a button to room the upgraded room in the timelineNicolas Werner2022-12-131-0/+1
|
* confetti (#1243)Loren Burkholder2022-12-101-0/+8
| | | * 🎉 (confetti) message support. Thanks @LorenDB !
* Continue fetching past messages when searchingNicolas Werner2022-11-031-0/+2
|
* Highlight higlight tweaks in the timelineNicolas Werner2022-11-011-0/+9
| | | | | fixes #400 fixes #1136
* Enable -WconversionNicolas Werner2022-10-261-1/+1
|
* VoIP v1 implementation (#1161)Rohit Sutradhar2022-10-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit for VoIP v1 implementation * Added draft of event handlers for voip methods * Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility * Added call events to the general message pipeline. Modified Call Reject mechanism * Added message delegates for new events. Modified hidden events. Updated handle events. * Updated implementation to keep track of calls on other devices * Fixed linting * Fixed code warnings * Fixed minor bugs * fixed ci * Added acceptNegotiation method definition when missing gstreamer * Fixed warnings * Fixed linting
* Evaluate push rules locallyNicolas Werner2022-10-131-0/+2
|
* Mark classes as final where possibleNicolas Werner2022-10-101-1/+1
|
* Add a slow way to search a roomNicolas Werner2022-10-061-3/+4
|
* cppcheck stuff (#1200)Loren Burkholder2022-10-031-2/+2
| | | | | | | | | | | | | | | * cppcheck stuff * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Fix linting Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
* Automatically switch to threading when replyingNicolas Werner2022-09-301-10/+1
|
* Basic threading supportNicolas Werner2022-09-301-3/+7
|
* Switch to clang-format14Nicolas Werner2022-09-251-1/+2
|
* Fix crash when deleting room summaryNicolas Werner2022-09-241-2/+2
| | | | | | | Since this is used across different threads, we have to delete it on the event loop. Thank you, q234rty, for the help with debugging this.
* Show the community of a roomNicolas Werner2022-09-201-0/+7
|
* Line to indicate first unread message (#1147)Hiers2022-09-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First draft of unread line feature. * Minor visual fix. * Removed unnecessary ternary operator. * Extended unread line functionality to work on minimised window or focusing another window. * Fix for unread line not showing when last read message is hidden. * Minor performance improvement. Fix for misbehaving event2order DB at application start. * Fix for possible performance issues when user has joined a large number of rooms. * Fix for breaking macos and clazy builds. * Changed on windows focus function to refresh unread line if room is unread. * Unread line is removed when user sends a message. * Linting. * Fixed unread line to work in standalone room windows. * Switch isRoomUnread for index 0. * Merged try/catch blocks. * Fix for crash on opening a room invite. * Call fullyReadEventId function when used instead of storing it and passing it through. * Function that was meant to sync the unread line was relying on an async function, oops. * Linting again. * More linting... * Minor changes.
* WIPNicolas Werner2022-07-151-2/+1
|
* Support rendering policy rulesNicolas Werner2022-07-091-0/+7
|
* Add a /command to redact all visible messages sent by a userNicolas Werner2022-07-011-0/+1
|
* Add copy link to room context menu (#1101)brausepulver2022-06-231-0/+3
|
* Remove a few more headersNicolas Werner2022-06-181-4/+2
|
* Fix compilation without implicit nlohmann conversionsNicolas Werner2022-06-171-1/+1
|
* Speedup startup by caching last message timestampNicolas Werner2022-06-151-1/+3
| | | | | | | | | | The cache is only approximate, i.e. it doesn't skip edits and similar, but this might be good enough? Also no migration right now. Speeds up startup by about 5x on my system. Half the startup time is now loading the powerlevels for each room. We can probably lazily load those too in the future.
* Add basic powerlevel editorNicolas Werner2022-05-271-0/+1
|
* Use right linterNicolas Werner2022-05-101-2/+1
|
* More image dialog fixesNicolas Werner2022-05-101-1/+2
|
* Show changes in image packs in timelineNicolas Werner2022-04-191-0/+1
|
* Add duration and resolution to filesNicolas Werner2022-03-211-0/+1
|
* Allow to specify reason for removed messagetastytea2022-03-061-1/+1
| | | | | | | | # Previous commits: # 5949173b Add function to force focus on InputDialog input field # 9482ac4e Allow explicit selection of SSO method # ab05e2d8 Mobile message input (#962) # 12a6da01 If you replace the txn id, replace a string the length of the txn id...
* Merge branch 'message-bubbles' of https://github.com/maltee1/nheko into ↵Nicolas Werner2022-02-141-0/+2
|\ | | | | | | maltee1-message-bubbles
| * add translations and actually add changes to TimelineModelMalte E2022-02-071-0/+2
| |
* | Hidden events: Refactor slightly for reusabilityNicolas Werner2022-02-121-0/+2
| |
* | Add /reset-state commandNicolas Werner2022-02-051-0/+3
| |
* | Show widgets as linksNicolas Werner2022-02-041-0/+5
|/
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
|
* Reserve size of some containers we are fillingNicolas Werner2021-12-291-0/+1
|
* Reduce allocations using QStringLiteralNicolas Werner2021-12-291-1/+1
|
* Misc clang-tidy fixesNicolas Werner2021-12-281-1/+0
|
* Fixup clang-tidy suggestionNicolas Werner2021-12-281-2/+3
|
* Run linterMTRNord2021-12-271-2/+3
|
* Apply (selective) Clang-tidy const function and new const pointer ↵MTRNord2021-12-231-5/+5
| | | | suggestions on TimelineModel
* Apply (selective) Clang-tidy move and some new detected const pointer ↵MTRNord2021-12-231-4/+4
| | | | suggestions on TimelineModel
* Apply (selective) Clang-tidy and clazy suggestions on TimelineModelMTRNord2021-12-231-25/+25
|
* Support pinned messagesNicolas Werner2021-12-111-0/+9
| | | | fixes #519
* Change QML UI for redactionsJoe Donofry2021-11-291-0/+2
|
* Fix redaction of edited messagesNicolas Werner2021-11-081-1/+1
|
* Change indentation to 4 spacesNicolas Werner2021-09-181-364/+363
|
* Add direct chat handling for previews and invitesLoren Burkholder2021-09-111-1/+1
|
* make lintLoren Burkholder2021-09-111-2/+2
|
* Use more descriptive property nameLoren Burkholder2021-09-111-3/+3
|
* Use better id loading methodologyLoren Burkholder2021-09-111-0/+3
|
* Get direct chat jdenticons to line upLoren Burkholder2021-09-111-0/+4
|
* Use in memory media player instead of storing unencrypted files on diskNicolas Werner2021-08-291-0/+9
|
* Allow accepting knocks in the timelineNicolas Werner2021-08-171-0/+2
| | | | As well as selecting more join rules.
* Show if there are unverified devices in a roomNicolas Werner2021-08-131-0/+3
| | | | | Also fixes some issues where nested transactions will poison the verification cache.
* Show encryption errors in qml and add request keys buttonNicolas Werner2021-08-071-0/+3
|
* Basic sticker pack editorNicolas Werner2021-08-061-1/+7
|
* QML the raw message dialogLoren Burkholder2021-07-311-2/+3
|
* Use a QSortFilterProxyModel instead of resetting the modelLoren Burkholder2021-07-291-1/+1
|
* QML the read receipts listLoren Burkholder2021-07-291-1/+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-7/+0
|
* Open room members when member info label clickedLoren Burkholder2021-07-211-1/+1
|
* Add property for plain room nameLoren Burkholder2021-07-201-0/+2
|
* Permissions only needs a roomid to functionLoren Burkholder2021-07-201-1/+1
|
* Make sure to use the default room id if none is specifiedLoren Burkholder2021-07-201-1/+1
|
* make lintLoren Burkholder2021-07-201-0/+3
|
* QML the invite dialogLoren Burkholder2021-07-201-0/+1
| | | | This also adds a property `roomId` to TimelineModel.
* QML the room member listLoren Burkholder2021-07-201-1/+4
|
* Explicitly reload data in delegates, if related events got loadedNicolas Werner2021-07-201-0/+3
|
* Basic sticker supportNicolas Werner2021-07-191-4/+11
|
* Fix replies not reloading after fetching themNicolas Werner2021-07-161-4/+1
|
* Don't use full dump for repliesNicolas Werner2021-07-121-0/+5
|
* Prepare for reuseItems in timelineNicolas Werner2021-07-121-3/+8
| | | | The actual reuseItems is still blocked on a few upstream bugs.
* Remove db bottleneck by caching ro txn for 100 requestsNicolas Werner2021-07-101-1/+4
|
* Add a basic 'Space page'Nicolas Werner2021-06-251-0/+3
|
* Hide spaces by default, unless they are in the current space filterNicolas Werner2021-06-251-3/+6
|
* Fix emoji in new RoomListNicolas Werner2021-05-221-0/+1
|
* Sort the room listNicolas Werner2021-05-221-1/+1
|
* Make roomlist look niceNicolas Werner2021-05-211-0/+14
|
* Show verification status next to messagesNicolas Werner2021-05-071-0/+1
|
* Only show actions, when you have permissions to do themNicolas Werner2021-05-021-0/+7
|
* Fix crash when you have no rooms and open the profile as well as not ↵Nicolas Werner2021-04-301-2/+1
| | | | rendering rooms without groups
* Copy link to messageNicolas Werner2021-04-291-0/+1
| | | | fixes #499
* Highlight navigated to messageNicolas Werner2021-04-291-0/+14
|
* move detection code to nheko namespace and fix a few other bugstargetakhil2021-04-171-3/+1
|
* remove unused function and set position to center of timeline viewtargetakhil2021-04-151-1/+0
|
* show forward menu item only for relevant events, changes to uitargetakhil2021-04-151-0/+1
|
* added basic forwardingtargetakhil2021-04-151-0/+4
|
* Update license headersNicolas Werner2021-03-051-0/+4
|
* Fix text input restoring after editsNicolas Werner2021-02-251-0/+2
|
* Allow editing via up and down arrowsNicolas Werner2021-02-241-0/+1
|
* Merge branch 'master' into room_settings_qmlAkhil Nair2021-02-141-2/+13
|\
| * Prevent edits of unsent messagesNicolas Werner2021-02-101-0/+3
| |
| * Fix stuck notifications because of editsNicolas Werner2021-02-101-1/+1
| | | | | | | | | | 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-8/+1
| | | | | | | | | | | | The UI still looks ugly, but I have no good idea atm. fixes #134
| * Display edits correctlyNicolas Werner2021-02-091-1/+16
| |
* | replaced with togglebutton using qtquickcontrols2Jedi182021-02-131-1/+1
| |
* | added changing of name through edit modal, removed old roomsettingsJedi182021-02-121-1/+1
| |
* | fix avatar update on timeline syncJedi182021-02-111-0/+3
|/
* Shifted fetching of global username fom timeline model to user profileJedi182021-01-291-1/+0
|
* Changed edit method from double clicking to an edit buttonJedi182021-01-281-0/+1
|
* update room specific username from userprofileJedi182021-01-271-1/+1
|
* Add "open in external program" actionrnhmjoj2021-01-241-0/+2
|
* Simplify section handling a bitNicolas Werner2021-01-191-1/+3
|
* Add file uploadingNicolas Werner2020-11-251-1/+1
|
* Pasteable textinputNicolas Werner2020-11-251-0/+5
|
* Clean up key requests + autoreloadNicolas Werner2020-10-201-0/+4
|
* Share code for sending encrypted olm messagesNicolas Werner2020-10-201-6/+0
|
* Merge remote-tracking branch 'origin/master' into cross-signingNicolas Werner2020-09-241-1/+13
|\
| * Fix null errors in qmlNicolas Werner2020-09-161-1/+0
| |
| * Reenable top bar room settings menus on avatar or title clicksNicolas Werner2020-09-161-0/+1
| | | | | | | | | | Also fixes a bug with an empty room settings window introduced in the port.
| * Port top bar to QmlNicolas Werner2020-09-161-0/+12
| | | | | | | | | | 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-6/+6
| | | | | | | | Don't send inbound session to self and claim and send all keys at once.
* | Merge remote-tracking branch 'upstream/master' into device-verificationCH Chethan Reddy2020-08-301-4/+16
|\|
| * Hide CallCandidates again in new storeNicolas Werner2020-08-171-0/+2
| |
| * Merge remote-tracking branch 'origin/master' into new-event-storeNicolas Werner2020-08-171-4/+15
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt io.github.NhekoReborn.Nheko.json src/Cache.cpp src/timeline/TimelineModel.cpp src/timeline/TimelineModel.h src/timeline/TimelineViewManager.cpp
| | * Specify call type on timelinetrilene2020-07-241-0/+1
| | |
| | * Support voice callstrilene2020-07-101-5/+16
| | |
| * | Add /clear-timeline commandNicolas Werner2020-08-091-0/+1
| | |
* | | [WIP] Room-Verification MessagesCH Chethan Reddy2020-08-091-10/+6
| | |
* | | Add Room Verification MessagesCH Chethan Reddy2020-07-301-0/+5
| | |
* | | Adding Room Key Verification StuffCH Chethan Reddy2020-07-301-0/+8
| | |
* | | Refactor UserProfileNicolas Werner2020-07-301-3/+7
|/ /
* | Fix reactionsNicolas Werner2020-07-201-0/+9
| |
* | Fix reaction displayNicolas Werner2020-07-191-1/+0
| |
* | Reenable sending messagesNicolas Werner2020-07-181-16/+4
| |
* | WIP: Event Store split outNicolas Werner2020-07-091-7/+6
|/
* Additional code cleanupJoseph Donofry2020-06-111-20/+0
|
* Merge master and fix conflictsJoseph Donofry2020-06-091-0/+1
|\
| * Added an optional feature to show bigger emoji-only messages with 3 or less ↵lkito2020-05-211-0/+1
| | | | | | | | emoji
* | Merge master into reactionsJoseph Donofry2020-05-141-0/+1
|\|
| * Add un-encrypted warning icon for messages in encrypted roomsJoseph Donofry2020-05-141-0/+1
| |
* | Add new QML-based emoji picker (work in progress)Joseph Donofry2020-05-131-2/+3
| | | | | | | | | | This is necessary to support having a picker within QML. Eventually, this should replace the existing widget-based one.
* | merge master into reactionsJoseph Donofry2020-05-071-1/+19
|/
* Fix reaction redaction for real this timeNicolas Werner2020-05-061-0/+2
|
* Basic, broken reaction displayNicolas Werner2020-05-041-0/+3
|
* Run linterLasath Fernando2020-04-301-3/+4
|
* Add visual indication that data is being fetchedLasath Fernando2020-04-291-1/+6
| | | | | 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.
* Change decrypt setting againJoseph Donofry2020-04-231-2/+3
|
* Change how decrypt value is retrieved from settingsJoseph Donofry2020-04-231-1/+2
|
* Add signal/slot for decryption changes in last patchJoseph Donofry2020-04-221-1/+1
|
* Add menu entry to show decrypted sourceNicolas Werner2020-04-211-0/+1
| | | | | Also make hidden entries not consume space in Menus with some qml styles.
* Try to fix messages getting stuck by sometimes sending them twice and never ↵Nicolas Werner2020-04-191-4/+1
| | | | failing them
* Fix reply not closingNicolas Werner2020-04-131-0/+21
| | | | fixes #124
* Better image overlay handling when downloadingAdasauce2020-03-201-1/+1
| | | | | | | | | | - 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
* Merge pull request #137 from Nheko-Reborn/blurhashDeepBlueV7.X2020-03-051-0/+1
|\ | | | | Experimental Blurhash support
| * Experimental blurhash implementation (MXC2448)Nicolas Werner2020-03-031-0/+1
| |
* | Add support for more room events in timelineAdasauce2020-03-031-4/+9
|/
* Reset user colors on theme change (in qml timeline)Nicolas Werner2020-02-201-2/+0
|
* Select first room on startupNicolas Werner2020-02-041-1/+3
|
* modernize: use nullptrNicolas Werner2020-02-041-1/+1
|
* Optimize includes a bitNicolas Werner2020-01-311-3/+5
|
* Show event type string in placeholderNicolas Werner2020-01-231-0/+1
|
* Implement display of membership eventsNicolas Werner2020-01-231-1/+2
|
* Move typing display to qmlNicolas Werner2020-01-171-0/+13
|
* Fetch missing events for repliesNicolas Werner2020-01-111-0/+2
|
* Implement fancy reply renderingNicolas Werner2020-01-111-0/+1
| | | | | | 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.
* Use fetchMore for native lazy loading of item model dataNicolas Werner2020-01-061-1/+3
|
* invert timelineNicolas Werner2020-01-061-0/+1
|
* Reduce includes of MatrixClient.h, as it is the most expensive headerNicolas Werner2019-12-151-7/+5
|
* Reduce some include of Cache.h since it needs 11s on averageNicolas Werner2019-12-141-1/+1
|
* Show topic and name changes in timelineNicolas Werner2019-12-101-0/+2
|
* Implement decryption of imagesNicolas Werner2019-12-031-0/+2
| | | | It is a bit of a hack, but it works...
* Add encrypted file downloadNicolas Werner2019-12-031-0/+3
|
* Add loading spinner and restore message send queueNicolas Werner2019-11-231-31/+10
|
* Remove old timelineNicolas Werner2019-11-231-0/+258