Commit Graph

8 Commits (9c39fb52f300c447dce5f279e448edeb0291d002)

Author SHA1 Message Date
Eugen Rochko 740c9cb3ee
Remove invite comments from UI (#12068)
Due to UX confusion and insufficient time to fix it
5 years ago
ThibG cb62a83a71 Add invite comments (#10465) 5 years ago
Eugen Rochko ff565524aa
Fix maxed-out invites not showing up as expired in UI (#10274) 6 years ago
Eugen Rochko 6e3936aa6f
Improve invites list with click-to-copy inputs (#10259) 6 years ago
Jennifer Kruse ef12a2b74c Able to deactivate invites if they aren't expired (#7163) 7 years ago
Yamagishi Kazutoshi df03042a6e Allow admin to deactivate invite created by users (#5860) 7 years ago
Yamagishi Kazutoshi 15fab79cfa Show "expired" in invite index (#5838)
* Show "expired" in invite index

* "Force expire" -> "Deactivate"
7 years ago
Eugen Rochko 740f8a95a9
Add consumable invites (#5814)
* Add consumable invites

* Add UI for generating invite codes

* Add tests

* Display max uses and expiration in invites table, delete invite

* Remove unused column and redundant validator

- Default follows not used, probably bad idea
- InviteCodeValidator is redundant because RegistrationsController
  checks invite code validity

* Add admin setting to disable invites

* Add admin UI for invites, configurable role for invite creation

- Admin UI that lists everyone's invites, always available
- Admin setting min_invite_role to control who can invite people
- Non-admin invite UI only visible if users are allowed to

* Do not remove invites from database, expire them instantly
7 years ago