summary refs log tree commit diff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix <displaynames>Nicolas Werner2020-02-021-1/+1
|
* Add mutingNicolas Werner2020-02-022-5/+87
|
* Merge pull request #112 from Nheko-Reborn/sharp-logoDeepBlueV7.X2020-02-021-1/+1
|\ | | | | Update the logo to not be so asymmetric and add a scalable svg. I hope I fixed all the scaling issues, where the logo isn't pixel aligned in most resolutions. Also fixes an issue, where the blue bar seemed to be misaligned in some resolutions?
| * Use cleaned up logoNicolas Werner2020-01-311-1/+1
| |
* | more emojisJoseph Donofry2020-02-011-0/+4
| |
* | Remove wildcard mtx.hpp includesNicolas Werner2020-01-314-4/+5
| |
* | Remove even more headersNicolas Werner2020-01-312-3/+1
| |
* | Remove more unneeded headersNicolas Werner2020-01-319-113/+103
| |
* | Remove metatypes from headersNicolas Werner2020-01-3116-43/+42
| |
* | Optimize includes a bitNicolas Werner2020-01-3140-228/+270
| |
* | Add next/prev room shortcutsNicolas Werner2020-01-313-0/+80
|/
* Enable ban and kick button in UserProfile (and try to fix centering)Nicolas Werner2020-01-304-90/+97
|
* Fix build with build system optimizations of mtxclientNicolas Werner2020-01-292-7/+7
|
* Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-devJoseph Donofry2020-01-2813-76/+240
|\
| * Merge branch 'plain-text-messages' into 0.7.0-devNicolas Werner2020-01-2910-75/+230
| |\
| | * Add command for invite,kick,ban and unbanNicolas Werner2020-01-293-9/+102
| | |
| | * Fix newlines in plain text messages againNicolas Werner2020-01-271-1/+1
| | |
| | * Don't send useless formatted_bodiesNicolas Werner2020-01-272-1/+10
| | |
| | * Fix reply rendering without markdown in riotNicolas Werner2020-01-272-12/+36
| | |
| | * Allow sending messages as plain textNicolas Werner2020-01-276-59/+88
| | |
| * | Merge pull request #111 from Nheko-Reborn/better-buildDeepBlueV7.X2020-01-284-1/+10
| |\| | | | | | | Improve build system and dependency bundling.
| | * Add missing thread includeNicolas Werner2020-01-261-0/+1
| | |
| | * Fix misc ci errorsNicolas Werner2020-01-261-1/+1
| | |
| | * Fix include of lmdb++ with hunterNicolas Werner2020-01-262-0/+8
| | |
* | | Change tooltip palette settings for QMLJoseph Donofry2020-01-281-0/+4
|/ /
* / Add initial QML Reply PopupJoseph Donofry2020-01-274-2/+16
|/
* Update emoji to unicode 13.0Nicolas Werner2020-01-241-1361/+4680
|
* Remove translations from reply fallbackNicolas Werner2020-01-241-9/+9
|
* Surpress qt binding warning message until we can depend on qt5.14Nicolas Werner2020-01-231-0/+8
|
* Minor tweak to one instance of QSettings not necessarily using the same ↵Joseph Donofry2020-01-231-1/+1
| | | | settings as everything else
* Switch around dark theme colors again (after looking at some screenshots)Nicolas Werner2020-01-231-3/+3
|
* Show event type string in placeholderNicolas Werner2020-01-232-0/+12
|
* Remove loggin of encrypted message bodyNicolas Werner2020-01-231-2/+0
|
* Implement display of membership eventsNicolas Werner2020-01-232-3/+102
|
* Fix blurry avatarsNicolas Werner2020-01-231-3/+4
| | | | They accidentally used the same state key...
* Increase emoji rangeNicolas Werner2020-01-211-1/+1
|
* Remove useless loggingNicolas Werner2020-01-211-3/+0
|
* Fix room avatars in settingsNicolas Werner2020-01-212-8/+5
|
* Fix colors in typing display, when username contains emojiNicolas Werner2020-01-212-4/+32
|
* Improve emoji escapingNicolas Werner2020-01-211-5/+15
|
* Linkify links before sendingNicolas Werner2020-01-213-13/+33
|
* Remove use of deprecated enumNicolas Werner2020-01-191-2/+1
|
* Try to lower map sizeDeepBlueV7.X2020-01-171-1/+1
| | | | Maybe this fixes the 1mb map size in my windows test environment?
* Move typing display to qmlNicolas Werner2020-01-177-187/+58
|
* Remove embedded fontsNicolas Werner2020-01-161-6/+0
|
* Don't require Qt5.12 just for QByteArray::compareNicolas Werner2020-01-161-2/+2
|
* Try to match old theme betterNicolas Werner2020-01-141-3/+3
|
* Fix duplicate messages in timeline after sendingNicolas Werner2020-01-141-0/+11
|
* Reduce avatar cache sizeNicolas Werner2020-01-141-2/+0
|
* Escape blacklisted html tagsNicolas Werner2020-01-143-15/+49
|
* Fix replies in encrypted roomsNicolas Werner2020-01-133-10/+22
| | | | The relation needs to be unencrypted...
* Allow replying with an imageNicolas Werner2020-01-126-118/+133
|
* Fetch missing events for repliesNicolas Werner2020-01-113-53/+101
|
* Implement fancy reply renderingNicolas Werner2020-01-112-3/+14
| | | | | | 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-062-32/+47
|
* invert timelineNicolas Werner2020-01-062-12/+41
|
* Move visitors out of TimelineModelNicolas Werner2019-12-273-445/+569
|
* Fix transitive dependencies on iostreamNicolas Werner2019-12-233-7/+9
|
* Actually include header that provides std::signal instead of signalNicolas Werner2019-12-151-1/+1
|
* Reduce Cache.h includes further via one forward declarationNicolas Werner2019-12-159-4/+13
|
* Reduce includes of MatrixClient.h, as it is the most expensive headerNicolas Werner2019-12-153-8/+20
|
* Reduce overhead of Cache.hNicolas Werner2019-12-1526-642/+1401
|
* Add qml debugging optionNicolas Werner2019-12-142-1/+5
|
* Increase max cache size and remove const from lmdb constantsNicolas Werner2019-12-141-5/+4
| | | | fixes compilation issues with last released lmdb++
* Reduce some include of Cache.h since it needs 11s on averageNicolas Werner2019-12-1411-226/+275
|
* Update to c++17Nicolas Werner2019-12-1410-206/+195
|
* Fix position of invite button and elide long button textsNicolas Werner2019-12-131-3/+7
|
* Make invites always stick to the topNicolas Werner2019-12-132-13/+8
| | | | This also removes an ugly hack, that was needed before.
* Fix preview of sent encrypted imagesNicolas Werner2019-12-131-10/+11
|
* Send encrypted files as generic mimetype and actually set urlNicolas Werner2019-12-121-1/+4
|
* Show topic and name changes in timelineNicolas Werner2019-12-102-0/+34
|
* Restore linkification of messagesNicolas Werner2019-12-061-2/+2
|
* Implement sending encrypted filesNicolas Werner2019-12-056-212/+79
|
* Implement decryption of imagesNicolas Werner2019-12-035-9/+56
| | | | It is a bit of a hack, but it works...
* lintNicolas Werner2019-12-031-1/+0
|
* Add encrypted file downloadNicolas Werner2019-12-034-165/+203
|
* Rename qml namespace from com.github.nheko to im.nhekoNicolas Werner2019-11-301-3/+3
|
* 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-233-5/+7
| | | | No idea, why apply visitor doesn't work with temporaries?
* Add loading spinner and restore message send queueNicolas Werner2019-11-234-40/+115
|
* Show only messages in room listNicolas Werner2019-11-231-7/+30
|
* Remove old timelineNicolas Werner2019-11-2323-5377/+384
|
* optionally use QQuickWidget and replace ColorOverlay -> colorImageProviderNicolas Werner2019-11-236-2/+63
|
* Make replies format nicerNicolas Werner2019-11-233-14/+36
| | | | Also lays a bit of groundwork for better reply rendering
* Enable link handlingNicolas Werner2019-11-231-0/+1
|
* Make user clickable and improve button cursor lookNicolas Werner2019-11-232-0/+8
|
* Improve avatar look and layoutingNicolas Werner2019-11-231-4/+2
| | | | Thanks to red_sky for the feedback!
* fixup bad room list translation commitNicolas Werner2019-11-232-4/+0
|
* Fix translation of roomlist message previewNicolas Werner2019-11-233-67/+67
| | | | | | | | This also makes long messages unreadable, because we don't shorten long usernames anymore. We may eventually want to do that again, but it is hard with translations and we probably want to shorten the displayname more, as before this change the message was only ever as long as the timestamp, which is usually just 5 characters...
* Actually fix updating roomlist on new messagesNicolas Werner2019-11-233-29/+32
|
* Show own messages in RoomListNicolas Werner2019-11-231-1/+1
|
* Redirect qt loggerNicolas Werner2019-11-232-0/+42
|
* lintNicolas Werner2019-11-232-7/+5
|
* Incubate delegates asynchronouslyNicolas Werner2019-11-232-9/+41
|
* Small fixes to delegate chooser implementationNicolas Werner2019-11-232-47/+0
|
* Use a basic implementation of a DelegateChooser for compat with older QtNicolas Werner2019-11-233-0/+242
| | | | | The interface is taken from Qt/KDE, but the implementation is different, because the Qt implementation depends on some Qt internals.
* Add native themeing to QML (where possible)Nicolas Werner2019-11-233-13/+68
|
* Fix section layout issues and pagination issuesNicolas Werner2019-11-232-3/+2
| | | | | | | Pagination could get stuck, if the messages request failed. Section height seemes to have been calculated to late, which would make some section overlap the next message in some cases. Fix that by doing the height calculation manually.
* Load content if no scrollbar is neededNicolas Werner2019-11-231-1/+0
|
* Size images/videos by timeline widthNicolas Werner2019-11-234-3/+24
|
* Fix linting issuesNicolas Werner2019-11-232-2/+1
|
* Try to fix windows Winsock.h compilation errorNicolas Werner2019-11-231-1/+2
|
* Enable Sticker and Emote messagesNicolas Werner2019-11-231-8/+8
|
* Add simple audio message widgetNicolas Werner2019-11-232-0/+61
|
* File messages (qml)Nicolas Werner2019-11-232-2/+25
|
* Add basic read_event support (qml)Nicolas Werner2019-11-232-5/+22
|
* Update roomlist on new messagesNicolas Werner2019-11-234-4/+32
|
* Reenable redactionsNicolas Werner2019-11-235-8/+25
|
* Rename initialize to sync, since it does the same thingNicolas Werner2019-11-233-5/+5
|
* Restore saving of mediaNicolas Werner2019-11-235-27/+163
|
* Reenable ImageOverlayNicolas Werner2019-11-232-1/+28
|
* Add lock to encrypted messagesNicolas Werner2019-11-232-0/+7
|
* Remove noisy decrypted messageNicolas Werner2019-11-231-2/+0
|
* Reenable encrypted messagesNicolas Werner2019-11-232-16/+342
|
* Fix read indicatorNicolas Werner2019-11-231-2/+13
|
* Enable read receipts action and sync read receipts from cacheNicolas Werner2019-11-234-4/+38
|
* Add send/received indicatorNicolas Werner2019-11-232-7/+83
|
* Implement simple scroll state handlingNicolas Werner2019-11-233-1/+31
|
* Try to fix CI, no match for QString::arg(QStringRef)Nicolas Werner2019-11-231-1/+1
|
* Implement replies in qml timelineNicolas Werner2019-11-232-0/+55
|
* Implement sending other message types in qml timelineNicolas Werner2019-11-232-9/+83
| | | | not using placeholders in timeline for now
* Reimplement sending basic text messagesNicolas Werner2019-11-233-2/+69
|
* Show redactions in qml timelineNicolas Werner2019-11-232-21/+57
|
* Try to fix duplicate messages in certain edge cases (i.e. sync and ↵Nicolas Werner2019-11-231-3/+14
| | | | pagination at the same time)
* Fix shadow errorNicolas Werner2019-11-231-4/+4
|
* Reenable display of encrypted messagesNicolas Werner2019-11-232-15/+125
|
* Reenable view raw messageNicolas Werner2019-11-232-1/+14
|
* Implement basic ImageMessages in qml timelineNicolas Werner2019-11-233-1/+70
| | | | | I suck at sizing so the images in the message are currently hardcoded to 300 pixels in width...
* Implement avatars in qml timelineNicolas Werner2019-11-238-6/+140
|
* Fix new messages not arriving in qml timelineNicolas Werner2019-11-231-2/+5
|
* Fix QML emojisNicolas Werner2019-11-233-3/+9
|
* Use system colors for nowNicolas Werner2019-11-231-4/+0
|
* Fix misc CI issuesNicolas Werner2019-11-233-7/+3
|
* Fix shadow warningNicolas Werner2019-11-231-3/+3
|
* Implement TextMessage delegateNicolas Werner2019-11-233-3/+193
| | | | Text selection over multiple items doesn't work yet
* Format date (close to) the old way in qml timelineNicolas Werner2019-11-232-0/+19
|
* Add avatar placeholder and scrollbar to qml timelineNicolas Werner2019-11-232-10/+9
|
* Add basic sections and button placeholders to qml timelineNicolas Werner2019-11-234-2/+43
|
* Implement loading of history, when timeline is displayedNicolas Werner2019-11-233-4/+85
|
* Add items to timlineNicolas Werner2019-11-234-14/+75
|
* Add placeholder timeline modelNicolas Werner2019-11-234-6/+142
|
* Replace timeline with empty qml viewNicolas Werner2019-11-234-37/+126
|
* escape html before parsing commonmarkrnhmjoj2019-09-251-1/+16
|
* re-re-lintedAidan Hahn2019-09-031-1/+0
|
* relintedAidan Hahn2019-09-031-7/+5
|
* group similar ui options on settings pageAidan Hahn2019-09-021-1/+0
|
* ran make lint to apply style guidelinesAidan Hahn2019-09-021-7/+4
|
* ReImplement UserSettings::setAvatarCirclesAidan Hahn2019-09-011-0/+6
|
* Merge branch '0.7.0-dev' of https://github.com/Nheko-Reborn/nheko into ↵Aidan Hahn2019-09-0129-210/+162
|\ | | | | | | 0.7.0-dev-bugfix-71
| * Merge pull request #86 from Nheko-Reborn/avatar-memory-usageDeepBlueV7.X2019-08-3027-207/+145
| |\ | | | | | | Try to reduce memory usage by reusing avatar pixmaps
| | * Fix usage of deprecated findNicolas Werner2019-08-282-2/+1
| | |
| | * Remove unused variablesNicolas Werner2019-08-261-2/+0
| | |
| | * Try to reduce memory usage by reusing avatar pixmapsNicolas Werner2019-08-2627-207/+148
| | |
| * | Fix themeing issues on mentionsJoseph Donofry2019-08-292-1/+15
| |/
* | removed leftovers from previous refactorAidan Hahn2019-09-012-8/+0
| |
* | fixed typoes in code, added layout metadata to new settings toggle.Aidan Hahn2019-09-011-2/+3
| |
* | Refactored Avatar and RoomInfoListItem to access rounding settings in placeAidan Hahn2019-09-017-2267119/+21
| |
* | add controll bits for avatar roundingAidan Hahn2019-08-287-653/+976
| |
* | rounding options for Avatar classAidan Hahn2019-08-283-2/+2266806
| |
* | added logic in avatar class to determine rounding typeAidan Hahn2019-08-272-5/+25
|/
* Fix SIGNAL SLOT issue on mtx typesJoseph Donofry2019-08-192-0/+2
|
* Fix build issues w/ clangJoseph Donofry2019-08-192-3/+1
|
* More updates to mentions functionalityJoseph Donofry2019-08-194-33/+21
|
* Fix issues with caching and loading of mentions.Joseph Donofry2019-08-126-50/+108
| | | | | | | 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 missing include in prior commitJoseph Donofry2019-08-101-0/+1
|
* Use 'system' theme as default if QT_QPA_PLATFORMTHEME is setJoseph Donofry2019-08-103-8/+22
| | | | | | | On first launch, before the user has configured any settings, check the value of the QT_QPA_PLATFORMTHEME environment var. If it is set, use the system theme as the default instead of the light theme. This fixes #72.
* Fix linting issues w/ the last commitJoseph Donofry2019-08-093-5/+5
|
* Cache User MentionsJoseph Donofry2019-08-098-500/+110
| | | | | | | | | 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.
* Fix linting issuesJoseph Donofry2019-08-062-6/+3
|
* Cache user mentionsJoseph Donofry2019-08-052-0/+67
|
* Fix lambda capture issueJoseph Donofry2019-07-291-1/+1
|
* Update mentions dialogJoseph Donofry2019-07-283-23/+72
| | | | | | | | 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 lintingJoseph Donofry2019-07-281-11/+18
|
* Update translation contextJoseph Donofry2019-07-281-9/+9
|
* Address 'sent' translation issueJoseph Donofry2019-07-281-19/+34
|
* Add 'and' to typing displayNicolas Werner2019-07-282-7/+12
|
* Fix message_type not being initialized correctlyNicolas Werner2019-07-282-1/+13
| | | | | Fixes "sent an audio file" replies, that were actually replies to text messages.
* media->file in error message, when image upload failsNicolas Werner2019-07-284-6/+6
|
* Add decryption error messages to translationsNicolas Werner2019-07-281-5/+23
|
* Try to localise timestampsNicolas Werner2019-07-285-24/+27
| | | | | | | | I'm not sure, if that is the right way, but Qt doesn't really have a way to format custom localised dates, so I tried to find the closest approximations to what we currently have. Relates to #69
* Ignore badge label macos deprecationsJoseph Donofry2019-07-261-0/+4
|
* Remove uneeded log messageJoseph Donofry2019-07-261-1/+0
|
* Fix bug with emoji font setting and clean lintingJoseph Donofry2019-07-268-41/+42
|
* Add emoji text selection option for non-macJoseph Donofry2019-07-264-7/+61
|
* Improve layout of Emoji PickerNicolas Werner2019-07-254-10/+28
| | | | | | | | Respect system styling Increase size of emojis (to remove empty space) Add hover effect (partially adresses #41) Less hardcoding of sizes Use emoji font (color)
* Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-devJoseph Donofry2019-07-215-7/+28
|\
| * Fix copy and pasting image from clipboardNicolas Werner2019-07-224-6/+27
| | | | | | | | | | | | | | | | If the QMimeData contains an image, it actually has a mime type of application/x-qt-image. At least in some cases accessing the image/* data returns a 0 length array. Accessing the data via ->imageData works however. So we use that as our accessor and pass it to the preview dialog.
| * Actually set attributes before starting the appNicolas Werner2019-07-221-1/+1
| | | | | | | | | | fixes "Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created."
* | Update Mentions UIJoseph Donofry2019-07-214-10/+34
|/ | | | | | | | 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-165-47/+46
|
* Add User Mentions DialogJoseph Donofry2019-07-166-0/+617
| | | | | | | | | | | | 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.
* Fix additional Qt version issueJoseph Donofry2019-07-051-0/+4
|
* Fix support for Qt versions < 5.11Joseph Donofry2019-07-048-12/+56
|
* Fix formatting issuesJoseph Donofry2019-07-047-12/+16
|
* Fix deprecated function call issues with Qt 5.13Joseph Donofry2019-07-0415-30/+94
| | | | Update to mtxclient 0.3.0
* Fix some linting issuesJoseph Donofry2019-07-042-7/+8
|
* Show room version in settingsNicolas Werner2019-07-043-32/+83
|
* Fix typo in log messageNicolas Werner2019-06-271-1/+1
|
* Reconfigure server url, when requested by login responseNicolas Werner2019-06-271-0/+6
|
* Support well-known for server discoveryNicolas Werner2019-06-271-2/+32
|
* Fix santizize=undefined warning (overflow)Nicolas Werner2019-06-272-4/+4
|
* Further UI Updates to Rich RepliesJoseph Donofry2019-06-146-15/+29
|
* Further Improve Reply FunctionalityJoseph Donofry2019-06-1315-74/+177
| | | | | | | 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 style for reply popup. Fix ALL of the linting issuesredsky172019-06-1110-16/+15
|
* Fix lambda capture and lint issuesredsky172019-06-112-2/+4
|
* Fix linting issueJoseph Donofry2019-06-111-2/+1
|
* Initial Support for Rich RepliesJoseph Donofry2019-06-1110-252/+405
| | | | | | | | Add placeholder UI for showing replies in the text entry widget. Existing quoting capability has been removed (Temporarily), as it was replaced with the new reply capability. Replies sent from nheko do not currently appear correctly in the timeline (this will be fixed in a future commit).
* Add initial support for rich replies to nhekoJoseph Donofry2019-06-099-7/+63
|
* Merge in masterredsky172019-05-272-61/+8
|\
| * Raw string literals not allowed in MOC headers on OSXNicolas Werner2019-05-011-3/+3
| |
| * Simplify linkifyMessageNicolas Werner2019-05-012-61/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parsing html as xml has inherent problems, most notable there are many matrix clients that don't escape ampersands in urls of mx-replies, etc. (See issue #18) This also removes the replacement of <mx-reply> as it isn't strictly needed. Also the QRegExp is replaced with the Qt5 QRegularExpression for perfomance and because it supports lookahead and lookbehind. I'm pretty sure that the original code also replaced href="" with href=\"\", which was probably wrong, but I'm not to sure about that. Fixes #18
* | Fix linting issuesredsky172019-05-272-18/+16
| |
* | Add reply and menu buttons to TimelineItemredsky172019-05-272-3/+54
| |
* | Fix lintingredsky172019-04-041-3/+3
| |
* | Update nheko to export sessions using new formatredsky172019-03-271-4/+10
|/ | | | (requires mtxclient updates as well).
* Merge pull request #43 from vtronko/implicitconversion_fixJoseph Donofry2019-03-031-2/+2
|\ | | | | Get rid of implicit conversion in text input height calculation. Thanks @vtronko
| * Get rid of implicit conversion in text input height calculationVladyslav Tronko2019-03-031-2/+2
| |
* | Don't let multiline text background overlap top border of text widgetVladyslav tronko2019-03-041-3/+3
|/
* Fix linting issueredsky172019-02-251-1/+1
|
* Nlohmann build updatesredsky172019-02-243-3/+3
|
* Attempt to fix issue #19 by increasing the lmdb max_dbs setting.Andrew Johnson2019-02-161-2/+2
|
* Improve color generation performanceredsky172019-02-083-27/+53
| | | | | | Colors are generated asynchronously now and the TimelineItem is updated when the color generation finishes. This allows the UI to stay responsive while new colors are being generated.
* Merge branch 'ui-enhancements'redsky172019-02-0730-21/+1108
|\ | | | | | | Preparing for 0.6.3 release
| * Add download button to ImageOverlayredsky172019-01-303-0/+13
| | | | | | | | | | | | When opening images in the full-screen overlay, there is now a download button next to the close button. This button utilizes the same functionality as the right-click->save image button.
| * Restore Emoji Picker, but remove forcing EmojiOneredsky172019-01-262-3/+3
| | | | | | | | | | | | Restored the emoji picker, but it now falls back to the system instead of forcing Emoji One. The allows users to user the picker for convenience, but doesn't enforce the emoji style on them.
| * Revert "Remove built-in emoji picker"redsky172019-01-2613-1/+746
| | | | | | | | This reverts commit 4b807229aa20d6f4891e35f08d489da427d3d0b6.
| * Fix lint issues in last commitredsky172019-01-261-16/+16
| |
| * Add initial support for QtIndenticonredsky172019-01-262-0/+35
| | | | | | | | | | | | | | | | | | | | | | Add initial loading of qt jdenticon plugin: https://github.com/redsky17/qt-jdenticon Currently, the library's functionality has not been integrated into the rest of nheko. Next step is to add a configuration item in the User Settings and use the plugin to generate avatars for users without their own picture. These avatars should be cached in the Cache object.
| * Fix lint issueredsky172019-01-261-2/+2
| |
| * Fix inconsistent user color updates.redsky172019-01-261-4/+5
| |
| * Update user colors to use Cache vs Utilsredsky172019-01-266-40/+43
| | | | | | | | | | | | | | User colors are now stored in cache. This is consistent with other similar variables. I think there's a bug right now where it doesn't properly refresh colors for the TimeLineItem when the theme is changed.
| * Add unread notification color for user mentionedredsky172019-01-256-13/+30
| | | | | | | | | | | | 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.
| * Fix lambda capture errorredsky172019-01-241-1/+1
| |
| * Author Color Fixesredsky172019-01-208-7/+75
| | | | | | | | | | | | | | | | | | | | Author color is now cached so that it will not be re-calculated each time a new message is posted. This cache gets cleared when the theme is changed. Additionally, the author color is now automatically refreshed when the theme is changed, fixing the issue where you had to change rooms before the colors would switch.
| * Update user id color generationredsky172019-01-202-64/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the author color generation. Now, instead of generating an entire hex string based on the user id, the user id instead is used to generate a hue value. After this hue value is created, there is some logic to tweak first the lightness and then saturation values to achieve a readable color (in contrast to the background). This change makes it so that user colors will not vary as wildly between the different themes. The values still are not cached and still do not update initially when the theme is changed. Both of these things will be resolved.
| * Fix UserSettings UI not showing saved prefsredsky172019-01-192-0/+9
| | | | | | | | | | | | | | Theme and Font Family settings will now correctly display the stored settings when nheko is re-launched. Previously, these combo boxes would default to the first thing in the combo box, even if that wasn't what the user selected.
| * Add User Font Settingredsky172019-01-193-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | User can now select a font from the installed fonts on their system This font currently will only be applied when nheko is restarted (similar to how font size and scaling currently work). This will be addressed in a future commit. Additionally, the dropdown does not correctly select the previously-chosen user font, and instead defaults to the first font available on the system (alphabetically). This is similar to the issue with the 'Theme' combo defaulting to 'Light' even when another theme is selected.
| * Modified the code that generates user's colors so that it willredsky172019-01-184-9/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | work regardless of the theme choices the user makes. The code now incorporates the contrast between the background color and the color generated by the user_name when picking colors. It currently has two 'big' issues: 1. Colors are not cached. I am planning on adding a QHash for this a little later. This should improve performance by not calculating the color for the same users over and over and over again. 2. Theme changes do not trigger the colors to get refreshed. Currently, you will have to switch to a different room and back to get the colors to refresh.
| * Make the author text slightly large.redsky172019-01-183-2/+27
| | | | | | | | Add author color generated based on user id.
* | escape id when joining a roomrnhmjoj2019-02-071-1/+2
|/
* Remove the code that removed paragraph tags from markdown -> html.redsky172019-01-181-4/+0
| | | | | | | This fixes #2, but reverts mujx#438. I do not think mujx#438 was a valid issue, as it complained about the display of valid HTML on riot, which speaks more to how Riot styles things than about an issue in nheko itself.
* Fix clang-format linting issueredsky172019-01-161-5/+4
|
* Update travis ci config to point to redsky17 config and try to fix lintredsky172019-01-131-4/+2
| | | | errors
* Add hover color for timestamp.redsky172019-01-122-2/+10
| | | | | Update dark and system themes to provide colors for the hover states for title, subtitle, and timestamp.
* Tweak some of the colors in the CSS rules for nheko.Joe Donofry2019-01-122-0/+16
| | | | Add room list hover title/subtitle color change support.
* Increase the height of the roomlist itemsKonstantinos Sideris2018-10-101-2/+2
|