Commit Graph

7806 Commits (a1413bdb2d928a8bf829bee8f1a54f7210cc5a93)
 

Author SHA1 Message Date
Andy Wilkinson a1413bdb2d Merge branch '1.3.x' 9 years ago
Andy Wilkinson 5f6be0152b Upgrade to Spring Loaded 1.2.6.RELEASE
Closes gh-5874
9 years ago
Andy Wilkinson a079868965 Upgrade to EhCache 2.10.2
Closes gh-5873
9 years ago
Andy Wilkinson f1793bbe31 Upgrade to Reactor 2.0.8.RELEASE
Closes gh-5872
9 years ago
Andy Wilkinson 5f20504d3b Upgrade to Embedded Mongo 1.50.3
Closes gh-5871
9 years ago
Andy Wilkinson 71f7cf581b Upgrade to Undertow 1.3.22.Final
Closes gh-5858
9 years ago
Andy Wilkinson a245845521 Correct assertion that were inverted when converting to AssertJ
See gh-5819
9 years ago
Andy Wilkinson c76621b34d Merge branch '1.3.x' 9 years ago
Andy Wilkinson 34420a8768 Allow @ConditionalOnProperty to be used as a meta-annotation
Closes gh-5819
9 years ago
Andy Wilkinson 5b544c918d Merge branch '1.3.x' 9 years ago
Andy Wilkinson 147956a7b2 Avoid creating multiple BeanNameViewResolver beans
ErrorMvcAutoConfiguration creates a BeanNameViewResolver bean in case
the user has used @EnabledWebMvc and disabled WebMvcAutoConfiguration.
If the user hasn’t used @EnabledWebMvc, WebMvcAutoConfiguration will
creates its BeanNameViewResolver and override the one that’s already
been defined by ErrorMvcAutoConfiguration.

This commit makes WebMvcAutoConfiguration’s BeanNameViewResolver
definition conditional on there being no existing BeanNameViewResolver
bean definition.

Closes gh-5354
9 years ago
Dave Syer 042407c917 Add redis starter to BOM 9 years ago
Dave Syer 0acfdd309c Add back (and deprecate via comments) the redis starter
For people using the old starter location it makes it more friendly
to deprecate now and remove in 2.0.
9 years ago
Andy Wilkinson 5f12c8c614 Upgrade to Spring Security 4.1.0.RELEASE
Closes gh-5869
9 years ago
Andy Wilkinson 0491c0aba1 Merge branch '1.3.x' 9 years ago
Andy Wilkinson ca15de459c Start building against Spring Framework 4.2.6 snapshots
See gh-5322
9 years ago
Dave Syer de6c582c9e Merge remote-tracking branch 'origin/1.3.x' 9 years ago
Dave Syer 905451f92e That BaseConfiguration thing didn't work out after all
It seems like a base class that defines `@Beans` just doesn't
define any beans. Oh well, time to copy-paste.
9 years ago
Andy Wilkinson 79b81a95c8 Use SpringBootContextLoader for tests annotated with @WebMvcTest
Previously, tests annotated with @WebMvcTest would use Spring
Framework’s WebDelegatingSmartContextLoader. This meant that
SpringApplication was not used to create the application context. One
effect of this was that Spring Boot’s logging system was not initialized
and large quantities of debug log output was produced due to Logback’s
default behaviour.

This commit updates WebMvcTestContextBootstrapper so that it uses
SpringBootContextLoader. This aligns the behaviour of @WebMvcTest
with the behaviour of @SpringBootTest and @DataJpaTest.

Closes gh-5847
9 years ago
Dave Syer e58bef5f2b Merge remote-tracking branch 'origin/1.3.x' 9 years ago
Dave Syer 1babdd5c2e Remove log config for non boot things 9 years ago
Dave Syer a86796f126 Merge remote-tracking branch 'origin/1.3.x'
Conflicts:
	spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/OAuth2AutoConfigurationTests.java
9 years ago
Dave Syer e98264debf Move base configuration class to a separate file
to stop it from being included in the enclosing @Configuration.

That way, if the app is not a web app, then there really is a
client_credentials OAuth2 resource (as claimed in the user guide).

Fixes gh-5735
9 years ago
Stephane Nicoll 04c53eab2f Merge pull request #5852 from izeye/ssl
* pr/5852:
  Polish "Fix customization of Jetty's SSL trust store"
  Fix customization of Jetty's SSL trust store
9 years ago
Stephane Nicoll fb9a61cd85 Polish "Fix customization of Jetty's SSL trust store"
Closes gh-5852
9 years ago
Johnny Lim 727dd12852 Fix customization of Jetty's SSL trust store
See gh-5852
9 years ago
Andy Wilkinson e8e728106e Don’t expect a charset attribute on a text/css Content-Type
Following the encoding change made in 428a10a, the character encoding
of a response is no longer forced.

See gh-5459
9 years ago
Stephane Nicoll e71cea55ba Remove useless import 9 years ago
Stephane Nicoll 428a10a7d7 Only force request encoding
A recent Spring Framework change in `CharacterEncodingFilter` allows to
configure the force flag separately for requests and responses. This
commit enables the flag only for requests which should provide a better
default with binary content.

Closes gh-5459
9 years ago
Andy Wilkinson f8a4459aa1 Ensure that logfile endpoint documentation has some log entries to use
Closes gh-5848
9 years ago
Stephane Nicoll 6f4ec4e741 Inject ApplicationEventPublisher
Previously, the auto-configured
`OAuth2ClientAuthenticationProcessingFilter` instance had no
`ApplicationEventPublisher`. As a result, no event was fired. This commit
makes sure to associate the event publisher instance.

Closes gh-5853
9 years ago
Andy Wilkinson 5a730a916c Remove dependency management for jackson-datatype-jdk7
jackson-datatype-jdk7 has been dropped in Jackson 2.7 as the
functionality is now part of the databind module.

Closes gh-494
9 years ago
Stephane Nicoll 502d14cfce Merge pull request #5843 from izeye/polish-20160503
* pr/5843:
  Polish
9 years ago
Johnny Lim 7763c2ae4c Polish
Closes gh-5843
9 years ago
Phillip Webb a75858ea01 Merge pull request #5832 from htynkn/duplicate-entries-in-appendix-e
* pr/5832:
  Fix duplicate entries in Appendix E
9 years ago
Yunkun Huang 30505d8a5e Fix duplicate entries in Appendix E
Fixes gh-5827
Closes gh-5832
9 years ago
Phillip Webb 30e295b5c4 Fix spring-boot-sample-test dependencies 9 years ago
Phillip Webb cc27a0f22b Merge pull request #5828 from izeye/optional
* pr/5828:
  Make json-path and selenium-api optional
9 years ago
Johnny Lim 06143195d0 Make json-path and selenium-api optional
Make json-path and selenium-api optional in spring-boot-test and
spring-boot-test-autoconfigure.

Fixes gh-5828
9 years ago
Phillip Webb 14d7188521 Merge pull request #5830 from vpavic/audit-listener
* pr/5830:
  Allow customization of AuditListener
9 years ago
Vedran Pavic 0b70710bbc Allow customization of AuditListener
Introduce `AbstractAuditListener` so that users can extended it to
replace the auto-configured default.

Fixes gh-5830
9 years ago
Phillip Webb 6c21ba11da Merge pull request #5831 from gavvvr/patch-1
* pr/5831:
  Update getting-started.adoc
9 years ago
Kirill Gavrilov f889cb4d58 Update getting-started.adoc
Fixed path for bash completions

Closes gh-5831
9 years ago
Phillip Webb 50de70e2eb Merge pull request #5836 from izeye/polish-20160502
* pr/5836:
  Polish
9 years ago
Johnny Lim e5715df7e3 Polish
Closes gh-5836
9 years ago
Phillip Webb 02bd3dc62d Add @AutoConfigureCache annotation
Add @AutoConfigureCache annotation to configure the specific cache
manager to use with a test. By default the NoOpCacheManager is used.

The @JsonTest, @DataJpaTest and @WebMvcTests have also been updated to
use the annotation.

Fixes gh-5765
9 years ago
Phillip Webb f51d9d3b99 Ignore dump.rdb files 9 years ago
Phillip Webb 2d243f0668 Don't apply multiple session configurations
Add additional @ConditionalOnMissingBean guards to session
configurations to ensure that the first wins. Also reorder imports
to prefer Redis over JDBC.

See gh-5158
9 years ago
Phillip Webb 6466c0afa5 Polish 9 years ago
Stephane Nicoll 322b1b2f65 Merge pull request #5158 from shakuzen/session-autoconfig-enhance
* gh-5158:
  Polish spring session auto-configuration
  Polish session auto-configuration
  Spring Session auto-configuration expansion
9 years ago