- Feb 18, 2016
-
-
Mark Haines authored
Remove dead code for setting device specific rules. It wasn't possible to hit the code from the API because of a typo in parsing the request path. Since no-one was using the feature we might as well remove the dead code.
-
Mark Haines authored
It wasn't possible to hit the code from the API because of a typo in parsing the request path. Since no-one was using the feature we might as well remove the dead code.
-
Daniel Wagner-Hall authored
Merge all of the room membership codepaths into one
-
Daniel Wagner-Hall authored
-
- Feb 17, 2016
-
-
Daniel Wagner-Hall authored
Conflicts: synapse/rest/client/v1/room.py
-
Daniel Wagner-Hall authored
I'm not particularly happy with the "action" switching, but there's no convenient way to defer the work that needs to happen after it, so... :(
-
Daniel Wagner-Hall authored
Currently, we magically perform an extra database hit to find the inviter, and use this to guess where we should send the event. Instead, fill in a valid context, so that other callers relying on the context actually have one.
-
Erik Johnston authored
api/filtering: don't assume that event content will always be a dict
-
Patrik Oldsberg authored
Signed-off-by:
Patrik Oldsberg <patrik.oldsberg@ericsson.com>
-
Erik Johnston authored
client/v1/room: include event_id in response to state event PUT
-
Patrik Oldsberg authored
Signed-off-by:
Patrik Oldsberg <patrik.oldsberg@ericsson.com>
-
- Feb 16, 2016
-
-
Daniel Wagner-Hall authored
-
Mark Haines authored
-
Mark Haines authored
Make adding push rules idempotent Also remove the **kwargs from the add_push_rule method. Fixes https://matrix.org/jira/browse/SYN-391
-
Mark Haines authored
Also remove the **kwargs from the add_push_rule method. Fixes https://matrix.org/jira/browse/SYN-391
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
Conflicts: synapse/handlers/room.py
-
Daniel Wagner-Hall authored
Simplify room creation code
-
- Feb 15, 2016
-
-
Daniel Wagner-Hall authored
Unclean, needs tidy-up, but works
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
-
Daniel Wagner-Hall authored
Also, consistently apply rate limiting. Again, ugly, but a step in the right direction.
-
Daniel Wagner-Hall authored
This code is kind of rough (passing the remote servers down a long chain), but is a step towards improvement.
-
Daniel Wagner-Hall authored
Force joining by alias to go through the send_membership_event checks, rather than bypassing them straight into _do_join. This is the first of many stages of cleanup.
-
- Feb 12, 2016
-
-
Daniel Wagner-Hall authored
This reverts commit cf81375b. It subtly violates a guest joining auth check
-
Daniel Wagner-Hall authored
Merge two of the room join codepaths There's at least one more to merge in. Side-effects: * Stop reporting None as displayname and avatar_url in some cases * Joining a room by alias populates guest-ness in join event * Remove unspec'd PUT version of /join/<room_id_or_alias> which has not been called on matrix.org according to logs * Stop recording access_token_id on /join/room_id - currently we don't record it on /join/room_alias; I can try to thread it through at some point.
-
Daniel Wagner-Hall authored
There's at least one more to merge in. Side-effects: * Stop reporting None as displayname and avatar_url in some cases * Joining a room by alias populates guest-ness in join event * Remove unspec'd PUT version of /join/<room_id_or_alias> which has not been called on matrix.org according to logs * Stop recording access_token_id on /join/room_id - currently we don't record it on /join/room_alias; I can try to thread it through at some point.
-
Mark Haines authored
Catch the exceptions thrown by twisted when you write to a closed con…
-
Mark Haines authored
-
Erik Johnston authored
-
- Feb 11, 2016
-
-
Daniel Wagner-Hall authored
Enforce user_id exclusivity for AS registrations
-
Daniel Wagner-Hall authored
This whole set of checks is kind of an ugly mess, which I may clean up at some point, but for now let's be correct.
-
Erik Johnston authored
-