Commit Graph

150 Commits (d23bc77e2c0720e8e79dfa1a8c7289838c9b9794)

Author SHA1 Message Date
Erik Johnston 9b63def388 Add m.room.avatar to default power levels. Change default required power levels of such events to 50 10 years ago
Erik Johnston daa01842f8 Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_users 10 years ago
Erik Johnston d7272f8d9d Add canonical alias to the default power levels 10 years ago
Erik Johnston c456d17daf Implement specifying custom initial state for /createRoom 10 years ago
Erik Johnston 002a44ac1a s/everyone_ops/original_invitees_have_ops/ 10 years ago
Erik Johnston b49a30a972 Capitalize contants 10 years ago
Erik Johnston d5cc794598 Implement presets at room creation 10 years ago
Erik Johnston 1a3255b507 Add m.room.history_visibility to newly created rooms' m.room.power_levels 10 years ago
Mark Haines 53447e9cd3 Add caches for things requested by the pushers 10 years ago
David Baker 0c894e1ebd Throw error when creating room if alias contains whitespace #SYN-335 10 years ago
Erik Johnston 95dedb866f Unwrap defer.gatherResults failures 10 years ago
Erik Johnston 4df11b5039 Make get_current_token accept a direction parameter, which tells whether the source whether we want a token for going 'forwards' or 'backwards' 10 years ago
Erik Johnston da4ed08739 One too many lens 10 years ago
Erik Johnston 9060dc6b59 Change public room list to use defer.gatherResults 10 years ago
Paul "LeoNerd" Evans 48b6ee2b67 Create an 'invite' powerlevel when making new rooms 10 years ago
Mark Haines 24d21887ed SYN-350: Don't ratelimit the individual events generated during room creation 10 years ago
Erik Johnston 9a7f496298 Sanitize RoomMemberStore 10 years ago
Erik Johnston 8e28db5cc9 Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached. 10 years ago
Kegan Dougal dcec7175dc Finish impl to get new events for AS. ASes should now be able to poll /events 10 years ago
Kegan Dougal 2d20466f9a Add stub functions and work out execution flow to implement AS event stream polling. 10 years ago
Erik Johnston ed877d6585 Remove debug logging 10 years ago
Erik Johnston ddb816cf60 Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict 10 years ago
Erik Johnston e1515c3e91 Pass through list of room hosts from room alias query to federation so that it can retry against different room hosts 10 years ago
Mark Haines 7f6f3f9d62 Pass the current time to serialize event, rather than passing an 10 years ago
Mark Haines 1c06c48ce2 Replace hs.parse_roomid with RoomID.from_string 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Kegan Dougal 333836ff92 PEP8 and pyflakes warnings 10 years ago
Kegan Dougal 4c68460392 SYN-154: Tweak how the m.room.create check is done. 10 years ago
Kegan Dougal 9cb4f75d53 SYN-154: Better error messages when joining an unknown room by ID. 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston f0128f9600 Add RoomMemberStore.get_users_in_room, so that we can get the list of joined users without having to retrieve the full events 10 years ago
Mark Haines efd27ff01b Set a state_key for the topic and room name, otherwise they won't be treated as room state 10 years ago
Mark Haines 1e7f83b91d Set display name when joining via alias 10 years ago
Mark Haines 5739e6c606 s/user_id/sender/ 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 65cdf4e724 Get current member state from current_state snapshot. Fix leave test. 10 years ago
Paul "LeoNerd" Evans f25764943c Add a 'user_left_room' distributor signal analogous to 'user_joined_room' 10 years ago
Erik Johnston 4c682143c8 .from_string() no longer takes a HS 10 years ago
Erik Johnston 95aa903ffa Try and figure out how and why signatures are being changed. 10 years ago
Erik Johnston 008303b245 PEP8 10 years ago
Erik Johnston 5eca288d28 Fix joining from an invite 10 years ago
Erik Johnston 609c31e8df More bug fixes 10 years ago
Erik Johnston ee3df06183 More bug fixes 10 years ago
Erik Johnston e8323b9e34 More bug fixes 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 5d7c9ab789 Begin converting things to use the new Event structure 10 years ago
Paul "LeoNerd" Evans 307f94dcbe Squash room_ids list to a set() to remove duplicates - with TODO marker as I have no idea /why/ the dups are happening in the first place 10 years ago
Erik Johnston 9d53228158 Change DomainSpecificString so that it doesn't use a HomeServer object 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago