Commit Graph

132 Commits (85419e12571ff07f2978d6013e592ac9bc207ee0)

Author SHA1 Message Date
Erik Johnston a01416cf21 Add delta and bump DB version 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 52f99243ab Use is_outlier() so that we don't get AttributeError 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 b3c793e362 Do run all deltas up to missing delta 10 10 years ago
Erik Johnston 2e44714214 Make failure to run appropraite upgrade scripts more helpful. 10 years ago
Erik Johnston ef5a141050 Bump database version 10 years ago
Erik Johnston 35f4f6b070 Update upgrade script 10 years ago
Erik Johnston 882dc8dcab Persist internal_metadata 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston f280929a12 Use frozenutils 10 years ago
Erik Johnston c8dd3314d6 Fix bug where we ignored event_edge_hashes table 10 years ago
Erik Johnston c39beb5559 Store json as UTF-8 and not bytes 10 years ago
Erik Johnston 1d2a0040cf Fix bug where we clobbered old state group values 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 aa3f66cf7f Change the way we implement get_events to be less sucky 10 years ago
Matthew Hodgson aed62a3583 track replication destination health, and perform exponential back-off when sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. 10 years ago
Erik Johnston 6630e1b579 Start making more things use EventContext rather than event.* 10 years ago
Mark Haines 5da65085d1 Get uploads working with new media repo 10 years ago
Erik Johnston ec2b5d8c28 Store full JSON of events in db 10 years ago
Erik Johnston 4e2ffe79a4 Don't delete the entire current_state_events table 10 years ago
Erik Johnston cb76945688 Add update delta for schema change 10 years ago
Erik Johnston 3598c11c8d Correctly handle the case where we get an event for an unknown room, which turns out we are actually in 10 years ago
Mark Haines dfdda2c871 Use module loggers rather than the root logger. Exceptions caused by bad clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' 10 years ago
Erik Johnston 5b46ce579b Bump version, changelog and upgrade.rst 10 years ago
Mark Haines 8c2b5ea7c4 Fix PDU and event signatures 10 years ago
Erik Johnston f04b3d5042 Store all signatures on events rather than just dropping them 10 years ago
Erik Johnston 6fea478d2e Fix bugs with invites/joins across federatiom. 10 years ago
Erik Johnston 5d439b127b PEP8 10 years ago
Erik Johnston 6cb6cb9e69 Tidy up some of the unused sql tables 10 years ago
Erik Johnston 49948d72f3 Fix joining over federation 10 years ago
Erik Johnston bf6b72eb55 Start implementing auth chains 10 years ago
Erik Johnston 351c64e99e Amalgamate all power levels. 10 years ago
Erik Johnston 4317c8e583 Implement new replace_state and changed prev_state 10 years ago
Erik Johnston f139c02e95 Formatting 10 years ago
Erik Johnston ecabff7eb4 Sign evnets 10 years ago
Erik Johnston d30d79b5be Make prev_event signing work again. 10 years ago
Erik Johnston 2f39dc19a2 Remove more references to dead PDU tables 10 years ago
Erik Johnston bfa36a72b9 Remove PDU tables. 10 years ago
Erik Johnston e7858b6d7e Start filling out and using new events tables 10 years ago
Erik Johnston a10c2ec88d Don't reference PDU when persisting event 10 years ago
Erik Johnston 2d1dfb3b34 Begin implementing all the PDU storage stuff in Events land 10 years ago
Erik Johnston da1dda3e1d Add transaction level logging and timing information. Add a _simple_delete method 10 years ago
Mark Haines db2e350e29 Wrap preparing the database in a transaction. Otherwise it will take many seconds to complete because sqlite will create a transaction per statement 10 years ago
Erik Johnston 5662be894e Bump database version number. 10 years ago
Mark Haines 82c5820767 keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating schema 10 years ago
Mark Haines c8f996e29f Hash the same content covered by the signature when referencing previous PDUs rather than reusing the PDU content hashes 10 years ago
Mark Haines bb04447c44 Include hashes of previous pdus when referencing them 10 years ago
Mark Haines 66104da10c Sign outgoing PDUs. 10 years ago