Go to file
Steve Howell eec12ff268 Calculate has_* fields before saving Messages
Before saving a Message object, call update_calculated_fields()
to set the has_attachment/has_image/has_link fields.

Note that the pre_save hook we added here does not get called
if you call bulk_create, hence the explicit call to
update_calculated_fields() in do_send_messages().

(imported from commit 1d60ae5908ef186aa5ff1e39277dbb2b765e60d4)
2014-03-04 11:00:26 -05: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: Allow Jabber options to be specified in the Zulip config file 2014-03-03 17:30:58 -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 Use /usr/bin/env python for process_fts_updates. 2014-03-03 16:08:32 -05:00
scripts [manual] restart-server: Minimize downtime for message sender worker. 2013-12-19 17:21:23 -05:00
static Use the first unread from server on reload 2014-03-03 18:17:15 -05:00
templates Convert settings from static HTML to a template. 2014-03-03 16:08:32 -05:00
tools Add Zulip ops apt key when installing new servers. 2014-03-03 14:56:40 -05:00
zerver Calculate has_* fields before saving Messages 2014-03-04 11:00:26 -05:00
zilencer [manual] Add script to migrate subs to new stream notification settings. 2014-03-03 16:08:33 -05:00
zproject Add slim scrollbar to stream list 2014-02-27 20:25:41 -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