If someone who is mananger but not owner transfer a project to him/herself,
then he/she should be manager. But he/she become a just member, even though
he/she is already owner. This commit will fix it.
Change the regular expression to prevent wrong date string like 2015-05-2222.
Even if, the changed regular expression can prevent it, but it is still possible to send wrong date sting like 2015-05-99.
So, I've added server-side validation for the case of someone send form data without browser.
Last but not least, in case there are form errors checked by server-side, show the form data that the user sent.
from pull-request 1619
* fix/reset-password-missing-error:
PasswordReset: Show error if url to reset is wrong
Fix error pages that don't work for anonymous
Reviewed-by: 백기선
from pull-request 1617
* issue/project-menu-badge-for-ie:
ProjectMenu: Fix broken style for number bedge on project menu with IE
Reviewed-by: 채수원
Reviewed-by: 이응준
"A group have to have at least one admin" error occured when update
a group member's role to "member" if the user who updates was the last
group admin.
The error should occur if the updated user, not the user who updates,
was the last admin.
In the email to reset user's password, the url to reset password was
incorrect as follows:
1. The port number in its authority part was missed.
2. The scheme was fixed to http.
When a user tried to reset password, yobi responded 200 OK even if the
url to reset password was wrong. It made users to think the password was
changed successfully but actaully it was not.
Respond 400 Bad Request with an error page.
Error pages wasn't shown correctly for anonymous. The error pages used
a template in app/views/siteLayout.scala.html which ignored the given
content and rendered always the intro page if the current user is
anonymous.
Decide whether to show the intro page or not in index.scala.html not
siteLayout.scala.html.