Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-05-08 | Bump version and changelog v0.21.0-rc1 | Erik Johnston | 2 | -1/+50 | |
2017-05-05 | Remember how twisted works | Kegan Dougal | 1 | -2/+2 | |
2017-05-05 | Include the clock | Kegan Dougal | 1 | -0/+1 | |
2017-05-05 | Rewrite SimpleHttpClient.request to include timeouts | Kegan Dougal | 1 | -13/+19 | |
Fixes #2191 | |||||
2017-05-05 | Fixes | Erik Johnston | 1 | -3/+4 | |
2017-05-04 | Revert "Prefill state caches" | Erik Johnston | 3 | -27/+9 | |
2017-05-04 | Add comment | Erik Johnston | 1 | -0/+3 | |
2017-05-04 | Intern host strings | Erik Johnston | 1 | -1/+2 | |
2017-05-04 | Make caches bigger | Erik Johnston | 1 | -1/+1 | |
2017-05-04 | Fix comment and num args | Erik Johnston | 2 | -2/+2 | |
2017-05-04 | Add new storage functions to slave store | Erik Johnston | 1 | -0/+3 | |
2017-05-04 | Optimise caches with single key | Erik Johnston | 1 | -9/+33 | |
2017-05-04 | Reduce size of get_users_in_room | Erik Johnston | 1 | -2/+2 | |
2017-05-03 | Appease the flake8 gods | Luke Barnard | 1 | -5/+10 | |
2017-05-03 | Make get_joined_users faster | Erik Johnston | 1 | -16/+38 | |
2017-05-03 | Implement username availability checker | Luke Barnard | 1 | -0/+36 | |
Outlined here: https://github.com/vector-im/riot-web/issues/3605#issuecomment-298679388 ```HTTP GET /_matrix/.../register/available { "username": "desiredlocalpart123" } ``` If available, the response looks like ```HTTP HTTP/1.1 200 OK { "available": true } ``` Otherwise, ```HTTP HTTP/1.1 429 { "errcode": "M_LIMIT_EXCEEDED", "error": "Too Many Requests", "retry_after_ms": 2000 } ``` or ```HTTP HTTP/1.1 400 { "errcode": "M_USER_IN_USE", "error": "User ID already taken." } ``` or ```HTTP HTTP/1.1 400 { "errcode": "M_INVALID_USERNAME", "error": "Some reason for username being invalid" } ``` | |||||
2017-05-03 | No need for the exception variable | David Baker | 1 | -1/+1 | |
2017-05-03 | List caught expection types | David Baker | 1 | -1/+1 | |
2017-05-03 | Merge together redundant calculations/logging | Erik Johnston | 1 | -9/+2 | |
2017-05-03 | Update comment | Erik Johnston | 1 | -1/+2 | |
2017-05-03 | Comments | Erik Johnston | 2 | -3/+6 | |
2017-05-02 | Add more granular event send metrics | Erik Johnston | 7 | -5/+32 | |
2017-05-02 | Instantiate DeferredTimedOutError correctly | Richard van der Hoff | 1 | -1/+1 | |
Call `super` correctly, so that we correctly initialise the `errcode` field. Fixes https://github.com/matrix-org/synapse/issues/2179. | |||||
2017-05-02 | Prefill state caches | Erik Johnston | 3 | -6/+18 | |
2017-05-02 | Add cache for get_current_hosts_in_room | Erik Johnston | 3 | -5/+50 | |
2017-04-28 | Fixup | Erik Johnston | 1 | -10/+4 | |
2017-04-28 | Remove unncessary call in _get_missing_events_for_pdu | Erik Johnston | 1 | -13/+11 | |
2017-04-28 | Don't fetch state for missing events that we fetched | Erik Johnston | 1 | -0/+6 | |
2017-04-28 | Remove unused import | Erik Johnston | 1 | -1/+0 | |
2017-04-28 | We don't care about forgotten rooms | Erik Johnston | 1 | -12/+0 | |
2017-04-28 | Speed up filtering of a single event in push | Erik Johnston | 4 | -40/+37 | |
2017-04-27 | Comment and remove spurious logging | Erik Johnston | 2 | -1/+3 | |
2017-04-27 | Fix bgupdate error if index already exists (#2167) | Richard van der Hoff | 1 | -30/+53 | |
When creating a new table index in the background, guard against it existing already. Fixes https://github.com/matrix-org/synapse/issues/2135. Also, make sure we restore the autocommit flag when we're done, otherwise we get more failures from other operations later on. Fixes https://github.com/matrix-org/synapse/issues/1890 (hopefully). | |||||
2017-04-27 | Typo | Erik Johnston | 1 | -1/+1 | |
2017-04-27 | Add some extra logging for edge cases of federation | Erik Johnston | 1 | -2/+22 | |
2017-04-26 | Fix tests | Erik Johnston | 1 | -3/+3 | |
2017-04-26 | Fix invite state to always include all events | Erik Johnston | 3 | -7/+24 | |
2017-04-26 | Remove debugging | David Baker | 1 | -2/+1 | |
2017-04-26 | Revert accidental commit | David Baker | 1 | -4/+4 | |
2017-04-26 | Fix get_json | David Baker | 1 | -5/+4 | |
2017-04-25 | Use CodeMessageException subclass instead | David Baker | 4 | -61/+51 | |
Parse json errors from get_json client methods and throw special errors. | |||||
2017-04-25 | document how to make IPv6 work (#2088) | Matthew Hodgson | 1 | -0/+19 | |
* document how to make IPv6 work * spell out that pip will install 17.1 by default | |||||
2017-04-25 | Make state caches cache in ascii | Erik Johnston | 1 | -2/+3 | |
2017-04-25 | fix up | Erik Johnston | 1 | -1/+2 | |
2017-04-25 | Don't specify default as dict | Erik Johnston | 1 | -1/+1 | |
2017-04-25 | Comment | Erik Johnston | 1 | -0/+2 | |
2017-04-25 | Reduce size of joined_user cache | Erik Johnston | 4 | -11/+40 | |
The _get_joined_users_from_context cache stores a mapping from user_id to avatar_url and display_name. Instead of storing those in a dict, store them in a namedtuple as that uses much less memory. We also try converting the string to ascii to further reduce the size. | |||||
2017-04-25 | Reduce _get_state_group_for_event cache size | Erik Johnston | 1 | -1/+1 | |
2017-04-25 | Remove DEBUG_CACHES | Erik Johnston | 1 | -2/+0 | |
2017-04-25 | Reduce cache size by not storing deferreds | Erik Johnston | 2 | -22/+28 | |
Currently the cache descriptors store deferreds rather than raw values, this is a simple way of triggering only one database hit and sharing the result if two callers attempt to get the same value. However, there are a few caches that simply store a mapping from string to string (or int). These caches can have a large number of entries, under the assumption that each entry is small. However, the size of a deferred (specifically the size of ObservableDeferred) is signigicantly larger than that of the raw value, 2kb vs 32b. This PR therefore changes the cache descriptors to store the raw values rather than the deferreds. As a side effect cached storage function now either return a deferred or the actual value, as the cached list decriptor already does. This is fine as we always end up just yield'ing on the returned value eventually, which handles that case correctly. | |||||
2017-04-24 | Fix code for reporting old verify keys in synapse | Mark Haines | 1 | -3/+2 | |
2017-04-24 | Only intern ascii strings | Erik Johnston | 1 | -18/+11 | |
2017-04-24 | Remove unused cache | Erik Johnston | 2 | -9/+1 | |
2017-04-21 | Need the HTTP status code | David Baker | 1 | -5/+5 | |
2017-04-21 | Do the same for get_json | David Baker | 1 | -8/+21 | |
2017-04-21 | clarify metric setup to use 'scrape_configs' section of yaml and use an ↵ | Sean Enck | 1 | -3/+2 | |
array for t |