- Feb 12, 2018
-
-
Erik Johnston authored
-
- Feb 07, 2018
-
-
Erik Johnston authored
-
Erik Johnston authored
As we want to have it run on the main synapse instance
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
The intention was for the check to be called as early as possible in the request, but actually was called just before the main ratelimit check, so was fairly pointless.
-
- Feb 06, 2018
-
-
Erik Johnston authored
Split event creation into a separate handler
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
* Split state group persist into seperate storage func * Add per database engine code for state group id gen * Move store_state_group to StateReadStore This allows other workers to use it, and so resolve state. * Hook up store_state_group * Fix tests * Rename _store_mult_state_groups_txn * Rename StateGroupReadStore * Remove redundant _have_persisted_state_group_txn * Update comments * Comment compute_event_context * Set start val for state_group_id_seq ... otherwise we try to recreate old state groups * Update comments * Don't store state for outliers * Update comment * Update docstring as state groups are ints
-
- 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.
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
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
-