Kegan Dougal
|
f9232c7917
|
Merge branch 'develop' into application-services-txn-reliability
Conflicts:
synapse/storage/appservice.py
|
2015-03-16 10:09:15 +00:00 |
|
Kegan Dougal
|
21fd84dcb8
|
Use seconds; start gluing in the AS scheduler into the AS handler.
|
2015-03-09 17:01:19 +00:00 |
|
Erik Johnston
|
6d74e46621
|
Fix tests
|
2015-03-09 17:01:11 +00:00 |
|
Erik Johnston
|
852816befe
|
Fix presence tests
|
2015-02-23 15:14:09 +00:00 |
|
Kegan Dougal
|
f2fdcb7c4b
|
Merge branch 'develop' into application-services
|
2015-02-11 16:43:26 +00:00 |
|
Mark Haines
|
896253e085
|
Factor out some of the common homeserver setup code into a
setup_test_homeserver function in utils.
|
2015-02-11 11:37:30 +00:00 |
|
Kegan Dougal
|
11e6b3d18b
|
Dependency inject ApplicationServiceApi when creating ApplicationServicesHandler.
|
2015-02-05 17:04:59 +00:00 |
|
Kegan Dougal
|
951690e54d
|
Merge branch 'develop' into application-services
|
2015-02-05 14:28:03 +00:00 |
|
Kegan Dougal
|
131e036402
|
Fix unit tests.
|
2015-02-05 13:22:20 +00:00 |
|
Kegan Dougal
|
bc658907f0
|
Add unit test for appservice_handler.query_room_alias_exists
|
2015-02-05 11:54:36 +00:00 |
|
Kegan Dougal
|
f0c730252f
|
Add unknown user ID check. Use store.get_aliases_for_room(room_id) when searching for services by alias.
|
2015-02-05 11:25:32 +00:00 |
|
Kegan Dougal
|
89f2e8fbdf
|
Fix bug in store defer. Add more unit tests.
|
2015-02-04 15:21:03 +00:00 |
|
Kegan Dougal
|
525a218b2b
|
Begin to add unit tests for appservice glue and regex testing.
|
2015-02-04 12:24:20 +00:00 |
|
Erik Johnston
|
e7ca813dd4
|
Try to ensure we don't persist an event we have already persisted. In persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering.
|
2015-02-03 10:39:41 +00:00 |
|
Erik Johnston
|
78015948a7
|
Initial implementation of auth conflict resolution
|
2015-01-29 16:52:33 +00:00 |
|
Mark Haines
|
ada711504e
|
Replace hs.parse_roomalias with RoomAlias.from_string
|
2015-01-23 13:21:58 +00:00 |
|
Mark Haines
|
5759bec43c
|
Replace hs.parse_userid with UserID.from_string
|
2015-01-23 11:47:15 +00:00 |
|
Paul "LeoNerd" Evans
|
3a243c53f4
|
Rename MockedDatastoreTestCase to MockedDatastorePresenceTestCase since it is still presence-specific
|
2015-01-22 20:06:28 +00:00 |
|
Paul "LeoNerd" Evans
|
cbb10879cb
|
Much merging of test case setUp() methods to make them much more
shareable
|
2015-01-22 20:06:28 +00:00 |
|
Paul "LeoNerd" Evans
|
73315ce9de
|
Abstract out the room ID from presence tests, so it's stored in self
|
2015-01-21 20:01:57 +00:00 |
|
Paul "LeoNerd" Evans
|
dbe71e670c
|
Use common base class for two Presence unit-tests, avoiding boilerplate copypasta
|
2015-01-21 16:58:16 +00:00 |
|
Mark Haines
|
5fed042640
|
Finish renaming "context" to "room_id" in federation codebase
|
2015-01-16 19:01:03 +00:00 |
|
Paul "LeoNerd" Evans
|
968dc988f9
|
Check that setting typing notification still works after explicit timeout - SYN-230
|
2015-01-12 18:01:49 +00:00 |
|
Kegan Dougal
|
4640239d34
|
Mock ratelimiter to make tests pass.
|
2014-12-19 17:49:47 +00:00 |
|
Mark Haines
|
c3eae8a88c
|
Construct the EventContext in the state handler rather than constructing one and then immediately calling state_handler.annotate_context_with_state
|
2014-12-16 15:59:17 +00:00 |
|
Erik Johnston
|
3c77d13aa5
|
Kill off synapse.api.events.*
|
2014-12-16 11:29:05 +00:00 |
|
Erik Johnston
|
cf6e5f1dbf
|
Rename MessageHandler.handle_event. Add a few comments.
|
2014-12-15 17:01:12 +00:00 |
|
Erik Johnston
|
65cdf4e724
|
Get current member state from current_state snapshot. Fix leave test.
|
2014-12-15 15:03:27 +00:00 |
|
Erik Johnston
|
57e0e619f3
|
Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor
Conflicts:
tests/handlers/test_room.py
|
2014-12-15 14:45:59 +00:00 |
|
Erik Johnston
|
ebf2ec3ce6
|
Fix membership handler test
|
2014-12-12 14:32:44 +00:00 |
|
Paul "LeoNerd" Evans
|
b0bb1756a9
|
Send list of typing user IDs as 'user_ids' list within 'content', so that m.typing stream events have a toplevel content, for consistency with others
|
2014-12-12 11:59:46 +00:00 |
|
Paul "LeoNerd" Evans
|
f25764943c
|
Add a 'user_left_room' distributor signal analogous to 'user_joined_room'
|
2014-12-11 18:27:01 +00:00 |
|
Paul "LeoNerd" Evans
|
5ebc994f84
|
Actually auth-check to ensure people can only send typing notifications for rooms they're actually in
|
2014-12-11 18:11:43 +00:00 |
|
Erik Johnston
|
d3eb12c7b8
|
Fix federation test
|
2014-12-11 17:01:27 +00:00 |
|
Erik Johnston
|
c161b6cf96
|
Fix room creation test
|
2014-12-11 16:43:30 +00:00 |
|
Paul "LeoNerd" Evans
|
1a75ff5c23
|
Hook up the event stream to typing notifications
|
2014-12-10 21:01:49 +00:00 |
|
Paul "LeoNerd" Evans
|
4006d58335
|
Store serial numbers per room for typing event stream purposes
|
2014-12-10 20:48:25 +00:00 |
|
Paul "LeoNerd" Evans
|
9eb819e828
|
First hack at implementing timeouts in typing notification handler
|
2014-12-10 19:39:01 +00:00 |
|
Erik Johnston
|
4d6af0dde3
|
Fix some tests
|
2014-12-10 18:00:57 +00:00 |
|
Erik Johnston
|
08aceea82e
|
Add newline back in
|
2014-12-10 10:26:12 +00:00 |
|
Erik Johnston
|
f26ec14b21
|
Remove whitespace
|
2014-12-10 10:25:21 +00:00 |
|
Matthew Hodgson
|
8ada2d2018
|
fix UTs by telling all the mock stores about the new methods for tracking retries
|
2014-12-09 23:53:07 +00:00 |
|
Erik Johnston
|
027542e2e5
|
Fix bugs when joining a remote room that has dodgy event graphs. This should also fix the number of times a HS will trigger a GET /event/
|
2014-11-27 16:02:26 +00:00 |
|
Erik Johnston
|
822b15ea43
|
Fix tests.
|
2014-11-26 10:45:37 +00:00 |
|
Erik Johnston
|
64fc859dac
|
Fix bugs in invite/join dances.
We now do more implement more of the auth on the events so that we
don't reject valid events.
|
2014-11-25 17:59:49 +00:00 |
|
Paul "LeoNerd" Evans
|
03dc63f6c8
|
Initialise UserPresenceCache instances to always contain a 'presence' key
|
2014-11-19 17:31:46 +00:00 |
|
Mark Haines
|
c5eabe3143
|
replace user_id with sender
|
2014-11-19 16:38:40 +00:00 |
|
Mark Haines
|
cb4b6c844a
|
Merge PDUs and Events into one object
|
2014-11-14 21:25:02 +00:00 |
|
Mark Haines
|
de1ec90133
|
Validate signatures on incoming events
|
2014-11-14 19:11:04 +00:00 |
|
Mark Haines
|
8d8a133c89
|
SYN-103: Remove "origin" and "destination" keys from edus
|
2014-11-13 15:49:03 +00:00 |
|