summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sync.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow guest access if the user provides a list of rooms in the filterMark Haines2015-12-221-1/+9
|
* Remove accidentally committed debug loggingMark Haines2015-12-211-1/+0
|
* Fix spacingMark Haines2015-12-141-1/+1
|
* Fix logging to lie lessMark Haines2015-12-141-2/+9
|
* Add commentary for fix in PR#442Mark Haines2015-12-141-0/+6
|
* Combine the prev content testsMark Haines2015-12-141-14/+12
|
* Check whether prev_content or prev_sender is set before trying to rollback stateMark Haines2015-12-141-8/+13
|
* Allow filter JSON object in the filter query parameter in /syncMark Haines2015-12-091-9/+21
| | | | Documented by matrix-org/matrix-doc#224
* Add API for setting account_data globaly or on a per room basisMark Haines2015-12-011-0/+6
|
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-2/+2
|
* Merge branch 'develop' into rav/flatten_sync_responsePaul "LeoNerd" Evans2015-11-191-3/+3
|\
| * s/private_user_data/account_data/Mark Haines2015-11-181-3/+3
| |
* | Put back the 'state.events' subobjectRichard van der Hoff2015-11-191-1/+1
| | | | | | | | We're keeping 'events', in case we decide to add more keys later.
* | v2 /sync: Rename the keys of the 'rooms' object to match member statesRichard van der Hoff2015-11-191-3/+3
| | | | | | | | | | | | joined->join invited->invite archived->leave
* | Flatten the /sync response to remove the event_mapRichard van der Hoff2015-11-191-22/+13
|/
* Implementation of state rollback in /syncRichard van der Hoff2015-11-131-2/+65
| | | | | | | Implementation of SPEC-254: roll back the state dictionary to how it looked at the start of the timeline. Merged PR https://github.com/matrix-org/synapse/pull/373
* Make handlers.sync return a state dictionary, instead of an event list.Richard van der Hoff2015-11-131-1/+1
| | | | | | | | | Basically this moves the process of flattening the existing dictionary into a list up to rest.client.*, instead of doing it in handlers.sync. This simplifies a bit of the code in handlers.sync, but it is also going to be somewhat beneficial in the next stage of my hacking on SPEC-254. Merged from PR #371
* Update some commentsRichard van der Hoff2015-11-131-0/+56
| | | | | | | Add a couple of type annotations, docstrings, and other comments, in the interest of keeping track of what types I have. Merged from pull request #370.
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-1/+1
| | | | | | | This follows the same flows-based flow as regular registration, but as the only implemented flow has no requirements, it auto-succeeds. In the future, other flows (e.g. captcha) may be required, so clients should treat this like the regular registration flow choices.
* Include room tags in v2 /syncMark Haines2015-11-021-0/+5
|
* Implement full_state incremental syncRichard van der Hoff2015-10-261-2/+4
| | | | | | | | A hopefully-complete implementation of the full_state incremental sync, as specced at https://github.com/matrix-org/matrix-doc/pull/133. This actually turns out to be a relatively simple modification to the initial sync implementation.
* Merge pull request #319 from matrix-org/erikj/filter_refactorErik Johnston2015-10-221-2/+2
|\ | | | | Refactor api.filtering to have a Filter API
| * Refactor api.filtering to have a Filter APIErik Johnston2015-10-201-2/+2
| |
* | Add rooms that the user has left under archived in v2 sync.Mark Haines2015-10-191-6/+23
|/
* Include invites in incremental syncMark Haines2015-10-131-1/+1
|
* Include invited rooms in the initial syncMark Haines2015-10-131-1/+20
|
* Start spliting out the rooms into joined and invited in v2 syncMark Haines2015-10-131-9/+9
|
* Update the filters to match the latest spec.Mark Haines2015-10-121-15/+11
| | | | | Apply the filter the 'timeline' and 'ephemeral' keys of rooms. Apply the filter to the 'presence' key of a sync response.
* Set the user as online if they start polling the v2 syncMark Haines2015-10-091-3/+11
|
* Format the presence events correctly for v2Mark Haines2015-10-091-3/+9
|
* Update the v2 room sync format to match the current v2 specMark Haines2015-10-081-7/+7
|
* Update the sync response to match the latest specMark Haines2015-10-071-24/+22
|
* Move the rooms out into a room_map mapping from room_id to room.Mark Haines2015-10-051-13/+31
|
* Start updating the sync API to match the specificationMark Haines2015-10-011-53/+22
|
* Fix up one more referenceDaniel Wagner-Hall2015-08-251-3/+2
|
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-1/+1
| | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly.
* Combine the request wrappers in rest/media/v1 and http/server into a single ↵Mark Haines2015-04-211-9/+11
| | | | wrapper decorator
* Fix code-styleMark Haines2015-02-101-1/+1
|
* Pass client info to the sync_configMark Haines2015-01-301-1/+1
|
* Filter the recent events before applying the limit when doing an incremental ↵Mark Haines2015-01-301-1/+1
| | | | sync with a gap
* Add basic filtering supportMark Haines2015-01-291-5/+14
|
* Move typing notifs to an "emphermal" event list on the room objectMark Haines2015-01-291-2/+2
|
* Add typing notifications to syncMark Haines2015-01-291-10/+8
|
* Include transaction ids in unsigned section of events in the sync results ↵Mark Haines2015-01-291-7/+16
| | | | for the clients that made those requests
* Add ports back to demo/start.shMark Haines2015-01-281-1/+1
|
* Fix FormattingMark Haines2015-01-271-3/+2
|
* Start implementing the non-incremental sync portion of the v2 /sync APIMark Haines2015-01-261-28/+77
|
* Start implementing the v2_alpha sync APIMark Haines2015-01-231-0/+143