aboutsummaryrefslogtreecommitdiff
path: root/connection.h
AgeCommit message (Collapse)Author
2016-09-07More dead code removalKitsune Ral
2016-09-06Remember the current SyncJob and allow to explicitly abandon itKitsune Ral
2016-09-06Connection: homeserver(); Connection and ConnectionData: accessToken(); ↵Kitsune Ral
accessors de-virtualized Details: - New: Connection::homeserver(), returns the homeserver URL from inside ConnectionData - New/Modify: Connection::accessToken() and ConnectionData::accessToken() - because we will also have refresh tokens eventually; deprecate token() for the same reason - Modify: Connection::user(), token(), accessToken() are no more virtual (they should have never been, these are plain accessors, after all)
2016-08-31Dismiss ConnectionPrivate, long live Connection::PrivateKitsune Ral
Closer investigation found out that there are only two actually used member functions in ConnectionPrivate - provideRoom() and resolveServer(). These two have been transferred to Connection; and data members from ConnectionPrivate found new home in Connection::Private. Factoring out room management and user management from Connection is still a pending task.
2016-07-22Introduced LogoutJobKitsune Ral
The job calls the /logout endpoint of CS API that invalidates the passed access_token; a respective Connection::logout() method and Connection::loggedOut() signal are added for use in clients.
2016-05-27Use nullptrKitsune Ral
2016-04-22Allow login with token.David A Roberts
2016-04-12Resolve Matrix SRV records.David A Roberts
2016-04-07Allow Connections to be used in QML.David A Roberts
2016-04-05Imported the current source tree from Quaternion/lib.Kitsune Ral