zulip/analytics
shanukun 8c1ea78d7d invite: Extend invite api for handling expiration duration.
This extends the invite api endpoints to handle an extra
argument, expiration duration, which states the number of
days before the invitation link expires.

For prereg users, expiration info is attached to event
object to pass it to invite queue processor in order to
create and send confirmation link.
In case of multiuse invites, confirmation links are
created directly inside do_create_multiuse_invite_link(),

For filtering valid user invites, expiration info stored in
Confirmation object is used, which is accessed by a prereg
user using reverse generic relations.

Fixes #16359.
2021-09-10 16:53:03 -07:00
..
lib typing: Use accurate type hints for dictionaries. 2021-08-20 06:02:28 -07:00
management analytics: Use type alias for `fixture_data`. 2021-07-27 12:17:01 -07:00
migrations python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tests invite: Extend invite api for handling expiration duration. 2021-09-10 16:53:03 -07:00
views invite: Extend invite api for handling expiration duration. 2021-09-10 16:53:03 -07:00
__init__.py
models.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
urls.py typing: Amend inaccurate type annotations. 2021-07-27 12:17:00 -07:00