aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-15RoomVersionsCapability: fix naming for 'default' parameterKitsune Ral
The same word is used as a predicate in push_rule.yaml and as a noun in capabilities.yaml; fortunately, GTAD gives some means to distinguish the two.
2019-02-15Omittable: disallow implicit conversion to value_type altogetherKitsune Ral
Because it works, and fails, in surprising ways. And none of the code uses it, as of now.
2019-02-11Merge branch 'kitsune-update-matrix-api'Kitsune Ral
2019-02-11Merge pull request #274 from a-andreyev/aa13q-loop-logicKitsune Ral
Connection: additional infinite sync loop logic
2019-02-11RoomCreateEventKitsune Ral
Closes #234.
2019-02-11Connection::createRoom: support passing a room versionKitsune Ral
On the path to address #233.
2019-02-11SimpleContent: don't derive from Base as it gives zero added valueKitsune Ral
Originally there was an idea to make a common base class for all event content. Aside from really trivial unification of toJson() this doesn't span across various types of events, and since state events use static, rather than dynamic, polymorphism (StateEvent<> is a template with the aggregated content vs. RoomMessageEvent with the aggregated pointer-to-content-base), there's no considerable value in using the base class. If state events start using the same approach as message events, this may be brought back but not until then.
2019-02-10Connection: move syncLoopTimeout to Connection::PrivateAlexey Andreyev
Signed-off-by: Alexey Andreyev <aa13q@ya.ru>
2019-02-09csapi: support redirect-after-login (MSC1730)Kitsune Ral
2019-02-09csapi: add RedirectToSSOJobKitsune Ral
This is actually a rehash (MSC1721) of redirectToCAS that existed before but was explicitly disabled in the library because of its seeming uselessness in the context of non-web clients. On the second thought, however, `RedirectToSSOJob::makeRequestURL()` can actually be used to open a web browser from a non-web client in order to perform the login procedure.
2019-02-09csapi: UpgradeRoomJob (MSC1501)Kitsune Ral
2019-02-09csapi: GetCapabilitiesJob (MSC1753)Kitsune Ral
2019-02-09csapi: GetVersionsJob now returns unstableFeatures (MSC1497)Kitsune Ral
2019-02-09csapi: presence lists are no moreKitsune Ral
2019-02-05Connection: simplified sync loop logic without delaysAlexey Andreyev
Signed-off-by: Alexey Andreyev <aa13q@ya.ru>
2019-02-03Connection: separated sync loop logic with delay controlAlexey Andreyev
Signed-off-by: Alexey Andreyev <aa13q@ya.ru>
2019-01-30Connection: infinite sync loop logic by defaultAlexey Andreyev
2019-01-15.travis.yml: Use ninja on LinuxKitsune Ral
2019-01-13Merge branch 'kitsune-workaround-stuck-invites'Kitsune Ral
2019-01-13Merge branch 'kitsune-fake-state-events-immunity'Kitsune Ral
2019-01-13qmc-example: add setTopic test for true and fake state changesKitsune Ral
2019-01-13Security fix: require that state events have state_keyKitsune Ral
This has been fixed in the past but got undone after the great remaking of the event types system. Further commits will introduce tests to make sure this does not get undone again.
2019-01-13Fix building with Qt before 5.10Kitsune Ral
See https://bugreports.qt.io/browse/QTBUG-60339
2019-01-13qmc-example: use connectUntil()Kitsune Ral
2019-01-13qt_connection_util.h: a new home for connectSingleShot() and newly made ↵Kitsune Ral
connectUntil()
2019-01-13qmc-example: improve conclusion codeKitsune Ral
Make the HTML version of the report and send it to the room if available (tests HTML outlooks along the way).
2019-01-13util.h: check for fallthrough attribute instead of C++ versionKitsune Ral
2019-01-13Connection: fix/workaround glitches on joining/leavingKitsune Ral
Closes #273, in particular.
2019-01-13Room::Room: initialise display nameKitsune Ral
So that the room has at least some display name before any events come to it.
2019-01-13Connection::provideRoom: allow omitting join stateKitsune Ral
2019-01-13Fix Omittables accidentally becoming non-omitted when compared with ↵Kitsune Ral
non-Omittable values
2019-01-13util.h: check for fallthrough attribute instead of C++ versionKitsune Ral
2019-01-10Merge pull request #271 from qsodev/example_installKitsune Ral
added option for installation of qmc-example application
2019-01-06added info for QMATRIXCLIENT_INSTALL_EXAMPLE option to READMEqso
2019-01-06README.md: make the CII badge a bit more prominentKitsune Ral
[skip ci]
2019-01-06README.md: add/update badgesKitsune Ral
2019-01-06Create StateEventBase events if state_key is thereKitsune Ral
This makes unknown state events to still be treated as state events.
2019-01-06visit(): pass decayed event types to is()Kitsune Ral
So that is<> could be specialised for some types.
2019-01-06RoomEvent: don't log transactionId anymoreKitsune Ral
It's already logged in Room - actually, several times at different stages.
2019-01-06Merge pull request #272 from QMatrixClient/kitsune-upload-attachmentsKitsune Ral
Support of attachments uploading
2019-01-05Add Qt5::Multimedia to examples/CMakeLists.txt tooKitsune Ral
2019-01-05qmc-example: upgrade sendMesage() test; add sendFile() testKitsune Ral
Now really closes #267.
2019-01-05API version++; use QMediaResource from QtMultimedia (new dep) to detect m.videoKitsune Ral
resolution The API version number should have been bumped long ago.
2019-01-05EventContent::ImageInfo: support originalFilename in POD constructorKitsune Ral
It's not mandated by the spec for anything except m.file but hey it's convenient.
2019-01-05Room: findPendingEvent; fixes for postFile()Kitsune Ral
2019-01-05RoomMessageEvent: easier creation of file-based eventsKitsune Ral
2019-01-05More defaults to construct LocationContent and PlayableContentKitsune Ral
2019-01-05Support file events in Room::retryMessage/discardMessageKitsune Ral
2019-01-05Room::postFile() and supplementary things in Room::PrivateKitsune Ral
2019-01-05PendingEventItem: add FileUploaded status and setFileUploaded helper functionKitsune Ral