This repository was archived by the owner on Apr 23, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 58
Upgrade branch 2.7.x using TemplateControl #82
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
afc8bf2
Updated with template-control on 2018-11-16T14:25:15.823Z
octonato 875afad
Partial commit. blocked until #8827 is released in 2.7.0-RC8
ignasi35 a1ed585
Bump to RC8 and fix compilation errors.
ignasi35 922644f
Some more deprecation fixes.
ignasi35 8895d93
Avoid polluting the working folder.
ignasi35 1293504
Update travis to last generation (see other sample apps)
ignasi35 7a17822
Adds scripts/ for the new travis jobs defintions. Disables gradle job
ignasi35 1fe8ce4
Simplify imports
ignasi35 4fddd10
Update app/controllers/HomeController.java
gslowikowski de19bce
Removing Gradle from Travis configuration
marcospereira 0c35ad6
Revert slack notification key setting
marcospereira 94a91f7
Remove reference to script-helper
marcospereira ab22bc1
Remove script-helper since it is not necessary
marcospereira 368b65a
Idiomatic use of flash in views
marcospereira 966ab55
Add -Werror
marcospereira 9092f57
Using the request to access flash
marcospereira 153c577
Fix compile problem
marcospereira 92d0ebc
Update list.scala.html
marcospereira File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,34 @@ | ||
| dist: trusty | ||
| sudo: true | ||
| group: beta | ||
| language: scala | ||
| scala: | ||
| - 2.11.11 | ||
| - 2.12.3 | ||
| - 2.12.7 | ||
| jdk: | ||
| - oraclejdk8 | ||
| - oraclejdk8 | ||
| - openjdk11 | ||
| env: | ||
| matrix: | ||
| - SCRIPT=scripts/test-sbt | ||
| script: | ||
| - $SCRIPT | ||
| cache: | ||
| directories: | ||
| - "$HOME/.ivy2/cache" | ||
| - "$HOME/.sbt/launchers" | ||
| - "$HOME/.ivy2/cache" | ||
| before_cache: | ||
| - rm -rf $HOME/.ivy2/cache/com.typesafe.play/* | ||
| - rm -rf $HOME/.ivy2/cache/scala_*/sbt_*/com.typesafe.play/* | ||
| - find $HOME/.ivy2/cache -name "ivydata-*.properties" -print0 | xargs -n10 -0 rm | ||
| - rm -rf $HOME/.ivy2/cache/com.typesafe.play/* | ||
| - rm -rf $HOME/.ivy2/cache/scala_*/sbt_*/com.typesafe.play/* | ||
| - find $HOME/.ivy2/cache -name "ivydata-*.properties" -print0 | xargs -n10 -0 rm | ||
|
|
||
| # Exclude some combinations from build matrix. See: | ||
| # https://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix | ||
| matrix: | ||
| fast_finish: true | ||
| allow_failures: | ||
| # Java 11 is still not fully supported. It is good that we are already | ||
| # testing our sample applications to better discover possible problems | ||
| # but we can allow failures here too. | ||
| - jdk: openjdk11 | ||
|
|
||
| # See https://blog.travis-ci.com/2014-03-13-slack-notifications/ | ||
| # created with travis encrypt command line tool | ||
| notifications: | ||
| slack: | ||
| secure: K6HWTI6zJpQfxS7sH5ZQ1jEK5TkkUl5GtcGinNecHMBqvfS4IXAnU23lz/kLqCqMVPIFaRx1g6UwgJgMvR4XWeIhpzLOzAnOOcmv+kQzv7A8vEJBM20z1HNzDcxzvuNNO2BHn8EjXh5VD65vXMcA+lKzUxASey/Rs+CBReQWE7M= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,4 @@ | ||
| resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" | ||
|
|
||
| // The Play plugin | ||
| addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.20") | ||
| addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.0-RC8") | ||
|
|
||
| addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "4.1.0") | ||
| addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "5.0.0-RC2") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| echo "+----------------------------+" | ||
| echo "| Executing tests using sbt |" | ||
| echo "+----------------------------+" | ||
| sbt ++$TRAVIS_SCALA_VERSION test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is an
implicit Http.Requestthen you can use@flash("key")(also returns aOptional).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I need to review a few other samples.