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

[#2062] Reverse routing improvement #1000

Open
wants to merge 1,349 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1349 commits
Select commit Hold shift + click to select a range
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
bb88b91
[#1886] A new renderJSON overload in Controller
FutuVesa Oct 28, 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
22a374d
Merge branch 'master' of github.com:playframework/play1
svintus Feb 5, 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
5711483
Update deployment.textile
arnzel Aug 9, 2015
ef6c676
Update deployment.textile
arnzel Aug 9, 2015
fd68d74
[#1967] fix broken monitor statistics in status - make the code more …
angryziber Jul 30, 2015
bd3a47c
[#1961] Fixes OpenID discovery issue.
X455u Jun 25, 2015
16f5ed7
* [#1961] fix(OpenID): Define the encoding in getXML.
xael-fry Aug 10, 2015
54b7537
Merge pull request #903 from arnzel/master
xael-fry Aug 10, 2015
479fc14
* [#1758] feat(time): Enhance duration parsing
Dec 2, 2013
ce541f8
* [#1758] doc(time): add some comment in the class description
xael-fry Jun 24, 2015
e758c29
Update application.conf
arnzel Aug 11, 2015
c72e038
Merge pull request #904 from arnzel/master
xael-fry Aug 13, 2015
3f9cd78
* documentation(readme): add learn more section
xael-fry Jun 24, 2015
209592f
Update README.textile
xael-fry Aug 13, 2015
8f0b6fb
* [#1973] chore(lib): update to joda Time V2.8.2
xael-fry Aug 24, 2015
88b5db8
* [#1972] fix(Router): Fix reverse routing of spaces to path not work…
xael-fry Aug 26, 2015
363bb83
fix: allow zero-length blobs
sbeigel Jul 9, 2015
617a6c7
Fix NullPointerException in FileArrayBinder
Jul 14, 2015
bbbf466
add test for FileUpload
Jul 14, 2015
37d1fdd
[#1945] chore(libraries): update to html unit V2.16
xael-fry Jun 1, 2015
b176c39
* [#1945] fix(travis): need minimum of Java7 to use new lib htmlunit
xael-fry Jun 2, 2015
f59cf56
fix static initialization deadlock by breaking DataParser dependency …
asolntsev Jun 30, 2015
85a6989
move logic for "text/" content types from Scope to appropriate class …
asolntsev Jul 1, 2015
b006d7f
move method putMapEntry() from DataParser to class ApacheMultipartPar…
asolntsev Jul 1, 2015
9900ad3
* [#1946] fix(FunctionalTest): fix call of constructor StringPart
xael-fry May 19, 2015
d3681bc
* chore(travis): Migrating from legacy to container-based infrastructure
xael-fry Sep 22, 2015
354c3df
Merge pull request #912 from xael-fry/1946_nettyUpdateMaster
xael-fry Sep 25, 2015
d1a3c5b
Fixes #176 and other related issues by de-duping list of plugins to l…
May 28, 2015
009974c
changing * import back to individual imports
May 29, 2015
4458bd2
Quartz doc link fixed
sbeigel Sep 30, 2015
9260e18
[#1886] fix(renderJSON): test is gson is null before using it
xael-fry Oct 2, 2015
4c0b099
Merge branch 'pr/810'
xael-fry Oct 2, 2015
eeda147
use cglib-3.1.jar + asm-all-5.0.4.jar instead of cglib-nodep-3.1.jar
asolntsev Jul 14, 2015
7cfb07d
[#1772] fix(Http): Fix redirect to wrong domain and port behind apache
Dec 20, 2013
84c79dc
* [#1772] fix(Http): Move code to parseXForwarded
xael-fry Oct 5, 2015
7170735
extract code for finding matching routes to a separate method
asolntsev Aug 29, 2015
a82e012
cache router actions to avoid excessive usage of regular expressions
asolntsev Aug 29, 2015
086a1a4
clear route actions cache when routes have been changed
asolntsev Aug 29, 2015
f963059
* [#1966] refactor(ApacheMultipartParser): avoid declaring finalize()…
asolntsev Jul 14, 2015
e072b3d
* Better support for jobs with multiple annotations, e.g. @OnApplicat…
angryziber Sep 4, 2015
f193fe5
* [#1991] feat(WS): Add ability to manually set a VirtualHost
xael-fry Oct 12, 2015
09f56a0
* [#1958] feat(testRunner): Add ability to define the timeout in test…
xael-fry Oct 16, 2015
259567c
* doc(release): add release note for 1.3.2. and 1.4.0
xael-fry Oct 16, 2015
002ac6e
Allow setting of cookies twice overwriting the previous maxAge.
angryziber Aug 28, 2015
de70210
handle forbidden() and badRequest() in exactly the same way as error()
angryziber Aug 28, 2015
8ad4766
[#1982] fix(Error): Do not spam logs with 403.txt or 500.txt not foun…
angryziber Sep 4, 2015
e495969
Fixed Javadoc comments for compatibility with doclint in JDK 8 Javadoc.
gslowikowski Nov 16, 2015
105d5ee
* [#2003] fix(PlayHanlder): make sure current response re-set before …
xael-fry Nov 27, 2015
c001800
* [#2000] chore(htmlunit): Update from v2.16 to v2.19
xael-fry Nov 17, 2015
dc2e02c
add method Plugin.onActionInvocationFinally
Nov 20, 2015
fbef742
* [#1995] feat(db): add documentation for the new DB properties
asolntsev Nov 1, 2015
243a770
* [#2004] feat(ssl): Add ability to define enabled protocols
xael-fry Nov 30, 2015
68c9373
extract code for detecting application.conf changes from Play.detectC…
asolntsev Oct 3, 2015
53d7c3a
use its own variable configLastModified instead of using Play.startedAt
asolntsev Oct 3, 2015
83af7d1
fix test
asolntsev Oct 8, 2015
f94331d
* [#1988] Add PATCH request support to WS.WSRequest
danielfpferreira Jul 8, 2015
4737bb9
* [#1993] test(images): fix path to run test with ant task
xael-fry Nov 30, 2015
eac6035
* doc(release): add doc for release 1.4.0, 1.3.3, 1.2.6.2 and 1.2.5.6
xael-fry Dec 14, 2015
245b453
Add forceSecureReverseRoutes config to docs
Dec 22, 2015
f5d99ad
Read forceSecureReverseRoutes in Router.java
Dec 22, 2015
deb7d53
* [#1934] feat(controller): Call all non-static controller methods on…
xael-fry Dec 25, 2015
bc81a70
* [#1934] doc(controller): Update docs explaining support for non-sta…
angryziber Apr 26, 2015
0cb7b68
Merge pull request #635 from svintus/master
xael-fry Dec 25, 2015
1037ad4
Handle EnumSet in collection binding
sbeigel Dec 17, 2015
6f4a8fc
EnumSet binding test added
sbeigel Dec 28, 2015
73c6fbf
"double semicolon" as escape
sbeigel Jan 12, 2016
df45590
* [#2014] fix(secure): Fix problem in secure module avoid to flash in…
xael-fry Jan 30, 2016
ddb7625
Add Gitter badge
gitter-badger Feb 4, 2016
125e091
Merge pull request #945 from gitter-badger/gitter-badge
xael-fry Feb 4, 2016
027bbc8
Update README.textile
xael-fry Feb 4, 2016
19651b0
Use StringBuilder instead of StringBuffer
sbeigel Feb 2, 2016
33d2d8c
default value of "XForwardedOverwriteDomainAndPort" setting should be…
asolntsev Feb 1, 2016
ad06226
avoid pointless loading the whole class definition
asolntsev Nov 11, 2014
76a198f
optimize ApplicationClassloader.getClassIgnoreCase(): postpone execut…
asolntsev Nov 23, 2014
ad0db1b
avoid reading Java file twice (in getApplicationClass and Application…
asolntsev Nov 23, 2014
8b6ddd4
Use shorter API
asolntsev Nov 23, 2014
b93d8ae
Use StringBuilder instead of old-fashioned StringBuffer that is slow …
asolntsev Nov 23, 2014
6ae880b
speed up method getClassIgnoreCase(): get class from Map instead of i…
asolntsev Aug 28, 2015
fd3ba4e
fix classloading on MacOS in precompiled mode
asolntsev Oct 29, 2015
75640b2
Libs: remove dependency on commons-collections
Feb 9, 2016
264bbbe
* fix(travis): moveback to the old structure as there is some issue w…
xael-fry Feb 15, 2016
f1058f5
add missing @Override annotations
asolntsev Feb 6, 2016
a297f35
* [#1939] chore(lib): Update to groovy from 2.3.9 to 2.4.5
xael-fry Dec 21, 2015
cd6bba4
optimize usage of StringBuilder
asolntsev Feb 6, 2016
494b9b7
avoid multiple creation of new arrays/maps
asolntsev Feb 6, 2016
88c1006
upgrade to groovy-all 2.4.6
asolntsev Feb 22, 2016
4e03f1b
make Lang.current final and non-public
asolntsev Feb 21, 2016
f639fd1
fix code formatting
asolntsev Feb 21, 2016
6b03819
cache result of method Lang.getLocale()
asolntsev Feb 21, 2016
9ca303e
add hibernate-ehcache jar to be able to use ehcach as second level cache
Feb 23, 2016
4ad6cf2
Change getString,getJson,getXml implementations for WS so they do no…
Feb 23, 2016
efb85ef
* [#2015] fix(i18n): Fix i18n tag only restore to restore all '%' cha…
xael-fry Feb 22, 2016
1a5ef54
Merge pull request #958 from scesbron/bugfix-add-hibernate-ehcache-jar
xael-fry Feb 25, 2016
c43e050
[#2034] chore(lib): Add hibernate-ehcache in dependencies
xael-fry Feb 25, 2016
5791c09
missing methods implemented to support (2nd level) caching
sbeigel Feb 17, 2016
1fd5b60
cleanup & refactored encoding/decoding
sbeigel Feb 18, 2016
622c99c
* chore(travis): Add webhooks notification to gitter
xael-fry Feb 25, 2016
4b2d934
Merge pull request #959 from scesbron/bugfix-ws-getstring
xael-fry Feb 25, 2016
d480af4
Make method Cache.clear() null-safe
asolntsev Feb 6, 2016
ae4a969
class caches added
sbeigel Jan 31, 2016
1af0cdf
Merge pull request #936 from tonybaroneee/force-secure-reverse-routes…
xael-fry Feb 25, 2016
94c3a18
* [#2037] use correct encoding in method WSAsync.getString()
xael-fry Mar 3, 2016
82d11e2
* [#2039] chore(lib): Update gson from 2.3.1 to 2.6.2
xael-fry Mar 2, 2016
de53b47
* [#2039] chore(lib): Update cglib from 3.1 to 3.2.1
xael-fry Mar 2, 2016
97b5250
* [#3214] chore(lib): update commons-beanutils from 1.8.3 to 1.9.2
xael-fry Mar 2, 2016
45f4f8a
* [#3214] chore(lib): update commons-collections from 3.2.1 to 3.2.2
xael-fry Mar 2, 2016
65ad4fc
* [#2039] chore(lib): Update commons-email from 1.3.3 to 1.4
xael-fry Mar 2, 2016
94f979e
* [#2039] chore(lib): Update javassist from 3.19.0-GA to 3.20.0-GA
xael-fry Mar 2, 2016
4de3dc0
* [#2039] chore(lib): Update joda-time from 2.8.2 to 2.9.2
xael-fry Mar 2, 2016
ef8de47
* [#2039] chore(lib): Update slf4j-api from 1.7.10 to 1.7.16
xael-fry Mar 2, 2016
f6f7d26
* [#2039] chore(lib): Update oval from 1.84 to 1.85
xael-fry Mar 2, 2016
7563e17
* [#2039] chore(lib): Update snakeyaml from 1.15 to 1.17
xael-fry Mar 2, 2016
e92685d
* [#2039] chore(lib): Update spymemcached from 2.11.7 to 2.12
xael-fry Mar 2, 2016
7dcda95
* [#2039] chore(lib): Update xstream from 1.4.7 to 1.4.8
xael-fry Mar 2, 2016
5368db8
never ever swallow exceptions!
asolntsev Mar 13, 2016
be5310c
do not modify global list, collect FastTags subclasses to a local list
asolntsev Mar 13, 2016
9f360dc
make ApplicationClassloader methods and fields less visible;
asolntsev Mar 13, 2016
2a46c54
fix invalid usages of Play.classloader.getAssignableClasses(): it ret…
asolntsev Mar 22, 2016
e223a51
make play.inject.Injector work with unmodifiable class lists, which P…
angryziber Apr 13, 2016
28758dc
* [#2042] chore(deps): upgrade Play! dependencies:
xael-fry Mar 22, 2016
9c2d5ef
support empty values in validation error arguments
Apr 1, 2016
d6f6c97
* chore(dependencies): use correct version in dependencies
xael-fry May 13, 2016
6c9a5c4
upgrade to cglib 3.2.2
asolntsev May 3, 2016
da86b9a
* [#2050] chore(lib): update netty from 3.10.4 to 3.10.5
xael-fry May 30, 2016
0b9332f
* [#2050] chore(lib): update async-http-client from 1.9.31 to 1.9.38
xael-fry May 31, 2016
a5868ca
* [#2050] chore(lib): update common-io from 2.4 to 2.5
xael-fry Jun 1, 2016
d070f6c
* [#2050] chore(lib): update slf4j-api from 1.7.18 to 1.7.21
xael-fry Jun 1, 2016
008b89f
[#2051] do not allow direct execution of @Util and @Catch methods
May 27, 2016
a625a85
[#2051] refactor(ActionInvoker): remove isActionMethod as test is alr…
xael-fry Jun 6, 2016
ef29f29
[#2055] and [#2056] dependencies upgrade: joda-time (2.9.2 -> 2.9.4) …
dejan2609 Jun 10, 2016
1fc8555
Merge branch 'master' of https://github.com/yext/play1 into yext-master
asolntsev Jun 13, 2016
5210410
Merge branch 'yext-master'
asolntsev Jun 13, 2016
0702d7a
fix KeyError: 'disable_random_jpda' in application.check_jpda
asolntsev Jun 13, 2016
e08b50e
[#2052] make session put with Object work the same way as with String
May 31, 2016
28f65d7
code cleanup: remove unneeded operators and useless comments (that ju…
asolntsev Jun 15, 2016
6c0743b
fix spelling error: "occured" -> "occurred"
asolntsev Jun 15, 2016
7ff4143
code cleanup: remove unneeded constructors
asolntsev Jun 15, 2016
209a5f5
fix usage of String.format(); add tests
asolntsev Jun 15, 2016
791a1ca
fix UnexpectedException.getErrorDescription(): write error message in…
asolntsev Jun 15, 2016
ea1c5d6
#982 `play build-module` should exit with error code if build failed
asolntsev Jun 26, 2016
fa27b1b
ignore classes compiled by IDEA
asolntsev Jun 26, 2016
62fa952
fixed unit testing for YABE
pareis May 2, 2015
774698e
fix flaky test: it should depend on order of map elements
asolntsev Jun 27, 2016
73f3ef4
#982 fix formatting of python script
asolntsev Jun 26, 2016
a1f3522
* [#2059] documentation: Rework release note in separate folders
xael-fry Jun 21, 2016
03c8abd
[#2062] Reverse routing improvement
Sep 6, 2016
0394ccc
[#2062] Reverse routing improvement
Sep 7, 2016
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
  •  
  •  
  •  
137 changes: 25 additions & 112 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,133 +1,46 @@
# General temp files
.DS_Store
*.ser
*.pyc

# Files related to Play build or usage
id
dist
out
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

25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
sudo: required
language: java
jdk:
- openjdk7
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
- cat /etc/hosts # optionally check the content *after*
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:
webhooks:
urls:
- https://webhooks.gitter.im/e/6da3b55e59cded84b8bd
on_success: always
on_failure: always
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
35 changes: 26 additions & 9 deletions README.textile
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
h1. Welcome to Play framework
h1. Welcome to Play framework

!https://travis-ci.org/playframework/play1.svg?branch=master!: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.

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 +28,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 @@ -45,6 +47,21 @@ h2. Reporting bugs

Please report bugs on "our lighthouse tracker":http://play.lighthouseapp.com/projects/57987-play-framework.

h2. Learn More

* "www.playframework.com":https://www.playframework.com
* "Download":https://www.playframework.com/download
* "Install":https://www.playframework.com/documentation/1.3.x/install
* "Create a new application":https://www.playframework.com/documentation/1.3.x/guide1
* "Build from source":https://www.playframework.com/documentation/1.3.x/install#build
* "Modules":https://www.playframework.com/modules
* "Search or create issues":http://play.lighthouseapp.com/projects/57987-play-framework
* "Get help":http://stackoverflow.com/questions/tagged/playframework
* "Code of Conduct":https://www.playframework.com/conduct
* "Contribute":https://github.com/playframework/play1/wiki/Contributor-guide
* "Play contributor guidelines":https://www.playframework.com/contributing


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*
バインドできないフィールドを示します。
Loading