Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 6 | -16/+28 |
| | | | | clients. | ||||
* | Merge branch 'master' into develop | Mark Haines | 2015-01-08 | 2 | -4/+4 |
|\ | |||||
| * | Bump version | Mark Haines | 2015-01-08 | 1 | -1/+1 |
| | | |||||
| * | SYN-231: User agent header broken | Mark Haines | 2015-01-08 | 1 | -3/+3 |
| | | |||||
* | | Log server version on startup | Erik Johnston | 2015-01-07 | 1 | -0/+3 |
| | | |||||
* | | Change error message for missing pillow libs. | Kegan Dougal | 2015-01-07 | 1 | -2/+4 |
| | | |||||
* | | 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 | 2 | -12/+12 |
| | | | | | | | | | | 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 | 3 | -6/+17 |
| | | | | | | | | | | | | 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. | ||||
* | | *cough* | Matthew Hodgson | 2015-01-07 | 1 | -1/+1 |
|/ | |||||
* | Bump version and changelog | Erik Johnston | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | Remove unused import | Erik Johnston | 2015-01-07 | 1 | -2/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2015-01-07 | 2 | -1/+2 |
|\ | |||||
| * | Merge branch 'master' into develop | Mark Haines | 2015-01-06 | 2 | -1/+2 |
| |\ | |||||
| | * | Merge branch 'hotfixes-v0.6.0a' v0.6.0b | Mark Haines | 2014-12-29 | 1 | -0/+1 |
| | |\ | |||||
| | | * | Return the argument passed to the callback in a deferred callback, otherwise ↵ | Mark Haines | 2014-12-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | twisted will replace the deferred result with 'None' | ||||
| | * | | improve error msg | Matthew Hodgson | 2014-12-24 | 1 | -1/+1 |
| | |/ | |||||
* | / | Optimize FrozenEvent creation | Erik Johnston | 2015-01-06 | 2 | -9/+16 |
|/ / | |||||
* | | Use time.time() instead of time.clock() | Erik Johnston | 2015-01-06 | 1 | -4/+4 |
| | | |||||
* | | Fix typo where we used wrong var. | Erik Johnston | 2015-01-06 | 1 | -2/+2 |
| | | |||||
* | | Only fetch the columns we need. | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | | |||||
* | | RoomsForUser now has sender instead of user_id | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | | |||||
* | | Add delta and bump DB version | Erik Johnston | 2015-01-06 | 2 | -1/+17 |
| | | |||||
* | | Add index on transaction_id to sent_transcations | Erik Johnston | 2015-01-06 | 2 | -4/+1 |
| | | |||||
* | | Actually time that function | Erik Johnston | 2015-01-06 | 1 | -0/+1 |
| | | |||||
* | | Time how long calls to _get_destination_retry_timings take | Erik Johnston | 2015-01-06 | 2 | -12/+64 |
| | | |||||
* | | Don't include None's in _get_events_txn | Erik Johnston | 2015-01-06 | 1 | -1/+3 |
| | | |||||
* | | Merge branch 'erikj-perf' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-01-06 | 2 | -26/+54 |
|\ \ | |||||
| * | | Name 'user_rooms_intersect' transaction | Erik Johnston | 2015-01-06 | 1 | -16/+18 |
| | | | |||||
| * | | We don't need the full events for get_rooms_for_user_where_membership_is | Erik Johnston | 2015-01-06 | 2 | -10/+36 |
| | | | |||||
* | | | SYN-32 Use the ANTIALIAS resize method for thumbnailing images | Mark Haines | 2015-01-06 | 1 | -3/+3 |
| | | | |||||
* | | | Add some logging for when we are sending transactions. | Matrix | 2015-01-06 | 1 | -0/+6 |
| | | | |||||
* | | | Increase default maximum attachment size to 10M | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 5 | -111/+118 |
|\| | | | | | | | | Database performance improvements. | ||||
| * | | PEP8 | Erik Johnston | 2015-01-06 | 2 | -3/+4 |
| | | | |||||
| * | | Remove debug lines | Erik Johnston | 2015-01-06 | 1 | -7/+0 |
| | | | |||||
| * | | Don't do batching when getting events. | Erik Johnston | 2015-01-06 | 1 | -35/+4 |
| | | | |||||
| * | | Only fetch prev_content when a client is streaming/paginating. Use ↵ | Erik Johnston | 2015-01-06 | 2 | -86/+92 |
| | | | | | | | | | | | | transactions for event streams. | ||||
| * | | Temporarily turn off 'redacted_because' and 'prev_content' keys | Erik Johnston | 2015-01-06 | 1 | -0/+2 |
| | | | |||||
| * | | More debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+4 |
| | | | |||||
| * | | Add some debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+12 |
| | | | |||||
| * | | Reformat | Erik Johnston | 2015-01-06 | 1 | -13/+14 |
| | | | |||||
| * | | Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ↵ | Erik Johnston | 2015-01-06 | 2 | -8/+18 |
| | | | | | | | | | | | | users without having to retrieve the full events | ||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2015-01-06 | 4 | -6/+35 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2014-12-21 | 1 | -2/+4 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Merge branch 'hotfixes-v0.6.0' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2014-12-19 | 6 | -13/+39 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'release-v0.6.0' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2014-12-18 | 3 | -36/+58 |
| |\ \ \ \ | |||||
| * | | | | | Test some ideas that might help performance a bit | Erik Johnston | 2014-12-17 | 4 | -23/+32 |
| | | | | | | |||||
* | | | | | | Update copyright notices | Mark Haines | 2015-01-06 | 131 | -127/+211 |
| | | | | | | |||||
* | | | | | | Set a content-length for JSON responses | Mark Haines | 2015-01-06 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | SYN-208/SYN-228: Add runtime checks on startup to enforce that JPEG/PNG ↵ | Kegan Dougal | 2015-01-06 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | support is included when installing pillow. | ||||
* | | | | | | SYN-229: Include Content-Length when downloading files | Mark Haines | 2015-01-06 | 3 | -7/+23 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Include version in User-Agent and Server headers | Mark Haines | 2014-12-22 | 4 | -6/+35 |
| |_|_|/ |/| | | | |||||
* | | | | 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 | ||||
* | | | Look for name, topic in the event content rather than the event itself when ↵ | Mark Haines | 2014-12-19 | 1 | -4/+4 |
| | | | | | | | | | | | | persisting room name and topic events | ||||
* | | | 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 |
| | | | |||||
* | | | Remove unneeded federation keys from events | Mark Haines | 2014-12-19 | 1 | -0/+3 |
| | | | |||||
* | | | SYN-203: Handle requests for thunbnails for images that are small | Mark Haines | 2014-12-19 | 1 | -5/+14 |
| | | | |||||
* | | | 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 | 3 | -31/+53 |
| | | | | | | | | from a remote server if we are missing some of them | ||||
* | | Replace distributor deferred list, with a simple for loop until I understand ↵ | Mark Haines | 2014-12-18 | 1 | -6/+6 |
| | | | | | | | | why the former breaks and the latter doesn't | ||||
* | | Don't yield on sending the event accross federation. | Mark Haines | 2014-12-18 | 1 | -2/+2 |
|/ | |||||
* | Use _get_events_txn instead of _parse_events_txn | Erik Johnston | 2014-12-16 | 1 | -7/+1 |
| | |||||
* | 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 | 2 | -10/+14 |
|\ | | | | | | | 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 | 2 | -10/+13 |
| | | | | | | | | federation | ||||
* | | Make error messages slightly more helpful | Erik Johnston | 2014-12-16 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.6.0 | Erik Johnston | 2014-12-16 | 12 | -231/+40 |
|\ \ | | | | | | | | | | | | | Conflicts: synapse/state.py | ||||
| * \ | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 6 | -9/+90 |
| |\ \ | |||||
| * | | | SYN-142: Use a default log file 'homeserver.log' so people get logging by ↵ | Kegan Dougal | 2014-12-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | default. | ||||
| * | | | Remove send_message since nothing was calling it. Remove Snapshot because ↵ | Mark Haines | 2014-12-16 | 2 | -118/+0 |
| | | | | | | | | | | | | | | | | only send_message was using it | ||||
| * | | | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 3 | -23/+16 |
| | | | | | | | | | | | | | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
| * | | | clean up coding style a bit | Mark Haines | 2014-12-16 | 8 | -26/+26 |
| | | | | |||||
| * | | | Remove annotate_event_with_state as nothing was using it. Update state tests ↵ | Mark Haines | 2014-12-16 | 1 | -66/+0 |
| | | | | | | | | | | | | | | | | to call annotate_context_with_state | ||||
* | | | | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 3 | -7/+5 |
| | | | | |||||
* | | | | Don't assume an event exists | Erik Johnston | 2014-12-16 | 1 | -2/+4 |
| |/ / |/| | | |||||
* | | | Enable rate limiting for all events | Erik Johnston | 2014-12-16 | 1 | -0/+5 |
| | | | |||||
* | | | Fix typo where we thought a list was a dict | Erik Johnston | 2014-12-16 | 1 | -3/+4 |
| | | | |||||
* | | | Fix upgrade script to run all the missing deltas. | Erik Johnston | 2014-12-16 | 1 | -1/+57 |
| | | | |||||
* | | | Do run all deltas up to missing delta 10 | Erik Johnston | 2014-12-16 | 1 | -4/+4 |
| | | | |||||
* | | | Make failure to run appropraite upgrade scripts more helpful. | Erik Johnston | 2014-12-16 | 2 | -3/+22 |
| | | | |||||
* | | | Bump database version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | | |||||
* | | | Bump version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
|/ / | |||||
* | | Fix pyflakes | Erik Johnston | 2014-12-16 | 1 | -2/+0 |
| | | |||||
* | | Remove FrozenEncoder | Erik Johnston | 2014-12-16 | 1 | -8/+0 |
| | | |||||
* | | Better english in docstrings are helpful. | Erik Johnston | 2014-12-16 | 1 | -2/+2 |
| | | |||||
* | | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | |||||
* | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 4 | -5/+13 |
| | | |||||
* | | Add basic docstring to annotate_context_with_state | Erik Johnston | 2014-12-16 | 1 | -0/+11 |
| | | |||||
* | | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 17 | -641/+39 |
| | | |||||
* | | Add fixme to raising of AuthError in federation land | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | | |||||
* | | Fix pyflakes | Erik Johnston | 2014-12-15 | 1 | -2/+0 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-15 | 2 | -8/+26 |
|\ \ | |||||
| * | | Update media_repository.py | Kegsay | 2014-12-15 | 1 | -1/+1 |
| | | | | | | | | | _ not - | ||||
| * | | Remember to hook up the typing event stream to the notifier as well | Paul "LeoNerd" Evans | 2014-12-15 | 1 | -7/+25 |
| | | | |||||
* | | | Use frozenutils | Erik Johnston | 2014-12-15 | 2 | -34/+5 |
| | | | |||||
* | | | 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 | 6 | -12/+29 |
| | | | |||||
* | | | Remove unused functions | Erik Johnston | 2014-12-15 | 1 | -42/+0 |
| | | | |||||
* | | | Finish up upgrade script | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | | | |||||
* | | | 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 | 7 | -29/+155 |
|\| | | | | | | | | | | | | | | 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...) | ||||
| * | | Update docs in media_repository | Mark Haines | 2014-12-15 | 1 | -2/+2 |
| | | | |||||
| * | | return an mxc uri rather than a content_token. | Mark Haines | 2014-12-15 | 1 | -1/+3 |
| | | | |||||
| * | | Merge branch 'develop' into typing_notifications | Paul "LeoNerd" Evans | 2014-12-15 | 2 | -3/+3 |
| |\ \ | |||||
| | * | | Merge branch 'hotfixes-v0.5.4' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-12-13 | 2 | -3/+3 |
| | |\| | |||||
| | | * | Bump version and change log | Erik Johnston | 2014-12-13 | 1 | -1/+1 |
| | | | | |||||
| | | * | Fix bug while generating the error message when a file path specified in the ↵ | Erik Johnston | 2014-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | config doesn't exist | ||||
| * | | | 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 | ||||
| * | | | Merge branch 'develop' into typing_notifications | Paul "LeoNerd" Evans | 2014-12-11 | 22 | -17/+1294 |
| |\ \ \ | |||||
| | * | | | Merge branch 'develop' of github.com:matrix-org/synapse into develop | Paul "LeoNerd" Evans | 2014-12-11 | 22 | -17/+1294 |
| | |\| | | |||||
| | | * | | Fix typo in media repository doc string | Mark Haines | 2014-12-11 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Fix media repository doc string to include server_name | Mark Haines | 2014-12-11 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | 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 |
| | | | | | |||||
| * | | | | Initial tiny hack at REST API for setting room typing notification status | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+32 |
| |/ / / | |||||
| * | | | 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 |
| | | | | |||||
* | | | | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 4 | -7/+7 |
| | | | | |||||
* | | | | Remove unused imports | Erik Johnston | 2014-12-12 | 3 | -3/+0 |
| | | | | |||||
* | | | | Make auth module use EventTypes constants | Erik Johnston | 2014-12-12 | 1 | -27/+23 |
| | | | | |||||
* | | | | Fix tests and remove debug logging | Erik Johnston | 2014-12-12 | 1 | -4/+0 |
| | | | | |||||
* | | | | Consistently url decode and decode as utf 8 the URL parts | Erik Johnston | 2014-12-12 | 5 | -43/+35 |
| | | | | |||||
* | | | | Store json as UTF-8 and not bytes | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Pyflakes | Erik Johnston | 2014-12-12 | 1 | -1/+0 |
| | | | | |||||
* | | | | Validate message, topic and name event contents | Erik Johnston | 2014-12-12 | 3 | -1/+27 |
| | | | | |||||
* | | | | Fix stream test. Make sure we add join to auth_events for invitiations | Erik Johnston | 2014-12-12 | 1 | -0/+6 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 22 | -17/+1294 |
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | Conflicts: setup.py | ||||
| * | | | Allow only one download for a given image at a time, so that we don't end up ↵ | Mark Haines | 2014-12-11 | 3 | -20/+29 |
| | | | | | | | | | | | | | | | | downloading the same image twice if two clients request a remote image at the same time | ||||
| * | | | Limit the size of images that are thumbnailed serverside. Limit the size of ↵ | Mark Haines | 2014-12-11 | 4 | -6/+43 |
| | | | | | | | | | | | | | | | | file that a server will download from a remote server | ||||
| * | | | doc the thumbnail methods | Mark Haines | 2014-12-11 | 1 | -2/+11 |
| | | | | |||||
| * | | | Make sure we pass a tuple to string '%' formatting | Mark Haines | 2014-12-11 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 10 | -23/+255 |
| |\| | | |||||
| * | | | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 21 | -209/+512 |
| |\ \ \ | |||||
| * | | | | import Image as PIL.Image. | Mark Haines | 2014-12-10 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Get the code actually working | Mark Haines | 2014-12-10 | 6 | -52/+61 |
| | | | | | |||||
| * | | | | Thumbnail uploaded and cached images | Mark Haines | 2014-12-10 | 7 | -175/+587 |
| | | | | | |||||
| * | | | | Add a method field to thumbnail storage | Mark Haines | 2014-12-05 | 2 | -7/+12 |
| | | | | | |||||
| * | | | | Add a class for generating thumbnails using PIL | Mark Haines | 2014-12-05 | 1 | -0/+78 |
| | | | | | |||||
| * | | | | Implement download support for media_repository | Mark Haines | 2014-12-04 | 5 | -12/+278 |
| | | | | | |||||
| * | | | | Fix pyflakes and pep8 warnings | Mark Haines | 2014-12-02 | 3 | -3/+4 |
| | | | | | |||||
| * | | | | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 14 | -29/+56 |
| | | | | | |||||
| * | | | | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 7 | -7/+431 |
| | | | | | |||||
* | | | | | 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 | 3 | -10/+13 |
| | | | | | |||||
* | | | | | Fix prev_content | Erik Johnston | 2014-12-11 | 2 | -0/+14 |
| | | | | | |||||
* | | | | | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 5 | -27/+80 |
| | | | | | |||||
* | | | | | .from_string() no longer takes a HS | Erik Johnston | 2014-12-10 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Remove dead code | Erik Johnston | 2014-12-10 | 2 | -27/+0 |
| | | | | | |||||
* | | | | | Add some basic event validation | Erik Johnston | 2014-12-10 | 2 | -10/+27 |
| | | | | | |||||
* | | | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 3 | -2/+13 |
| | | | | | |||||
* | | | | | Actually fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 2 | -2/+3 |
| | | | | | |||||
* | | | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 6 | -88/+29 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 10 | -23/+255 |
|\ \ \ \ \ | | |_|/ / | |/| | | | |||||
| * | | | | turn back on per-request transaction retries, so that every time we try to ↵ | Matthew Hodgson | 2014-12-10 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | | hit a dead server we actually end up hammering 5 times :| | ||||
| * | | | | Code style. | Erik Johnston | 2014-12-10 | 3 | -46/+85 |
| | | | | | |||||
| * | | | | plateau retries after 1h | Matthew Hodgson | 2014-12-10 | 1 | -3/+6 |
| | | | | | |||||
| * | | | | add errbacks to enqueue_pdu deferreds; change logging for failed federation ↵ | Matthew Hodgson | 2014-12-10 | 2 | -8/+12 |
| | | | | | | | | | | | | | | | | | | | | sends to warn rather than exception | ||||
| * | | | | squidge to 79 columns as per pep8 | Matthew Hodgson | 2014-12-10 | 3 | -19/+36 |
| | | | | | |||||
| * | | | | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 3 | -20/+33 |
| | | | | | |||||
| * | | | | add a write-through cache on the retry schedule | Matthew Hodgson | 2014-12-08 | 1 | -4/+15 |
| | | | | | |||||
| * | | | | actually reset retry schedule if we can successfuly talk to it | Matthew Hodgson | 2014-12-08 | 2 | -0/+9 |
| | | | | | |||||
| * | | | | fix stupid syntax thinkos | Matthew Hodgson | 2014-12-07 | 2 | -13/+12 |
| | | | | | |||||
| * | | | | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 9 | -18/+156 |
| | |/ / | |/| | | | | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
* | | | | Fix AttributeError | Erik Johnston | 2014-12-10 | 2 | -1/+4 |
| | | | | |||||
* | | | | Make depth increase. | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
| | | | | |||||
* | | | | Add __str__ to FrozenEvent | Erik Johnston | 2014-12-10 | 1 | -0/+5 |
| | | | | |||||
* | | | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 9 | -34/+86 |
| | | | | |||||
* | | | | PEP8 | Erik Johnston | 2014-12-09 | 2 | -2/+2 |
| | | | | |||||
* | | | | Fix joining from an invite | Erik Johnston | 2014-12-09 | 4 | -17/+20 |
| | | | | |||||
* | | | | Change the way we implement get_events to be less sucky | Erik Johnston | 2014-12-09 | 2 | -36/+22 |
| | | | | |||||
* | | | | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | | | | |||||
* | | | | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 3 | -3/+3 |
| | | | | |||||
* | | | | 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 | 5 | -30/+35 |
| | | | | |||||
* | | | | More bug fixes | Erik Johnston | 2014-12-08 | 5 | -13/+20 |
| | | | | |||||
* | | | | Remove unused import | Erik Johnston | 2014-12-08 | 2 | -2/+0 |
| | | | | |||||
* | | | | More bug fixes | Erik Johnston | 2014-12-08 | 2 | -3/+7 |
| | | | | |||||
* | | | | Fix registration | Erik Johnston | 2014-12-08 | 2 | -3/+7 |
| | | | | |||||
* | | | | Add forgotten file | Erik Johnston | 2014-12-08 | 1 | -0/+56 |
| | | | | |||||
* | | | | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 8 | -80/+80 |
| | | | | |||||
* | | | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 10 | -134/+212 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-04 | 2 | -6/+8 |
|\| | | | |||||
| * | | | @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) | ||||
| * | | Bump changes and version | Erik Johnston | 2014-12-03 | 1 | -1/+1 |
| | | | |||||
* | | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 14 | -199/+188 |
| | | | |||||
* | | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 8 | -39/+96 |
| | | | |||||
* | | | WIP for new way of managing events. | Erik Johnston | 2014-12-03 | 9 | -102/+374 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-03 | 9 | -9/+39 |
|\| | | |||||
| * | | Fix bug where did not always resolve all the deferreds in ↵ | Erik Johnston | 2014-12-03 | 1 | -2/+6 |
| | | | | | | | | | | | | _attempt_new_transaction | ||||
| * | | Don't log synapse.storage at DEBUG level when under -v; require -v -v for that | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -0/+6 |
| | | | |||||
| * | | Workaround for non-uniqueness of room member events in the database ↵ | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -1/+3 |
| | | | | | | | | | | | | confusing HAVING COUNT() test of room membership intersection (with thanks to Tom Molesworth) | ||||
| * | | 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 | ||||
| * | | Allow GET /room/:room_id/messages without 'limit' parameter to default to 10 | Paul "LeoNerd" Evans | 2014-12-02 | 2 | -2/+8 |
| | | | |||||
| * | | Bump version v0.5.3c | Erik Johnston | 2014-12-02 | 1 | -1/+1 |
| | | | |||||
| * | | SYN-187: Set a more sensible default for the content_addr v0.5.3b | Mark Haines | 2014-12-02 | 1 | -2/+5 |
| | | | |||||
* | | | Begin fleshing out a new Event object | Erik Johnston | 2014-12-02 | 2 | -0/+194 |
| | | | |||||
* | | | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 12 | -66/+63 |
| | | | |||||
* | | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 3 | -56/+50 |
|/ / | |||||
* | | Bump version v0.5.3a | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | | |||||
* | | Bump version and changelog | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | | |||||
* | | Don't return outliers when we get recent events for rooms. | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | | |||||
* | | Fix bugs when joining a remote room that has dodgy event graphs. This should ↵ | Erik Johnston | 2014-11-27 | 2 | -30/+63 |
| | | | | | | | | 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 | 2 | -44/+106 |
| | | |||||
* | | 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 |
| | | |||||
* | | Bump version and changelog v0.5.2 | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | | |||||
* | | Don't delete the entire current_state_events table | Erik Johnston | 2014-11-26 | 1 | -1/+4 |
| | | |||||
* | | Bump version numbers and change log | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | | |||||
* | | Add update delta for schema change | Erik Johnston | 2014-11-26 | 2 | -1/+35 |
| | | |||||
* | | Update schema to support multiple signatures | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | | |||||
* | | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 5 | -47/+99 |
| | | | | | | | | turns out we are actually in | ||||
* | | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 6 | -135/+194 |
| | | | | | | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | | Don't double url-decode state event types. | Kegan Dougal | 2014-11-25 | 1 | -1/+1 |
|/ | |||||
* | Drop log level for incorrect logging contexts to WARN if the context is ↵ | Mark Haines | 2014-11-25 | 1 | -5/+8 |
| | | | | wrong and DEBUG if the context is missing | ||||
* | Mark the auth events as possible outlier | Erik Johnston | 2014-11-24 | 1 | -0/+1 |
| | |||||
* | Add missing None check | Erik Johnston | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Ask for any auth events that we don't have | Erik Johnston | 2014-11-24 | 1 | -0/+15 |
| | |||||
* | We don't always want to Auth get_persisted_pdu | Erik Johnston | 2014-11-24 | 2 | -11/+20 |
| | |||||
* | SYN-163: Add an order by rowid to selects. | Erik Johnston | 2014-11-24 | 1 | -5/+10 |
| | | | | | | | This should fix the bug where the edges of the graph get returned in a different order than they were inserted in, and so no get_event no longer returned the exact same JSON as was inserted. This meant that signature checks failed. | ||||
* | typos | Matthew Hodgson | 2014-11-24 | 1 | -2/+2 |
| | |||||
* | 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 | 2 | -7/+7 |
| | | | | at all; missing still implies default 10 | ||||
* | Fix pep8 and pyflakes warnings | Mark Haines | 2014-11-20 | 6 | -12/+21 |
| | |||||
* | Merge branch 'develop' into http_client_refactor | David Baker | 2014-11-20 | 35 | -140/+193 |
|\ | |||||
| * | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 21 | -47/+71 |
| | | |||||
| * | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 8 | -10/+17 |
| | | | | | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
| * | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 15 | -85/+107 |
| | | | | | | | | 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 | 8 | -337/+361 |
| | | | | | | | | 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 | 4 | -86/+82 |
| | | |||||
* | | CaptchaServerHttpClient should extend the base, not matrix http client. | David Baker | 2014-11-20 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' into develop | Mark Haines | 2014-11-20 | 2 | -2/+2 |
|\ |