Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-31 | Ignore some errors on leaving rooms, add new error enum. Fixes #307 | Ville Ranki | |
2019-05-20 | Connection: Fix a race condition in direct chats handling upon initial sync | Kitsune Ral | |
Closes #323. | |||
2019-05-19 | Improve wording in a comment | Kitsune Ral | |
2019-05-19 | Connection: use QScopedPointer instead of unique_ptr | Kitsune Ral | |
While theoretically less robust (no equivalent of make_unique), QScopedPointer is navigable in Qt Creator debug views, unlike unique_ptr. Of course this will eventually be fixed; but given that inability to create an owning pointer object means sure abnormal termination of our code shortly afterwards, having make_unique in this particular case doesn't help in any way at all; so unique_ptr has zero advantages over QScopedPointer in this setting. | |||
2019-05-18 | Connection::onSyncSuccess(): fix using after move() | Kitsune Ral | |
Also rewrite the account data piece with visit(). | |||
2019-05-03 | Connection::stateCacheDir | Kitsune Ral | |
Same as stateCachePath but returns QDir. | |||
2019-04-24 | Connection::logout: ignore ContentAccessError | Kitsune Ral | |
Closes #316. | |||
2019-04-06 | Clean up on clang-tidy/clazy analysis | Kitsune Ral | |
2019-03-30 | Connection: make sure to mark rooms supposed to be direct chats as such | Kitsune Ral | |
Closes #305. Relies on correct tracking of Invite membership from the previous commit. | |||
2019-03-27 | Connection::domain() | Kitsune Ral | |
2019-03-10 | Room::checkVersion(): be tolerant to already upgraded rooms | Kitsune Ral | |
2019-03-02 | style: apply .clang-format to all .cpp and .h files | Marc Deop | |
2019-02-27 | Connection::stopSync: undo the sync loop | Kitsune Ral | |
2019-02-22 | Room::setAliases, Connection: roomByAlias, updateRoomAliases | Kitsune Ral | |
2019-02-17 | Connection: loadingCapabilities(); sort availableRoomVersions | Kitsune Ral | |
2019-02-15 | Room::checkVersion() and Room::unstableVersion() | Kitsune Ral | |
Initial (sans power levels checking) implementation of the check that room should be upgraded. Closes most of #236. | |||
2019-02-15 | Connection: load supported room versions | Kitsune Ral | |
A part of #236. | |||
2019-02-15 | Merge branch 'master' into kitsune-room-versions | Kitsune Ral | |
2019-02-11 | Connection::createRoom: support passing a room version | Kitsune Ral | |
On the path to address #233. | |||
2019-02-10 | Connection: move syncLoopTimeout to Connection::Private | Alexey Andreyev | |
Signed-off-by: Alexey Andreyev <aa13q@ya.ru> | |||
2019-02-05 | Connection: simplified sync loop logic without delays | Alexey Andreyev | |
Signed-off-by: Alexey Andreyev <aa13q@ya.ru> | |||
2019-02-03 | Connection: separated sync loop logic with delay control | Alexey Andreyev | |
Signed-off-by: Alexey Andreyev <aa13q@ya.ru> | |||
2019-01-30 | Connection: infinite sync loop logic by default | Alexey Andreyev | |
2019-01-13 | Connection: fix/workaround glitches on joining/leaving | Kitsune Ral | |
Closes #273, in particular. | |||
2019-01-13 | Connection::provideRoom: allow omitting join state | Kitsune Ral | |
2019-01-05 | Connection::upload*: autodetect content type if not supplied | Kitsune Ral | |
2018-12-13 | Connection: initialize lazyLoading member variable | Kitsune Ral | |
2018-12-11 | Expose Connection::nextBatchToken() | Kitsune Ral | |
2018-12-08 | Room summaries | Kitsune Ral | |
2018-12-08 | Connection: support members lazy-loading | Kitsune Ral | |
This should cover the Connection-related part of #253. Connection gained lazyLoading/setLazyLoading accessors and the respective Q_PROPERTY. When lazy loading is on, sync() adds lazy_load_members: true to its filter. | |||
2018-12-08 | Connection: Avoid Omittable<>::operator bool | Kitsune Ral | |
It was accidentally (and incorrectly) used in tags sorting code; will be dropped from Omittable<> in a later commit. | |||
2018-11-23 | Room/Connection: don't save the just loaded room cache | Kitsune Ral | |
2018-11-23 | Connection::saveState: use null instead of an empty object for a room | Kitsune Ral | |
placeholder Otherwise placeholder objects are confused with normal room JSON objects when loading from the cache. Closes #257 (again). | |||
2018-11-22 | Connection: Log when a room state cache is written | Kitsune Ral | |
2018-11-22 | Save state cache per-room | Kitsune Ral | |
Closes #257. | |||
2018-11-20 | Make SyncData more self-contained and prepare for cache splitting | Kitsune Ral | |
SyncData now resides in its own pair of files and is capable to load either from file or from JSON. There is also (yet untested) capability to load rooms from files if a file name stands is the value for a given room id. This allows to store the master cache file separately from cache files for each room, massively easing the problem of bulky accounts that can overflow the poor capacity of Qt's JSON engine. | |||
2018-11-19 | BaseJob::rawDataSample() | Kitsune Ral | |
A new recommended (and localisable) way of getting a piece of raw response to display next to error messages as "details". BaseJob::rawData() returns exactly the trimmed piece of data, no "truncated" suffix there anymore. | |||
2018-10-29 | Connection::joinRoom: allow to specify intermediate servers | Kitsune Ral | |
Closes #127. | |||
2018-09-16 | Merge remote-tracking branch 'upstream/master' | Josip Delic | |
2018-09-16 | Connection: make factories a bit more customisable | Kitsune Ral | |
2018-09-09 | Room::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-09 | Cleanup | Kitsune Ral | |
2018-08-29 | Merge branch 'master' of https://github.com/QMatrixClient/libqmatrixclient | Josip Delic | |
2018-08-29 | Use GetTurnServerJob for csapi | Josip Delic | |
2018-08-25 | Update to the recent CS API (watch out for breakage) | Kitsune Ral | |
Breaking changes: * guest_can_join is no more a thing - neither in Connection::createRoom, nor even in CreateRoomJob (it turned out that Synapse didn't really process this flag); * LoginJob has changed its list of arguments. If you use Connection to do logins (and you really should), you shouldn't be affected. * GetPublicRoomsJob now returns PublicRoomsResponse instead of providing all the response parts within the job Watch other changes in the diff. | |||
2018-08-25 | Update marius voip to new libqtmc | Josip Delic | |
2018-08-12 | Fix FTBFS (in a hacky way, needs a proper fix) | Kitsune Ral | |
2018-08-12 | Fix building with older Qt versions | Kitsune Ral | |
2018-08-11 | Reverse direct chats map | Kitsune Ral | |
Speeds up lookup of user(s) in a direct chat room. Also: "The other one's" avatar is used to set the avatar of direct chats only, not any room with 2 participants. | |||
2018-08-11 | Connection::doInDirectChat: don't remove invite/left rooms from direct chats | Kitsune Ral | |
Deletion of Invite rooms was a clear bug; as for left rooms, it makes sense to keep them in direct chat maps because they may be re-joined later on. |