Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-27 | jobs/generated: GetRoomTagsJob, SetRoomTagJob, DeleteRoomTagJob | Kitsune Ral | |
2018-02-27 | jobs/generated: SendMessageJob (might or might not preempt non-generated ↵ | Kitsune Ral | |
SendEventJob) | |||
2018-02-27 | jobs/generated: GetPushersJob, PostPusherJob | Kitsune Ral | |
2018-02-27 | jobs/generated: GetJoinedRoomsJob | Kitsune Ral | |
2018-02-27 | jobs/generated: SetAccountDataJob, SetAccountDataPerRoomJob | Kitsune Ral | |
2018-02-03 | jobs/generated: Generate job-specific makeRequestUrl() methods | Kitsune Ral | |
2018-01-30 | CreateRoomJob: Update to the latest Spec version | Kitsune Ral | |
2018-01-14 | Drop extraneous #include <QString> | Kitsune Ral | |
2018-01-14 | BaseJob::Data -> RequestData; support QIODevice* input/output | Kitsune Ral | |
2018-01-09 | jobs/generated: content-repo.*, create_room.* | Kitsune Ral | |
2018-01-09 | jobs: expect application/json by default; set query in constructor body; ↵ | Kitsune Ral | |
properly convert numbers to strings in query The query should be set in constructor body because there's no reason to pass non-required parameters into the query. As for numbers to strings conversion - there was an attempt to use QJsonValue(a).toString() for that. That doesn't work; QJsonValue does not turn numbers to strings. | |||
2018-01-09 | jobs/generated: Use BaseJob::addExpectedContentType() | Kitsune Ral | |
2018-01-09 | jobs/generated: Polish formatting; other minor cleanup | 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 | 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 | 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-11-01 | Move converters.h out of jobs/ | Kitsune Ral | |
Because they are applicable beyond jobs. | |||
2017-10-19 | Introduce device_id and initial_device_name support; switch to generated ↵ | Kitsune Ral | |
LoginJob This is _almost_ a backwards-compatible change, except that connect*() and other relevant methods in Connection are no more virtual (that wasn't much useful anyway). Otherwise it's a matter of passing initial_device_name to connectToServer(), saving device_id (along with access_token) from the result of LoginJob and then passing device_id (along with access_token, again) to connectWithToken() upon the next run. | |||
2017-10-14 | Actually added generated/profile.* files, needed to change display name | Kitsune Ral | |
2017-10-14 | LogoutJob is supplied by generated code | Kitsune Ral | |
2017-10-14 | Leaving a room now uses a generated Job file | Kitsune Ral | |
2017-10-13 | Support banning and unbanning | Kitsune Ral | |
Closes #38. Also rearranged #includes | |||
2017-10-13 | Cleaner generated files | Kitsune Ral | |
2017-10-13 | All jobs: Drop ConnectionData parameter from the constructor | Kitsune Ral | |
Having to pass ConnectionData to each and every job class was nothing but boilerplate since the very beginning. Removing it required to prepend BaseJob::start() with ConnectionData-setting code, and to provide a way to alter the request configuration depending on the (late-coming) ConnectionData object. This is a new responsibility of BaseJob::start(); the previous BaseJob::start() contents have moved to BaseJob::sendRequest() (which is now invoked on retries, instead of start()). | |||
2017-09-09 | First files made by api-generator | Kitsune Ral | |
Actual usage will come with the next commit. |