Commit Graph

10 Commits (faafc3ae25378121148356b60d1bef6f57013069)

Author SHA1 Message Date
Eugen Rochko ff565524aa
Fix maxed-out invites not showing up as expired in UI ()
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 ca85658975
Add autofollow option to invites ()
* Add autofollow option to invites

* Trigger CodeClimate rebuild
Jennifer Kruse ef12a2b74c Able to deactivate invites if they aren't expired ()
Jeroen 580835ab69 Invites: Add '1 week' as expire option ()
* Invites: Add '1 week' as expire option

IMO a max. of 1 day is too short. Not everyone has the time and motivation to use an invite in a 24 hour period. 1 week as a max. is I think a good compromise between convenience and security.

* Invites: Add '1 week' as expire option

IMO a max. of 1 day is too short. Not everyone has the time and motivation to use an invite in a 24 hour period. 1 week as a max. is I think a good compromise between convenience and security.

* Update en.yml
Yamagishi Kazutoshi eee3b32b77 Fix invites form path ()
Yamagishi Kazutoshi df03042a6e Allow admin to deactivate invite created by users ()
Yamagishi Kazutoshi 15fab79cfa Show "expired" in invite index ()
* Show "expired" in invite index

* "Force expire" -> "Deactivate"
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