Kegan Dougal
309b61586f
Linting.
2015-07-15 09:48:37 +01:00
Matthew Hodgson
3a344a0138
turn off alias disambiguation, and add a method to grab room avatar urls
2015-07-15 03:53:51 +01:00
David Baker
ae7f9ab871
lint
2015-07-14 19:38:56 +01:00
David Baker
77d3add846
Talk to the ID server
2015-07-14 19:36:44 +01:00
Kegan Dougal
4cf0e10c02
Bug fixes. Everything should be working now.
2015-07-14 17:55:55 +01:00
Kegan Dougal
e3fdcaaff5
Add noddy voip example app.
2015-07-14 17:11:30 +01:00
Kegan Dougal
053a5b1bea
Make inbound calls work.
2015-07-14 16:23:31 +01:00
Kegan Dougal
8a41504cbb
Glue in call handling into MatrixClient. Outbound calls work.
2015-07-14 16:06:22 +01:00
Kegan Dougal
8af5ed363b
Merge branch 'develop' into voip
2015-07-14 12:04:00 +01:00
Kegan Dougal
8cb973e605
Fix SYJS-16: event.sender is sometimes null for locally sent events.
2015-07-14 12:00:19 +01:00
Kegan Dougal
3e60842c3b
Sort out access levels for functions; add JSDoc.
2015-07-14 11:11:41 +01:00
Kegan Dougal
7cce41df2e
Add structured errors and callbacks. Now sends candidates.
2015-07-14 10:48:19 +01:00
David Baker
58df45814b
lint errors
2015-07-14 10:09:08 +01:00
David Baker
864fdcb925
Support V2 registration
2015-07-13 19:15:10 +01:00
Kegan Dougal
0ef20faff7
Add JSDoc; Add createNewMatrixCall to globals.
2015-07-13 17:11:37 +01:00
Kegan Dougal
3bd043a8eb
Add MatrixCall class; ported from angular. Untested and probably broken.
2015-07-13 16:45:31 +01:00
David Baker
9f930f7d0d
Redundant suffix is redundant.
2015-07-13 14:39:11 +01:00
Kegan Dougal
c289c70f27
SYJS-17: Update the core event dict completely before members.
...
The RoomState needs to be current before higher-level processing as this
processing may depend on the end state rather than the progressive state
(e.g. disambiguating BOTH RoomMember's display names).
2015-07-13 10:53:07 +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
Matthew Hodgson
f75453d5d5
ignore parted users when naming rooms
2015-07-08 14:55:08 +01:00
David Baker
639522f80d
Add uploadContent method
2015-07-08 14:33:46 +01:00
David Baker
e2768ceba2
add mxc -> http uri conversion func to client
2015-07-07 13:39:37 +01:00
Muthu Subramanian
b3726411f4
Add SAML2 login method helper
2015-07-07 17:50:11 +05:30
David Baker
04272a66f0
Add jsdoc and pass through other params
2015-07-02 18:29:35 +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
5691865035
Linting
2015-07-02 17:23:35 +01:00
Kegan Dougal
abe00deb65
Add getAvatarUrl() to RoomMember
2015-07-02 17:22:44 +01:00
Kegan Dougal
4c48990c1f
Decorate setItem/getItem to map between Objects and Strings.
2015-07-02 13:27:13 +01:00
Kegan Dougal
df8ec50631
Add storeEvents UTs; fix bugs as a result.
2015-07-02 11:37:50 +01:00
Kegan Dougal
ea738e31ba
Add storeEvents impl.
2015-07-02 11:03:50 +01:00
Kegan Dougal
23c3ce92d7
Finish scrollback impl. Add UTs.
2015-07-02 10:13:51 +01:00
Kegsay
df7bde4257
Merge pull request #10 from matrix-org/push
...
Push
2015-07-01 18:19:43 +01:00
Kegan Dougal
82de3b6f19
Begin scrollback implementation.
...
Add Room.storageToken to docs. Add unit test stubs for scrollback function.
Add a basic common-case implementation.
2015-07-01 18:04:59 +01:00
Kegan Dougal
a890bff30f
Actually flip the cache bit
2015-07-01 16:39:32 +01:00
Kegan Dougal
9fd847567c
Add get/setUser and getRooms with UTs.
2015-07-01 16:38:13 +01:00
Kegan Dougal
732f9dc592
Restructure timeline batches to have high numbers = newest; it's less confusing that way.
2015-07-01 15:28:41 +01:00
Kegan Dougal
22506513b4
Add more webstore unit tests.
2015-07-01 14:20:14 +01:00
David Baker
753a11ab7f
Move push actions method to the client
2015-07-01 14:09:34 +01:00
Kegan Dougal
994fcceace
Add another storeRoom test. Add stub tests for WebStorage.
2015-07-01 12:03:34 +01:00
Kegan Dougal
c8da373ecc
Add first cut webstorage implementation. Add very basic test.
2015-06-30 17:56:58 +01:00
Kegan Dougal
388cd3a6da
Add init/del structs
2015-06-30 12:00:58 +01:00
Kegan Dougal
aaecda53d6
Add scrollback to store interface
2015-06-30 11:48:49 +01:00
Kegan Dougal
5d5d76d154
Pass a store implementation rather than kind string.
...
Makes it easier to test.
2015-06-30 11:39:57 +01:00
Kegan Dougal
796afb104b
s/localstorage/webstorage/g. Add storage impl notes.
...
WebStorage is preferred since we can trivially support local or session storage.
Add design notes for persisting rooms.
2015-06-30 11:30:49 +01:00
David Baker
9416a9a8a3
Fix linting & c+p errors
2015-06-29 18:20:36 +01:00
David Baker
22f08e4e5b
Get rid of micromatch & reinstate our hacky version because micromatch, ironically, is huge.
2015-06-29 18:16:49 +01:00
Kegan Dougal
a476b11f0c
Add local storage impl notes
2015-06-29 17:55:11 +01:00
David Baker
c82b2049eb
prefix internal var with underscrore
2015-06-29 16:34:33 +01:00