1. 10 Jul, 2015 8 commits
  2. 09 Jul, 2015 18 commits
    • Phillip Webb's avatar
      Fix ClasspathLoggingApplicationListener order · 8280004f
      Phillip Webb authored
      Commit 3de25164 inadvertently caused early debug logging from the
      ClasspathLoggingApplicationListener. We now set its order relative
      to the LoggingApplicationListener.
      
      See gh-2543
      8280004f
    • Phillip Webb's avatar
      Polish docs · eeb947b3
      Phillip Webb authored
      eeb947b3
    • Phillip Webb's avatar
      Merge branch '1.2.x' · e3b59774
      Phillip Webb authored
      e3b59774
    • Phillip Webb's avatar
      Formatting · 4b17f3ce
      Phillip Webb authored
      4b17f3ce
    • Phillip Webb's avatar
      Formatting · 67f7079c
      Phillip Webb authored
      67f7079c
    • Stephane Nicoll's avatar
      Remove hint for server.tomcat.compression · e344eece
      Stephane Nicoll authored
      server.tomcat.compression has been removed in 00d594dc so the hint for it
      is no longer relevant.
      e344eece
    • Andy Wilkinson's avatar
      Merge branch '1.2.x' · a2d58030
      Andy Wilkinson authored
      a2d58030
    • Andy Wilkinson's avatar
      Favour entries in source jar over standard libraries when repackaging · 68e54e1d
      Andy Wilkinson authored
      When writing a jar, once an entry has been written it will never be
      overwritten, i.e. the first write of a given entry will win. Previously,
      when repackaging a jar, the existing contents were written followed by
      any libraries. This caused a problem when repackaged a WAR file and
      a library needed to be unpacked as the existing entry in WEB-INF/lib
      would prevent the library with the UNPACK comment from being written.
      This was addressed in f761916b by inverting the order so libraries
      would take precedence over entries in the source jar.
      
      It’s now become apparent that this change in the order causes a problem
      for users who are obfuscating their code. The obfuscated code exists in
      the source jar but is also provided to the repackager in its original
      form as a library. When libraries take precedence, this means that the
      code in its original form ends up in the repackaged war and the
      obfuscation is lost.
      
      This commit updates the repackager to write libraries that require
      unpacking first. This allows the UNPACK comment to be written even if
      there’s also a source entry for the library. Next, source entries are
      written. This allows obfuscated source entries to take precedence over
      any unobfuscated library equivalents. Lastly, standard libraries that
      do not require unpacking are written into the repackaged archive.
      
      Closes gh-3444
      68e54e1d
    • Stephane Nicoll's avatar
      Polish · cf1c0cd0
      Stephane Nicoll authored
      cf1c0cd0
    • Stephane Nicoll's avatar
      Clarify enum provider purpose · c5ae68a1
      Stephane Nicoll authored
      c5ae68a1
    • Stephane Nicoll's avatar
      Remove unnecessary keyword · 97634e85
      Stephane Nicoll authored
      97634e85
    • Stephane Nicoll's avatar
      Remove outdated key · f34508ff
      Stephane Nicoll authored
      The `spring.metrics.export.redis.aggregate-key-pattern` is no longer
      defined but was still referenced in the documentation.
      f34508ff
    • Stephane Nicoll's avatar
      Force documentation of nested group · f77b0e4b
      Stephane Nicoll authored
      The `strategy` group is not detected in the meta-data because the
      Strategy inner class is not defined at the "right" level in the
      hierarchy.
      
      For now, `@NestedConfigurationProperty` was added to workaround the
      issue. Once gh-3454 is solved, we should remove them.
      f77b0e4b
    • Stephane Nicoll's avatar
      Prevent bean early initialization · 4dda1814
      Stephane Nicoll authored
      Fix `CacheManagerValidatorPostProcessor` that could lead to early bean
      initialization.
      
      Fixes gh-3440
      4dda1814
    • Stephane Nicoll's avatar
      Polish · 8cb6f7bc
      Stephane Nicoll authored
      See  gh-3372
      8cb6f7bc
    • Stephane Nicoll's avatar
      Polish · 5024c0f8
      Stephane Nicoll authored
      Add documentation for server.session.cookie keys
      
      See gh-3240
      5024c0f8
    • Phillip Webb's avatar
      Document static-resources configuration property · 2a209948
      Phillip Webb authored
      Add `spring.resources.static-locations` to the reference documentation
      appendix.
      
      Fixes gh-3372
      2a209948
    • Phillip Webb's avatar
      Add ApplicationArguments and ApplicationRunner · 582239b0
      Phillip Webb authored
      Add ApplicationArguments interface which allows SpringApplication.run
      arguments to be injected into any bean. The interface provides access
      to both the raw String[] arguments and also provides some convenience
      methods to access the parsed 'option' and 'non-option' arguments.
      
      A new ApplicationRunner interface has also been added which is
      similar to the existing CommandLineRunner.
      
      Fixes gh-1990
      582239b0
  3. 08 Jul, 2015 14 commits