summary refs log tree commit diff
path: root/synapse/handlers/_base.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add is_guest flag to users db to track whether a user is a guest user or ↵David Baker2016-01-061-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_actionsDavid Baker2016-01-051-14/+2
|\
| * Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-051-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 issuesDavid Baker2016-01-041-2/+2
| |
* | Only run pushers for users on this hs!David Baker2015-12-211-1/+1
| |
* | Very first cut of calculating actions for events as they come in. Doesn't ↵David Baker2015-12-101-0/+8
|/ | | | store them yet. Not very efficient.
* Simplify codeDaniel Wagner-Hall2015-11-191-1/+1
|
* Apply forgetting properly to historical eventsDaniel Wagner-Hall2015-11-181-1/+9
|
* Update some commentsRichard van der Hoff2015-11-131-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 roomsDaniel Wagner-Hall2015-11-101-0/+57
|
* Exchange 3pid invites for m.room.member invitesDaniel Wagner-Hall2015-11-051-11/+0
|
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-2/+5
| | | | Squash-merge of PR #345 from daniel/anonymousevents
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-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/3pidinvitesDaniel Wagner-Hall2015-10-161-0/+11
|\ | | | | Implement third party identifier invites
| * Remove unnecessary class-wrappingDaniel Wagner-Hall2015-10-131-3/+3
| |
| * Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-131-1/+1
| |
| * Remove merge thinkoDaniel Wagner-Hall2015-10-061-4/+0
| |
| * Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-051-0/+26
| |\
| * | Implement third party identifier invitesDaniel Wagner-Hall2015-10-011-0/+11
| | |
* | | Amalgamate _filter_events_for_clientErik Johnston2015-10-161-0/+46
| |/ |/|
* | Also bundle in senderErik Johnston2015-10-021-0/+1
| |
* | Bundle in some room state in the unsigned bit of the invite when sending to ↵Erik Johnston2015-09-101-4/+25
|/ | | | invited servers
* Merge branch 'develop' into redactyoselfDaniel Wagner-Hall2015-08-281-16/+16
|\ | | | | | | | | Conflicts: synapse/handlers/_base.py
| * Do auth checks *before* persisting the eventErik Johnston2015-08-241-16/+16
| |
* | Allow users to redact their own eventsDaniel Wagner-Hall2015-08-281-2/+17
|/
* Check that the canonical room alias actually points to the roomErik Johnston2015-08-201-1/+17
|
* Don't needlessly compute prev_stateErik Johnston2015-06-031-1/+3
|
* Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-2/+5
|
* Fix up leak. Add warnings.Erik Johnston2015-05-081-4/+7
|
* That wasn't a deferredErik Johnston2015-05-011-3/+1
|
* PEP8Erik Johnston2015-04-161-1/+0
|
* Don't wait on federation_handler.handle_new_eventErik Johnston2015-04-151-3/+7
|
* Remove run_on_reactor()sErik Johnston2015-04-151-4/+0
|
* Merge pull request #110 from matrix-org/fix_banErik Johnston2015-03-161-3/+3
|\ | | | | Fix ban
| * Revert incorrect changes to where we send eventsErik Johnston2015-03-161-3/+4
| |
| * Remove concept of context.auth_events, instead use context.current_stateErik Johnston2015-03-161-3/+3
| |
| * Send all membership events to the remote homeserverErik Johnston2015-03-161-4/+3
| |
* | Don't block waiting on waking up all the listeners when sending an event.Erik Johnston2015-03-161-1/+10
|/
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-2/+3
|
* Finish renaming "context" to "room_id" in federation codebaseMark Haines2015-01-161-3/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Construct the EventContext in the state handler rather than constructing one ↵Mark Haines2014-12-161-9/+2
| | | | and then immediately calling state_handler.annotate_context_with_state
* clean up coding style a bitMark Haines2014-12-161-2/+2
|
* Rename MessageHandler.handle_event. Add a few comments.Erik Johnston2014-12-151-0/+5
|
* Remove dead codeErik Johnston2014-12-101-2/+0
|
* Fix bug when uploading state with empty state_keyErik Johnston2014-12-101-61/+5
|
* Make depth increase.Erik Johnston2014-12-101-1/+1
|
* Fix joining from an inviteErik Johnston2014-12-091-1/+14
|
* Remove unused importErik Johnston2014-12-091-2/+1
|
* More bug fixesErik Johnston2014-12-081-4/+0
|
* More bug fixesErik Johnston2014-12-081-1/+5
|
* Various typos and bug fixes.Erik Johnston2014-12-081-3/+5
|
* Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-91/+73
|
* Convert rest and handlers to use new event structureErik Johnston2014-12-041-6/+10
|
* Begin converting things to use the new Event structureErik Johnston2014-12-041-12/+53
|
* WIP for new way of managing events.Erik Johnston2014-12-031-0/+51
|
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-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 Haines2014-11-201-1/+1
| | | | because they don't interact well with the logging contexts
* Rename annotate_state_groups to annotate_event_with_stateErik Johnston2014-11-111-1/+1
|
* Use current state to get room hosts, rather than querying the databaseErik Johnston2014-11-071-3/+15
|
* Implement invite part of invite join danceErik Johnston2014-11-071-1/+12
|
* Fix joining over federationErik Johnston2014-11-071-53/+1
|
* Start implementing auth chainsErik Johnston2014-11-071-2/+57
|
* Fix auth checks to all use the given old_event_stateErik Johnston2014-11-051-5/+14
|
* Sign events we create.Erik Johnston2014-11-031-0/+9
|
* Start filling out and using new events tablesErik Johnston2014-10-291-0/+4
|
* Begin making auth use event.old_state_eventsErik Johnston2014-10-151-1/+9
|
* Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-051-3/+0
|
* 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.
* Set status message for ratelimit error responsesMark Haines2014-09-031-1/+1
|
* Raise LimitExceedError when the ratelimiting is throttling requestsMark Haines2014-09-031-4/+2
|
* rate limiting for message sendingMark Haines2014-09-021-2/+2
|
* Add ratelimiting function to basehandlerMark Haines2014-09-021-0/+17
|
* Fix pyflakes warningsMark Haines2014-08-281-1/+1
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-1/+1
|\ | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-2/+3
|\| | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py
* | Fill out prev_events before calling persist_eventMark Haines2014-08-271-0/+2
| |
* | Fold federation/handler into handlers/federationMark Haines2014-08-261-1/+2
| |
* | Move new event boilerplate in room handlers into a method on a base clase.Mark Haines2014-08-261-1/+19
|/
* Wait for getting a Join in response to an invite/join dance.Erik Johnston2014-08-211-0/+1
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+26