Commit Graph

56 Commits (7072fe30846c47849c3cb142acef03ef3825a892)

Author SHA1 Message Date
Erik Johnston a50cf929c1 Require event format version to parse or create events 6 years ago
Erik Johnston be6a7e47fa
Revert "Require event format version to parse or create events" 6 years ago
Erik Johnston 26f44164c8 Review comments 6 years ago
Erik Johnston b8082a5445 Use term 'out of band membership' instead 6 years ago
Erik Johnston f431ff3fb8 Require event format version to parse or create events 6 years ago
Erik Johnston 7c288c2250 Clarify the invite flows 6 years ago
Erik Johnston 67cd4dad81 Implement MSC 1813 - Add room version to make APIs 6 years ago
Erik Johnston be1065af59 isort 6 years ago
Erik Johnston c5a296b10c Add support for persisting event format versions 6 years ago
Erik Johnston bc80b3f454 Add helpers for getting prev and auth events (#4139) 6 years ago
Amber Brown 7232917f12
Disable frozen dicts by default (#3987) 6 years ago
Erik Johnston 89a76d1889 Fix handling of redacted events from federation 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Adrian Tschira 0c9db26260 add comment explaining attributeerror 7 years ago
Adrian Tschira bfc2ade9b3 Make event properties raise AttributeError instead 7 years ago
Erik Johnston 5d6bad1b3c Optimise state resolution 8 years ago
Matthew Hodgson 2f4b2f4783 gah, fix mangled merge of 0.18.7 into develop 8 years ago
Matthew 8404f132c3 Revert "fix typo breaking the fix to #1753" 8 years ago
Matthew b2850e62db fix typo breaking the fix to #1753 8 years ago
Mark Haines f784980d2b Only send events that originate on this server. 8 years ago
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