| Commit message (Expand) | Author | Age | Files | Lines |
* | Added a useful unit test primitive for asserting object attributes | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -0/+11 |
* | More RoomStore tests | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -4/+40 |
* | Initial pass at a RoomStore test | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -0/+53 |
* | Also unittest RoomMemberStore's joined_hosts_for_room() | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -0/+48 |
* | Use new 'tests.unittest' in new storage level tests | Paul "LeoNerd" Evans | 2014-09-15 | 5 | -5/+5 |
* | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-15 | 21 | -61/+101 |
|\ |
|
| * | Define a CLOS-like 'around' modifier as a decorator, to neaten up the 'orig_*... | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -10/+23 |
| * | Add some docstrings | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+6 |
| * | Additionally look first for a 'loglevel' attribute on the running test method... | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -3/+7 |
| * | Define a (class) decorator for easily setting a DEBUG logging level on a Test... | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+5 |
| * | Allow a TestCase to set a 'loglevel' attribute, which overrides the logging l... | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -1/+22 |
| * | Have all unit tests import from our own subclass of trial's unittest TestCase... | Paul "LeoNerd" Evans | 2014-09-12 | 21 | -61/+52 |
* | | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -45/+140 |
|\| |
|
| * | Make the state resolution use actual power levels rather than taking them fro... | Erik Johnston | 2014-09-12 | 1 | -45/+140 |
* | | Initial hack at some RoomMemberStore unit tests | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+109 |
* | | Unit-test for RegistrationStore using SQLiteMemoryDbPool | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -0/+69 |
* | | Perform PresenceInvitesTestCase against real SQLiteMemoryDbPool | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -78/+98 |
* | | Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer cons... | Paul "LeoNerd" Evans | 2014-09-11 | 6 | -18/+24 |
* | | Start of converting PresenceHandler unit tests to use SQLiteMemoryDbPool - ju... | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -46/+27 |
* | | Unit-test DirectoryHandler against (real) SQLite memory store, not mocked sto... | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -15/+12 |
* | | Added unit tests of DirectoryStore | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -0/+66 |
* | | Test ProfileHandler against the real datastore layer using SQLite :memory: | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -25/+25 |
* | | Added unit tests for PresenceDataStore too | Paul "LeoNerd" Evans | 2014-09-10 | 2 | -2/+166 |
* | | Remember to kill now-dead import in test_profile.py | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -1/+0 |
* | | Move SQLiteMemoryDbPool implementation into tests.utils | Paul "LeoNerd" Evans | 2014-09-10 | 2 | -27/+15 |
* | | It's considered polite to actually wait for DB prepare before running tests | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -1/+4 |
* | | Also test avatar_url profile field | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -0/+14 |
* | | Tiny trivial PoC unit-test using SQLite in :memory: mode | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -0/+78 |
|/ |
|
* | Handle the case where we don't have a common ancestor | Erik Johnston | 2014-09-08 | 1 | -0/+24 |
* | Fix bug in state handling where we incorrectly identified a missing pdu. Upda... | Erik Johnston | 2014-09-08 | 1 | -15/+218 |
* | Fix state unit test | Erik Johnston | 2014-09-06 | 1 | -0/+1 |
* | Unit tests do not need captchas. | Kegan Dougal | 2014-09-05 | 1 | -0/+1 |
* | Fix test to assert that we don't do auth | Erik Johnston | 2014-09-03 | 1 | -1/+1 |
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has... | Matthew Hodgson | 2014-09-03 | 25 | -25/+25 |
* | Fix up directory server to not require uploading room hosts. Update the room ... | Erik Johnston | 2014-09-03 | 1 | -0/+5 |
* | Kill the state | Paul "LeoNerd" Evans | 2014-09-03 | 3 | -63/+54 |
* | Make retrying requests on DNS failures configurable, and turn off retrying on... | Kegan Dougal | 2014-09-03 | 1 | -1/+5 |
* | Implement presence state visibilty limiting when polling eventsource for stream | Paul "LeoNerd" Evans | 2014-09-03 | 2 | -6/+90 |
* | Don't eat federation transmit errors during unit tests; fix remote presence E... | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+16 |
* | Rename the 'do_users_share_a_room' to something slightly less verb-sounding | Paul "LeoNerd" Evans | 2014-09-03 | 2 | -4/+4 |
* | Allow optional non-suppression of exceptions through the Distributor | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -3/+21 |
* | Fix tests to support ratelimiting | Mark Haines | 2014-09-03 | 3 | -2/+64 |
* | Test ratelimiter | Mark Haines | 2014-09-02 | 2 | -0/+39 |
* | Fix room permissions test | Erik Johnston | 2014-09-02 | 1 | -0/+3 |
* | Ensure that event source unit tests could cope with get_new_events_for_user()... | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -14/+20 |
* | Reënable presence visibility permission checking now it's not used on redund... | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -2/+0 |
* | Fix the tests to include new db calls | Erik Johnston | 2014-09-01 | 2 | -6/+20 |
* | Have MemoryDataStore's get_rooms_for_user_where_membership_is() return room m... | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -2/+3 |
* | Perform room unit tests with 'local' users actually in the right domain ;) | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -6/+6 |
* | Rename API-visible 'mtime' presence field to 'last_active'; slightly differen... | Paul "LeoNerd" Evans | 2014-09-01 | 3 | -18/+33 |
* | Rename 'state' presence key to the much more obvious 'presence'; maintain a l... | Paul "LeoNerd" Evans | 2014-09-01 | 3 | -57/+102 |
* | change the world: make the default matrix API URL prefix /_matrix rather than... | Matthew Hodgson | 2014-08-31 | 7 | -28/+28 |
* | Bugfixes on presence pushes on user joining: | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -57/+71 |
* | Bugfix for rest presence test - datastore needs to implement profile methods | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -0/+10 |
* | Define a new event stream data source for typing notifications (currently null) | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -3/+5 |
* | Move the *EventSource classes into the handlers they relate to, so it's easie... | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
* | Fix a couple of bugs in presence handler related to pushing updatesto the cor... | Erik Johnston | 2014-08-29 | 3 | -72/+157 |
* | Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotes | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -6/+33 |
* | Ability to assert a DeferredMockCallable has received no calls | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -0/+15 |
* | Re-enable presence, un-skip presence tests | Paul "LeoNerd" Evans | 2014-08-28 | 3 | -11/+0 |
* | Remove get_state_for_room function from federation handler | Mark Haines | 2014-08-28 | 2 | -2/+18 |
* | Fix up the various presence-related tests so that if they're not skipped, the... | Paul "LeoNerd" Evans | 2014-08-27 | 3 | -12/+26 |
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 2 | -5/+3 |
|\ |
|
| * | Fix tests. | Erik Johnston | 2014-08-27 | 2 | -4/+3 |
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 5 | -99/+292 |
|\| |
|
| * | Initial typing notification support - EDU federation, but no timers, and no a... | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -0/+250 |
| * | Final url modifications: renamed /presence_list to /presence/list to keep the... | Kegan Dougal | 2014-08-27 | 1 | -3/+3 |
| * | Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and remov... | Kegan Dougal | 2014-08-27 | 3 | -96/+39 |
* | | Start updating state handling to use snapshots | Mark Haines | 2014-08-27 | 2 | -7/+11 |
* | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 2 | -18/+29 |
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 3 | -28/+17 |
|\| |
|
| * | Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated cmd... | Kegan Dougal | 2014-08-26 | 3 | -28/+17 |
* | | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 3 | -17/+24 |
* | | Move pdu and event persistence into a single persist_event function | Mark Haines | 2014-08-26 | 1 | -1/+1 |
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -4/+4 |
|\| |
|
| * | Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> /rooms/$ro... | Kegan Dougal | 2014-08-26 | 1 | -4/+4 |
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 8 | -34/+48 |
|\| |
|
| * | Fix ALL THE UNIT TESTS | Kegan Dougal | 2014-08-26 | 5 | -34/+35 |
| * | skip presence tests which broke when presence polling was disabled | Mark Haines | 2014-08-22 | 3 | -0/+13 |
* | | Take a snapshot of the state of the room before performing updates | Mark Haines | 2014-08-22 | 2 | -5/+27 |
|/ |
|
* | Use the "collect_presencelike_data" distributor signal instead of re-implemen... | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -0/+2 |
* | Fix test. get_joined_hosts_for_room get's called multiple times | Erik Johnston | 2014-08-20 | 1 | -3/+5 |
* | Fix federation test, since we now hit store.get_room | Erik Johnston | 2014-08-20 | 1 | -1/+2 |
* | Don't generate room membership messages. Include previous state of in members... | Erik Johnston | 2014-08-20 | 1 | -1/+6 |
* | Don't expect a reflection from events stream | Erik Johnston | 2014-08-19 | 1 | -3/+1 |
* | Update tests | Erik Johnston | 2014-08-19 | 2 | -12/+5 |
* | Fix typo in merge conflict | Erik Johnston | 2014-08-19 | 1 | -2/+0 |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-19 | 8 | -339/+570 |
|\ |
|
| * | Rewrite of PresenceHandler test to ensure it covers the interaction with Fede... | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -149/+279 |
| * | Add a DeferredMockCallable; like mock's MockCallable but allows awaiting | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -0/+41 |
| * | Perform the 'REST'-level tests of Presence against the real Presence handler ... | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -40/+92 |
| * | Implement and test presence dropping of remote users | Paul "LeoNerd" Evans | 2014-08-19 | 1 | -0/+8 |
| * | Rename MockHttpServer to MockHttpResource as it stands for one server resourc... | Paul "LeoNerd" Evans | 2014-08-19 | 7 | -146/+147 |
* | | SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns. | Erik Johnston | 2014-08-18 | 2 | -0/+3 |
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-18 | 1 | -5/+40 |
|\| |
|
| * | Allow room presence visibility between users who share a room | Paul "LeoNerd" Evans | 2014-08-18 | 1 | -5/+40 |
* | | Change the MemoryDataStore to implement new storage api | Erik Johnston | 2014-08-18 | 1 | -99/+50 |
* | | Disable the ability to GET individualy messages. We need to think about the c... | Erik Johnston | 2014-08-18 | 1 | -36/+36 |
* | | Fix some of the tests to reflect changes in the storage layer. | Erik Johnston | 2014-08-15 | 3 | -39/+11 |
|/ |
|
* | Add a check to make sure that during state conflict res we only request a PDU... | Erik Johnston | 2014-08-15 | 1 | -0/+3 |
* | Removed http_server from HomeServer. Updated unit tests to use either resourc... | Kegan Dougal | 2014-08-14 | 9 | -16/+14 |
* | Start phasing out HttpServer: we should be using Resources instead. Added res... | Kegan Dougal | 2014-08-14 | 2 | -0/+4 |
* | An initial hack at storing presence state-change mtimes in database and prese... | Paul "LeoNerd" Evans | 2014-08-13 | 3 | -20/+62 |
* | Allow advancing the MockClock's time | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+4 |
* | Don't mock out presence_handler's internal start/stop methods in presencelike... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -9/+5 |
* | Move MockClock into tests.utils so we can reüse it | Paul "LeoNerd" Evans | 2014-08-13 | 2 | -11/+11 |
* | Implement directory service federation by Federation Queries; avoid local_onl... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+112 |
* | Add a HomeServer.parse_roomalias() to avoid having to RoomAlias.from_sring(..... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+6 |
* | Use new Federation Query API to implement HS->HS fetching of remote users' pr... | Paul "LeoNerd" Evans | 2014-08-13 | 2 | -8/+30 |
* | Define the concept of a 'federation Query'; creating API for making and handl... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+38 |
* | Namespace all the Federation HTTP URLs to /matrix/federation/v1/... | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -7/+8 |
* | Use strings instead of opaque magic-number constants for presence states; ren... | Paul "LeoNerd" Evans | 2014-08-13 | 3 | -24/+24 |
* | add in copyrights to everything, not just the synapse subdir, and add a copyr... | Matthew Hodgson | 2014-08-13 | 23 | -0/+324 |
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 26 | -0/+4818 |