Puneeth Chaganti
63bc9b8a4f
zulip: Use distro.linux_distribution instead of platform
...
Python 3.8 removes `platform.linux_distribution` and `distro` is the
recommended replacement to use for this function.
2019-11-01 17:49:49 -07:00
Anders Kaseorg
567d6ebc25
Client.get_user_presence: Fix blatantly incorrect type annotation.
...
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-08-07 16:53:42 -07:00
Eeshan Garg
e5bcd095fd
pypi: Release version 0.6.1.
2019-07-14 21:17:53 -02:30
neiljp (Neil Pilgrim)
c2e5b14034
api: Add UnrecoverableNetworkError Exception & use in do_api_query.
...
This replaces one case where the base ZulipError was raised, and another
where the original exception was re-raised.
This method, and so all API calls, should now only fail via raising this
Exception or by a non-'success' result in the return value dict; this
should avoid leaking any implementation detail and clarify expectations
in user code.
2019-03-29 14:12:26 -07:00
Eeshan Garg
accfa8ddaf
pypi: Release version 0.6.0.
2019-03-19 19:43:23 -02:30
Eeshan Garg
3a2e85c2b1
zulip: Fix argument name in add/remove reaction example comment.
...
The actual argument is supposed to be named `reaction_type`, not
`emoji_type`.
2019-03-02 19:12:44 -03:30
Eeshan Garg
d43b9328f0
pypi: Release version 0.5.9.
2019-02-17 02:49:27 -03:30
neiljp (Neil Pilgrim)
47f9b103ab
api: Fix add_reaction method to pass reaction_data.
...
Also correct the example usage text.
2019-02-16 03:29:24 -08:00
Sivagiri Visakan
26c85bb9ed
zulip/examples: Add a script to get complete history of a narrow.
...
Fixes #476 .
2019-01-28 22:49:47 -03:30
Eeshan Garg
9931de2c6b
pypi: Release version 0.5.8.
2019-01-22 22:35:37 -03:30
Eeshan Garg
ed6c797d19
pypi: Release version 0.5.7.
2019-01-16 20:50:46 -03:30
neiljp (Neil Pilgrim)
eb0e150a71
api: Add Optional timeout parameter to deregister.
2019-01-14 19:24:08 -08:00
neiljp (Neil Pilgrim)
f858e48468
api: Add timeout parameter to do_api_query and call_endpoint.
2019-01-14 19:24:08 -08:00
Roger Souza
3f2b11c345
api: Implement POST /realm/emoji<emoji_name>.
2018-12-20 17:49:31 -03:30
Eeshan Garg
d478c91965
pypi: Release version 0.5.6.
2018-12-17 17:07:32 -03:30
Eeshan Garg
09deda9466
pypi: Release version 0.5.5.
2018-09-25 22:36:57 -02:30
Eeshan Garg
048fa79a7c
pypi: Release version 0.5.4.
...
Starting now, we now also have a CHANGELOG to record major changes
to the zulip package.
2018-08-31 17:25:55 -02:30
Yago González
256a17fa94
api: Rename "get_presence" to "get_user_presence".
...
Given that this method fetches the presence status for a single user,
the "get_presence" name should be reserved for the endpoint that gets
the presence for all users.
2018-08-28 11:28:35 -07:00
Roman Godov
d02dbbcf75
api: Implement GET /user_groups.
2018-08-27 18:39:27 -02:30
Yago González
bf752a860c
api: Implement DELETE /streams/<stream_id>.
2018-08-27 18:36:12 -02:30
Eeshan Garg
6151f2db40
pypi: Release version 0.5.3.
2018-08-17 22:21:01 -02:30
Yago González
7dfecf5577
api: Implement DELETE /realm/filters/<filter_id>.
2018-08-14 10:54:18 -02:30
Yago González
b2de1e8e67
api: Implement POST /realm/filters.
2018-08-14 10:54:18 -02:30
Yago González
ac697026b1
api: Implement GET /realm/filters.
2018-08-14 10:54:18 -02:30
Yago González
5747e76c08
api: Make all endpoint paths relative.
...
Most of the endpoints we call in the bindings are put relative to the
API's root. These two were absolute paths (i.e. they had a leading
slash), so it has been changed for consistency.
2018-08-14 10:54:18 -02:30
Yago González
c480657952
api: Implement POST /user_groups/<user_group_id>/members.
2018-08-14 10:51:50 -02:30
Yago González
8dffb18216
api: Implement DELETE /user_groups/<user_group_id>.
2018-08-14 10:51:50 -02:30
Yago González
851eb1b3bb
api: Implement PATCH /user_groups/<user_group_id>.
2018-08-14 10:51:50 -02:30
Yago González
c6b123016e
api: Implement PATCH /settings/notifications.
2018-08-13 11:27:32 -07:00
Yago González
330fc4783e
api: Implement POST /mark_topic_as_read.
2018-08-13 11:27:16 -07:00
Yago González
4ab53c9073
api: Implement POST /mark_stream_as_read.
2018-08-13 11:27:16 -07:00
Yago González
ac399d895d
api: Implement POST /mark_all_as_read.
2018-08-13 11:27:16 -07:00
Yago González
92ceb991a3
api: Implement GET /server_settings.
2018-08-13 11:26:34 -07:00
Yago González
a17e8954a8
api: Implement POST /typing.
2018-08-09 18:37:15 -02:30
Yago González
6f74d5414a
api: Implement POST /messages/<message_id>/reactions.
2018-08-08 17:23:21 -07:00
Yago González
49e919ac3a
api: Implement DELETE /messages/<message_id>/reactions.
2018-08-08 17:23:21 -07:00
Yago González
0ca25af06e
api: Implement POST /user_groups/create.
2018-08-08 17:22:35 -07:00
Yago González
2f463e2a88
api: Implement POST /users/me/presence.
2018-08-08 17:22:05 -07:00
Tim Abbott
6d8ac7c3c0
api: Check for BAD_EVENT_QUEUE_ID code.
...
This is the best way to do this check, since it isn't subject to i18n
modifying the strings. The server feature was originally introduced
in zulip/zulip commit 709c3b50fcba333740bb337bac69a801dbbdc4ee.
Since it's only 1 year old and the outcome is quite bad if this check
weren't present, we preserve support for older servers.
2018-08-02 15:59:52 -07:00
Eeshan Garg
1127f973aa
pypi: Release version 0.5.2.
2018-07-26 21:19:12 -02:30
Yago González
91135fca09
api: Implement POST /users/me/subscriptions/properties.
2018-07-13 01:10:58 +05:30
Yago González
04d6c58cc4
api: Add example for managing alert words.
...
This example makes use of get_alert_words, add_alert_words and
remove_alert_words, three methods that interact with the
/users/me/alert_words REST API endpoint.
2018-07-12 16:40:58 -02:30
Yago González
3070106365
api: Implement DELETE /users/me/alert_words.
2018-07-12 16:40:58 -02:30
Yago González
c661d78b63
api: Implement POST /users/me/alert_words.
2018-07-12 16:40:58 -02:30
Yago González
c057e0df14
api: Implement GET /users/me/alert_words.
2018-07-12 16:40:58 -02:30
Yago González
f6646f9cba
api: Implement PATCH /users/me/subscriptions/muted_topics.
2018-07-09 15:05:04 -02:30
Yago González
2da5fb3484
api: Rename update-flags to update-message-flags.
...
Followup for #449 .
2018-07-04 18:14:48 +02:00
Yago González
4d9b3226fd
api: Implement GET /realm/emoji.
2018-07-03 20:01:56 -02:30
Yago González
a96c3f0db0
api: Implement POST /messages/flags.
2018-07-03 11:03:26 -07:00
Eeshan Garg
c2fdd547f7
PyPI: Release 0.5.1.
2018-07-01 12:05:59 -02:30