Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pass room_version into `event_from_pdu_json` | Richard van der Hoff | 2020-02-06 | 1 | -2/+4 |
| | | | | It's called from all over the shop, so this one's a bit messy. | ||||
* | Fix bug which caused rejected events to be stored with the wrong room state ↵ | Richard van der Hoff | 2019-11-06 | 1 | -0/+126 |
| | | | | | | | | | | | | (#6320) Fixes a bug where rejected events were persisted with the wrong state group. Also fixes an occasional internal-server-error when receiving events over federation which are rejected and (possibly because they are backwards-extremities) have no prev_group. Fixes #6289. | ||||
* | Lint (again) | Brendan Abolivier | 2019-10-03 | 1 | -3/+1 |
| | |||||
* | Lint | Brendan Abolivier | 2019-10-03 | 1 | -5/+5 |
| | |||||
* | Add test case | Brendan Abolivier | 2019-10-03 | 1 | -0/+83 |
| | |||||
* | Make unit tests work | Erik Johnston | 2016-01-18 | 1 | -141/+0 |
| | |||||
* | Merge pull request #456 from matrix-org/store_event_actions | David Baker | 2016-01-08 | 1 | -0/+11 |
|\ | | | | | Send unread notification counts | ||||
| * | fix tests | David Baker | 2016-01-06 | 1 | -0/+4 |
| | | |||||
| * | fix tests | David Baker | 2016-01-04 | 1 | -1/+1 |
| | | |||||
| * | Add mocks to make tests work again | David Baker | 2015-12-22 | 1 | -0/+7 |
| | | |||||
* | | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
|/ | |||||
* | Don't needlessly compute context | Erik Johnston | 2015-06-03 | 1 | -2/+2 |
| | |||||
* | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -2/+2 |
| | |||||
* | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -0/+9 |
| | |||||
* | Factor out some of the common homeserver setup code into a | Mark Haines | 2015-02-11 | 1 | -8/+3 |
| | | | | setup_test_homeserver function in utils. | ||||
* | Try to ensure we don't persist an event we have already persisted. In ↵ | Erik Johnston | 2015-02-03 | 1 | -1/+4 |
| | | | | 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. | ||||
* | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 1 | -0/+2 |
| | |||||
* | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 1 | -10/+8 |
| | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -5/+2 |
| | |||||
* | Fix federation test | Erik Johnston | 2014-12-11 | 1 | -18/+24 |
| | |||||
* | fix UTs by telling all the mock stores about the new methods for tracking ↵ | Matthew Hodgson | 2014-12-09 | 1 | -0/+2 |
| | | | | retries | ||||
* | Fix bugs when joining a remote room that has dodgy event graphs. This should ↵ | Erik Johnston | 2014-11-27 | 1 | -1/+5 |
| | | | | also fix the number of times a HS will trigger a GET /event/ | ||||
* | Fix tests. | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 1 | -5/+7 |
| | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | replace user_id with sender | Mark Haines | 2014-11-19 | 1 | -1/+2 |
| | |||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -2/+3 |
| | |||||
* | Validate signatures on incoming events | Mark Haines | 2014-11-14 | 1 | -1/+3 |
| | |||||
* | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 1 | -3/+3 |
| | |||||
* | Fix Federation test | Erik Johnston | 2014-11-05 | 1 | -1/+1 |
| | |||||
* | Fix federation handler tests. I've removed the invite/join dance ones as ↵ | Erik Johnston | 2014-11-04 | 1 | -57/+27 |
| | | | | they are completely out of date. | ||||
* | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 1 | -3/+3 |
| | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py | ||||
| * | Fix test where we changed arguments used to call the notifier | Erik Johnston | 2014-09-25 | 1 | -1/+1 |
| | | |||||
* | | Sign federation transactions | Mark Haines | 2014-09-24 | 1 | -1/+6 |
|/ | |||||
* | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵ | Erik Johnston | 2014-09-15 | 1 | -1/+3 |
| | | | | discarding them. | ||||
* | Have all unit tests import from our own subclass of trial's unittest ↵ | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -5/+1 |
| | | | | TestCase; set up logging in ONE PLACE ONLY | ||||
* | 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 ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Remove get_state_for_room function from federation handler | Mark Haines | 2014-08-28 | 1 | -2/+8 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -2/+1 |
|\ | | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py | ||||
| * | Fix tests. | Erik Johnston | 2014-08-27 | 1 | -2/+1 |
| | | |||||
* | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 1 | -17/+26 |
|/ | |||||
* | Fix ALL THE UNIT TESTS | Kegan Dougal | 2014-08-26 | 1 | -1/+0 |
| | |||||
* | Fix federation test, since we now hit store.get_room | Erik Johnston | 2014-08-20 | 1 | -1/+2 |
| | |||||
* | Update tests | Erik Johnston | 2014-08-19 | 1 | -4/+4 |
| | |||||
* | Removed http_server from HomeServer. Updated unit tests to use either ↵ | Kegan Dougal | 2014-08-14 | 1 | -1/+1 |
| | | | | resource_for_federation or resource_for_client depending on what is being tested. | ||||
* | add in copyrights to everything, not just the synapse subdir, and add a ↵ | Matthew Hodgson | 2014-08-13 | 1 | -0/+14 |
| | | | | copyrighter.pl whilst we're at it | ||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+107 |