summary refs log tree commit diff
path: root/synapse/handlers/directory.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* storage/appservice: make appservice methods only relying on the cache ↵Patrik Oldsberg2016-10-061-7/+4
| | | | synchronous
* 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
| | | | | | Access it directly from the homeserver itself. It already wasn't inheriting from BaseHandler storing it on the Handlers object was already somewhat dubious.
* 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
| | | | | | | | Attempt to update the appropriate `m.room.aliases` event after deleting an alias. This may fail due to the deleter not being in the room. Will also check if the canonical alias of the event is set to the deleted alias, and if so will attempt to delete it.
* Merge pull request #614 from matrix-org/erikj/alias_deleteErik Johnston2016-03-041-6/+21
|\ | | | | Allow alias creators to delete aliases
| * Allow alias creators to delete aliasesErik Johnston2016-03-011-6/+21
| |
* | Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-8/+12
|/ | | | This will enable more detailed decisions
* Branch off member and non member sendsDaniel Wagner-Hall2016-02-151-1/+1
| | | | Unclean, needs tidy-up, but works
* 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
| | | | | | Add a new errcode type M_EXCLUSIVE when users try to create aliases inside AS namespaces, and when ASes try to create aliases outside their own namespace.
* Prevent aliases in AS namespaces being created/deleted by users. Check with ↵Kegan Dougal2015-02-051-9/+33
| | | | ASes when queried for room aliases via federation.
* Merge branch 'develop' into application-servicesKegan Dougal2015-02-051-1/+10
|\
| * When returning lists of servers from alias lookups, put the current server ↵Erik Johnston2015-02-041-1/+10
| | | | | | | | first in the list
* | 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 ↵Mark Haines2014-11-181-12/+6
| | | | can do them in the right point when creating a room
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-4/+1
| | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced.
* 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
| | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter
* Split PlainHttpClient into separate clients for talking to Identity servers ↵Mark Haines2014-10-021-2/+2
| | | | and talking to Capatcha servers
* 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 ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix up directory server to not require uploading room hosts. Update the room ↵Erik Johnston2014-09-031-1/+10
| | | | hosts table with the current room hosts (if we have them) on GET.
* Make retrying requests on DNS failures configurable, and turn off retrying ↵Kegan Dougal2014-09-031-1/+5
| | | | only in directory.get_association
* Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-141-6/+0
|
* Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans2014-08-131-20/+28
| | | | local_only hack; add unit tests
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+100