Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
363 commits
Select commit Hold shift + click to select a range
84e94a2
* [#2039] chore(lib): Update snakeyaml from 1.15 to 1.17
xael-fry Mar 2, 2016
b563475
* [#2039] chore(lib): Update spymemcached from 2.11.7 to 2.12
xael-fry Mar 2, 2016
a0dae09
* [#2039] chore(lib): Update xstream from 1.4.7 to 1.4.8
xael-fry Mar 2, 2016
bbb3f10
Merge pull request #962 from xael-fry/2039_updateLib2
xael-fry Mar 7, 2016
63a07fd
* documentation(release): add release note for 1.4.2 and 1.3.4
xael-fry Mar 8, 2016
a0a2f99
Added catch exception in handleBefores
ramanqul Mar 10, 2016
07162e8
never ever swallow exceptions!
asolntsev Mar 13, 2016
d493380
do not modify global list, collect FastTags subclasses to a local list
asolntsev Mar 13, 2016
0504c06
make ApplicationClassloader methods and fields less visible;
asolntsev Mar 13, 2016
b1f7533
fix invalid usages of Play.classloader.getAssignableClasses(): it ret…
asolntsev Mar 22, 2016
5e10836
support empty values in validation error arguments
Apr 1, 2016
986e8d0
Merge pull request #966 from codeborne/fix-fast-tags-assignable-classes
xael-fry Apr 13, 2016
68434b5
make play.inject.Injector work with unmodifiable class lists, which P…
angryziber Apr 13, 2016
e0e6af6
Merge pull request #970 from codeborne/1.4.x
xael-fry Apr 14, 2016
6b5a5a4
* [#2042] chore(deps): upgrade Play! dependencies:
xael-fry Mar 22, 2016
cfa868a
Merge pull request #971 from xael-fry/2042_upgradeDeps
xael-fry May 3, 2016
002784c
Merge pull request #967 from codeborne/support-empty-variables-in-val…
xael-fry May 3, 2016
50eb4a9
upgrade to cglib 3.2.2
asolntsev May 3, 2016
228b5ca
* chore(dependencies): use correct version in dependencies
xael-fry May 13, 2016
8cb81bd
Merge pull request #972 from codeborne/upgrade-cglib-322
xael-fry May 13, 2016
9756d38
* [#2049] fix(evolutions): Some resultsets are not close in Evolution…
xael-fry May 24, 2016
486508a
Merge pull request #973 from xael-fry/2049_resultSetClose
xael-fry May 24, 2016
da28a26
[#2051] do not allow direct execution of @Util and @Catch methods
May 27, 2016
14c9fb8
* [#2050] chore(lib): update netty from 3.10.4 to 3.10.5
xael-fry May 30, 2016
5e034b2
* [#2050] chore(lib): update async-http-client from 1.9.31 to 1.9.38
xael-fry May 31, 2016
712ddbb
[#2052] make session put with Object work the same way as with String
May 31, 2016
d9dc5d7
* [#2050] chore(lib): update common-io from 2.4 to 2.5
xael-fry Jun 1, 2016
2dfc0c8
* [#2050] chore(lib): update slf4j-api from 1.7.18 to 1.7.21
xael-fry Jun 1, 2016
3c35a76
Merge pull request #975 from xael-fry/2050_updateNettyAsyncHttp
xael-fry Jun 2, 2016
9d73e9a
[#2051] refactor(ActionInvoker): remove isActionMethod as test is alr…
xael-fry Jun 6, 2016
3db9e94
Merge branch 'pr/977' into 1.4.x
xael-fry Jun 6, 2016
7822fab
[#2055] and [#2056] dependencies upgrade: joda-time (2.9.2 -> 2.9.4) …
dejan2609 Jun 10, 2016
f6739eb
Merge pull request #979 from dejan2609/deps-upgrade
xael-fry Jun 13, 2016
e619804
fix KeyError: 'disable_random_jpda' in application.check_jpda
asolntsev Jun 13, 2016
ec6d0e0
Merge pull request #980 from codeborne/fix-key-error-in-tests
asolntsev Jun 13, 2016
9e83349
Merge pull request #976 from codeborne/fix-session-put
asolntsev Jun 13, 2016
d872b16
Libs: remove dependency on commons-collections
Feb 9, 2016
e0caa73
Merge remote-tracking branch 'origin/1.4.x' into 1.4.x
asolntsev Jun 13, 2016
3568812
code cleanup: remove unneeded operators and useless comments (that ju…
asolntsev Jun 15, 2016
9ac15f7
fix spelling error: "occured" -> "occurred"
asolntsev Jun 15, 2016
17424d5
code cleanup: remove unneeded constructors
asolntsev Jun 15, 2016
76fb750
fix usage of String.format(); add tests
asolntsev Jun 15, 2016
bf8dd42
fix UnexpectedException.getErrorDescription(): write error message in…
asolntsev Jun 15, 2016
36292ce
* [#2059] documentation: Rework release note in separate folders
xael-fry Jun 21, 2016
150f3e9
#982 `play build-module` should exit with error code if build failed
asolntsev Jun 26, 2016
7db6917
ignore classes compiled by IDEA
asolntsev Jun 26, 2016
8e9f114
#982 fix formatting of python script
asolntsev Jun 26, 2016
ec33bf1
fix flaky test: it should depend on order of map elements
asolntsev Jun 27, 2016
e0c366c
ignore lib and modules
asolntsev Jun 27, 2016
2814930
#984 remove useless comments and unused method
asolntsev Jun 27, 2016
c46976e
#984 log every case when Play is going to restart
asolntsev Jun 27, 2016
7883e56
Merge pull request #981 from xael-fry/2059_releaseNoteRework
xael-fry Jun 30, 2016
63cc169
upgrade Apache Ant 1.9.6 -> 1.9.7
asolntsev Jul 1, 2016
fcf1a24
#2032 Binders do not swallow exceptions anymore
asolntsev Jul 2, 2016
bc4a2f6
#2032 Simplify some Binders to throws ParseException without unneeded…
asolntsev Jul 2, 2016
3b40c51
Merge pull request #987 from codeborne/dont-swallow-exceptions-in-binder
asolntsev Jul 2, 2016
448aa33
#2032 revert API breaking change
asolntsev Jul 4, 2016
391a493
#2032 revert API breaking change
asolntsev Jul 4, 2016
cb59f69
#2032 revert API breaking change
asolntsev Jul 4, 2016
83df1c0
* [#986] chore(lib): update selenium from 2.42 to 2.53.1
xael-fry Jul 6, 2016
a518ea8
#991 can now bind class with private constructor
asolntsev Jul 12, 2016
e8c81fd
#991 code cleanup: remove unnecessary public modifiers
asolntsev Jul 12, 2016
20b7c31
#991 code cleanup: remove unnecessary methods hashCode() and toString…
asolntsev Jul 12, 2016
06ae3c9
#992 compile Play itself with Java 7 (not Java 6)
asolntsev Jul 12, 2016
e567d63
#992 collapse identical catch blocks
asolntsev Jul 12, 2016
78a8a89
fix spelling error: "instanciate" -> "instantiate"
asolntsev Jul 12, 2016
765dec2
#993 re-throw the original exception (or at least log it) when possible
asolntsev Jul 12, 2016
cf00d16
#993 simplify test, make it independent from working directory
asolntsev Jul 12, 2016
621eecd
#993 simplify test, make it independent from working directory - fix …
asolntsev Jul 12, 2016
ea17c34
#992 use Java7 feature: diamond operator
asolntsev Jul 12, 2016
e972488
fix spelling errors in the code
asolntsev Jul 13, 2016
6a00ab1
#993 log this annoying error as "debug"
asolntsev Jul 13, 2016
b3a9dc8
code cleanup: use generics
asolntsev Jul 15, 2016
274bbf0
ignore test libs
asolntsev Jul 19, 2016
fda03da
fix formatting; remove unused imports
asolntsev Jul 19, 2016
3530c69
restore few old methods for backward compatibility
asolntsev Jul 19, 2016
5f66580
remove useless javadoc
asolntsev Jul 28, 2016
f00d86d
make all ThreadLocals final
asolntsev Jul 29, 2016
c8cd954
wrap original exception to the TagnternalException
asolntsev Jul 31, 2016
36849a5
exit the loop immediately once the method is found (a minor optimizat…
asolntsev Jul 31, 2016
be49aba
[#1526] NPE in Controller.await when calling from FunctionalTests
pepite May 16, 2012
b176ab1
fix code formatting
asolntsev Jul 31, 2016
7e72448
upgrade h2 to 1.4.192
asolntsev Aug 8, 2016
ad4ae54
clean up missing or lying javadocs
asolntsev Aug 8, 2016
1e2a514
fix typo: Comptability -> Compatibility
asolntsev Aug 8, 2016
3621183
fix some IDEA warnings
asolntsev Aug 8, 2016
814decf
* [#986] module(testRunner): update code according to change of htmlUnit
xael-fry Jul 6, 2016
f6f6105
Merge pull request #989 from xael-fry/986_selenuimUpdate
xael-fry Aug 10, 2016
407eb95
* [#996] fix(flash): flash method should handle the value as a key me…
xael-fry Aug 12, 2016
6894e97
Merge pull request #997 from xael-fry/2053_flashValueAsKeyMessage
xael-fry Aug 15, 2016
39492ba
* documentation(1.4.3): add release note for 1.4.3
xael-fry Aug 19, 2016
2a2d7a2
new feature: form tag can take url instead of action definition as ar…
erikjogi Sep 15, 2016
5c621d9
make test java 1.7 compatible
erikjogi Sep 16, 2016
afef16a
Merge pull request #1004 from codeborne/form-tag-url-support-pr
asolntsev Sep 16, 2016
4867da0
* [#1005] feat(fixture): add id/type in log when loading a fixture fi…
xael-fry Oct 4, 2016
daf9e44
Calculate template rendering time, so it can be logged/profiled separ…
angryziber Oct 4, 2016
468ba3f
Merge pull request #1007 from codeborne/template-profiling
asolntsev Oct 4, 2016
f2bb5a4
Merge pull request #1006 from xael-fry/1005_fixtureException
xael-fry Oct 6, 2016
75471a9
* [#1009] fix(templates): o not log error and exception when compilin…
xael-fry Oct 14, 2016
26c4474
#1011 upgrade to cglib 3.2.4
asolntsev Oct 15, 2016
5cda676
#995 use hamcrest-all 1.3 instead of hamcrest-core 1.3
asolntsev Oct 15, 2016
d6fbc2d
Merge pull request #1010 from xael-fry/1009_startTagExceptionLog
asolntsev Oct 16, 2016
6b00827
make these tests abstract
asolntsev Oct 16, 2016
c5938fd
fix h2.jar binary
asolntsev Oct 19, 2016
d94a56c
[#1014] chore(trvais): fix buffer overflow exception
xael-fry Oct 19, 2016
2c995e0
[#1008] fix(ConfigurationChangeWatcherPlugin): initialized configLast…
xael-fry Oct 19, 2016
d396810
2066-fix-open-file-on-500-error-pages-for-modules
Oct 19, 2016
8bfee9e
Merge pull request #1013 from xael-fry/1008_detectChange
xael-fry Oct 21, 2016
23cb965
* [#998] fix(router): allow to have space when defining static args i…
xael-fry Oct 21, 2016
08bb01d
Merge pull request #1018 from xael-fry/998_assignStaticArgs
xael-fry Oct 24, 2016
693a89a
[#2068] dependency upgrade: joda-time (2.9.4 -->> 2.9.5)
dejan2609 Nov 3, 2016
9aced40
Merge pull request #1021 from dejan2609/joda-time-upgrade
asolntsev Nov 3, 2016
f880cfd
avoid NPE in regex matcher
Nov 5, 2016
d74ff50
Default application.path to working directory
angryziber Nov 13, 2016
7910fca
Merge pull request #1024 from codeborne/default-app-path
asolntsev Nov 13, 2016
94f542d
Detect changed for JNDI datasource which using jndi: prefix
phongphan Nov 13, 2016
29ea622
Merge pull request #1025 from phongphan/detect-change-jndi-glassfish
asolntsev Nov 13, 2016
7f9c01f
Add documentation for jndi: prefix support
phongphan Nov 14, 2016
78b0eb0
Merge pull request #1026 from phongphan/jndi-prefix-doc-config
asolntsev Nov 14, 2016
cac056a
[#2070] dependency upgrade: joda-time (2.9.5 -->> 2.9.6)
dejan2609 Nov 16, 2016
9bfccf5
add possibility to disable generating getters/setters
asolntsev Nov 27, 2016
a3ee105
split code to smaller (better readable) methods
asolntsev Nov 27, 2016
81f1703
use better error message
asolntsev Nov 28, 2016
26a9499
Merge pull request #1033 from codeborne/disable-generating-accessors
asolntsev Nov 28, 2016
c76e0b7
Merge pull request #1030 from dejan2609/1.4.x
asolntsev Nov 28, 2016
2a28f82
Merge pull request #963 from braman/1.4.x
asolntsev Nov 28, 2016
d81b2ba
PR #963: fix formatting
asolntsev Nov 28, 2016
04d9a17
simplify code
asolntsev Nov 28, 2016
107bf66
PR #963: extract duplicate code to a reusable method
asolntsev Nov 28, 2016
e48c370
ticket #2072: create c3p0 data source with "library" classloader, not…
asolntsev Nov 28, 2016
3773de5
Merge pull request #1035 from codeborne/fix-memory-leak-in-dbplugin
asolntsev Nov 28, 2016
8eb7a78
ticket #2072: set system classloader to shutdown hook
asolntsev Nov 28, 2016
cf621b5
Merge pull request #1036 from codeborne/set-classloader-for-shutdown-…
asolntsev Nov 28, 2016
41e5742
ticket #2072: reset context classloader from all invoker threads befo…
asolntsev Nov 28, 2016
57236fa
Merge pull request #1037 from codeborne/reset-invoker-threads-classlo…
asolntsev Nov 28, 2016
1dab0c2
PR #1033: add doumentation for the new parameter "play.propertiesEnha…
asolntsev Nov 29, 2016
c77e062
Merge remote-tracking branch 'origin/1.4.x' into 1.4.x
asolntsev Nov 29, 2016
aa4ae44
[#2071] precompile additional templates
flybyray Dec 14, 2016
b021c3c
[#2071] precompile additional templates
flybyray Dec 16, 2016
8c6b540
#1056 fix code formatting
asolntsev Dec 26, 2016
8c942da
#1056 add getters to all Result subclasses
asolntsev Dec 26, 2016
a73b598
#1056 refactor class RenderBinary
asolntsev Dec 26, 2016
598ab54
Merge pull request #1057 from codeborne/add-getters-to-results
asolntsev Dec 26, 2016
03e9748
#1058 Improve performance of RenderJson
asolntsev Dec 26, 2016
6e432b7
Merge pull request #1059 from codeborne/improve-render-json-performance
asolntsev Dec 26, 2016
827d71b
quick temporary fix to avoid passing of Results into @Catch methods i…
Dec 21, 2016
382b854
import play.cache.Cache
angryziber Dec 21, 2016
02a0031
catch+throw has no effect here
angryziber Dec 21, 2016
f38f5dc
pass unwrapped throwable to invokeControllerCatchMethods
angryziber Dec 21, 2016
9955ab1
handle InvocationTargetException in a centralized place
angryziber Dec 21, 2016
457fdd2
handleBefores() will now throw pure exceptions, not wrapped into Invo…
angryziber Dec 21, 2016
70476e9
no need to check for Result twice - only pure exceptions will be thro…
angryziber Dec 21, 2016
57fa210
handle the sequence of [@Before, action, @After] consistently, leavin…
angryziber Dec 21, 2016
9f7137f
handle JavaExecutionException in order to run @Catch methods
angryziber Dec 21, 2016
be54672
run @After even if the action has produced the result - this is how i…
angryziber Dec 21, 2016
51be051
Merge pull request #1062 from codeborne/do-not-catch-results-in-catch…
asolntsev Dec 26, 2016
2114a1e
replace duplicate code with Java.parameterNames()
angryziber Dec 17, 2016
70f6e19
drop unused helper methods from 2010
angryziber Dec 21, 2016
a339f2b
Merge pull request #1063 from codeborne/remove-duplicate-code
asolntsev Dec 26, 2016
0dd7a28
#1064 add default value for static fields to make it easier to write …
Dec 26, 2016
a1bbc0a
* [#1051] fix(DependenciesManager): display error when running depend…
xael-fry Dec 23, 2016
62b38cf
Merge pull request #1065 from codeborne/init-play-static-fields-early
xael-fry Dec 27, 2016
31333c4
[#1064] fix(messages): add some test on parameters to avoid Nullpoint…
xael-fry Dec 27, 2016
0fc8ad9
Merge pull request #1066 from xael-fry/1064_addTestToAvoidNullPointer…
xael-fry Dec 27, 2016
967228e
* [#1051] fix(dependencies): remove locale variable humanReadyLogger
xael-fry Dec 27, 2016
98dfd40
Merge pull request #1054 from xael-fry/1051_playDepsErrorDisplay
xael-fry Dec 27, 2016
058db03
simplify code: use one-liner instead of multiline if-else
asolntsev Dec 26, 2016
198848b
remove code duplication in constructor by using `this(...)`
asolntsev Dec 26, 2016
a49dbfa
remove unused imports
asolntsev Dec 26, 2016
a5e921d
replace deprecated method by newer one
asolntsev Dec 26, 2016
761d45b
fix code style: use spaces instead if tabs
asolntsev Dec 26, 2016
c158a22
Merge pull request #1068 from codeborne/cleanup-code
asolntsev Dec 27, 2016
be04556
Merge pull request #1042 from flybyray/lighthouse-2071-patch
asolntsev Dec 27, 2016
05bbbe9
reorder modifiers according to a "standard"
asolntsev Dec 27, 2016
7a5173b
ticket #2072: add method Binder.unregister()
asolntsev Dec 27, 2016
a50c079
add method RenderJson.getResponse()
asolntsev Dec 27, 2016
80ef635
Merge pull request #1072 from codeborne/add-method-to-get-original-js…
asolntsev Dec 27, 2016
69bef26
Merge pull request #1071 from codeborne/add-unregister-method-to-binder
xael-fry Dec 28, 2016
cffe3bf
Merge pull request #1069 from codeborne/reorder-modifiers
xael-fry Dec 28, 2016
49e575e
* [#1067] test(tag): add demo and test for used of #{set} and #{get}
xael-fry Dec 29, 2016
8b7c5dc
Merge pull request #1074 from xael-fry/1067_tagSetAndGet
asolntsev Dec 29, 2016
af50f0b
[#983] feat(DependenciesManager): sync option should be ON by default.
xael-fry Dec 30, 2016
ddd1502
[#2074] dependency upgrade: joda-time (2.9.6 -->> 2.9.7)
dejan2609 Jan 3, 2017
ccf9318
Merge pull request #1076 from xael-fry/983_depsSyncByDefault
asolntsev Jan 3, 2017
92a5f84
Merge pull request #1077 from dejan2609/1.4.x
xael-fry Jan 4, 2017
6536154
Avoid reflection and make the default list of enhancers overridable
angryziber Nov 23, 2016
8931c60
fix NullPointerException in Router.java (line 475)
asolntsev Jan 11, 2017
6419e91
corectly declare textile4j as a dependency instead of storing jar in git
asolntsev Jan 11, 2017
56e927e
ignore modules and lib
asolntsev Jan 11, 2017
512b7ac
[#2075] dozen of dependencies are upgraded
dejan2609 Jan 8, 2017
989c741
issue 1090: Remove method ApplicationClassloader.toString(), as it ca…
Jan 17, 2017
264a729
Merge pull request #1088 from codeborne/fix-performance-issue-in-clas…
xael-fry Jan 18, 2017
144f661
* [#1089] documentation(release): add documentation for 1.4.4
xael-fry Jan 20, 2017
2338f92
Merge pull request #1092 from xael-fry/1089_documentationFor1.4.4
xael-fry Jan 20, 2017
c252bb6
* [#1096] start play 1.5.x development with Java 8
xael-fry Feb 3, 2017
1f3deeb
* [#1906] chore(skel): update app model to used source/jdk 1.8
xael-fry Feb 6, 2017
7e60919
Merge pull request #1098 from xael-fry/1096_dropSupportJavaPrior1.8
xael-fry Feb 7, 2017
66ecf33
* [#1097] feat(compiler): Tell the compiler to generate parameter names
xael-fry Jan 7, 2017
c5f53ab
* [#1097] feat(LocalvariablesNamesEnhancer): remove generation of par…
angryziber Dec 17, 2016
81e92c7
Merge pull request #1099 from xael-fry/1097_java8Parameters
xael-fry Feb 7, 2017
496e9dc
Fixes #1095 add marker interface for play controllers
asolntsev Feb 8, 2017
27b1ae3
Fixes #1100 add support for non-static @Before and @After methods in …
asolntsev Feb 7, 2017
2dcb3ae
Merge pull request #1101 from codeborne/support-nonstatic-befores
asolntsev Feb 10, 2017
43ddf7b
Fixes #1103 do not include `docviewer` module by default
asolntsev Feb 10, 2017
aa3c307
Fixes #1105 invoke non-static method in child controller, not in pare…
Feb 13, 2017
3f739e8
Merge pull request #1106 from codeborne/support-controller-subclasses
asolntsev Feb 13, 2017
654ac80
Catch top-level exceptions and log them properly returning a non-zero…
angryziber Feb 13, 2017
14c2d07
Merge pull request #1104 from codeborne/exclude-docviewer
asolntsev Feb 13, 2017
35f5428
Merge pull request #1102 from codeborne/marker-interface-for-controller
asolntsev Feb 14, 2017
faf0972
Merge pull request #1107 from codeborne/global-catch
asolntsev Feb 14, 2017
65a7ba9
#1112 Allow to limit the size of whole request or the size of one upl…
erikjogi Feb 20, 2017
02f7bac
Merge pull request #1110 from codeborne/uploadSizeFix
asolntsev Feb 22, 2017
09ee7b6
Fixes #1111 fix documentation for WebSockets
asolntsev Mar 6, 2017
f94b56b
[#1115] documentation(code): fix warnings of the javadoc
xael-fry Mar 9, 2017
735471e
Merge pull request #1116 from codeborne/fix-websockets-documentation
xael-fry Mar 9, 2017
789f23e
Merge pull request #1119 from xael-fry/1115_fixJavadoc
xael-fry Mar 9, 2017
f628291
* [#2079] fix(Files): Change the method to compare if two file refers…
xael-fry Mar 9, 2017
a95a35f
Merge pull request #1120 from xael-fry/2079_fileComparaison
xael-fry Mar 28, 2017
5c9d1bc
Update DBPlugin.java
zhaoyin Apr 10, 2017
4baa6a3
add try catch for compiler
zhaoyin Apr 10, 2017
8ca105b
[#1126] chore(python): update from python v2.6.1 to v2.7.13
xael-fry May 2, 2017
9972c66
[#1126] fix(command): add default USER_AGENT to bypass cloudfare prot…
xael-fry May 3, 2017
58c870e
try to build play framework on "trusty" ubuntu
asolntsev May 8, 2017
90c6327
upgrade to groovy-all 2.4.11
asolntsev May 8, 2017
3b55540
Merge pull request #1129 from zhaoyin/master
asolntsev May 8, 2017
65bbcdc
fix formatting after PR #1129
asolntsev May 8, 2017
c85a963
make getPluginInstance() return the plugin of specific type
angryziber Feb 14, 2017
a1df483
Merge pull request #1135 from codeborne/upgrade-groovy-2.4.11
asolntsev May 10, 2017
6de0668
[#2089] dependencies upgrade:
dejan2609 Apr 12, 2017
0eacd06
Merge pull request #1131 from dejan2609/deps-upgrade
asolntsev May 10, 2017
7ca2c15
Merge pull request #1134 from xael-fry/1126_installModuleIssue
xael-fry May 11, 2017
d75bfbe
upgrade to eclipse compiler 3.12.3
asolntsev May 8, 2017
2e5de68
Merge pull request #1136 from codeborne/upgrade-eclipse-compiler
asolntsev May 11, 2017
91f5208
Merge pull request #1108 from codeborne/jobs-casting
asolntsev May 11, 2017
5fc5cf6
[#2121] Move _key() after reference/null checks in JPABase.equals()
May 16, 2017
65db0b1
[#2120] Add support for (special) hibernate properties
May 10, 2017
04115bd
Merge pull request #1139 from flybyray/lighthouse-2120-patch
asolntsev May 18, 2017
9ed6053
#1142 add parameter `--shortModuleNames` to `play deps` command
asolntsev May 17, 2017
0187399
Merge pull request #1143 from codeborne/shorten-module-names
asolntsev May 22, 2017
637e717
Merge pull request #1141 from davidcostanzo/lighthouse-2121-patch
asolntsev May 24, 2017
f7ea63b
remove useless if
asolntsev Mar 5, 2017
8d9c667
try to upgrade hibernate
asolntsev Dec 20, 2016
8f34ca5
safely print all found failures
asolntsev May 7, 2017
659f7de
fix typos in documentation
asolntsev May 8, 2017
b9e0176
fix line endings
asolntsev May 9, 2017
50f5b13
convert comment to method name
asolntsev May 22, 2017
1e80b6e
Merge pull request #1114 from codeborne/upgrade-hibernate
asolntsev May 24, 2017
1156192
finds classes in precompiled folder too
May 26, 2017
0c59058
Merge pull request #1152 from codeborne/fix-hibernate5-in-precompiled…
asolntsev May 26, 2017
df26f71
[#1896] fix play daemon stacktrace on [re]start-stop
flybyray May 30, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
out
bin
framework/classes
framework/test-classes
Expand Down Expand Up @@ -55,11 +56,16 @@ samples-and-tests/with-gwt/nbproject
samples-and-tests/jobboard/db
samples-and-tests/jobboard/tmp
samples-and-tests/jobboard/test-result
samples-and-tests/jobboard/modules
samples-and-tests/jobboard/lib
samples-and-tests/jobboard/attachments
samples-and-tests/just-test-cases/tmp
samples-and-tests/just-test-cases/test-result
samples-and-tests/just-test-cases/lib
samples-and-tests/just-test-cases/modules
samples-and-tests/chat/tmp
samples-and-tests/chat/logs
samples-and-tests/java8Support/lib/
.git
modules/spring/lib/play-spring.jar
modules/search/bin
Expand All @@ -78,6 +84,7 @@ support/textmate
samples-and-tests/yabe/logs
samples-and-tests/yabe/test-result
samples-and-tests/yabe/tmp
samples-and-tests/yabe/modules
*.ser
modules/cobertura/lib
modules/scala/lib/play-scala.jar
Expand Down
32 changes: 24 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
sudo: required
dist: trusty
language: java
jdk:
- openjdk6
- oraclejdk8
#before_install:
# - cat /etc/hosts # optionally check the content *before*
# - sudo hostname "$(hostname | cut -c1-63)"
# - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
# - sudo mv /tmp/hosts /etc/hosts
# - cat /etc/hosts # optionally check the content *after*
addons:
hosts:
- myshorthost
hostname: myshorthost

script: ant -buildfile ./framework/build.xml test
after_failure:
cat ./samples-and-tests/just-test-cases/test-result/*.failed.html
cat ./samples-and-tests/forum/test-result/*.failed.html
cat ./samples-and-tests/zencontact/test-result/*.failed.html
cat ./samples-and-tests/jobboard/test-result/*.failed.html
cat ./samples-and-tests/yabe/test-result/*.failed.html

after_failure:
find samples-and-tests -name '*.failed.html' -exec echo {} \; -exec cat {} \;

notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/6da3b55e59cded84b8bd
on_success: always
on_failure: always
email:
on_success: change
on_failure: always
on_failure: always
10 changes: 6 additions & 4 deletions README.textile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
h1. Welcome to Play framework !https://travis-ci.org/playframework/play1.svg?branch=1.3.x!:https://travis-ci.org/playframework/play1
h1. Welcome to Play framework

!https://travis-ci.org/playframework/play1.svg?branch=1.4.x!:https://travis-ci.org/playframework/play1 !https://badges.gitter.im/playframework/play1.svg(Join the chat at https://gitter.im/playframework/play1)!:https://gitter.im/playframework/play1?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

Play framework makes it easier to build Web applications with Java. It is a clean alternative to bloated Enterprise Java stacks. It focuses on developer productivity and targets RESTful architectures. Play is a perfect companion to agile software development.

Expand All @@ -8,11 +10,11 @@ h2. Getting started

1. Install the latest version of Play framework and unzip it anywhere you want:

bc. unzip play-1.3.0-RC1.zip -d /opt/play-1.3.0-RC1
bc. unzip play-*.zip -d /opt/play

2. Add the **play** script to your PATH:

bc. export PATH=$PATH:/opt/play-1.3.0-RC1
bc. export PATH=$PATH:/opt/play

3. Create a new Play application:

Expand All @@ -28,7 +30,7 @@ bc. play run /opt/myFirstApp

* "Your first application — the ‘Hello World’ tutorial":https://www.playframework.com/documentation/1.3.0-RC1/firstapp
* "Tutorial — Play guide, a real world app step-by-step":https://www.playframework.com/documentation/1.3.0-RC1/guide1
* "The essential documentation":https://www.playframework.com/documentation/1.3.0-RC1/home
* "The essential documentation":https://www.playframework.com/documentation/1.5.x/home
* "Java API":https://www.playframework.com/@api/index.html

h2. Get the source
Expand Down
2 changes: 1 addition & 1 deletion documentation/cheatsheets/tests/ch21-TestUnitTests.textile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Run before each unit test
*==@After public void cleanupJunk()==*
Run after each unit test

*==@BeforeClass void whenTestClassInstanciated();==*
*==@BeforeClass void whenTestClassInstantiated();==*
Run once, when the test class gets instantiated

*==@AfterClass void whenTestClassCompleted()==*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ h2. Test - Unit Tests
*==@After public void cleanupJunk()==*
各ユニットテストの後に実行されます。

*==@BeforeClass void whenTestClassInstanciated();==*
*==@BeforeClass void whenTestClassInstantiated();==*
当該テストクラスがインスタンス化されたときに一度だけ実行されます。

*==@AfterClass void whenTestClassCompleted()==*
Expand Down
6 changes: 4 additions & 2 deletions documentation/commands/cmd-auto-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
~
~ Synopsis:
~ ~~~~~~~~~
~ play auto-test [app_path] [--deps] [--unit] [--functional] [--selenium]
~ play auto-test [app_path] [--deps] [--unit] [--functional] [--selenium] [--timeout=xxx]
~
~ Description:
~ ~~~~~~~~~~~~
Expand Down Expand Up @@ -44,4 +44,6 @@
~ --functional:
~ Run the functional tests.
~ --selenium:
~ Run the selenium tests.
~ Run the selenium tests.
~ --timeout=xxx:
~ Specify the timeout for the webclient (the value of the timeout in milliseconds, 0 for an infinite wait)
15 changes: 13 additions & 2 deletions documentation/commands/cmd-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
~
~ Synopsis:
~ ~~~~~~~~~
~ play dependencies [app_path] [--verbose] [--debug] [--sync] [--%fwk_id] [--forProd] [--clearcache] [--jpda]
~ play dependencies [app_path] [--verbose] [--debug] [--sync] [--nosync] [--%fwk_id] [--forProd] [--clearcache] [--jpda] [--shortModuleNames]
~
~ Description:
~ ~~~~~~~~~~~~
Expand All @@ -34,7 +34,7 @@
~ Verbose mode
~
~ --debug:
~ Debug mode (even more informations logged than in verbose mode)
~ Debug mode (even more information logged than in verbose mode)
~
~ --jpda:
~ Listen for JPDA connection. The process will be suspended until
Expand All @@ -43,6 +43,11 @@
~ --sync:
~ Keep lib/ and modules/ directory synced.
~ Delete unknown dependencies.
~ Since 1.4.4: This option is activated by default
~
~ --nosync:
~ Keep lib/ and modules/ directory unchanged.
~ Keep unknown dependencies.
~
~ --forceCopy:
~ Never create files pointing to the original folder, always copy the folder
Expand All @@ -58,3 +63,9 @@
~~ --clearcache:
~ Clear the ivy cache (equivalent to rm -r ~/.ivy2/cache)
~
~~ --shortModuleNames:
~ use short module name without version number.
~ For example, if project depends on module "play-pdf 1.2.3", then
~ * command `play deps` creates folder `modules/pdf-1.2.3`
~ * command `play deps --shortModuleNames` creates folder `modules/pdf`
~ The latter option is probably convenient for configuring IDE
2 changes: 1 addition & 1 deletion documentation/commands/cmd-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
~ Description:
~ ~~~~~~~~~~~~
~ This script tries to connect to the running application's /@status URL to request the application status.
~ The application status contains useful informations about the running application.
~ The application status contains useful information about the running application.
~
~ The status command is aimed at monitoring applications running on production servers.
~
Expand Down
2 changes: 1 addition & 1 deletion documentation/files/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ body {
-moz-border-radius: 16px;
}

/** A little hacky to create arrows without images **/
/** A little hack to create arrows without images **/
.about {
text-indent: -999em;
display: block;
Expand Down
6 changes: 3 additions & 3 deletions documentation/manual/asynchronous.textile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
h1. Asynchronous programming with HTTP

This section explains how to deal with asynchonism in a Play application to achieve typical long-polling, streaming and other "Comet-style":http://en.wikipedia.org/wiki/Comet_(programming%29 applications that can scale to thousands of concurrent connections.
This section explains how to deal with asynchronism in a Play application to achieve typical long-polling, streaming and other "Comet-style":http://en.wikipedia.org/wiki/Comet_(programming%29 applications that can scale to thousands of concurrent connections.

h2. Suspending HTTP requests

Expand Down Expand Up @@ -114,7 +114,7 @@ h2. Using WebSockets

WebSockets are a way to open a two-way communication channel between a browser and your application. On the browser side, you open a socket using a "ws://" url:

bc. new Socket("ws://localhost:9000/helloSocket?name=Guillaume")
bc. new WebSocket("ws://localhost:9000/helloSocket?name=Guillaume")

On the Play side you declare a WS route:

Expand All @@ -124,7 +124,7 @@ bc. WS /helloSocket MyWebSocket.hello

* It has a request object, but no response object.
* It has access to the session, but read-only.
* It doesnt have @renderArgs@, @routeArgs@ or flash scope.
* It doesn't have @renderArgs@, @routeArgs@ or flash scope.
* It can read params only from the route pattern or from the QueryString.
* It has two communication channels: inbound and outbound.

Expand Down
6 changes: 3 additions & 3 deletions documentation/manual/cache.textile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ To create high-performance systems, sometimes you need to cache data. Play has a

If you don’t configure Memcached, Play will use a standalone cache that stores data in the JVM heap. Caching data in the JVM application breaks the ‘share nothing’ assumption made by Play: you can’t run your application on several servers, and expect the application to behave consistently. Each application instance will have a different copy of the data.

It is important to understand that the cache contract is clear: when you put data in a cache, you can’t expect that data to remain there forever. In fact you shouldnt. A cache is fast, but values expire, and the cache generally exists only in memory (without persistent backup).
It is important to understand that the cache contract is clear: when you put data in a cache, you can’t expect that data to remain there forever. In fact you shouldn't. A cache is fast, but values expire, and the cache generally exists only in memory (without persistent backup).

So the best way to use the cache is to repopulate it when it doesnt have what you expect:
So the best way to use the cache is to repopulate it when it doesn't have what you expect:

bc. public static void allProducts() {
List<Product> products = Cache.get("products", List.class);
Expand All @@ -23,7 +23,7 @@ For example, the "GAE module":https://www.playframework.com/modules/gae configur

h2. <a name="cacheFor">The cacheFor annotation</a>

The @cacheFor@ annotation provides an easy way to cache the ouput (HTML, JSON, etc) of an action.
The @cacheFor@ annotation provides an easy way to cache the output (HTML, JSON, etc) of an action.

bc. import play.cache.*;
public class Application extends Controller {
Expand Down
Loading