- Jul 31, 2018
-
-
Serban Constantin authored
Per the Client-Server API[0] we should return `M_NOT_FOUND` if the room isn't found instead of generic SynapseError. This ensures that /directory/list API returns 404 for room not found instead of 400. [0]: https://matrix.org/docs/spec/client_server/unstable.html#get-matrix-client-r0-directory-list-room-roomid Signed-off-by:
Serban Constantin <serban.constantin@gmail.com>
-
Travis Ralston authored
Remove pdu_failures from transactions
-
Richard van der Hoff authored
Make EventStore inherit from EventFederationStore
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Add some documentation for using the dashboard
-
Paul Tötterman authored
-
Richard van der Hoff authored
-
- Jul 30, 2018
-
-
Amber Brown authored
Only import secrets when available
-
Travis Ralston authored
The field is never read from, and all the opportunities given to populate it are not utilized. It should be very safe to remove this.
-
Krombel authored
secrets got introduced in python 3.6 so this class is not available in 3.5 and before. This now checks for the current running version and only tries using secrets if the version is 3.6 or above Signed-Off-By:
Matthias Kesler <krombel@krombel.de>
-
- Jul 27, 2018
-
-
Matthew Hodgson authored
make /context lazyload & filter aware.
-
Richard van der Hoff authored
if inviter_display_name == ""||None then default to inviter MXID
-
Richard van der Hoff authored
Add instructions for install on OpenSUSE and SLES
-
- Jul 26, 2018
-
-
Richard van der Hoff authored
Update the send_leave path to be an event_id
-
Richard van der Hoff authored
Stop populating events.content
-
Matthew Hodgson authored
* attempt at deduplicating lazy-loaded members as per the proposal; we can deduplicate redundant lazy-loaded members which are sent in the same sync sequence. we do this heuristically rather than requiring the client to somehow tell us which members it has chosen to cache, by instead caching the last N members sent to a client, and not sending them again. For now we hardcode N to 100. Each cache for a given (user,device) tuple is in turn cached for up to X minutes (to avoid the caches building up). For now we hardcode X to 30. * add include_redundant_members filter option & make it work * remove stale todo * add tests for _get_some_state_from_cache * incorporate review
-
Richard van der Hoff authored
Remove some redundant joins on event_edges.room_id
-
Travis Ralston authored
-
Travis Ralston authored
It's still not used, however the parameter is an event ID not a transaction ID.
-
Richard van der Hoff authored
Fix some looping_call calls which were broken in #3604
-
Richard van der Hoff authored
-
Richard van der Hoff authored
There's no real point in ever making the column non-nullable, and doing so breaks the sytests.
-
Richard van der Hoff authored
This field is no longer read from, so we should stop populating it. Once we're happy that this doesn't break everything, and a rollback is unlikely, we can think about dropping the column.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
We've long passed the point where it's possible to have the same event_id in different tables, so these join conditions are redundant: we can just join on event_id. event_edges is of non-trivial size, and the room_id column is wasteful, so let's stop reading from it. In future, we can stop writing to it, and then drop it.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
(since it uses methods therein) Turns out that we had a bunch of things which were incorrectly importing EventWorkerStore from events.py rather than events_worker.py, which broke once I removed the import into events.py.
-
Richard van der Hoff authored
It turns out that looping_call does check the deferred returned by its callback, and (at least in the case of client_ips), we were relying on this, and I broke it in #3604. Update run_as_background_process to return the deferred, and make sure we return it to clock.looping_call.
-
- Jul 25, 2018
-
-
Matthew Hodgson authored
Implement the lazy_load_members room state filter parameter
-
Matthew Hodgson authored
-
Travis Ralston authored
Fix a minor documentation typo in on_make_leave
-
Travis Ralston authored
-
Travis Ralston authored
-
Matthew Hodgson authored
-
Matthew Hodgson authored
-
Matthew Hodgson authored
-
Matthew Hodgson authored
-
Erik Johnston authored
Correctly handle outliers during persist events
-
Richard van der Hoff authored
Fix another logcontext leak in _persist_events
-