Commit Graph

69 Commits (79a8a347a6c55a3ec6255227930dd9aad4b0b78f)

Author SHA1 Message Date
black 8b3d9b6b19 Run black. 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Will Hunt c144292373 Modify test_user_sync so it doesn't look at last_active_ts over last_user_sync_ts 8 years ago
Erik Johnston bc1a8b1f7a Don't notify for online -> online transitions. 8 years ago
Mark Haines 70599ce925 Allow external processes to mark a user as syncing. (#812) 9 years ago
Erik Johnston 929cb0ed7d Don't set currently_active for remote presence 9 years ago
Erik Johnston b4796a62ee Add unit test 9 years ago
Erik Johnston 9da9826b85 Remove old tests. 9 years ago
Mark Haines c0a279e808 Delete the table objects from TransactionStore 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines 7b593af7e1 rename the method in the tests as well 9 years ago
Erik Johnston bd3de8f39a Update tests 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Mark Haines 17167898c8 Fix the presence tests 10 years ago
Mark Haines 8eca5bd50a Fix the presence tests 10 years ago
Mark Haines c5d1b4986b Remove unused arguments and doc PresenceHandler.push_update_to_clients 10 years ago
Paul "LeoNerd" Evans e1e5e53127 Remove users from the remote_offline_serials list (and clean up empty elements) when they go online again 10 years ago
Paul "LeoNerd" Evans 8a785c3006 Store a list of the presence serial number at which remote users went offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261) 10 years ago
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Erik Johnston 6d74e46621 Fix tests 10 years ago
Erik Johnston 852816befe Fix presence tests 10 years ago
Mark Haines 896253e085 Factor out some of the common homeserver setup code into a 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Paul "LeoNerd" Evans 3a243c53f4 Rename MockedDatastoreTestCase to MockedDatastorePresenceTestCase since it is still presence-specific 10 years ago
Paul "LeoNerd" Evans cbb10879cb Much merging of test case setUp() methods to make them much more 10 years ago
Paul "LeoNerd" Evans 73315ce9de Abstract out the room ID from presence tests, so it's stored in self 10 years ago
Paul "LeoNerd" Evans dbe71e670c Use common base class for two Presence unit-tests, avoiding boilerplate copypasta 10 years ago
Matthew Hodgson 8ada2d2018 fix UTs by telling all the mock stores about the new methods for tracking retries 10 years ago
Paul "LeoNerd" Evans 03dc63f6c8 Initialise UserPresenceCache instances to always contain a 'presence' key 10 years ago
Mark Haines 8d8a133c89 SYN-103: Remove "origin" and "destination" keys from edus 10 years ago
Erik Johnston 34c4614682 Fix presence test 10 years ago
Paul "LeoNerd" Evans b1ee6fd7ed Fix an off-by-one bug in presence event stream pagination; this might be responsible for any number of bug reports 10 years ago
Mark Haines f5cf7ac25b SPEC-7: Rename 'ts' to 'origin_server_ts' 10 years ago
Mark Haines 9aed791fc3 SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin from the transaction itself 10 years ago
Mark Haines 10ef8e6e4b SYN-75 sign at the request level rather than the transaction level 10 years ago
Mark Haines b95a178584 SYN-75 Verify signatures on server to server transactions 10 years ago
Mark Haines 52ca867670 Sign federation transactions 10 years ago
Erik Johnston 0897a09f49 Fix unit tests after adding extra argument on put_json 10 years ago
Paul "LeoNerd" Evans cd62ee3f29 Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY 10 years ago
Paul "LeoNerd" Evans fb93a4a9e3 Perform PresenceInvitesTestCase against real SQLiteMemoryDbPool 10 years ago
Paul "LeoNerd" Evans 493b1e6d3c Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer constructor, as DataStore's constructor will want it ready 10 years ago
Paul "LeoNerd" Evans 4385eadc28 Start of converting PresenceHandler unit tests to use SQLiteMemoryDbPool - just the 'State' test case for now 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Paul "LeoNerd" Evans cda31fb755 Kill the state 10 years ago
Paul "LeoNerd" Evans da31b96b55 Implement presence state visibilty limiting when polling eventsource for stream 10 years ago
Paul "LeoNerd" Evans 86d6232236 Don't eat federation transmit errors during unit tests; fix remote presence EDU-sending test because of this 10 years ago
Paul "LeoNerd" Evans da3e04df8b Rename the 'do_users_share_a_room' to something slightly less verb-sounding 10 years ago
Paul "LeoNerd" Evans 7e22afbc7c Ensure that event source unit tests could cope with get_new_events_for_user() returning a Deferred 10 years ago
Paul "LeoNerd" Evans 270d302834 Reënable presence visibility permission checking now it's not used on redundant code paths 10 years ago
Paul "LeoNerd" Evans 468d94c920 Rename API-visible 'mtime' presence field to 'last_active'; slightly different semantics 10 years ago