Paul "LeoNerd" Evans
|
113342a756
|
Ability to assert a DeferredMockCallable has received no calls
|
2014-08-28 16:40:06 +01:00 |
|
Paul "LeoNerd" Evans
|
c46c806126
|
Re-enable presence, un-skip presence tests
|
2014-08-28 16:00:14 +01:00 |
|
Mark Haines
|
7b079a26a5
|
Remove get_state_for_room function from federation handler
|
2014-08-28 15:32:38 +01:00 |
|
Paul "LeoNerd" Evans
|
d027e859cd
|
Fix up the various presence-related tests so that if they're not skipped, they still PASS
|
2014-08-27 18:30:09 +01:00 |
|
Mark Haines
|
357dd1871d
|
Merge branch 'develop' into storage_transactions
Conflicts:
tests/handlers/test_federation.py
tests/handlers/test_room.py
|
2014-08-27 17:28:55 +01:00 |
|
Erik Johnston
|
e111a06e0a
|
Fix tests.
|
2014-08-27 17:21:48 +01:00 |
|
Mark Haines
|
1d95e78759
|
Merge branch 'develop' into storage_transactions
|
2014-08-27 16:54:12 +01:00 |
|
Mark Haines
|
a0d1f5a014
|
Start updating state handling to use snapshots
|
2014-08-27 15:11:51 +01:00 |
|
Mark Haines
|
a03c7f27a8
|
Fill out prev_events before calling persist_event
|
2014-08-27 14:32:19 +01:00 |
|
Paul "LeoNerd" Evans
|
5eff05a4ce
|
Initial typing notification support - EDU federation, but no timers, and no actual push to clients
|
2014-08-27 11:45:16 +01:00 |
|
Kegan Dougal
|
135a1aa229
|
Final url modifications: renamed /presence_list to /presence/list to keep the top-level namespace clean. Updated tests.
|
2014-08-27 11:37:53 +01:00 |
|
Kegan Dougal
|
dd661769e1
|
Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and removed tests which tested that. Updated cmdclient and webclient.
|
2014-08-27 11:33:56 +01:00 |
|
Mark Haines
|
bf05218c4b
|
Merge branch 'develop' into storage_transactions
|
2014-08-27 11:19:37 +01:00 |
|
Mark Haines
|
d2798de660
|
Fold federation/handler into handlers/federation
|
2014-08-26 19:49:42 +01:00 |
|
Mark Haines
|
64e2a5d58e
|
Move pdu and event persistence into a single persist_event function
|
2014-08-26 18:01:36 +01:00 |
|
Kegan Dougal
|
5a93bfe1f0
|
Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated cmdclient, tests and webclient. All appears to work.
|
2014-08-26 17:21:48 +01:00 |
|
Mark Haines
|
66a4d33524
|
Merge branch 'develop' into storage_transactions
|
2014-08-26 16:20:50 +01:00 |
|
Kegan Dougal
|
2e70de09b9
|
Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
|
2014-08-26 16:19:17 +01:00 |
|
Mark Haines
|
4b63b06cad
|
Merge branch 'develop' into storage_transactions
Conflicts:
synapse/api/auth.py
synapse/handlers/room.py
synapse/storage/__init__.py
|
2014-08-26 16:07:05 +01:00 |
|
Kegan Dougal
|
8bd55cfdcb
|
Fix ALL THE UNIT TESTS
|
2014-08-26 15:54:25 +01:00 |
|
Mark Haines
|
104808107a
|
skip presence tests which broke when presence polling was disabled
|
2014-08-22 18:40:31 +01:00 |
|
Mark Haines
|
1379dcae6f
|
Take a snapshot of the state of the room before performing updates
|
2014-08-22 17:00:10 +01:00 |
|
Paul "LeoNerd" Evans
|
583add34fe
|
Use the "collect_presencelike_data" distributor signal instead of re-implementing its behaviour
|
2014-08-20 16:06:47 +01:00 |
|
Erik Johnston
|
d100ac8c82
|
Fix test. get_joined_hosts_for_room get's called multiple times
|
2014-08-20 15:10:36 +01:00 |
|
Erik Johnston
|
5c4c591c61
|
Fix federation test, since we now hit store.get_room
|
2014-08-20 14:59:43 +01:00 |
|
Erik Johnston
|
849627b82e
|
Don't generate room membership messages. Include previous state of in membership messages.
|
2014-08-20 11:53:57 +01:00 |
|
Erik Johnston
|
cc48e920d6
|
Don't expect a reflection from events stream
|
2014-08-19 15:54:07 +01:00 |
|
Erik Johnston
|
41333452e5
|
Update tests
|
2014-08-19 15:52:20 +01:00 |
|
Erik Johnston
|
22dd0b37c4
|
Fix typo in merge conflict
|
2014-08-19 15:02:47 +01:00 |
|
Erik Johnston
|
347242a5c4
|
Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor
Conflicts:
tests/rest/test_presence.py
tests/rest/test_rooms.py
tests/utils.py
|
2014-08-19 14:48:19 +01:00 |
|
Paul "LeoNerd" Evans
|
d7cfb91a7a
|
Rewrite of PresenceHandler test to ensure it covers the interaction with Federation as well
|
2014-08-19 14:26:06 +01:00 |
|
Paul "LeoNerd" Evans
|
fcdc40a5dd
|
Add a DeferredMockCallable; like mock's MockCallable but allows awaiting
on method calls to be made later
|
2014-08-19 14:25:43 +01:00 |
|
Paul "LeoNerd" Evans
|
88f7482b92
|
Perform the 'REST'-level tests of Presence against the real Presence handler as well, mocking out the datastore beneath it
|
2014-08-19 11:16:23 +01:00 |
|
Paul "LeoNerd" Evans
|
83f031207e
|
Implement and test presence dropping of remote users
|
2014-08-19 11:16:23 +01:00 |
|
Paul "LeoNerd" Evans
|
bb793019a5
|
Rename MockHttpServer to MockHttpResource as it stands for one server resource rather than an entire server
|
2014-08-19 11:16:23 +01:00 |
|
Erik Johnston
|
709a92cee8
|
SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns.
|
2014-08-18 16:00:46 +01:00 |
|
Erik Johnston
|
b4a1f2ccb5
|
Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor
|
2014-08-18 15:53:40 +01:00 |
|
Paul "LeoNerd" Evans
|
faf25e3a83
|
Allow room presence visibility between users who share a room
|
2014-08-18 13:41:43 +01:00 |
|
Erik Johnston
|
663a259d64
|
Change the MemoryDataStore to implement new storage api
|
2014-08-18 11:08:03 +01:00 |
|
Erik Johnston
|
dccb2f57be
|
Disable the ability to GET individualy messages. We need to think about the correct API to do this, as the current one doesn't make much sense.
|
2014-08-18 10:59:04 +01:00 |
|
Erik Johnston
|
f5fca6f787
|
Fix some of the tests to reflect changes in the storage layer.
|
2014-08-15 17:42:21 +01:00 |
|
Erik Johnston
|
c5f2da5875
|
Add a check to make sure that during state conflict res we only request a PDU we don't have.
|
2014-08-15 11:47:01 +01:00 |
|
Kegan Dougal
|
9a1638ed21
|
Removed http_server from HomeServer. Updated unit tests to use either resource_for_federation or resource_for_client depending on what is being tested.
|
2014-08-14 10:18:54 +01:00 |
|
Kegan Dougal
|
9f863d3466
|
Start phasing out HttpServer: we should be using Resources instead. Added resource_for_client/federation/web_client to the HomeServer and hooked the C-S servlets to operate on resource_for_client. Dynamically construct the Resource tree.
|
2014-08-14 09:55:16 +01:00 |
|
Paul "LeoNerd" Evans
|
d05aa651f8
|
An initial hack at storing presence state-change mtimes in database and presenting age durations to clients/federation events
|
2014-08-13 19:19:15 +01:00 |
|
Paul "LeoNerd" Evans
|
a6a9b71da0
|
Allow advancing the MockClock's time
|
2014-08-13 19:19:15 +01:00 |
|
Paul "LeoNerd" Evans
|
eef58a299e
|
Don't mock out presence_handler's internal start/stop methods in presencelike unit test; it's rude
|
2014-08-13 19:19:15 +01:00 |
|
Paul "LeoNerd" Evans
|
fc778e2bce
|
Move MockClock into tests.utils so we can reüse it
|
2014-08-13 19:19:15 +01:00 |
|
Paul "LeoNerd" Evans
|
3a1cfe18cf
|
Implement directory service federation by Federation Queries; avoid local_only hack; add unit tests
|
2014-08-13 18:03:41 +01:00 |
|
Paul "LeoNerd" Evans
|
7fb93f2a47
|
Add a HomeServer.parse_roomalias() to avoid having to RoomAlias.from_sring(..., hs=hs) - similar to parse_userid()
|
2014-08-13 18:03:41 +01:00 |
|