Commit Graph

184 Commits (8b0e96474b3a18866f28f112de7e56979b401768)

Author SHA1 Message Date
Erik Johnston 8b0e96474b Implement method to get auth_chain from a given event_id 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 cc44ecc62f Get correct prev_events 10 years ago
Erik Johnston aa76bf39ab Remove unused imports 10 years ago
Erik Johnston d59aa6af25 For now, don't store txn -> pdu mappings. 10 years ago
Erik Johnston f139c02e95 Formatting 10 years ago
Erik Johnston ecabff7eb4 Sign evnets 10 years ago
Erik Johnston 80b2710e6f Remove unused signature storage methods 10 years ago
Erik Johnston fb3a01fa3a Remove unused sql file. 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 21fe249d62 Actually don't store any PDUs 10 years ago
Erik Johnston 841df4da71 Don't store any PDUs 10 years ago
Erik Johnston f2de2d644a Move the impl of backfill to use events. 10 years ago
Mark Haines 7d709542ca Fix pep8 warnings 10 years ago
Erik Johnston aa80900a8e Fix SQL so that accepts we may want to persist events twice. 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
Erik Johnston 967ce43b59 Clean up LoggingTransaction 10 years ago
Erik Johnston 8e358ef35a Add timer to LoggingTransaction 10 years ago
Mark Haines 5e2236f9ff fix pyflakes warnings 10 years ago
Mark Haines d56e389a95 Fix pyflakes warnings 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
Erik Johnston 5ffe5ab43f Use state groups to get current state. Make join dance actually work. 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 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
Mark Haines 1c445f88f6 persist hashes and origin signatures for PDUs 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 10 years ago
Erik Johnston 80472ac198 Add missing package storate.state 10 years ago
Erik Johnston 5fefc12d1e Begin implementing state groups. 10 years ago
Mark Haines 3dac27a8a9 Storage for pdu signatures 10 years ago
Mark Haines 07639c79d9 Respond with more helpful error messages for unsigned requests 10 years ago
Mark Haines b95a178584 SYN-75 Verify signatures on server to server transactions 10 years ago
Erik Johnston fbf6320614 pyflakes cleanup 10 years ago
Erik Johnston e06adc6d7e SYN-2: Allow server admins to delete room aliases 10 years ago
Erik Johnston 7151615260 Update docstring 10 years ago
Erik Johnston 1550ab9e2f SYN-48: Delete dead code 10 years ago
Erik Johnston 3ccb17ce59 SYN-48: Implement WHOIS rest servlet 10 years ago
Erik Johnston c65306f877 Add auth check to test if a user is an admin or not. 10 years ago
Erik Johnston f7d80930f2 SYN-48: Track User-Agents as well as IPs for client devices. 10 years ago
Erik Johnston 0fdf308874 Track the IP users connect with. Add an admin column to users table. 10 years ago