Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow spam-checker modules to be provide async methods. (#8890) | David Teller | 2020-12-11 | 1 | -2/+4 |
| | | | | Spam checker modules can now provide async methods. This is implemented in a backwards-compatible manner. | ||||
* | Allow ThirdPartyEventRules modules to manipulate public room state (#8292) | Andrew Morgan | 2020-10-05 | 1 | -0/+10 |
| | | | | | This PR allows `ThirdPartyEventRules` modules to view, manipulate and block changes to the state of whether a room is published in the public rooms directory. While the idea of whether a room is in the public rooms list is not kept within an event in the room, `ThirdPartyEventRules` generally deal with controlling which modifications can happen to a room. Public rooms fits within that idea, even if its toggle state isn't controlled through a state event. | ||||
* | Enable mypy checking for unreachable code and fix instances. (#8432) | Patrick Cloke | 2020-10-01 | 1 | -1/+1 |
| | |||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Stop shadow-banned users from sending non-member events. (#8142) | Patrick Cloke | 2020-08-24 | 1 | -0/+6 |
| | |||||
* | Convert directory handler to async/await (#7727) | Patrick Cloke | 2020-06-22 | 1 | -39/+29 |
| | |||||
* | async/await is_server_admin (#7363) | Andrew Morgan | 2020-05-01 | 1 | -28/+23 |
| | |||||
* | Allow admins to create aliases when they are not in the room (#7191) | Patrick Cloke | 2020-04-01 | 1 | -1/+5 |
| | |||||
* | Allow deleting an alias if the user has sufficient power level (#6986) | Patrick Cloke | 2020-03-04 | 1 | -33/+74 |
| | |||||
* | Validate the alt_aliases property of canonical alias events (#6971) | Patrick Cloke | 2020-03-03 | 1 | -7/+7 |
| | |||||
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -2/+2 |
| | | | | Ensure good comprehension hygiene using flake8-comprehensions. | ||||
* | Do not send alias events when creating / upgrading a room (#6941) | Patrick Cloke | 2020-02-20 | 1 | -17/+2 |
| | | | Stop emitting room alias update events during room creation/upgrade. | ||||
* | Make room alias lists peekable | Richard van der Hoff | 2020-02-19 | 1 | -1/+3 |
| | | | | | | As per https://github.com/matrix-org/matrix-doc/pull/2432#pullrequestreview-360566830, make room alias lists accessible to users outside world_readable rooms. | ||||
* | Implement GET /_matrix/client/r0/rooms/{roomId}/aliases (#6939) | Richard van der Hoff | 2020-02-18 | 1 | -1/+16 |
| | | | | | per matrix-org/matrix-doc#2432 | ||||
* | Stop sending events when creating or deleting aliases (#6904) | Patrick Cloke | 2020-02-18 | 1 | -35/+40 |
| | | | Stop sending events when creating or deleting associations (room aliases). Send an updated canonical alias event if one of the alt_aliases is deleted. | ||||
* | Make /directory/room/<alias> handle restrictive power levels | Richard van der Hoff | 2020-01-29 | 1 | -1/+6 |
| | | | | | Fixes a bug where the alias would be added, but `PUT /directory/room/<alias>` would return a 403. | ||||
* | Clean up newline quote marks around the codebase (#6362) | Andrew Morgan | 2019-11-21 | 1 | -1/+1 |
| | |||||
* | Replace instance variations of homeserver with correct case/spacing | Andrew Morgan | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Remove last usages of deprecated logging.warn method (#6314) | Andrew Morgan | 2019-11-01 | 1 | -1/+1 |
| | |||||
* | Remove duplicate return statement | Andrew Morgan | 2019-07-31 | 1 | -1/+0 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -7/+7 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -87/+49 |
| | |||||
* | Do checks on aliases for incoming m.room.aliases events (#5128) | Brendan Abolivier | 2019-05-08 | 1 | -4/+3 |
| | | | | | Follow-up to #5124 Also added a bunch of checks to make sure everything (both the stuff added on #5124 and this PR) works as intended. | ||||
* | Add some limitations to alias creation | Brendan Abolivier | 2019-05-02 | 1 | -1/+21 |
| | |||||
* | Fix grammar and document get_current_users_in_room (#4998) | Andrew Morgan | 2019-04-03 | 1 | -2/+2 |
| | |||||
* | Disable publishing to room list when its disabled | Erik Johnston | 2019-03-20 | 1 | -0/+8 |
| | |||||
* | Only fetch aliases when publishing rooms | Erik Johnston | 2019-02-14 | 1 | -15/+15 |
| | |||||
* | Add configurable room list publishing rules | Erik Johnston | 2019-02-14 | 1 | -5/+24 |
| | | | | | This allows specifying who and what is allowed to be published onto the public room list | ||||
* | Fix flake8 (#4519) | Amber Brown | 2019-01-30 | 1 | -2/+2 |
| | |||||
* | Attempt to move room aliases on room upgrades | Richard van der Hoff | 2018-10-31 | 1 | -6/+28 |
| | |||||
* | Add config option to control alias creation | Erik Johnston | 2018-10-19 | 1 | -0/+9 |
| | |||||
* | Clean up room alias creation | Erik Johnston | 2018-10-19 | 1 | -30/+47 |
| | |||||
* | Reinstate missing null check | Richard van der Hoff | 2018-09-17 | 1 | -1/+1 |
| | |||||
* | Return a 404 when deleting unknown room alias | Richard van der Hoff | 2018-09-17 | 1 | -3/+16 |
| | | | | | | As per https://github.com/matrix-org/matrix-doc/issues/1675 Fixes https://github.com/matrix-org/synapse/issues/2782 | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -4/+5 |
| | |||||
* | s/replication_client/federation_client/ | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Split replication layer into two | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Split out edu/query registration to a separate class | Erik Johnston | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Update places where we create events | Erik Johnston | 2018-02-05 | 1 | -4/+3 |
| | |||||
* | spam check room publishing | David Baker | 2017-10-04 | 1 | -0/+8 |
| | |||||
* | Add room creation checks to spam checker | David Baker | 2017-10-04 | 1 | -0/+7 |
| | | | | | Lets the spam checker deny attempts to create rooms and add aliases to them. | ||||
* | Ignore backoff history for invites, aliases, and roomdirs | Richard van der Hoff | 2017-03-23 | 1 | -0/+1 |
| | | | | | Add a param to the federation client which lets us ignore historical backoff data for federation queries, and set it for a handful of operations. | ||||
* | Comments | Erik Johnston | 2016-12-07 | 1 | -1/+8 |
| | |||||
* | Add new API appservice specific public room list | Erik Johnston | 2016-12-06 | 1 | -0/+12 |
| | |||||
* | storage/appservice: make appservice methods only relying on the cache ↵ | Patrik Oldsberg | 2016-10-06 | 1 | -7/+4 |
| | | | | synchronous | ||||
* | Use state handler instead of get_users_in_room/get_joined_hosts | Erik Johnston | 2016-08-26 | 1 | -3/+5 |
| | |||||
* | Move the AS handler out of the Handlers object. | Mark Haines | 2016-05-31 | 1 | -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 string | Erik Johnston | 2016-03-22 | 1 | -0/+6 |
| | |||||
* | an invalide is something else... | Matthew Hodgson | 2016-03-22 | 1 | -1/+1 |
| | |||||
* | Add published room list edit API | Erik Johnston | 2016-03-21 | 1 | -0/+16 |
| | |||||
* | Check canonical alias event exists | Erik Johnston | 2016-03-17 | 1 | -1/+2 |
| | |||||
* | Update aliases event after deletion | Erik Johnston | 2016-03-17 | 1 | -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_delete | Erik Johnston | 2016-03-04 | 1 | -6/+21 |
|\ | | | | | Allow alias creators to delete aliases | ||||
| * | Allow alias creators to delete aliases | Erik Johnston | 2016-03-01 | 1 | -6/+21 |
| | | |||||
* | | Pass whole requester to ratelimiting | Daniel Wagner-Hall | 2016-03-03 | 1 | -8/+12 |
|/ | | | | This will enable more detailed decisions | ||||
* | Branch off member and non member sends | Daniel Wagner-Hall | 2016-02-15 | 1 | -1/+1 |
| | | | | Unclean, needs tidy-up, but works | ||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -2/+2 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Disallow whitespace in aliases here too | David Baker | 2015-05-14 | 1 | -0/+5 |
| | |||||
* | Implement exclusive namespace checks. | Kegan Dougal | 2015-02-27 | 1 | -2/+12 |
| | |||||
* | %s for strings otherwise you end up sending 'u"foo"' | David Baker | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | PEP8-ify | Kegan Dougal | 2015-02-11 | 1 | -3/+0 |
| | |||||
* | Fix bugs so lazy room joining works as intended. | Kegan Dougal | 2015-02-09 | 1 | -6/+17 |
| | |||||
* | Pyflakes: unused variable. | Kegan Dougal | 2015-02-06 | 1 | -1/+1 |
| | |||||
* | Grant ASes the ability to delete aliases in their own namespace. | Kegan Dougal | 2015-02-06 | 1 | -5/+23 |
| | |||||
* | Grant ASes the ability to create alias in their own namespace. | Kegan Dougal | 2015-02-06 | 1 | -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 Dougal | 2015-02-05 | 1 | -9/+33 |
| | | | | ASes when queried for room aliases via federation. | ||||
* | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-05 | 1 | -1/+10 |
|\ | |||||
| * | When returning lists of servers from alias lookups, put the current server ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+10 |
| | | | | | | | | first in the list | ||||
* | | Add unknown room alias check. Call it from directory_handler.get_association | Kegan Dougal | 2015-02-05 | 1 | -0/+7 |
|/ | |||||
* | Replace hs.parse_roomalias with RoomAlias.from_string | Mark Haines | 2015-01-23 | 1 | -1/+2 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Don't ratelimit room create events | Mark Haines | 2014-12-19 | 1 | -1/+1 |
| | |||||
* | clean up coding style a bit | Mark Haines | 2014-12-16 | 1 | -1/+0 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Rename MessageHandler.handle_event. Add a few comments. | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -12/+8 |
| | |||||
* | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 1 | -4/+4 |
| | |||||
* | Return 404 M_NOT_FOUND when trying to look up a room alias that doesn't exist | Mark Haines | 2014-11-21 | 1 | -12/+24 |
| | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -2/+3 |
| | |||||
* | SYN-153: Fix formatting of federation error message | Mark Haines | 2014-11-20 | 1 | -1/+1 |
| | |||||
* | SYN-153: Raise 404 if room alias is not found | Mark Haines | 2014-11-19 | 1 | -4/+8 |
| | |||||
* | SYN-149: Send join event immediately after the room create event | Mark Haines | 2014-11-18 | 1 | -2/+0 |
| | |||||
* | Split out sending the room alias events from creating the alias so that we ↵ | Mark Haines | 2014-11-18 | 1 | -12/+6 |
| | | | | can do them in the right point when creating a room | ||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -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_events | Erik Johnston | 2014-10-15 | 1 | -2/+3 |
| | |||||
* | Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵ | Mark Haines | 2014-10-02 | 1 | -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 Haines | 2014-10-02 | 1 | -2/+2 |
| | | | | and talking to Capatcha servers | ||||
* | SYN-2: Allow server admins to delete room aliases | Erik Johnston | 2014-09-30 | 1 | -16/+29 |
| | |||||
* | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 1 | -5/+33 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Fix up directory server to not require uploading room hosts. Update the room ↵ | Erik Johnston | 2014-09-03 | 1 | -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 Dougal | 2014-09-03 | 1 | -1/+5 |
| | | | | only in directory.get_association | ||||
* | Added a urls module for keeping client and federation prefixes. | Kegan Dougal | 2014-08-14 | 1 | -6/+0 |
| | |||||
* | Implement directory service federation by Federation Queries; avoid ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -20/+28 |
| | | | | local_only hack; add unit tests | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+100 |