summary refs log tree commit diff
path: root/synapse/rest/room.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remember to URL decode the room_id in room initialSyncPaul "LeoNerd" Evans2014-11-181-1/+1
|
* Ensure to parse a real pagination config object out of room initialSync ↵Paul "LeoNerd" Evans2014-11-181-2/+4
| | | | request and pass it on
* Rename message handler's new snapshot_room to room_initial_sync() as that ↵Paul "LeoNerd" Evans2014-11-181-1/+1
| | | | better suits its purpose
* Merge branch 'develop' into room-initial-syncPaul "LeoNerd" Evans2014-11-171-1/+14
|\ | | | | | | | | Conflicts: synapse/handlers/message.py
| * Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-101-0/+13
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2014-11-071-3/+3
| |\ | | | | | | | | | federation_authorization
| * | Implement new replace_state and changed prev_stateErik Johnston2014-11-061-1/+1
| | | | | | | | | | | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced.
* | | Have room initialSync return the room's room_idPaul "LeoNerd" Evans2014-11-101-21/+6
| |/ |/|
* | Fix url decoding bugs with /redact and /send APIs.Kegan Dougal2014-11-051-2/+2
| |
* | Be sure to urlencode/decode event types correctly in both the web client and HS.Kegan Dougal2014-11-051-1/+1
|/
* Fix pep8 warningsMark Haines2014-10-301-20/+34
|
* Fix pyflakes warningsMark Haines2014-10-271-1/+1
|
* Merge branch 'deletions' of github.com:matrix-org/synapse into developErik Johnston2014-09-251-1/+37
|\
| * Rename deletions to redactionsErik Johnston2014-09-241-6/+6
| |
| * Add m.room.deletion. If an event is deleted it will be returned to clients ↵Erik Johnston2014-09-231-1/+37
| | | | | | | | 'pruned', i.e. all client specified keys will be removed.
* | Implemented /rooms/$roomid/state API.Kegan Dougal2014-09-231-6/+7
|/
* Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-1/+1
|
* Empty string is not a valid JSON object, so don't return them in HTTP responses.Erik Johnston2014-09-051-4/+4
|
* Implement a kick apiErik Johnston2014-09-031-2/+5
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Add ban support: /rooms/$roomid/ban with { user_id : foo }Kegan Dougal2014-09-031-2/+2
|
* Merge branch 'develop' of github.com:matrix-org/synapse into developErik Johnston2014-08-271-0/+46
|\
| * Added RestServlet for /rooms/$roomid/initialSyncKegan Dougal2014-08-271-0/+30
| |
| * Added RestServlet for /rooms/$roomid/stateKegan Dougal2014-08-271-0/+16
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-0/+12
|\|
| * Renamed /public/rooms to /publicRoomsKegan Dougal2014-08-271-0/+12
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-30/+64
|\| | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py
| * Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and ↵Kegan Dougal2014-08-271-17/+14
| | | | | | | | removed tests which tested that. Updated cmdclient and webclient.
| * Modified /join/$identifier to support $identifier being a room ID in ↵Kegan Dougal2014-08-271-13/+50
| | | | | | | | addition to a room alias.
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-261-112/+46
|\|
| * Pepper UT TODOsKegan Dougal2014-08-261-0/+5
| |
| * Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵Kegan Dougal2014-08-261-70/+0
| | | | | | | | Expanded the feedback constants to fully explain what type of feedback they are.
| * Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated ↵Kegan Dougal2014-08-261-49/+0
| | | | | | | | cmdclient, tests and webclient. All appears to work.
| * Added RoomSendEventRestServlet to send generic non-state events. It even ↵Kegan Dougal2014-08-261-2/+50
| | | | | | | | appears to work..!
* | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-261-1/+1
|/ | | | reflects the change in the underlying storage model.
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵Kegan Dougal2014-08-261-2/+2
| | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
* Fix pyflakes errorsMark Haines2014-08-261-1/+1
|
* Implemented /rooms/$roomid/[invite|join|leave] with POST / PUT (incl txn ids)Kegan Dougal2014-08-261-6/+30
|
* Added basic in-memory REST transaction storage. Only the latest transaction ↵Kegan Dougal2014-08-261-2/+8
| | | | for a given path/access_token combo is stored in order to prevent storing ALL request/response pairs.
* Added servlet for /rooms/$roomid/[invite|join|leave]Kegan Dougal2014-08-261-0/+40
|
* Adjusted webclient to use new state paths. Updated membership msg template ↵Kegan Dougal2014-08-261-1/+2
| | | | to actually show the person invited. Factored out common membership functions in matrix service.
* Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-81/+22
|
* Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ↵Kegan Dougal2014-08-221-12/+35
| | | | to RoomStateEventRestServlet. Support generic state event sending.
* Kill the "_homeserver_" injected messages for room membership changesPaul "LeoNerd" Evans2014-08-201-2/+2
|
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-8/+10
|\ | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * More unquotes. Also, don't return the room_id on membership state changes, ↵Kegan Dougal2014-08-191-6/+8
| | | | | | | | they already know it.
| * Unquote sender IDs.Kegan Dougal2014-08-191-2/+2
| |
* | Add a 'backfill room' buttonErik Johnston2014-08-191-0/+16
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-181-4/+8
|\|
| * Precent lack of presence visiblity from causing room /members/list to failPaul "LeoNerd" Evans2014-08-181-4/+8
| |
* | We don't need to do a json.loads hereErik Johnston2014-08-181-2/+2
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-151-0/+7
|\|
| * Also include users' presence when responding to /rooms/:room_id/members/listPaul "LeoNerd" Evans2014-08-151-0/+7
| |
* | Start fixing places that use the data store.Erik Johnston2014-08-141-18/+21
|/
* Add a HomeServer.parse_roomalias() to avoid having to ↵Paul "LeoNerd" Evans2014-08-131-5/+1
| | | | RoomAlias.from_sring(..., hs=hs) - similar to parse_userid()
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+394