1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-31 15:24:23 +03:00
Commit Graph

1879 Commits

Author SHA1 Message Date
ae8e01839e Add flag for indicating if an event was encrypted 2015-07-22 11:57:34 +01:00
9e5f30fe1f Fix some lint errors 2015-07-22 11:37:22 +01:00
319ca5123e Return device key list in a stable order, add a check for the list in the tests 2015-07-22 11:34:38 +01:00
09f7011bc5 Add method for telling if room is encrypted 2015-07-21 18:09:10 +01:00
ffbc197650 Flush the httpBackend in the last crypto test 2015-07-21 17:53:04 +01:00
02c2e88a3e Fix some of the lint warnings 2015-07-21 17:39:11 +01:00
816bb61689 Increase the timeout for the last crypto integ test 2015-07-21 17:07:10 +01:00
65d64bf223 Merge remote-tracking branch 'origin/develop' into markjh/end_to_end
Conflicts:
	lib/client.js
	lib/matrix.js
2015-07-20 10:43:23 +01:00
32c4d3ffc4 Parse m.presence events from /events 2015-07-20 10:07:34 +01:00
62ac369500 Fix test name 2015-07-17 18:51:23 +01:00
8e6e1e64c7 Add integration test for the end-to-end crypto 2015-07-17 18:47:34 +01:00
2ee5977ad2 Start integrating end-to-end into the matrix-client. Add a storage class to store end-to-end sessions. Implement the one-time key upload API, and start sketching out the encryption and decryption functions 2015-07-16 18:21:25 +01:00
c5718891c5 Fix tests. Add MatrixCall.setLocalVideoElement 2015-07-16 10:07:19 +01:00
4c48990c1f Decorate setItem/getItem to map between Objects and Strings. 2015-07-02 13:27:13 +01:00
df8ec50631 Add storeEvents UTs; fix bugs as a result. 2015-07-02 11:37:50 +01:00
023a3cf2bd Finish scrollback UTs. 2015-07-02 10:22:53 +01:00
23c3ce92d7 Finish scrollback impl. Add UTs. 2015-07-02 10:13:51 +01:00
df7bde4257 Merge pull request #10 from matrix-org/push
Push
2015-07-01 18:19:43 +01:00
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
214697eec9 Fix long line 2015-07-01 18:03:29 +01:00
db790f0b19 fixjsstyle 2015-07-01 18:02:35 +01:00
c81cb1fcfd Tests for pushprocessor 2015-07-01 18:01:48 +01:00
9fd847567c Add get/setUser and getRooms with UTs. 2015-07-01 16:38:13 +01:00
213caf7c26 Add old state check. 2015-07-01 15:33:58 +01:00
732f9dc592 Restructure timeline batches to have high numbers = newest; it's less confusing that way. 2015-07-01 15:28:41 +01:00
22506513b4 Add more webstore unit tests. 2015-07-01 14:20:14 +01:00
994fcceace Add another storeRoom test. Add stub tests for WebStorage. 2015-07-01 12:03:34 +01:00
a0fddf7ab3 Linting. 2015-06-30 17:58:35 +01:00
c8da373ecc Add first cut webstorage implementation. Add very basic test. 2015-06-30 17:56:58 +01:00
9ea080b7bb Fetch the user's push rules before any events arrive, so we can annotate events with push data when they arrive. 2015-06-26 15:11:27 +01:00
20b5553e48 Implement MatrixClient tests without a scheduler/store. 2015-06-26 14:26:57 +01:00
fd0eb0c674 Finish timline integration tests. 2015-06-26 13:53:01 +01:00
3c4bda8580 Add MatrixScheduler.removeEventFromQueue/getQueueForEvent and QUEUED state.
This is to allow the UI to show "queued" on events as well as allow the
removal of events in the queue.
2015-06-26 09:52:52 +01:00
041f96ae6d Add remaining stub tests 2015-06-25 17:56:18 +01:00
f240563fb5 Add room state/syncing stub tests 2015-06-25 17:49:46 +01:00
e8d17a5ab3 Add missing pagination test 2015-06-25 17:36:21 +01:00
f49234a772 Add pagination tests 2015-06-25 17:29:25 +01:00
46d5c2bd61 Add pagination test; fix null token bug. 2015-06-25 16:33:22 +01:00
325c00c660 Set Room.oldState.paginationToken to null at the start of the timeline. Fix linting errors. 2015-06-25 15:28:25 +01:00
c4c68a0287 Add local echo tests. 2015-06-25 15:24:56 +01:00
21df000604 Add Room.addEvents UT 2015-06-25 14:00:52 +01:00
0be3c6837d Add utils UTs. Remove unused functions. 2015-06-24 17:42:02 +01:00
74fcbdee3f Add retryFn -1 test. 2015-06-24 17:14:11 +01:00
332bdcd101 Add Scheduler UTs. 2015-06-24 17:05:06 +01:00
913178b284 Linting 2015-06-24 15:38:18 +01:00
2a83248168 Add User UTs 2015-06-24 15:37:55 +01:00
8f16948430 Appease linters 2015-06-24 14:57:48 +01:00
1b665c176a Add RoomState UTs 2015-06-24 14:57:04 +01:00
0bc9951f13 Add RoomState UT stubs. 2015-06-24 13:52:17 +01:00
d3377e3dea Add RoomMember UTs. Fix disambiguation bug. Add CHANGELOG. 2015-06-24 13:35:19 +01:00