Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Steve Howell f024a7ab14 Call process_loaded_for_unread() more directly.
This is a prefactoring to eventually eliminate the home_unread_messages
global variable.  More commits to follow.

In order to set up process_loaded_for_unread() not to modify
global variable to get its job done, we want to pull it out of
add_messages(), so that add_messages() doesn't have to pass back
state to the 9 different places in the codebase where it's called.
There are only 2 places where process_loaded_for_unread() get
called after this commit.

In order to facilitate pulling up process_loaded_for_unread(), I
made it so that the contract for add_messages() was to accept
already-hydrated messages.  This way I could hydrate the messages
before calling process_loaded_for_unread() without have to
worry about double-caching them in add_messages.  This will
slightly improve performance, but it was mostly done for code
clarity.

(imported from commit ad5aaad5b1f22c31647370f4c9dcb5f89d7d99a7)
2013-05-14 15:21:27 -04:00
api Implement Humbug SVN integration. 2013-05-01 11:37:07 -07:00
assets favicon: Add an 'infinite' favicon for more than 99 messages 2013-02-15 16:18:24 -05:00
bots Fix use of logging instead of logger 2013-05-09 13:50:21 -04:00
certs Add wildcard certificate for *.e.humbughq.com. 2013-01-17 18:56:39 -05:00
confirmation [third]: Accept and pass along gafyd_name parameters to confirmation templates. 2013-04-24 12:03:41 -07:00
humbug Enumerate onboarding steps client-side, and give a way to update them. 2013-05-14 10:27:39 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers check_user_zephyr_mirror_liveness: Fix query for new API. 2013-05-10 10:46:49 -04:00
templates Put a prominent Feedback icon to the right of your feed. 2013-05-14 13:43:58 -04:00
tools Call process_loaded_for_unread() more directly. 2013-05-14 15:21:27 -04:00
zephyr Call process_loaded_for_unread() more directly. 2013-05-14 15:21:27 -04:00
.gitignore gitignore: Add .DS_Store 2013-02-06 16:31:55 -05:00
manage.py chmod +x manage.py 2012-10-25 15:22:18 -04:00