zulip/zerver
Steve Howell 737e02a2e6 hipchat import: Fix PM messages.
Before this fix, we were creating two copies of every
PM Message in zerver_message with only corresponding
UserMessage row.

Now we only create one PM Message per message, which
we accomplish by making sure we only use imported
messages from the sender's history.json file.  And
then we write UserMessage rows for both participants
by making sure to include sender_id in the set of
user_ids that feeds into making UserMessage.  For
the case where you PM yourself, there's just one
UserMessage row.

It does not appear that we need to support huddles
yet.
2018-10-23 17:27:37 -05:00
..
data_import hipchat import: Fix PM messages. 2018-10-23 17:27:37 -05:00
lib import: Rename id_maps -> ID_MAP. 2018-10-23 17:27:37 -05:00
management minor: Add link to hipchat spec to code. 2018-10-13 16:43:28 -07:00
migrations notifications: Fix push notifications with multiple realms. 2018-10-10 16:15:52 -07:00
openapi api docs: Change Shakespeare quote. 2018-10-22 15:44:36 -07:00
templatetags api docs: Rename webhook-walkthrough to incoming-webhooks-walkthrough. 2018-10-16 21:07:00 -07:00
tests import: Use pub_date to sort message ids. 2018-10-23 17:27:37 -05:00
tornado tornado: Rename async_request_{restart,stop} to mention timer. 2018-10-16 15:39:10 -07:00
views portico: Redirect /plans to zulipchat.com/plans for self-hosted realms. 2018-10-23 14:47:00 -07:00
webhooks webhooks/github: Handle empty 'requested_reviewers' key. 2018-10-23 14:41:24 -07:00
worker refactor: Extract build_bot_request(). 2018-10-11 16:12:07 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py portico: Change buttons on /plans to reflect current plan. 2018-09-05 13:44:35 -07:00
decorator.py decorator: Fix error message for accessing deactivated accounts. 2018-08-09 15:58:31 -07:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py password reset: Deduplicate code for reset URL generation. 2018-08-23 12:06:02 -07:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py tornado: Rename async_request_{restart,stop} to mention timer. 2018-10-16 15:39:10 -07:00
models.py billing: Rename MAX_INVITES_PREMIUM. 2018-10-23 14:47:00 -07:00
signals.py emails: Add detection for ChromeOS User-Agents. 2018-09-21 10:41:05 -07:00
static_header.txt