| Commit message (Expand) | Author | Age | Files | Lines |
* | Don't execute empty tests. Formatting. | Erik Johnston | 2014-11-05 | 1 | -17/+28 |
* | Fix presence test | Erik Johnston | 2014-11-05 | 1 | -0/+1 |
* | Fix Federation test | Erik Johnston | 2014-11-05 | 1 | -1/+1 |
* | PEP8 | Erik Johnston | 2014-11-04 | 1 | -4/+4 |
* | Fix room handler tests | Erik Johnston | 2014-11-04 | 1 | -127/+19 |
* | Fix federation handler tests. I've removed the invite/join dance ones as they... | Erik Johnston | 2014-11-04 | 1 | -57/+27 |
* | PEP8 | Erik Johnston | 2014-11-04 | 1 | -1/+3 |
* | Fix tests.handlers.test_directory | Erik Johnston | 2014-11-04 | 1 | -2/+5 |
* | event <-> pdu mappings are now trivial and will soon be scrapped | Erik Johnston | 2014-11-04 | 1 | -167/+0 |
* | Fix up federation tests | Erik Johnston | 2014-11-04 | 1 | -114/+124 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho... | Erik Johnston | 2014-10-30 | 1 | -0/+16 |
|\ |
|
| * | Fix an off-by-one bug in presence event stream pagination; this might be resp... | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -0/+16 |
* | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 6 | -13/+13 |
|\| |
|
| * | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ... | Mark Haines | 2014-10-17 | 1 | -2/+2 |
| * | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 6 | -15/+15 |
* | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 2 | -3/+3 |
* | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 5 | -15/+48 |
* | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -1/+3 |
|/ |
|
* | SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin fr... | Mark Haines | 2014-10-14 | 3 | -0/+3 |
* | Raise a SynapseError if the authorisation header is missing or malformed | Mark Haines | 2014-10-13 | 1 | -0/+4 |
* | Verify signatures for server2server requests | Mark Haines | 2014-10-13 | 2 | -0/+4 |
* | SYN-75 sign at the request level rather than the transaction level | Mark Haines | 2014-10-13 | 3 | -17/+17 |
* | Merge branch develop into server2server_signing | Mark Haines | 2014-10-13 | 2 | -5/+5 |
|\ |
|
| * | Fixed test. | Kegan Dougal | 2014-10-09 | 1 | -1/+0 |
| * | Still broken. | Kegan Dougal | 2014-10-09 | 1 | -1/+2 |
| * | Break a test. | Kegan Dougal | 2014-10-09 | 1 | -1/+1 |
| * | Fix unit test. | Kegan Dougal | 2014-10-08 | 1 | -1/+1 |
| * | Break unit test. | Kegan Dougal | 2014-10-08 | 1 | -1/+1 |
| * | Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ... | Mark Haines | 2014-10-02 | 2 | -5/+5 |
| * | Split PlainHttpClient into separate clients for talking to Identity servers a... | Mark Haines | 2014-10-02 | 1 | -2/+2 |
* | | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 8 | -19/+344 |
|\| |
|
| * | SYN-2: Allow server admins to delete room aliases | Erik Johnston | 2014-09-30 | 1 | -4/+21 |
| * | Unbreak tests after changing storage API | Erik Johnston | 2014-09-29 | 4 | -12/+53 |
| * | Track the IP users connect with. Add an admin column to users table. | Erik Johnston | 2014-09-26 | 3 | -3/+10 |
| * | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 2 | -1/+263 |
| |\ |
|
| | * | Rename redaction test case to something helpful | Erik Johnston | 2014-09-25 | 1 | -1/+1 |
| | * | More tests. | Erik Johnston | 2014-09-25 | 1 | -1/+82 |
| | * | Add test for redactions | Erik Johnston | 2014-09-25 | 1 | -0/+181 |
| | * | Fix test. | Erik Johnston | 2014-09-24 | 1 | -1/+1 |
| * | | Fix test where we changed arguments used to call the notifier | Erik Johnston | 2014-09-25 | 1 | -1/+1 |
| |/ |
|
* | | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 3 | -3/+8 |
* | | Sign federation transactions | Mark Haines | 2014-09-24 | 7 | -9/+65 |
|/ |
|
* | Test that prev_content get's added if there is a prev_state key (in the event... | Erik Johnston | 2014-09-19 | 1 | -17/+70 |
* | SYN-47: Fix bug where we still returned events for rooms we had left. | Erik Johnston | 2014-09-19 | 1 | -0/+173 |
* | Merge branch 'test-sqlite-memory' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-18 | 12 | -183/+900 |
|\ |
|
| * | Merge branch 'develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-17 | 5 | -13/+39 |
| |\ |
|
| * | | Remark on remaining storage modules that still need unit tests | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -0/+5 |
| * | | Neaten more of the storage layer tests with assertObjectHasAttributes; more s... | Paul "LeoNerd" Evans | 2014-09-17 | 3 | -20/+22 |
| * | | Unit tests for (some) room events via the RoomStore | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -0/+85 |
| * | | Use new assertObjectHasAttributes() in tests/storage/test_room.py | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -3/+6 |
| * | | 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 |
| |\ \ |
|
| * \ \ | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 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 |
* | | | | | SYN-40: When a user updates their displayname or avatar update all their join... | Erik Johnston | 2014-09-17 | 2 | -0/+32 |
| |_|_|/
|/| | | |
|
* | | | | Correctly handle receiving 'missing' Pdus from federation, rather than just d... | Erik Johnston | 2014-09-15 | 1 | -1/+3 |
* | | | | Fix unit tests after adding extra argument on put_json | Erik Johnston | 2014-09-15 | 3 | -10/+28 |
* | | | | Be consistent when associating keys with login types for registration/login. | Kegan Dougal | 2014-09-15 | 1 | -1/+1 |
* | | | | Fix unit tests. | Kegan Dougal | 2014-09-15 | 1 | -2/+8 |
| |_|/
|/| | |
|
* | | | 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 |
| |/
|/| |
|
* | | Make the state resolution use actual power levels rather than taking them fro... | Erik Johnston | 2014-09-12 | 1 | -45/+140 |
|/ |
|
* | 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 |