Commit Graph

12 Commits (7695d8c52332815d8a1fce3d63c5c9843b569d9e)

Author SHA1 Message Date
Matt Jankowski 7d6b9ccd34
Add `copyable_input` helper method to wrap shared options (#32119) 3 months ago
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 4 months ago
Matt Jankowski fa2e7b1708
Migrate fontawesome->material in more views (#31360) 4 months ago
Matt Jankowski 71405eabfc
Use material symbols in table link helper (#31359) 4 months ago
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