Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Scott Feeney ccec989036 Set page_params.staging on anything that isn't a prod deploy
Until now, page_params.staging has been dependent on whether DEBUG =
True. On your local server, page_params.staging is true unless you set
DEBUG to False to test minification, in which case, it's false. This
situation still counts as staging IMHO, and the new behavior will be
more useful for testing as well as consistent.

Quick reference chart:

Is page_params.staging true...  without this commit?    with this commit?
                                --------------------    -----------------
On a local server, DEBUG=True          Yes                    Yes
On a local server, DEBUG=False          No                    Yes
On staging                             Yes                    Yes
On production                           No                     No

(imported from commit 6ea960e7945844dde0fbedbe901062508312b051)
2013-07-12 11:33:16 -04:00
api api: Fix using staging.humbughq.com as the base_url. 2013-06-28 15:57:28 -04:00
assets favicon: Add an 'infinite' favicon for more than 99 messages 2013-02-15 16:18:24 -05:00
bots zephyr_mirror: you no longer need to reload Humbug after subbing. 2013-06-28 15:57:29 -04:00
certs Include certificate for staging.zulip.com. 2013-07-02 12:04:56 -04:00
confirmation Add metrics variables to the template context via a context processor 2013-06-18 17:07:36 -04:00
humbug Refactor popovers into their own file 2013-07-08 18:53:03 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Make python-django-guardian a dependency according to puppet. 2013-07-12 11:29:11 -04:00
templates Formatting help: Make the bulleted list a little more explicit. 2013-07-11 14:35:50 -04:00
tools Revert to old mark as unread on view behavior. 2013-07-11 14:01:26 -04:00
zephyr Set page_params.staging on anything that isn't a prod deploy 2013-07-12 11:33:16 -04:00
.gitignore gitignore memcached_prefix 2013-06-12 17:16:37 -04:00
manage.py Make manage.py spit out tracebacks, without a patched django 2013-05-28 19:05:06 -04:00