summary refs log tree commit diff
path: root/synapse/handlers/directory.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move Spam Checker callbacks to a dedicated file (#15453)Andrew Morgan2023-04-181-5/+9
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-221-3/+5
* Return read-only collections from `@cached` methods (#13755)Sean Quah2023-02-101-3/+3
* Avoid mutating cached room aliases. (#15038)Patrick Cloke2023-02-091-1/+2
* Allow PUT/GET of aliases during faster join (#14292)David Robertson2022-11-011-2/+2
* Use Pydantic when PUTting room aliases (#14179)David Robertson2022-10-171-8/+11
* Update `get_users_in_room` mis-use to get hosts with dedicated `get_current_h...Eric Eastwood2022-08-241-5/+7
* `synapse.api.auth.Auth` cleanup: make permission-related methods use `Request...Quentin Gliech2022-08-221-13/+11
* Uniformize spam-checker API, part 5: expand other spam-checker callbacks to r...David Teller2022-07-111-2/+4
* Uniformize spam-checker API, part 4: port other spam-checker callbacks to ret...David Teller2022-06-131-5/+14
* Reduce the amount of state we pull from the DB (#12811)Erik Johnston2022-06-061-1/+1
* Wait for lazy join to complete when getting current state (#12872)Erik Johnston2022-06-011-1/+6
* Give a meaningful error message when a client tries to create a room with an ...reivilibre2022-05-181-0/+3
* Rename various ApplicationServices interested methods (#11915)Andrew Morgan2022-03-031-3/+3
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* Convert all namedtuples to attrs. (#11665)Patrick Cloke2021-12-301-4/+6
* Test room alias deletion (#11327)David Robertson2021-11-121-1/+5
* Annotate `log_function` decorator (#10943)reivilibre2021-10-271-1/+1
* Don't set new room alias before potential 403 (#10930)AndrewFerr2021-10-251-2/+2
* Remove the deprecated BaseHandler. (#11005)Patrick Cloke2021-10-081-5/+4
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
* Use direct references for configuration variables (part 5). (#10897)Patrick Cloke2021-09-241-3/+3
* Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-3/+3
* Fix a number of logged errors caused by remote servers being down. (#10400)Erik Johnston2021-07-151-1/+4
* Use get_current_users_in_room from store and not StateHandler (#9910)Erik Johnston2021-05-051-2/+2
* Add missing type hints to handlers and fix a Spam Checker type hint. (#9896)Patrick Cloke2021-04-291-26/+33
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-2/+4
* Allow ThirdPartyEventRules modules to manipulate public room state (#8292)Andrew Morgan2020-10-051-0/+10
* Enable mypy checking for unreachable code and fix instances. (#8432)Patrick Cloke2020-10-011-1/+1
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Stop shadow-banned users from sending non-member events. (#8142)Patrick Cloke2020-08-241-0/+6
* Convert directory handler to async/await (#7727)Patrick Cloke2020-06-221-39/+29
* async/await is_server_admin (#7363)Andrew Morgan2020-05-011-28/+23
* Allow admins to create aliases when they are not in the room (#7191)Patrick Cloke2020-04-011-1/+5
* Allow deleting an alias if the user has sufficient power level (#6986)Patrick Cloke2020-03-041-33/+74
* Validate the alt_aliases property of canonical alias events (#6971)Patrick Cloke2020-03-031-7/+7
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-2/+2
* Do not send alias events when creating / upgrading a room (#6941)Patrick Cloke2020-02-201-17/+2
* Make room alias lists peekableRichard van der Hoff2020-02-191-1/+3
* Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939)Richard van der Hoff2020-02-181-1/+16
* Stop sending events when creating or deleting aliases (#6904)Patrick Cloke2020-02-181-35/+40
* Make /directory/room/<alias> handle restrictive power levelsRichard van der Hoff2020-01-291-1/+6
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-1/+1
* Replace instance variations of homeserver with correct case/spacingAndrew Morgan2019-11-121-1/+1
* Remove last usages of deprecated logging.warn method (#6314)Andrew Morgan2019-11-011-1/+1
* Remove duplicate return statementAndrew Morgan2019-07-311-1/+0
* Replace returnValue with return (#5736)Amber Brown2019-07-231-7/+7
* Run Black. (#5482)Amber Brown2019-06-201-87/+49
* Do checks on aliases for incoming m.room.aliases events (#5128)Brendan Abolivier2019-05-081-4/+3
* Add some limitations to alias creationBrendan Abolivier2019-05-021-1/+21
* Fix grammar and document get_current_users_in_room (#4998)Andrew Morgan2019-04-031-2/+2
* Disable publishing to room list when its disabledErik Johnston2019-03-201-0/+8
* Only fetch aliases when publishing roomsErik Johnston2019-02-141-15/+15
* Add configurable room list publishing rulesErik Johnston2019-02-141-5/+24
* Fix flake8 (#4519)Amber Brown2019-01-301-2/+2
* Attempt to move room aliases on room upgradesRichard van der Hoff2018-10-311-6/+28
* Add config option to control alias creationErik Johnston2018-10-191-0/+9
* Clean up room alias creationErik Johnston2018-10-191-30/+47
* Reinstate missing null checkRichard van der Hoff2018-09-171-1/+1
* Return a 404 when deleting unknown room aliasRichard van der Hoff2018-09-171-3/+16
* run isortAmber Brown2018-07-091-4/+5
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* Split replication layer into twoErik Johnston2018-03-131-1/+1
* Split out edu/query registration to a separate classErik Johnston2018-03-131-1/+1
* Update places where we create eventsErik Johnston2018-02-051-4/+3
* spam check room publishingDavid Baker2017-10-041-0/+8
* Add room creation checks to spam checkerDavid Baker2017-10-041-0/+7
* Ignore backoff history for invites, aliases, and roomdirsRichard van der Hoff2017-03-231-0/+1
* CommentsErik Johnston2016-12-071-1/+8
* Add new API appservice specific public room listErik Johnston2016-12-061-0/+12
* storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-7/+4
* Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-261-3/+5
* Move the AS handler out of the Handlers object.Mark Haines2016-05-311-1/+2
* Doc stringErik Johnston2016-03-221-0/+6
* an invalide is something else...Matthew Hodgson2016-03-221-1/+1
* Add published room list edit APIErik Johnston2016-03-211-0/+16
* Check canonical alias event existsErik Johnston2016-03-171-1/+2
* Update aliases event after deletionErik Johnston2016-03-171-6/+46
* Merge pull request #614 from matrix-org/erikj/alias_deleteErik Johnston2016-03-041-6/+21
|\
| * Allow alias creators to delete aliasesErik Johnston2016-03-011-6/+21
* | Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-8/+12
|/
* Branch off member and non member sendsDaniel Wagner-Hall2016-02-151-1/+1
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-2/+2
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Disallow whitespace in aliases here tooDavid Baker2015-05-141-0/+5
* Implement exclusive namespace checks.Kegan Dougal2015-02-271-2/+12
* %s for strings otherwise you end up sending 'u"foo"'David Baker2015-02-241-1/+1
* PEP8-ifyKegan Dougal2015-02-111-3/+0
* Fix bugs so lazy room joining works as intended.Kegan Dougal2015-02-091-6/+17
* Pyflakes: unused variable.Kegan Dougal2015-02-061-1/+1
* Grant ASes the ability to delete aliases in their own namespace.Kegan Dougal2015-02-061-5/+23
* Grant ASes the ability to create alias in their own namespace.Kegan Dougal2015-02-061-12/+31
* Prevent aliases in AS namespaces being created/deleted by users. Check with A...Kegan Dougal2015-02-051-9/+33
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-051-1/+10
|\
| * When returning lists of servers from alias lookups, put the current server fi...Erik Johnston2015-02-041-1/+10
* | Add unknown room alias check. Call it from directory_handler.get_associationKegan Dougal2015-02-051-0/+7
|/
* Replace hs.parse_roomalias with RoomAlias.from_stringMark Haines2015-01-231-1/+2
* Update copyright noticesMark Haines2015-01-061-1/+1
* Don't ratelimit room create eventsMark Haines2014-12-191-1/+1
* clean up coding style a bitMark Haines2014-12-161-1/+0
* Kill off synapse.api.events.*Erik Johnston2014-12-161-2/+2
* Rename MessageHandler.handle_event. Add a few comments.Erik Johnston2014-12-151-1/+1
* Convert rest and handlers to use new event structureErik Johnston2014-12-041-12/+8
* Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-4/+4
* Return 404 M_NOT_FOUND when trying to look up a room alias that doesn't existMark Haines2014-11-211-12/+24
* Fix pep8 codestyle warningsMark Haines2014-11-201-2/+3
* SYN-153: Fix formatting of federation error messageMark Haines2014-11-201-1/+1
* SYN-153: Raise 404 if room alias is not foundMark Haines2014-11-191-4/+8
* SYN-149: Send join event immediately after the room create eventMark Haines2014-11-181-2/+0
* Split out sending the room alias events from creating the alias so that we ca...Mark Haines2014-11-181-12/+6
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-4/+1
* Begin making auth use event.old_state_eventsErik Johnston2014-10-151-2/+3
* Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ...Mark Haines2014-10-021-3/+2
* Split PlainHttpClient into separate clients for talking to Identity servers a...Mark Haines2014-10-021-2/+2
* SYN-2: Allow server admins to delete room aliasesErik Johnston2014-09-301-16/+29
* Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-051-5/+33
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Fix up directory server to not require uploading room hosts. Update the room ...Erik Johnston2014-09-031-1/+10
* Make retrying requests on DNS failures configurable, and turn off retrying on...Kegan Dougal2014-09-031-1/+5
* Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-141-6/+0
* Implement directory service federation by Federation Queries; avoid local_onl...Paul "LeoNerd" Evans2014-08-131-20/+28
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+100