Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-16 | Room::checkVersion(): check power levels | Kitsune Ral | |
This is a flimsy implementation without proper RoomPowerLevelEvent definition, just to enable upgrades without causing noise to each and every user of a room on an unstable version. | |||
2019-02-16 | Room::switchVersion() | Kitsune Ral | |
Closes #236. | |||
2019-02-15 | Fix FTBFS | Kitsune Ral | |
2019-02-15 | Use Changes enum properly | Kitsune Ral | |
Don't use distinct items for each type of event; only for repeated/ combinable ones. | |||
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 | Room::upgraded() | Kitsune Ral | |
A signal emitted when the room receives a tombstone event from the server. | |||
2019-02-15 | Disallow sending events to rooms that have been upgraded | Kitsune Ral | |
This concludes the mandatory part of #235. | |||
2019-02-15 | Room: version(), predecessorId(), successorId() | Kitsune Ral | |
Use RoomCreateEvent and RoomTombstoneEvent in the backend, covering most of #235. | |||
2019-02-15 | Add a FIXME upon the recent failure under Valgrind | Kitsune Ral | |
2019-02-15 | Room::baseStateLoaded | Kitsune Ral | |
Mirroring Connection::loadedRoomState but for each single room (will be used as a NOTIFY signal for one-time-set events). | |||
2019-02-15 | Simplify RoomCreateEvent | Kitsune Ral | |
2019-02-15 | RoomTombstoneEvent | Kitsune Ral | |
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-15 | csapi/capabilities.*: fix the definition | Kitsune Ral | |
As per https://github.com/matrix-org/matrix-doc/pull/1879. | |||
2019-02-15 | RoomVersionsCapability: fix naming for 'default' parameter | Kitsune 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-15 | Omittable: disallow implicit conversion to value_type altogether | Kitsune Ral | |
Because it works, and fails, in surprising ways. And none of the code uses it, as of now. | |||
2019-02-11 | Merge branch 'kitsune-update-matrix-api' | Kitsune Ral | |
2019-02-11 | RoomCreateEvent | Kitsune Ral | |
Closes #234. | |||
2019-02-11 | Connection::createRoom: support passing a room version | Kitsune Ral | |
On the path to address #233. | |||
2019-02-11 | SimpleContent: don't derive from Base as it gives zero added value | Kitsune 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-10 | Connection: move syncLoopTimeout to Connection::Private | Alexey Andreyev | |
Signed-off-by: Alexey Andreyev <aa13q@ya.ru> | |||
2019-02-09 | csapi: support redirect-after-login (MSC1730) | Kitsune Ral | |
2019-02-09 | csapi: add RedirectToSSOJob | Kitsune 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-09 | csapi: UpgradeRoomJob (MSC1501) | Kitsune Ral | |
2019-02-09 | csapi: GetCapabilitiesJob (MSC1753) | Kitsune Ral | |
2019-02-09 | csapi: GetVersionsJob now returns unstableFeatures (MSC1497) | Kitsune Ral | |
2019-02-09 | csapi: presence lists are no more | Kitsune Ral | |
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 | Merge branch 'kitsune-workaround-stuck-invites' | Kitsune Ral | |
2019-01-13 | Security fix: require that state events have state_key | Kitsune 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-13 | Fix building with Qt before 5.10 | Kitsune Ral | |
See https://bugreports.qt.io/browse/QTBUG-60339 | |||
2019-01-13 | qt_connection_util.h: a new home for connectSingleShot() and newly made ↵ | Kitsune Ral | |
connectUntil() | |||
2019-01-13 | util.h: check for fallthrough attribute instead of C++ version | Kitsune Ral | |
2019-01-13 | Connection: fix/workaround glitches on joining/leaving | Kitsune Ral | |
Closes #273, in particular. | |||
2019-01-13 | Room::Room: initialise display name | Kitsune Ral | |
So that the room has at least some display name before any events come to it. | |||
2019-01-13 | Connection::provideRoom: allow omitting join state | Kitsune Ral | |
2019-01-13 | Fix Omittables accidentally becoming non-omitted when compared with ↵ | Kitsune Ral | |
non-Omittable values | |||
2019-01-13 | util.h: check for fallthrough attribute instead of C++ version | Kitsune Ral | |
2019-01-06 | Create StateEventBase events if state_key is there | Kitsune Ral | |
This makes unknown state events to still be treated as state events. | |||
2019-01-06 | visit(): pass decayed event types to is() | Kitsune Ral | |
So that is<> could be specialised for some types. | |||
2019-01-06 | RoomEvent: don't log transactionId anymore | Kitsune Ral | |
It's already logged in Room - actually, several times at different stages. | |||
2019-01-05 | API version++; use QMediaResource from QtMultimedia (new dep) to detect m.video | Kitsune Ral | |
resolution The API version number should have been bumped long ago. | |||
2019-01-05 | EventContent::ImageInfo: support originalFilename in POD constructor | Kitsune Ral | |
It's not mandated by the spec for anything except m.file but hey it's convenient. | |||
2019-01-05 | Room: findPendingEvent; fixes for postFile() | Kitsune Ral | |
2019-01-05 | RoomMessageEvent: easier creation of file-based events | Kitsune Ral | |
2019-01-05 | More defaults to construct LocationContent and PlayableContent | Kitsune Ral | |
2019-01-05 | Support file events in Room::retryMessage/discardMessage | Kitsune Ral | |