Commit Graph

52 Commits (591c4bf223a4a8698f51ba258984e769f593e32b)

Author SHA1 Message Date
Paul "LeoNerd" Evans 1b988b051b Store the rejected reason in (Frozen)Event structs 10 years ago
Erik Johnston b2e6ee5b43 Remove concept of context.auth_events, instead use context.current_state 10 years ago
Erik Johnston 7eef84a95b pyflakes 10 years ago
Erik Johnston ddb816cf60 Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict 10 years ago
Erik Johnston e8d4a31475 Fix prune_events to work with nested dicts 10 years ago
Erik Johnston c0462dbf15 Rearrange persist_event so that do all the queries that need to be done before returning early if we have already persisted that event. 10 years ago
Erik Johnston 9bace3a367 Actually, the old prune_event function was non-deterministic, so no point keeping it around :( 10 years ago
Erik Johnston 0dd3aea319 Keep around the old (buggy) version of the prune_event function so that we can use it to check signatures for events on old servers 10 years ago
Erik Johnston c1c7b39827 Fix bug where we changes in outlier in metadata dict propogated to other events 10 years ago
Erik Johnston 78015948a7 Initial implementation of auth conflict resolution 10 years ago
Mark Haines b9c442c85c Include transaction ids in unsigned section of events in the sync results for the clients that made those requests 10 years ago
Mark Haines 1b4a164c02 Add support for formatting events in the way a v2 client expects 10 years ago
Mark Haines a56008842b Start implementing incremental initial sync 10 years ago
Mark Haines 436513068d Start implementing the non-incremental sync portion of the v2 /sync API 10 years ago
Mark Haines 7f6f3f9d62 Pass the current time to serialize event, rather than passing an 10 years ago
Erik Johnston b1b85753d7 Add support for storing rejected events in EventContext and data stores 10 years ago
Mark Haines 3891597eb3 Remove unused functions 10 years ago
Erik Johnston 39585bf556 Insert 'age' into top level when returning events to clients 10 years ago
Kegan Dougal edb557b2ad Return the raw federation event rather than adding extra keys for federation data. 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 a039e2544c Remove unused import 10 years ago
Erik Johnston dfa05f0cd6 Optimize FrozenEvent creation 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines 5dbe820e9a Remove unneeded federation keys from events 10 years ago
Mark Haines 3c7857e49b clean up coding style a bit 10 years ago
Erik Johnston 882dc8dcab Persist internal_metadata 10 years ago
Erik Johnston 65b2e49429 Fix pyflakes 10 years ago
Erik Johnston f280929a12 Use frozenutils 10 years ago
Erik Johnston 670dcdfc14 Remove unused functions 10 years ago
Erik Johnston b75adaedca Finish up upgrade script 10 years ago
Erik Johnston c8dd3314d6 Fix bug where we ignored event_edge_hashes table 10 years ago
Erik Johnston 63810c777d Validate message, topic and name event contents 10 years ago
Erik Johnston 9191292b0f Fix prev_content 10 years ago
Erik Johnston 8cdebce470 Fix redactions. Fix 'age' key 10 years ago
Erik Johnston b245ee34ed Add some basic event validation 10 years ago
Erik Johnston cabead6194 Actually fix bug when uploading state with empty state_key 10 years ago
Erik Johnston 02db7eb209 Fix bug when uploading state with empty state_key 10 years ago
Erik Johnston 02db1fd2e7 Fix AttributeError 10 years ago
Erik Johnston 102d2373b4 Add __str__ to FrozenEvent 10 years ago
Erik Johnston 95aa903ffa Try and figure out how and why signatures are being changed. 10 years ago
Erik Johnston 8c48450682 Add PEP8 newlines 10 years ago
Erik Johnston 609c31e8df More bug fixes 10 years ago
Erik Johnston d044121168 Various typos and bug fixes. 10 years ago
Erik Johnston 6630e1b579 Start making more things use EventContext rather than event.* 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 5d7c9ab789 Begin converting things to use the new Event structure 10 years ago
Erik Johnston 75b4329aaa WIP for new way of managing events. 10 years ago
Erik Johnston c1e66800a9 Begin fleshing out a new Event object 10 years ago