Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-27 | Add consumable invites (#5814) | Eugen Rochko | |
* 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-11 | Add moderator role and add pundit policies for admin actions (#5635) | Eugen Rochko | |
* Add moderator role and add pundit policies for admin actions * Add rake task for turning user into mod and revoking it again * Fix handling of unauthorized exception * Deliver new report e-mails to staff, not just admins * Add promote/demote to admin UI, hide some actions conditionally * Fix unused i18n | |||
2017-05-30 | Add status destroy authorization to policy (#3453) | Jack Jennings | |
* Add status destroy authorization to policy * Create explicit unreblog status authorization | |||
2017-05-30 | Move status reblog authorization into policy (#3425) | Jack Jennings | |
2017-05-29 | Extract authorization policy for viewing statuses (#3150) | Jack Jennings | |