Commit Graph

351 Commits (e4c40158c5a8c95d6d2727247a3af183dd9a9e8d)

Author SHA1 Message Date
Kegan Dougal ad6d5ac06c Added RoomSendEventRestServlet to send generic non-state events. It even appears to work..! 10 years ago
Erik Johnston 9a93e83d90 Respect 'limit' param in initialSync api 10 years ago
Kegan Dougal 2e70de09b9 Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient. 10 years ago
Mark Haines 3281fec07a Use state_key rather than target_user_id 10 years ago
Mark Haines a29d12a18a Use state_key rather than target_user_id 10 years ago
Mark Haines ac21dfff6d Fix pyflakes errors 10 years ago
Mark Haines 32347bfcc9 fix a few pyflakes errors 10 years ago
Kegan Dougal 5c0be8fde3 Implemented /rooms/$roomid/[invite|join|leave] with POST / PUT (incl txn ids) 10 years ago
Mark Haines 4b2ad549d5 Move the event storage into a single transaction 10 years ago
Kegan Dougal 732d954f89 Added basic in-memory REST transaction storage. Only the latest transaction for a given path/access_token combo is stored in order to prevent storing ALL request/response pairs. 10 years ago
Erik Johnston 1291ac93f3 Add the ability to turn on the twisted manhole telnet service. 10 years ago
Erik Johnston a664ec20e0 Add a do_users_share_a_room method and use that in the presence handler. 10 years ago
Kegan Dougal 7d79021c42 Added servlet for /rooms/$roomid/[invite|join|leave] 10 years ago
Kegan Dougal 5796232cb1 Adjusted webclient to use new state paths. Updated membership msg template to actually show the person invited. Factored out common membership functions in matrix service. 10 years ago
Erik Johnston fea7b60cf3 Add 'state_key' to valid_keys 10 years ago
Erik Johnston b52b33acf6 Send down state_key to clients 10 years ago
Kegan Dougal cab3095803 Removed member list servlet: now using generic state paths. 10 years ago
Erik Johnston be6abdff19 Order 'get_recent_events_for_room' correctly. 10 years ago
Erik Johnston 2c4908ed26 Ensure that we don't have duplicate hosts in the pdu destinations list 10 years ago
Erik Johnston 0c3b4a1f63 For the content repo, don't just use homeserver.hostname as that might not include the port due to SRV. 10 years ago
Erik Johnston 9d86c8c7a6 Add a unique constraint on the room hosts table 10 years ago
Erik Johnston a9a5329a11 Encode unicode from json as utf-8. This was required to allow people to register on my laptop 10 years ago
Erik Johnston cda4ff8519 Oops, we need to use defer.returnValue. 10 years ago
Erik Johnston 5b058a79cb Make is_presence_visible always return true as it was thrashing the database. 10 years ago
Erik Johnston b18db63c06 Turn off more spammy logging. 10 years ago
Erik Johnston 537ecd4e99 Turn off spammy logging 10 years ago
Erik Johnston 9f514915af Add indices to schema 10 years ago
Mark Haines 1379dcae6f Take a snapshot of the state of the room before performing updates 10 years ago
Kegan Dougal f690b7b827 Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet to RoomStateEventRestServlet. Support generic state event sending. 10 years ago
Erik Johnston 808f663ed1 Don't return state event outlier's when paginating. 10 years ago
Erik Johnston c2e983b8db Bump versions to 0.0.1 10 years ago
Erik Johnston acf5127604 Make the content repo work with in daemon mode. Return the full url on upload. Update the webclient to use new content repo api. 10 years ago
Matthew Hodgson 1b0d427285 host a webclient by default 10 years ago
Erik Johnston 5670da1c1e Add ts field to all events. 10 years ago
Erik Johnston e7ee0b9fc1 Change IM sync api to also return the current presence list. 10 years ago
Erik Johnston 3d1cae0e79 In the initial sync api, return the inviter for rooms in the 'invited' state 10 years ago
Erik Johnston c6950b18cc Return the current state in the initial sync api. 10 years ago
Erik Johnston 063e1b22e6 Stop internal keys from getting into SynapseEvents 10 years ago
Erik Johnston 1587ea26fe Wait for getting a Join in response to an invite/join dance. 10 years ago
Erik Johnston 81a95937de Use new StreamToken in pagination config 10 years ago
Erik Johnston 7bec359408 Add in StreamToken type 10 years ago
Erik Johnston ebd3c41ede Make event stream storage return all membership events about the user, regardless of if they were in the room or not. 10 years ago
Paul "LeoNerd" Evans 583add34fe Use the "collect_presencelike_data" distributor signal instead of re-implementing its behaviour 10 years ago
Paul "LeoNerd" Evans 50718825bd Fix exception name in _fill_out_join_content() exception 10 years ago
Paul "LeoNerd" Evans e01bdf2432 Define __copy__ and __deepcopy__ as identity functions on DomainSpecificString, so that copy.deepcopy() will work on them 10 years ago
Paul "LeoNerd" Evans 9c0e570496 Kill the "_homeserver_" injected messages for room membership changes 10 years ago
Erik Johnston e8244c23ba Give the event_id of the failed event 10 years ago
Erik Johnston 5ef0948eaa Better handle the edge cases of trying to remote join rooms 10 years ago
Erik Johnston 849627b82e Don't generate room membership messages. Include previous state of in membership messages. 10 years ago
Erik Johnston d4fb1c8a92 Only hit get_room_events_stream if we have a valid user_id 10 years ago