summary refs log tree commit diff
path: root/tests/handlers/test_typing.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Run Black. (#5482)Amber Brown2019-06-201-8/+8
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-93/+59
|
* Fix grammar and document get_current_users_in_room (#4998)Andrew Morgan2019-04-031-2/+2
|
* Make federation endpoints more tolerant of trailing slashes v2 (#4935)Andrew Morgan2019-03-261-3/+3
| | | Redo of https://github.com/matrix-org/synapse/pull/4840
* Remove trailing slashes from outbound federation requests and retry on 400 ↵Andrew Morgan2019-03-211-0/+2
|\ | | | | | | | | (#4840) As per #3622, we remove trailing slashes from outbound federation requests. However, to ensure that we remain backwards compatible with previous versions of Synapse, if we receive a HTTP 400 with `M_UNRECOGNIZED`, then we are likely talking to an older version of Synapse in which case we retry with a trailing slash appended to the request path.
| * Switch to wrapper function around _send_requestAndrew Morgan2019-03-131-2/+2
| |
| * Correct argument nameAndrew Morgan2019-03-121-2/+2
| |
| * Cleaner way of implementing trailing slashesAndrew Morgan2019-03-121-2/+4
| |
| * and againAndrew Morgan2019-03-111-1/+1
| |
| * Fix syntax errorAndrew Morgan2019-03-111-1/+1
| |
| * We're calling different functions nowAndrew Morgan2019-03-111-2/+2
| |
* | Revert "Make federation endpoints more tolerant of trailing slashes for some ↵Erik Johnston2019-03-141-3/+3
|/ | | | | | endpoints (#4793)" This reverts commit 290552fd836f4ae2dc1d893a7f72f7fff85365d3.
* Make federation endpoints more tolerant of trailing slashes for some ↵Andrew Morgan2019-03-111-3/+3
| | | | | endpoints (#4793) Server side of a solution towards #3622.
* Update test_typing to use HomeserverTestCase. (#4771)Richard van der Hoff2019-03-041-157/+133
|
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-3/+1
|
* Fix origin handling for pushed transactionsRichard van der Hoff2018-09-051-11/+8
| | | | | Use the actual origin for push transactions, rather than whatever the remote server claimed.
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-0/+1
|
* Run black.black2018-08-101-116/+115
|
* Test fixes for Python 3 (#3647)Amber Brown2018-08-091-1/+3
|
* Remove pdu_failures from transactionsTravis Ralston2018-07-301-1/+0
| | | The field is never read from, and all the opportunities given to populate it are not utilized. It should be very safe to remove this.
* run isortAmber Brown2018-07-091-7/+12
|
* Fix testsErik Johnston2018-03-131-1/+1
|
* try make tests work a bit more...Matthew Hodgson2017-12-041-0/+12
|
* erik told me toMatthew Hodgson2017-12-041-1/+1
|
* push federation retry limiter down to matrixfederationclientRichard van der Hoff2017-03-231-0/+2
| | | | | rather than having to instrument everywhere we make a federation call, make the MatrixFederationHttpClient manage the retry limiter.
* Add basic implementation of local device list changesErik Johnston2017-01-251-0/+3
|
* Merge pull request #1098 from matrix-org/markjh/bearer_tokenMark Haines2016-10-251-1/+2
|\ | | | | Allow clients to supply access_tokens as headers
| * Fix unit testsMark Haines2016-09-121-1/+2
| |
* | Time out typing over federationErik Johnston2016-09-231-5/+2
|/
* Fix unit testsMark Haines2016-09-061-0/+8
|
* Fix unit testsErik Johnston2016-08-261-0/+6
|
* Store the typing users as user_id strings. (#819)Mark Haines2016-06-021-2/+2
| | | Rather than storing them as UserID objects.
* Move typing handler out of the Handlers objectMark Haines2016-05-171-9/+1
|
* Replaces calls to fetch_room_distributions_into with get_joined_hosts_for_roomMark Haines2016-05-161-44/+5
|
* Fix flake8 warnings for testsMark Haines2016-02-191-60/+55
|
* Delete the table objects from TransactionStoreMark Haines2016-01-131-1/+0
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Update testsErik Johnston2015-11-171-0/+2
|
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-6/+24
| | | | Squash-merge of PR #345 from daniel/anonymousevents
* Consolidate duplicate code in notifierErik Johnston2015-07-021-10/+10
|
* Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-6/+6
|
* Merge branch 'develop' of github.com:matrix-org/synapse into postgresErik Johnston2015-04-171-6/+19
|\
| * Various minor fixes to unit-test structure around typing notificationsPaul "LeoNerd" Evans2015-04-151-0/+7
| |
| * Have TypingNotificationEventSource.get_new_events_for_user() return a ↵Paul "LeoNerd" Evans2015-04-151-6/+12
| | | | | | | | deferred, for consistency and extensibility
* | Make work in both Maria and SQLite. Fix testsErik Johnston2015-04-011-1/+6
|/
* Factor out some of the common homeserver setup code into aMark Haines2015-02-111-25/+22
| | | | setup_test_homeserver function in utils.
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-3/+4
|
* Check that setting typing notification still works after explicit timeout - ↵Paul "LeoNerd" Evans2015-01-121-0/+26
| | | | SYN-230
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-151-22/+118
|\ | | | | | | | | Conflicts: tests/handlers/test_room.py
| * Send list of typing user IDs as 'user_ids' list within 'content', so that ↵Paul "LeoNerd" Evans2014-12-121-5/+15
| | | | | | | | m.typing stream events have a toplevel content, for consistency with others
| * Actually auth-check to ensure people can only send typing notifications for ↵Paul "LeoNerd" Evans2014-12-111-0/+10
| | | | | | | | rooms they're actually in
| * Hook up the event stream to typing notificationsPaul "LeoNerd" Evans2014-12-101-0/+60
| |
| * Store serial numbers per room for typing event stream purposesPaul "LeoNerd" Evans2014-12-101-30/+16
| |
| * First hack at implementing timeouts in typing notification handlerPaul "LeoNerd" Evans2014-12-101-3/+33
| |
* | Fix some testsErik Johnston2014-12-101-1/+1
|/
* Add newline back inErik Johnston2014-12-101-0/+1
|
* Remove whitespaceErik Johnston2014-12-101-1/+1
|
* fix UTs by telling all the mock stores about the new methods for tracking ↵Matthew Hodgson2014-12-091-2/+7
| | | | retries
* SYN-103: Remove "origin" and "destination" keys from edusMark Haines2014-11-131-3/+0
|
* Fix typing testsErik Johnston2014-11-051-0/+1
|
* 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 ↵Mark Haines2014-10-141-0/+1
| | | | from the transaction itself
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-131-2/+2
|
* SYN-75 Verify signatures on server to server transactionsMark Haines2014-09-301-0/+1
|
* Sign federation transactionsMark Haines2014-09-241-1/+5
|
* Fix unit tests after adding extra argument on put_jsonErik Johnston2014-09-151-2/+4
|
* Have all unit tests import from our own subclass of trial's unittest ↵Paul "LeoNerd" Evans2014-09-121-5/+1
| | | | TestCase; set up logging in ONE PLACE ONLY
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* change the world: make the default matrix API URL prefix /_matrix rather ↵Matthew Hodgson2014-08-311-3/+3
| | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
* Initial typing notification support - EDU federation, but no timers, and no ↵Paul "LeoNerd" Evans2014-08-271-0/+250
actual push to clients