chinwagsocial/app
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
2017-11-27 16:07:59 +01:00
..
controllers Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
helpers Add logging of admin actions (#5757) 2017-11-24 02:05:53 +01:00
javascript Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
lib Profile redirect notes (#5746) 2017-11-18 19:39:02 +01:00
mailers Add ability to disable login and mark accounts as memorial (#5615) 2017-11-07 19:06:44 +01:00
models Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
policies Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
presenters Compact status_ids in StatusRelationshipsPresenter (#5073) 2017-09-24 11:18:32 +02:00
serializers Display list column (#5750) 2017-11-25 00:35:37 +01:00
services Fixed duplicating URL of photo type of oEmbed (#5763) 2017-11-20 20:45:54 +01:00
validators Implement EmailBlackList (#5109) 2017-10-04 15:16:10 +02:00
views Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00