zulip/zerver/views/development
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
..
__init__.py
cache.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
camo.py thumbnail: Remove unused is_camo_url parameter. 2021-08-19 01:51:37 -07:00
dev_login.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
email_log.py invite: Extend invite api for handling expiration duration. 2021-09-10 16:53:03 -07:00
integrations.py exceptions: Add ResourceNotFoundError. 2021-07-05 11:02:12 -07:00
registration.py devlogin: Add support for creating development demo realms. 2021-08-19 03:09:36 -07:00