Commit Graph

14 Commits (c0264c8013615cb725f9fd2d69bea60ea4a13324)

Author SHA1 Message Date
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs (#32450) 3 months ago
Claire 4c0e44ebbe
Fix recently-broken admin interface buttons (#32240) 3 months ago
Matt Jankowski 7d6b9ccd34
Add `copyable_input` helper method to wrap shared options (#32119) 3 months ago
Matt Jankowski cf859d151b
More link/button conversion across views (#32199) 3 months ago
Matt Jankowski 71405eabfc
Use material symbols in table link helper (#31359) 5 months ago
Matt Jankowski 32ead51e5a
Add material design icons to admin/settings views (#27780)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
9 months ago
Matt Jankowski e6b903b21e
Fix haml-lint `InstanceVariables` rule for invites/_form (#26064) 1 year 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
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
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