Commit Graph

9381 Commits

Author SHA1 Message Date
Andy Wilkinson
5f77ef25e4 Upgrade to Jackson 2.8.8
Closes gh-8834
2017-04-06 20:27:47 +01:00
Phillip Webb
ddcb5ee328 Polish 2017-04-04 09:36:27 -07:00
Andy Wilkinson
9374020b0e Stop -> from being replaced with → as the latter renders as # in PDF
Closes gh-8575
2017-04-04 17:00:16 +01:00
Andy Wilkinson
47de05b52c Update Devtools to ignore manifest Class-Path entries that do not exist
Closes gh-8623
2017-04-04 12:15:51 +01:00
Andy Wilkinson
456327260b Fail fast when a Zip64 jar is encountered
Previously, jars (either top-level or nested) in Zip64 format were
treated as normal jar files. This would lead to a failure later on
when an attempt was made to read an entry from the file.

This commit updates the loader to fail fast when it encounters a
Zip64 jar file. Such files are identified by the number of entries
in the central directory end record being 0xFFFF.

Closes gh-8735
2017-04-04 11:31:18 +01:00
Andy Wilkinson
b280e3092d Don't forward to welcome page that won't exist due to custom mapping
Previously, WelcomePageHandlerMapping would forward to index.html.
This assumed that the static path pattern was always /**. If it had
been customised to, for example, /foo/**, then the forward would still
be to index.html and a 404 would result as the page is actually
available at /foo/index.html.

At first glance, it would appear that the forward should be made to
foo/index.html. However, as it's a forward rather than a redirect,
any relative URLs in the index.html page would then be resolved using
/ whereas they should be resolved using /foo/. This could be addressed
by using a redirect rather than a forward, but we don't want to do
that as it's more invasive and would require a roundtrip back to the
client. Instead, this commit simply stops performing the forward when
the static path pattern is not /**.

Closes gh-8788
2017-04-04 10:13:24 +01:00
Andy Wilkinson
4b1e5e9c43 Improve diagnostics when loading a property source from a file fails
Closes gh-8294
2017-04-04 10:02:10 +01:00
Andy Wilkinson
43f34546f6 Add .editorconfig to improve formatting when viewing on GitHub
Closes gh-8497
2017-04-04 09:26:50 +01:00
Andy Wilkinson
9fa8f2e317 Tweak Checkstyle plugin config so violations are output even with -q
Closes gh-8767
2017-03-28 19:59:08 +01:00
Stephane Nicoll
595fada2ff Merge pull request #8660 from dreis2211:cleanup-equals-exceptions
* pr/8660:
  Fix test assertions
2017-03-28 10:26:56 +02:00
dreis
1266642aba Fix test assertions
Closes gh-8660
2017-03-28 10:26:25 +02:00
Stephane Nicoll
113279c1bc Merge pull request #8678 from zeldan:patch-1
* pr/8678:
  Fix propdeps-plugin url in doc
2017-03-28 10:25:47 +02:00
Dániel Zelei
cc30adf0df Fix propdeps-plugin url in doc
Closes gh-8678
2017-03-28 10:15:43 +02:00
Stephane Nicoll
22869f78a9 Merge pull request #8718 from andersonkyle:fix-typo
* pr/8718:
  Fix typo
2017-03-26 12:10:32 +02:00
Kyle Anderson
57977a654a Fix typo
Closes gh-8718
2017-03-26 12:10:04 +02:00
Andy Wilkinson
a8788ba62c Upgrade to Webjars Locator 0.32-1
Closes gh-8734
2017-03-24 16:10:52 +00:00
Andy Wilkinson
c49fb08c8f Upgrade to Spring Loaded 1.2.7.RELEASE
Closes gh-8733
2017-03-24 16:10:51 +00:00
Andy Wilkinson
35ce980b38 Upgrade to Slf4j 1.7.25
Closes gh-8732
2017-03-24 16:10:51 +00:00
Andy Wilkinson
fb9ce48dc8 Upgrade to Lombok 1.16.16
Closes gh-8731
2017-03-24 16:10:50 +00:00
Andy Wilkinson
de504f3464 Upgrade to Jooq 3.8.7
Closes gh-8730
2017-03-24 16:10:50 +00:00
Andy Wilkinson
0a5732bb14 Upgrade to Jboss Logging 3.3.1.Final
Closes gh-8729
2017-03-24 16:10:49 +00:00
Andy Wilkinson
31419ab038 Upgrade to Hibernate Validator 5.2.5.Final
Closes gh-8728
2017-03-24 16:10:48 +00:00
Andy Wilkinson
617bacbc44 Upgrade to Jetty 9.3.17.v20170317
Closes gh-8727
2017-03-24 16:10:47 +00:00
Andy Wilkinson
8e9975624e Upgrade to Groovy 2.4.10
Closes gh-8726
2017-03-24 16:10:47 +00:00
Andy Wilkinson
4530b607b3 Upgrade to Tomcat 8.5.12
Closes gh-8725
2017-03-24 16:10:46 +00:00
Andy Wilkinson
798146b5e1 Upgrade to Joda Time 2.9.9
Closes gh-8724
2017-03-24 16:10:45 +00:00
Andy Wilkinson
c05e8a634f Upgrade to Undertow 1.3.28.Final
Closes gh-8723
2017-03-24 16:10:44 +00:00
Andy Wilkinson
89cd7311bb Upgrade to Dropwizard Metrics 3.1.4
Closes gh-8722
2017-03-24 16:10:44 +00:00
Andy Wilkinson
42675cb04b Upgrade to H2 1.4.194
Closes gh-8721
2017-03-24 16:10:43 +00:00
Andy Wilkinson
17793f4f67 Upgrade to Appengine 1.9.50
Closes gh-8720
2017-03-24 16:10:42 +00:00
Andy Wilkinson
a88c56dfdc Start building against Spring Integration 4.3.9 snapshots
See gh-8713
2017-03-24 10:44:06 +00:00
Andy Wilkinson
2b6bcfd738 Start building against Spring Framework 4.3.8 snapshots
Closes gh-7949
See gh-8712
2017-03-24 10:42:45 +00:00
Stephane Nicoll
1624370986 Merge pull request #8594 from lexandro:master
* pr/8594:
  Polish contribution
  Fix invalid security example in doc
2017-03-17 09:57:35 +01:00
Stephane Nicoll
0ca07fbdc3 Polish contribution
Closes gh-8594
2017-03-17 09:56:45 +01:00
lexandro
36b28540ee Fix invalid security example in doc
Closes gh-8580
2017-03-17 09:51:08 +01:00
Stephane Nicoll
cd76da9a4c Avoid using immutable collections for configuration proprerties
Closes gh-8620
2017-03-16 12:39:48 +01:00
Stephane Nicoll
ed2164b97b Merge pull request #8582 from vpavic:improve-redis-session-config
* pr/8582:
  Improve `RedisSessionConfiguration` conditions
2017-03-15 15:10:02 +01:00
Vedran Pavic
17aad4f00c Improve RedisSessionConfiguration conditions
Closes gh-8582
2017-03-15 15:09:31 +01:00
Stephane Nicoll
f72e0c08df Add a note to ActiveMQ pooling in the doc
Closes gh-8598
2017-03-15 14:51:55 +01:00
Stephane Nicoll
bc157d5b4f Polish
See gh-8621
2017-03-15 08:50:50 +01:00
Madhura Bhave
19da8d8271 Fix UnsupportedOperationException
Fixes gh-8602
2017-03-14 11:59:42 -07:00
Andy Wilkinson
2ddcf0e831 Avoid using File.renameTo(File) as it doesn't work on Windows 2017-03-13 15:46:19 +00:00
Stephane Nicoll
4158a6d50f Fix typo
Closes gh-8574
2017-03-12 08:43:51 +01:00
Stephane Nicoll
095eb779e2 Merge pull request #8562 from eddumelendez:missing_cassandra_metadata
* pr/8562:
  Add missing spring-data-cassandra metadata
2017-03-10 09:35:22 +01:00
Eddú Meléndez
251090b1e5 Add missing spring-data-cassandra metadata
This commit adds the missing
`spring.data.cassandra.repositories.enabled` in the metadata and the
documentation.

Closes gh-8562
2017-03-10 09:34:19 +01:00
Stephane Nicoll
633e75dce2 Fix typo
Closes gh-8563
2017-03-10 09:22:00 +01:00
Stephane Nicoll
e7922a574a Polish 2017-03-09 18:33:13 +01:00
Stephane Nicoll
07c56c60ba Make sure Hazelcast bootstraps before any JCache setup
This commit makes sure that if a `javax.cache.CacheManager` is required,
an auto-configured `HazelcastInstance` is fully resolved first. This
prevents the case where the JCache bootstrap actually starts an instance
early, followed by a second (potentially unwanted) instance created by the
regular auto-configuration.

Since the JCache implementation works with an `HazelcastInstance` behind
the scenes, if there is one `HazelcastInstance` configured and it has a
name, then we configure the `CacheProvider` to use that. Future Hazelcast
version will allow to pass the instance directly (i.e. not requiring an
actual name).

Closes gh-8484
2017-03-09 17:59:20 +01:00
Andy Wilkinson
d32c3a7f43 Correct the URL that's called to test servlet context resources
See gh-8299
Closes gh-8525
2017-03-09 14:04:19 +00:00
Andy Wilkinson
a2cf0455fd Fix static resource handling when run in IDE or using Maven or Gradle
The changes made for gh-8299 attempted to make static resource
handling consistent across Jetty, Tomcat, and Undertow. They did so
for application's launched using JarLauncher or WarLauncher but did
not consider application's launched in an IDE or using spring-boot:run
in Maven or bootRun in Gradle.

Running in an IDE or via Maven or Gradle introduces two new
resource locations:

 - Jars on the classpath with file protocol URLs (they are always
   jar protocol URLs when using either launcher)
 - Directories on the classpath from a project that is depended upon
   and contains resources in META-INF/resources

This commit updates the factories for all three containers to handle
these new resources locations. The integration tests have also been
updated.
2017-03-09 12:41:32 +00:00