Commit Graph

7521 Commits (61b7e6f3b3b3493600ed6d62bd45bb435be72bf6)
 

Author SHA1 Message Date
Phillip Webb 61b7e6f3b3 Merge branch '1.3.x' 9 years ago
Phillip Webb af2483816b Fix JarFileTests to work on Windows
See gh-5287
9 years ago
Phillip Webb 58417ebca5 Delete accidentally committed file
Remove accidentally committed SizeThreshold class.
9 years ago
Phillip Webb ef01720ff2 Merge pull request #5640 from Shredder121/windows-build-fixes
* windows-build-fixes:
  Fix some Windows build issues
9 years ago
Ruben Dijkstra 94d5c714a9 Fix some Windows build issues
Closes gh-5640
9 years ago
Phillip Webb fc149dcc05 Merge pull request #5641 from venilnoronha/issue-5637-fix
* issue-5637-fix:
  Polish contribution
  Support max-http-header-size & max-http-post-size
9 years ago
Phillip Webb ea44ae6a35 Polish contribution 9 years ago
Venil Noronha 6d2f88ed9b Support max-http-header-size & max-http-post-size
Add `server.max-http-header-size` and `server.max-http-post-size`
properties and deprecate `server.tomcat.max-http-header-size`.

Fixes gh-5637
Closes gh-5641
9 years ago
Stephane Nicoll 3d9ac6ea57 Polish 9 years ago
Phillip Webb 2861c7651d Polish 9 years ago
Phillip Webb e992d389e7 Merge pull request #5644 from venilnoronha/issue-5631-fix
* issue-5631-fix:
  Polish contribution
  Support ActiveMQ trusted packages
9 years ago
Phillip Webb 0c0be1e626 Polish contribution 9 years ago
Venil Noronha d0ccea1b26 Support ActiveMQ trusted packages
Ass support for white-listing specific packages or trusting all packages
when using ActiveMQ.

Fixes gh-5631
Closes gh-5644
9 years ago
Phillip Webb bdd9d510eb Upgrade TomEE Tests to 1.7.4 9 years ago
Phillip Webb 84e091676b Fixup merge problem 9 years ago
Phillip Webb ae249f7568 Merge branch '1.3.x' 9 years ago
Phillip Webb a1284bce61 Configure ChildManagementContext container type
Ensure any ChildManagementContext created to start a management server
on a different port uses the same EmbeddedServletContainerFactory type.

Fixes gh-5474
9 years ago
Phillip Webb d7e56abdf3 Don't apply `null` ServerProperties from customize
Update ServerProperties so that `null` values are not applied when
customizing the EmbeddedServletContainerFactory. Primarily changed to
stop `server.undertow.accesslog.enabled` from being blindly applied.

Fixes gh-5515
9 years ago
Phillip Webb 3ca365cff0 Export MessageChannel metric writer
Update the auto-configured MessageChannelMetricWriter with
@ExportMetricWriter so that metrics are actually exported.

Fixes gh-5517
9 years ago
Phillip Webb 02764b8ff3 Support Jetty error page handling of PUT requests
Update JettyEmbeddedServletContainerFactory so that requests other than
just GET, POST and HEAD are handled by the ErrorHandler.

Fixes gh-5367
9 years ago
Phillip Webb 084b288947 Polish 9 years ago
Stephane Nicoll 725ae2c834 Fix typo 9 years ago
Phillip Webb 2364bcc117 Polish 9 years ago
Stephane Nicoll fbe53be6c1 Polish Hibernate 5 support
Closes gh-2763
9 years ago
Stephane Nicoll 99dae09f84 Improve caching documentation
Add a note regarding the use of `@EnableCaching(proxyTargetClass=true)`
for beans that are not interface based.

Closes gh-5527
9 years ago
Stephane Nicoll 4e4ea4b51f Polish 9 years ago
Phillip Webb d3f1d126f3 Merge pull request #4647 from craigburke/image-banner
* image-banner:
  Add image banner documentation
  Rework ImageBanner Support
  Add ImageBanner color distance calculation
  Support image based banners
9 years ago
Phillip Webb d058ddbe3b Add image banner documentation
Closes gh-4647
9 years ago
Phillip Webb 43d1d92611 Rework ImageBanner Support
Refactor several aspects of the ImageBanner:

- Extract a few new classes and methods from the previous code
- Directly encode ANSI rather than using `${}` properties
- Rework the scaling algorithm to prefer a fixed width
- Allow ImageBanner and TextBanner to be used together
- Rename several of the `banner.image` properties
- Add support for a left hand margin
- Add property meta-data

See gh-4647
9 years ago
Ruben Dijkstra 60500aef9b Add ImageBanner color distance calculation
Support CIE94 color distance calculations for improved ImageBanner
rendering. Based on code originally developed by Michael Simons and
added with his permission.

See gh-4647
9 years ago
Craig Burke 58d77ec961 Support image based banners
Add ImageBanner class that generates color ASCII art based on an image
file (banner.gif, banner.jpg or banner.png).

See gh-4647
9 years ago
Phillip Webb 6550bb4cf1 Polish 9 years ago
Phillip Webb 6ff09bc876 Clarify LoggingApplicationListener Javadoc 9 years ago
Andy Wilkinson 140e86bb97 Merge branch '1.3.x' 9 years ago
Andy Wilkinson 5e0ba6ea2e Consider jar's Class-Path attribute when getting changeable URLs
To overcome command length limits on Windows, IntelliJ IDEA may launch
an application with a single jar on the classpath that contains that
application's actual classpath in the Class-Path attribute of its
manifest. This would prevent DevTools restarts from working as it
only considered the single jar's URL when identifying changeable URLs
and ignored the URLs added to the classpath via the jar's manifest.

This commit updates ChangeableUrls when it is created from a
URLClassLoader to consider the Class-Path manifest attribute of any
jars in the class loader's URLs. This allows the full classpath to
be considered when identifying URLs that are changeable and that
need to be monitored for restart triggering.

Closes gh-5127
9 years ago
Andy Wilkinson 0b5d39c0b8 Merge pull request #5617 from Yogesh Lonkar
* gh-5617:
  Polish contribution
  Allow embedded Mongo's storage to be configured via the environment
9 years ago
Andy Wilkinson 436da1d5fd Polish contribution 9 years ago
Yogesh Lonkar dc8685a927 Allow embedded Mongo's storage to be configured via the environment
Closes gh-5617
9 years ago
Andy Wilkinson f9a86363b5 Merge pull request #5627 from Johnny Lim
* gh-5627:
  Polish
9 years ago
Johnny Lim 3b5ecbd066 Polish
Closes gh-5627
9 years ago
Andy Wilkinson f9b51cc870 Upgrade to Spring Session 1.2.0.RC2
Closes gh-5629
9 years ago
Andy Wilkinson 66830ea1e5 Try to make SampleCassandraApplicationTests' port config more robust 9 years ago
Andy Wilkinson 55ad905d98 Merge pull request #5623 from Eddú Meléndez
* gh-5623:
  Upgrade to Spring Data Hopper SR1
9 years ago
Eddú Meléndez cc7fe7b85a Upgrade to Spring Data Hopper SR1
Closes gh-5623
9 years ago
Andy Wilkinson e5a253e689 Improve diagnostics when OnBeanCondition type deduction fails
When @ConditionalOnBean or @ConditionalOnMissingBean are used on a
@Bean method, they will, in the absence of any other configuration,
attempt to deduce the bean's type by examining the method's return
type. This deduction can fail. See gh-4841, gh-4934, and gh-5624
for some examples of possible failure causes. Previously, this
failure was only logged as a debug message leaving the user with a
misleading message suggesting that the @ConditionalOnBean or
@ConditionalOnMissingBean annotation was not configured correctly.

This commit improves the diagnostics by mention the possibility of
type deduction in the exception message and including the exception
that caused deduction to fail as the cause.

Closes gh-4934
9 years ago
Andy Wilkinson a37ae5d556 Polish test property source changes made in 69b08291
TestPropertySourcesInitializer needs to be ordered with a high
precedence, specifically higher than
ContextIdApplicationContextInitializer, to ensure that any properties
used in setting the context’s id are available in the environment.

Closes gh-4828
9 years ago
Dave Syer 9b121dcbaa Make MustacheViewResolver extend AbstractTemplateViewResolver
The Mustache support should still be usable outside a web application
because the properties only use web stuff in that context and don't
have any field or method signatures that depend on web.

Fixes gh-5626
9 years ago
Andy Wilkinson 69b0829199 Align precedence of @SpringBootTest properties with @TestPropertySource
This commit updates the precedence of properties configured using
@SpringBootTest to align with @TestPropertySource. Properties configured
using properties on @SpringBootTest are now added to the same property
source as those configured using properties on @TestPropertySource so
the precedence described in the javadoc of @TestPropertySource now
applies in full. Additionally, if both @TestPropertySource properties
and @SpringBootTest properties configure the same property, the value
from @TestPropertySource will win.

Closes gh-4828
9 years ago
Stephane Nicoll 5f5db1703c Merge pull request #5622 from eddumelendez/gh-5621
* pr/5622:
  Add dependency jackson-module-kotlin
9 years ago
Eddú Meléndez e50aac73ed Add dependency jackson-module-kotlin
Auto-detection for Kotlin Jackson Module was added in Spring 4.3.0.RC1.
This commit provides the dependency management to handle the right
version.

Closes gh-5622
9 years ago