browsertrix/backend/btrixcloud
Tessa Walsh 14b349443f
Make pending invites expire via TTL index (#568)
* Make invites expire after configurable window

The value can be set in EXPIRE_AFTER_SECONDS env var and via
helm chart values, and defaults to 7 days.

* Create nightly test CI and add invite expiration test to it

* Update 404 error message for missing or expired invite

---------

Co-authored-by: sua yoo <sua@suayoo.com>
2023-02-14 16:07:14 -05:00
..
k8s Reformat backend for black 23.1.0 (#548) 2023-02-01 20:01:09 -05:00
migrations Only drop indexes if migrations are run (#515) 2023-01-25 17:46:10 -08:00
__init__.py refactoring to use statefulsets + job (#245) 2022-06-05 10:37:17 -07:00
colls.py Rename archives/teams -> orgs in codebase + add db migration (#486) 2023-01-18 14:51:04 -08:00
crawl_job.py Rename archives/teams -> orgs in codebase + add db migration (#486) 2023-01-18 14:51:04 -08:00
crawlconfigs.py Make crawlconfig name optional (#588) 2023-02-08 18:38:15 -08:00
crawlmanager.py Rename api / nginx settings -> backend / frontend, set pull policy job images (#504) 2023-01-18 20:21:36 -08:00
crawls.py Add notes to crawl and crawl updates (#587) 2023-02-08 18:36:22 -08:00
db.py Make pending invites expire via TTL index (#568) 2023-02-14 16:07:14 -05:00
emailsender.py Reformat backend for black 23.1.0 (#548) 2023-02-01 20:01:09 -05:00
invites.py Make pending invites expire via TTL index (#568) 2023-02-14 16:07:14 -05:00
main.py Make pending invites expire via TTL index (#568) 2023-02-14 16:07:14 -05:00
orgs.py Make pending invites expire via TTL index (#568) 2023-02-14 16:07:14 -05:00
profile_job.py VNC-Based Profile Browser (#433) 2023-01-10 14:42:42 -08:00
profiles.py Reformat backend for black 23.1.0 (#548) 2023-02-01 20:01:09 -05:00
storages.py Reformat backend for black 23.1.0 (#548) 2023-02-01 20:01:09 -05:00
users.py Remove non-org-scoped invites from backend (#585) 2023-02-08 18:56:28 -08:00
version.py bump version to 1.2.1-beta.0 2023-02-05 12:27:45 -08:00
worker.py Fix logic for creating pidfile parent dir (#512) 2023-01-23 17:02:25 -08:00