Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Atomically persit push actions when we persist the event | Erik Johnston | 2016-02-09 | 1 | -5/+5 |
| | |||||
* | Pass in current state to push action handler | Erik Johnston | 2016-02-09 | 1 | -18/+13 |
| | |||||
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -9/+1 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | Allow non-guests to peek on rooms using /events | Daniel Wagner-Hall | 2016-01-20 | 1 | -7/+7 |
| | |||||
* | Don't use form of get_state_for_events with None state_key | Erik Johnston | 2016-01-19 | 1 | -6/+13 |
| | |||||
* | Add regex cache. Only caculate push actions for users that have sent read ↵ | Erik Johnston | 2016-01-19 | 1 | -1/+1 |
| | | | | receipts, and are on that server | ||||
* | Allow filtering events for multiple users at once | Erik Johnston | 2016-01-18 | 1 | -39/+54 |
| | |||||
* | Remove unused parameters | Daniel Wagner-Hall | 2016-01-15 | 1 | -5/+3 |
| | |||||
* | Add is_guest flag to users db to track whether a user is a guest user or ↵ | David Baker | 2016-01-06 | 1 | -5/+3 |
| | | | | not. Use this so we can run _filter_events_for_client when calculating event_push_actions. | ||||
* | Merge remote-tracking branch 'origin/develop' into store_event_actions | David Baker | 2016-01-05 | 1 | -14/+2 |
|\ | |||||
| * | Skip, rather than erroring, invalid guest requests | Daniel Wagner-Hall | 2016-01-05 | 1 | -14/+2 |
| | | | | | | | | | | | | | | | | | | | | Erroring causes problems when people make illegal requests, because they don't know what limit parameter they should pass. This is definitely buggy. It leaks message counts for rooms people don't have permission to see, via tokens. But apparently we already consciously decided to allow that as a team, so this preserves that behaviour. | ||||
* | | Address minor PR issues | David Baker | 2016-01-04 | 1 | -2/+2 |
| | | |||||
* | | Only run pushers for users on this hs! | David Baker | 2015-12-21 | 1 | -1/+1 |
| | | |||||
* | | Very first cut of calculating actions for events as they come in. Doesn't ↵ | David Baker | 2015-12-10 | 1 | -0/+8 |
|/ | | | | store them yet. Not very efficient. | ||||
* | Simplify code | Daniel Wagner-Hall | 2015-11-19 | 1 | -1/+1 |
| | |||||
* | Apply forgetting properly to historical events | Daniel Wagner-Hall | 2015-11-18 | 1 | -1/+9 |
| | |||||
* | Update some comments | Richard van der Hoff | 2015-11-13 | 1 | -0/+6 |
| | | | | | | | 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 guest users to join and message rooms | Daniel Wagner-Hall | 2015-11-10 | 1 | -0/+57 |
| | |||||
* | Exchange 3pid invites for m.room.member invites | Daniel Wagner-Hall | 2015-11-05 | 1 | -11/+0 |
| | |||||
* | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 2015-11-05 | 1 | -2/+5 |
| | | | | Squash-merge of PR #345 from daniel/anonymousevents | ||||
* | Allow guests to register and call /events?room_id= | Daniel Wagner-Hall | 2015-11-04 | 1 | -28/+47 |
| | | | | | | | 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. | ||||
* | Merge pull request #302 from matrix-org/daniel/3pidinvites | Daniel Wagner-Hall | 2015-10-16 | 1 | -0/+11 |
|\ | | | | | Implement third party identifier invites | ||||
| * | Remove unnecessary class-wrapping | Daniel Wagner-Hall | 2015-10-13 | 1 | -3/+3 |
| | | |||||
| * | Move event contents into third_party_layout field | Daniel Wagner-Hall | 2015-10-13 | 1 | -1/+1 |
| | | |||||
| * | Remove merge thinko | Daniel Wagner-Hall | 2015-10-06 | 1 | -4/+0 |
| | | |||||
| * | Merge branch 'develop' into daniel/3pidinvites | Daniel Wagner-Hall | 2015-10-05 | 1 | -0/+26 |
| |\ | |||||
| * | | Implement third party identifier invites | Daniel Wagner-Hall | 2015-10-01 | 1 | -0/+11 |
| | | | |||||
* | | | Amalgamate _filter_events_for_client | Erik Johnston | 2015-10-16 | 1 | -0/+46 |
| |/ |/| | |||||
* | | Also bundle in sender | Erik Johnston | 2015-10-02 | 1 | -0/+1 |
| | | |||||
* | | Bundle in some room state in the unsigned bit of the invite when sending to ↵ | Erik Johnston | 2015-09-10 | 1 | -4/+25 |
|/ | | | | invited servers | ||||
* | Merge branch 'develop' into redactyoself | Daniel Wagner-Hall | 2015-08-28 | 1 | -16/+16 |
|\ | | | | | | | | | Conflicts: synapse/handlers/_base.py | ||||
| * | Do auth checks *before* persisting the event | Erik Johnston | 2015-08-24 | 1 | -16/+16 |
| | | |||||
* | | Allow users to redact their own events | Daniel Wagner-Hall | 2015-08-28 | 1 | -2/+17 |
|/ | |||||
* | Check that the canonical room alias actually points to the room | Erik Johnston | 2015-08-20 | 1 | -1/+17 |
| | |||||
* | Don't needlessly compute prev_state | Erik Johnston | 2015-06-03 | 1 | -1/+3 |
| | |||||
* | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -2/+5 |
| | |||||
* | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 1 | -4/+7 |
| | |||||
* | That wasn't a deferred | Erik Johnston | 2015-05-01 | 1 | -3/+1 |
| | |||||
* | PEP8 | Erik Johnston | 2015-04-16 | 1 | -1/+0 |
| | |||||
* | Don't wait on federation_handler.handle_new_event | Erik Johnston | 2015-04-15 | 1 | -3/+7 |
| | |||||
* | Remove run_on_reactor()s | Erik Johnston | 2015-04-15 | 1 | -4/+0 |
| | |||||
* | Merge pull request #110 from matrix-org/fix_ban | Erik Johnston | 2015-03-16 | 1 | -3/+3 |
|\ | | | | | Fix ban | ||||
| * | Revert incorrect changes to where we send events | Erik Johnston | 2015-03-16 | 1 | -3/+4 |
| | | |||||
| * | Remove concept of context.auth_events, instead use context.current_state | Erik Johnston | 2015-03-16 | 1 | -3/+3 |
| | | |||||
| * | Send all membership events to the remote homeserver | Erik Johnston | 2015-03-16 | 1 | -4/+3 |
| | | |||||
* | | Don't block waiting on waking up all the listeners when sending an event. | Erik Johnston | 2015-03-16 | 1 | -1/+10 |
|/ | |||||
* | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -2/+3 |
| | |||||
* | Finish renaming "context" to "room_id" in federation codebase | Mark Haines | 2015-01-16 | 1 | -3/+1 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 1 | -9/+2 |
| | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | clean up coding style a bit | Mark Haines | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Rename MessageHandler.handle_event. Add a few comments. | Erik Johnston | 2014-12-15 | 1 | -0/+5 |
| | |||||
* | Remove dead code | Erik Johnston | 2014-12-10 | 1 | -2/+0 |
| | |||||
* | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 1 | -61/+5 |
| | |||||
* | Make depth increase. | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
| | |||||
* | Fix joining from an invite | Erik Johnston | 2014-12-09 | 1 | -1/+14 |
| | |||||
* | Remove unused import | Erik Johnston | 2014-12-09 | 1 | -2/+1 |
| | |||||
* | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -4/+0 |
| | |||||
* | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -1/+5 |
| | |||||
* | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 1 | -3/+5 |
| | |||||
* | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -91/+73 |
| | |||||
* | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -6/+10 |
| | |||||
* | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 1 | -12/+53 |
| | |||||
* | WIP for new way of managing events. | Erik Johnston | 2014-12-03 | 1 | -0/+51 |
| | |||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 1 | -1/+1 |
| | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -1/+1 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 1 | -1/+1 |
| | |||||
* | Use current state to get room hosts, rather than querying the database | Erik Johnston | 2014-11-07 | 1 | -3/+15 |
| | |||||
* | Implement invite part of invite join dance | Erik Johnston | 2014-11-07 | 1 | -1/+12 |
| | |||||
* | Fix joining over federation | Erik Johnston | 2014-11-07 | 1 | -53/+1 |
| | |||||
* | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -2/+57 |
| | |||||
* | Fix auth checks to all use the given old_event_state | Erik Johnston | 2014-11-05 | 1 | -5/+14 |
| | |||||
* | Sign events we create. | Erik Johnston | 2014-11-03 | 1 | -0/+9 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -0/+4 |
| | |||||
* | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 1 | -1/+9 |
| | |||||
* | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 1 | -3/+0 |
| | |||||
* | 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. | ||||
* | Set status message for ratelimit error responses | Mark Haines | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Raise LimitExceedError when the ratelimiting is throttling requests | Mark Haines | 2014-09-03 | 1 | -4/+2 |
| | |||||
* | rate limiting for message sending | Mark Haines | 2014-09-02 | 1 | -2/+2 |
| | |||||
* | Add ratelimiting function to basehandler | Mark Haines | 2014-09-02 | 1 | -0/+17 |
| | |||||
* | Fix pyflakes warnings | Mark Haines | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py | ||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -2/+3 |
|\| | | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py | ||||
* | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 1 | -0/+2 |
| | | |||||
* | | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 1 | -1/+2 |
| | | |||||
* | | Move new event boilerplate in room handlers into a method on a base clase. | Mark Haines | 2014-08-26 | 1 | -1/+19 |
|/ | |||||
* | Wait for getting a Join in response to an invite/join dance. | Erik Johnston | 2014-08-21 | 1 | -0/+1 |
| | |||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+26 |