Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2018-03-03 | Caching: switching to binary JSON format; yield to event loop while making a ↵ | Kitsune Ral | |
cache payload | |||
2018-03-03 | Merge branch 'ci-tweaks' | Kitsune Ral | |
2018-03-03 | Improve compatibility with gcc 4.9 to be able to build for Android with ↵ | Roman Plášil | |
QtCreator | |||
2018-03-02 | ISSUE_TEMPLATE.md | Kitsune Ral | |
2018-03-02 | Travis CI: run qmc-example on OSX; set valgrind options externally | Kitsune 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-01 | Connection::tagNames() | Kitsune Ral | |
To be able to get all available tags throughout the connection. | |||
2018-03-01 | Fix tags saving/restoring (finally) | Kitsune Ral | |
Closes #134. | |||
2018-02-28 | Skip retry interval if the last job attempt timed out | Kitsune Ral | |
Closes #175. | |||
2018-02-28 | Don't resolve the homeserver port from a user MXID | Kitsune 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-28 | To 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-28 | Profiling logs: added µs, less empty profiling log lines | Kitsune Ral | |
Closes #177. | |||
2018-02-27 | Travis CI: Fix a typo | Kitsune Ral | |
2018-02-27 | Room: Save tags in the cache; isFavourite() and isLowPriority() | Kitsune Ral | |
2018-02-26 | qmc-example: Temporarily comment out the code that uses uncommitted features | Kitsune Ral | |
2018-02-26 | TagEvent: drop unneeded methods; add a license block to the .cpp file | Kitsune Ral | |
Those methods are more appropriate for Room. | |||
2018-02-26 | qmc-example: Optionally send a test message; don't dump incoming messages to ↵ | Kitsune Ral | |
cout The room alias is the third parameter (after user and password). | |||
2018-02-26 | Travis CI: Skip valgrind on OSX; send a message to a test room on every run | Kitsune Ral | |
2018-02-26 | Deal with memory more carefully | Kitsune Ral | |
Plugs some memory leaks reported by Valgrind. | |||
2018-02-26 | Fix on the previous fix (sorry for the mess) | Kitsune Ral | |
2018-02-26 | Fix (not working for quite a long time) CI on OSX | Kitsune Ral | |
2018-02-26 | Travis CI: an attempt to introduce automatic testing | Kitsune Ral | |
Adding valgrind to the mix. | |||
2018-02-26 | qmc-example: Single-shot sync instead of continuous; room tags; code cleanup | Kitsune Ral | |
Single-shot sync is now used because with that qmc-example can be used as a crude auto-testing tool. | |||
2018-02-26 | Merge branch 'kitsune-account-data' | Kitsune Ral | |
2018-02-26 | Room and Connection: support room tags | Kitsune Ral | |
Closes #134. | |||
2018-02-26 | TagEvent: m.tag events parsing | Kitsune Ral | |
Using them in rooms and connection comes in the next commit. | |||
2018-02-26 | SyncJob: parse events from global account data too | Kitsune Ral | |
Closes #123 (room account data were parsed even before). No specific event classes for account data yet, though. | |||
2018-02-26 | Room: show 1-on-1 invitations in a better way | Kitsune Ral | |
Previously it was just an "Empty room" name, now it's "Invitation from %1". | |||
2018-02-25 | ReceiptEvent: code cleanup | Kitsune Ral | |
2018-02-24 | Merge branch 'kitsune-room-specific-userinfo' | Kitsune Ral | |
2018-02-24 | User: store avatars on the heap; use two containers to store ↵ | Kitsune Ral | |
avatars-to-rooms mapping Because they are uncopiable, unlike pointers to them; and a combination of QHash of avatars and a QMultiHash of rooms is much more convenient than a std::vector<std::pair<...>>. | |||
2018-02-24 | User/Room: signal that a user/member is about to change the name | Kitsune Ral | |
Enables to address QMatrixClient/Quaternion#284. Also fixes a gibberish condition in Room::Private::renameMember() that led to improper warnings and a too early return. | |||
2018-02-24 | Support per-room user traits | Kitsune Ral | |
User::Private stores two new maps (for display names and avatars respectively) and is able to retrieve and store names/avatars on a per-room basis. The "most used" trait is stored separately and room lists are not kept for it (because most people have a single name and a single avatar across all or most rooms). TODO: The avatar container should be replaced with something less clumsy; the current code doesn't even compile with MSVC. A "handle" copyable structure that would hold the Avatar is one of options. Closes #141. | |||
2018-02-24 | Don't copy event content in accessors | Kitsune Ral | |
2018-02-23 | Room: user() and memberJoinState(); code cleanup | Kitsune Ral | |
Room::user() came instead of Room::Private::member() and memberJoinState() came instead of Private::hasMember. | |||
2018-02-23 | Avatar: provide common logic for uploading; don't store Connection | Kitsune 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-23 | RoomMemberEvent: make it sendable | Kitsune 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-23 | BaseJob: In case of 4xx errors, fill the status with the message from the ↵ | Kitsune Ral | |
response | |||
2018-02-20 | BaseJob: added Abandoned status | Kitsune Ral | |
For a very brief period between calling BaseJob::abandon() and deletion of the job object. | |||
2018-02-19 | Fix a typo in the previous commit | Kitsune 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). |