Commit Graph

  • ea1c315aa8 Enable crypto if olm is present Mark Haines 2015-07-23 10:03:20 +01:00
  • 58e44a2fc3 Disable end-to-end crypto Mark Haines 2015-07-23 09:30:50 +01:00
  • ae8e01839e Add flag for indicating if an event was encrypted Mark Haines 2015-07-22 11:57:34 +01:00
  • 9e5f30fe1f Fix some lint errors Mark Haines 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 Mark Haines 2015-07-22 11:34:38 +01:00
  • 28a5719f5f Add method for listing the device keys we have for a user Mark Haines 2015-07-22 11:24:58 +01:00
  • 348d3f4ce1 Merge pull request #17 from matrix-org/markjh/end_to_end David Baker 2015-07-21 13:12:01 -07:00
  • a0fc8df3e1 Fix more minor things from PR comments David Baker 2015-07-21 13:10:01 -07:00
  • 8b2f11edc9 s/.then/.done/ David Baker 2015-07-21 13:08:13 -07:00
  • 09f7011bc5 Add method for telling if room is encrypted Mark Haines 2015-07-21 18:09:10 +01:00
  • ffbc197650 Flush the httpBackend in the last crypto test Mark Haines 2015-07-21 17:53:04 +01:00
  • b33dcec74b Dummy commit to poke jenkins Mark Haines 2015-07-21 17:47:01 +01:00
  • f079e021a2 Line too long Mark Haines 2015-07-21 17:41:05 +01:00
  • 02c2e88a3e Fix some of the lint warnings Mark Haines 2015-07-21 17:39:11 +01:00
  • 358cdaf167 Fix linting errors Kegan Dougal 2015-07-21 17:20:35 +01:00
  • 90e778cb84 Handle redactions (both live and historic). Kegan Dougal 2015-07-21 17:14:11 +01:00
  • 816bb61689 Increase the timeout for the last crypto integ test Mark Haines 2015-07-21 17:07:10 +01:00
  • 6653d294d9 Re-apply metadata after setStateEvents to correctly apply sender/target props for m.room.member events. Kegan Dougal 2015-07-21 16:58:14 +01:00
  • 9fe6d9b782 Add method for disabling end-to-end for a room Mark Haines 2015-07-21 16:44:47 +01:00
  • 185cbac85c Merge pull request #16 from matrix-org/getMembersWithMembership Kegsay 2015-07-21 15:42:00 +01:00
  • f716431f65 Make getJoinedUsers call getMembersWithMembership Erik Johnston 2015-07-21 15:41:33 +01:00
  • 86e73bdd35 Add getMembersWithMembership to get all members with given membership state Erik Johnston 2015-07-21 15:31:58 +01:00
  • 67318247c8 Use an npmified version of olm.js Mark Haines 2015-07-21 15:09:54 +01:00
  • 3be472330e Update olm.js Mark Haines 2015-07-21 14:30:54 +01:00
  • 6dae0ef327 Fix the local echo for encrypted events by sending a single event with different content and event type for the wire vs local display Mark Haines 2015-07-21 14:19:24 +01:00
  • 101de29f3e Store sessions under the right key after encrypting, set the room_id key in the encrypted payload Mark Haines 2015-07-21 11:59:46 +01:00
  • b5d8bc5c5f Add the timestamp to decrypted events, update the copy of olm.js Mark Haines 2015-07-21 11:48:30 +01:00
  • a97b11136a Update olm.js Mark Haines 2015-07-20 16:36:45 +01:00
  • 93a104fe4c Fire presence first time if presence event unset. Kegan Dougal 2015-07-20 11:28:13 +01:00
  • 00ae144997 Don't try to decrypt end-to-end messages if the client doesn't have end-to-end support enabled Mark Haines 2015-07-20 10:58:20 +01:00
  • 65d64bf223 Merge remote-tracking branch 'origin/develop' into markjh/end_to_end Mark Haines 2015-07-20 10:43:23 +01:00
  • d20bd41ff9 Update olm.js Mark Haines 2015-07-20 10:41:54 +01:00
  • a375aa30ea Add script for running tests without converage Mark Haines 2015-07-20 10:36:30 +01:00
  • 32c4d3ffc4 Parse m.presence events from /events Kegan Dougal 2015-07-20 10:07:34 +01:00
  • 8bc89d433b fix non-impacting typo Matthew Hodgson 2015-07-19 00:36:56 +01:00
  • bc216d7bca fix stale video from appearing unexpectedly when you place a new call Matthew Hodgson 2015-07-18 23:29:08 +01:00
  • beb8bff084 placeholder code for defaulting displaynames to userids, except it needs disambiguation logic Matthew Hodgson 2015-07-18 15:40:19 +01:00
  • 110546bfca Add a copy of olm.js so that branch will work as temporary work around until I work out how to package it using npm Mark Haines 2015-07-17 19:22:21 +01:00
  • 62ac369500 Fix test name Mark Haines 2015-07-17 18:51:23 +01:00
  • 8e6e1e64c7 Add integration test for the end-to-end crypto Mark Haines 2015-07-17 18:47:34 +01:00
  • 9d5fc7c0fd at long last fix bug where /op would cache previous failed attempts. fixes SYWEB-342 Matthew Hodgson 2015-07-17 18:01:58 +01:00
  • c563380a0b Fall back to the identicon generator if a user doesn't have an avatar_url David Baker 2015-07-17 17:48:24 +01:00
  • 7869d7a7df Emit state changes after updating hangup party and reason Kegan Dougal 2015-07-17 17:03:18 +01:00
  • 7ec42f8843 Firefox falls over in a heap if you don't provide an error callback. Kegan Dougal 2015-07-17 16:15:08 +01:00
  • 3d6b9f4593 Add more logging when sync requests fail. Kegan Dougal 2015-07-17 14:46:52 +01:00
  • 4489c85020 Play video to local video elements when updated. Kegan Dougal 2015-07-17 14:23:40 +01:00
  • a694da344c Remove unecessary logging. Kegan Dougal 2015-07-17 13:57:39 +01:00
  • 384fb94262 Linting Kegan Dougal 2015-07-17 13:39:04 +01:00
  • 8727dd1e34 Use TURN servers when placing/receiving calls. Kegan Dougal 2015-07-17 13:36:58 +01:00
  • 1232f6ce3c Periodically check turn servers. Kegan Dougal 2015-07-17 12:23:39 +01:00
  • 1888c83f4f Merge pull request #15 from EricssonResearch/msba/saml2 Kegsay 2015-07-17 08:37:45 +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 Mark Haines 2015-07-16 18:21:25 +01:00
  • 103869e628 Accept MatrixEvents like everywhere else in the SDK. Kegan Dougal 2015-07-16 17:15:40 +01:00
  • 6bd3b0db0d Emit state changes from MatrixCall. Kegan Dougal 2015-07-16 11:36:18 +01:00
  • c3696d07b7 Merge pull request #14 from matrix-org/registration Kegsay 2015-07-16 10:22:11 +01:00
  • 7b26a64617 camels David Baker 2015-07-16 10:20:31 +01:00
  • ff1b137750 add js doc for httpStatus David Baker 2015-07-16 10:18:51 +01:00
  • c5718891c5 Fix tests. Add MatrixCall.setLocalVideoElement Kegan Dougal 2015-07-16 10:07:19 +01:00
  • 4b4f13d662 Merge pull request #13 from matrix-org/set_password Kegsay 2015-07-16 09:59:32 +01:00
  • ebb21f56d3 No trailing commas :( Erik Johnston 2015-07-16 09:58:18 +01:00
  • ec5352183a Camel case Erik Johnston 2015-07-16 09:56:36 +01:00
  • 83563a23fe Implement setPassword API Erik Johnston 2015-07-16 09:50:12 +01:00
  • 260d9abced fix more NPEs Matthew Hodgson 2015-07-16 01:37:39 +01:00
  • ee4d0fb9ee hopefully fix NPE that bit Antony Matthew Hodgson 2015-07-16 01:21:23 +01:00
  • 13f72e1df2 lint David Baker 2015-07-15 19:26:52 +01:00
  • a89de9754f Support registration & next_links David Baker 2015-07-15 19:25:08 +01:00
  • b2f5d0b40a Merge pull request #12 from matrix-org/voip David Baker 2015-07-15 10:20:56 +01:00
  • 9f3f33e2cc s/Safari/OpenWebRTC/ David Baker 2015-07-15 10:16:43 +01:00
  • 309b61586f Linting. Kegan Dougal 2015-07-15 09:48:37 +01:00
  • be1264d5c3 Update README.md Kegsay 2015-07-15 09:47:25 +01:00
  • 3a344a0138 turn off alias disambiguation, and add a method to grab room avatar urls Matthew Hodgson 2015-07-15 03:53:51 +01:00
  • ae7f9ab871 lint David Baker 2015-07-14 19:38:56 +01:00
  • 77d3add846 Talk to the ID server David Baker 2015-07-14 19:36:44 +01:00
  • 4cf0e10c02 Bug fixes. Everything should be working now. Kegan Dougal 2015-07-14 17:55:55 +01:00
  • e3fdcaaff5 Add noddy voip example app. Kegan Dougal 2015-07-14 17:11:30 +01:00
  • 053a5b1bea Make inbound calls work. Kegan Dougal 2015-07-14 16:23:31 +01:00
  • 8a41504cbb Glue in call handling into MatrixClient. Outbound calls work. Kegan Dougal 2015-07-14 16:06:22 +01:00
  • 8af5ed363b Merge branch 'develop' into voip Kegan Dougal 2015-07-14 12:04:00 +01:00
  • 8cb973e605 Fix SYJS-16: event.sender is sometimes null for locally sent events. Kegan Dougal 2015-07-14 12:00:19 +01:00
  • 3e60842c3b Sort out access levels for functions; add JSDoc. Kegan Dougal 2015-07-14 11:11:41 +01:00
  • 7cce41df2e Add structured errors and callbacks. Now sends candidates. Kegan Dougal 2015-07-14 10:48:19 +01:00
  • 58df45814b lint errors David Baker 2015-07-14 10:09:08 +01:00
  • 864fdcb925 Support V2 registration David Baker 2015-07-13 19:15:10 +01:00
  • 0ef20faff7 Add JSDoc; Add createNewMatrixCall to globals. Kegan Dougal 2015-07-13 17:11:37 +01:00
  • 3bd043a8eb Add MatrixCall class; ported from angular. Untested and probably broken. Kegan Dougal 2015-07-13 16:45:31 +01:00
  • 9f930f7d0d Redundant suffix is redundant. David Baker 2015-07-13 14:39:11 +01:00
  • c289c70f27 SYJS-17: Update the core event dict completely before members. Kegan Dougal 2015-07-13 10:48:07 +01:00
  • a6b0ea8825 Spaces around operators David Baker 2015-07-08 16:13:54 +01:00
  • 34086f48fa Separate impl for node and extend example node app to use it. David Baker 2015-07-08 16:13:10 +01:00
  • 5e0d5a5b05 Fix some linitng errors David Baker 2015-07-08 15:01:20 +01:00
  • f75453d5d5 ignore parted users when naming rooms Matthew Hodgson 2015-07-08 14:55:08 +01:00
  • 639522f80d Add uploadContent method David Baker 2015-07-08 14:33:46 +01:00
  • e2768ceba2 add mxc -> http uri conversion func to client David Baker 2015-07-07 13:39:37 +01:00
  • b3726411f4 Add SAML2 login method helper Muthu Subramanian 2015-07-07 17:50:11 +05:30
  • e706dcd861 Merge pull request #11 from matrix-org/avatar_url Kegsay 2015-07-02 21:15:37 +01:00
  • 04272a66f0 Add jsdoc and pass through other params David Baker 2015-07-02 18:29:35 +01:00
  • 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. David Baker 2015-07-02 18:22:46 +01:00
  • 5691865035 Linting Kegan Dougal 2015-07-02 17:23:35 +01:00
  • abe00deb65 Add getAvatarUrl() to RoomMember Kegan Dougal 2015-07-02 17:22:44 +01:00
  • 4c48990c1f Decorate setItem/getItem to map between Objects and Strings. Kegan Dougal 2015-07-02 13:27:13 +01:00