zulip/zproject
Steve Howell 8eb86335b9 Extract narrow_state.js.
Despite the length of this commit, it is a very straightforward
moving of code from narrow.js -> narrow_state.js, and then
everything else is just s/narrow.foo()/narrow_state.foo()/
(with a few tiny cleanups to remove some code duplication
in certain callers).

The only new functions are simple setter/getters that
encapsulate the current_filter variable:

    narrow_state.reset_current_filter()
    narrow_state.set_current_filter()
    narrow_state.get_current_filter()

We removed narrow.predicate() as part of this, since it was dead
code.

Also, we removed the shim for narrow_state.set_compose_defaults(),
and since that was the last shim, we removed shim.js from the app.
2017-04-25 09:57:32 -07:00
..
jinja2 jinja2: No need for custom render_to_response. 2017-03-17 13:57:34 -07:00
__init__.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
backends.py Revert "github: Call the appropriate authenticate." 2017-04-19 10:06:00 -07:00
dev_settings.py Add default response for `terms` and `privacy` endpoints. 2017-04-12 14:09:14 -07:00
dev_urls.py dev: Expose coverage and built documentation to web. 2017-03-23 13:10:06 -07:00
legacy_urls.py Migrate json/set_muted_topics to muting/topics. 2017-03-09 20:52:29 -08:00
local_settings.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
prod_settings_template.py docs: Update email configuration documentation. 2017-02-22 22:26:43 -08:00
settings.py Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
terms.md.template Add TERMS_OF_SERVICE setting. 2016-07-29 20:47:31 -07:00
test_settings.py testing: Use zulip_test_template for backend. 2017-04-14 10:23:31 +05:00
urls.py email-mirror: Move postfix email mirror integration to separate script. 2017-04-24 21:24:23 -07:00
wsgi.py Django 1.10: Use uWSGI. 2016-12-13 21:40:43 -08:00