zulip/zerver
K.Kanakhin e930851d16 retention-period: Add more core code for retention policy.
This is a very old commit for #106, which has been on hiatus for a few
years.  It was significantly modified by tabbott to:
* Improve coding style and variable names
* Update mypy annotations style
* Clean up the testing logic
* Update for API changes elsewhere in our system

But the actual runtime code is essentially unmodified from the
original work by Kirill.

It contains basic support for archiving Messages, UserMessages, and
Attachments with a nice test suite.  It's still not usable in
production (e.g. it will probably break Reactions, SubMessages, etc.),
but upcoming commits will address that.
2019-05-19 20:22:47 -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 retention-period: Add more core code for retention policy. 2019-05-19 20:22:47 -07:00
management retention-period: Add more core code for retention policy. 2019-05-19 20:22:47 -07:00
migrations models: Alter video_chat_provider field type to integer. 2019-05-13 12:02:28 -07:00
openapi settings: Migrate to create_stream_policy structure. 2019-05-06 16:27:55 -07:00
templatetags render_markdown_path: Convert dicts to dict item tuples for caching. 2019-04-22 13:53:18 -07:00
tests retention-period: Add more core code for retention policy. 2019-05-19 20:22:47 -07:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views devtools: Add custom HTTP headers support to the integrations dev panel. 2019-05-17 11:50:53 -07:00
webhooks webhooks/pivotal: Use proper punctuation. 2019-05-09 13:05:49 -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 get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
decorator.py rate_limiter: Generalise some rate_limit_user code. 2019-05-01 12:54:32 -07:00
filters.py filters: Don't include realm_counts/installation_counts in errors. 2019-04-30 14:10:59 -07:00
forms.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
logging_handlers.py try_git_describe: Set cwd, not --git-dir. 2019-02-28 14:59:33 -08:00
middleware.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
models.py linkifiers: Allow semicolons in target URLs. 2019-05-14 11:17:55 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt