Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typing tests | Erik Johnston | 2017-05-26 | 1 | -7/+5 |
| | |||||
* | Don't double json encode typing replication data | Erik Johnston | 2017-04-05 | 1 | -3/+1 |
| | |||||
* | Add new storage functions for new replication | Erik Johnston | 2017-03-30 | 1 | -0/+3 |
| | | | | | The new replication protocol will keep all the streams separate, rather than muxing multiple streams into one. | ||||
* | Use new federation_sender DI | Erik Johnston | 2016-11-16 | 1 | -2/+2 |
| | |||||
* | Fix infinite typing bug | Erik Johnston | 2016-10-24 | 1 | -2/+10 |
| | | | | | | | There's a bug somewhere that causes typing notifications to not be timed out properly. By adding a paranoia timer and using correct inequalities notifications should stop being stuck, even if it the root cause hasn't been fixed. | ||||
* | Move FEDERATION_PING_INTERVAL timer. Update log line | Erik Johnston | 2016-09-23 | 1 | -8/+10 |
| | |||||
* | Time out typing over federation | Erik Johnston | 2016-09-23 | 1 | -70/+105 |
| | |||||
* | Clobber EDUs in send queue | Erik Johnston | 2016-09-09 | 1 | -0/+1 |
| | |||||
* | Check the user_id for presence/typing matches origin | Erik Johnston | 2016-09-08 | 1 | -1/+8 |
| | |||||
* | Use state handler instead of get_users_in_room/get_joined_hosts | Erik Johnston | 2016-08-26 | 1 | -3/+6 |
| | |||||
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 1 | -4/+8 |
| | |||||
* | Don't hit DB for noop replications queries | Erik Johnston | 2016-06-08 | 1 | -0/+3 |
| | |||||
* | Fix typo | Erik Johnston | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Store the typing users as user_id strings. (#819) | Mark Haines | 2016-06-02 | 1 | -28/+36 |
| | | | Rather than storing them as UserID objects. | ||||
* | Move typing handler out of the Handlers object | Mark Haines | 2016-05-17 | 1 | -18/+15 |
| | |||||
* | Remove get_joined_rooms_for_user from RoomMemberHandler | Mark Haines | 2016-05-16 | 1 | -6/+0 |
| | |||||
* | Replaces calls to fetch_room_distributions_into with get_joined_hosts_for_room | Mark Haines | 2016-05-16 | 1 | -32/+22 |
| | |||||
* | Add a /replication API for extracting the updates that happened on | Mark Haines | 2016-03-01 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | synapse This is necessary for replicating the data in synapse to be visible to a separate service because presence and typing notifications aren't stored in a database so won't be visible to another process. This API can be used to either get the raw data by requesting the tables themselves or to just receive notifications for updates by following the streams meta-stream. Returns updates for each table requested a JSON array of arrays with a row for each row in the table. Each table is prefixed by a header row with the: name of the table, current stream_id position for the table, number of rows, number of columns and the names of the columns. This is followed by the rows that have been added to the server since the requester last asked. The API has a timeout and is hooked up to the notifier so that a slave can long poll for updates. | ||||
* | Measure some /sync related things | Erik Johnston | 2016-02-09 | 1 | -10/+13 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 2015-11-05 | 1 | -8/+3 |
| | | | | Squash-merge of PR #345 from daniel/anonymousevents | ||||
* | Remove needless existence checks | Erik Johnston | 2015-08-26 | 1 | -7/+3 |
| | |||||
* | Don't loop over all rooms ever in typing.get_new_events_for_user | Erik Johnston | 2015-08-26 | 1 | -2/+2 |
| | |||||
* | Consolidate duplicate code in notifier | Erik Johnston | 2015-07-02 | 1 | -1/+1 |
| | |||||
* | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -1/+3 |
| | |||||
* | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 1 | -1/+3 |
| | |||||
* | Filter typing nofication events to only those rooms the requesting user is a ↵ | Paul "LeoNerd" Evans | 2015-04-15 | 1 | -2/+14 |
| | | | | member of (SYN-328) | ||||
* | Have TypingNotificationEventSource.get_new_events_for_user() return a ↵ | Paul "LeoNerd" Evans | 2015-04-15 | 1 | -1/+1 |
| | | | | deferred, for consistency and extensibility | ||||
* | We do want to consumeError | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | |||||
* | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -1/+2 |
| | |||||
* | Don't try to cancel already-expired timers - SYN-230 | Paul "LeoNerd" Evans | 2015-01-13 | 1 | -2/+8 |
| | |||||
* | Use float rather than integer divisions to turn msec into sec - so timeouts ↵ | Paul "LeoNerd" Evans | 2015-01-12 | 1 | -1/+1 |
| | | | | under 1000msec will actually work | ||||
* | Make typing notification timeouts print a (debug) logging message | Paul "LeoNerd" Evans | 2015-01-12 | 1 | -1/+7 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | clean up coding style a bit | Mark Haines | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | User.is_mine is no longer a thing. Use hs.is_mine instead. | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-15 | 1 | -20/+105 |
|\ | | | | | | | | | Conflicts: tests/handlers/test_room.py | ||||
| * | Still send typing notifications to myself if I'm the only one in the room ↵ | Paul "LeoNerd" Evans | 2014-12-15 | 1 | -2/+1 |
| | | | | | | | | (it's a lonely life...) | ||||
| * | Send list of typing user IDs as 'user_ids' list within 'content', so that ↵ | Paul "LeoNerd" Evans | 2014-12-12 | 1 | -1/+3 |
| | | | | | | | | m.typing stream events have a toplevel content, for consistency with others | ||||
| * | When users leave rooms mark them as no longer typing in them | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+8 |
| | | |||||
| * | Actually auth-check to ensure people can only send typing notifications for ↵ | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+4 |
| | | | | | | | | rooms they're actually in | ||||
| * | Add a sprinkling of logger.debug() into typing notification handler | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+8 |
| | | |||||
| * | Initial hack at unit tests of room typing REST API | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+7 |
| | | |||||
| * | Avoid cyclic dependency in handler setup | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -4/+10 |
| | | |||||
| * | Hook up the event stream to typing notifications | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -2/+22 |
| | | |||||
| * | Store serial numbers per room for typing event stream purposes | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -13/+28 |
| | | |||||
| * | First hack at implementing timeouts in typing notification handler | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -3/+19 |
| | | |||||
* | | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 1 | -2/+2 |
|/ | |||||
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -6/+8 |
| | |||||
* | Construct a source-specific 'SourcePaginationConfig' to pass into ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -1/+1 |
| | | | | get_pagination_rows; meaning each source doesn't have to care about its own name any more | ||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Renamed get_current_token_part to get_current_key | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Have EventSource's get_new_events_for_user() API work only on keys within ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
| | | | | that source, not overall eventstream tokens | ||||
* | TypingNotificationEventSource has to return proper tokens, not int 0 | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
| | |||||
* | Define a new event stream data source for typing notifications (currently null) | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -0/+14 |
| | |||||
* | Fix pyflakes warnings | Mark Haines | 2014-08-28 | 1 | -1/+2 |
| | |||||
* | Initial typing notification support - EDU federation, but no timers, and no ↵ | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -0/+146 |
actual push to clients |