Commit Graph

39 Commits (bc42ca121f2fe6e58c65f1c728cf78f9d9823dfa)

Author SHA1 Message Date
David Baker 92e1c8983d Disallow whitespace in aliases here too 10 years ago
Kegan Dougal 58ff066064 Implement exclusive namespace checks. 10 years ago
David Baker 443ba4eecc %s for strings otherwise you end up sending 'u"foo"' 10 years ago
Kegan Dougal fd40d992ad PEP8-ify 10 years ago
Kegan Dougal f7cac2f7b6 Fix bugs so lazy room joining works as intended. 10 years ago
Kegan Dougal 0995810273 Pyflakes: unused variable. 10 years ago
Kegan Dougal c3ae8def75 Grant ASes the ability to delete aliases in their own namespace. 10 years ago
Kegan Dougal e426df8e10 Grant ASes the ability to create alias in their own namespace. 10 years ago
Kegan Dougal e9484d6a95 Prevent aliases in AS namespaces being created/deleted by users. Check with ASes when queried for room aliases via federation. 10 years ago
Kegan Dougal b932600653 Add unknown room alias check. Call it from directory_handler.get_association 10 years ago
Erik Johnston 95e2d2d36d When returning lists of servers from alias lookups, put the current server first in the list 10 years ago
Mark Haines ada711504e Replace hs.parse_roomalias with RoomAlias.from_string 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines a999f0dec3 Don't ratelimit room create events 10 years ago
Mark Haines 3c7857e49b clean up coding style a bit 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston cf6e5f1dbf Rename MessageHandler.handle_event. Add a few comments. 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 9d53228158 Change DomainSpecificString so that it doesn't use a HomeServer object 10 years ago
Mark Haines fd40a80a68 Return 404 M_NOT_FOUND when trying to look up a room alias that doesn't exist 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago
Mark Haines dcb99e4972 SYN-153: Fix formatting of federation error message 10 years ago
Mark Haines 8993affdc0 SYN-153: Raise 404 if room alias is not found 10 years ago
Mark Haines ae9c2ab165 SYN-149: Send join event immediately after the room create event 10 years ago
Mark Haines a5b88c489e Split out sending the room alias events from creating the alias so that we can do them in the right point when creating a room 10 years ago
Erik Johnston 4317c8e583 Implement new replace_state and changed prev_state 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 10 years ago
Mark Haines 574377636e Add a keyword argument to get_json to avoid retrying on DNS failures. Rather than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter 10 years ago
Mark Haines 4f11518934 Split PlainHttpClient into separate clients for talking to Identity servers and talking to Capatcha servers 10 years ago
Erik Johnston e06adc6d7e SYN-2: Allow server admins to delete room aliases 10 years ago
Erik Johnston 9dd4570b68 Generate m.room.aliases event when the HS creates a room alias 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Erik Johnston 30bcbc433a Fix up directory server to not require uploading room hosts. Update the room hosts table with the current room hosts (if we have them) on GET. 10 years ago
Kegan Dougal 7fc84c7019 Make retrying requests on DNS failures configurable, and turn off retrying only in directory.get_association 10 years ago
Kegan Dougal c75add6ec8 Added a urls module for keeping client and federation prefixes. 10 years ago
Paul "LeoNerd" Evans 3a1cfe18cf Implement directory service federation by Federation Queries; avoid local_only hack; add unit tests 10 years ago
Matthew Hodgson f98e6380f1 add in whitespace after copyright statements to improve legibility 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago