buildwall/Buildwall.com — pull request #6 by athieriot (2011-11-18 22:01:48+00:00)
Title: Sending a mail at the user creation with activation link

Hi,

To bad for baby steps :)
This pull request canceled the previous one that contains only sending email stuff.

So, the email now has users informations, details, a link to the buildwall configuration page and a activation link with confirmation token in it.

There is one selenium test and several Unit test to valid the core rules.
You have to set a valid mail server account for production in application.conf.

The activation workflow will maybe not suited to you be the system is in place and can be easily adapt.
In fact, for now, once a new user has created his account, he will not be auto-connected. He will not be able to connect yet.
A message prevent him to activate his email with a link in his inbox.

But when he'll follow the link, if the token is ok, auto-connection will occurred.
(On the other side, if the token is false, there is just a redirection to welcome page).
And, indeed, he will be activated permanently :)

The last commit provide an SQL script to update the database schema.

Do what you want with that, don't hesitate to ask for more specific things and feel free to break/optimize my code.
I hope that'll help !

Thanks