| Commit message (Expand) | Author | Age | Files | Lines |
* | Use get_cache_factor_for function for `state_cache` | Erik Johnston | 2018-08-20 | 1 | -2/+2 |
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 1 | -1/+1 |
* | Python 3: Convert some unicode/bytes uses (#3569) | Amber Brown | 2018-08-02 | 1 | -1/+1 |
* | Fixes and optimisations for resolve_state_groups | Richard van der Hoff | 2018-07-23 | 1 | -54/+89 |
* | Make EventContext lazy load state | Erik Johnston | 2018-07-23 | 1 | -3/+3 |
* | Refcator EventContext to accept state during init | Erik Johnston | 2018-07-23 | 1 | -42/+55 |
* | Make the rest of the .iterwhatever go away (#3562) | Amber Brown | 2018-07-21 | 1 | -3/+3 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -11/+11 |
* | fix idiotic typo in state res | Matthew Hodgson | 2018-06-11 | 1 | -2/+2 |
* | Consistently use six's iteritems and wrap lazy keys/values in list() if they'... | Amber Brown | 2018-05-31 | 1 | -1/+2 |
* | py3-ize state.py | Adrian Tschira | 2018-05-24 | 1 | -23/+25 |
* | Measure time it takes to calculate state group ID | Erik Johnston | 2018-03-28 | 1 | -27/+28 |
* | Fix s/iteriterms/itervalues | Erik Johnston | 2018-03-22 | 1 | -1/+1 |
* | Use .iter* to avoid copies in StateHandler | Erik Johnston | 2018-03-15 | 1 | -12/+12 |
* | Merge pull request #2864 from matrix-org/rav/persist_event_caching | Richard van der Hoff | 2018-02-13 | 1 | -4/+30 |
|\ |
|
| * | Add event_map param to resolve_state_groups | Richard van der Hoff | 2018-02-05 | 1 | -4/+30 |
* | | Store state groups separately from events (#2784) | Erik Johnston | 2018-02-06 | 1 | -7/+49 |
|/ |
|
* | Merge pull request #2842 from matrix-org/rav/state_resolution_handler | Richard van der Hoff | 2018-02-02 | 1 | -58/+103 |
|\ |
|
| * | Factor out resolve_state_groups to a separate handler | Richard van der Hoff | 2018-02-01 | 1 | -52/+97 |
| * | Rename resolve_state_groups -> resolve_state_groups_for_events | Richard van der Hoff | 2018-02-01 | 1 | -6/+6 |
* | | Merge pull request #2836 from matrix-org/rav/resolve_state_events_docstring | Richard van der Hoff | 2018-02-02 | 1 | -8/+28 |
|\ \
| |/
|/| |
|
| * | doc arg types for _seperate | Richard van der Hoff | 2018-02-01 | 1 | -0/+15 |
| * | More docstring fixes | Richard van der Hoff | 2018-02-01 | 1 | -4/+4 |
| * | Fix docstring for StateHandler.resolve_state_groups | Richard van der Hoff | 2018-02-01 | 1 | -4/+9 |
* | | docstring for get_current_state_ids | Richard van der Hoff | 2018-01-29 | 1 | -0/+13 |
* | | Remove unused "event_type" param on state.get_current_state_ids | Richard van der Hoff | 2018-01-29 | 1 | -6/+1 |
|/ |
|
* | Split resolve_events into two functions | Richard van der Hoff | 2018-01-17 | 1 | -18/+27 |
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
* | some comments in the state res code | Richard van der Hoff | 2017-10-05 | 1 | -0/+13 |
* | Define CACHE_SIZE_FACTOR once | Erik Johnston | 2017-07-04 | 1 | -4/+1 |
* | Change is_host_joined to use current_state table | Erik Johnston | 2017-06-09 | 1 | -11/+0 |
* | Ensure we don't use unpersisted state group as prev group | Erik Johnston | 2017-06-08 | 1 | -7/+6 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_fixup | Erik Johnston | 2017-06-07 | 1 | -0/+11 |
|\ |
|
| * | Handle the server leaving a public room | Erik Johnston | 2017-05-31 | 1 | -0/+11 |
* | | Remove spurious log lines | Erik Johnston | 2017-06-07 | 1 | -2/+0 |
* | | Handle None state group correctly | Erik Johnston | 2017-05-26 | 1 | -3/+3 |
* | | Faster cache for get_joined_hosts | Erik Johnston | 2017-05-25 | 1 | -8/+8 |
* | | Don't return weird prev_group | Erik Johnston | 2017-05-25 | 1 | -8/+13 |
* | | Remove unused options | Erik Johnston | 2017-05-25 | 1 | -11/+4 |
|/ |
|
* | Fix comment and num args | Erik Johnston | 2017-05-04 | 1 | -1/+1 |
* | Add cache for get_current_hosts_in_room | Erik Johnston | 2017-05-02 | 1 | -0/+11 |
* | Merge pull request #1849 from matrix-org/erikj/state_typo | Erik Johnston | 2017-03-29 | 1 | -3/+3 |
|\ |
|
| * | Fix bug where current_state_events renamed to current_state_ids | Erik Johnston | 2017-01-23 | 1 | -3/+3 |
* | | Refactoring and cleanups | Richard van der Hoff | 2017-03-17 | 1 | -8/+3 |
|/ |
|
* | Derive current_state_events from state groups | Erik Johnston | 2017-01-20 | 1 | -0/+3 |
* | Merge pull request #1822 from matrix-org/erikj/statE_logging | Erik Johnston | 2017-01-18 | 1 | -4/+4 |
|\ |
|
| * | Change resolve_state_groups call site logging to DEBUG | Erik Johnston | 2017-01-17 | 1 | -4/+4 |
* | | Merge pull request #1818 from matrix-org/erikj/state_auth_splitout_split | Erik Johnston | 2017-01-18 | 1 | -60/+165 |
|\ \
| |/
|/| |
|
| * | PEP8 | Erik Johnston | 2017-01-17 | 1 | -1/+1 |
| * | Only construct sets when necessary | Mark Haines | 2017-01-17 | 1 | -14/+19 |
| * | Use better names | Erik Johnston | 2017-01-17 | 1 | -9/+7 |
| * | Correctly handle case of rejected events in state res | Erik Johnston | 2017-01-17 | 1 | -10/+16 |
| * | Check event is in state_map | Erik Johnston | 2017-01-17 | 1 | -2/+7 |
| * | Optimise state resolution | Erik Johnston | 2017-01-17 | 1 | -59/+150 |
* | | Merge pull request #1812 from matrix-org/erikj/state_auth_splitout_split | Erik Johnston | 2017-01-17 | 1 | -138/+140 |
|\| |
|
| * | Put staticmethods at module level | Erik Johnston | 2017-01-16 | 1 | -123/+121 |
| * | Split out static state methods from StateHandler | Erik Johnston | 2017-01-13 | 1 | -70/+74 |
* | | Up cache max entries for state | Erik Johnston | 2017-01-16 | 1 | -1/+1 |
* | | Add support for 'iterable' to ExpiringCache | Erik Johnston | 2017-01-16 | 1 | -1/+5 |
|/ |
|
* | Name linearizer's for better logs | Erik Johnston | 2017-01-09 | 1 | -1/+1 |
* | move logging to right place | Matthew Hodgson | 2017-01-07 | 1 | -1/+1 |
* | Fix flake8 and update changelog v0.18.6-rc3 | Mark Haines | 2017-01-05 | 1 | -4/+4 |
* | add logging for all the places we call resolve_state_groups. my kingdom for a... | Matthew Hodgson | 2017-01-05 | 1 | -0/+4 |
* | Merge pull request #1121 from matrix-org/erikj/public_room_paginate | Erik Johnston | 2016-09-15 | 1 | -2/+3 |
|\ |
|
| * | Refactor public rooms to not pull out the full state for each room | Erik Johnston | 2016-09-14 | 1 | -2/+3 |
* | | Amalgamate two identical consecutive if statements | Erik Johnston | 2016-09-14 | 1 | -7/+5 |
* | | Ensure we don't mutate state cache entries | Erik Johnston | 2016-09-14 | 1 | -2/+4 |
|/ |
|
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_storage | Erik Johnston | 2016-09-02 | 1 | -71/+73 |
|\ |
|
| * | Linearize state resolution to help caches | Erik Johnston | 2016-09-01 | 1 | -56/+59 |
* | | Move to storing state_groups_state as deltas | Erik Johnston | 2016-09-01 | 1 | -2/+32 |
|/ |
|
* | Handle the fact that workers can't generate state groups | Erik Johnston | 2016-08-31 | 1 | -25/+56 |
* | Always specify state_group so that its in the cache | Erik Johnston | 2016-08-31 | 1 | -0/+2 |
* | Correctly handle the difference between prev and current state | Erik Johnston | 2016-08-31 | 1 | -8/+23 |
* | Generate state group ids in state layer | Erik Johnston | 2016-08-31 | 1 | -3/+6 |
* | Use state handler instead of get_users_in_room/get_joined_hosts | Erik Johnston | 2016-08-26 | 1 | -0/+9 |
* | Pull out full state less | Erik Johnston | 2016-08-25 | 1 | -4/+8 |
* | Replace context.current_state with context.current_state_ids | Erik Johnston | 2016-08-25 | 1 | -21/+27 |
* | Pull out event ids rather than full events for state | Erik Johnston | 2016-08-25 | 1 | -38/+61 |
* | Comment | Erik Johnston | 2016-07-15 | 1 | -0/+2 |
* | Check sender signed event | Erik Johnston | 2016-07-14 | 1 | -2/+2 |
* | Always use state cache entry if it exists | Erik Johnston | 2016-04-20 | 1 | -3/+10 |
* | Add some logging to state resolve_events | Erik Johnston | 2016-04-20 | 1 | -0/+5 |
* | Merge pull request #689 from matrix-org/erikj/member | Erik Johnston | 2016-04-04 | 1 | -3/+5 |
|\ |
|
| * | Do checks for memberships before creating events | Erik Johnston | 2016-04-01 | 1 | -3/+5 |
* | | Merge pull request #686 from matrix-org/markjh/doc_strings | Mark Haines | 2016-04-01 | 1 | -8/+11 |
|\ \
| |/
|/| |
|
| * | Use google style doc strings. | Mark Haines | 2016-04-01 | 1 | -8/+11 |
* | | Remove outlier parameter from compute_event_context | Mark Haines | 2016-03-31 | 1 | -2/+2 |
|/ |
|
* | Reduce cache size | Erik Johnston | 2016-03-23 | 1 | -1/+1 |
* | Key StateHandler._state_cache off of state groups | Erik Johnston | 2016-03-22 | 1 | -40/+21 |
* | Make StateHandler._state_cache only store event_ids. | Erik Johnston | 2016-03-22 | 1 | -7/+17 |
* | Measure StateHandler._resolve_events | Erik Johnston | 2016-03-22 | 1 | -38/+40 |
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Update some comments | Richard van der Hoff | 2015-11-13 | 1 | -4/+12 |
* | Fix an issue with ignoring power_level changes on divergent graphs | Richard van der Hoff | 2015-11-12 | 1 | -5/+11 |
* | synapse/state.py:_get_state_key_from_event was unused | Mark Haines | 2015-09-23 | 1 | -4/+0 |
* | Remove run_on_reactor | Erik Johnston | 2015-09-17 | 1 | -3/+0 |
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+1 |
* | Use dictionary cache to do group -> state fetching | Erik Johnston | 2015-08-05 | 1 | -5/+5 |
* | Merge pull request #180 from matrix-org/erikj/prev_state_context | Erik Johnston | 2015-06-03 | 1 | -4/+0 |
|\ |
|
| * | Don't needlessly compute prev_state | Erik Johnston | 2015-06-03 | 1 | -4/+0 |
* | | Comment | Erik Johnston | 2015-06-03 | 1 | -0/+3 |
* | | Don't needlessly compute context | Erik Johnston | 2015-06-03 | 1 | -2/+13 |
|/ |
|
* | Split a storage function in two so that we don't have to do extra work. | Erik Johnston | 2015-05-01 | 1 | -6/+1 |
* | Remove concept of context.auth_events, instead use context.current_state | Erik Johnston | 2015-03-16 | 1 | -17/+0 |
* | Make context.auth_events grap auth events from current state. Otherwise auth ... | Erik Johnston | 2015-03-16 | 1 | -17/+5 |
* | 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 resolu... | Erik Johnston | 2015-02-13 | 1 | -14/+29 |
* | 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 |
|\ |
|
| * | 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 context.... | Erik Johnston | 2015-02-04 | 1 | -2/+6 |
* | 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 |
|\ |
|
| * | 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 reject... | Erik Johnston | 2015-01-30 | 1 | -3/+5 |
|\| |
|
| * | 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 /query_... | Erik Johnston | 2015-01-30 | 1 | -4/+16 |
|/ |
|
* | 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 |
* | | Remove annotate_event_with_state as nothing was using it. Update state tests ... | Mark Haines | 2014-12-16 | 1 | -66/+0 |
|/ |
|
* | 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 tu... | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
* | 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 |
* | 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 federation... | Erik Johnston | 2014-10-27 | 1 | -4/+0 |
|\ |
|
| * | 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 fro... | Erik Johnston | 2014-09-12 | 1 | -11/+35 |
* | 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. Upda... | Erik Johnston | 2014-09-08 | 1 | -49/+43 |
* | 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 has... | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
* | 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 PDU... | Erik Johnston | 2014-08-15 | 1 | -2/+10 |
* | Fix pontenial bug in state resolution handler that compared dicts rather than... | Erik Johnston | 2014-08-15 | 1 | -1/+4 |
* | 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 |