zulip/zerver/views
Steve Howell 711a50f1e8 Add internal_prep_private_message().
The new function takes a full UserProfile object for the sender,
which allows us to avoid O(N) calls when creating the stream to
find the user profile of the notification bot.  (The calls were
already cached, so this won't necessarily be a huge performance
win.)

We also don't have to worry about sending a blank subject any more.
2017-05-01 16:23:38 -07:00
..
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
alert_words.py alert_words: Avoid redundant .lstrip(). 2017-02-28 10:13:03 -08:00
attachments.py Add support for managing and deleting attachments. 2017-02-16 23:44:44 -08:00
auth.py Add mobile auth redirect to custom URI scheme (zulip://). 2017-04-28 11:47:35 -07:00
compatibility.py mobile: Add an endpoint for checking compatibility. 2017-02-03 09:55:34 -08:00
custom_profile_fields.py profile: Support custom profile data. 2017-04-18 15:20:59 -07:00
email_mirror.py email mirror: Fix mypy annotation error. 2017-04-24 22:01:48 -07:00
events_register.py events: Add support for fetch_event_types option to events_register. 2017-04-26 16:02:40 -07:00
home.py home.py: move initial_pointer as pointer to register_ret. 2017-04-28 23:39:14 -07:00
hotspots.py hotspots: Add backend support for tutorial hotspots. 2017-03-29 11:34:32 -07:00
integrations.py integrations: Pass context to integration objects. 2017-04-07 15:52:15 -07:00
invite.py signups: Use topic string_id for internal messages from new user signups. 2017-03-13 10:00:41 -07:00
messages.py Fix mobile home view returning messages older than the pointer. 2017-04-18 21:39:24 -07:00
muting.py Implemented API routes for muting/unmuting a topic 2017-03-15 16:19:00 -07:00
pointer.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
presence.py decorator: Add human_users_only decorator. 2017-04-16 12:51:23 -07:00
push_notifications.py Add support infrastructure for push notification bouncer service. 2017-04-18 23:03:06 -07:00
reactions.py reactions: Fix reacting to messages on streams you're not subscribed to. 2017-03-22 20:22:13 -07:00
realm.py Realm.py: Removing 'exclude' variable. 2017-04-19 22:08:36 -07:00
realm_domains.py realm_domains: Restructure library for getting realm domains. 2017-04-28 21:11:56 -07:00
realm_emoji.py realm-emoji: Add realm emoji uploading instead url providing. 2017-05-01 14:50:20 -07:00
realm_filters.py Change domain to realm_id in bugdown and realm filter dicts and caches. 2017-01-03 16:25:20 -08:00
realm_icon.py Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
registration.py redirect_and_log_into_subdomain: Handle is_signup. 2017-04-20 11:11:54 -07:00
report.py statsd: Change keys to use Realm.string_id instead of domain. 2017-03-13 09:51:02 -07:00
streams.py Add internal_prep_private_message(). 2017-05-01 16:23:38 -07:00
tutorial.py internal_send_message: Make realm argument mandatory. 2017-01-21 21:37:30 -08:00
typing.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
unsubscribe.py jinja2: No need for custom render_to_response. 2017-03-17 13:57:34 -07:00
upload.py uploads: Add authorization check before serving files. 2017-04-07 16:35:28 -07:00
user_settings.py Switch regenerate_api_key to use RealmAuditLog. 2017-04-25 10:23:33 -07:00
users.py Switch regenerate_api_key to use RealmAuditLog. 2017-04-25 10:23:33 -07:00
zephyr.py test-backend: Raise zerver/views/zephyr.py test coverage to 100%. 2017-02-26 20:54:25 -08:00