Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-27 | BaseJob::abandon() fixes | Kitsune Ral | |
1. It should work with non-started jobs now (Closes #289). 2. It should allow clients to still handle `finished()` instead of cutting them off right before emitting the signal. | |||
2019-02-26 | Room::avatarObject | Kitsune Ral | |
Closes #268. | |||
2019-02-26 | Linkify Matrix identifiers | Kitsune Ral | |
This is a crude interim implementation until we get new fancy Matrix URIs. | |||
2019-02-26 | prettyPrint(): only linkify http(s), ftp, mailto, magnet links | Kitsune Ral | |
Closes #278. | |||
2019-02-26 | Room: avoid dangling pointers, even if not dereferenced | Kitsune Ral | |
Closes #288; fixes one more case similar to #286. Also: disconnect file transfer signals correctly in Room::postFile. | |||
2019-02-26 | Merge pull request #287 from a-andreyev/aa13q-fix-5.6-build-qhash | Kitsune Ral | |
Fix Qt<5.7 build for std::hash<StateEventKey> | |||
2019-02-26 | Room::addNewMessageEvents: fix possible use of an invalid iterator | Kitsune Ral | |
Closes #286. | |||
2019-02-25 | Have a build-wide macro for compilers that don't handle init-lists right | Kitsune Ral | |
WORKAROUND_EXTENDED_INITIALIZER_LIST -> BROKEN_INITIALIZER_LISTS is available from util.h now. | |||
2019-02-25 | RoomMessageEvent: support m.in_reply_to (not spec-compliant yet); optimise ↵ | Kitsune Ral | |
away TextContent when not needed 1. The spec says "if you support rich replies you MUST support fallbacks" - this commit only adds dealing with event JSON but not with textual fallbacks. 2. TextContent is only created if there's something on top of plain body (an HTML body or a reply). | |||
2019-02-25 | Room::postHtmlMessage: default message type to m.text | Kitsune Ral | |
postHtmlText becomes just a synonym for 2-arg postHtmlMessage (hopefully at least this doesn't confuse QML that is generally terrible at resolving overloads). | |||
2019-02-25 | makeRedacted: update the list of preserved parts | Kitsune Ral | |
Closes #256. | |||
2019-02-24 | Fix Qt<5.7 build for std::hash<StateEventKey> | Alexey Andreyev | |
2019-02-24 | Merge branch 'kitsune-aliases-map' | Kitsune Ral | |
2019-02-23 | Remove the 'pretty' SupportedRoomVersion vector debug operator | Alexander Akulich | |
This way we conform with Qt standard debug output and do not rely on a Qt private API. This also fixes compilation for Qt < 5.7. | |||
2019-02-22 | Room::setAliases, Connection: roomByAlias, updateRoomAliases | Kitsune Ral | |
2019-02-22 | Merge remote-tracking branch 'remotes/origin/kitsune-simpler-simple-content' | Kitsune Ral | |
2019-02-20 | BaseJob: M_UNSUPPORTED_ROOM_VERSION & M_INCOMPATIBLE_ROOM_VERSION | Kitsune Ral | |
2019-02-19 | Room::downloadFile: construct the temporary filename more carefully | Kitsune Ral | |
Closes #279. | |||
2019-02-18 | Room: fix building with MSVC | Kitsune Ral | |
2019-02-17 | Room: add isUnstable(); unstableVersion() -> stabilityUpdated() | Kitsune Ral | |
2019-02-17 | Room: emit room, not id in upgraded(); add upgradeFailed() | Kitsune Ral | |
2019-02-17 | Connection: loadingCapabilities(); sort availableRoomVersions | Kitsune Ral | |
2019-02-16 | Room::version(): Fallback an empty version to "1" | Kitsune Ral | |
2019-02-16 | Room::canSwitchVersions() | Kitsune Ral | |
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 | |