Commit Graph

3019 Commits (bcfb653816bc5a12f5bb55774cc2a0913aae69dd)

Author SHA1 Message Date
Mark Haines c185c1c413 Fix v2 sync polling 9 years ago
Erik Johnston f45aaf0e35 Remove unused constatns 9 years ago
Erik Johnston 8c9df8774e Make 'keys' optional 9 years ago
Erik Johnston 99c7fbfef7 Fix to work with SQLite 9 years ago
Erik Johnston 1d9e109820 More TODO markers 9 years ago
Erik Johnston d25b0f65ea Add TODO markers 9 years ago
Erik Johnston 858634e1d0 Remove unused room_id arg 9 years ago
Mark Haines 9020860479 Only turn on the twisted deferred debugging if full_twisted_stacktraces is set in the config 9 years ago
Mark Haines 32d66738b0 Fix pep8 warnings. 9 years ago
Mark Haines 7639c3d9e5 Bounce all deferreds through the reactor to make debugging easier. 9 years ago
Erik Johnston 7ecd11accb Add paranoia limit 9 years ago
Erik Johnston 3e2a1297b5 Remove constraints in preperation of using filters 9 years ago
Mark Haines 2fa9e23e04 Update the v2 filters to support filtering presence and remove support for public/private user data 9 years ago
Mark Haines cacf0688c6 Add a get_invites_for_user method to the storage to find out the rooms a user is invited to 9 years ago
Erik Johnston 17c80c8a3d rename schema_prepare to prepare_database 9 years ago
Erik Johnston cfd39d6b55 Add SQLite support 9 years ago
Erik Johnston ec398af41c Expose error more nicely 9 years ago
Mark Haines 54414221e4 Include invites in incremental sync 9 years ago
Erik Johnston 40b6a5aad1 Split out the schema preparation and update logic into its own module 9 years ago
Mark Haines ab9cf73258 Include invited rooms in the initial sync 9 years ago
Erik Johnston 30c2783d2f Search left rooms too 9 years ago
Erik Johnston 1a40afa756 Add sqlite schema 9 years ago
Mark Haines 956509dfec Start spliting out the rooms into joined and invited in v2 sync 9 years ago
Mark Haines 586beb8318 Update the filters to match the latest spec. 9 years ago
Steven Hammerton 739464fbc5 Add a comment to clarify why we split on closing curly brace when reading CAS attribute tags 9 years ago
Erik Johnston ca53ad7425 Filter events to only thsoe that the user is allowed to see 9 years ago
Erik Johnston 927004e349 Remove unused room_id parameter 9 years ago
Steven Hammerton 83b464e4f7 Unpack dictionary in for loop for nicer syntax 9 years ago
Steven Hammerton ab7f9bb861 Default cas_required_attributes to empty dictionary 9 years ago
Steven Hammerton 7f8fdc9814 Remove not required parenthesis 9 years ago
Steven Hammerton 01a5f1991c Support multiple required attributes in CAS response, and in a nicer config format too 9 years ago
Steven Hammerton 76421c496d Allow optional config params for a required attribute and it's value, if specified any CAS user must have the given attribute and the value must equal 9 years ago
Steven Hammerton 7845f62c22 Parse both user and attributes from CAS response 9 years ago
Erik Johnston ae72e247fa PEP8 9 years ago
Erik Johnston 61561b9df7 Keep FTS indexes up to date. Only search through rooms currently joined 9 years ago
Erik Johnston a80ef851f7 Fix previous merge to s/version_string/user_agent/ 9 years ago
Steven Hammerton 95f7661170 Raise LoginError if CasResponse doensn't contain user 9 years ago
Steven Hammerton a9c299c0be Fix my broken line splitting 9 years ago
Steven Hammerton e52f4dc599 Use UserId to create FQ user id 9 years ago
Steven Hammerton 625e13bfde Add get_raw method to SimpleHttpClient, use this in CAS auth rather than requests 9 years ago
Steven Hammerton 22112f8d14 Formatting changes 9 years ago
Steven Hammerton c33f5c1a24 Provide ability to login using CAS 9 years ago
Mark Haines 987803781e Fix some races in the synapse presence handler caused by not yielding on deferreds 9 years ago
Mark Haines 0a96a9a023 Set the user as online if they start polling the v2 sync 9 years ago
Mark Haines 1b9802a0d9 Split the sections of EventStreamHandler.get_stream that handle presence 9 years ago
Mark Haines c15cf6ac06 Format the presence events correctly for v2 9 years ago
Erik Johnston c85c912562 Add basic full text search impl. 9 years ago
Mark Haines 51ef725647 Use 'true' rather than '1' for archived flag 9 years ago
Mark Haines dc72021748 Add a flag to initial sync to indicate we want rooms that the user has left 9 years ago
Mark Haines dfef2b41aa Update the v2 room sync format to match the current v2 spec 9 years ago