- 22 Feb, 2017 11 commits
-
-
Andy Wilkinson authored
Closes gh-8364
-
Andy Wilkinson authored
Closes gh-8363
-
Andy Wilkinson authored
Closes gh-8362
-
Andy Wilkinson authored
Closes gh-8361
-
Andy Wilkinson authored
Closes gh-8360
-
Andy Wilkinson authored
Closes gh-8359
-
Andy Wilkinson authored
Closes gh-8358
-
Andy Wilkinson authored
Closes gh-8357
-
Andy Wilkinson authored
Closes gh-8356
-
Andy Wilkinson authored
Closes gh-8355
-
Andy Wilkinson authored
Closes gh-8354
-
- 21 Feb, 2017 1 commit
-
-
Andy Wilkinson authored
Previously, @SpyBean's name attribute was not used when determining the name of the bean to spy upon. When there were multiple candidates, none of which were primary, this would lead to a failure to find the bean to spy upon. This behaviour is also inconsistent with @MockBean which does use the name attribute to identify the bean to mock. This commit updates MockitoPostProcessor to use the name attribute, when set, to identify the bean that should be spied upon. For consistency with @MockBean it is always used when set. When not set the previous logic will continue to be used. Closes gh-8315
-
- 20 Feb, 2017 1 commit
-
-
Andy Wilkinson authored
See gh-8248
-
- 17 Feb, 2017 2 commits
-
-
Stephane Nicoll authored
* pr/8319: Fix audit events related documentation
-
Vedran Pavic authored
Closes gh-8319
-
- 15 Feb, 2017 3 commits
-
-
Andy Wilkinson authored
Closes gh-8304
-
Stephane Nicoll authored
* pr/8300: Fix a broken AsciiDoc attribute declaration
-
Johnny Lim authored
Closes gh-8300
-
- 14 Feb, 2017 3 commits
-
-
Andy Wilkinson authored
* gh-8263: Tests that lists of lists are sanitized correctly Ensure that entries in a list of lists are not lost during sanitization
-
Andy Wilkinson authored
See gh-8263
-
Johnny Lim authored
Closes gh-8263 See gh-8197
-
- 13 Feb, 2017 2 commits
-
-
Andy Wilkinson authored
This reverts commit 66194003. See gh-8248
-
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
-