- Jan 19, 2018
-
-
Matthew Hodgson authored
* [ ] split config options into allowed_local_3pids and registrations_require_3pid * [ ] simplify and comment logic for picking registration flows * [ ] fix docstring and move check_3pid_allowed into a new util module * [ ] use check_3pid_allowed everywhere @erikjohnston PTAL
-
Matthew Hodgson authored
-
Matthew Hodgson authored
-
Matthew Hodgson authored
-
Matthew Hodgson authored
lets homeservers specify a whitelist for 3PIDs that users are allowed to associate with. Typically useful for stopping people from registering with non-work emails
-
- Jan 17, 2018
-
-
Richard van der Hoff authored
Log room when doing state resolution
-
Richard van der Hoff authored
Mostly because it helps figure out what is prompting the resolution
-
Erik Johnston authored
Keep track of last access time for local media
-
Matthew Hodgson authored
fix SQL when searching all users
-
Richard van der Hoff authored
Split resolve_events into two functions
-
Matthew Hodgson authored
-
Richard van der Hoff authored
... so that the return type doesn't depend on the arg types
-
Erik Johnston authored
-
Richard van der Hoff authored
Track DB scheduling delay per-request
-
Richard van der Hoff authored
Sanity checking for user ids
-
Richard van der Hoff authored
Check the user_id passed to a couple of APIs for validity, to avoid "IndexError: list index out of range" exception which looks scary and results in a 500 rather than a more useful error. Fixes #1432, among other things
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Track db txn time in millisecs
-
Richard van der Hoff authored
Fix 'NoneType' object has no attribute 'writeHeaders'
-
Richard van der Hoff authored
rework runInteraction in terms of runConnection
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Optimise LoggingContext creation and copying
-
Richard van der Hoff authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Fix thumbnailing remote files
-
Erik Johnston authored
-
- Jan 16, 2018
-
-
Richard van der Hoff authored
Avoid throwing a (harmless) exception when we try to write an error response to an http request where the client has disconnected. This comes up as a CRITICAL error in the logs which tends to mislead people into thinking there's an actual problem
-
Richard van der Hoff authored
For each request, track the amount of time spent waiting for a db connection. This entails adding it to the LoggingContext and we may as well add metrics for it while we are passing.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... so that we can share the code
-
Matthew Hodgson authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
... to reduce the amount of floating-point foo we do.
-
Richard van der Hoff authored
It turns out that the only thing we use the __dict__ of LoggingContext for is `request`, and given we create lots of LoggingContexts and then copy them every time we do a db transaction or log line, using the __dict__ seems a bit redundant. Let's try to optimise things by making the request attribute explicit.
-
Erik Johnston authored
-