Commit Graph

38 Commits (a10c2ec88d98abe035a60ab0027c1914d4ad7d77)

Author SHA1 Message Date
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
Erik Johnston 967ce43b59 Clean up LoggingTransaction 10 years ago
Erik Johnston 8e358ef35a Add timer to LoggingTransaction 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 f5cf7ac25b SPEC-7: Rename 'ts' to 'origin_server_ts' 10 years ago
Mark Haines 07639c79d9 Respond with more helpful error messages for unsigned requests 10 years ago
Erik Johnston 70899d3ab2 Rename deletions to redactions 10 years ago
Erik Johnston 1e6c5b205c Fix bug where we didn't correctly pull out the event_id of the deletion 10 years ago
Erik Johnston efea61dc50 Rename 'pruned' to 'pruned_because' 10 years ago
Erik Johnston 78af6bbb98 Add m.room.deletion. If an event is deleted it will be returned to clients 'pruned', i.e. all client specified keys will be removed. 10 years ago
Erik Johnston 5bd9369a62 Correctly handle the 'age' key in events and pdus 10 years ago
Erik Johnston 39e3fc69e5 Make the state resolution use actual power levels rather than taking them from a Pdu key. 10 years ago
Paul "LeoNerd" Evans a840ff8f3f Now don't need the other logger.debug() call in _execute 10 years ago
Paul "LeoNerd" Evans 1c20249884 Logging of all SQL queries via the 'synapse.storage.SQL' logger 10 years ago
Paul "LeoNerd" Evans e53d77b501 Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool 10 years ago
Erik Johnston 781ff713ba When getting a state event also include the previous content 10 years ago
Paul "LeoNerd" Evans d703e712f7 Add support to _simple_insert() to do INSERT OR REPLACE 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Mark Haines 4b2ad549d5 Move the event storage into a single transaction 10 years ago
Erik Johnston 063e1b22e6 Stop internal keys from getting into SynapseEvents 10 years ago
Erik Johnston d260a42ca2 PEP8 cleanups 10 years ago
Erik Johnston 114984a236 Start chagning the events stream to work with the new DB schema 10 years ago
Erik Johnston 5002efa31b Reimplement the get public rooms api to work with new DB schema 10 years ago
Erik Johnston 2c46bb6208 Fix up typos and correct sql queries 10 years ago
Erik Johnston 661c711765 Start fixing places that use the data store. 10 years ago
Erik Johnston 2529f2bc01 Rename _execute_query 10 years ago
Erik Johnston 937c175029 Fix up RoomMemberStore to work with the new schema. 10 years ago
Erik Johnston 6d6a1c3454 Actually encode dicts as json in the DB 10 years ago
Paul "LeoNerd" Evans d05aa651f8 An initial hack at storing presence state-change mtimes in database and presenting age durations to clients/federation events 10 years ago
Paul "LeoNerd" Evans baf04be5cf Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataStore mixed-in result class 10 years ago
Erik Johnston 336987bb8d Initial stab at refactoring the SQL tables, including rejigging some of the storage layer. 10 years ago
Matthew Hodgson f98e6380f1 add in whitespace after copyright statements to improve legibility 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago