Commit Graph

987 Commits (85419e12571ff07f2978d6013e592ac9bc207ee0)

Author SHA1 Message Date
Erik Johnston 9e5545a6fa RoomsForUser now has sender instead of user_id 10 years ago
Erik Johnston a01416cf21 Add delta and bump DB version 10 years ago
Erik Johnston f6da237c35 Add index on transaction_id to sent_transcations 10 years ago
Erik Johnston 9bd07bed23 Actually time that function 10 years ago
Erik Johnston 03a501456c Time how long calls to _get_destination_retry_timings take 10 years ago
Erik Johnston 52b2c6c9c7 Don't include None's in _get_events_txn 10 years ago
Erik Johnston 96707ed718 Name 'user_rooms_intersect' transaction 10 years ago
Erik Johnston 76ec154e95 We don't need the full events for get_rooms_for_user_where_membership_is 10 years ago
Mark Haines bc2ec808f4 SYN-32 Use the ANTIALIAS resize method for thumbnailing images 10 years ago
Matrix 0529a7e2e9 Add some logging for when we are sending transactions. 10 years ago
Mark Haines b9f77d1ae1 Increase default maximum attachment size to 10M 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston af1c7c7808 PEP8 10 years ago
Erik Johnston 12819d5082 Remove debug lines 10 years ago
Erik Johnston 52d8519008 Don't do batching when getting events. 10 years ago
Mark Haines 773de09774 Set a content-length for JSON responses 10 years ago
Erik Johnston 98933e3db6 Only fetch prev_content when a client is streaming/paginating. Use transactions for event streams. 10 years ago
Kegan Dougal 78edb47cc5 SYN-208/SYN-228: Add runtime checks on startup to enforce that JPEG/PNG support is included when installing pillow. 10 years ago
Mark Haines 3c8c3bf3b7 SYN-229: Include Content-Length when downloading files 10 years ago
Erik Johnston 3e26720e05 Temporarily turn off 'redacted_because' and 'prev_content' keys 10 years ago
Erik Johnston f4ea78e9e2 More debug logging 10 years ago
Erik Johnston 753126b8cc Add some debug logging 10 years ago
Erik Johnston d7e8ea67b3 Reformat 10 years ago
Erik Johnston f0128f9600 Add RoomMemberStore.get_users_in_room, so that we can get the list of joined users without having to retrieve the full events 10 years ago
Mark Haines af61c29527 Return the argument passed to the callback in a deferred callback, otherwise twisted will replace the deferred result with 'None' 10 years ago
Matthew Hodgson 407c299828 improve error msg 10 years ago
Mark Haines 24b5d01853 Include version in User-Agent and Server headers 10 years ago
Kegan Dougal 67a406a754 Rate limit display names and avatar urls per request rather than per event. 10 years ago
Mark Haines efd27ff01b Set a state_key for the topic and room name, otherwise they won't be treated as room state 10 years ago
Mark Haines 9c71d945d6 Look for name, topic in the event content rather than the event itself when persisting room name and topic events 10 years ago
Mark Haines f70e622d59 bump_presence_active_time when sending a message event 10 years ago
Mark Haines a999f0dec3 Don't ratelimit room create events 10 years ago
Mark Haines 1e7f83b91d Set display name when joining via alias 10 years ago
Mark Haines 5dbe820e9a Remove unneeded federation keys from events 10 years ago
Mark Haines 390e48a8b0 SYN-203: Handle requests for thunbnails for images that are small 10 years ago
Mark Haines 5739e6c606 s/user_id/sender/ 10 years ago
Mark Haines 041ac476a5 Supply auth_chain along with current state in '/state/', fetch auth events from a remote server if we are missing some of them 10 years ago
Mark Haines dbe77ec79a Replace distributor deferred list, with a simple for loop until I understand why the former breaks and the latter doesn't 10 years ago
Mark Haines dea5d4b03b Don't yield on sending the event accross federation. 10 years ago
Erik Johnston f3788e3c78 Test some ideas that might help performance a bit 10 years ago
Erik Johnston dec5b62339 Use _get_events_txn instead of _parse_events_txn 10 years ago
Erik Johnston 21cab3a7ec Fix where we pulled in event.state_events from hotfixes branch 10 years ago
Erik Johnston 3defd5b3ee Add FIXME 10 years ago
Erik Johnston 96779d2490 Fix bug where we did not send the full auth chain to people that joined over federation 10 years ago
Erik Johnston 2d7716d4d0 Make error messages slightly more helpful 10 years ago
Erik Johnston 52f99243ab Use is_outlier() so that we don't get AttributeError 10 years ago
Erik Johnston 5b39cfff69 Don't assume an event exists 10 years ago
Kegan Dougal 4dcad143dd SYN-142: Use a default log file 'homeserver.log' so people get logging by default. 10 years ago
Erik Johnston f06161a307 Enable rate limiting for all events 10 years ago
Mark Haines 627e4f01d2 Remove send_message since nothing was calling it. Remove Snapshot because only send_message was using it 10 years ago