Gergely Polonkai
18b7aeb1e4
Add API method for /notifications
2018-05-10 14:04:47 +02:00
Gergely Polonkai
db912dd701
Add API method for /joined_rooms
2018-05-10 14:04:47 +02:00
Gergely Polonkai
1be76ea025
Add API method for email based account registration
2018-05-10 14:04:47 +02:00
Gergely Polonkai
ceb8b8c3d2
Add API method for /account/whoami
2018-05-10 14:04:47 +02:00
Gergely Polonkai
bd6599a693
Create setter for MatrixAPI.user_id and MatrixAPI.homeserver
2018-05-10 14:04:47 +02:00
Gergely Polonkai
b6dc8a6b62
Remove the refresh_token
...
It was removed from the spec, and from HS implementations for a while.
2018-05-10 14:04:47 +02:00
Gergely Polonkai
b495cdc66a
Port MatrixAPI to C
2018-05-10 13:35:50 +02:00
Gergely Polonkai
d5833c4cee
Rework MatrixAPI in Vala
2016-03-04 14:00:06 +01:00
Gergely Polonkai
530ed8cb8d
Add the MATRIX_API_CALLBACK cast macro
2016-01-30 10:02:00 +01:00
Gergely Polonkai
2f366ee30d
Add the MATRIX_API_CALLBACK_PROTO convenience macro
...
It can ease creating API callback function headers.
2016-01-29 17:49:28 +01:00
Gergely Polonkai
c56dee6c56
Rename MatrixAPIStateEvent to MatrixStateEvent
2016-01-25 16:36:18 +01:00
Gergely Polonkai
f51a4ba63c
Rename MatrixAPIPusher to MatrixPusher
2016-01-25 16:30:39 +01:00
Gergely Polonkai
45b071365d
Rename MatrixAPI3PidCredential to Matrix3PidCredential
2016-01-25 16:22:17 +01:00
Gergely Polonkai
8f5877a2f0
Rename MatrixAPIFilter to MatrixFilter
2016-01-25 16:11:32 +01:00
Gergely Polonkai
e163e73f2c
Rename enum types from MatrixAPI* to Matrix*
2016-01-25 16:11:31 +01:00
Gergely Polonkai
d3ac019188
Rename MatrixAPIError to MatrixError
2016-01-25 16:11:22 +01:00
Gergely Polonkai
283463810b
Documentation fix for MatrixAPI.register_account
2016-01-24 15:07:02 +01:00
Gergely Polonkai
3993bb112c
Add MatrixAPI.abort_pending definition
2016-01-22 16:01:26 +01:00
Gergely Polonkai
cdd5ebcd9b
Add NULL checks in the MatrixAPI calls
2016-01-21 15:43:51 +01:00
Gergely Polonkai
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
Gergely Polonkai
7d5b516005
Move invite_user_3pid() to direct MatrixAPI3PidCredential use
2016-01-21 15:37:04 +01:00
Gergely Polonkai
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
Gergely Polonkai
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
Gergely Polonkai
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
Gergely Polonkai
2dfdb754f3
Fix add_room_tag prototype and vfunc
2016-01-16 15:28:09 +01:00
Gergely Polonkai
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
Gergely Polonkai
0369b387c1
Remove `const` constraint from set_account_data’s content
2016-01-16 14:37:57 +01:00
Gergely Polonkai
5b1ea70b48
Update register_account() according to specification
2016-01-16 14:35:51 +01:00
Gergely Polonkai
8b332eaaea
Implement token_refresh
2016-01-15 19:40:46 +01:00
Gergely Polonkai
13c8707dbf
Update MatrixAPI with the versions API call
2016-01-15 19:23:51 +01:00
Gergely Polonkai
668c782df7
Remove `const` constraint from send_room_event’s content
2016-01-15 17:09:05 +01:00
Gergely Polonkai
11bd9002af
Remove `const` constraint from send_message_event’s content
2016-01-15 16:51:09 +01:00
Gergely Polonkai
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
Gergely Polonkai
a22df12d27
Annotation fix
...
Changed GString to utf8 in element-type annotations.
2016-01-15 15:29:41 +01:00
Gergely Polonkai
3e464e7318
Rename modify_pusher update_pusher
...
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
Gergely Polonkai
84c0eb569d
Remove `const` constraint from media_upload’s content
2016-01-15 13:58:01 +01:00
Gergely Polonkai
97a169959c
Accept non-json content
2016-01-15 13:09:39 +01:00
Gergely Polonkai
a037cb7aad
Error fixes
2016-01-15 10:36:47 +01:00
Gergely Polonkai
ea7d9aaec4
Implement join_room
2016-01-13 17:21:55 +01:00
Gergely Polonkai
b0c26bcec2
Fix return values in property getters
2016-01-12 21:14:04 +01:00
Gergely Polonkai
2fdaea2119
Documentation fixes
2016-01-12 14:10:24 +01:00
Gergely Polonkai
4847f73668
Move enumerations to matrix-api-types.[ch]
2016-01-11 17:42:53 +01:00
Gergely Polonkai
4aa99ea19b
Make MatrixAPIStateEvent a boxed type
2016-01-11 17:42:53 +01:00
Gergely Polonkai
edbc6222e3
Make MatrixAPIPusher a boxed type
2016-01-11 17:42:52 +01:00
Gergely Polonkai
127c1b4b61
Move MatrixAPIError to matrix-api-types.[ch]
2016-01-11 17:42:52 +01:00
Gergely Polonkai
ad8e202367
Make MatrixAPI3PidCredential a boxed type
2016-01-11 17:42:51 +01:00
Gergely Polonkai
72f317a941
Make MatrixAPIFilter a boxed type
2016-01-11 17:42:50 +01:00
Gergely Polonkai
512020a0ea
Move MatrixAPIEventFormat enum to matrix-api-types.h
2016-01-11 17:42:49 +01:00
Gergely Polonkai
90a360ecd6
Make MatrixAPIRoomFilter a boxed type
2016-01-11 17:42:49 +01:00
Gergely Polonkai
e11dbc503d
Merge MatrixAPIEventFilter and MatrixAPIPresenceFilter into a boxed type
2016-01-11 17:42:48 +01:00