summary refs log tree commit diff
path: root/synapse/handlers/events.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wrap calls to distributor.fire in appropriately named functions so that ↵Mark Haines2015-12-011-5/+15
| | | | static analysis can work out want is calling what
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-2/+8
| | | | Squash-merge of PR #345 from daniel/anonymousevents
* Remove unused arguments and codeDaniel Wagner-Hall2015-11-021-12/+1
|
* Split the sections of EventStreamHandler.get_stream that handle presenceMark Haines2015-10-091-35/+52
| | | | | | | into separate functions. This makes the code a bit easier to read, and means that we can reuse the logic when implementing the v2 sync API.
* Don't make pushers handle presence/typing eventsErik Johnston2015-08-241-2/+8
|
* Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_usersErik Johnston2015-08-191-1/+9
|
* Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-5/+3
|
* Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This ↵Erik Johnston2015-03-091-1/+1
| | | | uses the a storage api that is cached.
* Add some randomness to the user specified timeout on event streams to ↵Erik Johnston2015-03-061-0/+9
| | | | mitigate against thundering herds problems
* Add stub functions and work out execution flow to implement AS event stream ↵Kegan Dougal2015-02-251-3/+0
| | | | polling.
* Merge branch 'develop' into pushersDavid Baker2015-01-281-2/+6
|\ | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/server.py
| * Pass the current time to serialize event, rather than passing anMark Haines2015-01-261-1/+4
| | | | | | | | | | | | HS and getting a clock from it and calling time_msec on the clock. Remove the serialize_event method from the HS since it is no longer needed.
| * Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-1/+2
| |
* | Oops, remove debuggingDavid Baker2015-01-271-1/+0
| |
* | or of course we could just return the deferredDavid Baker2015-01-271-2/+1
| |
* | Need a defer.inlineCallbacks here as we yield in it: otherwise nothing in ↵David Baker2015-01-271-0/+1
| | | | | | | | the cb gets executed.
* | Unbreak bad presence merge - don't add these blocks together with an and: ↵David Baker2015-01-271-12/+14
| | | | | | | | they're different things.
* | Merge branch 'develop' into pushersDavid Baker2015-01-221-2/+0
|\| | | | | | | | | Conflicts: synapse/rest/__init__.py
| * Remove temporary debug logging that was accidentally committedMark Haines2015-01-161-2/+0
| |
* | Don't make the pushers' event streams cause people to appear onlineDavid Baker2015-01-151-21/+22
|/
* Return the raw federation event rather than adding extra keys for federation ↵Kegan Dougal2015-01-081-2/+2
| | | | data.
* Add 'raw' query parameter to expose the event graph and signatures to savvy ↵Kegan Dougal2015-01-081-2/+5
| | | | clients.
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Attempt to fix bug where we 500d an event stream due to trying to cancel a ↵Erik Johnston2014-11-261-3/+9
| | | | timer twice
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵Mark Haines2014-11-201-2/+4
| | | | because they don't interact well with the logging contexts
* Preserve logging context in a few more places, drop the logging context ↵Mark Haines2014-11-191-3/+5
| | | | after it has been stashed to reduce potential for confusion
* Correctly handle the 'age' key in events and pdusErik Johnston2014-09-151-6/+4
|
* 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.
* Fixed GET /events/$id to be not broken.Kegan Dougal2014-09-031-1/+3
|
* Don't query the rooms members table so much by using the new notifier api ↵Erik Johnston2014-08-281-1/+1
| | | | that allows you to specify room_ids to notify.
* Up timeout to 10 minutesErik Johnston2014-08-281-1/+1
|
* Add more logging. Up the event stream timer to 10sErik Johnston2014-08-281-1/+2
|
* Add logging to try and figure out what is going on with the presence stuffErik Johnston2014-08-281-0/+3
|
* PEP8 tweaks.Erik Johnston2014-08-271-1/+0
|
* Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-22/+77
|\ | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py
| * Added support for GET /events/$eventid with auth checks.Kegan Dougal2014-08-271-0/+26
| |
* | Implement presence event source. Change the way the notifier indexes listenersErik Johnston2014-08-271-1/+6
| |
* | Enable presence again. Fix up api to match old api.Erik Johnston2014-08-261-3/+10
| |
* | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-261-105/+19
|/ | | | reflects the change in the underlying storage model.
* Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-151-6/+2
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+149