Commit Graph

6 Commits

Author SHA1 Message Date
Matt Baer 3d30a09695 Fix IsValidUsername check when PagesParentDir isn't current dir
Previously, this check would only work if there was a pages/ dir in the
current working directory. Now it respects the pages_parent_dir
configuration setting.
2019-03-06 10:44:32 -05:00
Matt Baer 70e823d6ab Support user invites
This includes:

- A new `user_invites` config value that determines who can generate
  invite links
- A new page for generating invite links, with new user navigation link
- A new /invite/ path that allows anyone to sign up via unique invite
  link, even if registrations are closed
- Tracking who (of registered users) has been invited by whom

It requires an updated database with `writefreely --migrate` in order to
work.

This closes T556
2019-01-18 00:05:50 -05:00
Matt Baer 3ae45bc156 Fix spacing around copyright notices 2018-12-31 01:05:26 -05:00
Matt Baer 1274914207 Add copyright / license notices to .go files 2018-12-24 12:45:15 -05:00
Matt Baer 8beccaf6c2 Reserve "community" username 2018-12-10 16:18:09 -05:00
Matt Baer bab5e42299 Add author package 2018-10-16 23:27:04 -04:00