This PR is the initial implementation of verification and user information functionality. This adds several new fields to the User schema to support this and future functionality, and an Admin utility for verifying users. It addresses part of #210.
Details
Added one parser - Parsers/Admin tool - Verify.js. This toggles verification, and sets the user-visible message.
Updated one parser - Parsers/Admin tool - Whois.js. This includes the new verification information and a future admin-only note, when set.
Added four fields:
Name updated: Support updating names for when the user-facing parser is added
Admin information: Support storing admin-only info, for use with a future parser
User information: Support storing user-facing messages, gets set here and will be used in user-facing parser.
Verified: Support storing verification status, gets set here and will be used in user-facing parser.
Note
There is functionality in this PR to bridge the space between parser approval and schema update for SNDevs. Once this is live in the instance I'll unpick it in the second PR
Summary
This PR is the initial implementation of verification and user information functionality. This adds several new fields to the User schema to support this and future functionality, and an Admin utility for verifying users. It addresses part of #210.
Details
Added one parser -
Parsers/Admin tool - Verify.js
. This toggles verification, and sets the user-visible message. Updated one parser -Parsers/Admin tool - Whois.js
. This includes the new verification information and a future admin-only note, when set. Added four fields:Name updated
: Support updating names for when the user-facing parser is addedAdmin information
: Support storing admin-only info, for use with a future parserUser information
: Support storing user-facing messages, gets set here and will be used in user-facing parser.Verified
: Support storing verification status, gets set here and will be used in user-facing parser.Note
There is functionality in this PR to bridge the space between parser approval and schema update for SNDevs. Once this is live in the instance I'll unpick it in the second PR