aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-04Support dumping Events to QDebugKitsune Ral
2018-11-04DEFINE_SIMPLE_STATE_EVENT: fix construction from an rvalue QJsonObjectKitsune Ral
2018-11-04DEFINE_SIMPLE_STATE_EVENT: fix value_type mistakenly dubbed as content_typeKitsune Ral
2018-11-03MediaThumbnailJob: minor code polishingKitsune Ral
2018-11-03User::displayname(): avoid calling nameForRoom twiceKitsune Ral
nameForRoom() is O(n) in this context (n - number of names of a given user).
2018-10-29Connection::joinRoom: allow to specify intermediate serversKitsune Ral
Closes #127.
2018-10-26Use tr() for pluralsKitsune Ral
2018-10-12Room::addTag: use float instead of Omittable<float>Kitsune Ral
No-order is already modelled with the other overload, and Omittable<> breaks interfacing with QML.
2018-10-11Merge pull request #250 from krombel/enable_http2_and_pipeliningKitsune Ral
add http2 and pipelining for all Jobs
2018-10-10add http2 and pipelining for all JobsKrombel
2018-10-05Room: fix a blunder leading to accessing data after moveKitsune Ral
2018-10-04events.h: #ifndef DISABLE_EVENTTYPE -> #ifdef ENABLE_EVENTTYPE_ALIASKitsune Ral
This turns off the legacy EventType namespace with event type aliases (EventType::RoomMessageEvent etc.). To still use it, pass - DENABLE_EVENTTYPE_ALIAS to the compiler.
2018-10-04Modernise and fix code dealing with call eventsKitsune Ral
Call events no more store deserialised values; instead they deserialise values on the fly, same as all other events. They are no more treated as state events (The Spec doesn't define them as state events in the first place). A common base class, CallEventBase, is introduced that defines data pieces common to all call events (call id and version).
2018-09-30Avatar: fixes and optimisationsKitsune Ral
Closes #249.
2018-09-30Room: Unify tags both when getting and settingKitsune Ral
2018-09-30Room: use csapi/tags.h; fix tagsChanged() double-emissionKitsune Ral
Instead of overwriting the entire set of tags even on single-tag operations, SetRoomTagJob and DeleteRoomTagJob are used now. (Room::setTags() still uses SetRoomAccountDataJob).
2018-09-30toJson(TagRecord): don't dump order if there's noneKitsune Ral
2018-09-29Merge pull request #247 from QMatrixClient/avatar-cacheKitsune Ral
WIP: Add avatar caching.
2018-09-29Merge branch 'cs-api-0.4.0'Kitsune Ral
2018-09-29Support CS API 0.4.0Kitsune Ral
Numerous changes in CS (and now also AS) API, including compatibility-breaking ones - see the diff for details.
2018-09-29Prepare for CS API 0.4.0Kitsune Ral
This commit consists of two parts: upgrading the API infrastructure and trivial but sweeping update to the generated files. 1. The API infrastructure (converters.h, *.mustache and some other non-generated files) now can deal with top-level JSON arrays and response inlining; better supports property maps; and gets some formatting fixes in generated code. 2. Generated files now use QJsonValue instead of QJsonObject as a default type to (un)marshall Matrix API data structures, to match the change in the infrastructure above This commit is still using the old Matrix API definitions, before CS API 0.4.0. Getting to CS API 0.4.0 will come next.
2018-09-25Room::addTag: fix the QML-friendly overload's parameterKitsune Ral
TagRecord::order_type is float now, not QString.
2018-09-23Coding improvements.Black Hat
Change _localFile initializer. Move avatar into <cache>/avatar. Remove redundant codes. Change _localFile to QString. Code deduplication.
2018-09-21Add avatar caching.Black Hat
2018-09-17Merge pull request #244 from delijati/masterKitsune Ral
Updated voip pull request #110
2018-09-17return false in processStateEvent; make processCall privateJosip Delic
2018-09-17remove tunrnserverJosip Delic
2018-09-17remove tunrnserverJosip Delic
2018-09-17Merge pull request #243 from QMatrixClient/default-avatarKitsune Ral
Remove default avatar.
2018-09-16Merge remote-tracking branch 'upstream/master'Josip Delic
2018-09-16Remove default avatar.Black Hat
2018-09-16Introduce Room::displaynameAboutToChange()Kitsune Ral
2018-09-16BaseJob::rawData: only add "truncated" when actually truncatedKitsune Ral
2018-09-16Connection: make factories a bit more customisableKitsune Ral
2018-09-16Use the right header file for QImageKitsune Ral
2018-09-13Merge pull request #242 from encombhat/pkg-configKitsune Ral
Add QMatrixClient.pc.in
2018-09-13Fix cdynamic linking issue of pkg-config.Black Hat
2018-09-13Use pkg-config only on GNU/Linux.Black Hat
2018-09-12Merge pull request #239 from encombhat/masterKitsune Ral
Add readUser for RoomEvent
2018-09-12Add QMatrixClient.pc.inBlack Hat
2018-09-12Merge pull request #1 from QMatrixClient/masterBlack Hat
Merge to latest commit.
2018-09-09Room::beforeDestruction()Kitsune Ral
This is to allow connecting to before-destruction of one specific room, rather than any room under a connection (for which Connection::aboutToDeleteRoom() still exists).
2018-09-09util.h: move qAsConst out of QMatrixClientKitsune Ral
It's borrowed from Qt; namespacing basically forced client writers to put "using namespace QMatrixClient" before using qAsConst.
2018-09-09room.h: Unify doc-commentsKitsune Ral
Doxygen/Qt style is preferred from now on.
2018-09-09Avatar: don't paint on null images; optimise initial placeholder generationKitsune Ral
2018-09-09CleanupKitsune Ral
2018-09-02Switch tag order from strings to floats, as The Spec preachesKitsune Ral
The Spec wasn't entirely consistent on this until recently but floats actually are used in the wild, rather than strings.
2018-08-30Add signal for read receipt.Black Hat
2018-08-30Remove unused check.Black Hat
2018-08-30SyncJob: Add account_data to left roomsKitsune Ral
Closes #240.