zulip/zerver
Wyatt Hoodes d4715f23d7 public_export: Add backend API endpoint for triggering export.
An endpoint was created in zerver/views.  Basic rate-limiting was
implemented using RealmAuditLog.  The idea here is to simply log each
export event as a realm_exported event.  The number of events
occurring in the time delta is checked to ensure that the weekly
limit is not exceeded.

The event is published to the 'deferred_work' queue processor to
prevent the export process from being killed after 60s.

Upon completion of the export the realm admin(s) are notified.
2019-04-26 17:24:29 -07:00
..
data_import lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
lib public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07:00
management lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
migrations email_mirror: Make email_token a unique column of Stream. 2019-03-17 12:55:35 -07:00
openapi tools/test-api: Test Client.delete_stream. 2019-04-25 16:24:59 -02:30
templatetags render_markdown_path: Convert dicts to dict item tuples for caching. 2019-04-22 13:53:18 -07:00
tests public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07:00
webhooks lint: Fix calls to _() on computed strings. 2019-04-23 15:23:03 -07:00
worker public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07:00
__init__.py
apps.py python: Mark intentionally unused imports with noop statements. 2019-02-22 16:54:47 -08:00
context_processors.py open graph: Display realm description as open graph description. 2019-04-25 15:29:16 -07:00
decorator.py lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
logging_handlers.py try_git_describe: Set cwd, not --git-dir. 2019-02-28 14:59:33 -08:00
middleware.py html_to_text: Escape text when using as description. 2019-04-25 15:29:16 -07:00
models.py public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt