Commit Graph

37 Commits (7fc2b5c06329ef3bf97ec30aa60ce801596786a3)

Author SHA1 Message Date
Erik Johnston 54cc69154e Make None optional 8 years ago
Mark Haines 57fa1801c3 Add sensible __eq__ operators inside the tests. 9 years ago
Mark Haines 60ec9793fb Add tests for get_latest_event_ids_in_room and get_current_state 9 years ago
Mark Haines 76503f95ed Remove the is_new_state argument to persist event. 9 years ago
Mark Haines 1e25f62ee6 Use a stream id generator to assign state group ids 9 years ago
Erik Johnston acdfef7b14 Intern all the things 9 years ago
Erik Johnston f96526ffc2 Intern sender, event_id and room_id in events 9 years ago
Erik Johnston fe9794706a Intern type and state_key on events 9 years ago
Erik Johnston 58e207cd77 Don't assume existence of event_id in __str__ 9 years ago
Erik Johnston 2068678b8c Make Event objects behave more like dicts 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Erik Johnston 1f7642efa9 Fix bug where we didn't correctly serialize the redacted_because key over federation 9 years ago
Erik Johnston ca580ef862 Don't copy twice 10 years ago
Erik Johnston a7b65bdedf Add config option to turn off freezing events. Use new encode_json api and ujson.loads 10 years ago
Paul "LeoNerd" Evans 1b988b051b Store the rejected reason in (Frozen)Event structs 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 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 c1c7b39827 Fix bug where we changes in outlier in metadata dict propogated to other events 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 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 b75adaedca Finish up upgrade script 10 years ago
Erik Johnston 8cdebce470 Fix redactions. Fix 'age' key 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 609c31e8df More 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