Commit Graph

1254 Commits

Author SHA1 Message Date
Nicolas Werner 6d6d4fbcc1 Add debugging to cmake version in ci 2019-12-03 18:04:53 +01:00
Nicolas Werner 610e4dbe90 Bump required boost and cmake version to match mtxclient 2019-12-03 17:25:22 +01:00
Nicolas Werner b8f6e4ce64 Add encrypted file download 2019-12-03 02:48:29 +01:00
Nicolas Werner 6c2ec3fe67 Rename qml namespace from com.github.nheko to im.nheko 2019-11-30 01:43:39 +01:00
Nicolas Werner bf94d8e43a Remove commented out code 2019-11-30 01:36:37 +01:00
Joseph Donofry 4047a90302
Merge pull request #91 from Nheko-Reborn/qml-timeline
Qml timeline
2019-11-29 14:51:24 -05:00
Nicolas Werner 9fd279c020 Show encryption enabled and use a non zero size for zero size vide 2019-11-23 20:07:15 +01:00
Nicolas Werner 85aae9408b Wrap text in pre tags 2019-11-23 20:07:15 +01:00
Nicolas Werner 7bd875004f Only mark messages as read, when room is active 2019-11-23 20:07:15 +01:00
Nicolas Werner 5429b425e9 Lint 2019-11-23 20:07:15 +01:00
Nicolas Werner cf88499ccb Fix replies to encrypted events 2019-11-23 20:07:15 +01:00
Nicolas Werner 001c94865c Fix windows build
No idea, why apply visitor doesn't work with temporaries?
2019-11-23 20:07:15 +01:00
Nicolas Werner c424e397b0 Add loading spinner and restore message send queue 2019-11-23 20:07:15 +01:00
Nicolas Werner 1659356839 Update translations 2019-11-23 20:07:15 +01:00
Nicolas Werner 562169965c Show only messages in room list 2019-11-23 20:07:15 +01:00
Nicolas Werner 91d1f19058 Remove old timeline 2019-11-23 20:07:15 +01:00
Nicolas Werner e8f8182844 Use default macOS image 2019-11-23 20:07:15 +01:00
Nicolas Werner a3fc944967 Fix links opening user dialog and in browser 2019-11-23 20:06:16 +01:00
Nicolas Werner 0cec167339 Fix infinite item instantiating loop by using height instead of contentHeight 2019-11-23 20:06:16 +01:00
Nicolas Werner 2bfb885b47 optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider 2019-11-23 20:06:15 +01:00
Nicolas Werner 1268e9f11c Make replies format nicer
Also lays a bit of groundwork for better reply rendering
2019-11-23 20:06:15 +01:00
Nicolas Werner 88dc72df4f Enable link handling 2019-11-23 20:06:15 +01:00
Nicolas Werner 993926e189 Make user clickable and improve button cursor look 2019-11-23 20:06:15 +01:00
Nicolas Werner 4f7a45a0a6 Improve avatar look and layouting
Thanks to red_sky for the feedback!
2019-11-23 20:06:15 +01:00
Nicolas Werner bde71a6cbc fixup bad room list translation commit 2019-11-23 20:06:15 +01:00
Nicolas Werner 2279484697 Remove unused import 2019-11-23 20:06:15 +01:00
Nicolas Werner 2c37beba8d Fix translation of roomlist message preview
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...
2019-11-23 20:06:15 +01:00
Nicolas Werner 6b6085b270 Actually fix updating roomlist on new messages 2019-11-23 20:06:15 +01:00
Nicolas Werner 3c9ddc2afb break height binding loop 2019-11-23 20:06:15 +01:00
Nicolas Werner 15badebc77 Show own messages in RoomList 2019-11-23 20:06:15 +01:00
Nicolas Werner b1f1cb2b56 Redirect qt logger 2019-11-23 20:06:15 +01:00
Nicolas Werner 2055c75f8b Organize qml files a bit 2019-11-23 20:06:15 +01:00
Nicolas Werner e52ff609ed Remove unused Qt Module 2019-11-23 20:06:15 +01:00
Nicolas Werner 0d8bf6c676 lint 2019-11-23 20:06:15 +01:00
Nicolas Werner 3d6f502bcc Incubate delegates asynchronously 2019-11-23 20:06:15 +01:00
Nicolas Werner c8f97216fa Small fixes to delegate chooser implementation 2019-11-23 20:06:15 +01:00
Nicolas Werner c37495fae2 Use a basic implementation of a DelegateChooser for compat with older Qt
The interface is taken from Qt/KDE, but the implementation is different,
because the Qt implementation depends on some Qt internals.
2019-11-23 20:06:15 +01:00
Nicolas Werner cff46d97a8 Add native themeing to QML (where possible) 2019-11-23 20:06:15 +01:00
Nicolas Werner a83ae7e95f Fix section layout issues and pagination issues
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.
2019-11-23 20:06:15 +01:00
Nicolas Werner 0fd2199112 Load content if no scrollbar is needed 2019-11-23 20:06:15 +01:00
Nicolas Werner 8ebef4eed2 Size images/videos by timeline width 2019-11-23 20:06:15 +01:00
Nicolas Werner d90038cf20 Misc layout fixes 2019-11-23 20:06:15 +01:00
Nicolas Werner b9076c5c4d Try out DelegateChooser
requires Qt5.12+
2019-11-23 20:06:15 +01:00
Benedikt Bongartz 7f41752165 fix: add missing quickcontrols2 dep 2019-11-23 20:06:15 +01:00
Nicolas Werner e828d9ed7b Disable autoplayback again 2019-11-23 20:06:15 +01:00
Nicolas Werner 084396059b Use win lean and mean to fix WinSock include issue 2019-11-23 20:06:15 +01:00
Nicolas Werner ec6953d0c0 Fix linting issues 2019-11-23 20:06:15 +01:00
Nicolas Werner 241c0236fc Try to fix windows Winsock.h compilation error 2019-11-23 20:06:15 +01:00
Nicolas Werner 55696ec0ba Add required graphicaleffects package 2019-11-23 20:06:15 +01:00
Nicolas Werner 489165d579 Lower requirement on QtQuick.Layouts version 2019-11-23 20:06:15 +01:00