zulip/zproject
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
..
jinja2 mypy: Convert several directories to use typing.Text. 2016-12-07 20:51:05 -08:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py backends: Fix some slightly confusing error messages. 2017-01-11 18:08:29 -08:00
dev_settings.py Add oembed/Open Graph/Meta tags data retrieval from inline links. 2016-12-07 17:40:18 -08:00
dev_urls.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
legacy_urls.py views: Extract zerver.views.muting. 2017-01-08 16:21:15 -08:00
local_settings.py pep8: Fix E225 pep8 violations. 2016-11-28 15:21:15 -08:00
prod_settings_template.py auth: Make min password length and strength configurable. 2017-01-10 04:55:41 -08:00
settings.py Revert "update-sockjs: Update sockjs from version 0.3.4 to 1.1.1." 2017-01-10 11:46:15 -08:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py ldap: Suppress logging output of fakeldap. 2016-12-30 16:55:06 -08:00
urls.py Move endpoints to use stream_id instead of stream_name in their URLs 2017-01-12 15:23:31 -08:00
wsgi.py Django 1.10: Use uWSGI. 2016-12-13 21:40:43 -08:00