81 Commits

Author SHA1 Message Date
Phillip Webb
66f8279f65 Polish 2018-01-22 14:06:18 -08:00
Brian Clozel
a8baf42f2f Ensure that CharacterEncodingFilter is ordered first
This commit makes sure that `CharacterEncodingFilter` is ordered with
the `Ordered.HIGHEST_PRECEDENCE` and that other filters, potentially
reading the request body, are ordered after.

In this particular case, both `WebMvcMetricsFilter` and
`ErrorPageFilter` are now ordered at `Ordered.HIGHEST_PRECEDENCE + 1` to
avoid cases where the request body is read before the encoding
configuration is taken into account.

Closes gh-11607
2018-01-22 21:08:21 +01:00
Madhura Bhave
d9ff51ccd3 Add StaticResourceRequest for WebFlux Security
Closes gh-11040
2018-01-20 10:00:08 +05:30
Phillip Webb
f3379668ac Polish 2018-01-18 23:21:51 -08:00
Johnny Lim
e7185ea2b1 Polish
Closes gh-11655
2018-01-17 14:16:07 +01:00
Brian Clozel
1e648801bd Move spring.mvc.media-types to content-negotiation
This commit moves "spring.mvc.media-types" to the
"spring.mvc.content-negotiation.*" namespaces introduced in gh-11105.

Closes gh-11636
2018-01-16 11:35:49 +01:00
Gary Russell
0af67b86ed Polish Kafka documentation
Closes gh-11638
2018-01-16 08:48:34 +01:00
Brian Clozel
22c22a1ced Move server.session.* to server.servlet.session.*
Closes gh-11589
2018-01-15 17:50:32 +01:00
Brian Clozel
67e5897c40 Disable suffix pattern matching in Spring MVC
This commit disables by default suffix pattern matching in Spring MVC
applications. As described in the Spring MVC documentation (see
https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc-ann-requestmapping-suffix-pattern-match),
this is considered as best practice.

This change also introduces new configuration properties to achieve
similar results in a safer way (using query parameters) or to rollback
to the former default.

Closes gh-11105
2018-01-15 11:58:26 +01:00
Johnny Lim
77150f8dc9 Polish
Closes gh-11630
2018-01-15 10:20:31 +01:00
Andy Wilkinson
a051e30fe0 Publish an event after refresh but before runners are called
This commit partially reverts the changes made in ec470fbe. While
the started message continues to be logged before any application and
command line runners are called, the publishing of
ApplicationReadyEvent now happens after the runners have been called.
Additionally, a new event, named ApplicationStartedEvent, has been
introduced. This new event is published after the context has been
refreshed but before any application and command line runners are
called.

Closes gh-11484

The reworking of the events described above also means that either
an ApplicationReadyEvent or an ApplicationFailedEvent will be
published and the latter should never be published once the former
has been published.

Closes gh-11485
2018-01-11 11:26:53 +00:00
Stephane Nicoll
4a9123d6e3 Detect user-defined RedisCacheConfiguration
This commits improves the cache auto-configuration for Redis by looking
up a custom "RedisCacheConfiguration" bean that allows to take full
control over the `RedisCacheManager`.

Closes gh-11599
2018-01-11 11:52:08 +01:00
Stephane Nicoll
027e6baba5 Improve documentation for WebTestClient
Closes gh-11203
2018-01-10 16:15:15 +01:00
Madhura Bhave
e57aafd63d Provide EndpointRequest for WebFlux-based Security
Closes gh-11022
2018-01-09 16:06:36 -08:00
Stephane Nicoll
1b1852d5c8 Polish WebFlux.fn documentation
Closes gh-11576
2018-01-09 09:58:27 +01:00
Stephane Nicoll
b7f60c2ded Configure NettyStreamFactoryFactory by default if available
Closes gh-11526
Closes gh-10961
2018-01-08 10:46:51 +01:00
Stephane Nicoll
2b38ee9daf Polish 2018-01-08 10:38:59 +01:00
Johnny Lim
37d8eedae3 Polish
Closes gh-11510
2018-01-05 10:29:22 +01:00
Madhura Bhave
7c5cf903fc Remove management.security.enabled from documentation
Fixes gh-11383
2018-01-04 16:23:14 -08:00
Brian Clozel
c6a1fc93bd Polish 2018-01-04 14:48:23 +01:00
Jay Bryant
0e7dbd59b2 Full editing pass plus linking
I made a complete editing pass plus another pass to see where I could add more links, both within the document and to other parts of Spring. The result was a thorough edit (though I'm sure I missed things, purely due to the size of the thing).
2018-01-04 14:34:50 +01:00
Stephane Nicoll
f0b210c751 Merge branch '1.5.x' 2018-01-02 15:58:49 +01:00
Johnny Lim
a462255383 Polish
Closes gh-11451
2018-01-01 08:41:09 +01:00
Johnny Lim
24b5a78e39 Polish
Closes gh-11448
2017-12-30 17:21:13 +01:00
Joe Kutner
c5695c8f78 Fix spring.quartz.jdbc.initialize-schema value
Use enum value from DataSourceInitializationMode instead of Boolean.

Closes gh-11433
2017-12-27 16:15:25 +01:00
Stephane Nicoll
b7c2bd9ca8 Remove problematic words from documentation
Closes gh-11224
2017-12-14 14:49:24 +01:00
Stephane Nicoll
e5361d887c Relocate banner properties to spring.banner
Closes gh-11339
2017-12-13 12:01:23 +01:00
Johnny Lim
de72f2ae32 Polish
Closes gh-11327
2017-12-13 09:38:20 +01:00
Madhura Bhave
4b73c5748b Fix typo in documentation
Fixes gh-11329
2017-12-12 10:50:55 -08:00
Stephane Nicoll
e274f29018 Add "testing your auto-configuration" doc section
Closes gh-10011
2017-12-12 17:01:40 +01:00
Madhura Bhave
47ed096981 Make default username and password configurable
Closes gh-10963
2017-12-11 15:15:47 -08:00
Stephane Nicoll
1620ac42b3 Polish contribution
Closes gh-11143
2017-11-27 10:14:34 +01:00
Johnny Lim
d9828a0aaa Polish
See gh-11143
2017-11-27 10:14:18 +01:00
Stephane Nicoll
3a6170c019 Polish 2017-11-24 10:45:11 +01:00
Johnny Lim
01a48412d2 Polish
Closes gh-11126
2017-11-23 16:00:55 +00:00
Stephane Nicoll
f7ed24cb7c Merge branch '1.5.x' 2017-11-23 10:46:29 +01:00
Phillip Webb
07f71e889e Move /application to /actuator
Change the endpoint default path from `/application` to `/actuator`.

Fixes gh-10970
2017-11-22 23:18:22 -08:00
Andy Wilkinson
2b1d1cd317 Polish "Auto-configure templated welcome page"
Closes gh-10545
2017-11-21 15:21:57 +00:00
Johnny Lim
73c65286ea Polish 2017-11-18 10:07:30 -08:00
dreis2211
23da409b31 Remove duplicate words
Closes gh-11073
2017-11-18 09:17:30 +01:00
Madhura Bhave
4a41c02926 Update redirect-uri-template in oauth sample and docs
Fixes gh-11014
2017-11-17 11:29:01 -08:00
Johnny Lim
e8563c54dd Polish
Closes gh-11050
2017-11-17 09:56:16 +01:00
Johnny Lim
72e5ba3e24 Fix a broken Asciidoctor syntax
Closes gh-11044
2017-11-16 11:29:30 +01:00
Phillip Webb
f647f5689f Polish 2017-11-15 12:47:47 -08:00
Stephane Nicoll
d3daded636 Reinstate spring-boot-starter-data-redis-reactive
Closes gh-11035
2017-11-15 19:02:59 +01:00
Stephane Nicoll
370453c765 Fix reference to AutoConfigurationReportLoggingInitializer in docs
Closes gh-11026
2017-11-15 09:14:01 +01:00
Madhura Bhave
5f5e7e5089 Update list overriding documentation
Closes gh-11012
2017-11-14 12:27:42 -08:00
Stephane Nicoll
bbdff1a5bf Polish "Add support for reactive Spring Data Couchbase"
Closes gh-10812
2017-11-14 17:49:02 +01:00
Stephane Nicoll
792de8f42a Add a note regarding Jackson Module usage with Web[Mvc|Flux]Test
Closes gh-10648
2017-11-14 15:29:47 +01:00
Stephane Nicoll
1830dcf103 Rename AutoConfigurationReportEndpoint to ConditionsEndpoint
This commit further aligns the change to ConditionEvaluationReport by
renaming the 'autoconfig' endpoint to 'conditions'.

Closes gh-2945
2017-11-14 15:25:07 +01:00