1505 Commits

Author SHA1 Message Date
Stephane Nicoll
8ad477537e Fail fast if both uri and client attributes are set
Previously, an URI and individual client attributes can be set to
configure the mongo client. In such a scenario, the URI is ignored.

This commit changes the URI to be "null" and the creation of the client
to fail if both the uri and client attributes are set. If no client
attributes are set, the uri is used as before.

Closes gh-6739
2016-10-03 11:29:20 +02:00
Stephane Nicoll
e643fc5bd1 Merge branch '1.4.x' into 1.5.x 2016-10-02 11:08:33 +02:00
Johnny Lim
503d735fdd Polish
Closes gh-7081
2016-10-02 11:07:04 +02:00
Stephane Nicoll
75f475f2c8 Merge branch '1.4.x' into 1.5.x 2016-10-01 13:20:45 +02:00
Michael Stummvoll
914becac0e Fix thymeleaf-layout-dialect.version in doc
Version 2.0.0 had serval bugs which broke compatibility to older
templates, so the guide should refer the fixed version instead.

Closes gh-6991
2016-10-01 13:18:37 +02:00
Andy Wilkinson
2a035d0748 Remove support for Velocity following its deprecation in 1.4
Closes gh-6971
2016-09-29 15:44:36 +01:00
Andy Wilkinson
464915d2cc Remove support for HornetQ following its deprecation in 1.4
See gh-6971
2016-09-29 15:44:36 +01:00
Stephane Nicoll
9210bf0822 Merge branch '1.4.x' into 1.5.x 2016-09-27 10:14:37 +02:00
Stephane Nicoll
a2794d75c3 Clarify couchbase cache requirements
Closes gh-6998
2016-09-27 10:12:59 +02:00
Stephane Nicoll
542e935bb6 Fix typo
Closes gh-7026
2016-09-27 10:03:00 +02:00
Stephane Nicoll
7d73abc04f Merge branch '1.4.x' into 1.5.x 2016-09-26 10:36:02 +02:00
Stephane Nicoll
f1fddd243b Document spring.http.encoding.mapping
Closes gh-7017
2016-09-26 10:35:45 +02:00
Stephane Nicoll
bd7c20eb1c Deprecate Guava support 2016-09-21 14:59:02 +02:00
Stephane Nicoll
ce1e41dce3 Remove deprecated code
This code removes code deprecated in 1.4 with the exception of code that
requires an update to Spring Framework 5.

Closes gh-6971
2016-09-21 14:30:28 +02:00
Andy Wilkinson
be33827f49 Simplify property validation sample and document need for static bean method
Closes gh-6627
2016-09-20 21:33:31 +01:00
Andy Wilkinson
6565ff616a Clarify documentation on using a Spring Boot app as a dependency
Closes gh-6812
2016-09-19 14:00:15 +01:00
Johnny Lim
a994b11a73 Polish 2016-09-18 23:38:21 -07:00
Phillip Webb
7ec14774a8 Polish 2016-09-18 23:37:46 -07:00
Stephane Nicoll
b69fd9229d Merge branch '1.3.x' 2016-09-18 17:12:39 +02:00
Stephane Nicoll
04b261984e Polish 2016-09-18 17:12:21 +02:00
Mike Gehard
3d8b51d2e4 Link to Spring Security OAuth2 reference docs
Update documentation to include a link to Spring Security OAuth2's
reference documentation.

Closes gh-6909
2016-09-17 19:46:19 -07:00
Stephane Nicoll
6ec1ac0aa0 Fix doc syntax
See gh-6593
2016-09-17 08:04:00 +02:00
Phillip Webb
0eab3e0c5a Drop printed link to reference documentation
Tweak the fix from 50c68a49 to no longer print a link the reference
documentation.

See gh-6593
2016-09-16 17:52:25 -07:00
Phillip Webb
825dd0a26c Merge branch '1.3.x' 2016-09-16 15:07:18 -07:00
Phillip Webb
b97e0bd471 Allow HttpPutFormContentFilter to be disabled
Add `spring.mvc.formcontent.putfilter.enabled` property to allow the
HttpPutFormContentFilter to be disabled.

Fixes gh-6519
2016-09-16 14:14:21 -07:00
Stephane Nicoll
b77eddb8bb Merge branch '1.3.x' 2016-09-16 16:58:53 +02:00
Stephane Nicoll
c2cdc1424b Polish documentation
Add an explicit note that states that "spring.datasource.url" (or more
specifically "spring.datasource.class-name" that is inferred from the
former) is necessary to connect to a database. If the class-name isn't
specified, Spring Boot will attempt to auto-configure an embedded
database.

Closes gh-6907
2016-09-16 16:58:39 +02:00
Stephane Nicoll
50c68a497b Improve startup error message
This commit improves the startup error message so that it does not
reference  `--debug` anymore. Such command-line switch only works when
the application is started using `java -jar`.

The error message now refers directly to a section of the documentation
that provides more details and links to more useful examples.

Closes gh-6593
2016-09-16 16:37:50 +02:00
Phillip Webb
5f7897ba41 Refine inner-class test @Configuration detection
Update detection logic to also consider `@Rules` classes. Also make the
documentation a little clearer.

Fixes gh-6768
2016-09-15 16:55:49 -07:00
Kazuki Shimizu
2cedb45c68 Document devtools properties in config load order
Add reference to `~/spring-boot-devtools.properties` in
"Externalized Configuration" section.

Closes gh-6891
2016-09-15 10:28:45 -07:00
Andy Wilkinson
28ea6fd38a Fix LegacyCookieProcessor configuration example and test it
Closes gh-6827
2016-09-15 14:53:14 +01:00
Andy Wilkinson
5c632dfc8b Merge branch '1.3.x 2016-09-15 14:06:11 +01:00
Andy Wilkinson
30cb15a0d5 Update docs to note that Gradle 3 is not supported
Breaking API changes in Gradle 3.0 make it impossible to support
it reliably alongside Gradle 1 and 2 without mainintaining multiple
versions of our Gradle plugin. This commit updates the documentation
to note that Gradle 3 is not supported.

Closes gh-6880
2016-09-15 14:01:53 +01:00
Stephane Nicoll
7e263d899f Polish cache doc
Closes gh-6892
2016-09-15 13:44:05 +02:00
Phillip Webb
3d89dabb4b Document how to use LegacyCookieProcessor
Closes gh-6827
2016-09-14 20:18:49 -07:00
Stephane Nicoll
5d3ac53da9 Polish
See gh-6870
2016-09-14 16:34:01 +02:00
Stephane Nicoll
878a052567 Add reference to SpringBootTest#properties
Closes gh-6870
2016-09-14 14:16:12 +02:00
Stephane Nicoll
ee668e6782 Polish contribution
Closes gh-6651
2016-09-12 14:53:02 +02:00
Stephane Nicoll
a347a780e7 Polish contribution
Closes gh-6649
2016-09-12 14:34:40 +02:00
Brian Clozel
274734e787 Add spring.thymeleaf.check-template property
This commit adds a new `spring.thymeleaf.check-template` property which
is only used for Thymeleaf 3.0+.

Since thymeleaf/thymeleaf#419, the Thymeleaf template resolver
implementations can implement the `setCheckExistence` method - this
enables the template existence verification at **resolution** time,
which means the resolver can return null as a `TemplateResolution`
and let other template resolvers in the chain try.

This new property is set to `true` by default and can be disabled if the
application only has a single resolver and the template existence check
is considered as a performance penalty with the configured resolver.

Fixes gh-6500
2016-09-09 16:35:57 +02:00
making
8a5c026a9d Add spring.http.multipart.resolve-lazily
This commit adds the `spring.http.multipart.resolve-lazily`
property, in order to configure whether the multipart request
should be resolved lazily, as the parameters are accessed.
2016-09-09 10:34:49 +02:00
Brian Clozel
f0259c82de Fix documentation on extending Spring MVC
When extending `WebMvcConfigurerAdapter`, developers should always
declare those as `@Configuration` classes rather than `@Bean`s, which
can lead to dependency issues as described in #6853.

Fixes gh-6853
2016-09-09 09:45:54 +02:00
Stephane Nicoll
0233455612 Merge branch '1.3.x' 2016-09-09 07:43:41 +02:00
Huang YunKun
9cb269d14d Trace endpoint defaults to 100
Closes gh-6847
2016-09-09 07:42:56 +02:00
Zoltan Altfatter
2ed479fdc4 Fix description for max-interval property
Closes gh-6836
2016-09-08 07:55:10 +02:00
Phillip Webb
41dc53f5dd Polish 2016-09-07 08:34:45 -07:00
Stephane Nicoll
6f70d53285 Add documentation for FailureAnalyzer
Closes gh-6775
2016-09-02 13:11:50 +02:00
Stephane Nicoll
52d7282f5e Auto-configure JdbcTemplate with DataJpaTest
This commit adds `JdbcTemplateAutoConfiguration` to the list of auto-
configurations that are applied with `DataJpaTest`. This effectively
allows to inject a `JdbcTemplate` in any `@DataJpaTest` test.

Closes gh-6802
2016-09-02 09:38:07 +02:00
Phillip Webb
2a22a7af12 Remove ApplicationInfo
Rework commit 4a69755b to remove the need for the ApplicationInfo class.
The updated code now uses the auto-configuration class to compute a
default persistence unit root location

Closes gh-6635
2016-08-31 14:49:15 +02:00
Stephane Nicoll
7765d31edd Merge branch '1.3.x' 2016-08-31 10:47:54 +02:00