aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-24Don't copy event content in accessorsKitsune Ral
2018-02-23Room: user() and memberJoinState(); code cleanupKitsune Ral
Room::user() came instead of Room::Private::member() and memberJoinState() came instead of Private::hasMember.
2018-02-23Avatar: provide common logic for uploading; don't store ConnectionKitsune Ral
Although the setting part of the work is class(User or Room)-specific, the uploading part is common, so Avatar provides it now. Also: there's no need to store Connection, as it's only used in get() and upload() - just pass it as the parameter to the methods.
2018-02-23RoomMemberEvent: make it sendableKitsune Ral
To do that, both RoomMemberEvent and MemberEventContent got respective constructors. Also: the fallback value for unknown _received_ membership types is now Undefined; it's not allowed in member events for sending (will fail on assertion now) because the server requires membership to be explicitly set.
2018-02-23BaseJob: In case of 4xx errors, fill the status with the message from the ↵Kitsune Ral
response
2018-02-20BaseJob: added Abandoned statusKitsune Ral
For a very brief period between calling BaseJob::abandon() and deletion of the job object.
2018-02-19Fix a typo in the previous commitKitsune Ral
A symptom that you suffered from it is you don't see any usernames whatsoever, and after restarting room names are also gone (to fix that, delete cache files).
2018-02-07RoomEvent/RoomMemberEvent: do not store what can be calculated on the flyKitsune Ral
Basically, segments of originalJsonObject() are used as-you-go instead of parsing them upon event creation.
2018-02-07MediaThumbnailJob::parseReply: Do not ignore underlying errorsKitsune Ral
2018-02-05Merge pull request #170 from QMatrixClient/kitsune-expose-download-urlsKitsune Ral
Expose download URLs
2018-02-03Room: urlToDownload() and urlToThumbnail()Kitsune Ral
Closes #168.
2018-02-03thumbnailInfo() for event content classes and RoomMessageEvent: hasThumbnailKitsune Ral
2018-02-03DownloadFileJob, MediaThumbnailJob: augment generated makeRequestUrl() methodsKitsune Ral
2018-02-03jobs/generated: Generate job-specific makeRequestUrl() methodsKitsune Ral
2018-02-03BaseJob::makeRequestUrlKitsune Ral
A static method that constructs a request URL for this job and the passed set of parameters.
2018-02-02Add CII Best Practices badge to the flair sectionKitsune Ral
2018-02-01On Windows, make sure the downloaded file has a proper extensionKitsune Ral
Closes #287.
2018-02-01Log transferred bytes in PROFILER categoryKitsune Ral
2018-02-01Room::fileNameToDownload: get a sensible initial name for the file pickerKitsune Ral
Works (at least, should work) with both Qt Widgets and QML.
2018-02-01Merge pull request #167 from Quiark/masterKitsune Ral
Move forgetRoom over to slots #166
2018-02-01Move forgetRoom over to slots #166Roman Plášil
2018-02-01Merge pull request #164 from Quiark/masterKitsune Ral
Make qmake warning spec compatible with msvc
2018-02-01Make qmake warning spec compatible with msvcRoman Plášil
2018-02-01Add GCC 4.9.2 to the workaround path for FileTransferInfo codeKitsune Ral
Closes #161. Doesn't make GCC 4.9.2 officially supported but libqmatrixclient can be compiled with it as of now.
2018-02-01AppVeyor CI configurationKitsune Ral
Compared to the (very similar) Quaternion project configuration, this one adds qmake-based building with MSVC 2017 (MSVC 2015 can be added if anybody needs it).
2018-01-31Connection::createdRoom() signalKitsune Ral
2018-01-30Merge branch 'kitsune-create-room'Kitsune Ral
Closes #34.
2018-01-30User: Fixes in newly introduced methodsKitsune Ral
2018-01-30User: Fixes in newly introduced methodsKitsune Ral
2018-01-30Fix compilation with ClangKitsune Ral
Did two QChar::isDigit() overloads, one static and one member, confuse it?
2018-01-30Fix compilation with ClangKitsune Ral
Did two QChar::isDigit() overloads, one static and one member, confuse it?
2018-01-30Room: setName(), setCanonicalAlias()Kitsune Ral
2018-01-30Fix compatibility with Qt before 5.10Kitsune Ral
2018-01-30Fix compatibility with Qt before 5.10Kitsune Ral
2018-01-30Connection: expose the list of users; use an ordered mapKitsune Ral
It's still an open question whether it's better to store a separate sorted index of users, next to an unsorted one; but a sorted list of users is of much more use in GUI than an unsorted one.
2018-01-30Connection: more Q_PROPERTYs, newUser signalKitsune Ral
2018-01-30Connection::createRoom and Connection::createDirectChatKitsune Ral
2018-01-30Connection class cleanupKitsune Ral
createRoom and createUser renamed to roomFactory and userFactory (because createRoom will mean a different thing); unneeded #include moved to the cpp file.
2018-01-30CreateRoomJob: Update to the latest Spec versionKitsune Ral
2018-01-30User: fullName, isGuest, better doc commentsKitsune Ral
User::fullName() is used in Room::roomMembername now. That string construction may be further cached now if it ever becomes a bottleneck.
2018-01-30RequestData: use autoKitsune Ral
Should improve compatibility with compilers that don't like conversions between different std::unique_ptr<> types.
2018-01-30Connection::onSyncSuccess: call processEvents upon each room parsingKitsune Ral
When there are too many rooms to process, this gives at least some bandwidth for the GUI in the meantime.
2018-01-25Merge branch 'kitsune-avatar-url-properties'Kitsune Ral
2018-01-25Room, User: expose avatarMediaId(); declare User for the metatype systemKitsune Ral
To make it easy to use User objects and fetch room and user avatars from QML. Closes #155.
2018-01-25Room, User: const-tighten up the code, set QObject namesKitsune Ral
To make debugging (including QML debugging) more convenient.
2018-01-25StateEvent<>: introduce Prev structure and prevSenderId() accessorKitsune Ral
Also switch prev_content() from accidental snake case to camel case (old name still provided for compatibility).
2018-01-25Expose avatar URLs of Room and User as Q_PROPERTYKitsune Ral
This is needed for QML integration. Closes #155.
2018-01-25Merge branch 'kitsune-better-forget'Kitsune Ral
2018-01-25Merge branch 'kitsune-invite-state-caching'Kitsune Ral
2018-01-25Connection: intercept late-coming /sync response on a just forgotten roomKitsune Ral
Closes #160.