zulip/zerver/openapi
Steve Howell b26f2dcd4b typing: Deprecate emails in typing endpoint.
The only clients that should use the typing
indicators endpoint are our internal clients,
and they should send a JSON-formatted list
of user_ids.

Unfortunately, we still have some older versions
of mobile that still send emails.

In this commit we fix non-user-facing things
like docs and tests to promote the user_ids
interface that has existed since about version
2.0 of the server.

One annoyance is that we documented the
typing endpoint with emails, instead of the
more modern user_ids, which may have delayed
mobile converting to user_ids (and which
certainly caused confusion).  It's trivial
to update the docs, but we need to short
circuit one assertion in the openapi tests.

We also clean up the test structure for the
typing tests:

    TypingHappyPathTest.test_start_to_another_user
    TypingHappyPathTest.test_start_to_multiple_recipients
    TypingHappyPathTest.test_start_to_self
    TypingHappyPathTest.test_start_to_single_recipient
    TypingHappyPathTest.test_stop_to_another_user
    TypingHappyPathTest.test_stop_to_self

    TypingValidateOperatorTest.test_invalid_parameter
    TypingValidateOperatorTest.test_missing_parameter

    TypingValidateUsersTest.test_argument_to_is_not_valid_json
    TypingValidateUsersTest.test_bogus_user_id
    TypingValidateUsersTest.test_empty_array
    TypingValidateUsersTest.test_missing_recipient

    TypingValidationHelpersTest.test_recipient_for_user_ids
    TypingValidationHelpersTest.test_recipient_for_user_ids_non_existent_id

    TypingLegacyMobileSupportTest.test_legacy_email_interface
2020-02-28 12:39:36 -08:00
..
curl_param_value_generators.py tests: Remove upload-file from curl test exclude_list. 2019-11-18 12:23:38 -08:00
openapi.py openapi: Move openapi.py into zerver/openapi.py. 2020-02-24 12:21:26 -05:00
python_examples.py typing: Deprecate emails in typing endpoint. 2020-02-28 12:39:36 -08:00
test_curl_examples.py tests: Remove upload-file from curl test exclude_list. 2019-11-18 12:23:38 -08:00
zulip-2.0.yaml api: Rename subject_links to topic_links. 2020-02-07 14:35:22 -08:00
zulip.yaml typing: Deprecate emails in typing endpoint. 2020-02-28 12:39:36 -08:00