Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback method can not be invoked in await method #901

Open
wants to merge 1,202 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1202 commits
Select commit Hold shift + click to select a range
564ec3f
[#1715] added warning about .tag and escaping
Notalifeform Oct 29, 2013
34c2709
[#1739] Allow loading fixture whithout interpreted the file as a temp…
xael-fry Oct 28, 2013
a374fbb
[#1743] rememberme cookie has a wrong expiration
salvan13 Nov 5, 2013
b1c7564
[#1739] Fix error in manual
xael-fry Nov 6, 2013
900ea9b
[#1747] Use clob datatype for Evolutions table (or specify your own)
mkurz Nov 8, 2013
4513e59
[#1744] Added parameter parsing for the command line option --jpda.po…
Nov 5, 2013
fbe9f11
[#1748] Support custom MySQL driver parameters for "db" configuration
tazmaniax Nov 10, 2013
1e6695f
[#1750] Promise.get(timeout, unit) actually throws TimeoutExceptions
shelajev Nov 18, 2013
1423d8b
[#1751] Avoid logger to format string to improve performance
xael-fry Nov 22, 2013
119e106
[#1757]fix exception to log correctly with stack trace
Nov 25, 2013
a6bc589
[#1754] add a way to tell user why the request was bad (clients of ou…
Nov 25, 2013
8c63545
[#1753] minor fix where : was not allowed in basic auth passwords bre…
Nov 20, 2013
25adcb1
[#1729] Fix Play status. keep search on field "sync" for openJDK
Sep 26, 2013
5ab555a
[#1763] Check for empty uploads when binding File[]
Dec 7, 2013
96d5d4a
[#1765] make more generic so it now works with normal hibernate entit…
Dec 9, 2013
3dcea8b
[#1767] avoid a nullpointer bug when the stack is null
Dec 13, 2013
fd1e27a
[#1728] Use MySQL ping if apropriate, a SELECT 1 otherwise
Sep 26, 2013
535f442
Merge branch 'lighthouse-1748-master-patch' of github.com:tazmaniax/p…
Notalifeform Dec 14, 2013
00af1b5
[#1760] make fields more visible so we can subclass Promise with our …
Dec 2, 2013
dcba5a6
[#1759] add exception log
Dec 2, 2013
c7c77f5
[#1735] Create TypeUnbinder in order to implement "unbind method"
xael-fry Nov 18, 2013
38ba15f
[#1735] Fix TypeUnbinder test the wrong class
xael-fry Dec 16, 2013
f4da731
[#1656] fixed typo spotted by @gslowikowski
Notalifeform Jan 2, 2014
1003939
Update README.textile
pepite Jan 4, 2014
5e281e8
Update README.textile
pepite Jan 4, 2014
bcab7f3
Update README.textile
pepite Jan 4, 2014
ba554f8
Update README.textile
pepite Jan 4, 2014
16f6438
Update README.textile
pepite Jan 4, 2014
2a282b1
Delete .travis.yml
pepite Jan 4, 2014
9e64fb5
Merge pull request #707 from theo/lighthouse-1763-patch
pepite Jan 12, 2014
c9e254d
Updated Controller javadoc using renderBinary to stream content from …
clemp6r Jan 31, 2014
75d0aa7
Unbind Map object with direct key
fmeurisse Feb 12, 2014
638d40a
[#1677] Fix not streaming SSE/EventSource in Chrome
xael-fry Aug 22, 2013
412ea99
[#1788] Fix Play is failing in SSL mode
xael-fry Feb 5, 2014
c7fc5e9
[#781] simplify loading module, got rid of the moduleOrder.conf which…
pepite Jan 6, 2014
2cef465
[#1719] fix moduleOrder to handle Dynamic revisions and "id" options …
xael-fry Jan 9, 2014
f7f0fa6
[#1719] Remove ModuleOrder.conf
xael-fry Mar 7, 2014
bef828c
Merge pull request #738 from xael-fry/lighthouse-1719-patch-master
xael-fry Mar 12, 2014
fe0f470
[#1784] Fix Unbinder for collection to retrieve the correct type
xael-fry Jan 15, 2014
04899fb
Merge pull request #737 from fmeurisse/master
xael-fry Mar 13, 2014
c470621
[#1789] The host information of staticDir mappings are not ignored an…
mkurz Feb 5, 2014
40215ff
[#1789] Update test (add some message if failed)for host information …
xael-fry Mar 14, 2014
2025247
[#1662] Evolutions down from modules remove all others evolutions (mo…
xael-fry Aug 13, 2013
2f35d27
[#1662] Add the method resolve(int revision) for backward compatibility
xael-fry Mar 19, 2014
b835b79
Merge pull request #626 from xael-fry/lighthouse-1662-patch-master
xael-fry Mar 20, 2014
53abbc1
Added support for IPv6 IP address for the server
Apr 10, 2014
ccfb644
Support Java 8.
asolntsev Apr 2, 2014
c56d19e
fixing previous commit (binaries were corrupted, python import was de…
asolntsev Apr 2, 2014
722fa14
[#1800] Remove unused javassist-3.15.0.GA.jar lib
xael-fry Apr 15, 2014
9778f24
[#1800] Update compiler for support to java 8
xael-fry Apr 15, 2014
422d8c1
[#1800] Update javadoc to link to Java8
xael-fry Apr 16, 2014
7dfffe7
Revert "Delete .travis.yml"
xael-fry Apr 18, 2014
2b9b447
Merge pull request #746 from chrisdail/master
xael-fry Apr 21, 2014
ceeaa80
changed 1.3.0 release notes
Notalifeform Apr 21, 2014
517f979
[#1766] fix for websocket dropping event (by blocking) - archivedEven…
Dec 13, 2013
a5445e4
[#1679] IO.writeContent adds newline
Notalifeform Apr 28, 2014
1a4b6e6
[#1679] IO.writeContent adds newline - forgot one
Notalifeform Apr 29, 2014
3f3cfe6
code formatting and if not application.mode is defined, use the dev mode
pepite Apr 21, 2014
80e4620
Secure PLAY_ERRORS & PLAY_LANG cookies when session is secure
mkurz Apr 16, 2014
acef81d
[#1806] Upsate to netty v3.9.0
xael-fry Apr 29, 2014
ef7e198
[#1814] preserve order of HTTP GET/POST parameters - use LinkedHashMap
angryziber May 7, 2014
fa3ca12
[#1814] fix just-test-cases/RestTest
xael-fry May 28, 2014
ef871db
[#385] Fix NoBinding and Fixtures : create a special profile for fixt…
xael-fry Apr 24, 2014
cea8a6a
added ability to specify which configurations you want to depend on
dhensche May 1, 2014
a0055e5
updated english documentation to reflect dep management changes
dhensche Jun 4, 2014
7145583
[#1811] Add some exception if configuration format is not correct
xael-fry Jun 6, 2014
f0b81f6
* Fix tests as Fixtures.idcache is not available in master branch
xael-fry Jun 6, 2014
1231ad9
[#1825] fix NPE in exception constructors when source files are not a…
angryziber Jun 3, 2014
a850bb8
[#1824] Update to ANT v1.9.4
xael-fry May 30, 2014
34d8986
[#1824] Update to htmlunit V2.15
xael-fry Jun 3, 2014
a8b0119
[#1824] Update to async-http-client-1.8.9
xael-fry Jun 3, 2014
088d52a
[#1824] Restore fest-util-1.1.6 (need for fest-assert)
xael-fry Jun 3, 2014
21a99d0
[#1824] Fix dependencies.yml for spymemcached version
xael-fry Jun 4, 2014
6692585
[#1824] Restore to h2-1.3.176 as h2-1.4 make some tests failed (will …
xael-fry Jun 4, 2014
4c84c89
[#1819] Update to Groovy V2.3.1 (without “invoke dynamic”)
xael-fry May 21, 2014
2f42967
[#1809] Update to ASM V5.0.2, javaflow r 1590792, javassist 3.18.2-GA
xael-fry May 29, 2014
9fab508
[#1815] prevent XXE vulnerability in play.libs.XML and provide safe n…
angryziber May 8, 2014
e187ea6
[#1815] use safe DocumentBuilder in WS
angryziber May 8, 2014
cd6a0c5
add another very useful getDocument() method that parses an InputStream
angryziber May 8, 2014
065ccef
* [PR 759] re-use content-type for files from Play response (if alrea…
xael-fry Jun 27, 2014
a4517b3
release notes
pepite Jun 25, 2014
579d7d5
[Documentation] Rename playframework.org URL to playframework.com
xael-fry Jun 27, 2014
8259b92
[#1831] Fix transitive module loading
xael-fry Jun 27, 2014
96b41c5
[#1830] Upgrade to netty v3.9.2 because of security vulnerability
xael-fry Jun 27, 2014
0f93da8
* Update application-skel default java.source value to 1.6, as 1.5 is…
xael-fry Jun 27, 2014
16add88
Adding cacheFor
PerfectCarl Jun 28, 2014
bf00f83
Update cache.textile
PerfectCarl Jun 29, 2014
9381ad3
Update cache.textile
PerfectCarl Jul 1, 2014
444c417
[#1809] Add patch for javaflow
xael-fry Jun 27, 2014
604a761
[#1831] Fix loading modules for avoiding circular loading
xael-fry Jun 30, 2014
9075867
Merge pull request #769 from PerfectCarl/patch-5
xael-fry Jul 3, 2014
06bff2d
Javascript files must be at the end of the HTML
PerfectCarl Jul 5, 2014
ee76f3c
Fix invalid links
PerfectCarl Jul 5, 2014
690e245
[#1843] Add validation-api-1.0.0.GA
xael-fry Jul 4, 2014
af689cf
Merge pull request #773 from PerfectCarl/patch-8
xael-fry Jul 7, 2014
c9ed343
Include trove 3.0.3 as dependency since it's required by oval 1.84
gbevin Jul 8, 2014
b87906d
Updated Eclipse compiler to the one shipping with Luna, providing off…
gbevin Jul 8, 2014
8d3b9c3
JavaFlow fixes that include proper classloading when controllers with…
gbevin Jul 8, 2014
6e7454a
Moved PopertiesEnhancer before ContinuationEnhancer, otherwise the Ja…
gbevin Jul 8, 2014
3d8edfa
Added patch for JavaFow classloader fix
gbevin Jul 8, 2014
80808dc
Wrong dependency version
gbevin Jul 8, 2014
33d626f
Renamed dependency so that Play can resolve it
gbevin Jul 8, 2014
050a5f1
Removed unnecessary trove dependency
gbevin Jul 8, 2014
18bfc02
Issue #1774 - http://play.lighthouseapp.com/projects/57987/tickets/17…
gslowikowski Dec 30, 2013
44230c1
[#1774] Add default method addModule / loadModules to assure backward…
xael-fry Jul 17, 2014
9bdde20
Method Java.parameterNames re-throws original exception
asolntsev Mar 22, 2014
6518dc6
Avoid re-starting Play if it's already started (it happens if we run …
xael-fry Jul 17, 2014
9ade900
Fixed spelling error: "stRack trace" -> "stAck trace"
asolntsev Apr 2, 2014
cf27f30
[#1840, #1848] Add warning / exception if version number is not provi…
xael-fry Jul 25, 2014
6d048ea
[#1854] Add colon in host + port for test baseUrl
Jul 28, 2014
172e4ef
[#1566] Update to hibernate 4.2.15
xael-fry Jul 29, 2014
5d5a194
removed java7 construct introduced in 60111116095c3d8875fa46eb0cdcadc…
Notalifeform Aug 6, 2014
4487346
[#1566] Update to c3p0-0.9.2.1
xael-fry Aug 7, 2014
2998259
[#1855] Fix AIOOB exception in WS.getQueryString
itsadok Aug 3, 2014
60f25d8
[#1855] Add test for WS.getQueryString
xael-fry Aug 7, 2014
d6d8b1f
[#1823] Fix play.exceptions.CompilationException
xael-fry Aug 4, 2014
7f1ed9b
[#1823] Add a controller / package "application" to test the compilat…
xael-fry Aug 4, 2014
dea22dc
Merge pull request #772 from PerfectCarl/patch-6
xael-fry Aug 8, 2014
338dfef
Merge branch 'master' of https://github.com/playframework/play1
xael-fry Aug 8, 2014
a483edf
fix(VirtualFile) : Add missing import
xael-fry Aug 8, 2014
921d166
* Add build status in README.textile
xael-fry Aug 11, 2014
963f3dd
[#1857]Automatically convert existing sessions the first time people …
gbevin Jul 31, 2014
b0ca5fb
[#1858] chore(netty): Update to netty 3.9.3.Final
xael-fry Aug 12, 2014
a767c4f
[#1832] perf(docviewer): add 'NoTransaction' annotation for controlle…
xael-fry Aug 12, 2014
9f7649e
Merge branch 'pr/414'
xael-fry Aug 13, 2014
9ca9277
[#1319] fix(Mail): add missing import due to merge issue
xael-fry Aug 14, 2014
1f6b5bd
Try to get name of module from dependencies.yml (same as version)
ybonnel Aug 14, 2014
8fc9494
skip static fields when building properties list
ryenus Aug 15, 2014
62755ba
{#1816] fix(FileService): fix trace about re-use content-type from Pl…
xael-fry Aug 18, 2014
81273f7
* docs(build javadoc): Update links in the ant javadoc command
xael-fry Aug 18, 2014
0af9521
[#1859] fix(dependencies)Update link to playframework website, now us…
xael-fry Aug 21, 2014
d659115
Merge pull request #790 from ybonnel/fixProjectNameOnBuildModule
xael-fry Aug 25, 2014
83e1928
* fix(GenericModel): avoid exception if id is null
xael-fry Aug 27, 2014
52968f4
* [#1868] fix(binder): not add element if no directBinding found
xael-fry Aug 28, 2014
5a0300c
* [#1868] test(Scope): Add test for Scope
xael-fry Aug 28, 2014
6b9f758
Update javadoc.py
gpgekko Aug 29, 2014
9bb4929
[#1871] Refactor getJavaVersion
xael-fry Sep 11, 2014
c29272a
* chore(lib): update async-http-client to v1.8.13
xael-fry Sep 4, 2014
009388b
* chore(lib): update to groovy V 2.3.6
xael-fry Sep 11, 2014
7f62472
[#1872] fix(session): restore session, flash before new request even …
xael-fry Sep 11, 2014
350544c
Methods should be protected so that they can be used/overidden from o…
xael-fry Sep 19, 2014
1faeb2e
Merge pull request #791 from ryenus/master
pepite Oct 27, 2014
487251f
[#1880] Fix file handle leak in VirtualFile.content and VirtualFile.c…
Oct 7, 2014
8b3f328
[#1880] Close resources in finally block to avoid file handle leaks i…
Oct 7, 2014
e8cfd5d
[#1880] Use commons-io API to fix wrong usage of InputStream.read()
Oct 7, 2014
cd87eef
[#1880] Use commons-io API to avoid re-inventing the wheel
Oct 7, 2014
15d1fcb
[#1880] Use commons-io API to avoid re-inventing the wheel - fixed c…
Oct 7, 2014
6f77490
[#1880] Use commons-io API to avoid re-inventing the wheel - fixed c…
Oct 7, 2014
254610e
Merge branch 'master' of https://github.com/playframework/play1
xael-fry Oct 28, 2014
3e8955e
[#1883] Upgrade to Joda Time 2.5
reicru Oct 25, 2014
304810d
[#1881] Cache annotated method lists already in a sorted state.
angryziber Oct 16, 2014
88c611e
fixed tests
pepite Oct 27, 2014
f8e3445
artifacts named '*.jar' should not be treated as modules.
ryenus Sep 24, 2014
c745866
Remove ineffectice code for replacing class names. Our applications w…
Sep 16, 2014
0b4fa23
fix against XXE flaw
pepite Oct 27, 2014
33933ef
fix typo in XML parser feature uri
angryziber Oct 29, 2014
b6b0634
security: make FLASH cookie respect the HttpOnly config parameter
angryziber Oct 28, 2014
0e3ea43
security: make ERRORS cookie respect the HttpOnly config parameter
angryziber Oct 28, 2014
e0b3bbb
* fix(TemplateNotFoundException): test template to avoid NullPointerE…
xael-fry Oct 30, 2014
7fe8577
Revert "artifacts named '*.jar' should not be treated as modules."
xael-fry Nov 4, 2014
2131dbd
simple upstart script
Nov 6, 2014
03252fd
Merge pull request #815 from leon/master
pepite Nov 16, 2014
e740255
formTag: specifying the name parameter causes double name attributes
Nov 17, 2014
b2e8793
* Restore scala compatibility check
xael-fry Nov 12, 2014
7000519
[#1871] Updated the regular expression to not require "java" prefix and
tazmaniax Nov 15, 2014
3f6b64c
Merge pull request #817 from leon/master
xael-fry Nov 19, 2014
9d5342c
[#1889] Fixed call to AsynchHttpClient builder.setBody() to pass in a
tazmaniax Nov 18, 2014
e96b3d3
[#1898] Replaced c3p0 v0.9.2.1 with 0.9.5
tazmaniax Jan 4, 2015
1baf0fd
[#1894] Updated Javassist to v3.19.0 RC1 that resolves an exception when
tazmaniax Dec 8, 2014
05a5a76
[#1894] Removed Javassist v3.18.2-GA
tazmaniax Dec 8, 2014
76d0a53
[#1894] Updated ASM from v5.0.2 to v5.0.3
tazmaniax Dec 8, 2014
fec1cb5
[#1894] chore(lib): update Javassist to v3.19.0-GA
xael-fry Jan 6, 2015
c1dd6fd
* feat(test): add travis status
xael-fry Jan 6, 2015
92d518c
[#1899] fix(PlayHandler): check if the channel because writing on it
xael-fry Jan 6, 2015
3d8c9ce
[#1897] Added method play.mvc.Mailer.attachInlineEmbed(DataSource
tazmaniax Dec 28, 2014
111e815
[#1897] Added example/test
tazmaniax Jan 7, 2015
d9d4944
[#1897] Added example/test
tazmaniax Jan 7, 2015
3f629d2
[#1897] Added final to data variable referenced in data source anonymous
tazmaniax Jan 7, 2015
d0da593
* [#1688] fix(session): mark session as changed when adding ID_KEY or…
xael-fry Jan 13, 2015
8fe749f
[#1861] feat(validation): add new methods insert, remove, hasError
xael-fry Jan 13, 2015
bb93e2e
[#1878] Fixing evolution detection of mysql for all mysql dialects to…
bjornm Jan 14, 2015
e561feb
* [#1907] chore(patch): add missing hibernate patch file hibernate-4.…
xael-fry Jan 19, 2015
b0d0c70
* [#1904] doc(configuration): update doc java.source
xael-fry Jan 21, 2015
0e4911e
Update utils.py
gpgekko Jan 15, 2015
baa6584
Update application.py
gpgekko Jan 15, 2015
d85d900
Update base.py
gpgekko Jan 15, 2015
0fa1b85
Update deps.py
gpgekko Jan 15, 2015
b4e9c02
Update evolutions.py
gpgekko Jan 15, 2015
0a03bf7
* [#1903] fix(phoneValidation): fix validation to allow one number in…
xael-fry Feb 2, 2015
10b6a9e
Merge pull request #829 from bjornm/lighthouse-1878-patch
xael-fry Feb 4, 2015
5b68623
get Java version from application.conf
opyate Feb 12, 2015
1455182
accept jvm_version flag to bypass sub-process call
opyate Feb 13, 2015
1b2c91a
[#1901] feat(lib): update to groovy 2.3.9
xael-fry Feb 13, 2015
103016e
[#1901] feat(lib): update to gson 2.3.1
xael-fry Feb 13, 2015
4372015
[#1901] feat(lib): update to ivy 2.4.0
xael-fry Feb 13, 2015
09bb67e
[#1901] feat(lib): update to joda-time 2.7
xael-fry Feb 13, 2015
8cc61ae
[#1901] feat(lib): update to junit 4.12
xael-fry Feb 13, 2015
924e13d
[#1901] feat(lib): update to slf4j-api 1.7.10
xael-fry Feb 13, 2015
b127eb8
* [#1901] feat(lib): update to h2 v1.4.185
xael-fry Feb 13, 2015
b590bde
[#169] fix(forum): shows the last poster oh the thread instead of the…
xael-fry Feb 15, 2015
01a0cf9
[#1922] fixes: avoid possible NPE in play.Logger
Feb 15, 2015
72309f4
[#1856] fixes: validation warning using severity from OVal [feature]
Feb 15, 2015
9285dcf
[#1148] fix(tag): yesno should evaluates NullObject as false
xael-fry Feb 15, 2015
c1bb138
Sane c3p0 logging
swaldman Mar 1, 2015
3b1cc4e
[#1344] Fixed OAuth2 lib not finding access_token inside JSON response
mstepien Mar 1, 2015
242938b
[#1344] Fixed OAuth2 lib not finding access_token inside JSON response -
mstepien Mar 2, 2015
ce3afae
[#1915] feat(autotest): add arguments to command to allow to specify …
xael-fry Mar 17, 2015
4dc6761
Merge pull request #851 from mstepien/lighthouse-1344-patch
xael-fry Mar 25, 2015
158313f
[#1911] fix(FileService): check if channel is opened before using it
xael-fry Mar 31, 2015
cc5bfc6
[#1932] feat(tag):Add optional parameter in script / stylesheet tags …
xael-fry Apr 2, 2015
b0737ef
Merge pull request #850 from swaldman/master
xael-fry Apr 24, 2015
b735e04
Merge pull request #835 from opyate/patch-1
xael-fry Apr 27, 2015
2c2dce1
[#1901] feat(lib): update to spymemcached 2.11.7
angryziber Apr 26, 2015
4526bf3
* fix(router): make some improvement in router
xael-fry Apr 22, 2015
7c1974d
added selenium test for router fix
Notalifeform Apr 24, 2015
1d50274
better selenium test
Notalifeform Apr 24, 2015
2438412
* make sure diacritics is supported for jsaction (again)
Notalifeform Apr 26, 2015
59f0abf
Merge pull request #867 from xael-fry/1937_routerImprovBrMaster
xael-fry Apr 27, 2015
ff91096
[#1901] chore(lib): update to snakeyaml from v1.13 to v1.15
xael-fry Apr 27, 2015
11a4aee
[#1901] chore(lib): update to jamon from v2.75 to v2.81
xael-fry Apr 27, 2015
262a47d
[#1901] chore(lib): update to common-codec from v1.8 to v1.10
xael-fry Apr 28, 2015
b6336b5
[#1901] chore(lib): update to common-email from v1.3.1 to v1.3.3
xael-fry Apr 28, 2015
dfdf341
[#1901] chore(lib): update to common-fileupload from v1.3 to v1.3.1
xael-fry Apr 28, 2015
c675bd4
[#1901] chore(lib): update to mysql-connector-java from v5.1.30 to v5…
xael-fry Apr 28, 2015
333675e
[#1901] chore(lib): update to commons-logging from v1.1.3 to v1.2
xael-fry Apr 28, 2015
51b68eb
[#1901] chore(lib): update to jaxen from v1.1 to v1.1.6
xael-fry Apr 28, 2015
1cf72cb
* [#1901] chore(lib): update to ehcache from v2.6.9 to v2.6.11
xael-fry Apr 28, 2015
bf131af
* [#1901] chore(lib): update to mockito from v1.9.5 to v1.10.19
xael-fry Apr 29, 2015
ef9b1b2
Prevent XML bombs - enable secure parsing and disallow doctype declar…
Nov 25, 2014
0575956
* doc(version): Add release note for 1.3.1
xael-fry May 6, 2015
39bbc1e
* refactor(JPAPlugin): move hibernate interceptor to its own file
xael-fry May 12, 2015
f2cd0c0
props enhancer
pareis Mar 27, 2015
491a775
upgrade hibernate to 4.2.19.Final
pareis May 1, 2015
344c51a
upgraded to hibernate 4.2.19.Final
pareis May 1, 2015
2ce4af5
* [#1944] doc(play.propertiesEnhancer.enabled): add doc of the option
xael-fry May 12, 2015
fbe5d8d
Merge pull request #871 from xael-fry/1944_hibernateUpdateMaster
xael-fry May 13, 2015
af71b73
Fix indentation
gpgekko Feb 11, 2015
1b6e1a0
add --server arg to install command
Aug 23, 2013
2ee5eb1
* [#1713] feat(command): rename param to --force-server
xael-fry May 18, 2015
90d80de
* * [#1950] chore(libraries): update from netty 3.9.4 to 3.9.8
xael-fry May 29, 2015
d6b59ee
[#1952] chore(librairies): Update async-http-client to v1.8.16
xael-fry May 29, 2015
40ec3fb
[#1917] fix(ant): add "play libs" path to classpath to be able to cal…
xael-fry Jun 2, 2015
ef98647
[#1495] fix(Images): preserve transparent background when resizing im…
xael-fry Jun 3, 2015
50fb7d0
[#1574] fix(jsAction): Fix problem with zero and false values
xael-fry Jun 5, 2015
74fb489
* [#1892] fix(IPv4AddressCheck): fix validation to avoid additional c…
xael-fry Jun 17, 2015
0a2486b
[#1230] fix(image): Close the OutputStream in image.crop
xael-fry Jun 12, 2015
9b19e92
[#1278] fix(errorTemplate): need to check the type of exception befor…
xael-fry Jun 12, 2015
30b941f
* [#1960] fix(test): Fix running specific tests selenium
xael-fry Jun 22, 2015
771cf1b
[#1564] fix(upload): allow upload zero size file
xael-fry Jun 11, 2015
abb9b79
callback method can not be invoked in await method
Jul 22, 2015
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
  •  
  •  
  •  
136 changes: 24 additions & 112 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,133 +1,45 @@
# General temp files
.DS_Store
*.ser
*.pyc

# Files related to Play build or usage
id
dist
bin
framework/classes
framework/test-classes
framework/tests-results
framework/out
framework/.idea
framework/play.jar
.DS_Store
nbproject/genfiles.properties
nbproject/jdk.xml
nbproject/nbjdk.properties
nbproject/nbjdk.xml
nbproject/private
framework/tests-results
framework/src/version
framework/src/play/version
framework/src/play/version
framework/src/play/version
framework/tests/test-application/db
framework/play-*.jar
framework/docs
samples-and-tests/*/test-result/

# IDE and editors
/bin
*~
.idea
nbproject
eclipse
.amateras
.settings
.classpath
.project
framework/tests/tmp
id
framework/tests-tmp
framework/docs
dist
modules/bespin/lib/bespin.jar
modules/ecss/lib/ecss.jar
modules/test-runner/lib/test-runner.jar
resources/catalog.xml
resources/nbproject/private
modules/gae/lib/gae.jar
catalog.xml
modules/gae/lib/gae.jar
play-*.jar
modules/gae/bin
modules/gwt/lib/play-gwt.jar
tmp
test-result
logs
logs
tmp
db
*.pyc
test-result
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/attachments
samples-and-tests/just-test-cases/tmp
samples-and-tests/just-test-cases/test-result
samples-and-tests/chat/tmp
samples-and-tests/chat/logs
.git
modules/spring/lib/play-spring.jar
modules/search/bin
modules/search/lib/search.jar
samples-and-tests/just-test-cases/data
modules/siena/lib/play-siena.jar
samples-and-tests/lists-with-gae/logs
samples-and-tests/lists-with-gae/tmp
samples-and-tests/lists-with-gae/war/WEB-INF/appengine-generated
./.settings
samples-and-tests/just-test-cases/.settings
samples-and-tests/just-test-cases/eclipse
framework/ecClasses
documentation/api
support/textmate
samples-and-tests/yabe/logs
samples-and-tests/yabe/test-result
samples-and-tests/yabe/tmp
*.ser
modules/cobertura/lib
modules/scala/lib/play-scala.jar
samples-and-tests/with-scala/logs
samples-and-tests/yabe-with-scala/logs
samples-and-tests/yabe-with-scala/tmp
samples-and-tests/yabe/.amateras
samples-and-tests/yabe/.settings
samples-and-tests/yabe/eclipse
samples-and-tests/yabe/nbproject
samples-and-tests/with-scala/.amateras
samples-and-tests/with-scala/.externalToolBuilders
samples-and-tests/with-scala/.manager
samples-and-tests/with-scala/.settings
samples-and-tests/with-scala/eclipse
samples-and-tests/test-scala/tmp
samples-and-tests/test-scala/logs
samples-and-tests/i-am-a-developer/i-am-working-here
samples-and-tests/i-am-a-developer/i-am-creating-jobs-here
samples-and-tests/i-am-a-developer/i-am-testing-log-levels-here
samples-and-tests/just-test-cases/attachments
samples-and-tests/booking/logs
samples-and-tests/booking/tmp
samples-and-tests/twitter-oauth/.settings
samples-and-tests/twitter-oauth/eclipse
help
*.iml
*.ipr
*.iws
modules/router/lib/router.jar
modules/grizzly/lib/play-grizzly.jar
play.ipr
play.iws
*iml
modules/router-head
modules/gwt/samples-and-tests/logs
modules/gwt/samples-and-tests/test-result
modules/gwt/samples-and-tests/tmp
modules/siena-1.0
samples-and-tests/zencontact/logs
samples-and-tests/zencontact/test-result
samples-and-tests/zencontact/tmp
modules/scala
atlassian-ide-plugin.xml

# modules/: exclude except for core modules
modules/*
build.classes
modules/crud/nbproject
nbproject
samples-and-tests/jobboard/attachments
samples-and-tests/jobboard/logs
samples-and-tests/jobboard/test-result
samples-and-tests/jobboard/tmp
samples-and-tests/validation/logs
samples-and-tests/zencontact/precompiled
!modules/docviewer
!modules/crud
!modules/console
!modules/grizzly
!modules/secure
!modules/testrunner
!framework/src/play/db
.idea

14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: java
jdk:
- openjdk6
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
notifications:
email:
on_success: change
on_failure: always
1 change: 1 addition & 0 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ http://www.apache.org/licenses/LICENSE-2.0
- Signpost

http://www.gnu.org/licenses/lgpl.html
- Bytecodeparser
- c3p0
- Hibernate

Expand Down
18 changes: 9 additions & 9 deletions README.textile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
h1. Welcome to Play framework
h1. Welcome to Play framework "!https://jenkins-ci.org/sites/default/files/images/CloudBees-logo.thumbnail.png!":https://playone.ci.cloudbees.com !https://playone.ci.cloudbees.com/buildStatus/icon?job=play_master!:https://playone.ci.cloudbees.com/job/play_master/ !https://travis-ci.org/playframework/play1.svg?branch=master!:https://travis-ci.org/playframework/play1

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.

Learn more on the "http://www.playframework.org":http://www.playframework.org website.
Learn more on the "https://www.playframework.com":https://www.playframework.com website.

h2. Getting started

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

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

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

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

3. Create a new Play application:

Expand All @@ -26,10 +26,10 @@ bc. play run /opt/myFirstApp

6. Start developing your new application:

* "Your first application — the ‘Hello World’ tutorial":http://www.playframework.org/documentation/1.1/firstapp
* "Tutorial — Play guide, a real world app step-by-step":http://www.playframework.org/documentation/1.1/guide1
* "The essential documentation":http://www.playframework.org/documentation/1.0.3/main
* "Java API":http://www.playframework.org/@api/index.html
* "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
* "Java API":https://www.playframework.com/@api/index.html

h2. Get the source

Expand All @@ -47,4 +47,4 @@ Please report bugs on "our lighthouse tracker":http://play.lighthouseapp.com/pro

h2. Licence

Play framework is distributed under "Apache 2 licence":http://www.apache.org/licenses/LICENSE-2.0.html.
Play framework is distributed under "Apache 2 licence":http://www.apache.org/licenses/LICENSE-2.0.html.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ h2. Controller - Libraries
*==WS.url("http://s.com/posts").get().toJSON();==*
HTTP GET request to JSON

*==WS.withEncoding("iso-8859-1").url("http://s.com/posts").get().toJSON();==*
HTTP GET request to JSON using iso-8859-1 encoding

*==WS.url("http://s.com/").post().toXML();==*
HTTP POST request to XML

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h2. Multi environment
h2. Multi-environment

*==# Test configuration==*
*==%test.db=mem==*
Expand Down
6 changes: 3 additions & 3 deletions documentation/cheatsheets/tests/ch24-TestDataloader.textile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
h2. Test - Data loader

*==@Before public void setUp() { Fixtures.deleteAll();==*
*==Fixtures.load("data.yml");}==*
*==Fixtures.loadModels("data.yml");}==*
Fixtures is used to initialise the datastore before running a unit test

*==#{fixture delete:'all', load:'data.yml' /}==*
*==#{fixture delete:'all', load:'data.yml' /}==* or *==#{fixture delete:'all', loadModels:'data.yml' /}==*
*==#{selenium} ... #{/selenium}==*
Same idea using a Selenium test
Same idea using a Selenium test(@loadModels@ and @load@ parameters are synonyms).
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
h2. Command line - play command

*classpath*
算出されたクラスパスを表示します。

*id*
複数環境設定用のフレームワーク ID を定義します。

*secret*
暗号化に使われる秘密鍵を生成します。

*install*
モジュールをインストールします。

*list-modules*
セントラルモジュールリポジトリから入手可能なモジュールを列挙します。

*modules*
算出されたモジュールのリストを表示します。

*new*
新しいアプリケーションを作成します。

*new-module*
モジュールを作成します。

*build-module*
モジュールをビルドし、パッケージングします。

*eclipsify*
Eclipse の全ての設定ファイルを作成します。

*netbeansify*
NetBeans の全ての設定ファイルを作成します。

*idealize*
IntelliJ Idea の全ての設定ファイルを作成します。

*javadoc*
アプリケーションの Javadoc を生成します。

*auto-test*
全てのアプリケーションのテストを自動的に実行します。

*clean*
(バイトコードキャッシュを含む) 一時ファイルを削除します。

*test*
現在のシェルでアプリケーションをテストモードで実行します。

*precompile*
アプリケーションの起動を高速化するため全ての Java のソースとテンプレートをプリコンパイルします。

*war*
スタンドアロンの WAR アーカイブとしてアプリケーションをエクスポートします。

*run*
現在のシェルでアプリケーションを実行します。

*start*
バックグラウンドでアプリケーションを起動します。

*stop*
実行中のアプリケーションを停止します。

*restart*
実行中のアプリケーションを再起動します。

*status*
実行中のアプリケーションの状態を表示します。

*out*
logs/system.out ファイルの内容をリアルタイムで表示します。

*pid*
実行中のアプリケーションの PID を表示します。

*check*
現在のものより新しい Play framework のリリースがあるかどうかチェックします。

*help*
指定したコマンドのヘルプを表示します。
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
h2. Controller.action - Smart binding

*==Controller/link?i=32&n=patrick==*
==public static void link(int i, String n)==
==public static void link(Integer i, String n)==
==public static void link(Long i, String n)==

*==Controller/show?id[0]=1&id[1]=2&id[2]=3&id[3]=4==*
==public static void show(Long[] id)==
==public static void show(List<Long> id)==
==public static void show(Set<Long> id)==

*==Controller/get?date=02-18-1972==*
==public static void get(@As("MM-dd-yyyy") Date date)==

*==(@As(binder=MyCustomStringBinder.class))==*
Custom parameter binder

*public static void create(String comment, File attachment)*
multipart/form-data エンコードの POST リクエストとしてファイルを送信します。

*==?client.name=paul&[email protected]==*
*public static void create(Client client)*
JavaBean (POJO) binding

*@NoBinding*
バインドできないフィールドを示します。
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
h2. Controller.action - Validation

*==@Required String lastname==*
*==@IsTrue String agree==*
*==@Max(7500) Integer wordCount==*
*==@Min(18) Long age==*
*==@MaxSize(2083) String value==*
*==@MinSize(42) String value==*
*==@Email String address==*
*==@Equals("passwordConfirmation") String password==*
*==@InFuture String dueDate==*
*==@InFuture("1979-12-31") String birthDate==*
*==@Match("[A-Z]{3}") String abbreviation==*
*==@Match("(directDebit|creditCard|onReceipt)")==*
*==@Past String actualDepartureDate==*
*==@Past("1980-01-01") String birthDate==*
*==@Range(min = 17500, max = 40000) String wordCount==*
*==@URL String address==*
*==@IPv4Address String ip==*
*==@IPv6Address String ip==*

*==@Phone String phone==*
Relaxed phone validation
電話番号の緩やかな検証

*==@Valid Person person==*
JavaBean (POJO) 検証 - Person クラスは検証のアノテーションが必要です。
Loading