zulip/zerver/views
Rafid Aslam d3ee53bdef Move endpoints to use stream_id instead of stream_name in their URLs
- Change `stream_name` into `stream_id` on some API endpoints that use
`stream_name` in their URLs to prevent confusion of `views` selection.

For example:
If the stream name is "foo/members", the URL would be trigger
"^streams/(?P<stream_name>.*)/members$" and it would be confusing because
we intend to use the endpoint with "^streams/(?P<stream_name>.*)$" regex.

All stream-related endpoints now use stream id instead of stream name,
except for a single endpoint that lets you convert stream names to stream ids.

See https://github.com/zulip/zulip/issues/2930#issuecomment-269576231

- Add `get_stream_id()` method to Zulip API client, and change
`get_subscribers()` method to comply with the new stream API
(replace `stream_name` with `stream_id`).

Fixes #2930.
2017-01-12 15:23:31 -08:00
..
webhooks Change way of handling comments event in jira integration. 2017-01-12 14:54:32 -08:00
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
alert_words.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
auth.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
events_register.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
home.py views: Extract zerver/views/home.py. 2017-01-08 16:21:15 -08:00
integrations.py Change domain to realm_id in bugdown and realm filter dicts and caches. 2017-01-03 16:25:20 -08:00
invite.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
messages.py Rename models.get_realm_by_string_id to get_realm. 2017-01-04 17:12:23 -08:00
muting.py views: Extract zerver.views.muting. 2017-01-08 16:21:15 -08:00
pointer.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
presence.py Remove several instances of datetime.datetime.utcnow(). 2016-11-07 20:13:53 -08:00
push_notifications.py push notifications: Fix very minor quirk when adding tokens. 2016-09-15 06:40:18 -07:00
reactions.py reactions: Fix check for valid emoji. 2016-12-30 17:51:31 -08:00
realm.py emoji: Add add_emoji_by_admins_only realm setting. 2016-12-27 15:46:14 -08:00
realm_aliases.py Manage allowed domains from admin settings. 2017-01-06 12:03:31 -08:00
realm_emoji.py emoji: Add add_emoji_by_admins_only realm setting. 2016-12-27 15:46:14 -08:00
realm_filters.py Change domain to realm_id in bugdown and realm filter dicts and caches. 2017-01-03 16:25:20 -08:00
registration.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
report.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
streams.py Move endpoints to use stream_id instead of stream_name in their URLs 2017-01-12 15:23:31 -08:00
tutorial.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
typing.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
unsubscribe.py context_processors: use a common context for emails. 2016-11-08 11:37:16 -08:00
upload.py Change X.realm.id to X.realm_id across codebase. 2017-01-03 16:46:26 -08:00
user_settings.py lint: Fix indentation error in user_settings.py. 2016-12-30 14:31:04 -08:00
users.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
zephyr.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00