summary refs log tree commit diff
path: root/synapse/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement registering with shared secret.Erik Johnston2015-03-131-0/+10
|
* Give LruCache a __len__, so that len(cache) worksPaul "LeoNerd" Evans2015-03-041-0/+7
|
* Use contextlib.contextmanager instead of a custom classErik Johnston2015-03-021-22/+12
|
* Move federation rate limiting out of transport layerErik Johnston2015-02-271-0/+226
|
* Remove unused importErik Johnston2015-02-181-2/+0
|
* Remove spurious comma. Remove temp run_on_reactorErik Johnston2015-02-181-2/+1
|
* Temporarily add a run_on_reactor() callErik Johnston2015-02-181-0/+3
|
* s/self._clock/self.clock/Erik Johnston2015-02-181-1/+1
|
* Merge branch 'keyclient_retry_scheme' of github.com:matrix-org/synapse into ↵Erik Johnston2015-02-181-0/+153
|\ | | | | | | develop
| * More docsErik Johnston2015-02-181-1/+5
| |
| * Docs.Erik Johnston2015-02-181-1/+33
| |
| * Try to only back off if we think we failed to connect to the remoteErik Johnston2015-02-171-2/+8
| |
| * Only update destination_retry_timings if we have succeeded when retryingErik Johnston2015-02-171-0/+3
| |
| * Remove spurious selfErik Johnston2015-02-171-1/+1
| |
| * Add per server retry limiting.Erik Johnston2015-02-171-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/failuresErik Johnston2015-02-181-2/+0
|\ \ | | | | | | Failures
| * | Consume errors in time_bound_deferredErik Johnston2015-02-171-2/+0
| |/
* | Fix typo in function nameErik Johnston2015-02-171-1/+1
| |
* | ExpiringCache: purge every 1/2 intervalErik Johnston2015-02-171-1/+1
| |
* | Factor out ExpiringCache from StateHandlerErik Johnston2015-02-161-0/+115
|/
* Merge pull request #61 from matrix-org/timeout-federation-requestsErik Johnston2015-02-111-1/+54
|\ | | | | Timeout federation requests
| * Fix so timing out connections to actually work.Erik Johnston2015-02-111-9/+43
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-02-111-0/+110
| |\ | | | | | | | | | timeout-federation-requests
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-02-111-1/+9
| |\ \ | | | | | | | | | | | | timeout-federation-requests
| * | | Move time_bound_deferred into ClockErik Johnston2015-02-112-21/+20
| | | |
| * | | Time out HTTP federation requestsErik Johnston2015-02-101-0/+20
| | | |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into use-simplejsonErik Johnston2015-02-111-0/+110
|\ \ \ \ | | |_|/ | |/| |
| * | | Add a lru cache classMark Haines2015-02-111-0/+110
| | |/ | |/|
* / | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵Erik Johnston2015-02-111-2/+6
|/ / | | | | | | JSONEncoder that understands FrozenDict
* / Add looping_call to ClockErik Johnston2015-02-091-1/+9
|/
* Optimize FrozenEvent creationErik Johnston2015-01-061-2/+3
|
* Fix typo where we used wrong var.Erik Johnston2015-01-061-2/+2
|
* Time how long calls to _get_destination_retry_timings takeErik Johnston2015-01-061-12/+61
|
* Update copyright noticesMark Haines2015-01-0610-9/+23
|
* Supply auth_chain along with current state in '/state/', fetch auth events ↵Mark Haines2014-12-181-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 Haines2014-12-181-6/+6
| | | | why the former breaks and the latter doesn't
* Fix pyflakesErik Johnston2014-12-161-2/+0
|
* Remove FrozenEncoderErik Johnston2014-12-161-8/+0
|
* Add PEP8 newlinesErik Johnston2014-12-091-1/+1
|
* Add forgotten fileErik Johnston2014-12-081-0/+56
|
* Drop log level for incorrect logging contexts to WARN if the context is ↵Mark Haines2014-11-251-5/+8
| | | | wrong and DEBUG if the context is missing
* Fix pep8 codestyle warningsMark Haines2014-11-202-0/+3
|
* Use module loggers rather than the root logger. Exceptions caused by bad ↵Mark Haines2014-11-201-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 Haines2014-11-201-19/+24
| | | | because they don't interact well with the logging contexts
* Sometimes there isn't a current logging contextMark Haines2014-11-191-1/+1
|
* Preserve logging context in a few more places, drop the logging context ↵Mark Haines2014-11-192-1/+10
| | | | after it has been stashed to reduce potential for confusion
* Merge branch 'develop' into request_loggingMark Haines2014-11-142-1/+7
|\ | | | | | | | | | | | | Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py
| * Implement new replace_state and changed prev_stateErik Johnston2014-11-061-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 Johnston2014-10-303-5/+7
| |\ | | | | | | | | | federation_authorization
| * | Add a run_on_reactor functionErik Johnston2014-10-291-0/+7
| | |
* | | Merge branch 'develop' into request_loggingMark Haines2014-10-303-5/+7
|\ \ \ | | |/ | |/| | | | | | | Conflicts: synapse/config/logger.py
| * | Fix pep8 warningsMark Haines2014-10-303-5/+7
| |/
* | Pep8 and a few doc stringsMark Haines2014-10-301-14/+37
| |
* | Add a request-id to each log lineMark Haines2014-10-303-1/+90
|/
* Added support for the HS to send emails. Use it to send password resets. ↵Kegan Dougal2014-09-161-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 Hodgson2014-09-037-7/+7
| | | | hasn't been incorporated in time for launch.
* Allow optional non-suppression of exceptions through the DistributorPaul "LeoNerd" Evans2014-09-031-4/+13
|
* Add copyright notices and fix pyflakes errorsMark Haines2014-09-031-1/+0
|
* Merge branch 'develop' of github.com:matrix-org/synapse into presence_loggingErik Johnston2014-08-281-0/+2
|\ | | | | | | | | Conflicts: synapse/handlers/presence.py
| * use @wraps to set the __name__ __module__ and __doc__ correctly for logged ↵Mark Haines2014-08-281-0/+2
| | | | | | | | functions
* | Add logging to try and figure out what is going on with the presence stuffErik Johnston2014-08-281-0/+53
|/
* Put some DEBUG logging in lockutils.py so we can debug roomlocksPaul "LeoNerd" Evans2014-08-141-3/+9
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-137-0/+7
|
* Reference Matrix Home Servermatrix.org2014-08-127-0/+424