Commit Graph

16 Commits

Author SHA1 Message Date
Kegan Dougal d6ba39f292 More linting 2015-12-10 15:01:39 +00:00
Kegan Dougal 8576ebce8f Linting 2015-12-10 14:57:13 +00:00
Kegan Dougal b622960b32 Do all prep for /sync calls
This includes managing filters in localStorage. The /sync response
is not yet parsed.
2015-12-09 15:25:09 +00:00
Kegan Dougal c65f32f6a6 Add filter integration tests; more bug fixes. 2015-12-08 16:08:04 +00:00
Kegan Dougal 1987726a95 Add initial v2 filter impl 2015-12-08 15:23:09 +00:00
Kegan Dougal ea738e31ba Add storeEvents impl. 2015-07-02 11:03:50 +01:00
Kegan Dougal aaecda53d6 Add scrollback to store interface 2015-06-30 11:48:49 +01:00
Kegan Dougal b7975866fa Add getSyncToken and setSyncToken to data store interface.
This allows local storage to hold onto the token across page refreshes.
2015-06-26 15:36:53 +01:00
Kegan Dougal 8aefad221a Add client.getRooms. Add 'syncComplete' event. Display room invites. 2015-06-11 17:52:52 +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 f086bcca4c Add User class. Convert store to store/get User objects. 2015-06-09 10:55:26 +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 735eefcb6d Bug fixes in data store. 2015-06-05 14:51:10 +01:00
Kegan Dougal 051f3c42b7 Add more jsdoc. 2015-06-04 17:08:40 +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