We should have a user interface for bulk inviting users to Discourse, since it comes up so often.
Probably the best place to trigger this is from the user page, which already has an Invites area:
- Add a button, “Batch Invite from File”
- File should have format explained on the page
- Format should probably be CSV, one line per user, in the format
username, Very Long Name, firstname.lastname@example.org(should we support group here @sam)
- Uploading the file triggers sending invites to everyone in the file, and adding them to the invite directory on that page, same as if you had clicked the “Send an Invite” button 100, 200, 500 times and done it manually.
I am not sure if the invites support pre-staging the username (short+unique) and name (long+not-unique), but we should support it for the file upload case.