Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -6/+7 |
| | |||||
* | Finish renaming "context" to "room_id" in federation codebase | Mark Haines | 2015-01-16 | 1 | -5/+5 |
| | |||||
* | PEP8 and pyflakes warnings | Kegan Dougal | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | SYN-154: Better error messages when joining an unknown room by ID. | Kegan Dougal | 2015-01-07 | 1 | -2/+2 |
| | | | | | | The simple fix doesn't work here because room creation also involves unknown room IDs. The check relies on the presence of m.room.create for rooms being created, whereas bogus room IDs have no state events at all. | ||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -23/+32 |
| | | | | from a remote server if we are missing some of them | ||||
* | Don't yield on sending the event accross federation. | Mark Haines | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | Fix where we pulled in event.state_events from hotfixes branch | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'hotfixes-v0.5.4a' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-12-16 | 1 | -2/+6 |
|\ | | | | | | | release-v0.6.0 | ||||
| * | Add FIXME | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | | |||||
| * | Fix bug where we did not send the full auth chain to people that joined over ↵ | Erik Johnston | 2014-12-16 | 1 | -2/+5 |
| | | | | | | | | federation | ||||
* | | Make error messages slightly more helpful | Erik Johnston | 2014-12-16 | 1 | -5/+5 |
| | | |||||
* | | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 1 | -10/+4 |
| | | | | | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | | clean up coding style a bit | Mark Haines | 2014-12-16 | 1 | -7/+4 |
| | | |||||
* | | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -11/+11 |
| | | |||||
* | | Add fixme to raising of AuthError in federation land | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | | |||||
* | | Fix federation test | Erik Johnston | 2014-12-11 | 1 | -1/+1 |
| | | |||||
* | | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 1 | -7/+7 |
| | | |||||
* | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 1 | -0/+9 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 1 | -0/+7 |
|\ \ | |||||
| * | | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 1 | -1/+2 |
| | | | |||||
| * | | actually reset retry schedule if we can successfuly talk to it | Matthew Hodgson | 2014-12-08 | 1 | -0/+6 |
| |/ | |||||
* | | Fix AttributeError | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
| | | |||||
* | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -3/+51 |
| | | |||||
* | | Fix joining from an invite | Erik Johnston | 2014-12-09 | 1 | -2/+0 |
| | | |||||
* | | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -16/+23 |
| | | |||||
* | | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 1 | -59/+38 |
| | | |||||
* | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -8/+11 |
| | | |||||
* | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -9/+10 |
| | | |||||
* | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 1 | -7/+2 |
|/ | |||||
* | Fix bugs when joining a remote room that has dodgy event graphs. This should ↵ | Erik Johnston | 2014-11-27 | 1 | -28/+55 |
| | | | | also fix the number of times a HS will trigger a GET /event/ | ||||
* | on_receive_pdu takes more args | Erik Johnston | 2014-11-27 | 1 | -3/+3 |
| | |||||
* | Change the way we get missing auth and state events | Erik Johnston | 2014-11-27 | 1 | -16/+61 |
| | |||||
* | Re-sign events when we return them via federation as a temporary hack to ↵ | Erik Johnston | 2014-11-27 | 1 | -0/+11 |
| | | | | work around the problem where we reconstruct events differently than when they were signed | ||||
* | Add a workaround for bug where some initial join events don't reference ↵ | Erik Johnston | 2014-11-26 | 1 | -1/+7 |
| | | | | creation events in their auth_events | ||||
* | Catch exceptions when trying to add an entry to rooms tables | Erik Johnston | 2014-11-26 | 1 | -6/+11 |
| | |||||
* | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 1 | -28/+44 |
| | | | | turns out we are actually in | ||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 1 | -52/+92 |
| | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | We don't always want to Auth get_persisted_pdu | Erik Johnston | 2014-11-24 | 1 | -7/+8 |
| | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -2/+4 |
| | |||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -2/+2 |
| | | | | because they don't interact well with the logging contexts | ||||
* | These lines aren't doing anything | Mark Haines | 2014-11-17 | 1 | -5/+0 |
| | |||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -43/+22 |
| | |||||
* | Fix PDU and event signatures | Mark Haines | 2014-11-14 | 1 | -2/+3 |
| | |||||
* | Validate signatures on incoming events | Mark Haines | 2014-11-14 | 1 | -2/+35 |
| | |||||
* | Add a few more comments to the federation handler | Erik Johnston | 2014-11-12 | 1 | -0/+32 |
| | |||||
* | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 1 | -9/+3 |
| | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
* | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 1 | -7/+7 |
| | |||||
* | Fix bug where we /always/ created a new state group | Erik Johnston | 2014-11-11 | 1 | -1/+2 |
| | |||||
* | PEP8 | Erik Johnston | 2014-11-10 | 1 | -1/+4 |
| | |||||
* | Add auth to the various server-server APIs | Erik Johnston | 2014-11-10 | 1 | -2/+13 |
| | |||||
* | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 1 | -5/+5 |
| | |||||
* | Notify users about invites. | Erik Johnston | 2014-11-10 | 1 | -1/+4 |
| | |||||
* | Use current state to get room hosts, rather than querying the database | Erik Johnston | 2014-11-07 | 1 | -4/+17 |
| | |||||
* | Add '/event_auth/' federation api | Erik Johnston | 2014-11-07 | 1 | -0/+5 |
| | |||||
* | Implement invite part of invite join dance | Erik Johnston | 2014-11-07 | 1 | -0/+37 |
| | |||||
* | Return auth chain when handling send_join | Erik Johnston | 2014-11-07 | 1 | -3/+12 |
| | |||||
* | Fix joining over federation | Erik Johnston | 2014-11-07 | 1 | -0/+1 |
| | |||||
* | Update to use replaces_state rather than prev_state | Erik Johnston | 2014-11-06 | 1 | -2/+4 |
| | |||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -3/+1 |
| | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
* | Fix auth checks to all use the given old_event_state | Erik Johnston | 2014-11-05 | 1 | -3/+3 |
| | |||||
* | Don't bother locking | Erik Johnston | 2014-11-04 | 1 | -6/+5 |
| | |||||
* | On AuthError, raise a FederationError | Erik Johnston | 2014-11-04 | 1 | -1/+9 |
| | |||||
* | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -4/+2 |
| | |||||
* | Rename PDU fields to match that of events. | Erik Johnston | 2014-11-03 | 1 | -7/+5 |
| | |||||
* | Actually don't store any PDUs | Erik Johnston | 2014-10-31 | 1 | -0/+22 |
| | |||||
* | Move the impl of backfill to use events. | Erik Johnston | 2014-10-31 | 1 | -1/+26 |
| | |||||
* | Convert event ids to be of the form :example.com | Erik Johnston | 2014-10-30 | 1 | -2/+5 |
| | |||||
* | Make federation return the old current state, so that we can use it to do auth | Erik Johnston | 2014-10-30 | 1 | -5/+23 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -39/+51 |
| | |||||
* | It doesn't want a dict | Erik Johnston | 2014-10-17 | 1 | -2/+0 |
| | |||||
* | Fix bug where people could join private rooms | Erik Johnston | 2014-10-17 | 1 | -2/+8 |
| | |||||
* | Use state groups to get current state. Make join dance actually work. | Erik Johnston | 2014-10-17 | 1 | -21/+53 |
| | |||||
* | Finish implementing the new join dance. | Erik Johnston | 2014-10-17 | 1 | -97/+84 |
| | |||||
* | Start implementing the invite/join dance. Continue moving auth to use ↵ | Erik Johnston | 2014-10-16 | 1 | -8/+75 |
| | | | | event.state_events | ||||
* | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 1 | -2/+9 |
| | |||||
* | SYN-46: An invite received from fedearation didn't wake up the event stream ↵ | Erik Johnston | 2014-09-25 | 1 | -1/+9 |
| | | | | for the invited user. | ||||
* | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵ | Erik Johnston | 2014-09-15 | 1 | -7/+5 |
| | | | | discarding them. | ||||
* | Improve logging in federation handler. | Erik Johnston | 2014-09-15 | 1 | -1/+3 |
| | |||||
* | Error code must be an integer | Erik Johnston | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Import SynapseError | Erik Johnston | 2014-09-03 | 1 | -0/+1 |
| | |||||
* | Handle timeouts slightly nicer. | Erik Johnston | 2014-09-03 | 1 | -1/+5 |
| | |||||
* | Don't do auth for change_membership in federation handler, it doesn't work ↵ | Erik Johnston | 2014-09-03 | 1 | -2/+3 |
| | | | | and federation doesn't do auth in general either. Add a hacky timeout when trying to join a remote room. | ||||
* | 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. | ||||
* | Fix FederationHandler to event.origin | Mark Haines | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | Remove get_state_for_room function from federation handler | Mark Haines | 2014-08-28 | 1 | -15/+11 |
| | |||||
* | Fix pyflakes warnings | Mark Haines | 2014-08-28 | 1 | -3/+1 |
| | |||||
* | Merge backfill_ and backfill in federation handler | Mark Haines | 2014-08-28 | 1 | -18/+5 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py | ||||
| * | Remove store_id from notifier.on_new_room_event calls. | Erik Johnston | 2014-08-27 | 1 | -1/+1 |
| | | |||||
* | | add _get_room_member, fix datastore methods | Mark Haines | 2014-08-27 | 1 | -2/+3 |
| | | |||||
* | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 1 | -59/+11 |
| | | |||||
* | | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 1 | -8/+134 |
|/ | |||||
* | Use state_key rather than target_user_id | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Fix pyflakes errors | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-08-26 | 1 | -2/+27 |
|\ | | | | | | | client_server_url_rename | ||||
| * | Wait for getting a Join in response to an invite/join dance. | Erik Johnston | 2014-08-21 | 1 | -2/+27 |
| | | |||||
* | | Removed member list servlet: now using generic state paths. | Kegan Dougal | 2014-08-26 | 1 | -1/+1 |
|/ | |||||
* | Better handle the edge cases of trying to remote join rooms | Erik Johnston | 2014-08-20 | 1 | -0/+78 |
| | |||||
* | Print out stacktrace when we failed to persist event. | Erik Johnston | 2014-08-19 | 1 | -1/+1 |
| | |||||
* | Add a 'backfill room' button | Erik Johnston | 2014-08-19 | 1 | -3/+18 |
| | |||||
* | 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 | 1 | -0/+74 |