browsertrix/backend/btrixcloud
Tessa Walsh 8a904c9031
feat: Rename org when accepting org invite for first admin (#1870)
Resolves https://github.com/webrecorder/browsertrix/issues/1874

Support for new two-part sign up flow if first admin user is added to org
- If new user, user registers first, then is able to change the org name / slug on following screen
- If existing user, user accepts invite, then is able to change the org name / slug on following screen
- After confirming org slug name, user is taken to dashboard, or error is shown if org name or slug already taken.
- If org name == org id, org name and slug is automatically set to `{Your Name}'s Archive` when first user is registered / accepts invite
- Email templates updated to better reflect new / existing users and not show org name if it is 'unset' (org name == org id internally)
- tests: frontend unit testing for accept + invite screens.

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
Co-authored-by: sua yoo <sua@suayoo.com>
Co-authored-by: sua yoo <sua@webrecorder.org>
Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
Co-authored-by: Emma Segal-Grossman <hi@emma.cafe>
2024-06-27 16:08:31 -07:00
..
migrations Backend: Move page file and error counts to crawl replay.json endpoint (#1868) 2024-06-20 19:02:57 -07:00
operator Improved Scale Handling (#1889) 2024-06-26 10:24:45 -07:00
__init__.py refactoring to use statefulsets + job (#245) 2022-06-05 10:37:17 -07:00
auth.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
background_jobs.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
basecrawls.py ensure QA configmap is updated for long running QA runs: (#1865) 2024-06-12 10:51:35 -07:00
colls.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
crawlconfigs.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
crawlmanager.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
crawls.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
db.py Backend: Move page file and error counts to crawl replay.json endpoint (#1868) 2024-06-20 19:02:57 -07:00
emailsender.py feat: Rename org when accepting org invite for first admin (#1870) 2024-06-27 16:08:31 -07:00
invites.py feat: Rename org when accepting org invite for first admin (#1870) 2024-06-27 16:08:31 -07:00
k8sapi.py Crawler pod memory padding + auto scaling (#1631) 2024-03-28 16:39:00 -07:00
main_op.py Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
main.py Add billing enabled and sales email to Helm chart and /settings API endpoint (#1873) 2024-06-25 10:55:29 -04:00
models.py Add and enforce readOnly field in Organization (#1886) 2024-06-25 19:30:53 -07:00
orgs.py feat: Rename org when accepting org invite for first admin (#1870) 2024-06-27 16:08:31 -07:00
pages.py QA stats aggregation: exclude isFile / isError pages from stats (#1879) 2024-06-25 08:54:42 -07:00
pagination.py Format backend with Black 24 (#1507) 2024-02-07 11:35:34 -08:00
profiles.py Use standard firstSeed/seedCount fallback for workflows with no name in profile details (#1852) 2024-06-06 14:28:19 -04:00
storages.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
uploads.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00
users.py feat: Rename org when accepting org invite for first admin (#1870) 2024-06-27 16:08:31 -07:00
utils.py Add slug validation and test (#1891) 2024-06-26 15:04:54 -04:00
version.py version: bump to 1.10.2 2024-06-11 16:28:40 -07:00
webhooks.py QA Runs Initial Backend Implementation (#1586) 2024-03-20 22:42:16 -07:00