Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Return the raw federation event rather than adding extra keys for federation ↵ | Kegan Dougal | 2015-01-08 | 2 | -4/+5 |
| | | | | data. | ||||
* | Add missing continuation indent. | Erik Johnston | 2015-01-08 | 1 | -1/+2 |
| | |||||
* | Add 'raw' query parameter to expose the event graph and signatures to savvy ↵ | Kegan Dougal | 2015-01-08 | 2 | -4/+9 |
| | | | | clients. | ||||
* | PEP8 and pyflakes warnings | Kegan Dougal | 2015-01-07 | 2 | -2/+4 |
| | |||||
* | SYN-154: Tweak how the m.room.create check is done. | Kegan Dougal | 2015-01-07 | 1 | -2/+11 |
| | | | | | Don't perform the check in auth.is_host_in_room but instead do it in _do_join and also assert that there are no m.room.members in the room before doing so. | ||||
* | SYN-154: Better error messages when joining an unknown room by ID. | Kegan Dougal | 2015-01-07 | 2 | -5/+7 |
| | | | | | | The simple fix doesn't work here because room creation also involves unknown room IDs. The check relies on the presence of m.room.create for rooms being created, whereas bogus room IDs have no state events at all. | ||||
* | RoomsForUser now has sender instead of user_id | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'erikj-perf' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-01-06 | 1 | -5/+5 |
|\ | |||||
| * | We don't need the full events for get_rooms_for_user_where_membership_is | Erik Johnston | 2015-01-06 | 1 | -5/+5 |
| | | |||||
* | | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 1 | -8/+5 |
|\| | | | | | Database performance improvements. | ||||
| * | Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ↵ | Erik Johnston | 2015-01-06 | 1 | -8/+5 |
| | | | | | | | | users without having to retrieve the full events | ||||
* | | Update copyright notices | Mark Haines | 2015-01-06 | 13 | -13/+13 |
|/ | |||||
* | Rate limit display names and avatar urls per request rather than per event. | Kegan Dougal | 2014-12-19 | 1 | -2/+4 |
| | |||||
* | Set a state_key for the topic and room name, otherwise they won't be treated ↵ | Mark Haines | 2014-12-19 | 1 | -0/+2 |
| | | | | as room state | ||||
* | bump_presence_active_time when sending a message event | Mark Haines | 2014-12-19 | 1 | -0/+6 |
| | |||||
* | Don't ratelimit room create events | Mark Haines | 2014-12-19 | 2 | -3/+4 |
| | |||||
* | Set display name when joining via alias | Mark Haines | 2014-12-19 | 1 | -0/+5 |
| | |||||
* | s/user_id/sender/ | Mark Haines | 2014-12-19 | 1 | -1/+1 |
| | |||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -23/+32 |
| | | | | from a remote server if we are missing some of them | ||||
* | Don't yield on sending the event accross federation. | Mark Haines | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | Fix where we pulled in event.state_events from hotfixes branch | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'hotfixes-v0.5.4a' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-12-16 | 1 | -2/+6 |
|\ | | | | | | | release-v0.6.0 | ||||
| * | Add FIXME | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | | |||||
| * | Fix bug where we did not send the full auth chain to people that joined over ↵ | Erik Johnston | 2014-12-16 | 1 | -2/+5 |
| | | | | | | | | federation | ||||
* | | Make error messages slightly more helpful | Erik Johnston | 2014-12-16 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 1 | -0/+5 |
|\ \ | |||||
| * | | Enable rate limiting for all events | Erik Johnston | 2014-12-16 | 1 | -0/+5 |
| | | | |||||
* | | | Remove send_message since nothing was calling it. Remove Snapshot because ↵ | Mark Haines | 2014-12-16 | 1 | -38/+0 |
| | | | | | | | | | | | | only send_message was using it | ||||
* | | | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 2 | -19/+6 |
| | | | | | | | | | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | | | clean up coding style a bit | Mark Haines | 2014-12-16 | 4 | -12/+8 |
|/ / | |||||
* | | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 4 | -30/+25 |
| | | |||||
* | | Add fixme to raising of AuthError in federation land | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | | |||||
* | | User.is_mine is no longer a thing. Use hs.is_mine instead. | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | | |||||
* | | Rename MessageHandler.handle_event. Add a few comments. | Erik Johnston | 2014-12-15 | 5 | -7/+24 |
| | | |||||
* | | Get current member state from current_state snapshot. Fix leave test. | Erik Johnston | 2014-12-15 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-15 | 2 | -20/+112 |
|\ \ | | | | | | | | | | | | | 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 |
| | | | |||||
| * | | Add a 'user_left_room' distributor signal analogous to 'user_joined_room' | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+7 |
| | | | |||||
| * | | 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 |
| | | | |||||
* | | | Validate message, topic and name event contents | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | |||||
* | | | Fix federation test | Erik Johnston | 2014-12-11 | 1 | -1/+1 |
| | | | |||||
* | | | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 1 | -7/+7 |
| | | | |||||
* | | | .from_string() no longer takes a HS | Erik Johnston | 2014-12-10 | 1 | -2/+2 |
| | | | |||||
* | | | Remove dead code | Erik Johnston | 2014-12-10 | 1 | -2/+0 |
| | | | |||||
* | | | Add some basic event validation | Erik Johnston | 2014-12-10 | 1 | -2/+6 |
| | | | |||||
* | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 1 | -0/+9 |
| | | | |||||
* | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 2 | -76/+5 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 1 | -0/+7 |
|\| | | |||||
| * | | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 1 | -1/+2 |
| | | | |||||
| * | | actually reset retry schedule if we can successfuly talk to it | Matthew Hodgson | 2014-12-08 | 1 | -0/+6 |
| | | | |||||
* | | | Fix AttributeError | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
| | | | |||||
* | | | Make depth increase. | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
| | | | |||||
* | | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 3 | -9/+53 |
| | | | |||||
* | | | PEP8 | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | | | |||||
* | | | Fix joining from an invite | Erik Johnston | 2014-12-09 | 3 | -16/+17 |
| | | | |||||
* | | | Remove unused snapshot | Erik Johnston | 2014-12-09 | 1 | -2/+0 |
| | | | |||||
* | | | Remove unused import | Erik Johnston | 2014-12-09 | 1 | -2/+1 |
| | | | |||||
* | | | More bug fixes | Erik Johnston | 2014-12-08 | 2 | -19/+31 |
| | | | |||||
* | | | More bug fixes | Erik Johnston | 2014-12-08 | 3 | -10/+13 |
| | | | |||||
* | | | More bug fixes | Erik Johnston | 2014-12-08 | 2 | -3/+7 |
| | | | |||||
* | | | Fix registration | Erik Johnston | 2014-12-08 | 1 | -2/+4 |
| | | | |||||
* | | | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 2 | -62/+43 |
| | | | |||||
* | | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 2 | -99/+84 |
| | | | |||||
* | | | 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 ↵ | Paul "LeoNerd" Evans | 2014-12-03 | 1 | -4/+4 |
| |/ | | | | | | | no interested observers (yet *hint*) (SYN-115) | ||||
* | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 6 | -116/+111 |
| | | |||||
* | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 3 | -19/+56 |
| | | |||||
* | | WIP for new way of managing events. | Erik Johnston | 2014-12-03 | 1 | -0/+51 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-03 | 2 | -1/+10 |
|\| | |||||
| * | Extra verbosity on logging of received presence info | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -0/+5 |
| | | |||||
| * | Squash room_ids list to a set() to remove duplicates - with TODO marker as I ↵ | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -1/+5 |
| | | | | | | | | have no idea /why/ the dups are happening in the first place | ||||
* | | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 6 | -41/+44 |
|/ | |||||
* | Fix bugs when joining a remote room that has dodgy event graphs. This should ↵ | Erik Johnston | 2014-11-27 | 1 | -28/+55 |
| | | | | also fix the number of times a HS will trigger a GET /event/ | ||||
* | on_receive_pdu takes more args | Erik Johnston | 2014-11-27 | 1 | -3/+3 |
| | |||||
* | Change the way we get missing auth and state events | Erik Johnston | 2014-11-27 | 1 | -16/+61 |
| | |||||
* | Re-sign events when we return them via federation as a temporary hack to ↵ | Erik Johnston | 2014-11-27 | 1 | -0/+11 |
| | | | | work around the problem where we reconstruct events differently than when they were signed | ||||
* | Attempt to fix bug where we 500d an event stream due to trying to cancel a ↵ | Erik Johnston | 2014-11-26 | 1 | -3/+9 |
| | | | | timer twice | ||||
* | Add a workaround for bug where some initial join events don't reference ↵ | Erik Johnston | 2014-11-26 | 1 | -1/+7 |
| | | | | creation events in their auth_events | ||||
* | Catch exceptions when trying to add an entry to rooms tables | Erik Johnston | 2014-11-26 | 1 | -6/+11 |
| | |||||
* | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 1 | -28/+44 |
| | | | | turns out we are actually in | ||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 3 | -54/+94 |
| | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | We don't always want to Auth get_persisted_pdu | Erik Johnston | 2014-11-24 | 1 | -7/+8 |
| | |||||
* | Return 404 M_NOT_FOUND when trying to look up a room alias that doesn't exist | Mark Haines | 2014-11-21 | 1 | -12/+24 |
| | |||||
* | SYN-58: Allow passing explicit limit=0 to initialSync to request no messages ↵ | Paul "LeoNerd" Evans | 2014-11-20 | 1 | -1/+1 |
| | | | | at all; missing still implies default 10 | ||||
* | Fix pep8 and pyflakes warnings | Mark Haines | 2014-11-20 | 2 | -4/+10 |
| | |||||
* | Merge branch 'develop' into http_client_refactor | David Baker | 2014-11-20 | 9 | -48/+64 |
|\ | |||||
| * | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 4 | -9/+13 |
| | | |||||
| * | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 8 | -40/+52 |
| | | | | | | | | because they don't interact well with the logging contexts | ||||
* | | Separate out the matrix http client completely because just about all of its ↵ | David Baker | 2014-11-20 | 2 | -10/+16 |
| | | | | | | | | code it now separate from the simple case we need for standard HTTP(S) | ||||
* | | Oops, I removed this param. | David Baker | 2014-11-20 | 1 | -2/+0 |
| | | |||||
* | | Refactor the HTTP clients a little. | David Baker | 2014-11-20 | 2 | -5/+5 |
|/ | |||||
* | SYN-153: Fix formatting of federation error message | Mark Haines | 2014-11-20 | 1 | -1/+1 |
| | |||||
* | Don't add a 'prev' key to m.room.member messages | Erik Johnston | 2014-11-19 | 2 | -4/+0 |
| | |||||
* | Initialise UserPresenceCache instances to always contain a 'presence' key | Paul "LeoNerd" Evans | 2014-11-19 | 1 | -4/+2 |
| | |||||
* | SYN-153: Raise 404 if room alias is not found | Mark Haines | 2014-11-19 | 1 | -4/+8 |
| | |||||
* | Preserve logging context in a few more places, drop the logging context ↵ | Mark Haines | 2014-11-19 | 1 | -3/+5 |
| | | | | after it has been stashed to reduce potential for confusion | ||||
* | Remove unused variable | Mark Haines | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | Rename message handler's new snapshot_room to room_initial_sync() as that ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -1/+1 |
| | | | | better suits its purpose | ||||
* | Merge remote-tracking branch 'origin/develop' into room-initial-sync | Paul "LeoNerd" Evans | 2014-11-18 | 2 | -45/+42 |
|\ | |||||
| * | SYN-149: Enable auth for events added during room creation since they should ↵ | Mark Haines | 2014-11-18 | 1 | -1/+1 |
| | | | | | | | | pass auth checks | ||||
| * | SYN-149: Send join event immediately after the room create event | Mark Haines | 2014-11-18 | 2 | -26/+26 |
| | | |||||
| * | Split out sending the room alias events from creating the alias so that we ↵ | Mark Haines | 2014-11-18 | 2 | -19/+16 |
| | | | | | | | | can do them in the right point when creating a room | ||||
* | | Include room members' presence in room initialSync | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -1/+22 |
| | | |||||
* | | Added ability to .get_state() from the PresenceHandler by returning a ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -2/+15 |
| | | | | | | | | complete m.presence event | ||||
* | | Don't expect all _user_cachemap entries to definitely contain a ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -3/+3 |
| | | | | | | | | "last_active" key | ||||
* | | Include 'messages' snapshot in room initialSync | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -1/+20 |
| | | |||||
* | | Merge branch 'develop' into room-initial-sync | Paul "LeoNerd" Evans | 2014-11-17 | 6 | -297/+579 |
|\| | | | | | | | | | Conflicts: synapse/handlers/message.py | ||||
| * | SYN-148: Add the alias after creating the room | Mark Haines | 2014-11-17 | 1 | -9/+9 |
| | | |||||
| * | These lines aren't doing anything | Mark Haines | 2014-11-17 | 1 | -5/+0 |
| | | |||||
| * | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -43/+22 |
| | | |||||
| * | Fix PDU and event signatures | Mark Haines | 2014-11-14 | 1 | -2/+3 |
| | | |||||
| * | Validate signatures on incoming events | Mark Haines | 2014-11-14 | 1 | -2/+35 |
| | | |||||
| * | Add a few more comments to the federation handler | Erik Johnston | 2014-11-12 | 1 | -0/+32 |
| | | |||||
| * | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 2 | -11/+11 |
| | | | | | | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
| * | PEP8ify | Erik Johnston | 2014-11-11 | 1 | -9/+12 |
| | | |||||
| * | Only allow people in a room to look up room state. | Erik Johnston | 2014-11-11 | 1 | -34/+4 |
| | | |||||
| * | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 2 | -8/+8 |
| | | |||||
| * | Fix bug where we /always/ created a new state group | Erik Johnston | 2014-11-11 | 1 | -1/+2 |
| | | |||||
| * | Add an EventValidator. Fix bugs in auth ++ storage | Erik Johnston | 2014-11-10 | 1 | -4/+7 |
| | | |||||
| * | PEP8 | Erik Johnston | 2014-11-10 | 1 | -1/+4 |
| | | |||||
| * | Add auth to the various server-server APIs | Erik Johnston | 2014-11-10 | 1 | -2/+13 |
| | | |||||
| * | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 1 | -5/+5 |
| | | |||||
| * | Notify users about invites. | Erik Johnston | 2014-11-10 | 1 | -1/+4 |
| | | |||||
| * | Use current state to get room hosts, rather than querying the database | Erik Johnston | 2014-11-07 | 2 | -7/+32 |
| | | |||||
| * | Add '/event_auth/' federation api | Erik Johnston | 2014-11-07 | 1 | -0/+5 |
| | | |||||
| * | Implement invite part of invite join dance | Erik Johnston | 2014-11-07 | 3 | -21/+61 |
| | | |||||
| * | Return auth chain when handling send_join | Erik Johnston | 2014-11-07 | 1 | -3/+12 |
| | | |||||
| * | Fix joining over federation | Erik Johnston | 2014-11-07 | 2 | -53/+2 |
| | | |||||
| * | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -2/+57 |
| | | |||||
| * | Amalgamate all power levels. | Erik Johnston | 2014-11-06 | 1 | -36/+16 |
| | | | | | | | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event. | ||||
| * | Update to use replaces_state rather than prev_state | Erik Johnston | 2014-11-06 | 1 | -2/+4 |
| | | |||||
| * | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 5 | -32/+10 |
| | | | | | | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
| * | Fix auth checks to all use the given old_event_state | Erik Johnston | 2014-11-05 | 2 | -8/+17 |
| | | |||||
| * | Fix room handler tests | Erik Johnston | 2014-11-04 | 1 | -1/+0 |
| | | |||||
| * | Don't bother locking | Erik Johnston | 2014-11-04 | 1 | -6/+5 |
| | | |||||
| * | On AuthError, raise a FederationError | Erik Johnston | 2014-11-04 | 1 | -1/+9 |
| | | |||||
| * | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -4/+2 |
| | | |||||
| * | Rename PDU fields to match that of events. | Erik Johnston | 2014-11-03 | 1 | -7/+5 |
| | | |||||
| * | Sign events we create. | Erik Johnston | 2014-11-03 | 1 | -0/+9 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-11-03 | 1 | -2/+1 |
| |\ | | | | | | | | | | federation_authorization | ||||
| * | | Actually don't store any PDUs | Erik Johnston | 2014-10-31 | 1 | -0/+22 |
| | | | |||||
| * | | Move the impl of backfill to use events. | Erik Johnston | 2014-10-31 | 1 | -1/+26 |
| | | | |||||
| * | | Convert event ids to be of the form :example.com | Erik Johnston | 2014-10-30 | 1 | -2/+5 |
| | | | |||||
| * | | Make federation return the old current state, so that we can use it to do auth | Erik Johnston | 2014-10-30 | 1 | -5/+23 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-30 | 6 | -79/+53 |
| |\ \ | | | | | | | | | | | | | federation_authorization | ||||
| * | | | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 2 | -39/+55 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 2 | -14/+5 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| * | | | | It doesn't want a dict | Erik Johnston | 2014-10-17 | 1 | -2/+0 |
| | | | | | |||||
| * | | | | Fix bug where people could join private rooms | Erik Johnston | 2014-10-17 | 1 | -2/+8 |
| | | | | | |||||
| * | | | | Use state groups to get current state. Make join dance actually work. | Erik Johnston | 2014-10-17 | 2 | -24/+56 |
| | | | | | |||||
| * | | | | Finish implementing the new join dance. | Erik Johnston | 2014-10-17 | 1 | -97/+84 |
| | | | | | |||||
| * | | | | Start implementing the invite/join dance. Continue moving auth to use ↵ | Erik Johnston | 2014-10-16 | 1 | -8/+75 |
| | | | | | | | | | | | | | | | | | | | | event.state_events | ||||
| * | | | | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 6 | -27/+36 |
| | | | | | |||||
* | | | | | Include room membership in room initialSync | Paul "LeoNerd" Evans | 2014-11-10 | 1 | -1/+7 |
| | | | | | |||||
* | | | | | Put room state in room initialSync output - I guess this is right; I really ↵ | Paul "LeoNerd" Evans | 2014-11-10 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | can't find any other tests similar... | ||||
* | | | | | Have room initialSync return the room's room_id | Paul "LeoNerd" Evans | 2014-11-10 | 1 | -0/+11 |
| |_|_|/ |/| | | | |||||
* | | | | Use python logger, not the twisted logger | Erik Johnston | 2014-11-03 | 1 | -2/+1 |
| |_|/ |/| | | |||||
* | | | Fix pep8 warnings | Mark Haines | 2014-10-30 | 4 | -31/+33 |
| | | | |||||
* | | | Fix an off-by-one bug in presence event stream pagination; this might be ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -1/+1 |
| | | | | | | | | | | | | responsible for any number of bug reports | ||||
* | | | Construct a source-specific 'SourcePaginationConfig' to pass into ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 4 | -39/+19 |
| | | | | | | | | | | | | get_pagination_rows; meaning each source doesn't have to care about its own name any more | ||||
* | | | Remove redundant (and incorrect) presence pagination fetching code | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -3/+0 |
| | | | |||||
* | | | Remove duplicate join_event from create_room | Mark Haines | 2014-10-27 | 1 | -5/+0 |
| |/ |/| | |||||
* | | Add get_json method to 3pid http client. Better logging for errors in 3pid ↵ | Mark Haines | 2014-10-20 | 1 | -1/+2 |
| | | | | | | | | requests | ||||
* | | SPEC-7: Don't stamp event contents with 'hsob_ts' | Mark Haines | 2014-10-17 | 1 | -13/+3 |
|/ | |||||
* | Fix pyflakes errors | Mark Haines | 2014-10-02 | 1 | -1/+1 |
| | |||||
* | Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ↵ | Mark Haines | 2014-10-02 | 1 | -3/+2 |
| | | | | than passing MatrixHttpClient.RETRY_DNS_LOOKUP_FAILURES as a fake query string parameter | ||||
* | Split PlainHttpClient into separate clients for talking to Identity servers ↵ | Mark Haines | 2014-10-02 | 3 | -8/+13 |
| | | | | and talking to Capatcha servers | ||||
* | SYN-2: Allow server admins to delete room aliases | Erik Johnston | 2014-09-30 | 1 | -16/+29 |
| | |||||
* | SYN-48: Implement WHOIS rest servlet | Erik Johnston | 2014-09-29 | 2 | -0/+64 |
| | |||||
* | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 1 | -0/+1 |
|\ | |||||
| * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -1/+1 |
| | | |||||
| * | SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵ | Erik Johnston | 2014-09-23 | 1 | -0/+1 |
| | | | | | | | | | | | | levels event SYN-12 # comment Auth has been added. | ||||
* | | SYN-46: An invite received from fedearation didn't wake up the event stream ↵ | Erik Johnston | 2014-09-25 | 1 | -1/+9 |
| | | | | | | | | for the invited user. | ||||
* | | Don't set the room name to be the room alias on room creation if the client ↵ | Erik Johnston | 2014-09-24 | 1 | -11/+0 |
| | | | | | | | | didn't supply a name | ||||
* | | Implemented /rooms/$roomid/state API. | Kegan Dougal | 2014-09-23 | 1 | -0/+16 |
|/ | |||||
* | SYWEB-3 : Added 'visibility' key to rooms returned via /initialSync | Kegan Dougal | 2014-09-17 | 1 | -0/+5 |
| | |||||
* | SYN-40: When a user updates their displayname or avatar update all their ↵ | Erik Johnston | 2014-09-17 | 1 | -3/+43 |
| | | | | join events for all the rooms they are currently in. | ||||
* | Added support for the HS to send emails. Use it to send password resets. ↵ | Kegan Dougal | 2014-09-16 | 1 | -0/+14 |
| | | | | Added email_smtp_server and email_from_address config args. Added emailutils. | ||||
* | Added PasswordResetRestServlet. Hit the IS to confirm the email/user. Need ↵ | Kegan Dougal | 2014-09-16 | 1 | -1/+28 |
| | | | | to send email. | ||||
* | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵ | Erik Johnston | 2014-09-15 | 1 | -7/+5 |
| | | | | discarding them. | ||||
* | Improve logging in federation handler. | Erik Johnston | 2014-09-15 | 1 | -1/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-09-15 | 3 | -10/+8 |
|\ | | | | | | | registration-api-changes in preparation for re-merge to develop. | ||||
| * | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 3 | -10/+8 |
| | | |||||
* | | Split out password/captcha/email logic. | Kegan Dougal | 2014-09-15 | 1 | -56/+64 |
|/ | |||||
* | Added num_joined_users key to /publicRooms for each room. Show this ↵ | Kegan Dougal | 2014-09-08 | 1 | -0/+6 |
| | | | | information in the webclient. | ||||
* | Fix race in presence handler where we evicted things from cache while ↵ | Erik Johnston | 2014-09-08 | 1 | -2/+3 |
| | | | | handling a key therein | ||||
* | Added captcha support on both the HS and web client. | Kegan Dougal | 2014-09-05 | 1 | -6/+62 |
|\ | | | | | | | Merge branch 'captcha' of github.com:matrix-org/synapse into develop | ||||
| * | Reload captchas when they fail. Cleanup on success. | Kegan Dougal | 2014-09-05 | 1 | -2/+2 |
| | | |||||
| * | 80 chars please | Kegan Dougal | 2014-09-05 | 1 | -9/+19 |
| | | |||||
| * | Add config opion for XFF headers when performing ReCaptcha auth. | Kegan Dougal | 2014-09-05 | 1 | -0/+1 |
| | | |||||
| * | Captchas now work on registration. Missing x-forwarded-for config arg ↵ | Kegan Dougal | 2014-09-05 | 1 | -2/+47 |
| | | | | | | | | support. Missing reloading a new captcha on the web client / displaying a sensible error message. | ||||
* | | Add support for inviting people when you create a room | Erik Johnston | 2014-09-06 | 1 | -0/+26 |
| | | |||||
* | | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 4 | -15/+42 |
|/ | |||||
* | Change the default power levels to be 0, 50 and 100 | Erik Johnston | 2014-09-05 | 1 | -8/+8 |
| | |||||
* | Error code must be an integer | Erik Johnston | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Import SynapseError | Erik Johnston | 2014-09-03 | 1 | -0/+1 |
| | |||||
* | Handle timeouts slightly nicer. | Erik Johnston | 2014-09-03 | 1 | -1/+5 |
| | |||||
* | Don't do auth for change_membership in federation handler, it doesn't work ↵ | Erik Johnston | 2014-09-03 | 1 | -2/+3 |
| | | | | and federation doesn't do auth in general either. Add a hacky timeout when trying to join a remote room. | ||||
* | When creating a room and a user supplies a room_alias but no name, use the ↵ | Erik Johnston | 2014-09-03 | 1 | -0/+11 |
| | | | | room_alias as the name. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into develop | David Baker | 2014-09-03 | 12 | -60/+108 |
|\ | | | | | | | | | Conflicts: synapse/http/client.py | ||||
| * | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 12 | -12/+12 |
| | | | | | | | | hasn't been incorporated in time for launch. | ||||
| * | Fix up directory server to not require uploading room hosts. Update the room ↵ | Erik Johnston | 2014-09-03 | 1 | -1/+10 |
| | | | | | | | | hosts table with the current room hosts (if we have them) on GET. | ||||
| * | Snapshot prev_state for generic events | Erik Johnston | 2014-09-03 | 1 | -1/+6 |
| | | |||||
| * | Kill the state | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -26/+5 |
| | | | | | | | | ... key from all the Presence messages | ||||
| * | Bugfix for back-pagination of presence | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+2 |
| | | |||||
| * | Make retrying requests on DNS failures configurable, and turn off retrying ↵ | Kegan Dougal | 2014-09-03 | 1 | -1/+5 |
| | | | | | | | | only in directory.get_association | ||||
| * | Implement presence state visibilty limiting when polling eventsource for stream | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -9/+57 |
| | | |||||
| * | Update API docs to use 'presence' key not 'state'. Fixed error messages when ↵ | Kegan Dougal | 2014-09-03 | 1 | -1/+1 |
| | | | | | | | | setting presence. | ||||
| * | Fixed GET /events/$id to be not broken. | Kegan Dougal | 2014-09-03 | 1 | -1/+3 |
| | | |||||
| * | Rename the 'do_users_share_a_room' to something slightly less verb-sounding | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+1 |
| | | |||||
| * | Neater is_presence_visible() code | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -9/+8 |
| | | |||||
* | | Add support for registering with a threepid to the HS (get credentials from ↵ | David Baker | 2014-09-03 | 1 | -3/+59 |
|/ | | | | the client and check them against an ID server). | ||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -2/+0 |
| | |||||
* | Set status message for ratelimit error responses | Mark Haines | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Merge branch 'ratelimiting' into develop | Mark Haines | 2014-09-03 | 3 | -0/+18 |
|\ | |||||
| * | 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 | 3 | -2/+5 |
| | | |||||
| * | Add ratelimiting function to basehandler | Mark Haines | 2014-09-02 | 1 | -0/+17 |
| | | |||||
* | | Safer handling of incoming presence EDUs that may or maynot contain ↵ | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -3/+13 |
| | | | | | | | | 'presence' or 'state' | ||||
* | | 'continue' to go to the next item in a for loop, not 'break' | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -1/+1 |
| | | |||||
* | | By default, only room ops can change the name and topic. | Erik Johnston | 2014-09-02 | 1 | -0/+2 |
|/ | |||||
* | Add message to assertion | Erik Johnston | 2014-09-02 | 1 | -1/+1 |
| | |||||
* | Add support for setting room name and topic when creating rooms | Erik Johnston | 2014-09-02 | 1 | -4/+29 |
| | |||||
* | Reënable presence visibility permission checking now it's not used on ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -4/+0 |
| | | | | redundant code paths | ||||
* | No need to test is_presence_visible in _start_polling_local because we know ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -4/+0 |
| | | | | it will be by when it's called | ||||
* | Don't set a 'default' key in the creation event | Erik Johnston | 2014-09-01 | 1 | -1/+0 |
| | |||||
* | Don't put required power levels on permission state events | Erik Johnston | 2014-09-01 | 1 | -2/+4 |
| | |||||
* | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 1 | -1/+11 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 2 | -33/+93 |
|\ | |||||
| * | Bump a user's presence last_active time every time they send a message to a room | Paul "LeoNerd" Evans | 2014-09-01 | 2 | -0/+10 |
| | | |||||
| * | Perform room unit tests with 'local' users actually in the right domain ;) | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -0/+4 |
| | | |||||
| * | Rename API-visible 'mtime' presence field to 'last_active'; slightly ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -23/+49 |
| | | | | | | | | different semantics | ||||
| * | Rename 'state' presence key to the much more obvious 'presence'; maintain a ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -11/+31 |
| | | | | | | | | legacy 'state' copy for now | ||||
* | | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 1 | -20/+29 |
| | | |||||
* | | Implement power level lists, default power levels and ↵ | Erik Johnston | 2014-09-01 | 1 | -9/+22 |
| | | | | | | | | send_evnet_level/add_state_level events. | ||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 4 | -12/+143 |
|\| | |||||
| * | Bugfixes on presence pushes on user joining: | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | * No need to inform clients of status of remote users; as that will arrive in due course anyway. We don't -have- the state currently, so we'd only send an unknown message * Remember to bump the presence serial for the event source, so the notifiers will wake up and report it | ||||
| * | Renamed get_current_token_part to get_current_key | Paul "LeoNerd" Evans | 2014-08-29 | 3 | -4/+4 |
| | | |||||
| * | Have EventSource's get_new_events_for_user() API work only on keys within ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 3 | -17/+9 |
| | | | | | | | | that source, not overall eventstream tokens | ||||
| * | TypingNotificationEventSource has to return proper tokens, not int 0 | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
| | | |||||
| * | Rename 'events_key' to 'room_key' so it matches the name of the event source | Paul "LeoNerd" Evans | 2014-08-29 | 2 | -8/+8 |
| | |