summary refs log tree commit diff
path: root/src/timeline (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make default completer complete custom emojiNicolas Werner2023-05-251-17/+1
|
* Make emoji picker use the grid viewNicolas Werner2023-05-251-0/+3
|
* Add rows to stickerpickerNicolas Werner2023-05-203-16/+32
|
* Allow picking multiple files to uploadSateallia2023-04-251-4/+5
|
* Copy image to clipboardNicolas Werner2023-04-235-2/+91
| | | | Fixes #599
* Setting case insensitive sort is not necessaryNicolas Werner2023-04-141-1/+0
|
* Optimize alphabetical sorting a bitNicolas Werner2023-04-141-9/+8
| | | | fixes #1272
* Alphabetical ordering optionSateallia2023-04-142-8/+30
|
* Adapt to the new inherited variantNicolas Werner2023-04-117-49/+48
|
* Update mtxclient commit hashLoren Burkholder2023-04-111-2/+1
|
* Use the new mtxclient special effects refactoringLoren Burkholder2023-04-113-18/+31
|
* Don't bother with rainbow rainLoren Burkholder2023-04-082-7/+4
|
* Don't allow rainbowifying custom messagesLoren Burkholder2023-04-082-4/+4
|
* Fix command nameLoren Burkholder2023-04-081-1/+1
|
* Allow sending custom msgtypesLoren Burkholder2023-04-082-0/+28
|
* Add rainfall effectLoren Burkholder2023-04-084-9/+79
| | | | | This is a proof-of-concept example of inplementing a msgtype not found in the spec.
* Implement unknown msgtype functionalityLoren Burkholder2023-04-082-4/+16
|
* Try to reset unread marker if we fail to set it on the serverNicolas Werner2023-04-051-3/+7
|
* Fix switching between thread showing stale messages in some circumstancesNicolas Werner2023-04-041-0/+2
|
* Get rid of an edge case, that can break paginationNicolas Werner2023-04-041-2/+1
|
* Fix explicit optional construction on gcc13Nicolas Werner2023-03-241-1/+1
|
* Merge pull request #1404 from LcsTen/dont-show-private-rooms-in-spaceDeepBlueV7.X2023-03-182-2/+15
|\ | | | | Don't show inaccessible private rooms in spaces
| * Check isPreviewFetched property for hintsLcsTen2023-03-182-1/+5
| |
| * Show an appropriate hint if the room is inaccessibleLcsTen2023-03-111-1/+1
| |
| * Don't show inaccessible private rooms in spacesLcsTen2023-03-111-0/+9
| |
* | Speed up processing UI changes with large syncsNicolas Werner2023-03-141-14/+44
|/
* Merge pull request #1388 from Nheko-Reborn/commandDeepBlueV7.X2023-03-102-26/+112
|\ | | | | Warn if an invalid command is entered
| * Handle incomplete commands betterLoren Burkholder2023-03-072-12/+24
| |
| * make lintLoren Burkholder2023-03-011-36/+36
| |
| * Use QSet<QString> instead of QStringListLoren Burkholder2023-03-011-1/+1
| |
| * Fix some nitpicksLoren Burkholder2023-03-012-53/+58
| |
| * Simplify code a bitLoren Burkholder2023-02-281-2/+1
| |
| * Move command calculation logic into InputBarLoren Burkholder2023-02-282-21/+89
| |
| * Show warning when invalid command is enteredLoren Burkholder2023-02-281-0/+2
| | | | | | | | | | | | Fixes #1363 Please note that this doesn't prompt when you try to send a message with a bad command.
* | Merge pull request #1394 from Nheko-Reborn/uiTweaksDeepBlueV7.X2023-03-091-1/+1
|\ \ | | | | | | Some small UI changes
| * | Always open the invite dialog properly from the member listLoren Burkholder2023-02-281-1/+1
| |/
* / Fix avatar change being rendered as a joinNicolas Werner2023-03-091-5/+16
|/
* Delete some unneeded stuffLoren Burkholder2023-02-231-3/+0
|
* Dedup reactionsNicolas Werner2023-02-221-6/+4
|
* Get rid of year in license headersNicolas Werner2023-02-2122-64/+22
| | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* Fix forwarding stickersNicolas Werner2023-02-201-3/+4
| | | | fixes #1182
* More template bloat reductionNicolas Werner2023-02-203-100/+111
|
* Automatically fetch keys for undecrypted messages after verificationNicolas Werner2023-02-185-3/+43
| | | | | | | | Also fix rerendering edited messages after keys are received. fixes #1375 fixes #770 fixes #888
* Fix edits in other clients jumping out of threadsNicolas Werner2023-02-181-5/+9
| | | | fixes #1373
* Make notifications show the window againNicolas Werner2023-02-011-1/+5
| | | | fixes #1329
* Make single newlines cause a <br> by defaultNicolas Werner2023-01-312-0/+11
| | | | | | | | | | | | This should match what people expect from a chat application much better. The biggest reason not to do this, is because some people might paste markdown documents. For those people there is now a /cmark command, which disables most of our extensions to cmark, including the newline behaviour. There is a long discussion on the Fediverse and on Github linked below. Mastodon https://fosstodon.org/@deepbluev7/109771668066978726 fixes #757
* Make newline behave consistently in markdown modeNicolas Werner2023-01-281-1/+5
| | | | by always sending as formatted when a newline is in the body
* Pause ParticleEmitter when not in use (#1284)Joseph Donofry2023-01-142-0/+2
| | | | | * 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-122-4/+11
|
* Try to make clang-format happyNicolas Werner2023-01-091-1/+1
|
* Document Safari workaroundNicolas Werner2023-01-091-1/+4
|
* Possibly fix paste from SafariNicolas Werner2023-01-091-1/+7
|
* Navigate to space when room is selectedNicolas Werner2023-01-074-0/+11
| | | | fixes #1260
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-0222-0/+22
|
* Fix pagination after timeline clearNicolas Werner2023-01-022-1/+8
|
* Skip notifying for your own messagesNicolas Werner2022-12-281-0/+5
|
* Fix state reset commandNicolas Werner2022-12-271-1/+1
|
* Show invite reason in the UI (hidden by default)Nicolas Werner2022-12-272-1/+17
|
* Fix formatting issuesJoseph Donofry2022-12-201-1/+2
|
* Add 'clear' button to search bar and implement search indicator via spinnerJoseph Donofry2022-12-202-0/+12
|
* Make unfiltered messages hidden by defaultNicolas Werner2022-12-191-17/+25
|
* Fix searching more past againNicolas Werner2022-12-191-4/+9
|
* Fix searching past the endNicolas Werner2022-12-191-1/+6
|
* Add some documentation for how the background filtering worksNicolas Werner2022-12-191-0/+14
|
* Make searching incremental to allow some userinteraction stillNicolas Werner2022-12-192-6/+85
|
* Add a button to room the upgraded room in the timelineNicolas Werner2022-12-132-1/+27
|
* confetti (#1243)Loren Burkholder2022-12-104-2/+69
| | | * 🎉 (confetti) message support. Thanks @LorenDB !
* Properly check for target room encryptionNicolas Werner2022-12-071-1/+2
|
* Implement MSC3664, pushrules for related eventsNicolas Werner2022-12-051-1/+12
|
* Fix stack overflow when filtering timelineNicolas Werner2022-11-222-3/+5
|
* Fix crash in slash completerNicolas Werner2022-11-091-2/+2
|
* Implement a completer for commandsNicolas Werner2022-11-091-0/+6
| | | | fixes #429
* Continue fetching past messages when searchingNicolas Werner2022-11-035-8/+42
|
* Highlight higlight tweaks in the timelineNicolas Werner2022-11-012-0/+30
| | | | | fixes #400 fixes #1136
* Enable -WconversionNicolas Werner2022-10-264-11/+12
|
* Fix previews getting sorted above normal roomsNicolas Werner2022-10-221-3/+3
|
* Fix excessive summary callsNicolas Werner2022-10-201-0/+1
|
* VoIP v1 implementation (#1161)Rohit Sutradhar2022-10-144-4/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-133-0/+15
|
* Mark classes as final where possibleNicolas Werner2022-10-109-13/+13
|
* Fix date separatorNicolas Werner2022-10-071-1/+1
|
* Add a slow way to search a roomNicolas Werner2022-10-065-24/+41
|
* Basic thread filteringNicolas Werner2022-10-062-0/+118
| | | | The reply pagination logic is a bit weird rn though.
* cppcheck stuff (#1200)Loren Burkholder2022-10-0311-31/+33
| | | | | | | | | | | | | | | * 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>
* Merge pull request #1202 from Nheko-Reborn/grammarDeepBlueV7.X2022-10-031-1/+1
|\ | | | | Grammar
| * Various grammar fixes (mostly removing commas)Loren Burkholder2022-09-301-1/+1
| |
* | Don't strip fallbacks on plain text bodiesNicolas Werner2022-10-031-13/+7
| |
* | Fix a few more warningsNicolas Werner2022-10-011-2/+2
| |
* | Replace some user visible mentions of spacesNicolas Werner2022-10-011-5/+5
| |
* | Automatically switch to threading when replyingNicolas Werner2022-09-302-10/+14
| |
* | Basic threading supportNicolas Werner2022-09-305-88/+97
|/
* Switch to clang-format14Nicolas Werner2022-09-256-7/+14
|
* Fix crash when deleting room summaryNicolas Werner2022-09-242-10/+11
| | | | | | | 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.
* Try to handle rate limitingNicolas Werner2022-09-231-1/+7
|
* Switch to C++20Nicolas Werner2022-09-221-4/+8
|
* Show the community of a roomNicolas Werner2022-09-204-0/+47
|
* Line to indicate first unread message (#1147)Hiers2022-09-114-8/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Allow creating spacesNicolas Werner2022-09-051-7/+16
|
* Fix empty widgets still being shownNicolas Werner2022-08-301-0/+4
|
* Fix inline image escape orderNicolas Werner2022-08-181-2/+2
|
* Hide uneditable spaces from menuNicolas Werner2022-08-101-1/+7
|
* Support editing space childrenNicolas Werner2022-08-103-1/+219
|
* Pass context object to properly disconnect when this is deletedNicolas Werner2022-07-231-8/+10
|
* Fix matrix.to link escapingNicolas Werner2022-07-202-7/+49
| | | | | | Properly escapes in replies and with unmatched []. fixes #854
* Fix crash when creating link to room previewNicolas Werner2022-07-192-16/+5
|
* Fix crash on empty image packsNicolas Werner2022-07-181-1/+1
|
* Properly figure out entity that is controlled by policy ruleNicolas Werner2022-07-171-1/+36
|
* Fix muting spacesNicolas Werner2022-07-161-3/+3
|
* Add missing includeNicolas Werner2022-07-161-0/+2
|
* Fix subobject initializationNicolas Werner2022-07-161-10/+12
|
* Fix dm counts after restartNicolas Werner2022-07-161-1/+7
|
* Merge pull request #1062 from Nheko-Reborn/perSpaceNotifsDeepBlueV7.X2022-07-166-50/+245
|\ | | | | Per-space notification bubbles
| * Make notification count calculation more efficientNicolas Werner2022-07-163-31/+78
| |
| * WIPNicolas Werner2022-07-154-74/+107
| |
| * Merge remote-tracking branch 'origin/perSpaceNotifs' into perSpaceNotifsNicolas Werner2022-07-144-35/+150
| |\
| | * Allow muting spaces; other general improvementsLoren Burkholder2022-06-292-6/+44
| | |
| | * make lintLoren Burkholder2022-06-291-3/+7
| | |
| | * Add notifications to all sidebar itemsLoren Burkholder2022-06-292-10/+45
| | |
| | * Inform Qt that loud notifications changedLoren Burkholder2022-06-291-1/+1
| | |
| | * Add loud notifications for spacesLoren Burkholder2022-06-293-4/+14
| | |
| | * Add space notifications to room listLoren Burkholder2022-06-294-23/+18
| | |
| | * Fix typoed variable nameLoren Burkholder2022-06-292-10/+10
| | |
| | * Display unread notifications for spacesLoren Burkholder2022-06-292-15/+48
| | |
* | | Updated call event namespaces to voipr0hit052022-07-153-29/+29
|/ /
* | Support rendering policy rulesNicolas Werner2022-07-092-0/+75
| |
* | Fix users with @room in the name pinging the whole room when replied toNicolas Werner2022-07-051-22/+28
| |
* | Add a /command to redact all visible messages sent by a userNicolas Werner2022-07-013-0/+25
|/
* Fix timestamps after loadingNicolas Werner2022-06-262-0/+9
|
* Refresh last message when paginating backwardsNicolas Werner2022-06-251-1/+4
|
* Add copy link to room context menu (#1101)brausepulver2022-06-234-11/+37
|
* Request full online keybackup when turning it onNicolas Werner2022-06-191-1/+0
|
* Remove a few more headersNicolas Werner2022-06-184-9/+5
|
* Get rid of 'using json = nlohmann::json'Nicolas Werner2022-06-172-6/+6
|
* Fix compilation without implicit nlohmann conversionsNicolas Werner2022-06-171-1/+1
|
* Remove redundant alias functionNicolas Werner2022-06-171-4/+5
|
* Simplify includes a bitNicolas Werner2022-06-164-13/+16
|
* Merge pull request #1095 from syldrathecat/subtle-paste-fixesDeepBlueV7.X2022-06-152-10/+14
|\ | | | | Subtle corrections to paste behaviors
| * Subtle corrections to paste behaviorsSyldraTheCat2022-06-142-10/+14
| |
* | Fix failed uploads not removing uploadsNicolas Werner2022-06-151-0/+5
| | | | | | | | fixes #1098
* | Fix pins not refreshing after being loadedNicolas Werner2022-06-153-3/+9
| |
* | Fix edits not updating in repliesNicolas Werner2022-06-151-1/+16
| |
* | Speedup startup by caching last message timestampNicolas Werner2022-06-153-6/+18
|/ | | | | | | | | | 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
|
* Send images on enter if input bar is emptyNicolas Werner2022-05-231-1/+3
|
* Use right linterNicolas Werner2022-05-106-14/+7
|
* More image dialog fixesNicolas Werner2022-05-108-11/+30
|
* Fix header order...Nicolas Werner2022-05-071-1/+1
|
* Fix potential crash when opening separate roomsNicolas Werner2022-05-071-1/+4
|
* Activate window that already has the room open if possibleNicolas Werner2022-05-071-1/+4
|
* Rework focus handlingNicolas Werner2022-05-072-6/+12
|
* Fix notification for focus room in main windowNicolas Werner2022-05-071-1/+1
|
* fix indentationNicolas Werner2022-05-071-8/+6
|
* Show powerlevels in memberlistNicolas Werner2022-05-072-0/+29
|
* Add basic support for multiple windowsNicolas Werner2022-05-065-14/+34
|
* Show pack Id for image pack changes in timelinetastytea2022-04-201-4/+13
| | | | Show either pack name, state key or (empty).
* Show changes in image packs in timelineNicolas Werner2022-04-192-0/+70
|
* Add D-Bus API (#916)Loren Burkholder2022-04-142-0/+22
| | | | This adds functionality for viewing joined rooms and activating rooms.
* Store notification counts across restartsNicolas Werner2022-04-131-3/+5
|
* fix lintNicolas Werner2022-04-101-3/+4
|
* Add specific powerlevel messages (#852)Marcel2022-04-101-4/+261
| | | | fixes #136
* Remove sender key from megolm session indexNicolas Werner2022-04-081-5/+3
| | | | | | implements MSC3700 see https://github.com/matrix-org/matrix-spec-proposals/pull/3700
* Fix leaving roomsNicolas Werner2022-03-311-1/+1
|
* Add reasons to everythingNicolas Werner2022-03-304-9/+9
| | | | fixes #1030
* Add /knock commandNicolas Werner2022-03-301-0/+2
|
* Fix cursor moving to the end when editing in the middleNicolas Werner2022-03-301-1/+2
|
* Fix arrow keysNicolas Werner2022-03-301-1/+1
|
* Cleanup some unused codeNicolas Werner2022-03-301-0/+1
|
* Merge pull request #1019 from maltee1/qml_createroomDeepBlueV7.X2022-03-292-0/+9
|\ | | | | CreateRoom dialog in QML
| * run lintMalte E2022-03-262-3/+3
| |
| * direct chat creator can now create direct chatsMalte E2022-03-262-0/+9
| |
* | Avoid empty membership eventsNicolas Werner2022-03-281-9/+6
|/
* Don't send thumbnails that are larger than the originaltastytea2022-03-241-31/+39
| | | | | | - Set PNG compression to maximum - Don't upload thumbnail if it is not at least 10% smaller than the original
* Default body to shortcode if unset and sending stickerNicolas Werner2022-03-221-1/+1
|
* Add a default filename for clipboard pastes againNicolas Werner2022-03-221-1/+6
|
* Try to improve thumbnailing on macOSNicolas Werner2022-03-221-1/+5
|
* Fix thumbnails of received encrypted imagesNicolas Werner2022-03-221-0/+3
|
* Small fixes to video thumbnailingNicolas Werner2022-03-221-34/+17
|
* Actually pass the mimetype we intendedNicolas Werner2022-03-211-1/+1
|
* Properly fix image uploads without image/* formatNicolas Werner2022-03-211-2/+9
|
* Fix potential crash if there is no image format pastedNicolas Werner2022-03-211-1/+2
|
* Fix thumbnails for encrypted files and factor upload box outNicolas Werner2022-03-213-14/+68
|
* Show some previews in upload windowNicolas Werner2022-03-211-3/+24
|
* Please clazyNicolas Werner2022-03-211-3/+3
|
* Also stop audio playerNicolas Werner2022-03-211-1/+5
|
* Thumbnail videoNicolas Werner2022-03-212-83/+172
|
* Add duration and resolution to filesNicolas Werner2022-03-214-7/+196
|
* Move uploads to InputBarNicolas Werner2022-03-202-149/+297
|
* properly commit preedit textMalte E2022-03-191-0/+3
|
* Allow to specify reason for removed messagetastytea2022-03-062-4/+6
| | | | | | | | # 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...
* If you replace the txn id, replace a string the length of the txn id...Nicolas Werner2022-03-051-1/+1
|
* Remove unused headersNicolas Werner2022-03-021-20/+0
|
* Remove stray loggingNicolas Werner2022-02-271-1/+0
|
* Allow properly editing pending encrypted messagesNicolas Werner2022-02-272-17/+66
|
* Fix editing pending messagesNicolas Werner2022-02-271-10/+8
|
* Merge pull request #952 from symphorien/hidden-read-receiptsDeepBlueV7.X2022-02-222-8/+16
|\ | | | | support for hidden read receipts
| * support for hidden read receiptsGuillaume Girol2022-02-212-8/+16
| |
* | Don't leak dialogsNicolas Werner2022-02-211-5/+11
| | | | | | | | | | | | It seems that you need to manually destroy created objects... Great... fixes #898
* | Add sender names to state events (#948)Malte E2022-02-211-7/+9
|/ | | | | * add sendernames to state events * Center state events and make them less tiny
* Merge branch 'message-bubbles' of https://github.com/maltee1/nheko into ↵Nicolas Werner2022-02-142-2/+13
|\ | | | | | | maltee1-message-bubbles
| * add translations and actually add changes to TimelineModelMalte E2022-02-072-2/+13
| |
* | Hidden events: Refactor slightly for reusabilityNicolas Werner2022-02-122-53/+61
| |
* | # should be valid in linksNicolas Werner2022-02-051-1/+1
| |
* | Add /reset-state commandNicolas Werner2022-02-053-2/+28
| |
* | Fix avatar url conversion for widgetsNicolas Werner2022-02-041-1/+1
| |
* | Show widgets as linksNicolas Werner2022-02-042-0/+69
| |
* | Merge pull request #906 from LorenDB/offlineIndicatorDeepBlueV7.X2022-02-042-0/+12
|\ \ | | | | | | Add offline indicator
| * | Add offline indicator (#472)Loren Burkholder2022-02-012-0/+12
| |/
* / Fetch previews for space children using /hierarchyNicolas Werner2022-02-022-49/+53
|/
* Functional login pageNicolas Werner2022-01-261-1/+1
|
* Fix focus and qml parenting with qml rootNicolas Werner2022-01-263-10/+14
|
* Initial qml root windowNicolas Werner2022-01-265-220/+18
|
* Port usersettings to qmlNicolas Werner2022-01-091-0/+4
|
* Port image overlay to qmlNicolas Werner2022-01-022-38/+43
| | | | | | Allows you to zoom and pan now. relates to #647
* Strip variant selector in some casesNicolas Werner2022-01-011-5/+7
| | | | | | fixes #439 Workaround for https://bugreports.qt.io/browse/QTBUG-97401 fixes #810
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-0120-0/+20
|
* Get rid of some useless codeNicolas Werner2021-12-311-4/+0
|
* Add missing license headersNicolas Werner2021-12-302-0/+8
|
* Update presence dynamically and reduce allocationsNicolas Werner2021-12-304-26/+104
|
* Fix crash after sending image caused by the recent refactorNicolas Werner2021-12-301-4/+4
|
* Reduce allocations and time spent creating delegates by halfNicolas Werner2021-12-292-7/+9
|
* Reduce allocations for presence states a bitNicolas Werner2021-12-291-3/+10
|
* Pretty up code with fewer allocationsNicolas Werner2021-12-291-2/+2
|
* Reduce allocations for accessing event membersNicolas Werner2021-12-293-20/+23
|
* Remove a few castsNicolas Werner2021-12-292-4/+4
|
* Reserve size of some containers we are fillingNicolas Werner2021-12-298-71/+119
|
* Reduce allocations using QStringLiteralNicolas Werner2021-12-2910-185/+185
|
* Fix more warnings and remove dead codeNicolas Werner2021-12-286-24/+26
|
* Some qt6 prepNicolas Werner2021-12-283-11/+11
|
* Misc clang-tidy fixesNicolas Werner2021-12-281-1/+0
|
* Fixup clang-tidy suggestionNicolas Werner2021-12-283-8/+9
|
* Merge pull request #853 from MTRNord/MTRNord/clang-tidyDeepBlueV7.X2021-12-282-84/+89
|\ | | | | Apply selective clang-tidy suggestions
| * Run linterMTRNord2021-12-272-17/+22
| |
| * Apply (selective) Clang-tidy const function and new const pointer ↵MTRNord2021-12-232-9/+9
| | | | | | | | suggestions on TimelineModel
| * Apply (selective) Clang-tidy move and some new detected const pointer ↵MTRNord2021-12-232-11/+12
| | | | | | | | suggestions on TimelineModel
| * Apply (selective) Clang-tidy and clazy suggestions on TimelineModelMTRNord2021-12-232-55/+54
| |
* | Make custom emoticons twice as high as the font.tastytea2021-12-271-7/+10
| |
* | Request inline images in the right size and anti-alias themtastytea2021-12-271-5/+27
| | | | | | | | | | | | | | | | - If an inline image has specified a height, add parameters to the image:// URI. - Add scaled to the parameters, the images would be cropped otherwise. - Extract the height from image:// URI and use it for requestSize. - Use scaledToHeight instead of scaled.
* | Add an ugly custom emote completer using ~Nicolas Werner2021-12-271-0/+5
|/
* make lintLoren Burkholder2021-12-131-1/+4
|
* Make opening room members from rooms settings dialog workLoren Burkholder2021-12-131-0/+1
|
* Only show room pack button, when you can actually create oneNicolas Werner2021-12-132-2/+3
|
* Add recently used reactionsNicolas Werner2021-12-131-0/+8
| | | | fixes #435
* Support pinned messagesNicolas Werner2021-12-112-1/+95
| | | | fixes #519
* InputBar: run clang-formatMarcus Hoffmann2021-12-032-27/+29
|
* InputBar: Mark some functions as [[nodiscard]]Marcus Hoffmann2021-12-031-3/+3
| | | | | | This warns when you the return value of those functions isn't used. Suggested-by: Clang-Tidy: Function X should be marked [[nodiscard]]
* InputBar: mark constrictor as explicitMarcus Hoffmann2021-12-031-1/+1
| | | | | | | | | Suggested-By: Clang-Tidy: Single-argument constructors must be marked explicit to avoid unintentional implicit conversions More info: https://clang.llvm.org/extra/clang-tidy/checks/google-explicit-constructor.html
* InputBar: use X.empty() instead of !X.size()Marcus Hoffmann2021-12-031-2/+2
| | | | | | Suggested-by: Clang-Tidy: The 'empty' method should be used to check for emptiness instead of 'size'
* InputBar: use auto typeMarcus Hoffmann2021-12-031-1/+1
| | | | | | Suggested-by: Clang-Tidy: Use auto when initializing with new to avoid duplicating the type name
* InputBar: use multi-arg string replacementMarcus Hoffmann2021-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This could actually change the behaviour here (could, because I don't know if we can hit this special case) but this should hopefully the correct way of doing this. There's some detailed explanation of the difference here: https://doc.qt.io/qt-5/qstring.html#arg-14 > This is the same as str.arg(a1).arg(a2), except that the strings > a1 and a2 are replaced in one pass. This can make a difference if > a1 contains e.g. %1: ``` QString str; str = "%1 %2"; str.arg("%1f", "Hello"); // returns "%1f Hello" str.arg("%1f").arg("Hello"); // returns "Hellof %2" ``` Suggested-by: Clazy: Use multi-arg instead
* InputBar: use character argument instead of stringMarcus Hoffmann2021-12-031-1/+1
| | | | | | | | Suggested-by: Clang-Tidy: 'find' called with a string literal consisting of a single character; consider using the more effective overload accepting a character