Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused function | Erik Johnston | 2015-02-12 | 1 | -12/+0 |
| | |||||
* | Correctly handle all the places that can throw exceptions | Erik Johnston | 2015-02-12 | 1 | -0/+12 |
| | |||||
* | Remove more debug logging | Erik Johnston | 2015-02-11 | 1 | -2/+0 |
| | |||||
* | Remove debug logging | Erik Johnston | 2015-02-11 | 2 | -12/+0 |
| | |||||
* | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 2 | -2/+17 |
| | | | | JSONEncoder that understands FrozenDict | ||||
* | Fix code-style | Mark Haines | 2015-02-10 | 2 | -5/+5 |
| | |||||
* | Code-style fixes | Mark Haines | 2015-02-10 | 2 | -6/+11 |
| | |||||
* | Merge branch 'release-v0.6.2' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-10 | 1 | -1/+6 |
|\ | |||||
| * | SYN-258: get_recent_events_for_room only accepts stream tokens, convert the ↵ | Mark Haines | 2015-02-06 | 1 | -1/+3 |
| | | | | | | | | topological token to a stream token before passing it to get_recent_events_for_room | ||||
| * | Explicitly list the RejectedReasons that we can prove | Erik Johnston | 2015-02-06 | 1 | -1/+6 |
| | | |||||
* | | During room intial sync, only calculate current state once. | Erik Johnston | 2015-02-09 | 2 | -13/+28 |
| | | |||||
* | | don't give up if we can't create default avatars during tests | Matthew Hodgson | 2015-02-07 | 1 | -9/+12 |
| | | |||||
* | | ...and here's the actual impl. git fail. | Matthew Hodgson | 2015-02-07 | 1 | -0/+14 |
| | | |||||
* | | SYN-258: get_recent_events_for_room only accepts stream tokens, convert the ↵ | Mark Haines | 2015-02-06 | 1 | -1/+3 |
|/ | | | | topological token to a stream token before passing it to get_recent_events_for_room | ||||
* | Don't query auth if the only difference is events that were rejected due to ↵ | Erik Johnston | 2015-02-06 | 1 | -56/+72 |
| | | | | auth. | ||||
* | Make seen_ids a set | Erik Johnston | 2015-02-06 | 1 | -1/+3 |
| | |||||
* | Handle the fact the list.remove raises if element doesn't exist | Erik Johnston | 2015-02-06 | 1 | -4/+10 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-05 | 1 | -5/+12 |
|\ | | | | | | | federation_client_retries | ||||
| * | SYN-202: Log as WARN the 404 'Presence information not visible' errors ↵ | Erik Johnston | 2015-02-05 | 1 | -5/+12 |
| | | | | | | | | instead of as ERROR since they were spamming the logs | ||||
* | | Pass through list of room hosts from room alias query to federation so that ↵ | Erik Johnston | 2015-02-05 | 2 | -14/+18 |
| | | | | | | | | it can retry against different room hosts | ||||
* | | Merge branch 'signature_failures' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+3 |
|\ \ | | | | | | | | | | federation_client_retries | ||||
| * | | Change context.auth_events to what the auth_events would be bases on ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+3 |
| | | | | | | | | | | | | context.current_state, rather than based on the auth_events from the event. | ||||
* | | | Apply sanity to the transport client interface. Convert 'make_join' and ↵ | Erik Johnston | 2015-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | 'send_join' to accept iterables of destinations | ||||
* | | | When returning lists of servers from alias lookups, put the current server ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+10 |
|/ / | | | | | | | first in the list | ||||
* | | Rearrange persist_event so that do all the queries that need to be done ↵ | Erik Johnston | 2015-02-04 | 1 | -0/+2 |
| | | | | | | | | before returning early if we have already persisted that event. | ||||
* | | Neaten the handling of state and auth_chain up a bit | Erik Johnston | 2015-02-03 | 1 | -27/+30 |
| | | |||||
* | | Don't completely die if get auth_chain or querying auth_chain requests fail | Erik Johnston | 2015-02-03 | 1 | -63/+72 |
| | | |||||
* | | Set combinations is | and not + | Erik Johnston | 2015-02-03 | 1 | -2/+2 |
| | | |||||
* | | Spelling | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | | |||||
* | | Give exception better message | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | | |||||
* | | Add FIXME note. | Erik Johnston | 2015-02-03 | 1 | -0/+2 |
| | | |||||
* | | Return rejected events if asked for it over federation. | Erik Johnston | 2015-02-03 | 1 | -0/+1 |
| | | |||||
* | | Try to ensure we don't persist an event we have already persisted. In ↵ | Erik Johnston | 2015-02-03 | 1 | -14/+28 |
|/ | | | | persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. | ||||
* | Resign events when we return them via /query_auth/ | Erik Johnston | 2015-01-30 | 1 | -0/+9 |
| | |||||
* | Return empty list rather than None when there are no emphemeral events for a ↵ | Mark Haines | 2015-01-30 | 1 | -1/+1 |
| | | | | room | ||||
* | Fix bug where accepting invite over federation didn't work. Add logging. | Erik Johnston | 2015-01-30 | 1 | -8/+49 |
| | |||||
* | Merge pull request #43 from matrix-org/rejections | Erik Johnston | 2015-01-30 | 1 | -119/+310 |
|\ | | | | | Rejections | ||||
| * | Only auth_events with event if event in event.auth_events | Erik Johnston | 2015-01-30 | 1 | -1/+3 |
| | | |||||
| * | Fix bug where we superfluously asked for current state. Change API of ↵ | Erik Johnston | 2015-01-30 | 1 | -33/+18 |
| | | | | | | | | /query_auth/ so that we don't duplicate events in the response. | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into rejections | Erik Johnston | 2015-01-30 | 5 | -43/+75 |
| |\ | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py synapse/storage/schema/delta/v12.sql | ||||
| * | | Update the current state of an event if we update auth events. | Erik Johnston | 2015-01-30 | 1 | -1/+3 |
| | | | |||||
| * | | Fix regression where we no longer correctly handled the case of gaps in our ↵ | Erik Johnston | 2015-01-30 | 1 | -2/+6 |
| | | | | | | | | | | | | event graph | ||||
| * | | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 1 | -75/+132 |
| | | | |||||
| * | | Start implementing auth conflict res | Erik Johnston | 2015-01-28 | 1 | -35/+176 |
| | | | |||||
* | | | Add doc string for __nonzero__ overrides for sync results, raise not ↵ | Mark Haines | 2015-01-30 | 1 | -1/+8 |
| | | | | | | | | | | | | implemented if the client attempts to do a gapless sync | ||||
* | | | Check if the user has joined the room between incremental syncs | Mark Haines | 2015-01-30 | 1 | -4/+27 |
| | | | |||||
* | | | Pass client info to the sync_config | Mark Haines | 2015-01-30 | 1 | -2/+3 |
| | | | |||||
* | | | Fix token formatting | Mark Haines | 2015-01-30 | 1 | -3/+3 |
| | | | |||||
* | | | Filter the recent events before applying the limit when doing an initial sync | Mark Haines | 2015-01-30 | 1 | -11/+10 |
| | | | |||||
* | | | Filter the recent events before applying the limit when doing an incremental ↵ | Mark Haines | 2015-01-30 | 1 | -15/+38 |
| | | | | | | | | | | | | sync with a gap | ||||
* | | | Update todo for the filtering on sync | Mark Haines | 2015-01-29 | 1 | -1/+2 |
| | | | |||||
* | | | Fix indent | Mark Haines | 2015-01-29 | 1 | -1/+1 |
| | | | |||||
* | | | Move typing notifs to an "emphermal" event list on the room object | Mark Haines | 2015-01-29 | 1 | -5/+7 |
| | | | |||||
* | | | Fix check for empty room update | Mark Haines | 2015-01-29 | 1 | -1/+1 |
| | | | |||||
* | | | Fix v2 initial sync | Mark Haines | 2015-01-29 | 1 | -1/+2 |
| | | | |||||
* | | | Use get_room_events_stream to get changes to the rooms if the number of ↵ | Mark Haines | 2015-01-29 | 1 | -11/+45 |
| | | | | | | | | | | | | changes is small | ||||
* | | | Remove typing TODO | Mark Haines | 2015-01-29 | 1 | -1/+0 |
| | | | |||||
* | | | Add typing notifications to sync | Mark Haines | 2015-01-29 | 1 | -9/+21 |
| | | | |||||
* | | | Merge branch 'develop' into client_v2_sync | Mark Haines | 2015-01-28 | 4 | -34/+51 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge pull request #36 from matrix-org/device_id_from_access_token | Mark Haines | 2015-01-28 | 1 | -1/+11 |
| |\ \ | | | | | | | | | Extract the device id and token id from the access token when autheniticating users | ||||
| | * | | Extract the id token of the token when authing users, include the token and ↵ | Mark Haines | 2015-01-28 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | device_id in the internal meta data for the event along with the transaction id when sending events | ||||
| * | | | Merge branch 'master' into develop | David Baker | 2015-01-28 | 1 | -1/+1 |
| |\ \ \ | |||||
| | * | | | Add matrix.org as a trusted ID server because it's now passed through on ↵ | David Baker | 2015-01-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | ports 80/443 and the web client defaults to that now. Fixes email validation (including signing up with an email address). | ||||
| * | | | | Merge branch 'develop' into pushers | David Baker | 2015-01-28 | 9 | -47/+68 |
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/server.py | ||||
| * | | | | Reset badge count to zero when last active time is bumped | David Baker | 2015-01-28 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Oops, remove debugging | David Baker | 2015-01-27 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | or of course we could just return the deferred | David Baker | 2015-01-27 | 1 | -2/+1 |
| | | | | | |||||
| * | | | | Need a defer.inlineCallbacks here as we yield in it: otherwise nothing in ↵ | David Baker | 2015-01-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | the cb gets executed. | ||||
| * | | | | Unbreak bad presence merge - don't add these blocks together with an and: ↵ | David Baker | 2015-01-27 | 1 | -12/+14 |
| | | | | | | | | | | | | | | | | | | | | they're different things. | ||||
| * | | | | Merge branch 'develop' into pushers | David Baker | 2015-01-22 | 4 | -12/+14 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/rest/__init__.py | ||||
| * | | | | | Don't make the pushers' event streams cause people to appear online | David Baker | 2015-01-15 | 1 | -21/+22 |
| | | | | | | |||||
* | | | | | | Fix Formatting | Mark Haines | 2015-01-27 | 1 | -8/+5 |
| | | | | | | |||||
* | | | | | | Wait for events if the incremental sync is empty and a timeout is given | Mark Haines | 2015-01-27 | 1 | -7/+12 |
| | | | | | | |||||
* | | | | | | Start implementing incremental initial sync | Mark Haines | 2015-01-27 | 1 | -25/+208 |
| | | | | | | |||||
* | | | | | | Start implementing the non-incremental sync portion of the v2 /sync API | Mark Haines | 2015-01-26 | 2 | -25/+64 |
| | | | | | | |||||
* | | | | | | Merge branch 'develop' into client_v2_sync | Mark Haines | 2015-01-26 | 3 | -9/+24 |
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | |||||
| * | | | | | Pass the current time to serialize event, rather than passing an | Mark Haines | 2015-01-26 | 3 | -9/+24 |
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | HS and getting a clock from it and calling time_msec on the clock. Remove the serialize_event method from the HS since it is no longer needed. | ||||
* / | | | | Add handler for /sync API | Mark Haines | 2015-01-26 | 1 | -0/+110 |
|/ / / / | |||||
* | | | | Replace hs.parse_roomalias with RoomAlias.from_string | Mark Haines | 2015-01-23 | 1 | -1/+2 |
| | | | | |||||
* | | | | Replace hs.parse_roomid with RoomID.from_string | Mark Haines | 2015-01-23 | 1 | -2/+0 |
| | | | | |||||
* | | | | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 8 | -35/+42 |
| |/ / |/| | | |||||
* | | | Finish renaming "context" to "room_id" in federation codebase | Mark Haines | 2015-01-16 | 2 | -8/+6 |
| | | | |||||
* | | | Remove temporary debug logging that was accidentally committed | Mark Haines | 2015-01-16 | 1 | -2/+0 |
| | | | |||||
* | | | 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 |
| | | |||||
* | | Add raw query param for scrollback. | Kegan Dougal | 2015-01-08 | 1 | -2/+5 |
| | | |||||
* | | 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 |
| | | | | |