Commit Graph

630 Commits (a547e2df8517d22010f7978da88dfe81bbd2b207)

Author SHA1 Message Date
Mark Haines 398cd1edfb Fix regression where synapse checked whether push rules were valid JSON before the compatibility hack that handled clients sending invalid JSON 9 years ago
Mark Haines e9c1cabac2 Use parse_json_object_from_request to parse JSON out of request bodies 9 years ago
Erik Johnston b13035cc91 Implement logout 9 years ago
David Baker aa11db5f11 Fix cache invalidation so deleting access tokens (which we did when changing password) actually takes effect without HS restart. Reinstate the code to avoid logging out the session that changed the password, removed in 415c2f0549 9 years ago
blide 40160e24ab Register endpoint returns refresh_token 9 years ago
Mark Haines b7dbe5147a Add a parse_json_object function 9 years ago
Mark Haines 7076082ae6 Fix relative imports so they work in both py3 and py27 9 years ago
Mark Haines 239badea9b Use syntax that works on both py2.7 and py3 9 years ago
Mark Haines 1b4f4a936f Hook up the push rules stream to account_data in /sync 9 years ago
Daniel Wagner-Hall b4022cc487 Pass whole requester to ratelimiting 9 years ago
Mark Haines 3406eba4ef Move the code for formatting push rules into a separate function 9 years ago
Mark Haines ddf9e7b302 Hook up the push rules to the notifier 9 years ago
Erik Johnston f9af8962f8 Allow alias creators to delete aliases 9 years ago
Mark Haines de27f7fc79 Add support for changing the actions for default rules 9 years ago
Gergely Polonkai 87acd8fb07 Fix to appease the PEP8 dragon 9 years ago
Gergely Polonkai a53774721a Add error codes for malformed/bad JSON in /login 9 years ago
Mark Haines 15c2ac2cac Make sure we return a JSON object when returning the values of specif… 9 years ago
Mark Haines 9892d017b2 Remove unused get_rule_attr method 9 years ago
Daniel Wagner-Hall 869580206d Ignore invalid POST bodies when joining rooms 9 years ago
Daniel Wagner-Hall 577951b032 Allow third_party_signed to be specified on /join 9 years ago
Erik Johnston e12ec335a5 "You are not..." 9 years ago
Mark Haines b9977ea667 Remove dead code for setting device specific rules. 9 years ago
Daniel Wagner-Hall 591af2d074 Some cleanup 9 years ago
Erik Johnston e5999bfb1a Initial cut 9 years ago
Patrik Oldsberg 71d5d2c669 client/v1/room: include event_id in response to state event PUT, in accordance with the spec 9 years ago
Mark Haines 458782bf67 Fix typo in request validation for adding push rules. 9 years ago
Daniel Wagner-Hall 4bfb32f685 Branch off member and non member sends 9 years ago
Daniel Wagner-Hall 1a2197d7bf Simplify room creation code 9 years ago
Daniel Wagner-Hall e560045cfd Simplify room creation code 9 years ago
Daniel Wagner-Hall 150fcde0dc Reuse update_membership from /join 9 years ago
Daniel Wagner-Hall e71095801f Merge implementation of /join by alias or ID 9 years ago
Daniel Wagner-Hall dbeed36dec Merge some room joining codepaths 9 years ago
Daniel Wagner-Hall 4de08a4672 Revert "Merge two of the room join codepaths" 9 years ago
Daniel Wagner-Hall cf81375b94 Merge two of the room join codepaths 9 years ago
Mark Haines 58c9f20692 Catch the exceptions thrown by twisted when you write to a closed connection 9 years ago
Erik Johnston a1b7902944 Add some paranoia logging 9 years ago
Daniel Wagner-Hall ebaa999f92 Revert "Reject additional path segments" 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Daniel Wagner-Hall 1d19a5ec0f Reject additional path segments 9 years ago
Erik Johnston 709e09e1c3 Remove old log line 9 years ago
Erik Johnston 33c71c3a4b Preserve log context over when deferring to thread pool in media repo 9 years ago
David Baker 156cea5b45 No braces here 9 years ago
David Baker 24277fbb97 Don't return null if profile display name / avatar url isn't set: omit them instead 9 years ago
Daniel Wagner-Hall 5054806ec1 Rename config field to reflect yaml name 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
David Baker d7ac861d3b Pull guest access token out of the auth session params, otherwise it will break if you open the email on a different device. 9 years ago
Erik Johnston fa48020a52 Move state calculations from rest to handler 9 years ago
Mark Haines 5687a00e4e Allow three_pid_creds as well as threePidCreds in /account/3pid 9 years ago
Mark Haines 8c94833b72 Fix adding push rules relative to other rules 9 years ago
Mark Haines e18257f0e5 Add missing yield in push_rules set enabled 9 years ago