summary refs log tree commit diff
path: root/synapse/handlers/room.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-3/+3
* Add option to enable encryption by default for new rooms (#7639)Andrew Morgan2020-06-101-27/+47
* Add option to move event persistence off master (#7517)Erik Johnston2020-05-221-0/+7
* Add ability to wait for replication streams (#7542)Erik Johnston2020-05-221-20/+45
* On upgrade room only send canonical alias once. (#7547)Erik Johnston2020-05-221-55/+60
* Convert the room handler to async/await. (#7396)Patrick Cloke2020-05-041-24/+18
* async/await is_server_admin (#7363)Andrew Morgan2020-05-011-63/+58
* Check on room creation if the user is allowed to publish the room to the room...PeerD2020-04-131-0/+7
* Default PL100 to enable encryption in a room (#7230)Andrew Morgan2020-04-091-0/+1
* Remove special casing of `m.room.aliases` events (#7034)Patrick Cloke2020-03-171-15/+1
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-1/+1
* Do not send alias events when creating / upgrading a room (#6941)Patrick Cloke2020-02-201-23/+13
* Stop sending events when creating or deleting aliases (#6904)Patrick Cloke2020-02-181-5/+1
* Raise the default power levels for invites, tombstones and server acls (#6834)Andrew Morgan2020-02-171-1/+9
* Third party event rules Update (#6781)PeerD2020-02-061-1/+5
* Reduce amount of logging at INFO level. (#6862)Erik Johnston2020-02-061-5/+5
* Fix detecting unknown devices from remote encrypted events. (#6848)Erik Johnston2020-02-041-1/+1
* s/get_room_version/get_room_version_id/Richard van der Hoff2020-01-311-1/+1
* Set the PL for aliases events to 0.Richard van der Hoff2020-01-291-2/+15
* Factor out a `copy_power_levels_contents` methodRichard van der Hoff2020-01-291-12/+11
* Add `rooms.room_version` column (#6729)Erik Johnston2020-01-271-20/+32
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-6/+18
* Fix some test failures when frozen_dicts are enabled (#6642)Richard van der Hoff2020-01-061-6/+9
* Fix power levels being incorrectly set in old and new rooms after a room upgr...Andrew Morgan2020-01-061-7/+10
* Change EventContext to use the Storage class (#6564)Erik Johnston2019-12-201-1/+1
* Merge release-v1.7.1 into developRichard van der Hoff2019-12-181-2/+5
|\
| * Incorporate reviewBrendan Abolivier2019-12-161-1/+1
| * Use the filtered version of an event when responding to /context requests for...Brendan Abolivier2019-12-161-1/+4
* | Remove unused `get_pagination_rows` methods. (#6557)Erik Johnston2019-12-171-12/+0
|/
* Merge branch 'develop' into babolivier/context_filtersBrendan Abolivier2019-12-041-5/+31
|\
| * Transfer power level state events on room upgrade (#6237)Andrew Morgan2019-12-021-5/+31
* | Incorporate reviewBrendan Abolivier2019-12-041-2/+1
* | Also filter state eventsBrendan Abolivier2019-11-061-1/+7
* | Only filter if a filter was providedBrendan Abolivier2019-11-051-4/+6
* | Update copyrightBrendan Abolivier2019-11-051-1/+2
* | Filter events_before and events_after in /context requestsBrendan Abolivier2019-11-051-2/+4
|/
* Depublish a room from the public rooms list when it is upgraded (#6232)Andrew Morgan2019-11-011-1/+7
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-14/+15
* Merge pull request #6294 from matrix-org/erikj/add_state_storageErik Johnston2019-10-311-2/+4
|\
| * Port to use state storageErik Johnston2019-10-301-2/+4
* | Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-1/+1
|/
* Add domain validation when creating room with list of invitees (#6121)werner2912019-10-101-1/+3
* Use the v2 Identity Service API for lookups (MSC2134 + MSC2140) (#5976)Andrew Morgan2019-09-111-1/+3
* Remove double return statements (#5962)Andrew Morgan2019-09-031-1/+0
* Don't create broken room when power_level_content_override.users does not con...Michael Telatynski2019-08-151-1/+13
* Replace returnValue with return (#5736)Amber Brown2019-07-231-8/+8
* Prevent multiple upgrades on the same room at once (#5051)Andrew Morgan2019-06-251-51/+89
* Run Black. (#5482)Amber Brown2019-06-201-184/+111
* Add third party rules hook into create roomErik Johnston2019-06-171-1/+24
* Add config option for setting homeserver's default room version (#5223)Andrew Morgan2019-05-231-2/+7
* Add some limitations to alias creationBrendan Abolivier2019-05-021-1/+2
* Transfer related groups on room upgrade (#4990)Andrew Morgan2019-04-021-0/+1
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-8/+3
* lintAndrew Morgan2019-02-181-1/+3
* Move member event processing and changelog fixAndrew Morgan2019-02-181-9/+7
* Membership events are done laterAndrew Morgan2019-02-181-12/+20
* Transfer bans on room upgradeAndrew Morgan2019-02-181-0/+14
* Transfer Server ACLs on room upgradeAndrew Morgan2019-02-111-0/+1
* New function for getting room's create eventAndrew Morgan2019-01-311-7/+1
* lintAndrew Morgan2019-01-311-2/+4
* Copy over non-federatable trait on room upgradeAndrew Morgan2019-01-301-0/+14
* Merge pull request #4482 from matrix-org/erikj/event_auth_room_versionErik Johnston2019-01-281-1/+4
|\
| * Pass through room version to event authErik Johnston2019-01-251-1/+4
* | Join logic covers both room creator and arbitrary usersAndrew Morgan2019-01-221-33/+0
* | tags, m.direct copying over correctlyAndrew Morgan2019-01-221-9/+13
* | Migrating dm and room tags work for migratorAndrew Morgan2019-01-221-2/+13
* | Prevent crash on user who doesn't have any direct roomsAndrew Morgan2019-01-221-1/+1
* | Preserve DM status of a room on upgradeAndrew Morgan2019-01-221-0/+19
* | Fix typoAndrew Morgan2019-01-221-2/+2
|/
* Migrate encryption state on room upgrade (#4411)Andrew Morgan2019-01-211-0/+1
* create support user (#4141)Neil Johnson2018-12-141-1/+1
* Merge pull request #4101 from matrix-org/rav/aliases_for_upgradesRichard van der Hoff2018-10-311-8/+112
|\
| * Avoid else clause on exception for clarityRichard van der Hoff2018-10-311-2/+1
| * Attempt to move room aliases on room upgradesRichard van der Hoff2018-10-311-8/+113
* | Log some bits about event creation (#4121)Richard van der Hoff2018-10-311-0/+4
|/
* Merge pull request #4100 from matrix-org/rav/room_upgrade_avatarRichard van der Hoff2018-10-291-1/+2
|\
| * Remember to copy the avatar on room upgradesRichard van der Hoff2018-10-261-1/+2
* | Better handling of odd PLs during room upgradesRichard van der Hoff2018-10-271-44/+81
|/
* optimise state copyingRichard van der Hoff2018-10-261-7/+5
* Address review commentsRichard van der Hoff2018-10-261-7/+9
* restrict PLs in old roomRichard van der Hoff2018-10-251-1/+43
* copy stateRichard van der Hoff2018-10-251-11/+26
* preserve PLsRichard van der Hoff2018-10-251-1/+7
* preserve room visibilityRichard van der Hoff2018-10-251-3/+5
* Basic initial support for room upgradesRichard van der Hoff2018-10-251-0/+121
* Allow power_level_content_override=None for _send_events_for_new_roomRichard van der Hoff2018-10-251-5/+6
* Make room_member_handler a member of RoomCreationHandlerRichard van der Hoff2018-10-251-6/+3
* Factor _generate_room_id out of create_roomRichard van der Hoff2018-10-251-22/+23
* Refactor state group lookup to reduce DB hits (#4011)Erik Johnston2018-10-251-10/+12
* Clean up room alias creationErik Johnston2018-10-191-2/+3
* block event creation and room creation on hitting resource limitsNeil Johnson2018-08-161-0/+4
* Don't expose default_room_version as config optRichard van der Hoff2018-08-071-1/+2
* Basic support for room versioningRichard van der Hoff2018-08-031-1/+26
* make /context lazyload & filter aware (#3567)Matthew Hodgson2018-07-271-3/+21
* Replace usage of get_current_toke with StreamToken.STARTErik Johnston2018-07-241-5/+7
* Move RoomContextHandler out of HandlersErik Johnston2018-07-181-1/+5
* run isortAmber Brown2018-07-091-11/+8
* Add error code to room creation errorMichael Wagner2018-06-141-2/+6
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-1/+1
* Reject attempts to send event before privacy consent is givenRichard van der Hoff2018-05-221-0/+4
* Infrastructure for a server notices roomRichard van der Hoff2018-05-171-2/+14
* Move RoomCreationHandler out of synapse.handlers.HandlersRichard van der Hoff2018-05-171-2/+6
* Remove ability for AS users to call /events and /syncErik Johnston2018-03-051-6/+3
* Move RoomMemberHandler out of HandlersErik Johnston2018-03-011-2/+2
* Update copyrightErik Johnston2018-02-061-0/+1
* Update places where we create eventsErik Johnston2018-02-051-6/+4
* PEP8Erik Johnston2017-11-281-1/+1
* Fix wrong avatars when inviting multiple users when creating roomErik Johnston2017-11-281-5/+5
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Remove pointless create() methodRichard van der Hoff2017-10-201-2/+2
* un-double indentDavid Baker2017-10-041-1/+1
* Add room creation checks to spam checkerDavid Baker2017-10-041-0/+8
* Change to create new room and join other usersErik Johnston2017-06-191-4/+17
* Add per user ratelimiting overridesErik Johnston2017-05-101-1/+1
* Remove unused paramErik Johnston2017-02-201-1/+1
* Fix /context/ visibiltiy rulesErik Johnston2017-02-201-1/+4
* Make presence.get_new_events a bit fasterErik Johnston2017-02-021-0/+1
* Merge pull request #653 from matrix-org/erikj/preset_guest_joinErik Johnston2016-12-051-0/+10
|\
| * Enable guest access for private rooms by defaultErik Johnston2016-03-171-0/+10
* | Fix incredubly slow back pagination queryErik Johnston2016-10-241-2/+5
* | storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-1/+1
* | Move RoomListHandler into a separate fileErik Johnston2016-09-141-158/+1
* | Add is_direct param to /createRoomErik Johnston2016-09-121-0/+6
* | Add server param to /publicRoomsErik Johnston2016-09-081-0/+10
* | Cache federation state responsesErik Johnston2016-07-211-2/+2
* | Pull full state for each room all at onceErik Johnston2016-06-081-16/+16
* | Fix room list spideringDavid Baker2016-06-011-1/+1
* | Add cache to remote room listsDavid Baker2016-05-311-4/+30
* | Basic, un-cached support for secondary_directory_serversDavid Baker2016-05-311-1/+32
* | move filter_events_for_client out of base handlerMark Haines2016-05-111-2/+5
* | Run filter_events_for_clientDavid Baker2016-04-271-1/+1
* | Don't return empty public roomsErik Johnston2016-04-121-5/+8
* | Move all the wrapper functions for distributor.fireMark Haines2016-04-081-15/+0
* | Add concurrently_execute functionErik Johnston2016-04-011-10/+7
* | Split out RoomMemberHandlerErik Johnston2016-03-311-602/+3
* | Line lengthErik Johnston2016-03-311-1/+3
* | Only forget room if you were in the roomErik Johnston2016-03-301-1/+2
* | Require user to have left room to forget roomErik Johnston2016-03-301-6/+16
* | Add a response cache for getting the public room listMark Haines2016-03-241-1/+11
* | Ensure all old public rooms have aliasesErik Johnston2016-03-231-4/+5
* | Ensure published rooms have public join rulesErik Johnston2016-03-231-0/+7
* | CommentErik Johnston2016-03-231-0/+3
* | Don't require alias in public room list.Erik Johnston2016-03-231-14/+13
|/
* Add config to create guest account on 3pid inviteErik Johnston2016-03-141-25/+32
* Send the user ID matching the guest access token, since there is no Matrix AP...David Baker2016-03-071-0/+5
* Merge pull request #623 from matrix-org/rav/fix_createroom_raceRichard van der Hoff2016-03-041-1/+1
|\
| * Make sure we add all invited members before returning from createRoomRichard van der Hoff2016-03-041-1/+1
* | Merge remote-tracking branch 'origin/develop' into rav/SYN-642Richard van der Hoff2016-03-031-31/+45
|\|
| * Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-31/+45
* | Fix typoRichard van der Hoff2016-03-031-1/+1
* | Move arg default to the start of the functionRichard van der Hoff2016-03-021-2/+3
* | Address review commentsRichard van der Hoff2016-03-021-2/+3
* | Handle rejections of invites from local users locallyRichard van der Hoff2016-03-011-5/+18
|/
* Generate guest access token on 3pid invitesDaniel Wagner-Hall2016-02-241-0/+8
* Allow third_party_signed to be specified on /joinDaniel Wagner-Hall2016-02-231-8/+59
* Review commentsDaniel Wagner-Hall2016-02-181-5/+4
* Some cleanupDaniel Wagner-Hall2016-02-171-66/+58
* Respond to federated invite with non-empty contextDaniel Wagner-Hall2016-02-171-40/+12
* Some cleanup, some TODOs, more to doDaniel Wagner-Hall2016-02-161-68/+60
* Some cleanupDaniel Wagner-Hall2016-02-161-19/+20
* Tidy? up room creation event sendingDaniel Wagner-Hall2016-02-161-63/+72
* Merge branch 'develop' into daniel/roomcleanupincrementalDaniel Wagner-Hall2016-02-161-3/+3
|\
| * Simplify room creation codeDaniel Wagner-Hall2016-02-151-40/+28
* | Branch off member and non member sendsDaniel Wagner-Hall2016-02-151-34/+46
* | Simplify room creation codeDaniel Wagner-Hall2016-02-151-37/+25
* | Use update_membership for profile updatesDaniel Wagner-Hall2016-02-151-4/+0
* | Use update_membership to kick guestsDaniel Wagner-Hall2016-02-151-2/+9
* | Reuse update_membership from /joinDaniel Wagner-Hall2016-02-151-3/+9
* | Inline _do_local_membership_updateDaniel Wagner-Hall2016-02-151-18/+7
* | Inline _do_join as it now only has one callerDaniel Wagner-Hall2016-02-151-48/+47
* | Merge implementation of /join by alias or IDDaniel Wagner-Hall2016-02-151-25/+15
* | Merge some room joining codepathsDaniel Wagner-Hall2016-02-151-4/+10
|/
* Revert "Merge two of the room join codepaths"Daniel Wagner-Hall2016-02-121-35/+9
* Merge two of the room join codepathsDaniel Wagner-Hall2016-02-121-9/+35
* Return events in correct order for /eventsErik Johnston2016-02-111-0/+1
* Fix up logcontextsErik Johnston2016-02-081-2/+9
* PEP8Erik Johnston2016-02-031-1/+1
* Remove unused methodErik Johnston2016-02-031-8/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/public_roo...Erik Johnston2016-02-031-3/+8
|\
| * Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
| * s/get_room_changes_for_user/get_membership_changes_for_user/Erik Johnston2016-02-021-1/+1
| * WARN if we get a topo token instead of stream.Erik Johnston2016-02-021-1/+6
* | Change the way we do public room list fetchingErik Johnston2016-02-021-23/+63
|/
* Order things correctlyErik Johnston2016-02-011-1/+1
* Switch over /events to use per room cachesErik Johnston2016-02-011-5/+20
* Allow non-guests to peek on rooms using /eventsDaniel Wagner-Hall2016-01-201-1/+1
* Require unbanning before other membership changesDaniel Wagner-Hall2016-01-151-2/+53
* Remove unused parametersDaniel Wagner-Hall2016-01-151-11/+5
* Merge branch 'release-v0.12.1' into developRichard van der Hoff2016-01-141-12/+23
|\
| * Add 'event' result to 'context' endpointRichard van der Hoff2016-01-131-12/+23
| * Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-131-2/+0
* | Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-051-2/+0
* | Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-1/+1
* | Use named argsErik Johnston2016-01-051-2/+2
* | Support inviting 3pids in /createRoomErik Johnston2016-01-051-0/+16
|/
* Return room avatar URLs in /publicRoomsDaniel Wagner-Hall2015-12-211-2/+21
* Give the IS a bunch more 3pid invite contextDaniel Wagner-Hall2015-12-161-7/+60
* Add caches for whether a room has been forgotten by a userMark Haines2015-12-101-1/+1
* Add commentsMark Haines2015-12-021-0/+3
* Merge branch 'develop' into markjh/edu_frequencyMark Haines2015-12-021-9/+15
|\
| * Wrap calls to distributor.fire in appropriately named functions so that stati...Mark Haines2015-12-011-9/+15
* | Only fire user_joined_room on the distributor if the user has actually joined...Mark Haines2015-12-011-4/+6
|/
* Allow users to forget roomsDaniel Wagner-Hall2015-11-171-0/+3
* Fix missing profile data in federation joinsErik Johnston2015-11-121-1/+2
* Allow guests to access room context APIDaniel Wagner-Hall2015-11-111-3/+9
* Allow guest users to join and message roomsDaniel Wagner-Hall2015-11-101-1/+15
* Get display name from identity server, not clientDaniel Wagner-Hall2015-11-091-5/+3
* Exchange 3pid invites for m.room.member invitesDaniel Wagner-Hall2015-11-051-8/+11
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-1/+10
* Remove more unused parametersDaniel Wagner-Hall2015-11-021-1/+0
* DocsErik Johnston2015-10-281-0/+13
* Add room context apiErik Johnston2015-10-281-0/+42
* Allow rejecting invitesDaniel Wagner-Hall2015-10-201-41/+61
* Verify third party ID server certificatesDaniel Wagner-Hall2015-10-161-2/+29
* Use non-placeholder name for endpointDaniel Wagner-Hall2015-10-151-1/+1
* Look for keys on the right objectsDaniel Wagner-Hall2015-10-151-2/+2
* Move logic into handlerDaniel Wagner-Hall2015-10-131-0/+132
* Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-131-4/+7
* Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-051-2/+21
|\
| * Add 'trusted_private_chat' to room creation presetsErik Johnston2015-10-021-0/+5
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatableErik Johnston2015-10-021-65/+12
| |\
| | * Merge pull request #287 from matrix-org/erikj/canonical_aliasErik Johnston2015-09-301-1/+10
| | |\
| | | * Remove double indentationErik Johnston2015-09-301-7/+6
| | | * Set m.room.canonical_alias on room creation.Erik Johnston2015-09-231-1/+11
| * | | Add flag which disables federation of the roomErik Johnston2015-09-011-2/+6
* | | | Implement third party identifier invitesDaniel Wagner-Hall2015-10-011-0/+4
| |/ / |/| |
* | | Merge pull request #288 from matrix-org/markjh/unused_definitionsMark Haines2015-09-281-26/+0
|\ \ \ | |_|/ |/| |
| * | synapse/handlers/room.py:_should_invite_join was unusedMark Haines2015-09-231-26/+0
* | | Merge pull request #271 from matrix-org/erikj/default_historyErik Johnston2015-09-231-1/+1
|\ \ \ | |/ / |/| |
| * | Change default history visibility for private roomsErik Johnston2015-09-091-1/+1
| |/
* | Remove undocumented and unimplemented 'feedback' parameter from the Client-Se...Mark Haines2015-09-091-1/+0
* | Allow users that have left the room to view the member list from the point th...Mark Haines2015-09-091-36/+0
|/
* Add m.room.avatar to default power levels. Change default required power leve...Erik Johnston2015-08-201-2/+3
* Merge pull request #233 from matrix-org/erikj/canonical_aliasErik Johnston2015-08-201-0/+1
|\
| * Add canonical alias to the default power levelsErik Johnston2015-08-191-0/+1
* | Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_usersErik Johnston2015-08-191-8/+2
|/
* Implement specifying custom initial state for /createRoomErik Johnston2015-07-161-40/+60
* s/everyone_ops/original_invitees_have_ops/Erik Johnston2015-07-141-3/+3
* Capitalize contantsErik Johnston2015-07-141-4/+4
* Implement presets at room creationErik Johnston2015-07-131-22/+60
* Add m.room.history_visibility to newly created rooms' m.room.power_levelsErik Johnston2015-07-061-0/+1
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-3/+1
|\
| * Add caches for things requested by the pushersMark Haines2015-05-211-3/+1
* | Throw error when creating room if alias contains whitespace #SYN-335David Baker2015-05-141-0/+5
* | Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-121-2/+2
|\ \
| * | Unwrap defer.gatherResults failuresErik Johnston2015-05-121-2/+2
| |/
* / Make get_current_token accept a direction parameter, which tells whether the ...Erik Johnston2015-05-121-2/+2
|/
* One too many lensErik Johnston2015-05-011-1/+1
* Change public room list to use defer.gatherResultsErik Johnston2015-05-011-5/+13
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-281-1/+2
|\