Begin the implementation of the code verification process using modal
dialog in the website. It's not working yet.
Scaffolding code for the ask dialog.
Implement the code verification popup for mobile phones. We had to
refactor some code.
Adapted test to the new safe_context_route_url filter.
The new verification code will be generated on mobile phone creation.
Cosmetic changes.
We ensure that one object will have only one verification code to
validate.
Included the [site.name] prefix in all the SMS messages.
Refactored the verification process to include the user in the db
because we cannot rely on the session. Also simplified the code.
Added a optional entropy parameter in get_short_hash() function.
We ensure that the context user in a verification link is the user who
created the verification link. This is done to update the correct user
data when verifying codes.
The previous commit was broken. This is a fix for the previous commit
to ensure that the context user in a verification link is the
user who created the verification link
Raised a 404 when code does not exists in db.
Not adding the verifications links in the admin workmode. Only will be
usable in personal one.
Better mongodb API use, using find_one() instead of find()[0].
Changed the URL sent in the email when user is in admin workmode.
Changed also the safe_route_url function to take workmode into account
and change the base URL.
Better parameter name.
Merge branch 'master' into code_verification_popup

Conflicts:
	eduiddashboard/testing.py
Fixed NIN tests.
Merge branch 'master' into code_verification_popup