Commit Graph

271 Commits (745b72660acd6760334b7be51ad2d91eef2e0257)

Author SHA1 Message Date
Daniel Wagner-Hall 13a6517d89 s/by_token/by_access_token/g 9 years ago
Erik Johnston 9b63def388 Add m.room.avatar to default power levels. Change default required power levels of such events to 50 9 years ago
Erik Johnston d7272f8d9d Add canonical alias to the default power levels 9 years ago
Erik Johnston ee59af9ac0 Set request.authenticated_entity for application services 9 years ago
Daniel Wagner-Hall 45610305ea Add missing space because linter 9 years ago
Daniel Wagner-Hall 88e03da39f Minor docs cleanup 9 years ago
Daniel Wagner-Hall 9dba813234 Remove redundant if-guard 9 years ago
David Baker c77048e12f Add endpoint that proxies ID server request token and errors if the given email is in use on this Home Server. 9 years ago
Erik Johnston b49a30a972 Capitalize contants 10 years ago
Erik Johnston d5cc794598 Implement presets at room creation 10 years ago
Erik Johnston a5ea22d468 Sanitize power level checks 10 years ago
Erik Johnston 7e3b14fe78 You shouldn't be able to ban/kick users with higher power levels 10 years ago
Erik Johnston 1a3255b507 Add m.room.history_visibility to newly created rooms' m.room.power_levels 10 years ago
Erik Johnston 00ab882ed6 Add m.room.history_visibility to list of auth events 10 years ago
Erik Johnston 1a60545626 Add basic impl for room history ACL on GET /messages client API 10 years ago
Erik Johnston cee69441d3 Log more when we have processed the request 10 years ago
Erik Johnston 22c7c5eb8f Typo 10 years ago
Erik Johnston 42c12c04f6 Remove some run_on_reactors 10 years ago
Erik Johnston adb5b76ff5 Don't log all auth events every time we call auth.check 10 years ago
Erik Johnston 80b4119279 Don't wait for storage of access_token 10 years ago
David Baker 74270defda No commas here, otherwise our error string constants become tuples. 10 years ago
David Baker 03eb4adc6e Dedicated error code for failed 3pid auth verification 10 years ago
David Baker a2c10d37d7 Add an error code to 'missing token' response. 10 years ago
Paul "LeoNerd" Evans a16eaa0c33 Neater fetching of user's auth level in a room - squash to int() at access time (SYN-353) 10 years ago
Paul "LeoNerd" Evans f43063158a Appease pep8 10 years ago
Paul "LeoNerd" Evans 2808c040ef Also remember to check 'invite' level for changes 10 years ago
Paul "LeoNerd" Evans bc41f0398f Initial implementation of an 'invite' power_level 10 years ago
Paul "LeoNerd" Evans d3309933f5 Much neater fetching of defined powerlevels from m.room.power_levels state event 10 years ago
Paul "LeoNerd" Evans b568c0231c Remove debugging print statement accidentally committed 10 years ago
Paul "LeoNerd" Evans 3a7d7a3f22 Sanitise a user's powerlevel to an int() before numerical comparison, because otherwise Python is "helpful" with it (SYN-351) 10 years ago
Paul "LeoNerd" Evans 399b5add58 Neater implementation of membership change auth checks, ensuring we can't forget to check if the calling user is a member of the room 10 years ago
Paul "LeoNerd" Evans e6e130b9ba Ensure that non-room-members cannot ban others, even if they do have enough powerlevel (SYN-343) 10 years ago
David Baker 766bd8e880 Dummy login so we can do the first POST request to get login flows without it just succeeding 10 years ago
Mark Haines d488463fa3 Add a version 2 of the key server api 10 years ago
Kegan Dougal ae8ff92e05 Fix a bug which causes a send event level of 0 to not be honoured. 10 years ago
David Baker 4eb6d66b45 Add app service auth back in to v2 register 10 years ago
David Baker 70a84f17f3 Add shared secret auth into register v2 and switch the script over. 10 years ago
David Baker 59bf16eddc New registration for C/S API v2. Only ReCAPTCHA working currently. 10 years ago
David Baker 9aa0224cdf unused import 10 years ago
David Baker c7023f2155 1) Pushers are now associated with an access token 10 years ago
Paul "LeoNerd" Evans 93978c5e2b @cached() annotate get_user_by_token() - achieves a minor DB performance improvement 10 years ago
Erik Johnston b2e6ee5b43 Remove concept of context.auth_events, instead use context.current_state 10 years ago
Erik Johnston ea8590cf66 Make context.auth_events grap auth events from current state. Otherwise auth is wrong. 10 years ago
Erik Johnston ab8229479b Respect ban membership 10 years ago
Erik Johnston 69135f59aa Implement registering with shared secret. 10 years ago
Kegan Dougal 22399d3d8f Add RegisterFallbackResource to /_matrix/static/client/register 10 years ago
Erik Johnston d94f682a4c During room intial sync, only calculate current state once. 10 years ago
Kegan Dougal 5a7dd05818 Modify auth.get_user_by_req for authing appservices directly. 10 years ago
Kegan Dougal e426df8e10 Grant ASes the ability to create alias in their own namespace. 10 years ago
Kegan Dougal 0227618d3c Add m.login.application_service registration procedure. 10 years ago