zulip/zephyr
Tim Abbott 97d7d31b68 Rewrite internal_send_message to use check_send_message.
This will automatically fix bugs such as one in which
internal_send_message didn't properly strip() the subject argument
before sending a message.

We change the recipient_type argument to internal_send_message to take
the recipient type name (e.g. 'stream') both to better fit the API and
also because the previous code incorrectly handled huddles.

(imported from commit 78c2596d328f6bb1ce2eaa3eed9a9e48146e3b6a)
2013-03-18 16:15:11 -04:00
..
fixtures Rename zephyrs.json => messages.json in .gitignore. 2012-10-10 10:39:27 -04:00
jstemplates Fix typo in user-visible string 2013-03-13 13:50:45 -04:00
lib Rewrite internal_send_message to use check_send_message. 2013-03-18 16:15:11 -04:00
management Add a management command to reset your stream colors to the default. 2013-03-18 15:49:39 -04:00
migrations Fix 0012 migration to work with sqlite 2013-03-13 11:52:06 -04:00
static Add page describing our Humbug apps. 2013-03-15 19:16:44 -04:00
tests tests: Disable tutorial through the server side variable needs_tutorial 2013-03-18 13:46:46 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Get rid of the static-access-control mechanism 2013-01-31 15:34:12 -05:00
decorator.py Use the User/UserProfile caches for Django requests too. 2013-03-15 18:09:34 -04:00
filters.py Filter out all cookies and the csrfmiddlewaretoken. 2013-02-05 16:12:48 -05:00
forms.py Rename is_active to is_inactive. 2013-02-12 16:15:29 -05:00
handlers.py Rewrite internal_send_message to use check_send_message. 2013-03-18 16:15:11 -04:00
middleware.py Add the user's client string to our Django logs. 2013-03-15 16:37:40 -04:00
models.py Move check_send_message and helpers to actions.py. 2013-03-18 16:15:11 -04:00
openid.py [manual] Implement backend support for authenticating a user via Google. 2013-02-27 10:16:54 -05:00
retention_policy.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
tests.py Remove pointer_updater param as it is no longer used 2013-03-14 13:35:28 -04:00
tornadoviews.py Use humbug_finish() wrapper for finish() with required arguments. 2013-03-15 12:53:07 -04:00
views.py Rewrite internal_send_message to use check_send_message. 2013-03-18 16:15:11 -04:00