summary refs log tree commit diff
path: root/src/MainWindow.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-14Reduce some include of Cache.h since it needs 11s on averageNicolas Werner11-226/+275
2019-12-14Update READMENicolas Werner1-6/+6
[skip-ci]
2019-12-14Update to c++17Nicolas Werner17-284/+284
2019-12-13Clear appveyor cacheNicolas Werner1-1/+1
2019-12-13Fix position of invite button and elide long button textsNicolas Werner1-3/+7
2019-12-13Make invites always stick to the topNicolas Werner2-13/+8
This also removes an ugly hack, that was needed before.
2019-12-13Make images always fit the timelineNicolas Werner1-2/+7
2019-12-13Fix preview of sent encrypted imagesNicolas Werner1-10/+11
2019-12-13Bumb libsodium version, as 1.0.16 is not available anymoreNicolas Werner1-4/+4
2019-12-12Send encrypted files as generic mimetype and actually set urlNicolas Werner2-3/+6
2019-12-12cache .deps directory in appveyorNicolas Werner1-1/+3
2019-12-11try caching the .deps directoryNicolas Werner1-0/+4
2019-12-11Update translationsNicolas Werner9-9/+189
2019-12-10Show topic and name changes in timelineNicolas Werner4-1/+48
2019-12-08Simplify scroll logicNicolas Werner1-4/+0
2019-12-08Change scroll behaviour of timelineNicolas Werner3-5/+28
This requires Qt 5.9 (to calculate overshoot). The default scroll behaviour of list views has far too much inertia. This should make scrolling feel more like scrolling the other scroll areas of nheko.
2019-12-07Try to fix binding loop warningNicolas Werner1-3/+4
2019-12-06Restore linkification of messagesNicolas Werner1-2/+2
2019-12-06Update mtxclient to current 0.3.0-dev versionNicolas Werner1-2/+2
2019-12-05Update translationsNicolas Werner9-492/+375
2019-12-05Implement sending encrypted filesNicolas Werner6-212/+79
2019-12-03Implement decryption of imagesNicolas Werner6-9/+57
It is a bit of a hack, but it works...
2019-12-03lintNicolas Werner1-1/+0
2019-12-03Specify to not use boost static libs via command line in ciNicolas Werner1-1/+2
2019-12-03Add debugging to cmake version in ciNicolas Werner1-0/+3
2019-12-03Bump required boost and cmake version to match mtxclientNicolas Werner5-11/+12
2019-12-03Add encrypted file downloadNicolas Werner9-172/+210
2019-11-30Rename qml namespace from com.github.nheko to im.nhekoNicolas Werner8-10/+10
2019-11-30Remove commented out codeNicolas Werner1-1/+0
2019-11-23Show encryption enabled and use a non zero size for zero size videNicolas Werner6-6/+16
2019-11-23Wrap text in pre tagsNicolas Werner1-1/+1
2019-11-23Only mark messages as read, when room is activeNicolas Werner1-1/+2
2019-11-23LintNicolas Werner1-5/+3
2019-11-23Fix replies to encrypted eventsNicolas Werner1-1/+5
2019-11-23Fix windows buildNicolas Werner3-5/+7
No idea, why apply visitor doesn't work with temporaries?
2019-11-23Add loading spinner and restore message send queueNicolas Werner5-45/+123
2019-11-23Update translationsNicolas Werner10-1010/+1703
2019-11-23Show only messages in room listNicolas Werner1-7/+30
2019-11-23Remove old timelineNicolas Werner24-5397/+390
2019-11-23Use default macOS imageNicolas Werner1-1/+2
2019-11-23Fix links opening user dialog and in browserNicolas Werner1-2/+2
2019-11-23Fix infinite item instantiating loop by using height instead of contentHeightNicolas Werner1-2/+3
2019-11-23optionally use QQuickWidget and replace ColorOverlay -> colorImageProviderNicolas Werner12-149/+194
2019-11-23Make replies format nicerNicolas Werner4-16/+49
Also lays a bit of groundwork for better reply rendering
2019-11-23Enable link handlingNicolas Werner6-18/+41
2019-11-23Make user clickable and improve button cursor lookNicolas Werner6-39/+61
2019-11-23Improve avatar look and layoutingNicolas Werner5-9/+12
Thanks to red_sky for the feedback!
2019-11-23fixup bad room list translation commitNicolas Werner2-4/+0
2019-11-23Remove unused importNicolas Werner1-1/+0
2019-11-23Fix translation of roomlist message previewNicolas Werner3-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...
2019-11-23Actually fix updating roomlist on new messagesNicolas Werner3-29/+32
2019-11-23break height binding loopNicolas Werner1-1/+1
2019-11-23Show own messages in RoomListNicolas Werner1-1/+1
2019-11-23Redirect qt loggerNicolas Werner2-0/+42
2019-11-23Organize qml files a bitNicolas Werner13-37/+35
2019-11-23Remove unused Qt ModuleNicolas Werner1-1/+0
2019-11-23lintNicolas Werner2-7/+5
2019-11-23Incubate delegates asynchronouslyNicolas Werner3-10/+42
2019-11-23Small fixes to delegate chooser implementationNicolas Werner4-50/+10
2019-11-23Use a basic implementation of a DelegateChooser for compat with older QtNicolas Werner7-45/+299
The interface is taken from Qt/KDE, but the implementation is different, because the Qt implementation depends on some Qt internals.
2019-11-23Add native themeing to QML (where possible)Nicolas Werner5-23/+91
2019-11-23Fix section layout issues and pagination issuesNicolas Werner3-6/+4
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-23Load content if no scrollbar is neededNicolas Werner2-1/+10
2019-11-23Size images/videos by timeline widthNicolas Werner6-12/+46
2019-11-23Misc layout fixesNicolas Werner3-1/+7
2019-11-23Try out DelegateChooserNicolas Werner9-157/+189
requires Qt5.12+
2019-11-23fix: add missing quickcontrols2 depBenedikt Bongartz1-2/+2
2019-11-23Disable autoplayback againNicolas Werner2-1/+1
2019-11-23Use win lean and mean to fix WinSock include issueNicolas Werner1-0/+1
2019-11-23Fix linting issuesNicolas Werner2-2/+1
2019-11-23Try to fix windows Winsock.h compilation errorNicolas Werner1-1/+2
2019-11-23Add required graphicaleffects packageNicolas Werner1-0/+1
2019-11-23Lower requirement on QtQuick.Layouts versionNicolas Werner3-3/+3
2019-11-23Use QtQuick.Controls compatible with Qt 5.8Nicolas Werner6-6/+6
2019-11-23Try to package qml modulesNicolas Werner2-3/+2
2019-11-23Enable Sticker and Emote messagesNicolas Werner3-9/+14
2019-11-23Add basic video messagesNicolas Werner3-3/+15
Size is fixed for now, otherwise the Video output ends up somewhere...
2019-11-23Add progress bar to audio messagesNicolas Werner1-68/+110
2019-11-23Add simple audio message widgetNicolas Werner6-19/+180
2019-11-23File messages (qml)Nicolas Werner5-2/+84
2019-11-23Add basic read_event support (qml)Nicolas Werner2-5/+22
2019-11-23Update roomlist on new messagesNicolas Werner4-4/+32
2019-11-23Reenable redactionsNicolas Werner6-8/+26
2019-11-23Rename initialize to sync, since it does the same thingNicolas Werner3-5/+5
2019-11-23Restore saving of mediaNicolas Werner9-33/+174
2019-11-23Reenable ImageOverlayNicolas Werner3-1/+34
2019-11-23Add lock to encrypted messagesNicolas Werner5-0/+44
2019-11-23Remove noisy decrypted messageNicolas Werner1-2/+0
2019-11-23Reenable encrypted messagesNicolas Werner2-16/+342
2019-11-23Make avatar in timeline smallerNicolas Werner1-3/+5
2019-11-23Fix read indicatorNicolas Werner2-4/+15
2019-11-23Enable read receipts action and sync read receipts from cacheNicolas Werner5-4/+39
2019-11-23Add send/received indicatorNicolas Werner5-7/+133
2019-11-23Implement basic placeholder and disable unimplemented event typesNicolas Werner3-12/+23
2019-11-23Implement simple scroll state handlingNicolas Werner4-2/+77
2019-11-23Try to fix CI, no match for QString::arg(QStringRef)Nicolas Werner1-1/+1
2019-11-23Implement replies in qml timelineNicolas Werner3-0/+57
2019-11-23Implement sending other message types in qml timelineNicolas Werner2-9/+83
not using placeholders in timeline for now
2019-11-23Reimplement sending basic text messagesNicolas Werner3-2/+69
2019-11-23Show redactions in qml timelineNicolas Werner5-22/+75
2019-11-23Try to fix duplicate messages in certain edge cases (i.e. sync and ↵Nicolas Werner1-3/+14
pagination at the same time)
2019-11-23Fix shadow errorNicolas Werner1-4/+4
2019-11-23Fix ci formatter to format all filesNicolas Werner1-1/+3
2019-11-23Reenable display of encrypted messagesNicolas Werner2-15/+125
2019-11-23Reenable view raw messageNicolas Werner3-3/+15
2019-11-23Implement basic ImageMessages in qml timelineNicolas Werner6-2/+90
I suck at sizing so the images in the message are currently hardcoded to 300 pixels in width...
2019-11-23Implement avatars in qml timelineNicolas Werner12-8/+190
2019-11-23Fix new messages not arriving in qml timelineNicolas Werner1-2/+5
2019-11-23Make reply and options buttons smallerNicolas Werner1-6/+22
2019-11-23Fix QML emojisNicolas Werner4-4/+11
2019-11-23Use system colors for nowNicolas Werner5-8/+37
2019-11-23Bump required Qt version to 5.8 to support Q_NAMESPACENicolas Werner2-4/+5
2019-11-23Fix misc CI issuesNicolas Werner3-7/+3
2019-11-23Install quickcontrols in ciNicolas Werner1-0/+1
2019-11-23Fix shadow warningNicolas Werner1-3/+3
2019-11-23Implement TextMessage delegateNicolas Werner6-11/+243
Text selection over multiple items doesn't work yet
2019-11-23Format date (close to) the old way in qml timelineNicolas Werner3-1/+20
2019-11-23Add avatar placeholder and scrollbar to qml timelineNicolas Werner3-14/+39
2019-11-23Add basic sections and button placeholders to qml timelineNicolas Werner6-6/+132
2019-11-23Implement loading of history, when timeline is displayedNicolas Werner4-10/+85
2019-11-23Add items to timlineNicolas Werner5-19/+89
2019-11-23Add placeholder timeline modelNicolas Werner6-6/+155
2019-11-23Replace timeline with empty qml viewNicolas Werner8-53/+163
2019-11-02Update travis to xcode9.2 for macosJoe1-1/+1
2019-11-01Fix boost build in FreeBSDJoseph Donofry2-0/+40
2019-10-07Try to fix slow macos buildNicolas Werner1-0/+4
Try to prevent node upgrade via homebrew
2019-10-04Try to use an older linuxdeployqt appimageNicolas Werner1-2/+2
I think the most recent build broke deployments?
2019-09-25escape html before parsing commonmarkrnhmjoj1-1/+16
2019-09-03re-re-lintedAidan Hahn1-1/+0
2019-09-03relintedAidan Hahn1-7/+5
2019-09-02group similar ui options on settings pageAidan Hahn1-1/+0
2019-09-02ran make lint to apply style guidelinesAidan Hahn1-7/+4
2019-09-01ReImplement UserSettings::setAvatarCirclesAidan Hahn1-0/+6
2019-09-01removed leftovers from previous refactorAidan Hahn2-8/+0
2019-09-01fixed typoes in code, added layout metadata to new settings toggle.Aidan Hahn1-2/+3
2019-09-01Refactored Avatar and RoomInfoListItem to access rounding settings in placeAidan Hahn8-2267119/+22
2019-08-29Fix themeing issues on mentionsJoseph Donofry5-1/+47
2019-08-28add controll bits for avatar roundingAidan Hahn7-653/+976
2019-08-28rounding options for Avatar classAidan Hahn4-2/+2266811
2019-08-27added logic in avatar class to determine rounding typeAidan Hahn2-5/+25
2019-08-28Fix usage of deprecated findNicolas Werner2-2/+1
2019-08-26Remove unused variablesNicolas Werner1-2/+0
2019-08-26Try to reduce memory usage by reusing avatar pixmapsNicolas Werner27-207/+148
2019-08-19Fix SIGNAL SLOT issue on mtx typesJoseph Donofry2-0/+2
2019-08-19Fix build issues w/ clangJoseph Donofry2-3/+1
2019-08-19Update README with S3 nightlies listingJoseph Donofry1-1/+1
2019-08-19Update mtxclient versionJoseph Donofry1-2/+2
2019-08-19More updates to mentions functionalityJoseph Donofry4-33/+21
2019-08-12Fix issues with caching and loading of mentions.Joseph Donofry6-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.
2019-08-12Update mtxclient versionJoseph Donofry1-2/+2
2019-08-10Fix missing include in prior commitJoseph Donofry1-0/+1
2019-08-10Use 'system' theme as default if QT_QPA_PLATFORMTHEME is setJoseph Donofry3-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.
2019-08-09Fix linting issues w/ the last commitJoseph Donofry3-5/+5
2019-08-09Cache User MentionsJoseph Donofry9-504/+112
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.
2019-08-06Fix linting issuesJoseph Donofry2-6/+3
2019-08-05Cache user mentionsJoseph Donofry3-2/+69
2019-08-04Tweak S3 Upload settingsJoseph Donofry4-8/+11
2019-08-03Push to S3 on all branchesJoseph Donofry1-0/+5
2019-08-03Upload build artifacts to s3 bucketJoseph Donofry1-0/+12
2019-08-03Actually use the mtxstatic variable in ci scriptNicolas Werner1-1/+2
2019-08-03Use static mtxclient on osx in travisNicolas Werner1-0/+1
2019-08-01Translated using Weblate (German)nheko rocks1-12/+12
Currently translated at 97.0% (191 of 197 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-29Fix lambda capture issueJoseph Donofry1-1/+1
2019-07-28Translated using Weblate (English)Joseph Donofry1-2/+2
Currently translated at 100.0% (197 of 197 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28Translated using Weblate (English)Joseph Donofry1-9/+9
Currently translated at 100.0% (195 of 195 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28Update mentions dialogJoseph Donofry12-104/+270
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.
2019-07-28Fix lintingJoseph Donofry1-11/+18
2019-07-28Update translation contextJoseph Donofry10-324/+405
2019-07-28Translated using Weblate (English)Joseph Donofry1-12/+12
Currently translated at 100.0% (195 of 195 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28Address 'sent' translation issueJoseph Donofry11-31/+532
2019-07-28Translated using Weblate (Finnish)Tulir1-20/+22
Currently translated at 97.3% (180 of 185 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/fi/
2019-07-28Translated using Weblate (German)philipp1-1/+1
Currently translated at 97.8% (181 of 185 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28Translated using Weblate (German)nheko rocks1-22/+22
Currently translated at 97.8% (181 of 185 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28Manually translate long source stringsNicolas Werner1-2/+4
2019-07-28Translated using Weblate (English)DeepBlueV7.X1-16/+16
Currently translated at 98.9% (183 of 185 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28Translated using Weblate (Finnish)Tulir1-169/+171
Currently translated at 94.8% (165 of 174 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/fi/
2019-07-28Translated using Weblate (English)DeepBlueV7.X1-116/+118
Currently translated at 96.6% (168 of 174 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28Translated using Weblate (German)DeepBlueV7.X1-3/+3
Currently translated at 93.1% (162 of 174 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28Translated using Weblate (German)nheko rocks1-80/+80
Currently translated at 93.1% (162 of 174 strings) Translation: Nheko/nheko Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28