Kegan Dougal
|
58cbd3ab1b
|
Move RoomMember event jsdocs to the room-member module.
|
2015-06-10 17:25:34 +01:00 |
|
Kegan Dougal
|
b2620507fa
|
Remove startClient(callback); Emit 'syncError' and 'event'.
'syncError' event is intended to be used to update the UI to say "connection
lost". Add UTs for 'event' emissions.
|
2015-06-10 16:19:38 +01:00 |
|
Kegan Dougal
|
583e71180b
|
Add JSDoc for all the events which the SDK will emit.
|
2015-06-10 14:42:40 +01:00 |
|
Kegan Dougal
|
d2fcdd4556
|
Add jsdoc for EventEmitter.
|
2015-06-10 13:02:32 +01:00 |
|
Kegan Dougal
|
35f269ea52
|
Make internal MatrixClient methods actually internal.
|
2015-06-10 11:14:34 +01:00 |
|
Kegan Dougal
|
d64382cd4f
|
Make MatrixClient inherit from EventEmitter. Add jsdoc to all functions.
|
2015-06-10 11:01:29 +01:00 |
|
Kegan Dougal
|
f086bcca4c
|
Add User class. Convert store to store/get User objects.
|
2015-06-09 10:55:26 +01:00 |
|
Kegan Dougal
|
2fb68cfed2
|
Handle m.typing events.
|
2015-06-09 10:27:37 +01:00 |
|
Kegan Dougal
|
a43447b00e
|
Add tests to exercise room name / timeline logic; fix some bugs as a result.
|
2015-06-08 17:27:10 +01:00 |
|
Kegan Dougal
|
2d00998b61
|
Move getFriendlyRoomName to Room. Add recalculate() function to cache info.
|
2015-06-08 16:10:23 +01:00 |
|
Kegan Dougal
|
9fa7fa0487
|
Shuffle around how events are stored.
Rather than having MatrixInMemoryStore do it all, we make the right object do
the right thing, and keep the store for storing said objects.
|
2015-06-08 15:43:18 +01:00 |
|
Kegan Dougal
|
a2257aeb0b
|
Move getFriendlyDisplayName to RoomMember class. Add more utlity functions.
|
2015-06-08 12:21:23 +01:00 |
|
Kegan Dougal
|
6f4b600c0b
|
Appease closure linter.
|
2015-06-05 14:54:06 +01:00 |
|
Kegan Dougal
|
735eefcb6d
|
Bug fixes in data store.
|
2015-06-05 14:51:10 +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
|
5681517a30
|
Setup jsdoc typedefs for callback/promise.
|
2015-06-05 10:19:52 +01:00 |
|
Kegan Dougal
|
051f3c42b7
|
Add more jsdoc.
|
2015-06-04 17:08:40 +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 |
|