summary refs log tree commit diff
path: root/synapse/handlers/room.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
| * Create an 'invite' powerlevel when making new roomsPaul "LeoNerd" Evans2015-04-211-1/+2
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-271-4/+4
|\|
| * SYN-350: Don't ratelimit the individual events generated during room creationMark Haines2015-04-211-4/+4
* | Sanitize RoomMemberStoreErik Johnston2015-03-231-19/+0
|/
* Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This us...Erik Johnston2015-03-091-3/+3
* Finish impl to get new events for AS. ASes should now be able to poll /eventsKegan Dougal2015-02-261-1/+3
* Add stub functions and work out execution flow to implement AS event stream p...Kegan Dougal2015-02-251-9/+25
* Remove debug loggingErik Johnston2015-02-111-2/+0
* Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder...Erik Johnston2015-02-111-1/+3
* Pass through list of room hosts from room alias query to federation so that i...Erik Johnston2015-02-051-7/+5
* Pass the current time to serialize event, rather than passing anMark Haines2015-01-261-2/+5
* Replace hs.parse_roomid with RoomID.from_stringMark Haines2015-01-231-2/+0
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-7/+7
* PEP8 and pyflakes warningsKegan Dougal2015-01-071-1/+3
* SYN-154: Tweak how the m.room.create check is done.Kegan Dougal2015-01-071-2/+11
* SYN-154: Better error messages when joining an unknown room by ID.Kegan Dougal2015-01-071-3/+5
* Merge pull request #28 from matrix-org/erikj-perfMark Haines2015-01-061-8/+5
|\
| * Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ...Erik Johnston2015-01-061-8/+5
* | Update copyright noticesMark Haines2015-01-061-1/+1
|/
* Set a state_key for the topic and room name, otherwise they won't be treated ...Mark Haines2014-12-191-0/+2
* Set display name when joining via aliasMark Haines2014-12-191-0/+5
* s/user_id/sender/Mark Haines2014-12-191-1/+1
* Kill off synapse.api.events.*Erik Johnston2014-12-161-16/+12
* Rename MessageHandler.handle_event. Add a few comments.Erik Johnston2014-12-151-4/+4
* Get current member state from current_state snapshot. Fix leave test.Erik Johnston2014-12-151-3/+3
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-151-0/+7
|\
| * Add a 'user_left_room' distributor signal analogous to 'user_joined_room'Paul "LeoNerd" Evans2014-12-111-0/+7
* | .from_string() no longer takes a HSErik Johnston2014-12-101-2/+2
* | Try and figure out how and why signatures are being changed.Erik Johnston2014-12-101-5/+2
* | PEP8Erik Johnston2014-12-091-1/+1
* | Fix joining from an inviteErik Johnston2014-12-091-13/+3
* | More bug fixesErik Johnston2014-12-081-3/+8
* | More bug fixesErik Johnston2014-12-081-6/+1
* | More bug fixesErik Johnston2014-12-081-2/+2
* | Convert rest and handlers to use new event structureErik Johnston2014-12-041-77/+53
* | Begin converting things to use the new Event structureErik Johnston2014-12-041-0/+1
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-031-1/+5
|\|
| * Squash room_ids list to a set() to remove duplicates - with TODO marker as I ...Paul "LeoNerd" Evans2014-12-021-1/+5
* | Change DomainSpecificString so that it doesn't use a HomeServer objectErik Johnston2014-12-021-8/+11
|/
* Fix pep8 codestyle warningsMark Haines2014-11-201-2/+3
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext b...Mark Haines2014-11-201-2/+2
* Don't add a 'prev' key to m.room.member messagesErik Johnston2014-11-191-3/+0
* SYN-149: Enable auth for events added during room creation since they should ...Mark Haines2014-11-181-1/+1
* SYN-149: Send join event immediately after the room create eventMark Haines2014-11-181-24/+26
* Split out sending the room alias events from creating the alias so that we ca...Mark Haines2014-11-181-7/+10
* SYN-148: Add the alias after creating the roomMark Haines2014-11-171-9/+9
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-2/+8
* Implement invite part of invite join danceErik Johnston2014-11-071-20/+12
* Amalgamate all power levels.Erik Johnston2014-11-061-36/+16
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-12/+4
* Fix room handler testsErik Johnston2014-11-041-1/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into federation_autho...Erik Johnston2014-10-301-20/+6
|\
| * Construct a source-specific 'SourcePaginationConfig' to pass into get_paginat...Paul "LeoNerd" Evans2014-10-291-15/+6
| * Remove duplicate join_event from create_roomMark Haines2014-10-271-5/+0
* | Begin making auth use event.old_state_eventsErik Johnston2014-10-151-10/+9
|/
* Merge branch 'deletions' of github.com:matrix-org/synapse into developErik Johnston2014-09-251-0/+1
|\
| * Rename deletions to redactionsErik Johnston2014-09-241-1/+1
| * SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops lev...Erik Johnston2014-09-231-0/+1
* | Don't set the room name to be the room alias on room creation if the client d...Erik Johnston2014-09-241-11/+0
|/
* Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-1/+1
* Added num_joined_users key to /publicRooms for each room. Show this informati...Kegan Dougal2014-09-081-0/+6
* Add support for inviting people when you create a roomErik Johnston2014-09-061-0/+26
* Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-051-5/+7
* Change the default power levels to be 0, 50 and 100Erik Johnston2014-09-051-8/+8
* When creating a room and a user supplies a room_alias but no name, use the ro...Erik Johnston2014-09-031-0/+11
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Add copyright notices and fix pyflakes errorsMark Haines2014-09-031-2/+0
* Merge branch 'ratelimiting' into developMark Haines2014-09-031-0/+1
|\
| * rate limiting for message sendingMark Haines2014-09-021-0/+1
* | By default, only room ops can change the name and topic.Erik Johnston2014-09-021-0/+2
|/
* Add support for setting room name and topic when creating roomsErik Johnston2014-09-021-4/+29
* Don't set a 'default' key in the creation eventErik Johnston2014-09-011-1/+0
* Don't put required power levels on permission state eventsErik Johnston2014-09-011-2/+4
* Add all the necessary checks to make banning work.Erik Johnston2014-09-011-1/+11
* Add beginnings of ban support.Erik Johnston2014-09-011-20/+29
* Implement power level lists, default power levels and send_evnet_level/add_st...Erik Johnston2014-09-011-9/+22
* Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-09-011-0/+46
|\
| * Renamed get_current_token_part to get_current_keyPaul "LeoNerd" Evans2014-08-291-2/+2
| * Have EventSource's get_new_events_for_user() API work only on keys within tha...Paul "LeoNerd" Evans2014-08-291-5/+3
| * Rename 'events_key' to 'room_key' so it matches the name of the event sourcePaul "LeoNerd" Evans2014-08-291-5/+5
| * Move the *EventSource classes into the handlers they relate to, so it's easie...Paul "LeoNerd" Evans2014-08-291-0/+48
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-08-291-1/+2
|\|
| * Fix bug where we used UserID objects instead of strignsErik Johnston2014-08-281-1/+2
* | Create the correct events with the right configuration when creating a new room.Erik Johnston2014-08-281-19/+54
|/
* Split out MessageHandlerErik Johnston2014-08-271-275/+2
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-28/+41
|\
| * Remove stale FIXMEsErik Johnston2014-08-271-2/+0
| * Remove store_id from notifier.on_new_room_event calls.Erik Johnston2014-08-271-12/+7
| * Index sources in a nicer fashion.Erik Johnston2014-08-271-2/+2
| * Convert get_paginat_rows to use PaginationConfig. This allows people to suppl...Erik Johnston2014-08-271-8/+7
| * PEP8 tweaks.Erik Johnston2014-08-271-3/+9
| * Implement presence event source. Change the way the notifier indexes listenersErik Johnston2014-08-271-5/+10
| * Enable presence again. Fix up api to match old api.Erik Johnston2014-08-261-2/+2
| * WIP: Completely change how event streaming and pagination work. This reflects...Erik Johnston2014-08-261-21/+25
* | add _get_room_member, fix datastore methodsMark Haines2014-08-271-1/+1
* | Start updating state handling to use snapshotsMark Haines2014-08-271-3/+10
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-1/+5
|\|
| * Respect 'limit' param in initialSync apiErik Johnston2014-08-261-1/+5
* | Fold federation/handler into handlers/federationMark Haines2014-08-261-1/+2
* | Move new event boilerplate in room handlers into a method on a base clase.Mark Haines2014-08-261-51/+14
* | Use state_key rather than target_user_idMark Haines2014-08-261-1/+1
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-13/+36
|\|
| * Fix pyflakes errorsMark Haines2014-08-261-5/+1
| * Merge branch 'develop' of github.com:matrix-org/synapse into client_server_ur...Kegan Dougal2014-08-261-4/+29
| |\
| | * Turn off more spammy logging.Erik Johnston2014-08-221-1/+1
| | * Change IM sync api to also return the current presence list.Erik Johnston2014-08-211-3/+21
| | * In the initial sync api, return the inviter for rooms in the 'invited' stateErik Johnston2014-08-211-0/+4
| | * Return the current state in the initial sync api.Erik Johnston2014-08-211-0/+3
| * | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-7/+9
| |/
* | fix a few pyflakes errorsMark Haines2014-08-261-4/+3
* | Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-42/+55
|/
* Use the "collect_presencelike_data" distributor signal instead of re-implemen...Paul "LeoNerd" Evans2014-08-201-30/+2
* Fix exception name in _fill_out_join_content() exceptionPaul "LeoNerd" Evans2014-08-201-1/+3
* Kill the "_homeserver_" injected messages for room membership changesPaul "LeoNerd" Evans2014-08-201-56/+4
* Better handle the edge cases of trying to remote join roomsErik Johnston2014-08-201-37/+10
* Don't generate room membership messages. Include previous state of in members...Erik Johnston2014-08-201-7/+10
* Change the way pagination works to support out of order events.Erik Johnston2014-08-191-1/+2
* Fix typos in SQL and where we still had rowid's (which no longer exist)Erik Johnston2014-08-181-1/+1
* Make snapshot_all_rooms return results in the correct form, including start a...Erik Johnston2014-08-181-2/+7
* Disable the ability to GET individualy messages. We need to think about the c...Erik Johnston2014-08-181-5/+7
* Fix typo of key nameErik Johnston2014-08-151-1/+1
* PEP8 cleanupsErik Johnston2014-08-151-7/+10
* Fix pagination to work with new db schemaErik Johnston2014-08-151-24/+24
* Correctly return new token when returning events. Serialize events correctly.Erik Johnston2014-08-151-1/+4
* Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-151-36/+43
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-151-2/+2
|\
| * Reflect user's messages up to themselves before pushing it to federatoin; als...Paul "LeoNerd" Evans2014-08-141-2/+2
* | Reimplement the get public rooms api to work with new DB schemaErik Johnston2014-08-151-1/+1
* | Fix up typos and correct sql queriesErik Johnston2014-08-141-8/+2
* | Start fixing places that use the data store.Erik Johnston2014-08-141-13/+4
|/
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+808