summary refs log tree commit diff
path: root/tests/handlers/test_presence.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-1/+1
* Implement MSC3026: busy presence stateBrendan Abolivier2021-03-181-0/+20
* Be smarter about which hosts to send presence to when processing room joins (...Andrew Morgan2021-02-191-4/+10
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-2/+1
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-1/+1
* Simplify `_locally_reject_invite`Richard van der Hoff2020-10-131-1/+1
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-1/+1
* Convert stream database to async/await. (#8074)Patrick Cloke2020-08-171-1/+1
* Port PresenceHandler to async/await (#6991)Erik Johnston2020-02-261-6/+12
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-2/+2
* Merge pull request #6806 from matrix-org/rav/redact_changes/3Richard van der Hoff2020-01-311-2/+2
|\
| * Store the room version in EventBuilderRichard van der Hoff2020-01-301-2/+2
* | s/get_room_version/get_room_version_id/Richard van der Hoff2020-01-311-1/+1
|/
* Fix presence timeouts when synchrotron restarts. (#6212)Erik Johnston2019-10-181-0/+39
* Run Black on the tests again (#5170)Amber Brown2019-05-101-8/+6
* Review commentsErik Johnston2019-03-281-5/+9
* Add unit testsErik Johnston2019-03-271-1/+171
* Run black.black2018-08-101-121/+95
* run isortAmber Brown2018-07-091-4/+8
* Modify test_user_sync so it doesn't look at last_active_ts over last_user_syn...Will Hunt2017-03-151-1/+1
* Don't notify for online -> online transitions.Erik Johnston2016-08-301-0/+47
* Allow external processes to mark a user as syncing. (#812)Mark Haines2016-06-021-9/+7
* Don't set currently_active for remote presenceErik Johnston2016-02-191-4/+15
* Add unit testErik Johnston2016-02-181-0/+373
* Remove old tests.Erik Johnston2016-02-181-1340/+0
* Delete the table objects from TransactionStoreMark Haines2016-01-131-1/+0
* copyrightsMatthew Hodgson2016-01-071-1/+1
* rename the method in the tests as wellMark Haines2015-12-011-3/+3
* Update testsErik Johnston2015-11-171-0/+13
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-18/+53
* Fix the presence testsMark Haines2015-05-221-6/+10
* Fix the presence testsMark Haines2015-05-201-10/+3
* Remove unused arguments and doc PresenceHandler.push_update_to_clientsMark Haines2015-05-141-17/+5
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-271-0/+65
|\
| * Remove users from the remote_offline_serials list (and clean up empty element...Paul "LeoNerd" Evans2015-04-231-0/+27
| * Store a list of the presence serial number at which remote users went offline...Paul "LeoNerd" Evans2015-04-231-0/+38
* | Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-1/+6
|/
* Fix testsErik Johnston2015-03-091-2/+2
* Fix presence testsErik Johnston2015-02-231-15/+28
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-14/+2
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-14/+15
* Rename MockedDatastoreTestCase to MockedDatastorePresenceTestCase since it is...Paul "LeoNerd" Evans2015-01-221-3/+3
* Much merging of test case setUp() methods to make them much morePaul "LeoNerd" Evans2015-01-221-273/+193
* Abstract out the room ID from presence tests, so it's stored in selfPaul "LeoNerd" Evans2015-01-211-8/+10
* Use common base class for two Presence unit-tests, avoiding boilerplate copyp...Paul "LeoNerd" Evans2015-01-211-54/+25
* fix UTs by telling all the mock stores about the new methods for tracking ret...Matthew Hodgson2014-12-091-1/+9
* Initialise UserPresenceCache instances to always contain a 'presence' keyPaul "LeoNerd" Evans2014-11-191-2/+8
* SYN-103: Remove "origin" and "destination" keys from edusMark Haines2014-11-131-3/+0
* Fix presence testErik Johnston2014-11-051-0/+1
* Fix an off-by-one bug in presence event stream pagination; this might be resp...Paul "LeoNerd" Evans2014-10-291-0/+16
* SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-171-1/+1
* SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin fr...Mark Haines2014-10-141-0/+1
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-131-13/+13
* SYN-75 Verify signatures on server to server transactionsMark Haines2014-09-301-3/+6
* Sign federation transactionsMark Haines2014-09-241-2/+19
* Merge branch 'develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-171-5/+18
|\
| * Fix unit tests after adding extra argument on put_jsonErik Johnston2014-09-151-5/+18
* | Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-151-6/+1
|\|
| * Have all unit tests import from our own subclass of trial's unittest TestCase...Paul "LeoNerd" Evans2014-09-121-6/+1
* | Perform PresenceInvitesTestCase against real SQLiteMemoryDbPoolPaul "LeoNerd" Evans2014-09-111-78/+98
* | Need to prepare() the SQLiteMemoryDbPool before passing it to HomeServer cons...Paul "LeoNerd" Evans2014-09-111-3/+4
* | Start of converting PresenceHandler unit tests to use SQLiteMemoryDbPool - ju...Paul "LeoNerd" Evans2014-09-111-46/+27
|/
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Kill the statePaul "LeoNerd" Evans2014-09-031-33/+17
* Implement presence state visibilty limiting when polling eventsource for streamPaul "LeoNerd" Evans2014-09-031-1/+67
* Don't eat federation transmit errors during unit tests; fix remote presence E...Paul "LeoNerd" Evans2014-09-031-0/+16
* Rename the 'do_users_share_a_room' to something slightly less verb-soundingPaul "LeoNerd" Evans2014-09-031-2/+2
* Ensure that event source unit tests could cope with get_new_events_for_user()...Paul "LeoNerd" Evans2014-09-021-14/+20
* Reënable presence visibility permission checking now it's not used on redund...Paul "LeoNerd" Evans2014-09-011-2/+0
* Rename API-visible 'mtime' presence field to 'last_active'; slightly differen...Paul "LeoNerd" Evans2014-09-011-11/+18
* Rename 'state' presence key to the much more obvious 'presence'; maintain a l...Paul "LeoNerd" Evans2014-09-011-43/+79
* change the world: make the default matrix API URL prefix /_matrix rather than...Matthew Hodgson2014-08-311-12/+12
* Bugfixes on presence pushes on user joining:Paul "LeoNerd" Evans2014-08-291-57/+71
* Fix a couple of bugs in presence handler related to pushing updatesto the cor...Erik Johnston2014-08-291-51/+87
* Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotesPaul "LeoNerd" Evans2014-08-281-6/+33
* Re-enable presence, un-skip presence testsPaul "LeoNerd" Evans2014-08-281-6/+0
* Fix up the various presence-related tests so that if they're not skipped, the...Paul "LeoNerd" Evans2014-08-271-4/+6
* skip presence tests which broke when presence polling was disabledMark Haines2014-08-221-0/+7
* Rewrite of PresenceHandler test to ensure it covers the interaction with Fede...Paul "LeoNerd" Evans2014-08-191-149/+279
* Implement and test presence dropping of remote usersPaul "LeoNerd" Evans2014-08-191-0/+8
* Allow room presence visibility between users who share a roomPaul "LeoNerd" Evans2014-08-181-5/+40
* Removed http_server from HomeServer. Updated unit tests to use either resourc...Kegan Dougal2014-08-141-4/+4
* An initial hack at storing presence state-change mtimes in database and prese...Paul "LeoNerd" Evans2014-08-131-8/+28
* Use strings instead of opaque magic-number constants for presence states; ren...Paul "LeoNerd" Evans2014-08-131-12/+12
* add in copyrights to everything, not just the synapse subdir, and add a copyr...Matthew Hodgson2014-08-131-0/+14
* Reference Matrix Home Servermatrix.org2014-08-121-0/+884