1. 16 Sep, 2015 1 commit
  2. 11 Sep, 2015 5 commits
    • Phillip Webb's avatar
      Add registerErrorPageFilter option flag · 11d59df3
      Phillip Webb authored
      Update SpringBootServletInitializer with a registerErrorPageFilter flag
      that can be used to disable ErrorPageFilter registration.
      
      Fixes gh-3603
      11d59df3
    • Phillip Webb's avatar
      Only handle status errors when sendError is called · de48223a
      Phillip Webb authored
      Update ErrorPageFilter to only handle errors when `response.sendError`
      has been called. This should allow custom @ExceptionHandlers to
      completely handle errors and return custom status codes without
      triggering the "Cannot forward to error page" log message.
      
      The Javadoc for sendError states:
      
        "The server defaults to creating the response to look like an
         HTML-formatted server error page containing the specified message"
      
      Where as setStatus states
      
        "This method is used to set the return status code when there is
         no error "
      
      Fixes gh-2745
      de48223a
    • Phillip Webb's avatar
      Add exception endpoints to tomcat-jsp sample · 5f250ebb
      Phillip Webb authored
      Update `spring-boot-sample-tomcat-jsp` to include endpoints that trigger
      exceptions. Primarily to aid testing of the ErrorPageFilter.
      
      See gh-2745
      5f250ebb
    • Phillip Webb's avatar
      Don't mix collection values from different sources · 86d5c192
      Phillip Webb authored
      Update PropertySourcesPropertyValues so that collection values are only
      added from a single PropertySource. Prior to this commit, given the
      following:
      
          PropertySource-A
           list[0]=x
      
          PropertySource-B
           list[0]=y
           list[1]=z
      
      PropertySourcesPropertyValues would take `x` from A and `z` from B,
      resulting in a binding of `[x,z]`. The updated code now returns the
      more logical `[x]`.
      
      Fixes gh-2611
      86d5c192
    • Phillip Webb's avatar
      Revert "Only format changed lines" · 16a1bd04
      Phillip Webb authored
      This reverts commit e04fb155.
      
      Formatting only changed lines doesn't appear to work well.
      16a1bd04
  3. 10 Sep, 2015 6 commits
  4. 08 Sep, 2015 4 commits
  5. 03 Sep, 2015 3 commits
  6. 02 Sep, 2015 4 commits
  7. 01 Sep, 2015 3 commits
    • Stephane Nicoll's avatar
      Refine check · 5043c959
      Stephane Nicoll authored
      Refine commit 8a964814 to set the web environment to false if spring web
      is not available in the classpath. Thanks to @mjustin for spotting that
      mistake.
      
      Closes gh-3856
      5043c959
    • Stephane Nicoll's avatar
      Store container installs in home directory · 426a8dc1
      Stephane Nicoll authored
      Previously, deployment tests were storing the container archives in the
      default location (that is `/tmp`) for a total weight of 160MB. In case
      the temp directory is cleaned on CI, these have to be downloaded again.
      
      We're now configuring cargo to store these archives in the home directory
      instead. This should improve the speed and the stability of the
      deployment tests
      
      Closes gh-3861
      426a8dc1
    • Stephane Nicoll's avatar
      Properly guard customization of application context class · 8a964814
      Stephane Nicoll authored
      SpringApplication wrongly expects spring-web to be on the classpath to
      figure out whether or not the web environment should be enabled for a
      custom context class.
      
      We now properly guard this check so that the web environment is not
      enabled (read: not checked) if `spring-web` is not available.
      
      Closes gh-3856
      8a964814
  8. 29 Aug, 2015 1 commit
  9. 26 Aug, 2015 1 commit
  10. 25 Aug, 2015 1 commit
  11. 20 Aug, 2015 1 commit
  12. 17 Aug, 2015 1 commit
    • Stephane Nicoll's avatar
      Properly guard DB health indicator · 11b82cc6
      Stephane Nicoll authored
      The DataSource health indicator uses `JdbcTemplate` behind the scenes
      but nothing was checking that it is actually available.
      
      `DataSourcesHealthIndicatorConfiguration` is now disabled if
      `spring-jdbc` is not on the classpath.
      
      Fixes gh-3765
      11b82cc6
  13. 14 Aug, 2015 1 commit
  14. 10 Aug, 2015 4 commits
  15. 09 Aug, 2015 1 commit
  16. 07 Aug, 2015 1 commit
  17. 05 Aug, 2015 2 commits