Go to file
Steve Howell ff44fb6fcf For topic changes, set the compose subject outside the loop.
If we get a topic change, we can change the subject outside the
loop, since we are passed in event.orig_subject.  Doing it inside
the loop was mostly harmless, since after you encountered the first
message with the old topic, the condition to change the subject
evaluated to false, but it was still technically O(N), and it was
kind of confusing.

This commit changes behavior in the edge case that you have the
compose box open for a changing subject, but you are in a narrow
that does not have any of the affected messages.  After this commit,
the topic in the compose box will still change, which I believe
is the correct behavior.

(imported from commit 2363e432ebe7ae8e07379324ee0bfb52051428e6)
2014-03-12 21:15:20 -04:00
analytics Fix comment in meets_goal() function in activity reports. 2014-02-03 13:30:49 -05:00
api api: Expose function for getting the default Zulip config file 2014-03-03 17:30:58 -05:00
assets Allow enterprise deployments to disable the use of Gravatar. 2013-11-18 11:48:53 -05:00
bin logging: Log management commands that are run. 2013-11-20 14:31:08 -05:00
bots jabber_mirror: Calculate the zulip domain from the client email address 2014-03-06 21:59:55 -05:00
confirmation Don't use hardcoded noreply@zulip.com, zulip@zulip.com, or https://zulip.com 2013-11-15 21:31:37 -05:00
corporate Modify /hello to go to register instead of signup on Enterprise 2013-11-22 13:50:24 -05:00
humbug Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
node_modules Upgrade handlebars to 1.3.0. 2014-01-15 16:07:20 -05:00
puppet Remove Nagios monitoring for the old email mirror. 2014-03-12 21:15:19 -04:00
scripts [manual] restart-server: Minimize downtime for message sender worker. 2013-12-19 17:21:23 -05:00
static For topic changes, set the compose subject outside the loop. 2014-03-12 21:15:20 -04:00
templates Reword error page; link to Twitter. 2014-03-11 15:16:19 -04:00
tools tests: Don't try to edit locally echoed messages 2014-03-11 13:06:21 -04:00
zerver Allow negated has:* searches. 2014-03-12 21:15:20 -04:00
zilencer [manual] Add script to migrate subs to new stream notification settings. 2014-03-03 16:08:33 -05:00
zproject Actually switch to Bootstrap3-esque buttons. 2014-03-05 16:24:54 -05:00
.gitattributes enterprise: Don't include templates/zilencer in our tarballs 2013-11-15 11:53:49 -05:00
.gitignore modify gitignore to ignore KDE editors 2014-01-22 16:44:08 -05:00
LICENSE Add license not referring to Zulip Enterprise license agreement. 2013-11-14 11:16:15 -05:00
manage.py logging: Log management commands that are run. 2013-11-20 14:31:08 -05:00
zulip_tools.py Move su_to_zulip into zulip_tools.py 2013-11-13 16:56:59 -05:00