Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-05 | Use constants instead of hardcoded strings | 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 | QCoreApplication::processEvents() is static, doesn't need instance() | Kitsune Ral | |
Thanks to clang-tidy for spotting that. | |||
2018-03-03 | Caching: switching to binary JSON format; yield to event loop while making a ↵ | Kitsune Ral | |
cache payload | |||
2018-03-01 | Connection::tagNames() | Kitsune Ral | |
To be able to get all available tags throughout the connection. | |||
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 | Profiling logs: added µs, less empty profiling log lines | Kitsune Ral | |
Closes #177. | |||
2018-02-27 | Room: Save tags in the cache; isFavourite() and isLowPriority() | Kitsune Ral | |
2018-02-26 | Deal with memory more carefully | Kitsune Ral | |
Plugs some memory leaks reported by Valgrind. | |||
2018-02-26 | Room and Connection: support room tags | Kitsune Ral | |
Closes #134. | |||
2018-01-31 | Connection::createdRoom() signal | Kitsune Ral | |
2018-01-30 | Connection: expose the list of users; use an ordered map | Kitsune 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-30 | Connection: more Q_PROPERTYs, newUser signal | Kitsune Ral | |
2018-01-30 | Connection::createRoom and Connection::createDirectChat | Kitsune Ral | |
2018-01-30 | Connection class cleanup | Kitsune 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-30 | Connection::onSyncSuccess: call processEvents upon each room parsing | Kitsune Ral | |
When there are too many rooms to process, this gives at least some bandwidth for the GUI in the meantime. | |||
2018-01-25 | Merge branch 'kitsune-better-forget' | Kitsune Ral | |
2018-01-25 | Connection: intercept late-coming /sync response on a just forgotten room | Kitsune Ral | |
Closes #160. | |||
2018-01-25 | Connection::provideRoom: assert no empty ids | Kitsune Ral | |
Bonus: slightly more accurate comment in Connection::forgetRoom | |||
2018-01-25 | Room::toJson: fix invite state caching | Kitsune Ral | |
Causes a cache version upgrade; the old cache stores the state in an incorrect place that won't be supported. Closes #159. | |||
2018-01-25 | Connection::forgetRoom: Support forgetting invites too | Kitsune Ral | |
Closes #157. | |||
2018-01-24 | Fix dangling references | Kitsune Ral | |
2018-01-24 | splitMediaId: fix typos in the assertion failure message | Kitsune Ral | |
2018-01-22 | splitMediaId: better assertion failure message | Kitsune Ral | |
2018-01-14 | Connection: files up/downloading support | Kitsune Ral | |
2018-01-14 | Connection::getThumbnail: Add an overload for QString | Kitsune Ral | |
Connection::getThumbnail(QString,...) is better fitting to retrieve images for QML image providers - one doesn't need to create a QUrl (which if made naively ends up being incorrect) and also doesn't need to stack up "mxc://" before the mediaId. Just call Connection::getThumbnail with the id the QML engine gives you. | |||
2018-01-09 | Fix an occasional crash when resolving a server name | Kitsune Ral | |
Closes #149. | |||
2017-12-29 | Use std::unique_ptr instead of bare pointers; cleanup stale declarations | Kitsune Ral | |
2017-12-25 | Connection: Be more accurate with lambda captures | Kitsune Ral | |
2017-12-21 | Connection::logout: supply receiver to connect(job,...) | Kitsune Ral | |
2017-12-20 | Connection::accessToken - return QByteArray instead of QString | Kitsune Ral | |
Because that's what it really is. | |||
2017-12-19 | Don't use LoginJob::homeServer() anymore | Kitsune Ral | |
Because the respective parameter in /login result is deprecated. Closes #137. | |||
2017-12-16 | Connection: proactively create a Room object upon joining a room | Kitsune Ral | |
So that clients could start using this object without waiting for the next sync. | |||
2017-12-10 | Use the generated PostReceiptJob; don't compile unused job classes | Kitsune Ral | |
Rewire Connection::postReceipt() to the generated job too; this call is still deprecated though. | |||
2017-12-10 | Log room creation only once | Kitsune Ral | |
2017-12-10 | Fix setting the homeserver hostname (not URL) coming from /login | Kitsune Ral | |
2017-12-07 | Connection: no more default to matrix.org; update HS URL from /login response | Kitsune Ral | |
2017-12-07 | Generated jobs: Apply naming convention to parameters | Kitsune Ral | |
It's now camelCase everywhere, even if The Spec uses snake_case (it is not consistent in that respect). | |||
2017-11-26 | Make connectToServer/connectWithToken auto-resolve HS if needed | Kitsune Ral | |
"Needed" means when the current HS URL is invalid even by its outlooks. If it is just inaccessible, no attempt to fix things will be made. This breaks compatibility with previous library behaviour because connectWithToken historically has been fully synchronous and clients depend on that. connectWithToken _may_ work synchronously if HS URL is good enough; but this is no more guaranteed. Moreover, in the future the server will be probed via /versions before working, so connectWithToken will become entirely asynchronous. | |||
2017-11-25 | Make Connection::resolveServer() work as it should | Kitsune Ral | |
Closes #119; many thanks to @r0kk3rz for prodding me into that. | |||
2017-11-22 | Use unique_ptr for connectionData | Kitsune Ral | |
2017-11-16 | Require state_key to be present in all state events | Kitsune Ral | |
This impacts the cache as well, as we don't save state_keys for most state events. | |||
2017-11-16 | Automate cache resets | Kitsune Ral | |
The idea is simple: store a version in the cache; if, upon the next load, the (major) version is too old, the cache is discarded. The currently used version values (0.0) do not discard the cache; but the next commit will bump the (major) version. | |||
2017-11-02 | Document room transitions in .h instead of .cpp | Kitsune Ral | |
The original comment got a bit rotten, so refresh it as well. | |||
2017-10-31 | Fix Connection::deviceId(): Q_INVOKABLE is incompatible with references | Kitsune Ral | |
2017-10-27 | Put access token to headers instead of query | Kitsune Ral | |
2017-10-19 | Introduce device_id and initial_device_name support; switch to generated ↵ | Kitsune Ral | |
LoginJob This is _almost_ a backwards-compatible change, except that connect*() and other relevant methods in Connection are no more virtual (that wasn't much useful anyway). Otherwise it's a matter of passing initial_device_name to connectToServer(), saving device_id (along with access_token) from the result of LoginJob and then passing device_id (along with access_token, again) to connectWithToken() upon the next run. | |||
2017-10-15 | Connection::forgetRoom(): Minor fixes | Kitsune Ral | |
2017-10-14 | LogoutJob is supplied by generated code | Kitsune Ral | |