Commit History

Author SHA1 Message Date
  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) 6 years ago
  Adrian Tschira 0c9db26260 add comment explaining attributeerror 6 years ago
  Adrian Tschira bfc2ade9b3 Make event properties raise AttributeError instead 6 years ago
  Erik Johnston 5d6bad1b3c Optimise state resolution 7 years ago
  Matthew Hodgson 2f4b2f4783 gah, fix mangled merge of 0.18.7 into develop 7 years ago
  Mark Haines f784980d2b Only send events that originate on this server. 7 years ago
  Erik Johnston 54cc69154e Make None optional 7 years ago
  Mark Haines 76503f95ed Remove the is_new_state argument to persist event. 8 years ago
  Mark Haines 1e25f62ee6 Use a stream id generator to assign state group ids 8 years ago
  Erik Johnston acdfef7b14 Intern all the things 8 years ago
  Erik Johnston f96526ffc2 Intern sender, event_id and room_id in events 8 years ago
  Erik Johnston fe9794706a Intern type and state_key on events 8 years ago
  Erik Johnston 58e207cd77 Don't assume existence of event_id in __str__ 8 years ago
  Erik Johnston 2068678b8c Make Event objects behave more like dicts 8 years ago
  Matthew Hodgson 6c28ac260c copyrights 8 years ago
  Erik Johnston 1f7642efa9 Fix bug where we didn't correctly serialize the redacted_because key over federation 8 years ago
  Erik Johnston ca580ef862 Don't copy twice 9 years ago
  Erik Johnston a7b65bdedf Add config option to turn off freezing events. Use new encode_json api and ujson.loads 9 years ago
  Paul "LeoNerd" Evans 1b988b051b Store the rejected reason in (Frozen)Event structs 9 years ago
  Erik Johnston 7eef84a95b pyflakes 9 years ago
  Erik Johnston ddb816cf60 Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict 9 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. 9 years ago
  Erik Johnston c1c7b39827 Fix bug where we changes in outlier in metadata dict propogated to other events 9 years ago
  Erik Johnston a039e2544c Remove unused import 9 years ago
  Erik Johnston dfa05f0cd6 Optimize FrozenEvent creation 9 years ago
  Mark Haines adb04b1e57 Update copyright notices 9 years ago
  Mark Haines 3c7857e49b clean up coding style a bit 9 years ago
  Erik Johnston 882dc8dcab Persist internal_metadata 9 years ago
  Erik Johnston 65b2e49429 Fix pyflakes 9 years ago