Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor out ExpiringCache from StateHandler | Erik Johnston | 2015-02-16 | 1 | -37/+9 |
| | |||||
* | When we see a difference in current state, actually use state conflict ↵ | Erik Johnston | 2015-02-13 | 1 | -14/+29 |
| | | | | resolution algorithm | ||||
* | Remove unnecessary logging | Erik Johnston | 2015-02-10 | 1 | -6/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into state-chache | Erik Johnston | 2015-02-10 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: synapse/app/homeserver.py synapse/state.py | ||||
| * | During room intial sync, only calculate current state once. | Erik Johnston | 2015-02-09 | 1 | -1/+1 |
| | | |||||
* | | Oops, we do want to defer.return regardless of whether we are caching or not | Erik Johnston | 2015-02-10 | 1 | -1/+1 |
| | | |||||
* | | Move construction of object within if block | Erik Johnston | 2015-02-10 | 1 | -6/+6 |
| | | |||||
* | | Bug fixes. | Erik Johnston | 2015-02-06 | 1 | -27/+55 |
| | | |||||
* | | Bugfix cache layer | Erik Johnston | 2015-02-06 | 1 | -10/+21 |
| | | |||||
* | | Add cache layer to state group resolution | Erik Johnston | 2015-02-06 | 1 | -0/+63 |
|/ | |||||
* | Change context.auth_events to what the auth_events would be bases on ↵ | Erik Johnston | 2015-02-04 | 1 | -2/+6 |
| | | | | context.current_state, rather than based on the auth_events from the event. | ||||
* | Fix state resolution to remember join_rules is a type of auth event. | Erik Johnston | 2015-02-04 | 1 | -1/+13 |
| | |||||
* | Remove debug logging | Erik Johnston | 2015-01-30 | 1 | -9/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into rejections | Erik Johnston | 2015-01-30 | 1 | -1/+2 |
|\ | | | | | | | | | Conflicts: synapse/storage/schema/im.sql | ||||
| * | Add a slightly more helpful comment | Erik Johnston | 2015-01-30 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'replication_split' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-01-30 | 1 | -3/+5 |
|\| | | | | | | | | | | | | | rejections Conflicts: synapse/storage/schema/delta/v12.sql | ||||
| * | Remove commented line | Erik Johnston | 2015-01-30 | 1 | -1/+0 |
| | | |||||
| * | Style changes. | Erik Johnston | 2015-01-30 | 1 | -6/+5 |
| | | |||||
* | | Fix bug where we superfluously asked for current state. Change API of ↵ | Erik Johnston | 2015-01-30 | 1 | -4/+16 |
|/ | | | | /query_auth/ so that we don't duplicate events in the response. | ||||
* | fix pyflakes | Erik Johnston | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | Remove unused function. Add comment. | Erik Johnston | 2015-01-21 | 1 | -16/+12 |
| | |||||
* | Implement new state resolution algorithm | Erik Johnston | 2015-01-21 | 1 | -32/+71 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 1 | -3/+4 |
|\ | |||||
| * | Fix typo where we thought a list was a dict | Erik Johnston | 2014-12-16 | 1 | -3/+4 |
| | | |||||
* | | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 1 | -4/+10 |
| | | | | | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | | Remove annotate_event_with_state as nothing was using it. Update state tests ↵ | Mark Haines | 2014-12-16 | 1 | -66/+0 |
|/ | | | | to call annotate_context_with_state | ||||
* | Better english in docstrings are helpful. | Erik Johnston | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Add basic docstring to annotate_context_with_state | Erik Johnston | 2014-12-16 | 1 | -0/+11 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 1 | -1/+2 |
| | |||||
* | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 1 | -0/+12 |
| | |||||
* | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -0/+11 |
| | |||||
* | Fix joining from an invite | Erik Johnston | 2014-12-09 | 1 | -1/+3 |
| | |||||
* | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -2/+2 |
| | |||||
* | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -2/+6 |
| | |||||
* | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 1 | -4/+12 |
| | |||||
* | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -0/+33 |
| | |||||
* | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 1 | -4/+14 |
| | |||||
* | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | | | | turns out we are actually in | ||||
* | synapse.state docs. | Erik Johnston | 2014-11-11 | 1 | -0/+35 |
| | |||||
* | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 1 | -1/+1 |
| | |||||
* | Fix bugs which broke federation due to changes in function signatures. | Erik Johnston | 2014-11-11 | 1 | -1/+1 |
| | |||||
* | Fix bug where we /always/ created a new state group | Erik Johnston | 2014-11-11 | 1 | -23/+38 |
| | |||||
* | Don't query the DB for user power levels | Erik Johnston | 2014-11-07 | 1 | -10/+16 |
| | |||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -35/+4 |
| | | | | | `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 | -2/+6 |
| | |||||
* | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -2/+0 |
| | |||||
* | Remove dead code. | Erik Johnston | 2014-11-03 | 1 | -84/+0 |
| | |||||
* | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 1 | -17/+6 |
| | |||||
* | Remove unused functions. | Erik Johnston | 2014-10-31 | 1 | -90/+0 |
| | |||||
* | old_state_events should be a dict not list | Erik Johnston | 2014-10-31 | 1 | -2/+4 |
| | |||||
* | Convert event ids to be of the form :example.com | Erik Johnston | 2014-10-30 | 1 | -5/+12 |
| | |||||
* | Make federation return the old current state, so that we can use it to do auth | Erik Johnston | 2014-10-30 | 1 | -5/+9 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -5/+6 |
| | |||||
* | Remove duplicate import | Erik Johnston | 2014-10-27 | 1 | -1/+0 |
| | |||||
* | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -4/+0 |
|\ | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| * | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 1 | -4/+0 |
| | | |||||
* | | Fix bug where people could join private rooms | Erik Johnston | 2014-10-17 | 1 | -4/+8 |
| | | |||||
* | | Use state groups to get current state. Make join dance actually work. | Erik Johnston | 2014-10-17 | 1 | -25/+61 |
| | | |||||
* | | Finish implementing the new join dance. | Erik Johnston | 2014-10-17 | 1 | -2/+8 |
| | | |||||
* | | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 1 | -11/+7 |
| | | |||||
* | | Begin implementing state groups. | Erik Johnston | 2014-10-14 | 1 | -2/+85 |
|/ | |||||
* | Make the state resolution use actual power levels rather than taking them ↵ | Erik Johnston | 2014-09-12 | 1 | -11/+35 |
| | | | | from a Pdu key. | ||||
* | Handle the case where we don't have a common ancestor | Erik Johnston | 2014-09-08 | 1 | -9/+18 |
| | |||||
* | Fix bug in state handling where we incorrectly identified a missing pdu. ↵ | Erik Johnston | 2014-09-08 | 1 | -49/+43 |
| | | | | Update tests to catch this case. | ||||
* | Fix bug where we used an event_id as a pdu_id | Erik Johnston | 2014-09-06 | 1 | -3/+5 |
| | |||||
* | 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. | ||||
* | Handle new state events which don't have a common ancestor | Erik Johnston | 2014-09-03 | 1 | -0/+12 |
| | |||||
* | Start updating state handling to use snapshots | Mark Haines | 2014-08-27 | 1 | -15/+3 |
| | |||||
* | Rename method name to not clash with other ones in storage. | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
| | |||||
* | Add a check to make sure that during state conflict res we only request a ↵ | Erik Johnston | 2014-08-15 | 1 | -2/+10 |
| | | | | PDU we don't have. | ||||
* | Fix pontenial bug in state resolution handler that compared dicts rather ↵ | Erik Johnston | 2014-08-15 | 1 | -1/+4 |
| | | | | than their id's | ||||
* | 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/+223 |