1. 30 Jun, 2015 11 commits
  2. 29 Jun, 2015 10 commits
  3. 28 Jun, 2015 6 commits
    • Dave Syer's avatar
      Tweak docs on /health endpoint to reflect secure/sensitive · c39b9f76
      Dave Syer authored
      Fixes gh-2816
      c39b9f76
    • Stephane Nicoll's avatar
      Merge pull request #3344 from izeye/docs-20150628 · 8c977567
      Stephane Nicoll authored
      * pr/3344:
        Polish doc
      8c977567
    • izeye's avatar
      Polish doc · 4bc7919e
      izeye authored
      Closes gh-3344
      4bc7919e
    • Stephane Nicoll's avatar
      Merge pull request #3123 from bclozel/gh-1604 · a990cc18
      Stephane Nicoll authored
      * pr/3123:
        Polish
        Improve Spring Resource Handling support
      a990cc18
    • Stephane Nicoll's avatar
      Polish · a6ccb4a6
      Stephane Nicoll authored
      Polish resource handling chain support. Make sure that the chain is
      enabled automatically if at least one strategy is enabled.
      
      See gh-1604
      a6ccb4a6
    • Brian Clozel's avatar
      Improve Spring Resource Handling support · dd561d15
      Brian Clozel authored
      This commit improves support of the Resource Handling features
      introduced in Spring Framework 4.1. Those features add new ways to
      resolve and transform static resources in applications.
      See [this blog
      post](https://spring.io/blog/2014/07/24/spring-framework-4-1-handling-static-web-resources)
      for more details.
      
      The `ResourceUrlEncodinFilter` is added for compatible template engines:
      Velocity and Thymeleaf. It assists them with rewriting the URLs of
      static resources when rendering templates.
      
      New keys are added in the `ResourceProperties` in order to configure
      the Resource Handling chain. `ResourceResolvers` and
      `ResourceTransformers` are registered accordingly in
      `WebMvcAutoConfiguration`.
      
      Here is an example of enabling a `ContentVersionStrategy` on all
      static resources, meaning their names will be changed for cache
      busting purposes by adding a content hash at the end of the file name.
      Like "/js/jquery.js -> /js/jquery-872ca6a9fdda9e2c1516a84cff5c3bc6.js".
      
      ```
      spring.resources.chain.enabled:true
      spring.resources.chain.strategy.content.enabled:true
      spring.resources.chain.strategy.content.paths:/**
      ```
      
      Closes gh-1604
      Closes gh-3123
      dd561d15
  4. 26 Jun, 2015 13 commits
    • Phillip Webb's avatar
      Merge pull request #2713 from rob-baily/master · e34bdcdd
      Phillip Webb authored
      * pr/2713:
        Fix logout in sample secure web applications
      e34bdcdd
    • Rob Baily's avatar
      Fix logout in sample secure web applications · 3c503869
      Rob Baily authored
      Fixes gh-1536
      3c503869
    • Phillip Webb's avatar
      Attempt to fix failing log tests · a36d1e2e
      Phillip Webb authored
      a36d1e2e
    • Phillip Webb's avatar
      Polish · b68382f3
      Phillip Webb authored
      b68382f3
    • Phillip Webb's avatar
      Update logging documentation · 4f072f40
      Phillip Webb authored
      Update logging documentation to show the new `-spring` convention and
      the Logback extensions.
      
      See gh-1788
      See gh-2558
      See gh-3338
      4f072f40
    • Phillip Webb's avatar
      Support <springProperty> in logback configurations · 055ace37
      Phillip Webb authored
      Include support for a new <springProperty> element which can be used in
      `logback-spring.xml` files to add properties from the Spring
      Environment. For example:
      
      	<configuration>
      		...
      		<springProperty name="destination" source="my.loggger.extradest"/>
      		<appender name="FILE" class="ch.qos.logback.core.FileAppender">
      			<file>${destination}</file>
      				...
      			</file>
      		</appender>
      		...
      	</configuration>
      
      Fixes gh-1788
      055ace37
    • Phillip Webb's avatar
      Support <springProfile> in logback configurations · f3f562f3
      Phillip Webb authored
      Include support for a new <springProfile> element which can be used in
      `logback-spring.xml` files to selectively enable or disable parts of the
      configuration. For example:
      
      	<configuration>
      		...
      		<springProfile name="staging">
      			<logger name="sample.logback" level="TRACE" />
      		</springProfile>
      		...
      	</configuration>
      
      Fixes gh-3338
      f3f562f3
    • Phillip Webb's avatar
      Add logback sample application · 5bc8f0f7
      Phillip Webb authored
      Add a logback sample application to demonstrate how `logback-spring.xml`
      can be used for customization.
      
      See gh-2558
      5bc8f0f7
    • Phillip Webb's avatar
      Add Spring specific logging configuration support · 09eed727
      Phillip Webb authored
      Update AbstractLoggingSystem to support convention based logging
      configuration specifically for Spring applications. Configurations with
      the `-spring` suffix will now be loaded automatically (for example
      `logback-spring.xml`).
      
      This change allows for custom log configurations without needing to
      reinitialize the logging system. When standard configurations are used
      there is no way to prevent early initialization.
      
      Fixes gh-2558
      09eed727
    • Dave Syer's avatar
      Change default behaviour of /health when not secured · 1f6ac52b
      Dave Syer authored
      The default is now to reveal all details unless sensitive=true
      (instead of only revealing then if sensitive was explicitly false).
      The definition of "secure" also changes to something more sensible
      where it is only true if security is enabled.
      
      Fixes gh-2816
      1f6ac52b
    • Dave Syer's avatar
      Fix Redis metrics default settings · c3c1d91f
      Dave Syer authored
      The default should be to generate a key from the prefix. Otherwise
      if user sets the prefix and not the key it can pick up metrics from
      another repository (which is what happens in the tests).
      c3c1d91f
    • Stephane Nicoll's avatar
      Merge pull request #3335 from izeye/patch-27 · e02082da
      Stephane Nicoll authored
      * pr/3335:
        Remove unnecessary import
        Remove unnecessary `@After` callback
      e02082da
    • Stephane Nicoll's avatar
      Remove unnecessary import · 12767a43
      Stephane Nicoll authored
      See gh-3335
      12767a43