| Commit message (Expand) | Author | Age | Files | Lines |
* | Annotate `log_function` decorator (#10943) | reivilibre | 2021-10-27 | 1 | -0/+2 |
* | Improve docstrings for methods related to sending EDUs to application service... | Andrew Morgan | 2021-10-21 | 1 | -5/+29 |
* | Add missing type hints to synapse.api. (#11109) | Patrick Cloke | 2021-10-18 | 1 | -1/+1 |
* | Fix issue causing sending presence to ASes to fail (due to incomplete type an... | reivilibre | 2021-09-30 | 1 | -1/+3 |
* | Add type hints for event streams. (#10856) | Patrick Cloke | 2021-09-21 | 1 | -3/+5 |
* | Require type hints in the handlers module. (#10831) | Patrick Cloke | 2021-09-20 | 1 | -18/+27 |
* | Use direct references for some configuration variables (part 2) (#10812) | Patrick Cloke | 2021-09-15 | 1 | -6/+6 |
* | Add types to synapse.util. (#10601) | reivilibre | 2021-09-10 | 1 | -2/+3 |
* | Additional type hints for REST servlets (part 2). (#10674) | Patrick Cloke | 2021-08-26 | 1 | -0/+5 |
* | Do not remove `status_msg` when user going offline (#10550) | Dirk Klimpel | 2021-08-09 | 1 | -7/+4 |
* | Use inline type hints in `handlers/` and `rest/`. (#10382) | Jonathan de Jong | 2021-07-16 | 1 | -15/+13 |
* | Only send a presence state to a destination once (#10165) | Erik Johnston | 2021-06-11 | 1 | -13/+12 |
* | Fix sending presence over federation when using workers (#10163) | Erik Johnston | 2021-06-11 | 1 | -6/+19 |
* | Use a database table to hold the users that should have full presence sent to... | Andrew Morgan | 2021-05-18 | 1 | -26/+110 |
* | Increase perf of handling presence when joining large rooms. (#9916) | Erik Johnston | 2021-05-05 | 1 | -72/+82 |
* | Use get_current_users_in_room from store and not StateHandler (#9910) | Erik Johnston | 2021-05-05 | 1 | -1/+1 |
* | Merge remote-tracking branch 'origin/release-v1.33.0' into develop | Erik Johnston | 2021-04-28 | 1 | -1/+23 |
|\ |
|
| * | Fix tight loop handling presence replication. (#9900) | Erik Johnston | 2021-04-28 | 1 | -1/+23 |
* | | Add type hints to presence handler (#9885) | Erik Johnston | 2021-04-28 | 1 | -70/+89 |
|/ |
|
* | Use current state table for `presence.get_interested_remotes` (#9887) | Erik Johnston | 2021-04-27 | 1 | -7/+2 |
* | Split presence out of master (#9820) | Erik Johnston | 2021-04-23 | 1 | -20/+36 |
* | Remove `synapse.types.Collection` (#9856) | Richard van der Hoff | 2021-04-22 | 1 | -1/+2 |
* | Add presence federation stream (#9819) | Erik Johnston | 2021-04-20 | 1 | -20/+223 |
* | Fix bug where we sent remote presence states to remote servers (#9850) | Erik Johnston | 2021-04-20 | 1 | -3/+8 |
* | Don't send normal presence updates over federation replication stream (#9828) | Erik Johnston | 2021-04-19 | 1 | -15/+63 |
* | Move some replication processing out of generic_worker (#9796) | Erik Johnston | 2021-04-14 | 1 | -0/+246 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
* | Bump black configuration to target py36 (#9781) | Dan Callahan | 2021-04-13 | 1 | -1/+1 |
* | Add a Synapse Module for configuring presence update routing (#9491) | Andrew Morgan | 2021-04-06 | 1 | -43/+235 |
* | Incorporate review | Brendan Abolivier | 2021-03-19 | 1 | -1/+1 |
* | Fix lint | Brendan Abolivier | 2021-03-19 | 1 | -7/+6 |
* | Move support for MSC3026 behind an experimental flag | Brendan Abolivier | 2021-03-18 | 1 | -2/+10 |
* | Implement MSC3026: busy presence state | Brendan Abolivier | 2021-03-18 | 1 | -1/+2 |
* | Prevent presence background jobs from running when presence is disabled (#9530) | Aaron Raimist | 2021-03-03 | 1 | -14/+17 |
* | Be smarter about which hosts to send presence to when processing room joins (... | Andrew Morgan | 2021-02-19 | 1 | -14/+42 |
* | Remove dead notify_for_states presence method (#9408) | Andrew Morgan | 2021-02-17 | 1 | -11/+0 |
* | Fix only handling the last presence state for each user (#9425) | Andrew Morgan | 2021-02-17 | 1 | -2/+5 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -10/+5 |
* | Use TYPE_CHECKING instead of magic MYPY variable. (#8770) | Patrick Cloke | 2020-11-17 | 1 | -3/+2 |
* | Fix cache call signature to accept `on_invalidate`. (#8684) | Erik Johnston | 2020-10-29 | 1 | -5/+7 |
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -2/+2 |
* | Clean up types for PaginationConfig (#8250) | Erik Johnston | 2020-09-08 | 1 | -3/+0 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
* | Add type hints for state. (#8140) | Patrick Cloke | 2020-08-24 | 1 | -3/+3 |
* | Convert stream database to async/await. (#8074) | Patrick Cloke | 2020-08-17 | 1 | -1/+1 |
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -2/+2 |
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 1 | -2/+2 |
* | Convert presence handler helpers to async/await. (#7939) | Patrick Cloke | 2020-07-23 | 1 | -23/+20 |
* | Refactor getting replication updates from database. (#7636) | Erik Johnston | 2020-06-16 | 1 | -3/+26 |
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 1 | -8/+6 |
* | Add option to move event persistence off master (#7517) | Erik Johnston | 2020-05-22 | 1 | -0/+6 |
* | Ignore incoming presence updates when presence is disabled (#7508) | Andrew Morgan | 2020-05-15 | 1 | -2/+4 |
* | Stop the master relaying USER_SYNC for other workers (#7318) | Richard van der Hoff | 2020-04-22 | 1 | -95/+115 |
* | Remove concept of a non-limited stream. (#7011) | Erik Johnston | 2020-03-20 | 1 | -2/+2 |
* | Port PresenceHandler to async/await (#6991) | Erik Johnston | 2020-02-26 | 1 | -105/+87 |
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -3/+3 |
* | Fix an error which was thrown by the PresenceHandler _on_shutdown handler. (#... | Richard van der Hoff | 2020-01-06 | 1 | -7/+2 |
* | Add database config class (#6513) | Erik Johnston | 2019-12-18 | 1 | -1/+1 |
* | Fix presence timeouts when synchrotron restarts. (#6212) | Erik Johnston | 2019-10-18 | 1 | -4/+9 |
* | Fix races in room stats (and other) updates. (#6187) | Richard van der Hoff | 2019-10-10 | 1 | -4/+12 |
* | fix typo | Matthew Hodgson | 2019-09-03 | 1 | -1/+1 |
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -2/+2 |
* | Move some timeout checking logs to DEBUG #5785 | Amber Brown | 2019-07-30 | 1 | -1/+1 |
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -31/+23 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -2/+2 |
* | Fixup comment | Erik Johnston | 2019-07-01 | 1 | -6/+13 |
* | Fix sync tightloop bug. | Erik Johnston | 2019-06-21 | 1 | -2/+12 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -153/+158 |
* | Fix missing logcontext for PresenceHandler.on_shutdown. (#5369) | Richard van der Hoff | 2019-06-06 | 1 | -1/+7 |
* | Fix background updates to handle redactions/rejections (#5352) | Erik Johnston | 2019-06-06 | 1 | -4/+7 |
* | Fix "db txn 'update_presence' from sentinel context" log messages (#5275) | Richard van der Hoff | 2019-05-28 | 1 | -52/+47 |
* | Fix infinite loop in presence handler | Richard van der Hoff | 2019-04-26 | 1 | -0/+5 |
* | Fix grammar and document get_current_users_in_room (#4998) | Andrew Morgan | 2019-04-03 | 1 | -1/+1 |
* | Remove presence lists (#4989) | Neil Johnson | 2019-04-03 | 1 | -165/+2 |
* | Use an assert | Erik Johnston | 2019-03-28 | 1 | -2/+1 |
* | Review comments | Erik Johnston | 2019-03-28 | 1 | -44/+62 |
* | Use event streams to calculate presence | Erik Johnston | 2019-03-27 | 1 | -29/+130 |
* | Avoid rebuilding Edu objects in worker mode (#4770) | Richard van der Hoff | 2019-03-04 | 1 | -3/+3 |
* | Integrate presence from hotfixes (#3694) | Amber Brown | 2018-08-18 | 1 | -7/+19 |
* | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -0/+5 |
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 1 | -1/+1 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -11/+10 |
* | Remove all global reactor imports & pass it around explicitly (#3424) | Amber Brown | 2018-06-25 | 1 | -2/+2 |
* | Consistently use six's iteritems and wrap lazy keys/values in list() if they'... | Amber Brown | 2018-05-31 | 1 | -6/+6 |
* | Merge remote-tracking branch 'origin/develop' into 3218-official-prom | Amber Brown | 2018-05-28 | 1 | -7/+8 |
|\ |
|
| * | Merge pull request #3244 from NotAFile/py3-six-4 | Amber Brown | 2018-05-24 | 1 | -7/+8 |
| |\ |
|
| | * | replace some iteritems with six | Adrian Tschira | 2018-05-19 | 1 | -7/+8 |
* | | | cleanup | Amber Brown | 2018-05-22 | 1 | -4/+8 |
* | | | cleanups, self-registration | Amber Brown | 2018-05-22 | 1 | -3/+4 |
* | | | Merge remote-tracking branch 'origin/develop' into 3218-official-prom | Amber Brown | 2018-05-22 | 1 | -56/+5 |
|\| | |
|
| * | | Stub out ServerNoticesSender on the workers | Richard van der Hoff | 2018-05-22 | 1 | -4/+0 |
| * | | Send users a server notice about consent | Richard van der Hoff | 2018-05-22 | 1 | -1/+9 |
| |/ |
|
| * | Remove unused `update_external_syncs` | Richard van der Hoff | 2018-05-17 | 1 | -55/+0 |
* | | replacing portions | Amber Brown | 2018-05-21 | 1 | -29/+29 |
|/ |
|
* | Improve exception handling for background processes | Richard van der Hoff | 2018-04-27 | 1 | -4/+15 |
* | Split replication layer into two | Erik Johnston | 2018-03-13 | 1 | -1/+0 |
* | Split out edu/query registration to a separate class | Erik Johnston | 2018-03-13 | 1 | -4/+6 |
* | typo | Matthew Hodgson | 2017-11-17 | 1 | -1/+1 |
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
* | Make presence use cached users/hosts in room | Erik Johnston | 2017-05-16 | 1 | -3/+3 |
* | Reuse get_interested_parties | Erik Johnston | 2017-04-12 | 1 | -16/+5 |
* | Move get_interested_parties | Erik Johnston | 2017-04-11 | 1 | -35/+34 |
* | Comments | Erik Johnston | 2017-04-11 | 1 | -2/+3 |
* | Move get_interested_remotes back to presence handler | Erik Johnston | 2017-04-11 | 1 | -3/+49 |
* | Reduce federation presence replication traffic | Erik Johnston | 2017-04-10 | 1 | -40/+14 |
* | Use iteritems | Erik Johnston | 2017-04-06 | 1 | -2/+2 |
* | Add a timestamp to USER_SYNC command | Erik Johnston | 2017-03-31 | 1 | -7/+7 |
* | Fix up presence | Erik Johnston | 2017-03-31 | 1 | -1/+3 |
* | Remove user from process_presence when stops syncing | Erik Johnston | 2017-03-30 | 1 | -0/+1 |
* | Add functions to presence to support remote syncs | Erik Johnston | 2017-03-30 | 1 | -0/+66 |
* | Cache hosts in room | Erik Johnston | 2017-03-24 | 1 | -2/+1 |
* | Don't recreate so many sets | Erik Johnston | 2017-03-16 | 1 | -8/+9 |
* | Merge pull request #2014 from Half-Shot/hs/fix-appservice-presence | Erik Johnston | 2017-03-15 | 1 | -1/+4 |
|\ |
|
| * | Add a great comment to handle_timeout for active vs sync times. | Will Hunt | 2017-03-15 | 1 | -0/+2 |
| * | Add fallback to last_active_ts if it beats the last sync time. | Will Hunt | 2017-03-15 | 1 | -1/+2 |
* | | Cache set of users whose presence the other user should see | Erik Johnston | 2017-03-15 | 1 | -13/+27 |
* | | Comment | Erik Johnston | 2017-03-15 | 1 | -0/+3 |
* | | Format presence events on the edges instead of reformatting them multiple times | Erik Johnston | 2017-03-15 | 1 | -15/+15 |
|/ |
|
* | Cache get_presence storage | Erik Johnston | 2017-02-13 | 1 | -1/+1 |
* | Make presence.get_new_events a bit faster | Erik Johnston | 2017-02-02 | 1 | -29/+15 |
* | Use DB cache of joined users for presence | Erik Johnston | 2017-01-30 | 1 | -3/+3 |
* | Use new federation_sender DI | Erik Johnston | 2016-11-16 | 1 | -5/+6 |
* | Fix typo "persiting" | Paul "LeoNerd" Evans | 2016-09-13 | 1 | -2/+2 |
* | Clobber EDUs in send queue | Erik Johnston | 2016-09-09 | 1 | -15/+5 |
* | Deduplicate presence in _update_states | Erik Johnston | 2016-09-09 | 1 | -0/+6 |
* | Check the user_id for presence/typing matches origin | Erik Johnston | 2016-09-08 | 1 | -0/+7 |
* | Record counts of state changes | Erik Johnston | 2016-09-06 | 1 | -0/+4 |
* | Short circuit if presence is the same | Erik Johnston | 2016-09-06 | 1 | -0/+3 |
* | Fiddle should_notify to better report stats | Erik Johnston | 2016-09-06 | 1 | -12/+7 |
* | Record why we have chosen to notify | Erik Johnston | 2016-09-05 | 1 | -0/+8 |
* | Fix typo in log line | Erik Johnston | 2016-09-01 | 1 | -1/+1 |
* | Merge pull request #1055 from matrix-org/erikj/occaisonally_persist | Erik Johnston | 2016-08-30 | 1 | -0/+28 |
|\ |
|
| * | Check correct variable | Erik Johnston | 2016-08-30 | 1 | -1/+1 |
| * | Occaisonally persist unpersisted presence updates | Erik Johnston | 2016-08-30 | 1 | -0/+28 |
* | | Don't notify for online -> online transitions. | Erik Johnston | 2016-08-30 | 1 | -1/+6 |
|/ |
|
* | Use state handler instead of get_users_in_room/get_joined_hosts | Erik Johnston | 2016-08-26 | 1 | -4/+9 |
* | Make synchrotron accept /events | Erik Johnston | 2016-08-12 | 1 | -8/+19 |
* | Don't change status_msg on /sync | Will Hunt | 2016-08-10 | 1 | -3/+6 |
* | .values() returns list of sets | Erik Johnston | 2016-06-06 | 1 | -1/+2 |
* | Fix typos | Erik Johnston | 2016-06-06 | 1 | -32/+36 |
* | Fire after 30s not 8h | Erik Johnston | 2016-06-06 | 1 | -1/+1 |
* | Change metric style | Erik Johnston | 2016-06-03 | 1 | -5/+4 |
* | Presence metrics. Change def of small delta | Erik Johnston | 2016-06-03 | 1 | -5/+10 |
* | Allow external processes to mark a user as syncing. (#812) | Mark Haines | 2016-06-02 | 1 | -13/+106 |
* | Merge pull request #787 from matrix-org/markjh/liberate_presence_handler | Mark Haines | 2016-05-17 | 1 | -19/+21 |
|\ |
|
| * | Don't inherit PresenceHandler from BaseHandler, remove references to self.hs ... | Mark Haines | 2016-05-16 | 1 | -19/+21 |
| * | Move the presence handler out of the Handlers object | Mark Haines | 2016-05-16 | 1 | -1/+1 |
* | | Spell "domain" correctly | Mark Haines | 2016-05-16 | 1 | -2/+2 |
|/ |
|
* | Add and use get_domian_from_id | Erik Johnston | 2016-05-09 | 1 | -2/+2 |
* | Reduce database inserts when sending transactions | Erik Johnston | 2016-05-06 | 1 | -1/+1 |
* | Remove another unused function from presence | Mark Haines | 2016-03-17 | 1 | -4/+0 |
* | Remove dead code left over from presence changes | Mark Haines | 2016-03-17 | 1 | -4/+0 |
* | Merge pull request #612 from matrix-org/erikj/cache_size | Erik Johnston | 2016-03-02 | 1 | -0/+4 |
|\ |
|
| * | Add enviroment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 | Erik Johnston | 2016-03-01 | 1 | -0/+4 |
* | | Add a /replication API for extracting the updates that happened on | Mark Haines | 2016-03-01 | 1 | -0/+19 |
|/ |
|
* | Check presence token interval is less than 100, rather than the token itself | Erik Johnston | 2016-02-23 | 1 | -4/+4 |
* | Merge pull request #602 from matrix-org/erikj/presence | Erik Johnston | 2016-02-23 | 1 | -19/+45 |
|\ |
|
| * | Handle get_all_entities_changed returning None | Erik Johnston | 2016-02-23 | 1 | -0/+3 |
| * | Add comments | Erik Johnston | 2016-02-23 | 1 | -0/+4 |
| * | Change the way we figure out presence updates for small deltas | Erik Johnston | 2016-02-23 | 1 | -17/+36 |
* | | Merge pull request #600 from matrix-org/erikj/presence | Erik Johnston | 2016-02-23 | 1 | -26/+30 |
|\| |
|
| * | Don't include defer.returnValue in Measure block | Erik Johnston | 2016-02-23 | 1 | -9/+12 |
| * | Measure PresenceEventSource.get_new_events | Erik Johnston | 2016-02-23 | 1 | -34/+35 |
* | | Pick up currently_active across federation | Erik Johnston | 2016-02-23 | 1 | -0/+1 |
|/ |
|
* | Correctly filter states | Erik Johnston | 2016-02-19 | 1 | -2/+2 |
* | Only send presence updates to remote hosts if user is ours | Erik Johnston | 2016-02-19 | 1 | -2/+10 |
* | Add Measures to presence | Erik Johnston | 2016-02-19 | 1 | -57/+62 |
* | Add presence metric | Erik Johnston | 2016-02-19 | 1 | -0/+3 |
* | Remove spurious extra metrics | Erik Johnston | 2016-02-19 | 1 | -1/+0 |
* | Don't set currently_active for remote presence | Erik Johnston | 2016-02-19 | 1 | -6/+12 |
* | More metrics | Erik Johnston | 2016-02-19 | 1 | -0/+6 |
* | Add presence metrics | Erik Johnston | 2016-02-19 | 1 | -0/+8 |
* | Remove invalid arg. | Erik Johnston | 2016-02-18 | 1 | -1/+0 |
* | Add unit test | Erik Johnston | 2016-02-18 | 1 | -93/+187 |
* | Add stuff pulled from the DB to the cache | Erik Johnston | 2016-02-18 | 1 | -2/+4 |
* | PEP8 | Erik Johnston | 2016-02-18 | 1 | -2/+2 |
* | Prefix TS fields with _ts | Erik Johnston | 2016-02-18 | 1 | -27/+27 |
* | Remove status_msg when going offline. Don't offline -> online if you send a m... | Erik Johnston | 2016-02-18 | 1 | -5/+15 |
* | Check presence state is a valid one | Erik Johnston | 2016-02-18 | 1 | -0/+6 |
* | Move if statement | Erik Johnston | 2016-02-18 | 1 | -8/+8 |
* | Comment | Erik Johnston | 2016-02-18 | 1 | -0/+2 |
* | Remove spurious comment | Erik Johnston | 2016-02-17 | 1 | -1/+0 |
* | Initial cut | Erik Johnston | 2016-02-17 | 1 | -1031/+631 |
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -9/+11 |
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Wrap calls to distributor.fire in appropriately named functions so that stati... | Mark Haines | 2015-12-01 | 1 | -7/+11 |
* | Rename presence_handler.send_invite to presence_handler.send_presence_invite ... | Mark Haines | 2015-12-01 | 1 | -1/+1 |
* | Allow guest users to join and message rooms | Daniel Wagner-Hall | 2015-11-10 | 1 | -1/+2 |
* | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 2015-11-05 | 1 | -2/+2 |
* | Fix some races in the synapse presence handler caused by not yielding on defe... | Mark Haines | 2015-10-09 | 1 | -3/+8 |
* | Typo | Erik Johnston | 2015-08-18 | 1 | -1/+1 |
* | None check | Erik Johnston | 2015-08-18 | 1 | -0/+2 |
* | More helpful variable names | Erik Johnston | 2015-08-18 | 1 | -7/+7 |
* | Doc strings | Erik Johnston | 2015-08-18 | 1 | -0/+28 |
* | Remove debug try/catch | Erik Johnston | 2015-08-18 | 1 | -47/+43 |
* | Implement a batched presence_handler.get_state and use it | Erik Johnston | 2015-08-17 | 1 | -0/+63 |
* | Consolidate duplicate code in notifier | Erik Johnston | 2015-07-02 | 1 | -1/+1 |
* | Don't do unecessary db ops in presence.get_state | Erik Johnston | 2015-06-16 | 1 | -14/+14 |
* | Add a cache for getting the presence list for a user | Mark Haines | 2015-05-22 | 1 | -9/+15 |
* | Remove spurious TODO comment | Mark Haines | 2015-05-22 | 1 | -1/+0 |
* | Removed unused 'is_visible' method | Mark Haines | 2015-05-20 | 1 | -27/+0 |
* | Clean up the presence_list checking logic a bit | Mark Haines | 2015-05-20 | 1 | -12/+9 |
* | Speed up the get_pagination_rows as well | Mark Haines | 2015-05-18 | 1 | -3/+17 |
* | Cache the most recent serial for each room | Mark Haines | 2015-05-18 | 1 | -6/+22 |
* | Move updating the serial and state of the presence cache into a single function | Mark Haines | 2015-05-18 | 1 | -17/+43 |
* | Merge branch 'notifier_performance' into markjh/presence_performance | Mark Haines | 2015-05-18 | 1 | -0/+4 |
|\ |
|
| * | Merge branch 'develop' into notifier_performance | Mark Haines | 2015-05-18 | 1 | -49/+220 |
| |\ |
|
| * \ | Merge branch 'notifier_unify' into notifier_performance | Mark Haines | 2015-05-14 | 1 | -20/+6 |
| |\ \ |
|
| * | | | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -0/+4 |
* | | | | Add more doc string, reduce C+P boilerplate for getting room list | Mark Haines | 2015-05-18 | 1 | -6/+22 |
| |_|/
|/| | |
|
* | | | More whitespace | Mark Haines | 2015-05-15 | 1 | -0/+1 |
* | | | Add some missed argument types, cleanup the whitespace a bit | Mark Haines | 2015-05-14 | 1 | -6/+17 |
* | | | More doc-strings | Mark Haines | 2015-05-14 | 1 | -39/+202 |
* | | | Remove unused arguments and doc PresenceHandler.push_update_to_clients | Mark Haines | 2015-05-14 | 1 | -12/+8 |
| |/
|/| |
|
* | | Revert "Improvement to performance of presence event stream handling" | Mark Haines | 2015-05-12 | 1 | -20/+6 |
|/ |
|
* | Merge pull request #147 from matrix-org/presence-performance | Mark Haines | 2015-05-12 | 1 | -6/+20 |
|\ |
|
| * | Use the presence cachemap ordering to early-abort the iteration loop | Paul "LeoNerd" Evans | 2015-05-07 | 1 | -2/+7 |
| * | Store presence cachemap in an ordered dict, so that the newer serials will be... | Paul "LeoNerd" Evans | 2015-05-07 | 1 | -4/+13 |
* | | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 1 | -4/+6 |
* | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -19/+15 |
|/ |
|
* | Fix off by one in presence token handling | Erik Johnston | 2015-04-29 | 1 | -1/+1 |
* | Ensure we never miss any presence updates | Erik Johnston | 2015-04-28 | 1 | -1/+7 |
* | Fix typo | Erik Johnston | 2015-04-28 | 1 | -1/+1 |
* | Ensure the serial returned by presence is always an integer | Erik Johnston | 2015-04-28 | 1 | -3/+3 |
* | Remove users from the remote_offline_serials list (and clean up empty element... | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -1/+11 |
* | Don't let the remote offline serial list grow arbitrarily large | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -0/+5 |
* | Store a list of the presence serial number at which remote users went offline... | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -0/+21 |
* | Generate presence event-stream JSON structures directly | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -8/+9 |
* | Reduce activity timer granularity to avoid too many quick updates (SYN-247) | Paul "LeoNerd" Evans | 2015-03-23 | 1 | -0/+8 |
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+3 |
* | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+1 |
* | Add a scalar gauge metric on the size of the presence user cachemap | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+7 |
* | Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This us... | Erik Johnston | 2015-03-09 | 1 | -3/+3 |
* | Use consumeErrors=True on all DeferredLists. | Erik Johnston | 2015-02-17 | 1 | -4/+4 |
* | Fix code-style | Mark Haines | 2015-02-10 | 1 | -4/+4 |
* | Code-style fixes | Mark Haines | 2015-02-10 | 1 | -1/+3 |
* | Merge branch 'develop' into pushers | David Baker | 2015-01-28 | 1 | -11/+12 |
|\ |
|
| * | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -11/+12 |
* | | Reset badge count to zero when last active time is bumped | David Baker | 2015-01-28 | 1 | -0/+5 |
|/ |
|
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-04 | 1 | -5/+7 |
|\ |
|
| * | @log_function on PresenceStream's get_new_events_for_user() | Paul "LeoNerd" Evans | 2014-12-03 | 1 | -1/+3 |
| * | Store any incoming presence push in the local cache anyway, even if there's n... | Paul "LeoNerd" Evans | 2014-12-03 | 1 | -4/+4 |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-03 | 1 | -0/+5 |
|\| |
|
| * | Extra verbosity on logging of received presence info | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -0/+5 |
* | | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 1 | -19/+19 |
|/ |
|
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext b... | Mark Haines | 2014-11-20 | 1 | -21/+27 |
* | Initialise UserPresenceCache instances to always contain a 'presence' key | Paul "LeoNerd" Evans | 2014-11-19 | 1 | -4/+2 |
* | Added ability to .get_state() from the PresenceHandler by returning a complet... | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -2/+15 |