Wyatt Hoodes
a109508e34
typing: Remove now-unnecessary conditional import.
...
As a result of dropping support for trusty, we can remove our old
pattern of putting `if False` before importing the typing module,
which was essential for Python 3.4 support, but not required and maybe
harmful on newer versions.
cron_file_helper
check_rabbitmq_consumers
hash_reqs
check_zephyr_mirror
check_personal_zephyr_mirrors
check_cron_file
zulip_tools
check_postgres_replication_lag
api_test_helpers
purge-old-deployments
setup_venv
node_cache
clean_venv_cache
clean_node_cache
clean_emoji_cache
pg_backup_and_purge
restore-backup
generate_secrets
zulip-ec2-configure-interfaces
diagnose
check_user_zephyr_mirror_liveness
2019-07-29 15:18:22 -07:00
Hemanth V. Alluri
d62b75fc4c
openapi: Remove /users/me/subscriptions from pending_endpoints.
...
In commit 7c71e98
, we added a special exception for the
/users/me/subscriptions endpoint in the automatic validation test.
By adding some extra documentation, we now remove this extra code,
as well as the endpoint from the list of pending endpoints.
2019-07-21 18:39:53 -07:00
Wyatt Hoodes
e331a758c3
python: Migrate open statements to use with.
...
This is low priority, but it's nice to be consistently using the best
practice pattern.
Fixes : #12419 .
2019-07-20 15:48:52 -07:00
Hemanth V. Alluri
ffd2bccd4e
openapi: Standardize URL format to use {var_name} syntax.
...
The previous code for the validator test was fairly messy due to
checking for both formats of the openapi url, one with
<variable_name> and the other with {variable_name}. To eliminate
this, we have standardized the format and restricted it to
{variable_name} as per the official format at:
https://swagger.io/docs/specification/describing-parameters .
2019-07-11 11:01:40 -07:00
Tim Abbott
e0522b6395
api: Fix broken API documentation tests.
...
We had gotten to the right documented content, but the previous
chaining of object creation/deletion wasn't quite right.
Fix this in a way that reduces the amount by which tests are dependent
on what other tests are doing.
2019-06-28 18:16:34 -07:00
sameerchoubey
4dcc1b744f
api_docs: Add documentation for remove_user_group.
2019-06-28 16:34:39 -07:00
sameerchoubey
d351564798
api_docs: Add documentation for update_user_group.
2019-06-28 16:33:54 -07:00
sameerchoubey
1b2f67f1bf
api_docs: Add documentation for create_user_group.
2019-06-28 16:28:56 -07:00
sameerchoubey
f84e84d6c7
api_docs: Add documentation for update_stream.
2019-06-28 16:26:06 -07:00
sameerchoubey
0ceea2713c
api_docs: Add documentation for delete_stream.
2019-06-28 16:18:22 -07:00
Yago González
4dc206ad2e
api docs: Document PATCH /settings/notifications.
...
With significant tweaks by tabbott after rebasing.
2019-06-24 18:42:44 -07:00
sameerchoubey
048ec39824
tools/test-api: Test Client.update_stream.
2019-04-25 16:24:59 -02:30
sameerchoubey
6790c22d8d
tools/test-api: Test Client.update_presence.
2019-04-25 16:24:59 -02:30
sameerchoubey
598727f696
tools/test-api: Test Client.update_notification_settings.
2019-04-25 16:24:59 -02:30
sameerchoubey
cedce30d99
tools/test-api: Test Client.update_user_group_members.
2019-04-25 16:24:59 -02:30
sameerchoubey
3140aabbd7
tools/test-api: Test Client.remove_user_group.
2019-04-25 16:24:59 -02:30
sameerchoubey
49e843cd75
tools/test-api: Test Client.update_user_group.
2019-04-25 16:24:59 -02:30
sameerchoubey
2c675efbba
tools/test-api: Test Client.create_user_group.
2019-04-25 16:24:59 -02:30
sameerchoubey
53b58d0c7f
tools/test-api: Test Client.remove_alert_words.
2019-04-25 16:24:59 -02:30
sameerchoubey
c5c2c13880
tools/test-api: Test Client.add_alert_words.
2019-04-25 16:24:59 -02:30
sameerchoubey
b26b4ce60c
tools/test-api: Test Client.get_alert_words.
2019-04-25 16:24:59 -02:30
sameerchoubey
2d9b54f0d5
tools/test-api: Test Client.delete_stream.
2019-04-25 16:24:59 -02:30
sameerchoubey
56ad6758f6
tools/test-api: Test Client.remove_reaction.
2019-04-25 16:24:59 -02:30
neiljp (Neil Pilgrim)
1348c8fd05
requirements: Upgrade mypy to 0.670.
...
Requires minor adjustment for accented 'i' in variable name.
2019-04-16 17:50:12 -07:00
Eeshan Garg
0500639d01
api_tests: Test zulip.Client.add_reaction.
2019-02-18 10:24:13 -08:00
Anders Kaseorg
f0ecb93515
zerver core: Remove unused imports.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-02-02 17:41:24 -08:00
Roger Souza
69da22d998
api docs: Document the custom emoji upload endpoint.
...
Tweaked by tabbott to fix some English phrasing and make the file
pointer thing require less Python knowledge.
Fixes : #10746 .
2018-12-14 14:19:28 -08:00
Steve Howell
b666a6bd6c
subject -> topic: Fix most of api_test_helpers.
...
We don't want to change anything that can end
up in docs yet, but for test setup, we can switch
to topic_name.
2018-11-14 23:24:06 -08:00
Roman Godov
aa3682f9fc
api: Add GET /user_groups documentation.
...
This documents our GET endpoint for interacting with Zulip's user
groups feature.
Fixes #10298 .
2018-11-08 22:19:30 -08:00
Rishi Gupta
1c264dedc5
api docs: Change Shakespeare quote.
...
The previous quote doesn't come off well if you don't know the reference
(which the majority of our users will not).
2018-10-22 15:44:36 -07:00
Yago González
3eeec94d03
api docs: Document the POST /users/me/subscriptions/properties endpoint.
2018-10-16 12:38:27 -07:00
Yago González
3d2b3f8fa4
api docs: Document the POST /messages/flags endpoint.
2018-10-16 12:19:24 -07:00
Yago González
7a4103eee6
api docs: Document POST /mark_(all|stream|topic)_as_read.
2018-10-16 12:12:05 -07:00
Yago González
3bdc8f9946
api: Document the GET /realm/emoji endpoint.
2018-10-16 11:51:48 -07:00
Yago González
7a7b507e86
api docs: Document DELETE /realm/filters/<filter_id>.
2018-10-16 11:51:48 -07:00
Yago González
a7c48acc8e
api docs: Document GET /realm/filters.
2018-10-16 11:51:48 -07:00
Yago González
ea10f5eb2c
api docs: Document GET /users/<email>/presence.
...
Tweaked by tabbott to describe more clearly what this is for.
2018-08-31 15:15:54 -07:00
Yago González
78f85ef960
api docs: Document the GET /messages/<message_id>/history endpoint.
2018-08-28 17:33:02 -07:00
Yago González
5c6f381f32
api docs: Document the DELETE /messages/<message_id> endpoint.
2018-08-28 17:26:49 -07:00
Yago González
9575f1b51f
api docs: Document the GET /messages/<message_id> endpoint.
2018-08-28 17:22:28 -07:00
Yago González
ab164ba740
api docs: Document the GET /messages endpoint.
2018-08-28 17:17:46 -07:00
Yago González
c36cf95dc8
api docs: Document GET /server_settings.
2018-08-27 17:45:50 -07:00
Yago González
54464feda7
api docs: Document the PATCH /users/me/subscriptions/muted_topics endpoint.
2018-08-26 23:10:21 -07:00
Yago González
e7c7b19507
api docs: Document POST /realm/filters.
2018-08-22 17:42:14 -07:00
Yago González
c70d051031
test-api: Add function for server & realm tests.
...
There are some endpoints that don't fall into the currently available
categories, so this new function will be used for calling the tests for
server and realm-related endpoints.
2018-08-22 17:19:09 -07:00
Yago González
aa5185fdf8
api docs: Document POST /typing.
2018-08-17 12:57:40 -07:00
Yago González
8d0cf3ebe5
api docs: Migrate POST /user_uploads to OpenAPI.
2018-08-08 09:29:27 -07:00
Yago González
119b3c0bc4
api docs: Migrate DELETE /users/me/subscriptions to OpenAPI.
2018-08-08 09:29:27 -07:00
Yago González
14c9277095
api docs: Migrate POST /users to OpenAPI.
2018-08-08 09:29:27 -07:00
Yago González
936d8c32c0
test-api: Fix typo in message event types.
...
The event type for messages is "message", not "messages" as the test
(and hence the API docs Python example) reflected.
2018-08-02 15:54:41 -07:00