Adrian Perez de Castro
724d7cdd54
Simplify HTTP client API
...
* The :quote and :unquote methods are now plain functions and no longer
receive the "self" parameter. This allows to directly use the utility
functions provided by the HTTP client library.
* Renamed CqHttpClient to plain "httclient". The variable itself is local
to the script so it does not need to be unique.
2016-06-28 23:20:50 +03:00
Adrian Perez de Castro
1c13a32e86
examples: Add get-user-info.lua
2016-06-23 13:41:41 +03:00
Adrian Perez de Castro
5f53ecd349
README: Add RockZ self-promotion
2016-06-23 13:40:38 +03:00
Adrian Perez de Castro
e0d49f793d
README: List requirements and LuaRocks instructions
2016-06-23 13:36:31 +03:00
Adrian Perez de Castro
3752be9a73
Add README file
2016-06-23 13:19:36 +03:00
Adrian Perez de Castro
a1cf21b839
Implement room:update_room_{topic,aliases,name}
2016-06-23 04:17:15 +03:00
Adrian Perez de Castro
56a57f2e89
Add __tostring metamethods to prototypes
...
This is nice to have, and aids with debugging and interactive usage.
2016-06-23 04:07:01 +03:00
Adrian Perez de Castro
ec288bf9fd
Make it possible to import "matrix" directly
...
This aliases "matrix.client", making both the following equivalent:
matrix = require "matrix.client"
matrix = require "matrix"
2016-06-23 03:55:09 +03:00
Adrian Perez de Castro
cafb8724e3
Import rough implementation of matrix.client
2016-06-23 03:54:48 +03:00
Adrian Perez de Castro
6528727cff
Initial import: low-level API wrapper
2016-06-23 03:49:04 +03:00