- 13 Feb, 2017 1 commit
-
-
Stephane Nicoll authored
Closes gh-8271
-
- 12 Feb, 2017 2 commits
-
-
Stephane Nicoll authored
See gh-8248
-
Stephane Nicoll authored
Closes gh-8259
-
- 08 Feb, 2017 8 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-8146
-
Andy Wilkinson authored
Closes gh-8197
-
Stephane Nicoll authored
* pr/8226: Fix link in doc to Spring Test
-
Kamil Wozniak authored
Closes gh-8226
-
Stephane Nicoll authored
Closes gh-8222
-
Andy Wilkinson authored
Previously, if the configured error controller responded with a redirect to an error caused by an exception, standalone Tomcat would render its default error page for the original exception. This occurred because ErrorPageFilter sets the javax.servlet.error.exception request attribute prior to dispatching to the error controller and then does not clear it. As the request unwinds, Tomcat's ErrorReportValve notices that the attribute is set and renders an error page for the exception that is the attribute's value. This commit updates ErrorPageFilter to remove the javax.servlet.error.exception and javax.servlet.error.exception_type attributes upon successful completion of a forward to the error controller. This prevents Tomcat from rendering an error page for an exception that has already been handled by the error controller. Closes gh-7920
-
Andy Wilkinson authored
Closes gh-5133 Closes gh-7886
-
- 07 Feb, 2017 3 commits
-
-
Andy Wilkinson authored
Previously, SocialWebAutoConfiguration would create a SpringSocialDialect bean when SpringTemplateEngine was on the classpath. This class exists in both Thymeleaf 2 and Thymeleaf 3 but SpringSocialDialect is only compatible with Thymeleaf 2. This commit updates the auto-configuration to require SpringResourceResourceResolver to be on the classpath. This class exists in Thymeleaf 2 but does not exist in Thymeleaf 3. Closes gh-4858
-
Stephane Nicoll authored
Closes gh-8213
-
Stephane Nicoll authored
Closes gh-8214
-
- 05 Feb, 2017 3 commits
-
-
Stephane Nicoll authored
* pr/8196: Polish pid metadata Fix pid properties link in documentation
-
Stephane Nicoll authored
This commit moves the `spring.pid.*` metadata to the relevant project. It also updates the doc to refer to the new `ApplicationPidFileWriter` rather than the one in its deprecatred form. Closes gh-8196
-
zhanhb authored
See gh-8196
-
- 02 Feb, 2017 1 commit
-
-
Andy Wilkinson authored
Previously, TestRestTemplate applied the root URI to URIs by converting them to a String and then passing the String to the RestTemplate delegate. Being a String, meant that the URI passed through RestTemplate's standard URI template expansion processing using the configured UriTemplateHandler. While this caused the root URI to be applied, it also had the unwanted side-effect of encoding the URI for a second time. This commit updates TestRestTemplate so that, when configured with a RootUriTemplateHandler, it applies the root URI directly and then passes a modified URI to the RestTemplate delegate. Being a URI means that no template expansion is performed and the possible double encoding is avoided. Closes gh-8163
-
- 01 Feb, 2017 3 commits
-
-
Stephane Nicoll authored
* pr/8157: Polish contribution Update copyright header
-
Stephane Nicoll authored
Closes gh-8157
-
Raja Kolli authored
See gh-8157
-
- 26 Jan, 2017 10 commits
-
-
Andy Wilkinson authored
Previously, ManagementContextConfiguration classes were loaded to allow them to be ordered based on either @Order or implementing Ordered. This had the unwanted side-effect of possibly logging unwanted INFO messages if the reflection-based annotation introspection failed. One cause of this was @ConditionalOnClass when the referenced class was not on the classpath. This commit uses the ASM-based annotation metadata reading to determine the order of a management context configuration class based on the @Order annotation. The classes are then sorted using a standard OrderComparator. Note that Ordering via implemented Ordered is not supported as it cannot be determine without loading the class.
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
Stephane Nicoll authored
Closes gh-8112
-
Stephane Nicoll authored
See gh-8112
-
Stephane Nicoll authored
Closes gh-8032
-
Phillip Webb authored
Closes gh-7703
-
Phillip Webb authored
Update all `EmbeddedServletContainer` implementations to ensure that the `start()` method can be called multiple times, with the second call being ignored. Fixes gh-8036
-
Phillip Webb authored
Update `Log4J2LoggingSystem` and `LogbackLoggingSystem` to ensure that filters are removed when the `cleanUp` method is called. Prior to this commit application failures would not remove the filter and no log messages would appear. The `LoggingApplicationListener` has also been updated since it previously failed to handle `ApplicationFailureEvents`. Finally `EventPublishingRunListener` and `DelegatingApplicationListener` have been updated to deal with `null` parameters and to cope with listener errors. Fixes gh-7758
-
Phillip Webb authored
-
- 25 Jan, 2017 4 commits
-
-
Andy Wilkinson authored
This reverts commit 70cd5c42. See gh-8083
-
Stephane Nicoll authored
Closes gh-7774
-
Andy Wilkinson authored
Previously, AbstractEmbeddedServletContainerFactory detected an exploded war by looking for `/WEB-INF/` in the path of its code source's location. This failed on Windows due to the use of `\` rather than `/` separators. This commit updates AbstractEmbeddedServletContainerFactory to uses the OS's separator rather than hardcoding `/`. Closes gh-8100
-
Stephane Nicoll authored
Closes gh-8102
-
- 24 Jan, 2017 5 commits
-
-
Andy Wilkinson authored
Closes gh-8086
-
Andy Wilkinson authored
Closes gh-8085
-
Andy Wilkinson authored
Closes gh-8084
-
Andy Wilkinson authored
Closes gh-8083
-
Andy Wilkinson authored
Closes gh-8082
-