summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix video thumbnails for small videosNicolas Werner2024-11-301-1/+1
|
* Get rid of reply fallback in text messages since MSC2781 is mergedNicolas Werner2024-11-171-35/+0
|
* refactor: use fmt lib to avoid back-and-forth conversionIntegral2024-10-191-2/+3
|
* Fix QT_CONFIG check for wayland is only available since Qt6.7Nicolas Werner2024-06-201-1/+3
|
* Fix crash on empty mxid in ignore commandsNicolas Werner2024-06-201-2/+7
| | | | fixes #1753
* Fix disabling a room pingNicolas Werner2024-06-131-8/+7
|
* fix mentions with markdown and in editsNicolas Werner2024-05-311-2/+2
|
* Implement MSC4142, mention via repliesNicolas Werner2024-05-091-0/+10
|
* Fix room mentions warning being displayed even without permissionsNicolas Werner2024-05-071-1/+1
|
* refactor: replace QString constructors with QStringLiteralIntegral2024-04-261-1/+1
|
* Make a few headers forward declarationsNicolas Werner2024-03-161-0/+1
|
* Include moc files for a tiny speedup on incremental buildsNicolas Werner2024-03-161-0/+2
|
* Add support for intentional mentionsNicolas Werner2024-03-081-23/+96
| | | | | | 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.
* Add a command to gradually glitch text in a messageLoren Burkholder2024-02-271-0/+3
|
* Add a glitch text commandLoren Burkholder2024-02-261-0/+3
|
* deleteLater() on failureNepNep212023-12-211-1/+2
|
* Merge branch 'Nheko-Reborn:master' into ignore-commandNep Nep2023-12-201-5/+5
|\
| * Fix backslashes escapesNicolas Werner2023-12-191-5/+5
| | | | | | | | (And shrug losing arms in replies)
* | Fix memory leak and invite filteringNepNep212023-12-191-9/+8
| |
* | Other occurencesNepNep212023-12-191-2/+2
| |
* | Improve namingNep Nep2023-12-191-1/+1
| | | | | | Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
* | Multiple changesNepNep212023-12-171-10/+22
| | | | | | | | | | | | | | | | More consistent language with similar description strings Add manpage entry Add /unignore Add ignore & decline button in the invite page Add invite rejection to all ignore methods
* | Add /ignoreNepNep212023-12-111-1/+13
|/
* Speed up compilation a bitNicolas Werner2023-10-311-3/+3
|
* Qt6.6 compatibilityNicolas Werner2023-10-131-1/+1
|
* Focus to the message input bar after selecting a fileSateallia2023-07-061-0/+1
|
* Fix build against fmt10Nicolas Werner2023-06-281-4/+6
| | | | fixes #1499
* Fix one more clazy issueNicolas Werner2023-06-081-1/+3
|
* lintNicolas Werner2023-06-081-55/+54
|
* Fix palette access and QMediaPlayer errorsNicolas Werner2023-06-081-4/+4
|
* Make Nheko compile on Qt6Nicolas Werner2023-06-081-67/+19
|
* Add rows to stickerpickerNicolas Werner2023-05-201-15/+27
|
* Allow picking multiple files to uploadSateallia2023-04-251-4/+5
|
* 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-2/+3
|
* Don't bother with rainbow rainLoren Burkholder2023-04-081-6/+3
|
* Don't allow rainbowifying custom messagesLoren Burkholder2023-04-081-3/+3
|
* Fix command nameLoren Burkholder2023-04-081-1/+1
|
* Allow sending custom msgtypesLoren Burkholder2023-04-081-0/+27
|
* Add rainfall effectLoren Burkholder2023-04-081-0/+30
| | | | | This is a proof-of-concept example of inplementing a msgtype not found in the spec.
* Handle incomplete commands betterLoren Burkholder2023-03-071-8/+14
|
* make lintLoren Burkholder2023-03-011-36/+36
|
* Use QSet<QString> instead of QStringListLoren Burkholder2023-03-011-1/+1
|
* Fix some nitpicksLoren Burkholder2023-03-011-52/+57
|
* Simplify code a bitLoren Burkholder2023-02-281-2/+1
|
* Move command calculation logic into InputBarLoren Burkholder2023-02-281-18/+76
|
* 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.
* 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/
* Make single newlines cause a <br> by defaultNicolas Werner2023-01-311-0/+10
| | | | | | | | | | | | 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
* 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
|
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
|
* confetti (#1243)Loren Burkholder2022-12-101-0/+25
| | | * 🎉 (confetti) message support. Thanks @LorenDB !
* cppcheck stuff (#1200)Loren Burkholder2022-10-031-4/+4
| | | | | | | | | | | | | | | * 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>
* Basic threading supportNicolas Werner2022-09-301-69/+58
|
* Pass context object to properly disconnect when this is deletedNicolas Werner2022-07-231-8/+10
|
* Fix matrix.to link escapingNicolas Werner2022-07-201-6/+46
| | | | | | Properly escapes in replies and with unmatched []. fixes #854
* 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-011-0/+6
|
* Remove a few more headersNicolas Werner2022-06-181-1/+0
|
* Merge pull request #1095 from syldrathecat/subtle-paste-fixesDeepBlueV7.X2022-06-151-7/+12
|\ | | | | Subtle corrections to paste behaviors
| * Subtle corrections to paste behaviorsSyldraTheCat2022-06-141-7/+12
| |
* | Fix failed uploads not removing uploadsNicolas Werner2022-06-151-0/+5
|/ | | | fixes #1098
* Send images on enter if input bar is emptyNicolas Werner2022-05-231-1/+3
|
* Rework focus handlingNicolas Werner2022-05-071-4/+8
|
* Add reasons to everythingNicolas Werner2022-03-301-3/+3
| | | | 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
|
* 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
|
* 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-211-4/+46
|
* Please clazyNicolas Werner2022-03-211-3/+3
|
* Also stop audio playerNicolas Werner2022-03-211-1/+5
|
* Thumbnail videoNicolas Werner2022-03-211-10/+153
|
* Add duration and resolution to filesNicolas Werner2022-03-211-4/+94
|
* Move uploads to InputBarNicolas Werner2022-03-201-148/+196
|
* properly commit preedit textMalte E2022-03-191-0/+3
|
* Add /reset-state commandNicolas Werner2022-02-051-0/+2
|
* Initial qml root windowNicolas Werner2022-01-261-3/+3
|
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
|
* Fix crash after sending image caused by the recent refactorNicolas Werner2021-12-301-4/+4
|
* Reserve size of some containers we are fillingNicolas Werner2021-12-291-4/+8
|
* Reduce allocations using QStringLiteralNicolas Werner2021-12-291-57/+57
|
* Fix more warnings and remove dead codeNicolas Werner2021-12-281-1/+2
|
* Some qt6 prepNicolas Werner2021-12-281-4/+4
|
* Add recently used reactionsNicolas Werner2021-12-131-0/+8
| | | | fixes #435
* InputBar: run clang-formatMarcus Hoffmann2021-12-031-20/+22
|
* 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
* InputBar: apply clang-tidy const reference suggestionsMarcus Hoffmann2021-12-031-10/+10
| | | | | | | All suggested by: Clang-Tidy: The parameter 'X' is copied for each invocation but only used as a const reference; consider making it a const reference
* InputBar: use QFileInfo::exists()Marcus Hoffmann2021-12-031-1/+1
| | | | | | Suggested by: Clazy: Use the static QFileInfo::exists() instead. It's documented to be faster.
* InputBar: remove unused importsMarcus Hoffmann2021-12-031-4/+0
|
* Mark rooms as direct chatsNicolas Werner2021-11-211-0/+5
| | | | | Either by accepting an invite or manually using /converttodm and revert with /converttoroom.
* Clear @room warning after sending messageNicolas Werner2021-11-021-0/+1
| | | | fixes #751
* Move voip and encryption stuff into their own directoriesNicolas Werner2021-10-171-1/+0
|
* Use the same leave room dialog everywhereLoren Burkholder2021-10-111-1/+1
| | | | This ports the leave room dialog to QML, everywhere. There are now no differences between the various leave dialogs.
* Support pasting image/svg+xml format straight from supporting applicationsThulinma2021-09-281-2/+13
|
* Fixes for pasting images, especially under windows where the image mime type ↵Thulinma2021-09-281-8/+12
| | | | detection doesn't work as expected
* Change indentation to 4 spacesNicolas Werner2021-09-181-619/+605
|
* Improvements for linking to eventsThulinma2021-09-161-0/+17
| | | | | | - 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.
* Warn the user before they ping the whole roomNicolas Werner2021-09-021-0/+33
|
* Add workaround for stickers not showing on iOSNicolas Werner2021-08-181-0/+7
| | | | see: https://github.com/vector-im/element-ios/issues/2353
* Rename image pack modelNicolas Werner2021-07-221-2/+2
|
* Fix replying and editing stickersNicolas Werner2021-07-191-0/+9
|
* Basic sticker supportNicolas Werner2021-07-191-0/+17
|
* Fix too many newlines in reply fallbackNicolas Werner2021-06-301-1/+1
|
* Delete old room listNicolas Werner2021-05-281-0/+1
|
* Move currentRoom/timeline handling to roomlistNicolas Werner2021-05-281-2/+33
|
* add notice and rainbownotice commandsLordMZTE2021-04-111-0/+33
|
* Fix rainbow replies and add rainbowmeNicolas Werner2021-04-011-6/+8
|
* Merge pull request #535 from LordMZTE/feature/rainbowDeepBlueV7.X2021-03-281-3/+6
|\ | | | | add /rainbow command
| * run formatterLordMZTE2021-03-281-1/+1
| |
| * Update src/timeline/InputBar.cppDeepBlueV7.X2021-03-281-1/+1
| |
| * Use QRegularExpressionDeepBlueV7.X2021-03-281-1/+1
| |
| * fix command parsingLordMZTE2021-03-281-3/+2
| |
| * commands now also work with newline after themLordMZTE2021-03-281-0/+2
| |
| * implement requested changesLordMZTE2021-03-281-1/+1
| |
| * add /rainbow commandLordMZTE2021-03-261-2/+4
| |
* | Add part/leave commandLoren Burkholder2021-03-251-0/+2
|/
* Switch readImage to take a reference instead of a pointerLoren Burkholder2021-03-171-1/+1
| | | | There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
* make lintLoren Burkholder2021-03-171-2/+2
|
* Parse markdown overrides during repliesLoren Burkholder2021-03-171-1/+3
| | | | I apparently missed this when I originally added the overrides.
* Don't send markdown links in bodyNicolas Werner2021-03-151-0/+6
| | | | fixes #422
* Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into ↵Nicolas Werner2021-03-131-22/+0
|\ | | | | | | Jedi18-quickswitcher_qml
| * change allowed mistakes, fix minor style issues, remove old completer ↵Jedi182021-03-071-22/+0
| | | | | | | | function from inputbar
* | Update license headersNicolas Werner2021-03-051-0/+4
| |
* | Fix text input restoring after editsNicolas Werner2021-02-251-19/+22
|/
* added bool to choose between showing only rooms with aliases and all of the ↵Jedi182021-02-171-2/+2
| | | | rooms
* add rooms model, add room delegate for completerJedi182021-02-161-0/+6
|
* Implement message editingNicolas Werner2021-02-091-1/+39
| | | | | | The UI still looks ugly, but I have no good idea atm. fixes #134
* Switch to new relations formatNicolas Werner2021-02-091-6/+12
|
* Remove useless parenthesesDeepBlueV7.X2021-01-231-2/+2
|
* Clarify how markdown is determinedLoren Burkholder2021-01-201-1/+1
|
* Make lintLoren Burkholder2021-01-201-3/+5
|
* Add commands to override Markdown settingLoren Burkholder2021-01-201-2/+6
|
* Port PlaceCall dialog to Qmltrilene2021-01-071-46/+0
|
* Make call invites less intrusivetrilene2021-01-071-1/+3
|
* Move call-related properties to CallManagertrilene2021-01-071-1/+1
|
* React with arbitrary strings via /reactNicolas Werner2020-12-131-0/+6
|
* Fix variable shadowingNicolas Werner2020-11-261-5/+5
|
* Implement Qml drag and dropNicolas Werner2020-11-251-0/+8
|
* Fix mimetype of media messagesNicolas Werner2020-11-251-0/+1
|
* Qml emoji completerNicolas Werner2020-11-251-0/+6
|
* Working User completerNicolas Werner2020-11-251-0/+8
|
* WIP Qml completerNicolas Werner2020-11-251-0/+6
|
* Reimplement message historyNicolas Werner2020-11-251-14/+52
|
* Send typing updates from QMLNicolas Werner2020-11-251-0/+41
|
* Move calls to new input barNicolas Werner2020-11-251-0/+45
|
* Add file uploadingNicolas Werner2020-11-251-1/+316
|
* Basic text input in qmlNicolas Werner2020-11-251-4/+156
|
* Pasteable textinputNicolas Werner2020-11-251-0/+46