Files
zulip/static/js
Wyatt Hoodes 82e7ad8e25 data exports: Handle pending and failed exports.
Prior to this change, there were reports of 500s in
production due to `export.extra_data` being a
Nonetype.  This was reproducible using the s3
backend in development when a row was created in
the `RealmAuditLog` table, but the export failed in
the `DeferredWorker`.  This left an entry lying
about that was never updated with an `extra_data`
field.

To fix this, we catch any exceptions in the
`DeferredWorker`, and then update `extra_data` to
encode the failure.  We also fix the fact that we
never updated the export UI table with pending exports.

These changes also negated the use for the somewhat
hacky `clear_success_banner` logic.
2020-04-30 13:00:59 -07:00
..
2020-03-02 17:45:44 -08:00
2020-03-24 20:40:19 -07:00
2020-02-04 12:22:03 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00
2020-03-26 21:35:32 -07:00
2020-02-10 15:57:20 -08:00
2020-02-25 15:37:37 -08:00
2020-04-28 23:08:45 -07:00
2020-02-15 12:20:20 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00