- Feb 05, 2018
-
-
Richard van der Hoff authored
Remove redundant return value from _calculate_state_delta
-
Richard van der Hoff authored
Factor out common code for search insert
-
Richard van der Hoff authored
we already have the state from _get_new_state_after_events, so returning it from _calculate_state_delta is just confusing.
-
Richard van der Hoff authored
we can reuse the same code as is used for event insert, for doing the background index population.
-
Richard van der Hoff authored
... as a precursor to making event storing and doing the bg update share some code.
-
Richard van der Hoff authored
montoring metrics for number of cache evictions
-
Richard van der Hoff authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Ensure media is in local cache before thumbnailing
-
- Feb 02, 2018
-
-
Richard van der Hoff authored
Handle url_previews with no content-type
-
Richard van der Hoff authored
Factor out resolve_state_groups to a separate handler
-
Richard van der Hoff authored
factor _get_new_state_after_events out of _calculate_state_delta
-
Richard van der Hoff authored
Docstring fixes
-
Richard van der Hoff authored
Add an admin route to get all the media in a room
-
Travis Ralston authored
-
Richard van der Hoff authored
avoid failing with an exception if the remote server doesn't give us a Content-Type header. Also, clean up the exception handling a bit.
-
- Feb 01, 2018
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Fix a couple of errors in docstrings
-
Richard van der Hoff authored
The return type was a complete lie, so fix it
-
Richard van der Hoff authored
We extract the storage-independent bits of the state group resolution out to a separate functiom, and stick it in a new handler, in preparation for its use from the storage layer.
-
Richard van der Hoff authored
(to make way for a method that actually just does the state group resolution)
-
Richard van der Hoff authored
Fix sql error in quarantine_media
-
- Jan 31, 2018
-
-
Travis Ralston authored
Signed-off-by:
Travis Ralston <travpc@gmail.com>
-
Richard van der Hoff authored
This reduces the scope of a bunch of variables
-
Richard van der Hoff authored
Remove spurious log argument
-
Richard van der Hoff authored
Remove unused "event_type" param on state.get_current_state_ids
-
Richard van der Hoff authored
Improve exception handling in persist_event
-
Richard van der Hoff authored
Logging and metrics for the http pusher
-
Richard van der Hoff authored
Use a connection pool for the SimpleHttpClient
-
Richard van der Hoff authored
-
Travis Ralston authored
Signed-off-by:
Travis Ralston <travpc@gmail.com>
-
Travis Ralston authored
Signed-off-by:
Travis Ralston <travpc@gmail.com>
-
- Jan 30, 2018
-
-
Richard van der Hoff authored
... which would cause scary-looking and unhelpful errors in the log on dns fail
-
Richard van der Hoff authored
-
- Jan 29, 2018
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
this param doesn't seem to be used, and is a bit pointless anyway because it can easily be replicated by the caller. It is also horrible, because it changes the return type of the method.
-
Richard van der Hoff authored
1. use `deferred.errback()` instead of `deferred.errback(e)`, which means that a Failure object will be constructed using the current exception state, *including* its stack trace - so the stack trace is saved in the Failure, leading to better exception reports. 2. Set `consumeErrors=True` on the ObservableDeferred, because we know that there will always be at least one observer - which avoids a spurious "CRITICAL: unhandled exception in Deferred" error in the logs
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-