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
neiljp (Neil Pilgrim)
39fb287fba
matrix tests: tweak import and add __init__.py to ensure tests run.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
28f05676f2
matrix: Use six.moves.configparser.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
f007fc9aaa
matrix tests: Add test for case that zuliprc file does not exist.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
1d01308caf
matrix tests: Add test for writing sample config using zuliprc.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
8999f0a352
matrix bridge: Separate print output from sys.exit calls.
...
This appears to be necessary for acquiring the text for testing.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
71b405e95d
zulip bridge: Use python instead of python3 in script.
...
This script moved from the bots package to the API package, and does not
explicitly require python3.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
617e16cebb
bridges: Bring inter-realm (zulip) bridge into zulip/ & rename others.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
fc416082aa
zulip: Update setup.py to install matrix bridge & add dependencies.
...
Dependencies added:
* matrix_client: for matrix bridge itself;
* configparser: for python2 compatibility.
2018-08-08 17:26:15 -07:00
neiljp (Neil Pilgrim)
ec9f72f516
matrix bridge: Add optional from-zuliprc to use with write-sample-config.
...
If specified, the new option uses the information to pre-populate the
sample configuration file.
2018-08-08 17:26:15 -07:00
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
neiljp (Neil Pilgrim)
8b4f23d6aa
matrix tests: Add test for zulip-to-matrix messages.
2018-08-03 16:16:40 -07:00
neiljp (Neil Pilgrim)
4b50ea2569
matrix tests: Refactor zulip message validity tests.
2018-08-03 16:16:40 -07:00
neiljp (Neil Pilgrim)
02799315ea
matrix tests: Add zulip message validity failure tests.
2018-08-03 16:16:40 -07:00
neiljp (Neil Pilgrim)
1e7b5ee5f2
matrix tests: Add zulip message validity success test.
2018-08-03 16:16:40 -07:00
neiljp (Neil Pilgrim)
e693c25abc
matrix tests: Add test for sample config generation.
2018-08-03 16:16:40 -07:00
neiljp (Neil Pilgrim)
c692c4712a
matrix tests: Refactor running script into helper function.
2018-08-03 16:16:40 -07:00
neiljp (Neil Pilgrim)
fd66eb61c7
matrix tests: Add minimal help test for no-args and with -h.
2018-08-03 16:16:40 -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
Shubham Dhama
918e63a220
zulip_bots: Fix get_storage request arguments in StateHandler.
2018-07-01 08:01:18 -04:00
Yago González
f8fd7b6fbf
api: Implement GET /messages/<message_id>/history.
2018-06-28 20:26:06 -02:30
Yago González
2da831bbe1
api: Fix mypy annotations for delete_message.
2018-06-28 20:26:06 -02:30
Yago González
e6972bcbb9
api: Add extra arguments to get-messages example.
2018-06-26 19:46:22 -02:30
Yago González
0e39ca5236
api: Remove recent-messages example.
...
The GET /messages action has been recently implemented into our
bindings. Therefore this example has been superseded by get-messages,
which is capable of fetch messages in a more fine-grained way.
2018-06-26 19:46:22 -02:30