summary refs log tree commit diff
path: root/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-25Refactor state group lookup to reduce DB hits (#4011)Erik Johnston1-65/+110
Currently when fetching state groups from the data store we make two hits two the database: once for members and once for non-members (unless request is filtered to one or the other). This adds needless load to the datbase, so this PR refactors the lookup to make only a single database hit.
2018-10-25add new lineNeil Johnson1-0/+1
2018-10-25Use allow/denyErik Johnston3-11/+11
2018-10-25improve commentsNeil Johnson1-6/+6
2018-10-25oops, run the check_isort buildRichard van der Hoff1-1/+1
2018-10-25Only cache the wheelsRichard van der Hoff1-2/+10
2018-10-25Combine the pep8 and check_isort builds into oneRichard van der Hoff1-4/+1
there's really no point spinning up two separate jobs for these.
2018-10-25disable coverage checkingRichard van der Hoff1-4/+1
I don't think we ever use this, and it slows things down. If we want to use it, we should just do so on a couple of builds rather than all of them.
2018-10-24fix style inconsistenciesNeil Johnson4-18/+51
2018-10-24commit transaction before closingNeil Johnson1-0/+1
2018-10-24isortNeil Johnson1-2/+1
2018-10-24remove trailing whiter spaceNeil Johnson1-1/+1
2018-10-24only fetch develop for check-newsfragmentsRichard van der Hoff1-4/+4
2018-10-24Disable newsfragment checks on branch buildsRichard van der Hoff1-1/+3
2018-10-24reduce git clone depthRichard van der Hoff1-0/+4
2018-10-24fix branch regexpRichard van der Hoff1-1/+1
2018-10-24also build on release branchesRichard van der Hoff1-0/+1
2018-10-24Disable travis-ci branch builds for most branchesRichard van der Hoff1-0/+6
(We really don't need to kick off 10 builds for the branch as well as 10 for the PR)
2018-10-24fix tupleRichard van der Hoff1-1/+2
Co-Authored-By: neilisfragile <neil@matrix.org>
2018-10-24Update changelog.d/3975.featureRichard van der Hoff1-1/+1
Co-Authored-By: neilisfragile <neil@matrix.org>
2018-10-24Allow backslashes in event field filtersRichard van der Hoff3-2/+16
Fixes a bug introduced in https://github.com/matrix-org/synapse/pull/1783 which meant that single backslashes were not allowed in event field filters. The intention here is to allow single-backslashes, but disallow double-backslashes.
2018-10-24Fix a number of flake8 errorsRichard van der Hoff12-20/+21
Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
2018-10-24isortErik Johnston1-4/+1
2018-10-24Use match rather than searchErik Johnston1-2/+3
2018-10-24CommentErik Johnston1-2/+5
2018-10-24Rename resolve_events_with_factoryErik Johnston5-13/+13
2018-10-24Fix start_pushers vs _start_pushers confusionRichard van der Hoff1-3/+3
2018-10-24sanity-check the is_processing flagRichard van der Hoff2-8/+14
... and rename it, for even more sanity
2018-10-23remove errant exception and styleNeil Johnson3-7/+7
2018-10-23Comments helpTravis Ralston1-0/+5
2018-10-23remove white spaceNeil Johnson2-3/+1
2018-10-23fix race condiftion in calling initialise_reserved_usersNeil Johnson5-27/+55
2018-10-23Give some more things logcontexts (#4077)Richard van der Hoff3-7/+12
2018-10-23Correctly account for cpu usage by background threads (#4074)Richard van der Hoff6-80/+97
Wrap calls to deferToThread() in a thing which uses a child logcontext to attribute CPU usage to the right request. While we're in the area, remove the logcontext_tracer stuff, which is never used, and afaik doesn't work. Fixes #4064
2018-10-22README.rst: fix minor grammarRichard van der Hoff1-3/