zulip/zerver
Mohit Gupta c89356fabf messages: Fix 500 error with duplicate delete message requests.
Multiple delete message requests for the same message sometimes caused
a 500 error.  This happened via the normal IntegrityError being thrown
by delete message/archiving code.

This was manually reproduced by adding latency in function
move_messages_to_archive() in retention.py and
delete_message_backend() in views.py.  This addresses the problem by
adding code to handle the exception and throw JsonableError to convert
500 to 400 errors, with an automated test.
2019-01-25 11:07:02 -08:00
..
data_import hipchat: Use HTML2Text for the content. 2019-01-09 16:59:45 -08:00
lib topics: Fix messages_for_topic to use iexact matching. 2019-01-24 17:55:15 -08:00
management deliver_email, deliver_scheduled_messages: Remove lock file. 2019-01-15 16:56:49 -08:00
migrations user status: Add status_text field to the database. 2019-01-24 09:46:35 -08:00
openapi api_docs: Document is_guest field in the get_members API. 2019-01-23 16:04:16 -08:00
templatetags bugdown: Trigger test failure for invalid Markdown include statements. 2018-12-27 20:13:08 -08:00
tests messages: Fix 500 error with duplicate delete message requests. 2019-01-25 11:07:02 -08:00
tornado event_queue: Avoid hardcoded paths in /var/tmp. 2019-01-15 16:12:05 -08:00
views messages: Fix 500 error with duplicate delete message requests. 2019-01-25 11:07:02 -08:00
webhooks webhooks/clubhouse: Extract story labels from actions. 2019-01-24 20:08:59 -03:30
worker send_email: Add support for passing language into send_future_email. 2019-01-09 17:47:58 -08:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py emails: Clean up code surrounding the call to find_team. 2018-12-20 16:26:19 -08:00
decorator.py decorator: Set an error code for invalid API key errors. 2019-01-05 11:29:34 -08:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py emails: Update text for password_reset. 2018-12-20 16:26:19 -08:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py docs: Automatically construct OpenAPI metadata for help center. 2018-12-19 10:18:20 -08:00
models.py user status: Add status_text field to the database. 2019-01-24 09:46:35 -08:00
signals.py emails: Use ugettext instead of ugettext_lazy in signals. 2018-12-20 19:35:23 -08:00
static_header.txt