Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #192 from matrix-org/erikj/fix_log_context | Erik Johnston | 2015-06-19 | 1 | -19/+33 |
|\ | | | | | Fix log context when sending requests | ||||
| * | Fix log context when sending requests | Erik Johnston | 2015-06-19 | 1 | -19/+33 |
| | | |||||
* | | Add comment on cancellation of observers | Erik Johnston | 2015-06-19 | 1 | -0/+3 |
| | | |||||
* | | Refactor the notifier.wait_for_events code to be clearer. Add ↵ | Erik Johnston | 2015-06-18 | 2 | -4/+17 |
|/ | | | | _NotifierUserStream.new_listener that accpets a token to avoid races. | ||||
* | Unused import | Erik Johnston | 2015-05-28 | 1 | -2/+0 |
| | |||||
* | Remove a deep copy | Erik Johnston | 2015-05-28 | 1 | -9/+1 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 1 | -1/+7 |
|\ | |||||
| * | Add a cache for get_current_state with state_key | Mark Haines | 2015-05-21 | 1 | -1/+7 |
| | | |||||
* | | Awful idea for speeding up fetching of events | Erik Johnston | 2015-05-14 | 1 | -4/+4 |
| | | |||||
* | | Refactor _get_events | Erik Johnston | 2015-05-14 | 1 | -0/+28 |
| | | |||||
* | | Merge pull request #143 from matrix-org/erikj/SYN-375 | Mark Haines | 2015-05-12 | 1 | -12/+48 |
|\ \ | | | | | | | SYN-375 - Lots of unhandled deferred exceptions. | ||||
| * | | Change the way we create observers to deferreds so that we don't get spammed ↵ | Erik Johnston | 2015-05-08 | 1 | -12/+48 |
| |/ | | | | | | | by 'unhandled errors' | ||||
* | | Make distributer.fire work as it did | Erik Johnston | 2015-05-12 | 1 | -20/+30 |
| | | |||||
* | | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 1 | -0/+6 |
| | | |||||
* | | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 3 | -26/+33 |
| | | |||||
* | | Add some docs | Erik Johnston | 2015-05-08 | 1 | -2/+14 |
| | | |||||
* | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 3 | -7/+38 |
|/ | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-27 | 1 | -0/+19 |
|\ | |||||
| * | Implement create_observer. | Erik Johnston | 2015-04-27 | 1 | -0/+19 |
| | | | | | | | | | | | | `create_observer` takes a deferred and create a new deferred that *observers* the original deferred. Any callbacks added to the observing deferred will *not* affect the origin deferred. | ||||
* | | Make LruCache thread safe, as its used for event cache | Erik Johnston | 2015-04-15 | 1 | -0/+20 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
|\| | |||||
| * | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
| |\ | |||||
| | * | SYN-338: Fix typo that caused the cache to throw an exception in some instances | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -0/+7 |
|\| | | |||||
| * | | Implement the 'key in dict' test for LruCache() | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -0/+7 |
| |/ | |||||
* / | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #109 from matrix-org/default_registration | Erik Johnston | 2015-03-18 | 1 | -0/+10 |
|\ | | | | | Disable registration by default. Add script to register new users. | ||||
| * | Implement registering with shared secret. | Erik Johnston | 2015-03-13 | 1 | -0/+10 |
| | | |||||
* | | Delete a couple of TODO markers of monitoring stats now done | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+0 |
|/ | |||||
* | Give LruCache a __len__, so that len(cache) works | Paul "LeoNerd" Evans | 2015-03-04 | 1 | -0/+7 |
| | |||||
* | Use contextlib.contextmanager instead of a custom class | Erik Johnston | 2015-03-02 | 1 | -22/+12 |
| | |||||
* | Move federation rate limiting out of transport layer | Erik Johnston | 2015-02-27 | 1 | -0/+226 |
| | |||||
* | Remove unused import | Erik Johnston | 2015-02-18 | 1 | -2/+0 |
| | |||||
* | Remove spurious comma. Remove temp run_on_reactor | Erik Johnston | 2015-02-18 | 1 | -2/+1 |
| | |||||
* | Temporarily add a run_on_reactor() call | Erik Johnston | 2015-02-18 | 1 | -0/+3 |
| | |||||
* | s/self._clock/self.clock/ | Erik Johnston | 2015-02-18 | 1 | -1/+1 |
| | |||||
* | Merge branch 'keyclient_retry_scheme' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-18 | 1 | -0/+153 |
|\ | | | | | | | develop | ||||
| * | More docs | Erik Johnston | 2015-02-18 | 1 | -1/+5 |
| | | |||||
| * | Docs. | Erik Johnston | 2015-02-18 | 1 | -1/+33 |
| | | |||||
| * | Try to only back off if we think we failed to connect to the remote | Erik Johnston | 2015-02-17 | 1 | -2/+8 |
| | | |||||
| * | Only update destination_retry_timings if we have succeeded when retrying | Erik Johnston | 2015-02-17 | 1 | -0/+3 |
| | | |||||
| * | Remove spurious self | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
| * | Add per server retry limiting. | Erik Johnston | 2015-02-17 | 1 | -0/+108 |
| | | | | | | | | | | Factor out the pre destination retry logic from TransactionQueue so it can be reused in both get_pdu and crypto.keyring | ||||
* | | Merge pull request #77 from matrix-org/failures | Erik Johnston | 2015-02-18 | 1 | -2/+0 |
|\ \ | | | | | | | Failures | ||||
| * | | Consume errors in time_bound_deferred | Erik Johnston | 2015-02-17 | 1 | -2/+0 |
| |/ | |||||
* | | Fix typo in function name | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
* | | ExpiringCache: purge every 1/2 interval | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
* | | Factor out ExpiringCache from StateHandler | Erik Johnston | 2015-02-16 | 1 | -0/+115 |
|/ | |||||
* | Merge pull request #61 from matrix-org/timeout-federation-requests | Erik Johnston | 2015-02-11 | 1 | -1/+54 |
|\ | | | | | Timeout federation requests | ||||
| * | Fix so timing out connections to actually work. | Erik Johnston | 2015-02-11 | 1 | -9/+43 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-11 | 1 | -0/+110 |
| |\ | | | | | | | | | | timeout-federation-requests | ||||
| * \ | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-11 | 1 | -1/+9 |
| |\ \ | | | | | | | | | | | | | timeout-federation-requests | ||||
| * | | | Move time_bound_deferred into Clock | Erik Johnston | 2015-02-11 | 2 | -21/+20 |
| | | | | |||||
| * | | | Time out HTTP federation requests | Erik Johnston | 2015-02-10 | 1 | -0/+20 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into use-simplejson | Erik Johnston | 2015-02-11 | 1 | -0/+110 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Add a lru cache class | Mark Haines | 2015-02-11 | 1 | -0/+110 |
| | |/ | |/| | |||||
* / | | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 1 | -2/+6 |
|/ / | | | | | | | JSONEncoder that understands FrozenDict | ||||
* / | Add looping_call to Clock | Erik Johnston | 2015-02-09 | 1 | -1/+9 |
|/ | |||||
* | Optimize FrozenEvent creation | Erik Johnston | 2015-01-06 | 1 | -2/+3 |
| | |||||
* | Fix typo where we used wrong var. | Erik Johnston | 2015-01-06 | 1 | -2/+2 |
| | |||||
* | Time how long calls to _get_destination_retry_timings take | Erik Johnston | 2015-01-06 | 1 | -12/+61 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 10 | -9/+23 |
| | |||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -1/+1 |
| | | | | from a remote server if we are missing some of them | ||||
* | Replace distributor deferred list, with a simple for loop until I understand ↵ | Mark Haines | 2014-12-18 | 1 | -6/+6 |
| | | | | why the former breaks and the latter doesn't | ||||
* | Fix pyflakes | Erik Johnston | 2014-12-16 | 1 | -2/+0 |
| | |||||
* | Remove FrozenEncoder | Erik Johnston | 2014-12-16 | 1 | -8/+0 |
| | |||||
* | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | Add forgotten file | Erik Johnston | 2014-12-08 | 1 | -0/+56 |
| | |||||
* | Drop log level for incorrect logging contexts to WARN if the context is ↵ | Mark Haines | 2014-11-25 | 1 | -5/+8 |
| | | | | wrong and DEBUG if the context is missing | ||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 2 | -0/+3 |
| | |||||
* | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 1 | -1/+3 |
| | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -19/+24 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Sometimes there isn't a current logging context | Mark Haines | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Preserve logging context in a few more places, drop the logging context ↵ | Mark Haines | 2014-11-19 | 2 | -1/+10 |
| | | | | after it has been stashed to reduce potential for confusion | ||||
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 2 | -1/+7 |
|\ | | | | | | | | | | | | | Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py | ||||
| * | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -1/+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. | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-30 | 3 | -5/+7 |
| |\ | | | | | | | | | | federation_authorization | ||||
| * | | Add a run_on_reactor function | Erik Johnston | 2014-10-29 | 1 | -0/+7 |
| | | | |||||
* | | | Merge branch 'develop' into request_logging | Mark Haines | 2014-10-30 | 3 | -5/+7 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: synapse/config/logger.py | ||||
| * | | Fix pep8 warnings | Mark Haines | 2014-10-30 | 3 | -5/+7 |
| |/ | |||||
* | | Pep8 and a few doc strings | Mark Haines | 2014-10-30 | 1 | -14/+37 |
| | | |||||
* | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 3 | -1/+90 |
|/ | |||||
* | Added support for the HS to send emails. Use it to send password resets. ↵ | Kegan Dougal | 2014-09-16 | 1 | -0/+71 |
| | | | | Added email_smtp_server and email_from_address config args. Added emailutils. | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 7 | -7/+7 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Allow optional non-suppression of exceptions through the Distributor | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -4/+13 |
| | |||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -1/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into presence_logging | Erik Johnston | 2014-08-28 | 1 | -0/+2 |
|\ | | | | | | | | | Conflicts: synapse/handlers/presence.py | ||||
| * | use @wraps to set the __name__ __module__ and __doc__ correctly for logged ↵ | Mark Haines | 2014-08-28 | 1 | -0/+2 |
| | | | | | | | | functions | ||||
* | | Add logging to try and figure out what is going on with the presence stuff | Erik Johnston | 2014-08-28 | 1 | -0/+53 |
|/ | |||||
* | Put some DEBUG logging in lockutils.py so we can debug roomlocks | Paul "LeoNerd" Evans | 2014-08-14 | 1 | -3/+9 |
| | |||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 7 | -0/+7 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 7 | -0/+424 |