Commit Graph

46 Commits

Author SHA1 Message Date
283463810b Documentation fix for MatrixAPI.register_account 2016-01-24 15:07:02 +01:00
3993bb112c Add MatrixAPI.abort_pending definition 2016-01-22 16:01:26 +01:00
cdd5ebcd9b Add NULL checks in the MatrixAPI calls 2016-01-21 15:43:51 +01:00
f44a7e8785 Add (allow-none) annotation to add_room_tag’s content
Although the specification says it is required, the body of the request
can actually be an empty JSON object; and that is what we send if a JSON
content is NULL.
2016-01-21 15:43:29 +01:00
7d5b516005 Move invite_user_3pid() to direct MatrixAPI3PidCredential use 2016-01-21 15:37:04 +01:00
3e93e9e77d Add 3rd party credential invite possibility to create_room()
This is to comply with Matrix API r0.0.1
2016-01-21 15:36:23 +01:00
c73f76a235 Remove allow-none clause from register_account’s password parameter
It is not allowed by the specification.
2016-01-21 15:36:23 +01:00
cbfb0fbe72 Change login’s type param to login_type
It is for not to clash with some languages (like Python).
2016-01-21 15:24:53 +01:00
2dfdb754f3 Fix add_room_tag prototype and vfunc 2016-01-16 15:28:09 +01:00
8ce974e195 Change set_account_data’s type param to event_type
It is for not to clash with some languages (like Python)
2016-01-16 15:08:08 +01:00
0369b387c1 Remove const constraint from set_account_data’s content 2016-01-16 14:37:57 +01:00
5b1ea70b48 Update register_account() according to specification 2016-01-16 14:35:51 +01:00
8b332eaaea Implement token_refresh 2016-01-15 19:40:46 +01:00
13c8707dbf Update MatrixAPI with the versions API call 2016-01-15 19:23:51 +01:00
668c782df7 Remove const constraint from send_room_event’s content 2016-01-15 17:09:05 +01:00
11bd9002af Remove const constraint from send_message_event’s content 2016-01-15 16:51:09 +01:00
68833931e0 Change send_event_recepit_type’s type param to receipt_type
It is for not to clash with some languages (like Python).
2016-01-15 16:38:39 +01:00
a22df12d27 Annotation fix
Changed GString to utf8 in element-type annotations.
2016-01-15 15:29:41 +01:00
3e464e7318 Rename modify_pusher update_pusher
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
84c0eb569d Remove const constraint from media_upload’s content 2016-01-15 13:58:01 +01:00
97a169959c Accept non-json content 2016-01-15 13:09:39 +01:00
a037cb7aad Error fixes 2016-01-15 10:36:47 +01:00
ea7d9aaec4 Implement join_room 2016-01-13 17:21:55 +01:00
b0c26bcec2 Fix return values in property getters 2016-01-12 21:14:04 +01:00
2fdaea2119 Documentation fixes 2016-01-12 14:10:24 +01:00
4847f73668 Move enumerations to matrix-api-types.[ch] 2016-01-11 17:42:53 +01:00
4aa99ea19b Make MatrixAPIStateEvent a boxed type 2016-01-11 17:42:53 +01:00
edbc6222e3 Make MatrixAPIPusher a boxed type 2016-01-11 17:42:52 +01:00
127c1b4b61 Move MatrixAPIError to matrix-api-types.[ch] 2016-01-11 17:42:52 +01:00
ad8e202367 Make MatrixAPI3PidCredential a boxed type 2016-01-11 17:42:51 +01:00
72f317a941 Make MatrixAPIFilter a boxed type 2016-01-11 17:42:50 +01:00
512020a0ea Move MatrixAPIEventFormat enum to matrix-api-types.h 2016-01-11 17:42:49 +01:00
90a360ecd6 Make MatrixAPIRoomFilter a boxed type 2016-01-11 17:42:49 +01:00
e11dbc503d Merge MatrixAPIEventFilter and MatrixAPIPresenceFilter into a boxed type 2016-01-11 17:42:48 +01:00
95a6112a2a Add MatrixAPI:homeserver property 2016-01-11 17:42:47 +01:00
f6fa56e7b0 Add MatrixAPI:user-id property 2016-01-11 17:42:47 +01:00
8f2a8e23a7 Add the refresh-token property 2016-01-11 17:42:04 +01:00
9e2d486b19 Start reimplementing HTTP API with the new interface 2016-01-11 17:40:54 +01:00
503ff71f3c Start redefining MatrixAPI methods based on the Matrix.org API 2016-01-11 17:40:49 +01:00
9552136059 Add our own error quark 2016-01-05 15:32:44 +01:00
e15df6ea2e Add a GError parameter to MatrixAPICallback 2015-12-15 11:09:51 +01:00
9f763865db Documentation fix 2015-12-15 09:36:41 +01:00
38151404db Documentation fix for matrix_api_create_room() 2015-12-14 20:34:31 +01:00
51d8fd6d6b Remove txn_id parameters from the base Matrix API
It will be set internally and won’t be exposed to the public (yet).
2015-12-14 15:59:35 +01:00
b6c4c8f26d Move MatrixAPI to an interface 2015-12-11 14:15:42 +01:00
33fb203538 Initial commit with empty objects 2015-12-10 17:36:37 +01:00