Commit Graph

7781 Commits (727dd12852290f48840a8aeac91c37823112bdc7)
 

Author SHA1 Message Date
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
Stephane Nicoll bf89c8ee46 Polish spring session auto-configuration
This commit improves the initial submission by adding more tests and
more configuration options.

Closes gh-5158
9 years ago
Eddú Meléndez 0be00e2a6d Polish session auto-configuration
See gh-5158
9 years ago
Tommy Ludwig de007840a8 Spring Session auto-configuration expansion
This implementation was inspired in large part by the cache
auto-configuration. In addition to the originally supported Redis, now
Hazelcast, an in-memory map, as well as a no-op option are supported. It
should be easy to extend this to include additional data stores in the
future.

Closes gh-3811
9 years ago
Stephane Nicoll c3e8cc2150 Merge branch '1.3.x' 9 years ago
Stephane Nicoll 42af5ebc2c Fix class name
Closes gh-5823
9 years ago
Stephane Nicoll 248bad34dc Fix `RedisProperties` link in the doc
Closes gh-5811
9 years ago
Stephane Nicoll 9059184a6a Clarify commons-pool2 requirement for redis
`JedisConnectionFactory` needs `commons-pool2` for quite some time now
and our auto-configuration had a special case to handle redis if
`commons-pool2` isn't available.

This commit removes that code as using it would lead to a failure anyway.

Closes gh-5718
9 years ago
Stephane Nicoll 6fe9177f0d Merge branch '1.3.x' 9 years ago
Stephane Nicoll 4ccc7dc554 Ignore invalid accessors
Previously, if a void method with a single argument was named "set", the
annotation processor wrongly considered it was a setter candidate. This
commit updates the condition to ignore it.

Closes gh-5826
9 years ago
Stephane Nicoll cfbe28fc8f Merge pull request #5815 from izeye/polish-20160428
* pr/5815:
  Polish
9 years ago
Johnny Lim 0efa0038c3 Polish
Closes gh-5815
9 years ago
Stephane Nicoll 373cf83f99 Merge branch '1.3.x' 9 years ago
Cristian Greco 5d55d57f78 Fix doc about running native commands
Closes gh-5829
9 years ago
Stephane Nicoll ebb4b067a2 Use error attributes in custom error page 9 years ago
Phillip Webb 6d069de79f Add convention based status error pages
Update `spring-boot-sample-web-mustache` to show how convention based
status error pages can be used.

See gh-2691
9 years ago
Phillip Webb 0bf025af7b Add out-of-the-box support for status error pages
Allow convention based status error pages. Static HTML or templates
can be used by placing the appropriately named file under a `/error`
folder. For example:

	/src/main/resource/templates/error/404.ftl
or	/src/main/resource/public/error/404.html

Pages can also be named after the status series (5xx or 4xx).

Fixes gh-2691
9 years ago
Stephane Nicoll 0bd246a3ed Add reference to RESTEasy starter
Closes gh-5816
9 years ago
Phillip Webb 590bd5c084 Fixup warnings 9 years ago
Phillip Webb 08ef5f4b1f Make ErrorPageRegistry first class concern
Create ErrorPageRegistry and ErrorPageRegistrar interfaces that allow
error page registration to be a first class concern.

Prior to this commit ErrorPageFilter needed to implement
ConfigurableEmbeddedServletContainer in order to receive ErrorPage
registrations.

Closes gh-5789
9 years ago
Phillip Webb 609cb52cd4 Move to relocated web classes
Refactor code to move from recently deprecated classes.

Closes gh-5822
9 years ago
Phillip Webb aea18671c1 Restructure web related classes
Reorganize web related classes for better separation of concerns.
Mainly this involves moving classes from `o.s.b.context.embedded`
that aren't directly tied to embedded servlet containers to
`o.s.b.web` and relocating everything from `o.s.b.context.web`.

See gh-5822
9 years ago
Phillip Webb a7cb689f95 Move @LocalServerPort annotation
Move the @LocalServerPort to org.springframework.boot.context.embedded
since it's only really useful when working with embedded servlet
containers.

See gh-5822
9 years ago
Phillip Webb 3de48d2603 Refactor ServletComponentRegisteringPostProcessor
Rework ServletComponentRegisteringPostProcessor to break the direct link
to the `org.springframework.boot.context.embedded` package.

See gh-5822
9 years ago
Andy Wilkinson 9153ca9526 Auto-configure MockMvc with Spring Security
When Spring Security and its spring-security-test module are on the
classpath, `@WebMvcTest` will now auto-configure Spring Security and
configure its MockMvc-based test support. This behaviour can be
disabled using the new secure attribute on `@WebMvcTest` and
`@AutoConfigureMockMvc`.

Closes gh-5476
9 years ago
Andy Wilkinson 41ddda4a15 Support the use of @AliasFor with @PropertyMapping
Previously, when @AliasFor was used, the value of the mapped property
would be incorrect as the value of the canonical attribute would be
used, rather than the value of the alias.

This commit updates AnnotationsPropertySource to use a merged annotation
as the source of attribute values, thereby ensuring that any aliased
attributes are configured correctly.

Closes gh-5821
9 years ago