aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/leaving.cpp
AgeCommit message (Collapse)Author
2018-02-03jobs/generated: Generate job-specific makeRequestUrl() methodsKitsune Ral
2018-01-09jobs: 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-09jobs/generated: Polish formatting; other minor cleanupKitsune Ral
2017-12-07jobs/generated: don't rely on QString's COW; firmer formattingKitsune Ral
2017-12-07Generated jobs: Don't dump empty strings to body parametersKitsune 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-01Move converters.h out of jobs/Kitsune Ral
Because they are applicable beyond jobs.
2017-10-14Leaving a room now uses a generated Job fileKitsune Ral