Commit Graph

439 Commits (c18f7fc41019be6a5c08df3f4976bd94435677c7)

Author SHA1 Message Date
Mark Haines c18f7fc410 Fix flake8 and update changelog 8 years ago
Matthew Hodgson d79d165761 add logging for all the places we call resolve_state_groups. my kingdom for a backtrace that actually works. 8 years ago
Richard van der Hoff 1529c19675 Prevent user tokens being used as guest tokens (#1675) 8 years ago
Richard van der Hoff aa09d6b8f0 Rip out more refresh_token code 8 years ago
Richard van der Hoff 4febfe47f0 Comments 8 years ago
Richard van der Hoff 1c4f05db41 Stop putting a time caveat on access tokens 8 years ago
Richard van der Hoff 7f02e4d008 Give guest users a device_id 8 years ago
Richard van der Hoff e1d7c96814 Remove redundant list of known caveat prefixes 8 years ago
Kegan Dougal 83bcdcee61 Return early on /sync code paths if a '*' filter is used 8 years ago
Kegan Dougal cea4e4e7b2 Glue only_event_fields into the sync rest servlet 8 years ago
Kegan Dougal f97511a1f3 Move event_fields filtering to serialize_event 8 years ago
Kegan Dougal e90fcd9edd Add filter_event_fields and filter_field to FilterCollection 8 years ago
Kegan Dougal a2a6c1c22f Fail with a coherent error message if `/sync?filter=` is invalid 8 years ago
Luke Barnard 07caa749bf Closing brace on following line 8 years ago
Luke Barnard f09db236b1 as_user->app_service, less redundant comments, better positioned comments 8 years ago
Luke Barnard 8bfd01f619 flake8 8 years ago
Luke Barnard 1b17d1a106 Use real AS object by passing it through the requester 8 years ago
Erik Johnston 550308c7a1 Check whether to ratelimit sooner to avoid work 8 years ago
Patrik Oldsberg 9bfc617791 storage/appservice: make appservice methods only relying on the cache synchronous 8 years ago
Patrik Oldsberg 24a70e19c7 api/auth: fix for not being allowed to set your own state_key 8 years ago
Erik Johnston f96020550f Update comments 8 years ago
Erik Johnston 2e9ee30969 Add comments 8 years ago
Erik Johnston a61e4522b5 Shuffle things around to make unit tests work 8 years ago
Erik Johnston 1168cbd54d Allow invites via 3pid to bypass sender sig check 8 years ago
Mark Haines ec609f8094 Fix unit tests 8 years ago
Mark Haines 8e01263587 Allow clients to supply access_tokens as headers 8 years ago
Mark Haines 8aee5aa068 Add helper function for getting access_tokens from requests 8 years ago
Erik Johnston ed7a703d4c Handle the fact that workers can't generate state groups 8 years ago
Erik Johnston c10cb581c6 Correctly handle the difference between prev and current state 8 years ago
Erik Johnston 1ccdc1e93a Cache check_host_in_room 8 years ago
Erik Johnston 25414b44a2 Add measure on check_host_in_room 8 years ago
Paul "LeoNerd" Evans 1294d4a329 Move ThirdPartyEntityKind into api.constants so the expectation becomes that the value is significant 8 years ago
Erik Johnston 0e1900d819 Pull out full state less 8 years ago
Paul "LeoNerd" Evans 142983b4ea APP_SERVICE_PREFIX is never used; don't bother 8 years ago
Erik Johnston a3dc1e9cbe Replace context.current_state with context.current_state_ids 8 years ago
Richard van der Hoff 6fe6a6f029 Fix login with m.login.token 8 years ago
Richard van der Hoff eb359eced4 Add `create_requester` function 8 years ago
Mark Haines c824b29e77 Check if the user is banned when handling 3pid invites 8 years ago
Richard van der Hoff ec041b335e Record device_id in client_ips 8 years ago
Richard van der Hoff 053e83dafb More doc-comments 8 years ago
Mark Haines d137e03231 Fix 500 ISE when sending alias event without a state_key 8 years ago
Erik Johnston ebdafd8114 Check sender signed event 8 years ago
Erik Johnston e5142f65a6 Add 'contains_url' to filter 8 years ago
Negar Fazeli 0136a522b1 Bug fix: expire invalid access tokens 8 years ago
Erik Johnston 2cb758ac75 Check if alias event's state_key matches sender's domain 8 years ago
Erik Johnston 560c71c735 Check creation event's room_id domain matches sender's 8 years ago
David Baker 385aec4010 Implement https://github.com/matrix-org/matrix-doc/pull/346/files 9 years ago
Erik Johnston 067596d341 Fix bug where we did not correctly explode when multiple user_ids were set in macaroon 9 years ago
David Baker be8be535f7 requestToken update 9 years ago
David Baker 1f31cc37f8 Working unsubscribe links going straight to the HS 9 years ago