Commit Graph

57 Commits (0b1688639750e2401571263c127817d0b0a43644)

Author SHA1 Message Date
Mark Haines 388581e087 Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events 10 years ago
Mark Haines 7f6f3f9d62 Pass the current time to serialize event, rather than passing an 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Kegan Dougal b5924cae04 Add raw query param for scrollback. 10 years ago
Kegan Dougal edb557b2ad Return the raw federation event rather than adding extra keys for federation data. 10 years ago
Erik Johnston 5940ec993b Add missing continuation indent. 10 years ago
Kegan Dougal 5720ab59e0 Add 'raw' query parameter to expose the event graph and signatures to savvy clients. 10 years ago
Erik Johnston 9e5545a6fa RoomsForUser now has sender instead of user_id 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines f70e622d59 bump_presence_active_time when sending a message event 10 years ago
Mark Haines a999f0dec3 Don't ratelimit room create events 10 years ago
Erik Johnston f06161a307 Enable rate limiting for all events 10 years ago
Mark Haines 627e4f01d2 Remove send_message since nothing was calling it. Remove Snapshot because only send_message was using it 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 63810c777d Validate message, topic and name event contents 10 years ago
Erik Johnston b245ee34ed Add some basic event validation 10 years ago
Erik Johnston 02db7eb209 Fix bug when uploading state with empty state_key 10 years ago
Erik Johnston 95aa903ffa Try and figure out how and why signatures are being changed. 10 years ago
Erik Johnston ee3df06183 More bug fixes 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 9d53228158 Change DomainSpecificString so that it doesn't use a HomeServer object 10 years ago
Erik Johnston 64fc859dac Fix bugs in invite/join dances. 10 years ago
Paul "LeoNerd" Evans 5f19c55731 SYN-58: Allow passing explicit limit=0 to initialSync to request no messages at all; missing still implies default 10 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago
Mark Haines 32090aee16 Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts 10 years ago
Mark Haines 54c438d8d3 Remove unused variable 10 years ago
Paul "LeoNerd" Evans 75e95c45a2 Rename message handler's new snapshot_room to room_initial_sync() as that better suits its purpose 10 years ago
Paul "LeoNerd" Evans 33d328d967 Include room members' presence in room initialSync 10 years ago
Paul "LeoNerd" Evans 17f977a9de Include 'messages' snapshot in room initialSync 10 years ago
Erik Johnston 61ecb13bf0 PEP8ify 10 years ago
Erik Johnston 37900a92db Only allow people in a room to look up room state. 10 years ago
Paul "LeoNerd" Evans c23afed39a Include room membership in room initialSync 10 years ago
Paul "LeoNerd" Evans 1fd8139138 Put room state in room initialSync output - I guess this is right; I really can't find any other tests similar... 10 years ago
Paul "LeoNerd" Evans 269f80bf8e Have room initialSync return the room's room_id 10 years ago
Erik Johnston 4317c8e583 Implement new replace_state and changed prev_state 10 years ago
Paul "LeoNerd" Evans d6bcffa929 Construct a source-specific 'SourcePaginationConfig' to pass into get_pagination_rows; meaning each source doesn't have to care about its own name any more 10 years ago
Erik Johnston 5ffe5ab43f Use state groups to get current state. Make join dance actually work. 10 years ago
Mark Haines 456017e0ae SPEC-7: Don't stamp event contents with 'hsob_ts' 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 10 years ago
Kegan Dougal 0c4ae63ad5 Implemented /rooms/$roomid/state API. 10 years ago
Kegan Dougal c707b7d128 SYWEB-3 : Added 'visibility' key to rooms returned via /initialSync 10 years ago
Erik Johnston 5bd9369a62 Correctly handle the 'age' key in events and pdus 10 years ago
Erik Johnston 9dd4570b68 Generate m.room.aliases event when the HS creates a room alias 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Erik Johnston e4c40158c5 Snapshot prev_state for generic events 10 years ago
Mark Haines 780548b577 rate limiting for message sending 10 years ago
Erik Johnston ed25abe05f Add message to assertion 10 years ago
Paul "LeoNerd" Evans 1c6ab2d759 Bump a user's presence last_active time every time they send a message to a room 10 years ago
Paul "LeoNerd" Evans fd696f1243 Perform room unit tests with 'local' users actually in the right domain ;) 10 years ago