Commit Graph

6 Commits (b152f936c1361cc82e21c853335557c3ffa80409)

Author SHA1 Message Date
Matt Jankowski e6b903b21e
Fix haml-lint `InstanceVariables` rule for invites/_form ()
Eugen Rochko 740c9cb3ee
Remove invite comments from UI ()
Due to UX confusion and insufficient time to fix it
ThibG cb62a83a71 Add invite comments ()
Eugen Rochko 6e3936aa6f
Improve invites list with click-to-copy inputs ()
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" ()
* Verify link ownership with rel="me"

* Add explanation about verification to UI

* Perform link verifications

* Add click-to-copy widget for verification HTML

* Redesign edit profile page

* Redesign forms

* Improve responsive design of settings pages

* Restore landing page sign-up form

* Fix typo

* Support <link> tags, add spec

* Fix links not being verified on first discovery and passive updates
Eugen Rochko 740f8a95a9
Add consumable invites ()
* 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