Commit Graph

7 Commits (efcd4ea5de2a617069be546852f504195de0336d)

Author SHA1 Message Date
Claire 4c0e44ebbe
Fix recently-broken admin interface buttons (#32240) 3 months ago
Matt Jankowski cf859d151b
More link/button conversion across views (#32199) 3 months ago
Matt Jankowski e6b903b21e
Fix haml-lint `InstanceVariables` rule for invites/_form (#26064) 1 year ago
Eugen Rochko 6e3936aa6f
Improve invites list with click-to-copy inputs (#10259) 6 years ago
Eugen Rochko 9dd5639f90
Add admin function to deactivate all invites (#8279)
Fix #8261
6 years ago
Yamagishi Kazutoshi 74320971e2 Add invite filter (#5862) 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