summary refs log tree commit diff
path: root/tests/handlers (unfollow)
Commit message (Expand)AuthorFilesLines
2015-02-23Pull the _get_event_cache.setdefault() call out of the try block, as it doesn...Paul "LeoNerd" Evans1-1/+2
2015-02-23Use the @cached decorator to implement the destination_retry_timings cachePaul "LeoNerd" Evans1-9/+5
2015-02-23RoomMemberStore no longer needs a _user_rooms_cache memberPaul "LeoNerd" Evans1-5/+0
2015-02-23Allow @cached-wrapped functions to have a prefill method for setting entriesPaul "LeoNerd" Evans2-8/+29
2015-02-23Squash out the now-redundant ApplicationServicesCache object classPaul "LeoNerd" Evans1-20/+8
2015-02-20Change version schemeErik Johnston1-1/+1
2015-02-20Bump versionErik Johnston1-1/+1
2015-02-20Add missing comma so that it generates a dict and not a setErik Johnston1-1/+1
2015-02-20Always allow AS to registerErik Johnston1-3/+5
2015-02-19Remove a TODO notePaul "LeoNerd" Evans1-1/+0
2015-02-19Take named arguments to @cached() decorator, add a 'max_entries' limitPaul "LeoNerd" Evans3-16/+114
2015-02-19Move @cached decorator out into synapse.storage._base; add minimal docsPaul "LeoNerd" Evans2-27/+36
2015-02-19Pull out the 'get_rooms_for_user' cache logic into a reüsable @cached decoratorPaul "LeoNerd" Evans1-24/+29
2015-02-19Update testsErik Johnston2-0/+2
2015-02-19Disable registration if config option was set.Erik Johnston1-0/+4
2015-02-19Add config option to disable registration.Erik Johnston2-1/+35
2015-02-19Update CHANGES.rst with missing changes v0.7.1Erik Johnston1-0/+9
2015-02-19Update release dateErik Johnston1-1/+1
2015-02-19Send room ID in http notifications so clients know which room to go to if the...David Baker1-0/+1
2015-02-18Update CHANGESErik Johnston1-0/+11
2015-02-18Conform to header spec take twoErik Johnston1-1/+1
2015-02-18Make /keys/ return correct Server versionErik Johnston1-1/+5
2015-02-18Make version_string conform to User-Agent and Server specErik Johnston1-1/+1
2015-02-18Bump matrix-angular-sdk versionErik Johnston1-3/+3
2015-02-18pyflakesErik Johnston1-1/+0
2015-02-18Use git aware version string in User-Agent and Server headersErik Johnston5-36/+33
2015-02-18When computing git version run git commands in same dir as source filesErik Johnston1-0/+5
2015-02-18Generate a version string that includes git details if run from git checkoutErik Johnston1-1/+61
2015-02-18Add errback to all deferreds in transaction_queueErik Johnston1-14/+23
2015-02-18Remove unused importErik Johnston1-2/+0
2015-02-18SYN-282: Don't log tracebacks for client errorsMark Haines1-1/+1
2015-02-18Restrict the destinations that synapse can talk toMark Haines1-3/+27
2015-02-18Discard destination 'localhost'Erik Johnston1-2/+2
2015-02-18Don't send failure to selfErik Johnston1-0/+3
2015-02-18Remove spurious comma. Remove temp run_on_reactorErik Johnston1-2/+1
2015-02-18Temporarily add a run_on_reactor() callErik Johnston1-0/+3
2015-02-18Fix syntaxMark Haines1-1/+1
2015-02-18Move pynacl to the top of the depedency link list so that it isMark Haines1-5/+5
2015-02-18Don't convert DNSLookupError to a 4xx SynapseErrorErik Johnston1-1/+1
2015-02-18Bump versionErik Johnston1-1/+1
2015-02-18Add .__name__ after type(e)Erik Johnston1-2/+2
2015-02-18Fix up ResponseNeverReceived to strErik Johnston1-9/+11
2015-02-18Fix pyflakesErik Johnston1-1/+0
2015-02-18strings.join() expects iterable of stringsErik Johnston1-1/+1
2015-02-18s/self._clock/self.clock/Erik Johnston1-1/+1
2015-02-18Rename _fail_fetch_pdu_cache to _get_pdu_cacheErik Johnston2-9/+9
2015-02-18More docsErik Johnston1-1/+5
2015-02-18Docs.Erik Johnston1-1/+33
2015-02-17Try to only back off if we think we failed to connect to the remoteErik Johnston3-89/+95
2015-02-17Only update destination_retry_timings if we have succeeded when retryingErik Johnston1-0/+3
2015-02-17Remove spurious selfErik Johnston1-1/+1
2015-02-17Use absolute path when loading delta sql filesErik Johnston1-1/+2
2015-02-17Add per server retry limiting.Erik Johnston4-122/+205
2015-02-17Rate limit retries when fetching server keys.Erik Johnston1-55/+71
2015-02-17Bump schema versionErik Johnston2-1/+1
2015-02-17Fix typo in function nameErik Johnston1-1/+1
2015-02-17ExpiringCache: purge every 1/2 intervalErik Johnston1-1/+1
2015-02-17Start the get_pdu cacheErik Johnston1-0/+1
2015-02-17Remove debug raiseErik Johnston1-7/+0
2015-02-17Remove unused importErik Johnston1-1/+0
2015-02-17Consume errors in time_bound_deferredErik Johnston1-2/+0
2015-02-17Make matrixfederationclient log more nicelyErik Johnston1-11/+12
2015-02-17Format the response of transaction request in a nicer wayErik Johnston2-6/+35
2015-02-17Actually respond with JSON to incoming transactionErik Johnston1-0/+2
2015-02-17Change some debug logging to infoErik Johnston1-2/+4
2015-02-17Handle recieving failures in transactionsErik Johnston1-1/+12
2015-02-17We do want to consumeErrorErik Johnston1-1/+1
2015-02-17Don't write bytecodeErik Johnston2-2/+4
2015-02-17Use consumeErrors=True on all DeferredLists.Erik Johnston5-9/+11
2015-02-16Cache results of get_pdu.Erik Johnston1-3/+39
2015-02-16Factor out ExpiringCache from StateHandlerErik Johnston2-37/+124
2015-02-16Mark old events as outliers.Erik Johnston1-1/+7
2015-02-16Don't return anything from _handle_new_pdu, since we ignore the return value ...Erik Johnston1-4/+1
2015-02-16Fix contrib/graph/graph2.py to handle FrozenDictErik Johnston1-1/+2
2015-02-15Bump versionErik Johnston1-1/+1
2015-02-15resolve_events expect lists, not dictsErik Johnston1-1/+1
2015-02-14we federate on port 8448 nowadays...Matthew Hodgson1-1/+1
2015-02-13Bump versionErik Johnston1-1/+1
2015-02-13Update pushers by app id and pushkey, not user id and pushkeyDavid Baker2-12/+12
2015-02-13Bump version v0.7.0dErik Johnston1-1/+1
2015-02-13Fix wrong variable nameErik Johnston1-1/+1
2015-02-13Prepare the database whenever a connection is opened from the db_pool so that...Mark Haines2-10/+7
2015-02-13Bump versionErik Johnston1-1/+1
2015-02-13pyflakesErik Johnston1-1/+1
2015-02-13When we see a difference in current state, actually use state conflict resolu...Erik Johnston2-14/+63
2015-02-13Bump version v0.7.0bErik Johnston1-1/+1
2015-02-12Reindent code to be less human-readable to keep pep8 from complainingPaul "LeoNerd" Evans1-1/+1
2015-02-12Only attempt to fetch presence state of JOINed members in room initialSync (S...Paul "LeoNerd" Evans1-0/+1
2015-02-12Fix loggingErik Johnston1-1/+4
2015-02-12Remove unused functionErik Johnston1-12/+0
2015-02-12Reindent code to be less human-readable to keep pep8 from complainingPaul "LeoNerd" Evans1-1/+1
2015-02-12Appease pyflakesPaul "LeoNerd" Evans1-1/+1
2015-02-12Can now remove the FIXME tooPaul "LeoNerd" Evans1-10/+3
2015-02-12Only attempt to fetch presence state of JOINed members in room initialSync (S...Paul "LeoNerd" Evans1-0/+1
2015-02-12Parrellize fetching of eventsErik Johnston1-3/+11
2015-02-12Correctly handle all the places that can throw exceptionsErik Johnston4-15/+37
2015-02-12Bump versionErik Johnston1-1/+1
2015-02-12Get an auth query one at a timeErik Johnston1-7/+6
2015-02-12Expand on cachingErik Johnston1-1/+7
2015-02-12Add note about alpha csv2 apisErik Johnston1-2/+3
2015-02-12TypoesErik Johnston1-2/+2
2015-02-12Add note about push supportErik Johnston1-0/+1
2015-02-12Bump webclient versionErik Johnston1-3/+3
2015-02-12Use consistent style of headingErik Johnston1-2/+2
2015-02-12Change develop to v0.7.0Erik Johnston1-2/+2
2015-02-12More rst fixes. Expand on JSON library changeErik Johnston1-2/+4
2015-02-12Fix rst formattingErik Johnston1-36/+36
2015-02-12Update CHANGES.rstErik Johnston1-3/+10
2015-02-12Fix rstErik Johnston1-4/+4
2015-02-12Update UPGRADES to mention updated dependenciesErik Johnston1-0/+14
2015-02-12Set database schema version in deltaErik Johnston1-0/+2
2015-02-12Bump versionErik Johnston1-1/+1
2015-02-11Convert get_rooms to use runInteraction so the transacion has a more helpful ...Erik Johnston1-30/+37
2015-02-11Use encode_canonical_json for http clientErik Johnston1-1/+3
2015-02-11Use encode_canonical_json for pushesErik Johnston1-1/+3
2015-02-11Update dependency linksErik Johnston1-2/+2
2015-02-11Bump syutil versionErik Johnston1-1/+1
2015-02-11Allow newer versions of syutilMark Haines1-1/+1
2015-02-11pyflakesErik Johnston2-2/+1
2015-02-11Remove more debug loggingErik Johnston1-2/+0
2015-02-11Remove debug loggingErik Johnston2-12/+0
2015-02-11Fix so timing out connections to actually work.Erik Johnston2-9/+45
2015-02-11Fix tests which broke when event caching was introduced.Kegan Dougal1-1/+4
2015-02-11Minor tweaks based on PR feedback.Kegan Dougal2-4/+5
2015-02-11Added another TODO notePaul "LeoNerd" Evans1-0/+3
2015-02-11Cache the result of a get_rooms_for_user query, to make user_rooms_intersect(...Paul "LeoNerd" Evans1-7/+34
2015-02-11First step of making user_rooms_intersect() faster - implement in intersectio...Paul "LeoNerd" Evans1-18/+20
2015-02-11Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder...Erik Johnston6-13/+36
2015-02-11Invalidate the cache for an event if it is redactedMark Haines1-0/+2
2015-02-11Fix formattingMark Haines1-2/+0
2015-02-11Add a cache for get_eventMark Haines6-5/+43
2015-02-11Add a lru cache classMark Haines2-0/+166
2015-02-11Blunty replace json with simplejsonErik Johnston21-21/+21
2015-02-11Mention new libs in CHANGESErik Johnston1-0/+2
2015-02-11Factor out some of the common homeserver setup code into aMark Haines25-360/+140
2015-02-11Fix newline on __init__Kegan Dougal1-1/+0
2015-02-11PEP8-ifyKegan Dougal4-9/+1
2015-02-11Add newline to EOFKegan Dougal1-0/+1
2015-02-11Notify ASes for events sent by other users in a room which an AS user is a pa...Kegan Dougal4-11/+56
2015-02-11Fix bug where variable was not always definedErik Johnston1-2/+1
2015-02-11PEP8Erik Johnston1-1/+0
2015-02-11Move time_bound_deferred into ClockErik Johnston3-24/+22
2015-02-10Rename path to path_segments to make it clearer that it is a listMark Haines1-4/+4
2015-02-10Time out HTTP federation requestsErik Johnston2-2/+29
2015-02-10Fix code-styleMark Haines7-12/+12
2015-02-10Add the 'setup_requires' and allow easy_install since jenkins uses themMark Haines1-14/+5
2015-02-10Single source version and python dependencies, prevent people accidentally in...Mark Haines3-44/+43
2015-02-10Log all the exits from _attempt_new_transactionErik Johnston1-2/+7
2015-02-10Bump versionErik Johnston2-2/+2
2015-02-10Fix prune_events to work with nested dictsErik Johnston1-2/+4
2015-02-10Code-style fixesMark Haines11-36/+57
2015-02-10Sign auth_chains when returned by /state/ requestsErik Johnston1-0/+11
2015-02-10Remove unnecessary loggingErik Johnston1-6/+1
2015-02-10Fix pyflakesMark Haines1-3/+3
2015-02-10Add performance counters for different stages of loading eventsMark Haines1-24/+60
2015-02-10yaml.load expects strings to be a yaml rather than fileErik Johnston1-1/+2
2015-02-10Use yaml logging config format because it is much nicerErik Johnston1-1/+2
2015-02-10Oops, we do want to defer.return regardless of whether we are caching or notErik Johnston1-1/+1
2015-02-10Move construction of object within if blockErik Johnston1-6/+6
2015-02-09Convert directory paths to absolute paths before daemonizingMark Haines1-2/+3
2015-02-09Use the transaction 'desc' rather than 'name', increment the txn_ids inMark Haines1-3/+3
2015-02-09FormattingMark Haines1-1/+0
2015-02-09Performance counters for database transaction namesMark Haines1-1/+31
2015-02-09During room intial sync, only calculate current state once.Erik Johnston4-21/+43
2015-02-09Need to use re.search if looking for matches not at the start of the string. ...David Baker1-3/+3
2015-02-09oopsMatthew Hodgson1-1/+1
2015-02-09oopsMatthew Hodgson1-1/+1
2015-02-09only do word-boundary patches on bodies for nowMatthew Hodgson2-2/+5
2015-02-09Fix bugs so lazy room joining works as intended.Kegan Dougal3-12/+23
2015-02-09Fix typoErik Johnston1-1/+1
2015-02-09Add looping_call to ClockErik Johnston1-1/+9
2015-02-09Log database time every 10s and log as percentageErik Johnston1-2/+2
2015-02-09Fix testsErik Johnston1-1/+6
2015-02-09Time how long we're spending on the database threadErik Johnston2-0/+27
2015-02-09Fix server default rule injection (downwards, not upwards!)David Baker1-6/+6
2015-02-09Remove unused imports.Kegan Dougal1-2/+2
2015-02-09Modify auth.get_user_by_req for authing appservices directly.Kegan Dougal5-20/+164
2015-02-09Log when we receive a request, when we send a response and how long it took t...Erik Johnston4-5/+24
2015-02-09Register a user account for the AS when the AS registers. Add 'sender' column...Kegan Dougal5-4/+14
2015-02-08glob *s should probably be non-greedyMatthew Hodgson1-1/+1
2015-02-08oopsMatthew Hodgson1-1/+1
2015-02-08kill off fnmatch in favour of word-boundary based push alerts (untested)Matthew Hodgson1-12/+20
2015-02-07don't give up if we can't create default avatars during testsMatthew Hodgson1-9/+12
2015-02-07add some options and docMatthew Hodgson1-5/+20