Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-24 | Test/example for direct chats marking | Kitsune Ral | |
Also: refactored to gather up code dealing with the semaphor. | |||
2018-03-24 | Dealing with direct chats | Kitsune Ral | |
Receiving and caching m.direct (and other non-room account data along the way); Connection::addToDirectChats/removeFromDirectChats (might get siblings in Room eventually but not now), Connection/User::requestDirectChat. Closes #163. | |||
2018-03-24 | Introduce DirectChatEvent (parse only, no processing yet) | Kitsune Ral | |
2018-03-24 | MemberEventContent/RoomMemberEvent: parse and expose is_direct | Kitsune Ral | |
2018-03-24 | converters.h: Make the default toJson() less greedy | Kitsune Ral | |
template<T> toJson(T&&) grabbed even things that it cannot convert, leading to unpleasant effects in a situation when all that was needed was one implicit conversion (e.g. from QList<QString> to QStringList). So now it's three trivial toJson() overloads instead of a template. | |||
2018-03-23 | Room::downloadFile(): Events are const | Kitsune Ral | |
2018-03-23 | Room::downloadFile(): make sure to store the initiated file transfer anew | Kitsune Ral | |
QHash doesn't overwrite an entry if it already exists; this might lead to the target file name from the previous transfer kept in the table of file transfers. The commit fixes that. | |||
2018-03-23 | DownloadFileJob::beforeStart(): make sure to immediately return in case of error | Kitsune Ral | |
2018-03-23 | Room::downloadFile(): don't start another job if the transfer is ongoing | Kitsune Ral | |
2018-03-23 | BaseJob::start(): self-destruct if not succesfully started | Kitsune Ral | |
Closes #193. | |||
2018-03-23 | Room::downloadFile(): Make sure a generated file name is sane | Kitsune Ral | |
Closes #191. | |||
2018-03-21 | Merge pull request #189 from r0kk3rz/master | Kitsune Ral | |
fix error handling in loadState() | |||
2018-03-21 | Fix Travis failing to build PRs | Kitsune Ral | |
2018-03-21 | Merge pull request #190 from krombel/ignore_content_type_appendix | Kitsune Ral | |
ignore possible appendixes from content type | |||
2018-03-20 | ignore possible appendixes from content type | Krombel | |
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-19 | fix error handling in loadState() | Lewis Rockliffe | |
2018-03-08 | User: Streamline Avatar storage | Kitsune 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-08 | Avatar: check URLs before fetching, not on updating the URL | Kitsune Ral | |
Closes #187. | |||
2018-03-07 | User: use std::unique_ptr instead of QScopedPointer | Kitsune Ral | |
Slightly safer for the case (probably). | |||
2018-03-07 | Travis: Small fixes to Valgrind suppressions | Kitsune Ral | |
2018-03-07 | Fix resetting the read marker if a read receipt comes from the sync | Kitsune Ral | |
Closes #184. | |||
2018-03-07 | Travis: experimental Valgrind suppressions file | Kitsune Ral | |
2018-03-07 | qmc-example: Fix redaction test to work even if the synced message is ↵ | Kitsune Ral | |
already redacted | |||
2018-03-07 | qmc-example: Remove no more needed deleteLater | Kitsune Ral | |
Might help with autotest segfaulting on OSX. | |||
2018-03-07 | qmc-example: Ensure prerequisites before running the tagging test | Kitsune Ral | |
2018-03-06 | CONTRIBUTING.md: add sections on API, doc-comments; update on automatic testing. | Kitsune Ral | |
2018-03-06 | Make sure the read marker is reinstated after Quaternion restart | Kitsune Ral | |
2018-03-05 | Merge branch 'kitsune-fully-read-marker' | Kitsune Ral | |
2018-03-05 | Support 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-05 | qmc-example: Logging tweaks | Kitsune Ral | |
2018-03-05 | First pieces of server-side read marker support | Kitsune Ral | |
2018-03-05 | Travis: added one more parameter to qmc-example | Kitsune Ral | |
2018-03-05 | Profile-log if saving state has been interrupted by processEvents for long ↵ | Kitsune Ral | |
enough | |||
2018-03-05 | qmc-example: Rewritten with a QObject for clearer dispatching | Kitsune Ral | |
2018-03-05 | Merge branch 'kitsune-save-room-tags' | Kitsune Ral | |
2018-03-05 | qmc-example: tests for redaction and tagging; send origin in test messages | Kitsune Ral | |
2018-03-05 | Room: addTag() and removeTag() | Kitsune Ral | |
Slightly changed TagRecord constructors to match. | |||
2018-03-05 | Room::toJson(): Fix caching of tags | Kitsune Ral | |
2018-03-05 | ReadMarkerEvent; TagEvent remade with less boilerplate code | Kitsune 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-05 | Use constants instead of hardcoded strings | Kitsune Ral | |
2018-03-05 | Support saving account data on the server | Kitsune Ral | |
Closes #152. Saving of specific event types should be added separately. | |||
2018-03-05 | converters.h: pass QJsonValue by reference; add support of QHash<QString, T> | Kitsune Ral | |
2018-03-05 | jobs/generated: SetAccountDataJob, SetAccountDataPerRoomJob | Kitsune Ral | |
2018-03-05 | simplestateevents.h: minor tweaks | Kitsune Ral | |
2018-03-05 | Fix a typo leading to cache never working | Kitsune Ral | |
2018-03-04 | Connection: allow to choose between binary and text JSON cache | Kitsune Ral | |
2018-03-04 | Room::toJson(): Use QJsonObject/Array modern constructors; check execution time | Kitsune Ral | |
Now that we're on Qt 5.6 we can afford brace-initialization of those objects. | |||
2018-03-04 | QCoreApplication::processEvents() is static, doesn't need instance() | Kitsune Ral | |
Thanks to clang-tidy for spotting that. | |||
2018-03-04 | CMakeLists.txt: indent files with 4 spaces as everywhere else | Kitsune Ral | |
[skip ci] | |||
2018-03-04 | Merge pull request #180 from Quiark/update_compiler | Kitsune Ral | |
Making it compile for android |