summary refs log tree commit diff
path: root/synapse/util (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make LRU cache not default to treecache & add options to use itDavid Baker2016-01-222-10/+19
* Add __contains__David Baker2016-01-221-0/+3
* Docs for treecacheDavid Baker2016-01-221-0/+5
* Add invalidate_many here tooDavid Baker2016-01-221-0/+1
* peppateDavid Baker2016-01-211-2/+2
* Change LRUCache to be tree-based so we can delete subtrees.David Baker2016-01-214-14/+102
* copyrightsMatthew Hodgson2016-01-0717-17/+17
* Add some docstring explaining the snapshot cache doesMark Haines2015-12-231-1/+23
* Add a unit test for the snapshot cacheMark Haines2015-12-231-2/+2
* Add a cache for initialSync responses that expires after 5 minutesMark Haines2015-12-221-0/+71
* Track the time spent in the database per request.Mark Haines2015-12-071-0/+9
* Add a setter for the current log context.Mark Haines2015-12-071-16/+24
* Add comments to explain why we are hardcoding RUSAGE_THREADMark Haines2015-12-041-0/+8
* Fix warningsMark Haines2015-12-041-2/+2
* Track the cpu used in the main thread by each logging contextMark Haines2015-12-033-10/+72
* Run the background updates when starting synapse.Mark Haines2015-11-101-0/+8
* Exchange 3pid invites for m.room.member invitesDaniel Wagner-Hall2015-11-051-69/+0
* Merge pull request #340 from matrix-org/erikj/server_retriesErik Johnston2015-11-051-2/+5
|\
| * Retry dead servers a lot less oftenErik Johnston2015-11-021-2/+5
* | Remove the LockManager class because it wasn't being usedMark Haines2015-11-041-74/+0
|/
* Merge pull request #312 from matrix-org/daniel/3pidinvitesDaniel Wagner-Hall2015-10-191-1/+1
|\
| * Stuff signed data in a standalone objectDaniel Wagner-Hall2015-10-161-1/+1
* | Merge pull request #306 from matrix-org/markjh/unused_methodsMark Haines2015-10-161-71/+0
|\ \ | |/ |/|
| * synapse.util.emailutils was unusedMark Haines2015-10-151-71/+0
* | Add signing host and keyname to signaturesDaniel Wagner-Hall2015-10-161-1/+1
* | Verify third party ID server certificatesDaniel Wagner-Hall2015-10-161-3/+3
* | Look for keys on the right objectsDaniel Wagner-Hall2015-10-151-1/+1
* | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-151-0/+72
|\|
| * Fix pep8 warnings.Mark Haines2015-10-131-8/+12
| * Bounce all deferreds through the reactor to make debugging easier.Mark Haines2015-10-131-0/+68
* | Use more descriptive error codeDaniel Wagner-Hall2015-10-131-1/+1
* | Remove unnecessary class-wrappingDaniel Wagner-Hall2015-10-132-68/+69
* | Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-131-2/+8
* | Implement third party identifier invitesDaniel Wagner-Hall2015-10-011-0/+62
|/
* synapse/util/__init__.py:unwrap_deferred was unusedMark Haines2015-09-221-28/+0
* Allow non-ascii filenames for attachmentsMark Haines2015-08-261-0/+2
* Don't assume @cachedList function returns keys for everythingErik Johnston2015-08-181-1/+1
* DocstringErik Johnston2015-08-121-0/+27
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dictionary...Erik Johnston2015-08-121-1/+3
|\
* | Wire up the dictionarycache to the metricsErik Johnston2015-08-123-45/+41
* | Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-115-1/+374
* | CommentsErik Johnston2015-08-101-0/+3
* | Merge branch 'erikj/cache_deferreds' into erikj/dictionary_cacheErik Johnston2015-08-061-2/+7
|\|
| * Make @cached cache deferreds rather than the deferreds' valuesErik Johnston2015-08-061-2/+7
* | Use dictionary cache to do group -> state fetchingErik Johnston2015-08-051-23/+35
* | Move DictionaryCacheErik Johnston2015-08-041-0/+94
|/
* Enforce ascii filenames for uploadsErik Johnston2015-06-301-0/+9
* Merge pull request #192 from matrix-org/erikj/fix_log_contextErik Johnston2015-06-191-19/+33
|\
| * Fix log context when sending requestsErik Johnston2015-06-191-19/+33
* | Add comment on cancellation of observersErik Johnston2015-06-191-0/+3
* | Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserSt...Erik Johnston2015-06-182-4/+17
|/
* Unused importErik Johnston2015-05-281-2/+0
* Remove a deep copyErik Johnston2015-05-281-9/+1
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-1/+7
|\
| * Add a cache for get_current_state with state_keyMark Haines2015-05-211-1/+7
* | Awful idea for speeding up fetching of eventsErik Johnston2015-05-141-4/+4
* | Refactor _get_eventsErik Johnston2015-05-141-0/+28
* | Merge pull request #143 from matrix-org/erikj/SYN-375Mark Haines2015-05-121-12/+48
|\ \
| * | Change the way we create observers to deferreds so that we don't get spammed ...Erik Johnston2015-05-081-12/+48
| |/
* | Make distributer.fire work as it didErik Johnston2015-05-121-20/+30
* | Unwrap defer.gatherResults failuresErik Johnston2015-05-121-0/+6
* | Fix up leak. Add warnings.Erik Johnston2015-05-083-26/+33
* | Add some docsErik Johnston2015-05-081-2/+14
* | Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-083-7/+38
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-271-0/+19
|\
| * Implement create_observer.Erik Johnston2015-04-271-0/+19
* | Make LruCache thread safe, as its used for event cacheErik Johnston2015-04-151-0/+20
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-081-1/+1
|\|
| * Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-04-081-1/+1
| |\
| | * SYN-338: Fix typo that caused the cache to throw an exception in some instancesErik Johnston2015-04-081-1/+1
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-071-0/+7
|\| |
| * | Implement the 'key in dict' test for LruCache()Paul "LeoNerd" Evans2015-03-251-0/+7
| |/
* / Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-1/+1
|/
* Merge pull request #109 from matrix-org/default_registrationErik Johnston2015-03-181-0/+10
|\
| * Implement registering with shared secret.Erik Johnston2015-03-131-0/+10
* | Delete a couple of TODO markers of monitoring stats now donePaul "LeoNerd" Evans2015-03-121-1/+0
|/
* 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 d...Erik Johnston2015-02-181-0/+153
|\
| * 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
* | Merge pull request #77 from matrix-org/failuresErik Johnston2015-02-181-2/+0
|\ \
| * | 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
|\
| * Fix so timing out connections to actually work.Erik Johnston2015-02-111-9/+43
| * Merge branch 'develop' of github.com:matrix-org/synapse into timeout-federati...Erik Johnston2015-02-111-0/+110
| |\
| * \ Merge branch 'develop' of github.com:matrix-org/synapse into timeout-federati...Erik Johnston2015-02-111-1/+9
| |\ \
| * | | 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 JSONEncoder...Erik Johnston2015-02-111-2/+6
|/ /
* / 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 fr...Mark Haines2014-12-181-1/+1
* Replace distributor deferred list, with a simple for loop until I understand ...Mark Haines2014-12-181-6/+6
* 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 wrong...Mark Haines2014-11-251-5/+8
* Fix pep8 codestyle warningsMark Haines2014-11-202-0/+3
* Use module loggers rather than the root logger. Exceptions caused by bad clie...Mark Haines2014-11-201-1/+3
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext b...Mark Haines2014-11-201-19/+24
* 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 after...Mark Haines2014-11-192-1/+10
* Merge branch 'develop' into request_loggingMark Haines2014-11-142-1/+7
|\
| * Implement new replace_state and changed prev_stateErik Johnston2014-11-061-1/+1
| * Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-303-5/+7
| |\
| * | Add a run_on_reactor functionErik Johnston2014-10-291-0/+7
* | | Merge branch 'develop' into request_loggingMark Haines2014-10-303-5/+7
|\ \ \ | | |/ | |/|
| * | 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. Adde...Kegan Dougal2014-09-161-0/+71
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-037-7/+7
* 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
|\
| * use @wraps to set the __name__ __module__ and __doc__ correctly for logged fu...Mark Haines2014-08-281-0/+2
* | 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