1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-13 19:42:25 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
David Baker
77d3add846 Talk to the ID server 2015-07-14 19:36:44 +01:00
David Baker
864fdcb925 Support V2 registration 2015-07-13 19:15:10 +01:00
David Baker
9f930f7d0d Redundant suffix is redundant. 2015-07-13 14:39:11 +01:00
David Baker
a6b0ea8825 Spaces around operators 2015-07-08 16:13:54 +01:00
David Baker
34086f48fa Separate impl for node and extend example node app to use it. 2015-07-08 16:13:10 +01:00
David Baker
5e0d5a5b05 Fix some linitng errors 2015-07-08 15:01:38 +01:00
David Baker
639522f80d Add uploadContent method 2015-07-08 14:33:46 +01:00
David Baker
f29f2a8115 Move getAvatarUrl into the client because it requires an instantiated client to work. Fix bits of client to use opts rather than credentials which doesn't exist. 2015-07-02 18:22:46 +01:00
Kegan Dougal
c73881f3fe Use utils.keys rather than Object.keys for older browsers. 2015-06-08 12:22:23 +01:00
Kegan Dougal
6f4b600c0b Appease closure linter. 2015-06-05 14:54:06 +01:00
Kegan Dougal
7ed92fd4f9 More jsdoc 2015-06-05 14:03:00 +01:00
Kegan Dougal
02064bac8a Recombine initialSync/event high-level logic with HTTP API calls. 2015-06-05 13:30:11 +01:00
Kegan Dougal
300568ef70 Add ability for power users to access the response headers/status code if they desire. 2015-06-05 11:54:27 +01:00
Kegan Dougal
d095eff1a4 Bake in support for promises.
This means we can specify the SDK's dependency on Q to make setting things up
significantly easier.
2015-06-05 11:41:26 +01:00
Kegan Dougal
fce4d5d1d6 Add MatrixError class. More jsdoc voodoo to get things looking right. 2015-06-05 11:28:28 +01:00
Kegan Dougal
7ab3e25218 Add @module docs. Remove browser-build.sh
Add @links for HTML output. Replace browser-build.sh with inline commands
in package.json so building will work on non-unix machines. Update README.
2015-06-04 16:34:00 +01:00
Kegan Dougal
31ffdf8a37 Style checks and more jsdoc. 2015-06-04 16:02:08 +01:00
Kegan Dougal
a95f9d3717 Make MatrixHttpApi a generic API interface; move specifics to MatrixClient.
Add a utils file to store common operations like map() and encodeParams().
Modify MatrixClient and MatrixHttpApi to accepts opts as constructors.
2015-06-04 15:39:36 +01:00
Kegan Dougal
d1e51de7ec Split out matrix.js into different files. Glue things back.
Added a models directory. Added store, http-api and client files. Slowly
transitioning to the architecture outlined in SYJS-5.
2015-06-03 17:55:12 +01:00