aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-21Merge pull request #189 from r0kk3rz/masterKitsune Ral
fix error handling in loadState()
2018-03-21Fix Travis failing to build PRsKitsune Ral
2018-03-21Merge pull request #190 from krombel/ignore_content_type_appendixKitsune Ral
ignore possible appendixes from content type
2018-03-20ignore possible appendixes from content typeKrombel
Currently libqmatrixclient fails checking the `Content-Type` header when there is an appendix like "charset". That is allowed e.g. in [rfc7231](https://tools.ietf.org/html/rfc7231#section-3.1.1.5)) One example is a Content-Type `application/json` vs `application/json;charset=UTF-8` Setting of the charset appendis is currently not supported. It fails with libqmatrixclient.jobs: "LoginJob" status 106 : "Incorrect content type of the response" This PR aims to just drop that appendix as it is currently not handled somewhere else.
2018-03-19fix error handling in loadState()Lewis Rockliffe
2018-03-08User: Streamline Avatar storageKitsune Ral
Don't use pointers and explicit operator new() for Avatars now that we store them in a separate container from the avatar(url)-to-room mapping. Less heap wasted.
2018-03-08Avatar: check URLs before fetching, not on updating the URLKitsune Ral
Closes #187.
2018-03-07User: use std::unique_ptr instead of QScopedPointerKitsune Ral
Slightly safer for the case (probably).
2018-03-07Travis: Small fixes to Valgrind suppressionsKitsune Ral
2018-03-07Fix resetting the read marker if a read receipt comes from the syncKitsune Ral
Closes #184.
2018-03-07Travis: experimental Valgrind suppressions fileKitsune Ral
2018-03-07qmc-example: Fix redaction test to work even if the synced message is ↵Kitsune Ral
already redacted
2018-03-07qmc-example: Remove no more needed deleteLaterKitsune Ral
Might help with autotest segfaulting on OSX.
2018-03-07qmc-example: Ensure prerequisites before running the tagging testKitsune Ral
2018-03-06CONTRIBUTING.md: add sections on API, doc-comments; update on automatic testing.Kitsune Ral
2018-03-06Make sure the read marker is reinstated after Quaternion restartKitsune Ral
2018-03-05Merge branch 'kitsune-fully-read-marker'Kitsune Ral
2018-03-05Support server-side read marker (m.full_read)Kitsune Ral
Closes #183. There's also the m.read part but it can be done sometime later, as it's pure optimisation.
2018-03-05qmc-example: Logging tweaksKitsune Ral
2018-03-05First pieces of server-side read marker supportKitsune Ral
2018-03-05Travis: added one more parameter to qmc-exampleKitsune Ral
2018-03-05Profile-log if saving state has been interrupted by processEvents for long ↵Kitsune Ral
enough
2018-03-05qmc-example: Rewritten with a QObject for clearer dispatchingKitsune Ral
2018-03-05Merge branch 'kitsune-save-room-tags'Kitsune Ral
2018-03-05qmc-example: tests for redaction and tagging; send origin in test messagesKitsune Ral
2018-03-05Room: addTag() and removeTag()Kitsune Ral
Slightly changed TagRecord constructors to match.
2018-03-05Room::toJson(): Fix caching of tagsKitsune Ral
2018-03-05ReadMarkerEvent; TagEvent remade with less boilerplate codeKitsune Ral
tagevent.h -> accountdataevents.h now has a macro to define more simplistic events along the lines of simplestateevents.h but inheriting from Event instead. TagEvent and ReadMarkerEvent(m.fully_read) are defined using this macro. ReadMarkerEvent is also wired through event.* (but not further yet).
2018-03-05Use constants instead of hardcoded stringsKitsune Ral
2018-03-05Support saving account data on the serverKitsune Ral
Closes #152. Saving of specific event types should be added separately.
2018-03-05converters.h: pass QJsonValue by reference; add support of QHash<QString, T>Kitsune Ral
2018-03-05jobs/generated: SetAccountDataJob, SetAccountDataPerRoomJobKitsune Ral
2018-03-05simplestateevents.h: minor tweaksKitsune Ral
2018-03-05Fix a typo leading to cache never workingKitsune Ral
2018-03-04Connection: allow to choose between binary and text JSON cacheKitsune Ral
2018-03-04Room::toJson(): Use QJsonObject/Array modern constructors; check execution timeKitsune Ral
Now that we're on Qt 5.6 we can afford brace-initialization of those objects.
2018-03-04QCoreApplication::processEvents() is static, doesn't need instance()Kitsune Ral
Thanks to clang-tidy for spotting that.
2018-03-04CMakeLists.txt: indent files with 4 spaces as everywhere elseKitsune Ral
[skip ci]
2018-03-04Merge pull request #180 from Quiark/update_compilerKitsune Ral
Making it compile for android
2018-03-03Caching: switching to binary JSON format; yield to event loop while making a ↵Kitsune Ral
cache payload
2018-03-03Merge branch 'ci-tweaks'Kitsune Ral
2018-03-03Improve compatibility with gcc 4.9 to be able to build for Android with ↵Roman Plášil
QtCreator
2018-03-02ISSUE_TEMPLATE.mdKitsune Ral
2018-03-02Travis CI: run qmc-example on OSX; set valgrind options externallyKitsune Ral
The first part at least checks that qmc-example works on OSX (and we no more make a useless bundle for it). The second part allows to change valgrind options without tinkering .travis.yml.
2018-03-01Connection::tagNames()Kitsune Ral
To be able to get all available tags throughout the connection.
2018-03-01Fix tags saving/restoring (finally)Kitsune Ral
Closes #134.
2018-02-28Skip retry interval if the last job attempt timed outKitsune Ral
Closes #175.
2018-02-28Don't resolve the homeserver port from a user MXIDKitsune Ral
Closes #176. The right way (c) of server name resolution will be done in #178 (see also the Google Doc mentioned in it).
2018-02-28To the previous commit: µ (mu, micro) is a part of Latin-1 code page.Kitsune Ral
And QDebug doesn't work with u"" anyway.
2018-02-28Profiling logs: added µs, less empty profiling log linesKitsune Ral
Closes #177.