- Feb 13, 2018
-
-
Richard van der Hoff authored
* It's supposed to be purge_local_events, not ..._history * Fix the doc to have valid json
-
Richard van der Hoff authored
Allow use of higher versions of saml2
-
- Feb 12, 2018
-
-
Erik Johnston authored
Tell storage providers about new file so they can upload
-
- Feb 09, 2018
-
-
Richard van der Hoff authored
delete_local_events for purge_room_history
-
Richard van der Hoff authored
... to avoid locking the table for too long
-
Richard van der Hoff authored
Add a flag which makes the purger delete local events
-
Richard van der Hoff authored
it was a bit of a non-sequitur there
-
Richard van der Hoff authored
this thing takes ages and the only sign of any progress is the logs, so having some logs is useful.
-
Richard van der Hoff authored
(beacause it deletes more than state)
-
- Feb 07, 2018
-
-
Erik Johnston authored
-
Erik Johnston authored
Remove pointless ratelimit check
-
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.
-