- May 10, 2018
-
-
Richard van der Hoff authored
... so that it can be used on non-JSON endpoints
-
Richard van der Hoff authored
The metrics are now available via the request, so this is redundant and can go away at last.
-
Richard van der Hoff authored
it's much neater there.
-
Richard van der Hoff authored
less magic
-
Richard van der Hoff authored
It fits quite nicely here, and opens the path to getting rid of the "include_metrics" mess.
-
Richard van der Hoff authored
... which is going to make it easier to move around.
-
Richard van der Hoff authored
-
- May 09, 2018
-
-
Richard van der Hoff authored
This is useful in its own right, because server.py is full of stuff; but more importantly, I want to do some refactoring that will cause a circular reference as it is.
-
Erik Johnston authored
Refactor sync APIs to reuse pagination API
-
Erik Johnston authored
Refactor get_recent_events_for_room return type
-
Erik Johnston authored
Remove unused code path from member change DB func
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Refactor pagination DB API to return concrete type
-
Erik Johnston authored
-
Erik Johnston authored
The function is never called without a from_key, so we can remove all the handling for that scenario.
-
Erik Johnston authored
Refactor recent events func to use pagination func
-
Erik Johnston authored
The sync API often returns events in a topological rather than stream ordering, e.g. when the user joined the room or on initial sync. When this happens we can reuse existing pagination storage functions.
-
Erik Johnston authored
This allows calling the `get_recent_event_ids_for_room` function in more situations.
-
Richard van der Hoff authored
nuke-room-from-db.sh: fix deletion from search table
-
Erik Johnston authored
There is no reason to return a tuple of tokens when the last token is always the token passed as an argument. Changing it makes it consistent with other storage APIs
-
Erik Johnston authored
This makes it easier to document what is being returned by the storage functions and what some functions expect as arguments.
-
Erik Johnston authored
-
Erik Johnston authored
This also removes a cache that is unlikely to ever get hit.
-
Erik Johnston authored
Refactor /context to reuse pagination storage functions
-
Erik Johnston authored
-
Richard van der Hoff authored
nuke-room-from-db.sh: added postgresql option and help
-
- May 08, 2018
-
-
rubo77 authored
-
rubo77 authored
-
rubo77 authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
notifications: Convert next_token to string according to the spec
-
Erik Johnston authored
Fix metrics that have integer value labels
-
- May 05, 2018
-
-
Konstantinos Sideris authored
Currently the parameter is serialized as an integer. Signed-off-by:
Konstantinos Sideris <sideris.konstantin@gmail.com>
-