Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add basic full text search impl. | Erik Johnston | 2015-10-09 | 8 | -1/+268 |
| | |||||
* | 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 |
| |\ \ \ \ \ | |||||
| | * \ \ \ \ | Merge pull request #211 from matrix-org/email_in_use | Mark Haines | 2015-08-20 | 4 | -0/+73 |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | Changes for unique emails | ||||
| | | * | | | | | Check absent before trying to access keys | David Baker | 2015-08-12 | 1 | -3/+3 |
| | | | | | | | | |||||
| | | * | | | | | Just leaving off the $ is fine. r* == registerrrrrrrrr | David Baker | 2015-08-12 | 1 | -1/+1 |
| | | | | | | | | |||||
| * | | | | | | | Allow sign in using email address | David Baker | 2015-08-04 | 1 | -5/+12 |
| | |/ / / / / | |/| | | | | | |||||
| * | | | | | | Remember to yield: not much point testing is a deferred is not None | David Baker | 2015-08-04 | 1 | -1/+2 |
| | | | | | | | |||||
| * | | | | | | splt long line | David Baker | 2015-08-04 | 1 | -1/+3 |
| | | | | | | | |||||
| * | | | | | | Bump schema version | David Baker | 2015-08-04 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Add endpoint that proxies ID server request token and errors if the given ↵ | David Baker | 2015-08-04 | 4 | -1/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | email is in use on this Home Server. | ||||
* | | | | | | | /tokenrefresh POST endpoint | Daniel Wagner-Hall | 2015-08-20 | 8 | -8/+177 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows refresh tokens to be exchanged for (access_token, refresh_token). It also starts issuing them on login, though no clients currently interpret them. | ||||
* | | | | | | | s/by_token/by_access_token/g | Daniel Wagner-Hall | 2015-08-20 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're about to have two kinds of token, access and refresh | ||||
* | | | | | | | Move token generation to auth handler | Daniel Wagner-Hall | 2015-08-20 | 2 | -24/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I prefer the auth handler to worry about all auth, and register to call into it as needed, than to smatter auth logic between the two. | ||||
* | | | | | | | Merge branch 'auth' into refresh | Daniel Wagner-Hall | 2015-08-20 | 3 | -6/+18 |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | |||||
| * | | | | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-19 | 9 | -25/+128 |
| |\ \ \ \ \ | | | |/ / / | | |/| | | | |||||
| * | | | | | Re-add whitespace around caveat operators | Daniel Wagner-Hall | 2015-08-19 | 1 | -4/+4 |
| | | | | | | |||||
| * | | | | | Switch to pymacaroons-pynacl | Daniel Wagner-Hall | 2015-08-19 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Remove padding space around caveat operators | Daniel Wagner-Hall | 2015-08-18 | 1 | -4/+4 |
| | | | | | | |||||
| * | | | | | Fix some formatting to use tuples | Daniel Wagner-Hall | 2015-08-18 | 1 | -4/+4 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-18 | 31 | -448/+1236 |
| |\ \ \ \ \ | |||||
| * | | | | | | Remove accidentally added file | Daniel Wagner-Hall | 2015-08-18 | 1 | -0/+0 |
| | | | | | | | |||||
| * | | | | | | Issue macaroons as opaque auth tokens | Daniel Wagner-Hall | 2015-08-18 | 4 | -6/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just replaces random bytes with macaroons. The macaroons are not inspected by the client or server. In particular, they claim to have an expiry time, but nothing verifies that they have not expired. Follow-up commits will actually enforce the expiration, and allow for token refresh. See https://bit.ly/matrix-auth for more information | ||||
* | | | | | | | Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_users | Erik Johnston | 2015-08-19 | 3 | -12/+32 |
| |_|/ / / / |/| | | | | | |||||
* | | | | | | Remove an access token log line | Erik Johnston | 2015-08-19 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Fix regression where we incorrectly responded with a 200 to /login | Erik Johnston | 2015-08-19 | 1 | -1/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #228 from matrix-org/erikj/_get_state_for_groups | Erik Johnston | 2015-08-18 | 1 | -2/+5 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Ensure we never return a None event from _get_state_for_groups | ||||
| * | | | | | | Remove newline because vertical whitespace makes mjark sad | Erik Johnston | 2015-08-18 | 1 | -2/+1 |
| | | | | | | | |||||
| * | | | | | | Rejig the code to make it nicer | Erik Johnston | 2015-08-18 | 1 | -3/+2 |
| | | | | | | | |||||
| * | | | | | | Ensure we never return a None event from _get_state_for_groups | Erik Johnston | 2015-08-18 | 1 | -3/+8 |
| | |/ / / / | |/| | | | |