Commit Graph

11494 Commits (6219ea27e8e3008ab323d3df76f03076b4690661)
 

Author SHA1 Message Date
Andy Wilkinson 08fe332a3f Upgrade to Groovy 2.4.14
Closes gh-12385
7 years ago
Andy Wilkinson 8849dbe5df Upgrade to Undertow 1.4.23.Final
Closes gh-12384
7 years ago
Andy Wilkinson 5b48f16494 Upgrade to Appengine Sdk 1.9.63
Closes gh-12383
7 years ago
Andy Wilkinson 101ed76559 Upgrade to Jackson 2.8.11.20180217
Closes gh-11475
7 years ago
Stephane Nicoll f8c1821c2c Polish
See gh-12365
7 years ago
Stephane Nicoll 66d1f5cd0b Fix expansion of static-locations array
This commit fixes a NPE when the static-locations array of
`ResourceProperties` has to be expanded as the setter is cleaning the
values of the array and is affected by a non-intuitive behaviour of the
binder.

When the binder needs to set an element of an array and the size of the
array isn't large enough, the binder proceeds as follows:

* An array of the required size is created
* The content of the original array is copied over
* The setter of the property is invoked with the new array
* The setter of the property is invoked and the returned array is
mutated to set the requested value

While one would expect the array to contain the requested value when the
setter is invoked, this is not the case. Also, the array might contain
null values if a value at index 8 should be set and the array has a size
of 3.

All in all, `ResourceProperties#appendSlashIfNecessary` has to account
for `null` and an additional round of cleaning has to happen once
binding has completed.

Closes gh-12360
7 years ago
Madhura Bhave 758dca57f1 Clarify documentation for setting the LoggingSystem
Closes gh-12299
7 years ago
Andy Wilkinson 84387046b9 Start building against Spring Framework 4.3.15 snapshots
See gh-12344
7 years ago
Andy Wilkinson eee891dbc8 Decode file: URLs passed into PropertiesLauncher via loader.path
Closes gh-12325
7 years ago
Stephane Nicoll 4e3d0f5b33 Fix parsing of value with comma
Closes gh-12297
7 years ago
Madhura Bhave c2f7dd86dc Revert default for CRSF enabled to false
Fixes gh-12267
7 years ago
Andy Wilkinson 452492183d Polish
Closes gh-11991
7 years ago
Andy Wilkinson 3cc0055d3b Merge pull request #11991 from Rupert Madden-Abbott
* gh-11991:
  Polish "Fix handling of static resource jars with spaces in their paths"
  Fix handling of static resource jars with spaces in their paths
7 years ago
Andy Wilkinson 88423c504b Polish "Fix handling of static resource jars with spaces in their paths"
Closes gh-11991
7 years ago
Rupert Madden-Abbott 9cd1a4b07a Fix handling of static resource jars with spaces in their paths
See gh-11991
7 years ago
Andy Wilkinson 647c6c45b9 Upgrade to Artemis 1.5.6
Closes gh-12250
7 years ago
Andy Wilkinson 83fc4b3246 Merge pull request #12120 from Marcos Trejo Munguia
* gh-12120:
  Polish "Set host when creating Jetty SSL connector"
  Set host when creating Jetty SSL connector
7 years ago
Andy Wilkinson eaf3789540 Polish "Set host when creating Jetty SSL connector"
Closes gh-12120
7 years ago
mtrejo f0905ffaf6 Set host when creating Jetty SSL connector
See gh-12120
7 years ago
Stephane Nicoll 14ff776f68 Fix TestRestTemplate example in the doc
Closes gh-12132
7 years ago
Phillip Webb 98f58caeaf Reset default local after test completes 7 years ago
Phillip Webb 8f9c067a92 Polish 7 years ago
Madhura Bhave 257e324bd5 Add tests for binding to enum with different locale
See gh-12213
7 years ago
Stephane Nicoll b4a7e1d64b Use toLowerCase() and toUpperCase() with Locale.ENGLISH
This commit updates all `toLowerCase()` and `toUpperCase` invocations to
use the variant that takes a `Locale` to avoid locale-specific side
effect.

Closes gh-12213
7 years ago
Andy Wilkinson 915eaf3447 Polish 7 years ago
Andy Wilkinson 746cc0f70b Make JarFile.size() return the number of entries in the jar
Closes gh-12195
7 years ago
Andy Wilkinson 146858505f Synchronize on class loading lock in RestartClassLoader
Closes gh-12171
7 years ago
Andy Wilkinson 413847c72d Upgrade to Spring Social 1.1.5.RELEASE
Closes gh-12141
7 years ago
Andy Wilkinson ad01dbcb73 Upgrade to Liquibase 3.5.5
Closes gh-12140
7 years ago
Andy Wilkinson 59a03c7a50 Upgrade to Jboss Logging 3.3.2.Final
Closes gh-12139
7 years ago
Andy Wilkinson f96db5c331 Upgrade to Appengine Sdk 1.9.62
Closes gh-12138
7 years ago
Stephane Nicoll 3db5c70b58 Make sure binder properly resolve resources
This commit makes sure that `@ConfigurationProperties` binding resolves
resources properly. In particular, any `ProtocolResolver` registered on
the `ApplicationContext` is now honoured.

Closes gh-11569
7 years ago
Andy Wilkinson 712e562594 Provide dependency management for remaining Apache HttpClient modules
Closes gh-12107
7 years ago
Madhura Bhave 75e82e1b2c Fix tests to use GET to bypass CsrfFilter 7 years ago
Madhura Bhave 4e61136948 Enable CSRF protection by default
See gh-11758
7 years ago
Andy Wilkinson 85f45adb9a Upgrade to Plexus Utils 3.0.24
Closes gh-12065
7 years ago
Andy Wilkinson 145d8d2673 Defer removal of Connectors until after ServletContext initialization
Previously, we removed the Connectors from Tomcat's Service before
the Context was started. The removal of the Connectors is required as
it prevents Tomcat from accepting requests before we're ready to
handle them.

Part of starting the Context is creating and initializing the
ServletContext. ServerProperties uses a ServletContextInitializer to
set the session tracking modes and Tomcat rejects the SSL tracking
mode if there is no SSL-enabled connector available. With the previous
arrangement this led to a failure as the Connectors had been removed
so the SSL-enabled connector could not be found.

This commit updates the embedded Tomcat container to defer the
removal of the Connectors until after the context has been started
but still at a point that is before the Connectors themselves would
have been started.

Closes gh-12058
7 years ago
Andy Wilkinson f3989b1b95 Upgrade to Spring Session 1.3.2.RELEASE
Closes gh-12038
7 years ago
Andy Wilkinson f8b4b10cdc Upgrade to Liquibase 3.5.4
Closes gh-12037
7 years ago
Andy Wilkinson 1fa45b2890 Upgrade to Tomcat 8.5.28
Closes gh-12036
7 years ago
Andy Wilkinson d59000ceb1 Change ownership when log file is created by launch script
Closes gh-11951
7 years ago
Stephane Nicoll 2f6d05dc51 Fix parsing of String value in json
Closes gh-11992
7 years ago
Stephane Nicoll da01744e4c Merge pull request #11981 from eiselems:1.5.xMysqlValidationQuery
* pr/11981:
  Update MySQL validation query to use lightweight ping
  Polish
  Reinject mocks when context is dirtied before each method
  Polish “Prevent reverse name lookup when configuring Jetty's address”
  Prevent reverse name lookup when configuring Jetty's address
  Fixup version numbers following release
  Next Development Version
  Protect against symlink attacks
  All CLI support for Windows MINGW environments
  Polish
7 years ago
Marcus Eisele 37ce1784ab Update MySQL validation query to use lightweight ping
Closes gh-11981
7 years ago
Andy Wilkinson c4395afa79 Polish 7 years ago
Andy Wilkinson 6c305e09c3 Reinject mocks when context is dirtied before each method
Closes gh-11903
7 years ago
Andy Wilkinson dc1e1e8280 Polish “Prevent reverse name lookup when configuring Jetty's address”
Closes gh-11889
7 years ago
Henrich Kraemer dc48a90184 Prevent reverse name lookup when configuring Jetty's address
Previously, the host on Jetty's connector was configured using the
host address of the InetSocketAddress. This could result in reverse
name resolution that could cause Jetty to bind to a different IP
address than was configured.

This commit updates the configuration code to use the host string
when specifically does not perform reverse name resolution.

See gh-11889
7 years ago
Phillip Webb 21eb8d89bb Fixup version numbers following release 7 years ago
Spring Buildmaster aa6cb9744b Next Development Version 7 years ago