If site setting 'signup.require.confirm = true' is used,
show restricted condition message and site admin email for contact
And also, admin email is obfuscated
* Upgrade sbt from 0.13.0 to 0.13.5.
* Upgrade jsmessages from 1.6.1 to 1.6.2.
* Downgrade play-2-mail from 1.0.0 to 0.9.1.
* Split project/Build.scala into build.sbt and
project/BuildConfig.scala.
* Introduce sbt-less.
* Introduce sbt-twirl, the new template engine for PlayFramework, and
fix compile errors caused by it.
* Import scala.collection.JavaConversions._ for conversion between
Java and Scala collections.
* Import java.lang_ and java.util._ to use java types.
* Use implicitJavaLang imported from play.core.j.PlayMagicForJava._
instead of lang.
* Use requestHeader imported from play.core.j.PlayMagicForJava._
instead of request.
* Specify play.data.Form in full qualified name to avoid conflict
with play.api.data.Form.
* Fix the other template errors.
* Etc
* Use Result instead of deprecated SimpleResult.
* Use java.nio.file.NotDirectoryException instead of
scalax.file.NotDirectoryException.
* Update README to say use "acvitator" command instead of "play".
* Add methods to PlayServlet to support Servlet 3.1
IMPORTANT NOTE: You should modify the version of h2database on which
Play depends from 1.3.175 to 1.3.176 in
~/.ivy2/cache/com.typesafe.play/play-jdbc_2.10/ivy-2.3.6.xml as follows:
to avoid org.h2.jdbc.JdbcSQLException because of the bug that h2database
1.3.175 cannot create or alter sequence.
You can set your site's name by editing application.siteName in
conf/application.conf. The name is used in the title bar of your web
browser, the main page, the welcome page, the login page and many
others.
Change pattern for valid login id from /^[a-zA-Z0-9_]*$/ to
/^[a-zA-Z0-9-]+([_.][a-zA-Z0-9-]*)*$/.
This allows these characters:
* hypen
* underscore and dot, but not for the first or the last character.
And this also removed some lines of code using play-jsmessages, the i18n
module for client side.
- change some placeholder messages to i18n
- fix misspelled word including 'destory' -> 'destroy'
- add scripts which make always id lowercase and prevent not to contain any spaces