Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-10 | Introduce RoomEventsView | Kitsune Ral | |
Will be used in Room to work with ranges of events. | |||
2017-12-10 | EventType: Add more enumeration values | Kitsune Ral | |
2017-12-10 | Use the generated PostReceiptJob; don't compile unused job classes | Kitsune Ral | |
Rewire Connection::postReceipt() to the generated job too; this call is still deprecated though. | |||
2017-12-10 | Log room creation only once | Kitsune Ral | |
2017-12-10 | Elaborate a deprecation comment | Kitsune Ral | |
2017-12-10 | Fix setting the homeserver hostname (not URL) coming from /login | Kitsune Ral | |
2017-12-07 | Fix compilation with Qt 5.2 | Kitsune Ral | |
2017-12-07 | PasswordLogin: Fix the legacy job class to compile with new BaseJob::Data | Kitsune Ral | |
2017-12-07 | New generated jobs for: room directory, 3PIDs, redactions, typing ↵ | Kitsune Ral | |
notifications and others Closes #128 (the issue has the full list of jobs arriving herewith). | |||
2017-12-07 | GTAD: Enable content-repo stubs generation | Kitsune Ral | |
2017-12-07 | Use new GTAD features: avoid copying of custom schemas; inline body where ↵ | Kitsune Ral | |
appropriate Body inlining is needed in content-repo cases and also cases with freeform JSON in the body (such as the one of upcoming PostReceiptJob). | |||
2017-12-07 | New generated jobs for: room directory, 3PIDs, redactions, typing ↵ | Kitsune Ral | |
notifications and others Closes #128 (the issue has the full list of jobs arriving herewith). | |||
2017-12-07 | Make BaseJob::Data consume QByteArray as well, not only QJsonObject | Kitsune Ral | |
This is needed to support cases of content-repo, where the request/response bodies are not JSON. | |||
2017-12-07 | jobs/generated: don't rely on QString's COW; firmer formatting | Kitsune Ral | |
2017-12-07 | Connection: no more default to matrix.org; update HS URL from /login response | Kitsune Ral | |
2017-12-07 | Generated jobs: Apply naming convention to parameters | Kitsune Ral | |
It's now camelCase everywhere, even if The Spec uses snake_case (it is not consistent in that respect). | |||
2017-12-07 | Generated jobs: Don't dump empty strings to body parameters | Kitsune Ral | |
This is important for (soon to be added) LoginJob, since the server is sensitive to getting an (even empty) entity for "medium" as opposed to omitting it entirely. This cannot be addressed on the spec level; on the other hand, removing empty parameters from the payload reduces useless bytes getting on the wire. | |||
2017-12-07 | converters.h: Use perfect forwarding | Kitsune Ral | |
2017-12-07 | Connection: undeprecate joinRoom() | Kitsune Ral | |
This is for the same reason as Connection::getThumbnail() - it's the only non-template (hence, supported by QML and Qt queued signal connections) way to invoke joining a room. | |||
2017-12-07 | converters.h: support QByteArray | Kitsune Ral | |
2017-12-07 | Make BaseJob::Data consume QByteArray as well, not only QJsonObject | Kitsune Ral | |
This is needed to support cases of content-repo, where the request/response bodies are not JSON. | |||
2017-12-06 | jobs/generated: don't rely on QString's COW; firmer formatting | Kitsune Ral | |
2017-12-06 | GTAD pre-0.4, with local data types and parametrised arrays; make avoidCopy? ↵ | Kitsune Ral | |
actually work Along with this: - avoid copying of QStrings (unneeded convenience in our case) - even less empty lines | |||
2017-12-06 | converters.h: Use perfect forwarding | Kitsune Ral | |
2017-12-06 | Connection: undeprecate joinRoom() | Kitsune Ral | |
This is for the same reason as Connection::getThumbnail() - it's the only non-template (hence, supported by QML and Qt queued signal connections) way to invoke joining a room. | |||
2017-12-06 | converters.h: support QByteArray | Kitsune Ral | |
2017-11-30 | Connection: no more default to matrix.org; update HS URL from /login response | Kitsune Ral | |
2017-11-30 | Generated jobs: Apply naming convention to parameters | Kitsune Ral | |
It's now camelCase everywhere, even if The Spec uses snake_case (it is not consistent in that respect). | |||
2017-11-28 | Merge branch 'master' into kitsune-gtad | Kitsune Ral | |
2017-11-28 | Bumped up the soname version | Kitsune Ral | |
NB: Dynamic library generation requires CMake; no libqmatrixclient.pro yet. | |||
2017-11-26 | Make connectToServer/connectWithToken auto-resolve HS if needed | Kitsune Ral | |
"Needed" means when the current HS URL is invalid even by its outlooks. If it is just inaccessible, no attempt to fix things will be made. This breaks compatibility with previous library behaviour because connectWithToken historically has been fully synchronous and clients depend on that. connectWithToken _may_ work synchronously if HS URL is good enough; but this is no more guaranteed. Moreover, in the future the server will be probed via /versions before working, so connectWithToken will become entirely asynchronous. | |||
2017-11-26 | Deprecated resolved(); grouped signals from the same operations | Kitsune Ral | |
2017-11-25 | Make Connection::resolveServer() work as it should | Kitsune Ral | |
Closes #119; many thanks to @r0kk3rz for prodding me into that. | |||
2017-11-25 | ConnectionData::setBaseUrl() | Kitsune Ral | |
2017-11-22 | Undeprecated Connection::getThumbnail(), moved Q_INVOKABLE calls to slots | Kitsune Ral | |
Connection::getThumbnail() should not have been deprecated because it's the only way to request a thumbnail using an event loop (i.e. from QML or via QMetaObject::invokeMethod). | |||
2017-11-22 | Use unique_ptr for connectionData | Kitsune Ral | |
2017-11-22 | Force-create NAM earlier | Kitsune Ral | |
To somewhat ease a bump at sending the first network request. | |||
2017-11-21 | Use QStringLiteral instead of bare QString constructors for string constants | Kitsune Ral | |
For job endpoints, we should eventually move to QLatin1String or QByteArray instead. Maybe later. | |||
2017-11-21 | Eliminate race condition in Avatar::get() | Kitsune Ral | |
The race occurred because _ongoingRequest wasn't properly reinitialized if another request on a bigger size arrives while a request for a smaller size is in the air. The old request is now abandoned and continuations are collected inside the Avatar object rather than in the lambda connected to the job. Closes #124. Along the way, _scaledPixmaps is now std::vector instead of QHash since usually it only contains very few (1 or 2) entries and QHash is a waste of memory for that. | |||
2017-11-21 | Mitigate the mess with slashes between base URL and endpoint string | Kitsune Ral | |
Closes #125 | |||
2017-11-21 | Workaround Qt's poor bearer management | Kitsune Ral | |
Closes #109 | |||
2017-11-20 | Slightly rearrange code so that the NAM singleton could be configured easier | Kitsune Ral | |
2017-11-16 | Fix CI | Kitsune Ral | |
2017-11-16 | Simplify code that loads events from JSON arrays | Kitsune Ral | |
2017-11-16 | Require state_key to be present in all state events | Kitsune Ral | |
This impacts the cache as well, as we don't save state_keys for most state events. | |||
2017-11-16 | Automate cache resets | Kitsune Ral | |
The idea is simple: store a version in the cache; if, upon the next load, the (major) version is too old, the cache is discarded. The currently used version values (0.0) do not discard the cache; but the next commit will bump the (major) version. | |||
2017-11-10 | Add Telegram to the list of bridge suffixes | Kitsune Ral | |
2017-11-10 | Merge pull request #112 from Quiark/master | Kitsune Ral | |
Fix (IRC) bridge detection | |||
2017-11-10 | Fix (IRC) bridge detection | Roman Plášil | |
2017-11-05 | README.md: Replace some leftover references to Quaternion | Kitsune Ral | |