Commit Graph

525 Commits (a19b73990962ff3bfe8b2cae59446bbe7f93ec5c)

Author SHA1 Message Date
David Baker a19b739909 Regstration with email in v2 10 years ago
David Baker e9c908ebc0 Completely replace fallback auth for C/S V2: 10 years ago
David Baker 9f642a93ec pep8 10 years ago
David Baker 59bf16eddc New registration for C/S API v2. Only ReCAPTCHA working currently. 10 years ago
David Baker a32e876ef4 Delete pushers when changing password 10 years ago
David Baker 78adccfaf4 pep8 / pyflakes 10 years ago
David Baker d98660a60d Implement password changing (finally) along with a start on making client/server auth more general. 10 years ago
Erik Johnston f88db7ac0b Factor out user id validation checks 10 years ago
Erik Johnston bb24609158 Clean out event_forward_extremities table when the server rejoins the room 10 years ago
Erik Johnston 857810d2dd Revert incorrect changes to where we send events 10 years ago
Erik Johnston c2c9471cba Don't block waiting on waking up all the listeners when sending an event. 10 years ago
Erik Johnston b2e6ee5b43 Remove concept of context.auth_events, instead use context.current_state 10 years ago
Erik Johnston 758d114cbc Send all membership events to the remote homeserver 10 years ago
Paul "LeoNerd" Evans 128cf2daf7 Appease pep8 10 years ago
Paul "LeoNerd" Evans b0cf867319 Use _ instead of . as a metric namespacing separator, for Prometheus 10 years ago
Paul "LeoNerd" Evans 59c448f074 Add a scalar gauge metric on the size of the presence user cachemap 10 years ago
Erik Johnston 8e28db5cc9 Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached. 10 years ago
Erik Johnston 9ccccd4874 When setting display name more graciously handle failures to update room state. 10 years ago
Erik Johnston 130df8fb01 Add some randomness to the user specified timeout on event streams to mitigate against thundering herds problems 10 years ago
Kegan Dougal 58ff066064 Implement exclusive namespace checks. 10 years ago
Kegan Dougal dcec7175dc Finish impl to get new events for AS. ASes should now be able to poll /events 10 years ago
Kegan Dougal 2d20466f9a Add stub functions and work out execution flow to implement AS event stream polling. 10 years ago
David Baker 443ba4eecc %s for strings otherwise you end up sending 'u"foo"' 10 years ago
Erik Johnston db215b7e00 Implement and use new batched get missing pdu 10 years ago
Erik Johnston 2bafeca270 Add missing comma so that it generates a dict and not a set 10 years ago
Erik Johnston 0ac2a79faa Initial stab at implementing a batched get_missing_pdus request 10 years ago
Erik Johnston 47281f8fa4 Change some debug logging to info 10 years ago
Erik Johnston c2b1dbd84c We do want to consumeError 10 years ago
Erik Johnston 72a4de2ce6 Use consumeErrors=True on all DeferredLists. 10 years ago
Erik Johnston b99a33f283 resolve_events expect lists, not dicts 10 years ago
Erik Johnston b11a6e1c3c Fix wrong variable name 10 years ago
Erik Johnston e441c10a73 pyflakes 10 years ago
Erik Johnston 8c652a2b5f When we see a difference in current state, actually use state conflict resolution algorithm 10 years ago
Paul "LeoNerd" Evans 55e0916ffc Reindent code to be less human-readable to keep pep8 from complaining 10 years ago
Paul "LeoNerd" Evans f22646efcc Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202) 10 years ago
Erik Johnston 38df10b99e Remove unused function 10 years ago
Paul "LeoNerd" Evans 93d07c87dc Reindent code to be less human-readable to keep pep8 from complaining 10 years ago
Paul "LeoNerd" Evans 5f6e6530d0 Appease pyflakes 10 years ago
Paul "LeoNerd" Evans 29805213d1 Can now remove the FIXME too 10 years ago
Paul "LeoNerd" Evans 860b1b4841 Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202) 10 years ago
Erik Johnston 963256638d Correctly handle all the places that can throw exceptions 10 years ago
Erik Johnston 76935078d1 Remove more debug logging 10 years ago
Erik Johnston ed877d6585 Remove debug logging 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
Kegan Dougal fd40d992ad PEP8-ify 10 years ago
Kegan Dougal c7783d6fee Notify ASes for events sent by other users in a room which an AS user is a part of. 10 years ago
Mark Haines 84a769cdb7 Fix code-style 10 years ago
Mark Haines b085fac735 Code-style fixes 10 years ago
Erik Johnston d94f682a4c During room intial sync, only calculate current state once. 10 years ago
Kegan Dougal f7cac2f7b6 Fix bugs so lazy room joining works as intended. 10 years ago