Commit Graph

193 Commits (25c0a020f430de2781041c8104a5cf92321a60a2)

Author SHA1 Message Date
Erik Johnston f7e2f981ea Use list comprehension instead of filter 9 years ago
Erik Johnston dc8399ee00 Remove debug loggers 9 years ago
Erik Johnston 1b994a97dd Fix application of ACLs 9 years ago
Erik Johnston ffdb8c3828 Don't be too enthusiatic with defer.gatherResults 9 years ago
Erik Johnston 4d6cb8814e Speed up event filtering (for ACL) logic 9 years ago
Erik Johnston 87311d1b8c Hook up receipts to v1 initialSync 10 years ago
Erik Johnston fb47c3cfbe Rename key and values for m.room.history_visibility. Support 'invited' value 10 years ago
Erik Johnston 41938afed8 Make v1 initial syncs respect room history ACL 10 years ago
Erik Johnston 1a60545626 Add basic impl for room history ACL on GET /messages client API 10 years ago
Erik Johnston eceb554a2f Use another deferred list 10 years ago
Erik Johnston b849a64f8d Use DeferredList 10 years ago
Erik Johnston 0460406298 Don't do unecessary db ops in presence.get_state 10 years ago
Erik Johnston 807229f2f2 Err, defer.gatherResults ftw 10 years ago
Erik Johnston a2c4f3f150 Fix daedlock 10 years ago
Erik Johnston 95dedb866f Unwrap defer.gatherResults failures 10 years ago
Erik Johnston 4df11b5039 Make get_current_token accept a direction parameter, which tells whether the source whether we want a token for going 'forwards' or 'backwards' 10 years ago
Erik Johnston 84e6b4001f Initial hack at wiring together pagination and backfill 10 years ago
Erik Johnston 1d7702833d Make simple query rather than long one and then throw away half the results 10 years ago
Erik Johnston bc6cef823f Do more parellelization for initialSync 10 years ago
Erik Johnston 1ec6fa98c9 Parellelize initial sync 10 years ago
Paul "LeoNerd" Evans 55e0916ffc Reindent code to be less human-readable to keep pep8 from complaining 10 years ago
Paul "LeoNerd" Evans f22646efcc Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202) 10 years ago
Paul "LeoNerd" Evans 93d07c87dc Reindent code to be less human-readable to keep pep8 from complaining 10 years ago
Paul "LeoNerd" Evans 5f6e6530d0 Appease pyflakes 10 years ago
Paul "LeoNerd" Evans 29805213d1 Can now remove the FIXME too 10 years ago
Paul "LeoNerd" Evans 860b1b4841 Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202) 10 years ago
Erik Johnston d94f682a4c During room intial sync, only calculate current state once. 10 years ago
Erik Johnston 26a041541b SYN-202: Log as WARN the 404 'Presence information not visible' errors instead of as ERROR since they were spamming the logs 10 years ago
Mark Haines 388581e087 Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events 10 years ago
Mark Haines 7f6f3f9d62 Pass the current time to serialize event, rather than passing an 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Kegan Dougal b5924cae04 Add raw query param for scrollback. 10 years ago
Kegan Dougal edb557b2ad Return the raw federation event rather than adding extra keys for federation data. 10 years ago
Erik Johnston 5940ec993b Add missing continuation indent. 10 years ago
Kegan Dougal 5720ab59e0 Add 'raw' query parameter to expose the event graph and signatures to savvy clients. 10 years ago
Erik Johnston 9e5545a6fa RoomsForUser now has sender instead of user_id 10 years ago
Mark Haines adb04b1e57 Update copyright notices 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
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
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston cf6e5f1dbf Rename MessageHandler.handle_event. Add a few comments. 10 years ago
Erik Johnston 63810c777d Validate message, topic and name event contents 10 years ago
Erik Johnston b245ee34ed Add some basic event validation 10 years ago
Erik Johnston 02db7eb209 Fix bug when uploading state with empty state_key 10 years ago
Erik Johnston 95aa903ffa Try and figure out how and why signatures are being changed. 10 years ago
Erik Johnston ee3df06183 More bug fixes 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 9d53228158 Change DomainSpecificString so that it doesn't use a HomeServer object 10 years ago