You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/controllers/admin
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
..
account_moderation_notes_controller.rb Add logging of admin actions (#5757) 7 years ago
accounts_controller.rb Add logging of admin actions (#5757) 7 years ago
action_logs_controller.rb Add logging of admin actions (#5757) 7 years ago
base_controller.rb Add logging of admin actions (#5757) 7 years ago
confirmations_controller.rb Add logging of admin actions (#5757) 7 years ago
custom_emojis_controller.rb Add logging of admin actions (#5757) 7 years ago
domain_blocks_controller.rb Add logging of admin actions (#5757) 7 years ago
email_domain_blocks_controller.rb Add logging of admin actions (#5757) 7 years ago
instances_controller.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
invites_controller.rb Add consumable invites (#5814) 7 years ago
reported_statuses_controller.rb Add logging of admin actions (#5757) 7 years ago
reports_controller.rb Add logging of admin actions (#5757) 7 years ago
resets_controller.rb Add logging of admin actions (#5757) 7 years ago
roles_controller.rb Add logging of admin actions (#5757) 7 years ago
settings_controller.rb Add consumable invites (#5814) 7 years ago
silences_controller.rb Add logging of admin actions (#5757) 7 years ago
statuses_controller.rb Add logging of admin actions (#5757) 7 years ago
subscriptions_controller.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
suspensions_controller.rb Add logging of admin actions (#5757) 7 years ago
two_factor_authentications_controller.rb Add logging of admin actions (#5757) 7 years ago