81 Commits

Author SHA1 Message Date
Andy Wilkinson
e92e56dda5 Drop LevelRemappingAppender
Drop LevelRemappingAppender as, following the changes made in e8f8556d
for gh-7657, it was no longer having any effect.

Closes gh-10842
2017-11-12 12:00:59 +00:00
Stephane Nicoll
5072d4ab04 Merge branch '1.5.x' 2017-11-12 12:38:24 +01:00
Andy Wilkinson
f1555319c4 Correct static-path-pattern property in WebFlux documentation
Closes gh-10843
2017-11-12 11:24:02 +00:00
Stephane Nicoll
4e88db9883 Scan converters with @WebMvcTest and @WebFluxTest
This commit makes sure to automatically scan `Converter` and
`GenericConverter` beans when a test uses `@WebMvcTest` or
`@WebFluxTest`.

Closes gh-10802
2017-11-10 15:58:27 +01:00
Stephane Nicoll
46ef178f04 Polish "Improve cache auto-configuration for Redis"
Closes gh-10944
2017-11-10 14:42:50 +01:00
Andy Wilkinson
e9c81bf702 Polish 2017-11-09 17:07:15 +00:00
Madhura Bhave
7c3e555ff9 Update Security features documentation
Closes gh-10844
2017-11-08 13:27:28 -08:00
Johnny Lim
c05a299520 Polish
Closes gh-10921
2017-11-06 12:28:43 +01:00
Jay Bryant
92e0eb0230 Format spring-boot-features.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10896
2017-11-02 23:22:18 -07:00
Phillip Webb
f0327fbd0d Polish SizeAndTimeBasedRollingPolicy changes
Closes gh-6352
2017-11-02 15:21:14 -07:00
Vedran Pavic
991468b0ef Use SizeAndTimeBasedRollingPolicy file appender
Update the logback file appender to use `SizeAndTimeBasedRollingPolicy`
rather than `FixedWindowRollingPolicy`.

Add two new properties to improve log file configuration capabilities:

 - `logging.file.max-history` to limit the number of archive log files
    to keep.
 - `logging.file.max-size` to limit the log file size.

See gh-6352
2017-11-02 15:18:16 -07:00
Andy Wilkinson
8eae372433 Change handling of spring.config.location so it replaces defaults
Previously, spring.config.name was handled in such a way that its
value would replace the defaults. By constrast, spring.config.location
would add to the defaults.

Update the handling of spring.config.location so that it replaces the
defaults. This aligns its behaviour with spring.config.name. To allow
users to add additional locations a new property,
spring.config.additional-location, has been introduced. It behaves as
spring.config.location did prior to this change.

Closes gh-10595
2017-11-02 17:12:22 +00:00
Stephane Nicoll
5139881c4a Fix broken indent 2017-11-01 08:32:20 +01:00
Andy Wilkinson
28652209d6 Wrap spring-boot-features.adoc at 90 characters
Closes gh-10797
2017-10-31 19:05:18 +00:00
Jay Bryant
2e89fa7618 Make editorial changes to spring-boot-features.adoc
See gh-10797
2017-10-31 19:05:18 +00:00
dreis2211
ddb6176f88 Fix duplicated 'the' in Quartz scheduler doc section
Closes gh-10824
2017-10-30 16:32:14 +01:00
Andy Wilkinson
a276356328 Add auto-configuration for Spring Session's reactive support
Closes gh-9850
2017-10-30 15:19:41 +00:00
Andy Wilkinson
5aa66305a8 Log warning when open-in-view is implicitly enabled for JPA or Neo4j
Closes gh-7107
2017-10-30 12:37:38 +00:00
Stephane Nicoll
ef80772b92 Merge branch '1.5.x' 2017-10-20 17:31:44 +02:00
Andy Wilkinson
fa1eceda8d Merge branch '1.5.x' 2017-10-20 10:30:46 +01:00
Stephane Nicoll
61f16fe68f Merge branch '1.5.x' 2017-10-20 11:04:53 +02:00
Stephane Nicoll
a8e0b0dd4e Merge branch '1.5.x' 2017-10-20 08:42:17 +02:00
Stephane Nicoll
ef9b9d9a3e Polish
See gh-10671
2017-10-20 08:13:40 +02:00
Stephane Nicoll
b2839e2210 Merge branch '1.5.x' 2017-10-18 21:12:15 +02:00
Johnny Lim
caa6e18be1 Remove "Securing the H2 console" section
Closes gh-10657
2017-10-17 15:44:13 +02:00
Vedran Pavic
12233672db Use properties in Security OAuth2 Client doc config example
Closes gh-10615
2017-10-17 09:07:59 +02:00
Vedran Pavic
d705696bdd Fix Security OAuth2 Client documentation
This commit fixes incorrect section level and sample configuration properties.

See gh-10615
2017-10-17 09:07:43 +02:00
Brian Clozel
68db43cf44 Support error conventions in Spring WebFlux
This commit adds support for Spring Boot error conventions with WebFlux.
The Spring MVC support for that is based on an `Controller` that's
mapped on a specific `"/error"` path and configured as an error page in
the Servlet container. With WebFlux, this support leverages a
`WebExceptionHandler`, which catches exceptions flowing through the
reactive pipeline and handles them.

The `DefaultErrorWebExceptionHandler` supports the following:
* return a JSON error response to machine clients
* return error HTML views (templates, static or default HTML view)

One can customize the error information by contributing an
`ErrorAttributes` bean to the application context.

Spring Boot provides an `ErrorWebExceptionHandler` marker interface and a
base implementation that provides high level constructs to handle
errors, based on the Spring WebFlux functional flavor.
The error handling logic can be completely changed by providing a custom
`RouterFunction` there.

Fixes gh-8625
2017-10-16 21:55:05 +02:00
Andy Wilkinson
f8602817af Merge branch '1.5.x' 2017-10-13 16:30:17 +01:00
Johnny Lim
a51765d0f4 Fix broken documentation links
Update links following recent project restructure.

Closes gh-10601
2017-10-11 13:30:35 -07:00
Phillip Webb
0ba4830b4f Relocate projects to spring-boot-project
Move projects to better reflect the way that Spring Boot is released.

The following projects are under `spring-boot-project`:

  - `spring-boot`
  - `spring-boot-autoconfigure`
  - `spring-boot-tools`
  - `spring-boot-starters`
  - `spring-boot-actuator`
  - `spring-boot-actuator-autoconfigure`
  - `spring-boot-test`
  - `spring-boot-test-autoconfigure`
  - `spring-boot-devtools`
  - `spring-boot-cli`
  - `spring-boot-docs`

See gh-9316
2017-10-04 16:34:23 -07:00