1
0

Commit Graph

  • 8421cabb9d Neaten things up a bit Erik Johnston 2014-11-06 17:26:13 +00:00
  • 46de65cab9 Don't query the DB for user power levels Erik Johnston 2014-11-06 17:15:09 +00:00
  • 351c64e99e Amalgamate all power levels. Erik Johnston 2014-11-06 16:59:13 +00:00
  • 1a62f1299d Detect call type by examining the SDP always rather than just in Firefox as it seems Chrome's behaviour is the odd one out here. David Baker 2014-11-06 16:55:15 +00:00
  • 4b256cab31 Don't cache isWebRTCSupported because whether webRTC is supported might change part-way through the page's lifecycle if your webrtc support comes from some kind of injected content script (hello OpenWebRTC Sarafi extension) David Baker 2014-11-06 16:48:01 +00:00
  • 233969bb58 Update to use replaces_state rather than prev_state Erik Johnston 2014-11-06 15:25:03 +00:00
  • c6766d45b5 Don't send prev_state to clients anymore Erik Johnston 2014-11-06 15:19:00 +00:00
  • 4317c8e583 Implement new replace_state and changed prev_state Erik Johnston 2014-11-06 15:10:55 +00:00
  • e3c3f5a6d0 Swap from using raw m.room.member events for room members to using actual RoomMember objects, so User objects can be tacked on. Update tests. Kegan Dougal 2014-11-06 14:52:22 +00:00
  • d4c20c472b Use mRoomName on join notifications as well. Kegan Dougal 2014-11-06 14:23:14 +00:00
  • b77cce4ec5 Add modelService test. Thin for now but will be expanded upon. Kegan Dougal 2014-11-06 14:18:23 +00:00
  • 8bcd36377a Factor out room name logic: mRoomName is the canonical source. Kegan Dougal 2014-11-06 13:37:05 +00:00
  • c9c2e39531 Use .not.toEqual instead of .toNotEqual which is in a newer version of Jasmine. Kegan Dougal 2014-11-06 12:00:03 +00:00
  • dd8af5565b Start adding regression tests. First up, register-controller for SYWEB-109. Kegan Dougal 2014-11-06 11:55:07 +00:00
  • a92092340b Fix broken tests which were previously skipped. Kegan Dougal 2014-11-06 11:14:31 +00:00
  • c5eec32c58 Add mRoomName and orderMembersList filter tests. Mark FIXME on broken tests for now. Kegan Dougal 2014-11-06 11:04:43 +00:00
  • 7465250141 State *.js in karma.conf rather than *.* so *.js~ files are ignored. Kegan Dougal 2014-11-06 09:34:35 +00:00
  • 69c396825b Add duration filter unit tests. Kegan Dougal 2014-11-05 17:49:03 +00:00
  • 6aba43f6cc Add a few eventHandlerService tests. Kegan Dougal 2014-11-05 15:32:35 +00:00
  • 988a8526b5 Finish matrixService unit tests. Add missing encodeURIComponent to path args. Kegan Dougal 2014-11-05 14:35:41 +00:00
  • 3791b75000 Fix a couple more storage tests Erik Johnston 2014-11-05 13:48:36 +00:00
  • 2fcce3b3c5 Remove stale tests Erik Johnston 2014-11-05 13:43:36 +00:00
  • da80ebcc6b Fix redaction storage test Erik Johnston 2014-11-05 13:27:20 +00:00
  • cc44ecc62f Get correct prev_events Erik Johnston 2014-11-05 13:23:35 +00:00
  • 0881a8ae6f Add more tests and a TODO. Kegan Dougal 2014-11-05 12:32:28 +00:00
  • d3a02ec038 Fix url decoding bugs with /redact and /send APIs. Kegan Dougal 2014-11-05 12:05:11 +00:00
  • 42081b1937 Don't urlencode event types just yet so older HSes don't 500. Kegan Dougal 2014-11-05 11:28:22 +00:00
  • 9f6d1b10ad Be sure to urlencode/decode event types correctly in both the web client and HS. Kegan Dougal 2014-11-05 11:21:55 +00:00
  • 1616df2f61 Fix typing tests Erik Johnston 2014-11-05 11:15:56 +00:00
  • c670ce416b Fix room tests Erik Johnston 2014-11-05 11:15:15 +00:00
  • f48fce8bd3 Fix profile tests Erik Johnston 2014-11-05 11:13:58 +00:00
  • 24e2da4557 Fix presencelike test Erik Johnston 2014-11-05 11:13:01 +00:00
  • 416ab4ebf0 Don't execute empty tests. Formatting. Erik Johnston 2014-11-05 11:12:47 +00:00
  • a2aafeb959 Add a bunch more unit tests for matrixService. Kegan Dougal 2014-11-05 11:11:36 +00:00
  • 34c4614682 Fix presence test Erik Johnston 2014-11-05 11:10:54 +00:00
  • 9e429239ab Fix Federation test Erik Johnston 2014-11-05 11:10:36 +00:00
  • 96c001e668 Fix auth checks to all use the given old_event_state Erik Johnston 2014-11-05 11:07:54 +00:00
  • 4facbe02fb URL encoding bugfix and add more tests. Kegan Dougal 2014-11-04 17:48:47 +00:00
  • a70765ed90 Add matrix-service unit tests. Update angular-mocks. Kegan Dougal 2014-11-04 17:19:49 +00:00
  • 4a5e95511e PEP8 Erik Johnston 2014-11-04 17:13:21 +00:00
  • dfb3d21a6d Fix room handler tests Erik Johnston 2014-11-04 17:12:39 +00:00
  • b0554682ed Fix federation handler tests. I've removed the invite/join dance ones as they are completely out of date. Erik Johnston 2014-11-04 16:51:59 +00:00
  • da4a09f977 Don't bother locking Erik Johnston 2014-11-04 16:51:23 +00:00
  • 3068210a93 SYN-112: Get pynacl from github instead of PyPI Mark Haines 2014-11-04 16:45:33 +00:00
  • 7f4c7fe4e8 PEP8 Erik Johnston 2014-11-04 16:35:38 +00:00
  • dd3711bdbd Fix tests.handlers.test_directory Erik Johnston 2014-11-04 16:33:52 +00:00
  • b15e8d5bbc event <-> pdu mappings are now trivial and will soon be scrapped Erik Johnston 2014-11-04 16:20:02 +00:00
  • dca3ba2f77 Determine webclient path by the python module it is contained in Mark Haines 2014-11-04 16:19:03 +00:00
  • 24305ba5bf Fix up federation tests Erik Johnston 2014-11-04 16:15:30 +00:00
  • 4e52f9699b Update .gitignore to ignore config.js files in syweb/webclient. Kegan Dougal 2014-11-04 16:15:13 +00:00
  • 89ba802b23 Move webclient to a python module so that it can be installed Mark Haines 2014-11-04 15:57:23 +00:00
  • 020fc15d98 Merge pull request #11 from matrix-org/webclient-room-data-restructure Kegsay 2014-11-04 15:44:58 +00:00
  • 1273023ac3 Don't need this; should be on -g path. Kegan Dougal 2014-11-04 15:35:25 +00:00
  • 4a73c366fa exclude tests Mark Haines 2014-11-04 15:18:43 +00:00
  • a5a4ef3fd7 Fix bug in replication Erik Johnston 2014-11-04 15:16:43 +00:00
  • 2a49f177fe On AuthError, raise a FederationError Erik Johnston 2014-11-04 15:10:43 +00:00
  • 8918422156 Move FederationError to synapse.api.errors Erik Johnston 2014-11-04 15:10:27 +00:00
  • fc7b2b11a2 PEP8 Erik Johnston 2014-11-04 15:09:34 +00:00
  • 402d080990 Fix installation instructions in README Mark Haines 2014-11-04 15:08:00 +00:00
  • ae48e75ad7 Use phantomjs as the default browser and not chrome. Kegan Dougal 2014-11-04 14:38:45 +00:00
  • 440cbd5235 Add support for sending failures Erik Johnston 2014-11-04 14:17:55 +00:00
  • d7412c4df1 Remove unused interface Erik Johnston 2014-11-04 14:16:19 +00:00
  • aa76bf39ab Remove unused imports Erik Johnston 2014-11-04 14:14:02 +00:00
  • 29b54d6638 Update karma.conf.js to A: actually run the tests, and B: generate JUnit XML. Kegan Dougal 2014-11-04 14:01:25 +00:00
  • f7cf978f68 SYWEB-136: Send m.images according to the spec. Kegan Dougal 2014-11-04 11:26:03 +00:00
  • 1ac1cd6c14 SYWEB-133: JSON dialog now appears on dblclick to allow users to highlight text. Kegan Dougal 2014-11-04 11:06:31 +00:00
  • 5949571fe7 SYWEB-116: Implement historical display name support. Kegan Dougal 2014-11-04 10:30:34 +00:00
  • 1c86ec5b8d Rejig display names when paginating to lie less. Kegan Dougal 2014-11-04 10:18:46 +00:00
  • 43e7ad1b1c Rejig order of checks/state updates/message insertions for m.room.member. Mark known issue. Kegan Dougal 2014-11-03 17:58:11 +00:00
  • 2438b8b66b Fix off-by-one bug when displaying display names / avatar urls when paginating. Kegan Dougal 2014-11-03 17:52:41 +00:00
  • 68698e0ac8 Fix bugs in generating event signatures and hashing Erik Johnston 2014-11-03 17:51:42 +00:00
  • efb0f6e23b Backwards compat for old-style avatar_urls Kegan Dougal 2014-11-03 17:49:09 +00:00
  • 4b3f743885 Reference the room_member key on messages which adjusts for current vs old_room_state. This displays names for historical users correctly, but is off by one (referencing content not prev_content). Kegan Dougal 2014-11-03 17:44:14 +00:00
  • bab2846513 Merge branch 'event_signing' of github.com:matrix-org/synapse into federation_authorization Erik Johnston 2014-11-03 16:35:48 +00:00
  • af83bf6712 Script for checking event hashes Mark Haines 2014-11-03 16:35:24 +00:00
  • fe6832fae8 handle server names with embeded ports Mark Haines 2014-11-03 16:08:22 +00:00
  • 2221a13a4d script for checking signatures on signed json Mark Haines 2014-11-03 15:58:00 +00:00
  • f3dbcdc7b3 Variable renaming, general cleanup. Don't feed state events from /initialSync twice. Kegan Dougal 2014-11-03 15:17:32 +00:00
  • af7ae048f8 Add option to not bind to HTTPS port. This is useful if running behind an ssl load balancer Erik Johnston 2014-11-03 15:06:40 +00:00
  • 1071d063ab Fix broken redact enable logic. Kegan Dougal 2014-11-03 15:05:35 +00:00
  • 7614d8f87a Fix hidden event keys being incorrectly shown in the even info dialog. Kegan Dougal 2014-11-03 15:02:16 +00:00
  • f4e50079de Fix bug which prevented pagination from bumping the list down, causing infini-pagination. Kegan Dougal 2014-11-03 14:22:09 +00:00
  • 92e2ff4985 Fix bug which prevented room name invites appearing correctly. Kegan Dougal 2014-11-03 13:48:08 +00:00
  • 9b1ca64a75 Fix bug which prevented the number of users being visible on the recents view. Kegan Dougal 2014-11-03 13:26:50 +00:00
  • ad6eacb3e9 Rename PDU fields to match that of events. Erik Johnston 2014-11-03 13:06:58 +00:00
  • fd535183ee Remove events.rooms[room_id] entirely from event-handler-service. Kegan Dougal 2014-11-03 12:18:22 +00:00
  • 6bc1dc4020 Make recents[controller/filter/html] use modelService. Kegan Dougal 2014-11-03 11:44:39 +00:00
  • d59aa6af25 For now, don't store txn -> pdu mappings. Erik Johnston 2014-11-03 11:35:19 +00:00
  • f139c02e95 Formatting Erik Johnston 2014-11-03 11:34:49 +00:00
  • 7249785bcb Sign events we create. Erik Johnston 2014-11-03 11:33:28 +00:00
  • 0a8b026ccf Add 'origin' key to events Erik Johnston 2014-11-03 11:32:42 +00:00
  • 82a6b83524 Don't assume event has hashes key already Erik Johnston 2014-11-03 11:32:12 +00:00
  • 9024a19658 Remove dead code. Erik Johnston 2014-11-03 11:31:47 +00:00
  • 53da1099d1 Make call stuff use modelService. Kegan Dougal 2014-11-03 10:33:38 +00:00
  • 395bb64b26 Keep matrixService stateless and make matrixFilter use modelService. Kegan Dougal 2014-11-03 10:23:14 +00:00
  • 7a07263281 Merge branch 'develop' of github.com:matrix-org/synapse into federation_authorization Erik Johnston 2014-11-03 10:17:37 +00:00
  • 1c6825cc7a Use python logger, not the twisted logger Erik Johnston 2014-11-03 10:16:28 +00:00
  • 5ab9929cbb Prevent EventStreamService from knowing too much about the EventHandlerService by changing the contract to just be a single initialSync response callback. Leave it up the handler to deal with splitting out information from /initialSync. Kegan Dougal 2014-11-03 09:44:20 +00:00
  • 36d730229a Merge branch 'release-v0.4.2' of github.com:matrix-org/synapse into develop Erik Johnston 2014-10-31 17:50:06 +00:00
  • b63691f6e2 Merge branch 'release-v0.4.2' of github.com:matrix-org/synapse v0.4.2 Erik Johnston 2014-10-31 17:48:05 +00:00