Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix pep8 warnings. | Mark Haines | 2015-10-13 | 1 | -8/+12 |
| | |||||
* | Bounce all deferreds through the reactor to make debugging easier. | Mark Haines | 2015-10-13 | 2 | -0/+70 |
| | | | | | | If all deferreds wait a reactor tick before resolving then there is always a chance to add an errback to the deferred so that stacktraces get reported, rather than being discarded. | ||||
* | rename schema_prepare to prepare_database | Erik Johnston | 2015-10-13 | 4 | -3/+3 |
| | |||||
* | Expose error more nicely | Erik Johnston | 2015-10-13 | 5 | -8/+4 |
| | |||||
* | Split out the schema preparation and update logic into its own module | Erik Johnston | 2015-10-13 | 4 | -377/+402 |
| | |||||
* | Merge pull request #299 from stevenhammerton/sh-cas-required-attribute | Erik Johnston | 2015-10-12 | 2 | -27/+61 |
|\ | | | | | SH CAS Required Attribute | ||||
| * | Add a comment to clarify why we split on closing curly brace when reading ↵ | Steven Hammerton | 2015-10-12 | 1 | -0/+5 |
| | | | | | | | | CAS attribute tags | ||||
| * | Unpack dictionary in for loop for nicer syntax | Steven Hammerton | 2015-10-12 | 1 | -4/+4 |
| | | |||||
| * | Default cas_required_attributes to empty dictionary | Steven Hammerton | 2015-10-12 | 1 | -1/+1 |
| | | |||||
| * | Remove not required parenthesis | Steven Hammerton | 2015-10-12 | 1 | -1/+1 |
| | | |||||
| * | Support multiple required attributes in CAS response, and in a nicer config ↵ | Steven Hammerton | 2015-10-12 | 2 | -22/+10 |
| | | | | | | | | format too | ||||
| * | Allow optional config params for a required attribute and it's value, if ↵ | Steven Hammerton | 2015-10-12 | 2 | -1/+30 |
| | | | | | | | | specified any CAS user must have the given attribute and the value must equal | ||||
| * | Parse both user and attributes from CAS response | Steven Hammerton | 2015-10-12 | 1 | -26/+38 |
| | | |||||
* | | Merge pull request #296 from matrix-org/markjh/eventstream_presence | Mark Haines | 2015-10-12 | 1 | -35/+52 |
|\ \ | | | | | | | Split the sections of EventStreamHandler.get_stream that handle presence | ||||
| * | | Split the sections of EventStreamHandler.get_stream that handle presence | Mark Haines | 2015-10-09 | 1 | -35/+52 |
| | | | | | | | | | | | | | | | | | | | | | into separate functions. This makes the code a bit easier to read, and means that we can reuse the logic when implementing the v2 sync API. | ||||
* | | | Merge pull request #297 from matrix-org/markjh/presence_races | Mark Haines | 2015-10-12 | 1 | -3/+8 |
|\ \ \ | |_|/ |/| | | Fix some races in the synapse presence handler caused by not yielding… | ||||
| * | | Fix some races in the synapse presence handler caused by not yielding on ↵ | Mark Haines | 2015-10-09 | 1 | -3/+8 |
| |/ | | | | | | | deferreds | ||||
* | | Fix previous merge to s/version_string/user_agent/ | Erik Johnston | 2015-10-10 | 1 | -2/+2 |
| | | |||||
* | | Raise LoginError if CasResponse doensn't contain user | Steven Hammerton | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | Fix my broken line splitting | Steven Hammerton | 2015-10-10 | 1 | -4/+6 |
| | | |||||
* | | Use UserId to create FQ user id | Steven Hammerton | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | Add get_raw method to SimpleHttpClient, use this in CAS auth rather than ↵ | Steven Hammerton | 2015-10-10 | 2 | -24/+44 |
| | | | | | | | | requests | ||||
* | | Formatting changes | Steven Hammerton | 2015-10-10 | 2 | -6/+14 |
| | | |||||
* | | Provide ability to login using CAS | Steven Hammerton | 2015-10-10 | 4 | -2/+135 |
| | | |||||
* | | Merge pull request #294 from matrix-org/markjh/initial_sync_archived_flag | Mark Haines | 2015-10-09 | 2 | -6/+11 |
|\ \ | | | | | | | Add a flag to initial sync to include we want rooms that the user has left | ||||
| * | | Use 'true' rather than '1' for archived flag | Mark Haines | 2015-10-08 | 1 | -1/+1 |
| | | | |||||
| * | | Add a flag to initial sync to indicate we want rooms that the user has left | Mark Haines | 2015-10-08 | 2 | -6/+11 |
| |/ | |||||
* | | Use raw string for regex here, otherwise \b is the backspace character. ↵ | David Baker | 2015-10-08 | 1 | -1/+1 |
| | | | | | | | | Fixes displayname matching. | ||||
* | | Merge pull request #292 from matrix-org/daniel/useragent | Daniel Wagner-Hall | 2015-10-06 | 2 | -6/+10 |
|\ \ | | | | | | | Allow synapse's useragent to be customized | ||||
| * | | Use space not dash as delimiter | Daniel Wagner-Hall | 2015-10-06 | 1 | -1/+1 |
| | | | |||||
| * | | Use space not dash as delimiter | Daniel Wagner-Hall | 2015-10-06 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'develop' into daniel/useragent | Daniel Wagner-Hall | 2015-10-06 | 9 | -87/+219 |
| |\| | |||||
| * | | Preserve version string in user agent | Daniel Wagner-Hall | 2015-10-05 | 2 | -4/+4 |
| | | | |||||
| * | | Allow synapse's useragent to be customized | Daniel Wagner-Hall | 2015-10-02 | 2 | -6/+10 |
| | | | | | | | | | | | | | | | This will allow me to write tests which verify which server made HTTP requests in a federation context. | ||||
* | | | Remove log line that was generated whenever an error was created. We are now ↵ | Mark Haines | 2015-10-06 | 1 | -1/+0 |
| |/ |/| | | | | | creating error objects that aren't raised so it's probably a bit too confusing to keep | ||||
* | | Explicitly add Create event as auth event | Erik Johnston | 2015-10-02 | 1 | -2/+3 |
| | | |||||
* | | Add 'trusted_private_chat' to room creation presets | Erik Johnston | 2015-10-02 | 2 | -0/+6 |
| | | |||||
* | | Merge pull request #275 from matrix-org/erikj/invite_state | Erik Johnston | 2015-10-02 | 3 | -5/+34 |
|\ \ | | | | | | | Bundle in some room state in invites. | ||||
| * | | Also bundle in sender | Erik Johnston | 2015-10-02 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/invite_state | Erik Johnston | 2015-09-25 | 39 | -181/+724 |
| |\ \ | |||||
| * | | | Bundle in some room state in the unsigned bit of the invite when sending to ↵ | Erik Johnston | 2015-09-10 | 4 | -7/+35 |
| | | | | | | | | | | | | | | | | invited servers | ||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatable | Erik Johnston | 2015-10-02 | 47 | -847/+875 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #283 from matrix-org/erikj/atomic_join_federation | Erik Johnston | 2015-10-02 | 1 | -76/+131 |
| |\ \ \ \ | | | | | | | | | | | | | Atomically persist events when joining a room over federation/ | ||||
| | * | | | | Comment | Erik Johnston | 2015-09-30 | 1 | -0/+8 |
| | | | | | | |||||
| | * | | | | Rename var | Erik Johnston | 2015-09-30 | 1 | -3/+3 |
| | | | | | | |||||
| | * | | | | Fix getting an event for a room the server forgot it was in | Erik Johnston | 2015-09-17 | 1 | -47/+59 |
| | | | | | | |||||
| | * | | | | Also persist state | Erik Johnston | 2015-09-17 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Capture err | Erik Johnston | 2015-09-17 | 1 | -2/+2 |
| | | | | | | |||||
| | * | | | | Also handle state | Erik Johnston | 2015-09-17 | 1 | -3/+3 |
| | | | | | | |||||
| | * | | | | Don't bail out of joining if we encounter a rejected event | Erik Johnston | 2015-09-17 | 1 | -13/+20 |
| | | | | | | |||||
| | * | | | | Refactor do_invite_join | Erik Johnston | 2015-09-17 | 2 | -31/+56 |
| | | | | | | |||||
| * | | | | | Validate the receipt type before passing it on to the receipt handler | Kegan Dougal | 2015-10-01 | 1 | -0/+4 |
| | | | | | | |||||
| * | | | | | Don't change cwd in synctl | Erik Johnston | 2015-10-01 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Merge pull request #287 from matrix-org/erikj/canonical_alias | Erik Johnston | 2015-09-30 | 1 | -1/+10 |
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | Set m.room.canonical_alias on room creation. | ||||
| | * | | | | Remove double indentation | Erik Johnston | 2015-09-30 | 1 | -7/+6 |
| | | | | | | |||||
| | * | | | | Set m.room.canonical_alias on room creation. | Erik Johnston | 2015-09-23 | 1 | -1/+11 |
| | | | | | | |||||
| * | | | | | Merge pull request #288 from matrix-org/markjh/unused_definitions | Mark Haines | 2015-09-28 | 14 | -565/+3 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Remove some of the unused definitions from synapse | ||||
| | * | | | | | synapse/storage/state.py: _make_group_id was unused | Mark Haines | 2015-09-23 | 1 | -6/+0 |
| | | | | | | | |||||
| | * | | | | | Remove unused functions from synapse/storage/signatures.py | Mark Haines | 2015-09-23 | 1 | -112/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/roommember.py:_get_members_query was unused | Mark Haines | 2015-09-23 | 1 | -6/+0 |
| | | | | | | | |||||
| | * | | | | | Remove unused functions from synapse/storage/events.py | Mark Haines | 2015-09-23 | 1 | -11/+0 |
| | | | | | | | |||||
| | * | | | | | Remove unused functions from synapse/storage/event_federation.py | Mark Haines | 2015-09-23 | 1 | -71/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/_base.py:_simple_max_id was unused | Mark Haines | 2015-09-23 | 1 | -18/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/_base.py:_simple_delete was unused | Mark Haines | 2015-09-23 | 1 | -10/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/_base.py:_simple_selectupdate_one was unused | Mark Haines | 2015-09-23 | 1 | -31/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/state.py:_get_state_key_from_event was unused | Mark Haines | 2015-09-23 | 1 | -4/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/handlers/room.py:_should_invite_join was unused | Mark Haines | 2015-09-23 | 1 | -26/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/handlers/federation.py:_handle_auth_events was unused | Mark Haines | 2015-09-23 | 1 | -49/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/event_federation.py:_get_auth_events is unused | Mark Haines | 2015-09-22 | 1 | -21/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/_base.py:_execute_and_decode was unused | Mark Haines | 2015-09-22 | 1 | -3/+0 |
| | | | | | | | |||||
| | * | | | | | Move NullSource out of synapse and into tests since it is only used by the tests | Mark Haines | 2015-09-22 | 1 | -16/+0 |
| | | | | | | | |||||
| | * | | | | | Note that GzipFile was removed in comment that referenced it | Mark Haines | 2015-09-22 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | synapse/app/homeserver.py:GzipFile was unused | Mark Haines | 2015-09-22 | 1 | -6/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/streams/events.py:StreamSource was unused | Mark Haines | 2015-09-22 | 1 | -12/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/api/errors.py:RoomError was unused | Mark Haines | 2015-09-22 | 1 | -5/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/util/__init__.py:unwrap_deferred was unused | Mark Haines | 2015-09-22 | 1 | -28/+0 |
| | | | | | | | |||||
| | * | | | | | synapse/storage/_base.py:Table was unused | Mark Haines | 2015-09-22 | 2 | -130/+2 |
| | | | | | | | |||||
| * | | | | | | Fix restart | Daniel Wagner-Hall | 2015-09-24 | 1 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | Allow config file path to be configurable in in synctl | Daniel Wagner-Hall | 2015-09-24 | 1 | -24/+26 |
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | Also, allow it to be run from directories other than the synapse directory | ||||
| * | | | | | Merge pull request #289 from matrix-org/markjh/fix_sql | Erik Johnston | 2015-09-24 | 1 | -6/+6 |
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | Fix order of ON constraints in _get_rooms_for_user_where_membership | ||||
| | * | | | | Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txn | Mark Haines | 2015-09-24 | 1 | -6/+6 |
| | |/ / / | |||||
| * | | | | Merge pull request #282 from matrix-org/erikj/missing_keys | Erik Johnston | 2015-09-23 | 1 | -4/+3 |
| |\ \ \ \ | | | | | | | | | | | | | Fix bug where we sometimes didn't fetch all the keys requested for a server. | ||||
| | * | | | | Fix bug where we sometimes didn't fetch all the keys requested for a | Erik Johnston | 2015-09-17 | 1 | -4/+3 |
| | | |/ / | | |/| | | | | | | | | | | | | server. | ||||
| * | | | | Merge pull request #271 from matrix-org/erikj/default_history | Erik Johnston | 2015-09-23 | 1 | -1/+1 |
| |\ \ \ \ | | |_|/ / | |/| | | | Change default history visibility for private rooms | ||||
| | * | | | Change default history visibility for private rooms | Erik Johnston | 2015-09-09 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Merge pull request #286 from matrix-org/markjh/stream_config_repr | Mark Haines | 2015-09-22 | 1 | -3/+8 |
| |\ \ \ \ | | | | | | | | | | | | | Define __repr__ methods for StreamConfig and PaginationConfig | ||||
| | * | | | | Define __repr__ methods for StreamConfig and PaginationConfig | Mark Haines | 2015-09-22 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | So that they can be used with "%r" log formats. | ||||
| * | | | | | Add some docstrings | Daniel Wagner-Hall | 2015-09-22 | 2 | -0/+4 |
| | | | | | | |||||
| * | | | | | Catch stats-reporting errors | Daniel Wagner-Hall | 2015-09-22 | 1 | -4/+7 |
| | | | | | | |||||
| * | | | | | Add docstring | Daniel Wagner-Hall | 2015-09-22 | 1 | -0/+6 |
| | | | | | | |||||
| * | | | | | Front-load spaces | Daniel Wagner-Hall | 2015-09-22 | 1 | -7/+7 |
| | | | | | | |||||
| * | | | | | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 20 | -24/+212 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
| * | | | | Merge pull request #276 from ↵ | Mark Haines | 2015-09-21 | 8 | -115/+260 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left. | ||||
| | * | | | | Clarify that room_initial_sync returns a python dict | Mark Haines | 2015-09-21 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Fix doc string to point at the right class | Mark Haines | 2015-09-21 | 1 | -2/+3 |
| | | | | | | |||||
| | * | | | | Add explicit "elif event.membership == Membership.LEAVE" for clarity | Mark Haines | 2015-09-21 | 1 | -1/+2 |
| | | | | | | |||||
| | * | | | | Clamp the "to" token for /rooms/{roomId}/messages to when the user left | Mark Haines | 2015-09-21 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the room. There isn't a way for the client to learn a valid "to" token for a room that they have left in the C-S API but that doesn't stop a client making one up. | ||||
| | * | | | | Clarify which event is returned by check_user_was_in_room | Mark Haines | 2015-09-21 | 1 | -2/+3 |
| | | | | | | |||||
| | * | | | | Allow users to GET individual state events for rooms that they have left | Mark Haines | 2015-09-10 | 1 | -7/+13 |
| | | | | | | |||||
| | * | | | | Allow users that have left a room to get the messages that happend in the ↵ | Mark Haines | 2015-09-09 | 2 | -5/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | room before they left | ||||
| | * | | | | Remove undocumented and unimplemented 'feedback' parameter from the ↵ | Mark Haines | 2015-09-09 | 6 | -42/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | Client-Server API | ||||
| | * | | | | Allow users that have left the room to view the member list from the point ↵ | Mark Haines | 2015-09-09 | 2 | -41/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | they left | ||||
| | * | | | | Allow rooms/{roomId}/state for a room that has been left | Mark Haines | 2015-09-09 | 2 | -6/+15 |
| | | | | | | |||||
| | * | | | | Allow room initialSync for users that have left the room, returning a ↵ | Mark Haines | 2015-09-09 | 3 | -9/+140 |
| | | | | | | | | | | | | | | | | | | | | | | | | snapshot of how the room was when they left it | ||||
| | * | | | | Include rooms that a user has left in an initialSync. Include the state and ↵ | Mark Haines | 2015-09-08 | 1 | -6/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | messages at the point they left the room | ||||
| | * | | | | Include the event_id and stream_ordering of membership events when looking ↵ | Mark Haines | 2015-09-08 | 1 | -2/+4 |
| | |/ / / | | | | | | | | | | | | | | | | up which rooms a user is in | ||||
| * | | | | Merge pull request #267 from matrix-org/markjh/missing_requirements | Mark Haines | 2015-09-18 | 2 | -11/+29 |
| |\ \ \ \ | | | | | | | | | | | | | Print an example "pip install" line for a missing requirement | ||||
| | * | | | | Add nacl.bindings to the list of modules checked. Re-arrange import order to ↵ | Mark Haines | 2015-09-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | check packages after the packages they depend on | ||||
| | * | | | | Print an example "pip install" line for a missing requirement | Mark Haines | 2015-09-01 | 2 | -8/+26 |
| | | | | | | |||||
| * | | | | | Remove run_on_reactor | Erik Johnston | 2015-09-17 | 1 | -3/+0 |
| | |_|/ / | |/| | | | |||||
| * | | | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-09-16 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| | * \ \ \ | Merge branch 'erikj/update_extremeties' into hotfixes-v0.10.0-r2 | Erik Johnston | 2015-09-16 | 2 | -0/+11 |
| | |\ \ \ \ | |||||
| | * | | | | | Fix adding threepids to an existing account | David Baker | 2015-09-10 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | Bump version and change log | Erik Johnston | 2015-09-10 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Various bug fixes to crypto.keyring | Erik Johnston | 2015-09-10 | 1 | -10/+17 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #281 from matrix-org/erikj/update_extremeties | Erik Johnston | 2015-09-15 | 2 | -0/+11 |
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | When updating a stored event from outlier to non-outlier, remember to update the extremeties | ||||
| | * | | | | | "Comments" | Erik Johnston | 2015-09-15 | 1 | -0/+6 |
| | | | | | | | |||||
| | * | | | | | When updating a stored event from outlier to non-outlier, remember to update ↵ | Erik Johnston | 2015-09-15 | 2 | -0/+5 |
| | |/ / / / | | | | | | | | | | | | | | | | | | | the extremeties | ||||
| * | | | | | Merge pull request #272 from matrix-org/daniel/insecureclient | Daniel Wagner-Hall | 2015-09-15 | 7 | -12/+55 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Allow configuration to ignore invalid SSL certs | ||||
| | * | | | | | Use shorter config key name | Daniel Wagner-Hall | 2015-09-15 | 2 | -4/+5 |
| | | | | | | | |||||
| | * | | | | | Rename context factory | Daniel Wagner-Hall | 2015-09-15 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mjark is officially no fun. | ||||
| | * | | | | | Merge branch 'master' into daniel/insecureclient | Daniel Wagner-Hall | 2015-09-15 | 1 | -1/+1 |
| | |\| | | | | |||||
| | * | | | | | Merge branch 'daniel/insecureclient' into develop | Daniel Wagner-Hall | 2015-09-09 | 7 | -12/+54 |
| | |\ \ \ \ \ | | | |_|_|/ / | | |/| | | | | |||||
| | | * | | | | Better document the intent of the insecure SSL setting | Daniel Wagner-Hall | 2015-09-09 | 1 | -2/+6 |
| | | | | | | | |||||
| | | * | | | | Fix random formatting | Daniel Wagner-Hall | 2015-09-09 | 2 | -2/+2 |
| | | | | | | | |||||
| | | * | | | | Allow configuration to ignore invalid SSL certs | Daniel Wagner-Hall | 2015-09-09 | 7 | -12/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be useful for sytest, and sytest only, hence the aggressive config key name. | ||||
| * | | | | | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-09-15 | 1 | -1/+1 |
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | |||||
| | * | | | | | Bump version/changelog v0.10.0-r1 | Erik Johnston | 2015-09-08 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Hacky attempt at catching SIGHUP and rotating the logfile around | Paul "LeoNerd" Evans | 2015-09-14 | 1 | -0/+14 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #256 from matrix-org/auth | Daniel Wagner-Hall | 2015-09-14 | 1 | -3/+89 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Attempt to validate macaroons | ||||
| | * | | | | | | s/user_id/user/g for consistency | Daniel Wagner-Hall | 2015-09-01 | 1 | -10/+10 |
| | | | | | | | | |||||
| | * | | | | | | Merge branch 'mergeeriksmadness' into auth | Daniel Wagner-Hall | 2015-08-26 | 4 | -12/+50 |
| | |\ \ \ \ \ \ | |||||
| | * | | | | | | | Attempt to validate macaroons | Daniel Wagner-Hall | 2015-08-26 | 1 | -9/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of weird caveats: * If we can't validate your macaroon, we fall back to checking that your access token is in the DB, and ignoring the failure * Even if we can validate your macaroon, we still have to hit the DB to get the access token ID, which we pretend is a device ID all over the codebase. This mostly adds the interesting code, and points out the two pieces we need to delete (and necessary conditions) in order to fix the above caveats. | ||||
* | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatable | Erik Johnston | 2015-09-14 | 9 | -26/+87 |
|\| | | | | | | | | |||||
| * | | | | | | | | Merge pull request #265 from matrix-org/erikj/check_room_exists | Erik Johnston | 2015-09-14 | 1 | -0/+8 |
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Check room exists when authenticating an event | ||||
| * | | | | | | | | | Drop unused index | Erik Johnston | 2015-09-14 | 1 | -0/+16 |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | |||||
| * | | | | | | | | Merge pull request #274 from matrix-org/add_threepid_fix | David Baker | 2015-09-10 | 1 | -0/+1 |
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fix adding threepids to an existing account | ||||
| | * | | | | | | | | Fix adding threepids to an existing account | David Baker | 2015-09-10 | 1 | -0/+1 |
| | | |_|_|/ / / / | | |/| | | | | | | |||||
| * | | | | | | | | Merge pull request #270 from matrix-org/markjh/fix_metrics | Erik Johnston | 2015-09-10 | 1 | -4/+7 |
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fix the size reported by maxrss. | ||||
| | * | | | | | | | | Check that /proc/self/fd exists before listing it | Mark Haines | 2015-09-07 | 1 | -0/+4 |
| | | | | | | | | | | |||||
| | * | | | | | | | | The maxrss reported by getrusage is in kilobytes, not pages | Mark Haines | 2015-09-07 | 1 | -4/+3 |
| | | |_|_|_|/ / / | | |/| | | | | | | |||||
| * / | | | | | | | Various bug fixes to crypto.keyring | Erik Johnston | 2015-09-09 | 1 | -10/+17 |
| |/ / / / / / / | |||||
| * | | | | / / | Merge branch 'master' into develop | Mark Haines | 2015-09-07 | 3 | -3/+3 |
| |\| | | | | | | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | Conflicts: setup.py | ||||
| | * | | | | | Change log level to info | Erik Johnston | 2015-09-03 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Bump version and changelog | Erik Johnston | 2015-09-03 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Lists use 'append' | Erik Johnston | 2015-09-02 | 1 | -1/+1 |
| | | | | | | | |||||
| | * | | | | | Bump version and changelog v0.10.0-rc6 | Erik Johnston | 2015-09-02 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #262 from matrix-org/redactyoself | Daniel Wagner-Hall | 2015-09-02 | 2 | -9/+43 |
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | Allow users to redact their own events | ||||
| | * | | | | | Check domain of events properly | Daniel Wagner-Hall | 2015-09-01 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Federated servers still need to delegate authority to owning servers | ||||
| | * | | | | | Merge branch 'develop' into redactyoself | Daniel Wagner-Hall | 2015-08-28 | 16 | -72/+219 |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/_base.py | ||||
| | * | | | | | | Allow users to redact their own events | Daniel Wagner-Hall | 2015-08-28 | 2 | -10/+42 |
| | | |_|_|_|/ | | |/| | | | | |||||
* | | | | | | | Also check the domains for membership state_keys | Erik Johnston | 2015-09-01 | 1 | -0/+9 |
| | | | | | | | |||||
* | | | | | | | Merge branch 'erikj/check_room_exists' into erikj/unfederatable | Erik Johnston | 2015-09-01 | 1 | -0/+8 |
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | |||||
| * | | | | | | Fix tests | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Check room exists when authenticating an event, by asserting they reference ↵ | Erik Johnston | 2015-09-01 | 1 | -0/+8 |
| |/ / / / / | | | | | | | | | | | | | | | | | | | a creation event | ||||
* | | | | | | Check against sender rather than event_id | Erik Johnston | 2015-09-01 | 1 | -3/+3 |
| | | | | | | |||||
* | | | | | | Add flag which disables federation of the room | Erik Johnston | 2015-09-01 | 2 | -3/+21 |
|/ / / / / | |||||
* | | | | | Use the version of "matrix-angular-sdk" hosted on pypi | Mark Haines | 2015-09-01 | 1 | -5/+0 |
| | | | | | |||||
* | | | | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-09-01 | 2 | -1/+3 |
|\ \ \ \ \ | | |_|/ / | |/| | | | |||||
| * | | | | Merge pull request #261 from matrix-org/erikj/scripts_clean | Erik Johnston | 2015-09-01 | 1 | -0/+2 |
| |\ \ \ \ | | | | | | | | | | | | | Clean up scripts/ | ||||
| | * | | | | Actually add config path | Erik Johnston | 2015-08-28 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | Lower size of 'stateGroupCache' now that we have data from matrix.org to ↵ | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
| |/ / / / | | | | | | | | | | | | | | | | support doing so | ||||
* | | | | | don't log the whole DB config (including postgres password...) | Matthew Hodgson | 2015-08-29 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Merge pull request #258 from matrix-org/slowtestsmakemesad | Daniel Wagner-Hall | 2015-08-28 | 2 | -4/+26 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Swap out bcrypt for md5 in tests | ||||
| * | | | | Remove unused import | Daniel Wagner-Hall | 2015-08-26 | 1 | -1/+0 |
| | | | | | |||||
| * | | | | Swap out bcrypt for md5 in tests | Daniel Wagner-Hall | 2015-08-26 | 2 | -3/+26 |
| | |/ / | |/| | | | | | | | | | | This reduces our ~8 second sequential test time down to ~7 seconds | ||||
* | | | | Merge branch 'release-v0.10.0' into develop | Mark Haines | 2015-08-28 | 16 | -72/+219 |
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py | ||||
| * | | Bump version and changelog v0.10.0-rc5 | Erik Johnston | 2015-08-27 | 1 | -1/+1 |
| | | | |||||
| * | | Consistency | Erik Johnston | 2015-08-27 | 1 | -3/+3 |
| | | | |||||
| * | | Check for an internationalised filename first | Erik Johnston | 2015-08-27 | 1 | -8/+14 |
| | | | |||||
| * | | None check the correct variable | Erik Johnston | 2015-08-27 | 1 | -2/+3 |
| | | | |||||
| * | | Check for None | Erik Johnston | 2015-08-27 | 1 | -1/+1 |
| | | | |||||
| * | | Bump changelog and version v0.10.0-rc4 | Erik Johnston | 2015-08-27 | 1 | -1/+1 |
| | | | |||||
| * | | Give a sensible error message if the filename is invalid UTF-8 | Mark Haines | 2015-08-26 | 2 | -2/+8 |
| | | | |||||
| * | | Handle unicode filenames given when downloading or received over federation | Mark Haines | 2015-08-26 | 1 | -5/+21 |
| | | | |||||
| * | | Allow non-ascii filenames for attachments | Mark Haines | 2015-08-26 | 3 | -8/+17 |
| | | | |||||
| * | | Remove needless existence checks | Erik Johnston | 2015-08-26 | 1 | -7/+3 |
| | | | |||||
| * | | Don't loop over all rooms ever in typing.get_new_events_for_user | Erik Johnston | 2015-08-26 | 1 | -2/+2 |
| | | | |||||
| * | | Bump changelog and version v0.10.0-rc3 | Erik Johnston | 2015-08-25 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #250 from matrix-org/erikj/generated_directory | Erik Johnston | 2015-08-25 | 1 | -2/+15 |
| |\ \ | | | | | | | | | Add config option to specify where generated files should be dumped | ||||
| | * | | Update config doc | Erik Johnston | 2015-08-25 | 1 | -1/+2 |
| | | | | |||||
| | * | | s/--generated-directory/--keys-directory/ | Erik Johnston | 2015-08-25 | 1 | -7/+7 |
| | | | | |||||
| | * | | Add config option to specify where generated files should be dumped | Erik Johnston | 2015-08-25 | 1 | -2/+14 |
| | | | | |||||
| * | | | Warn if we encounter unexpected files in config directories | Erik Johnston | 2015-08-25 | 1 | -7/+17 |
| |/ / | |||||
| * | | Allow specifying directories as config files | Erik Johnston | 2015-08-25 | 1 | -6/+24 |
| | | | |||||
| * | | Merge pull request #245 from matrix-org/erikj/configurable_client_location | Erik Johnston | 2015-08-25 | 3 | -14/+30 |
| |\ \ | | | | | | | | | Allow specifying a directory to host a web client from | ||||
| | * | | Print the correct pip install line when failing due to lack of ↵ | Erik Johnston | 2015-08-25 | 2 | -8/+9 |
| | | | | | | | | | | | | | | | | matrix-angular-sdk | ||||
| | * | | Update the log message | Erik Johnston | 2015-08-25 | 1 | -5/+10 |
| | | | | |||||
| | * | | Revert previous commit. Instead, always download matrix-angular-sdk as a ↵ | Erik Johnston | 2015-08-25 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | requirement, but don't complain (when we do check_requirements) if we don't have it when we start synapse. | ||||
| | * | | Remove dependency on matrix-angular-sdk | Erik Johnston | 2015-08-25 | 2 | -6/+9 |
| | | | | |||||
| | * | | Allow specifying a directory to host a web client from | Erik Johnston | 2015-08-25 | 2 | -3/+6 |
| | | | | |||||
| * | | | Fix typo when using sys.stderr.write | Erik Johnston | 2015-08-25 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add utility to parse config and print out a key | Erik Johnston | 2015-08-25 | 1 | -0/+30 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | Usage: ``` $ python -m synapse.config read server_name -c homeserver.yaml localhost ``` | ||||
| * | | Bump version and changelog v0.10.0-rc2 | Erik Johnston | 2015-08-24 | 1 | -1/+1 |
| | | | |||||
| * | | Do auth checks *before* persisting the event | Erik Johnston | 2015-08-24 | 1 | -16/+16 |
| | | | |||||
| * | | Don't make pushers handle presence/typing events | Erik Johnston | 2015-08-24 | 3 | -6/+19 |
| | | | |||||
| * | | Don't insert events into 'event_*_extremeties' tables if they're outliers | Erik Johnston | 2015-08-23 | 1 | -2/+8 |
| | | | |||||
| * | | Actually check if event_id isn't returned by _get_state_groups | Erik Johnston | 2015-08-21 | 1 | -2/+9 |
| | | | |||||
| * | | Doc string | Erik Johnston | 2015-08-21 | 1 | -0/+6 |
| | | | |||||
| * | | When logging in fetch user by user_id case insensitively, *unless* there are ↵ | Erik Johnston | 2015-08-21 | 3 | -12/+31 |
| | | | | | | | | | | | | multiple case insensitive matches, in which case require the exact user_id | ||||
| * | | Don't allow people to register user ids which only differ by case to an ↵ | Erik Johnston | 2015-08-21 | 2 | -2/+13 |
| | | | | | | | | | | | | existing one | ||||
* | | | Merge erikj/user_dedup to develop | Daniel Wagner-Hall | 2015-08-26 | 4 | -12/+50 |
| |/ |/| | |||||
* | | Merge pull request #251 from matrix-org/removeadmin | Daniel Wagner-Hall | 2015-08-25 | 2 | -6/+3 |
|\ \ | | | | | | | Stop looking up "admin", which we never read | ||||
| * \ | Merge branch 'deviceid' into removeadmin | Daniel Wagner-Hall | 2015-08-25 | 2 | -4/+2 |
| |\ \ | |||||
| * | | | Stop looking up "admin", which we never read | Daniel Wagner-Hall | 2015-08-25 | 2 | -6/+3 |
| | | | | |||||
* | | | | Merge pull request #248 from matrix-org/deviceid | Daniel Wagner-Hall | 2015-08-25 | 23 | -75/+60 |
|\ \ \ \ | | |/ / | |/| | | Remove completely unused concepts from codebase | ||||
| * | | | Fix up one more reference | Daniel Wagner-Hall | 2015-08-25 | 2 | -4/+2 |
| |/ / | |||||
| * | | Re-wrap line | Daniel Wagner-Hall | 2015-08-25 | 1 | -3/+1 |
| | | | |||||
| * | | Remove completely unused concepts from codebase | Daniel Wagner-Hall | 2015-08-25 | 22 | -70/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly. | ||||
* | | | Merge pull request #243 from matrix-org/markjh/remove_syutil | Mark Haines | 2015-08-25 | 17 | -71/+69 |
|\ \ \ | |/ / |/| | | Replace syutil dependency with smaller, single-purpose libraries | ||||
| * | | Fix typo in module imports and package dependencies | Mark Haines | 2015-08-25 | 2 | -2/+2 |
| | | | |||||
| * | | Fix indent | Mark Haines | 2015-08-24 | 1 | -1/+1 |
| | | | |||||
| * | | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 17 | -71/+69 |
| | | | |||||
* | | | Remove autoincrement since we incrementing the ID in the storage layer | Mark Haines | 2015-08-24 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-08-21 | 3 | -2/+7 |
|\| | |||||
| * | Fix bug where we didn't correctly serialize the redacted_because key over ↵ | Erik Johnston | 2015-08-21 | 2 | -1/+6 |
| | | | | | | | | federation | ||||
| * | Add missing param in store.get_state_groups invocation | Erik Johnston | 2015-08-21 | 1 | -1/+1 |
| | | |||||
* | | Return fully qualified user_id as per spec | David Baker | 2015-08-20 | 1 | -1/+1 |
| | | |||||
* | | Fix bad merge | Daniel Wagner-Hall | 2015-08-20 | 1 | -8/+1 |
| | | |||||
* | | Fix indentation | Daniel Wagner-Hall | 2015-08-20 | 1 | -1/+2 |
| | | |||||
* | | Fix flake8 warnings | Daniel Wagner-Hall | 2015-08-20 | 1 | -4/+6 |
| | | |||||
* | | Merge branch 'auth' into refresh | Daniel Wagner-Hall | 2015-08-20 | 2 | -4/+4 |
|\ \ | | | | | | | | | | | | | Conflicts: synapse/handlers/register.py | ||||
| * | | Remove incorrect whitespace | Daniel Wagner-Hall | 2015-08-20 | 1 | -3/+3 |
| | | | |||||
| * | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-20 | 1 | -1/+1 |
| |\ \ | |||||
| | * | | Correct pynacl version to 0.3.0 | Daniel Wagner-Hall | 2015-08-20 | 1 | -1/+1 |
| | |/ | | | | | | | | | | 0.0.3 was a typo | ||||
| * | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-20 | 17 | -48/+379 |
| |\| | |||||
* | | | Merge branch 'develop' into refresh | Daniel Wagner-Hall | 2015-08-20 | 15 | -35/+346 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: synapse/rest/client/v1/login.py | ||||
| * | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-08-20 | 1 | -1/+1 |
| |\ \ | |||||
| | * | | Bump version and changelog | Erik Johnston | 2015-08-20 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge pull request #235 from matrix-org/erikj/room_avatars | Erik Johnston | 2015-08-20 | 2 | -2/+4 |
| |\ \ \ | | | | | | | | | | | Add m.room.avatar to default power levels. | ||||
| | * | | | Add m.room.avatar to default power levels. Change default required power ↵ | Erik Johnston | 2015-08-20 | 2 | -2/+4 |
| | |/ / | | | | | | | | | | | | | levels of such events to 50 | ||||
| * | | | Remove spurious extra arg to set_password | David Baker | 2015-08-20 | 1 | -1/+1 |
| | | | | |||||
| * | | | Another use of check_password that got missed in the yield fix | David Baker | 2015-08-20 | 1 | -1/+1 |
| |/ / | |||||
| * | | Merge pull request #231 from matrix-org/erikj/pushers_store_last_token | Erik Johnston | 2015-08-20 | 1 | -5/+11 |
| |\ \ | | | | | | | | | Push: store the 'last_token' in the db, even if we processed no events | ||||
| | * | | Store the 'last_token' in the db, even if we processed no events | Erik Johnston | 2015-08-19 | 1 | -0/+6 |
| | | | | |||||
| | * | | Block on storing the current last_tokens | Erik Johnston | 2015-08-19 | 1 | -5/+5 |
| | | | | |||||
| * | | | Merge pull request #206 from matrix-org/erikj/generate_presice_thumbnails | Mark Haines | 2015-08-20 | 3 | -21/+226 |
| |\ \ \ | | | | | | | | | | | Always return a thumbnail of the requested size. | ||||
| | * | | | Fix flake8 warning | Mark Haines | 2015-08-13 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | Merge remote-tracking branch 'origin/develop' into ↵ | Mark Haines | 2015-08-13 | 26 | -300/+399 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | erikj/generate_presice_thumbnails | ||||
| | * | | | | Doc-string for config ultility function | Mark Haines | 2015-08-12 | 1 | -0/+11 |
| | | | | | | |||||
| | * | | | | Add config option for setting the list of thumbnail sizes to precalculate | Mark Haines | 2015-08-12 | 2 | -16/+41 |
| | | | | | | |||||
| | * | | | | Make a config option for whether to generate new thumbnail sizes dynamically | Mark Haines | 2015-08-12 | 3 | -7/+27 |
| | | | | | | |||||
| | * | | | | Factor out thumbnail() | Erik Johnston | 2015-07-23 | 1 | -56/+40 |
| | | | | | | |||||
| | * | | | | Fix remote thumbnailing | Erik Johnston | 2015-07-23 | 2 | -7/+11 |
| | | | | | | |||||
| | * | | | | Always return a thumbnail of the requested size. | Erik Johnston | 2015-07-23 | 2 | -2/+162 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, we returned a thumbnail that was at least as big (if possible) as the requested size. Now, if we don't have a thumbnail of the given size we generate (and persist) one of that size. | ||||
| * | | | | | Merge pull request #233 from matrix-org/erikj/canonical_alias | Erik Johnston | 2015-08-20 | 3 | -1/+19 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | Add server side support for canonical aliases | ||||
| | * | | | | | Check that the canonical room alias actually points to the room | Erik Johnston | 2015-08-20 | 1 | -1/+17 |
| | | | | | | | |||||
| | * | | | | | Add canonical alias to the default power levels | Erik Johnston | 2015-08-19 | 2 | -0/+2 |
| | | |_|/ / | | |/| | | | |||||
| * | | | | | Comma comma comma comma comma chameleon | David Baker | 2015-08-20 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' into email_login | David Baker | 2015-08-20 | 51 | -679/+1615 |
| |\ \ \ \ \ |