Commit Graph

11527 Commits (73bf744cb0ea7244db12fea2d3dd5d7a2422d4f5)
 

Author SHA1 Message Date
Andy Wilkinson e7b03f7ca3 Don't auto-configure MultipartConfigElement when using Commons FileUpload
Previously, when a user had declared a custom MultipartResolver bean
that is a CommonsMultipartResolver, part resolution would fail. The
failure was occurring as the servlet container was consuming the parts
before CommonsMultipartResolver had a chance to read them. This was
happening because a MultipartConfigElement was being auto-configured.

This commit updates the multipart auto-configuration so that a
MultipartConfigElement is not auto-configured when there is a
CommonsMultipartResolver bean in the context.

Closes gh-7735
7 years ago
Andy Wilkinson 92f62043d4 Fix placeholder support in <springProfile>'s name attribute
Closes gh-13450
7 years ago
Andy Wilkinson 6081db5c34 Make ZipHeaderInputStream read sub 5 byte entries correctly
Closes gh-13525
7 years ago
Stephane Nicoll 99f993bc82 Add tests for JndiConnectionFactoryAutoConfiguration
Closes gh-13526
7 years ago
Stephane Nicoll af126b1bb3 Fixup version numbers following release 7 years ago
Spring Buildmaster 36b8639853 Next Development Version 7 years ago
Stephane Nicoll dc4691fd7f Merge pull request #13438 from vtintillier:remove-junit-dependency
* pr/13438:
  Polish "Exclude JUnit from json-simple"
  Exclude JUnit from json-simple
7 years ago
Stephane Nicoll 6e5ae0c71d Polish "Exclude JUnit from json-simple"
Closes gh-13438
7 years ago
Vivien Tintillier e9aa6dd29f Exclude JUnit from json-simple
See gh-13438
7 years ago
Stephane Nicoll 93804eeb24 Upgrade to Spring Integration 4.3.17
Closes gh-13458
7 years ago
Stephane Nicoll f030073ce2 Upgrade to Spring Data Ingalls SR13
Closes gh-13456
7 years ago
Andy Wilkinson 9c1da51f73 Upgrade to Jetty 9.4.11.v20180605
Closes gh-13464
7 years ago
Andy Wilkinson 634101a333 Upgrade to Jackson 2.8.11.20180608
Closes gh-13463
7 years ago
Andy Wilkinson b8247f363d Upgrade to Spring Security 4.2.7.RELEASE
Closes gh-13196
7 years ago
Stephane Nicoll 678d3dc394 Upgrade to Spring Framework 4.3.18.RELEASE
Closes gh-13352
7 years ago
Brian Clozel 1b81f6f4c0 Fix security test with changes in SPR-16836
This commit replaces the use of a GET method by a DELETE method for
testing that the HiddenHttpMethodFilter is ordered before the security
filter. With SPR-16836 changes, only PUT DELETE and PATCH are now
allowed.
7 years ago
Andy Wilkinson 9d9acc92e3 Strengthen wording in JSP limitations regarding jar support
Closes gh-13420
7 years ago
Stephane Nicoll 6b86190ae8 Remove unnecessary ConfigurationProperties
Closes gh-13412
7 years ago
Stephane Nicoll 0b644910d7 Fix typo
Closes gh-13368
7 years ago
Andy Wilkinson 3e3575eaef Upgrade to Spring Session 1.3.3.RELEASE
Closes gh-13387
7 years ago
Andy Wilkinson 6910831f25 Upgrade to Spring Cloud Connectors 1.2.6.RELEASE
Closes gh-13386
7 years ago
Andy Wilkinson 15cffde8b3 Upgrade to Spring Amqp 1.7.8.RELEASE
Closes gh-13385
7 years ago
Andy Wilkinson 884bd9008c Upgrade to Lombok 1.16.22
Closes gh-13384
7 years ago
Andy Wilkinson 26a5c4ad7e Upgrade to Hsqldb 2.3.6
Closes gh-13383
7 years ago
Andy Wilkinson b7a46b8653 Upgrade to Appengine Sdk 1.9.64
Closes gh-13382
7 years ago
Stephane Nicoll 584d2de9f3 Document use of component scan exclude filters on SpringBootApplication
Closes gh-10933
7 years ago
Stephane Nicoll d0b71a7d43 Document usage of auto-configuration AP for 3rd party starters
Closes gh-13368
7 years ago
Phillip Webb 6c7289b822 Allow META-INF/resources in WAR classes folder
Update `TomcatResources` so that `META-INF/resources` folders in
`src/main/resources` no longer fail with a "URI is not hierarchical"
exception.

Closes gh-13265
7 years ago
Stephane Nicoll 628cce567f Start building against Spring Framework 4.3.18 snapshots
See gh-13352
7 years ago
Stephane Nicoll a562cb5d6c Merge pull request #13338 from mtheiss:master
* pr/13338:
  Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
  Retrieve javax.cache.CacheManager using Bean ClassLoader
7 years ago
Stephane Nicoll c67aedd8bc Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
Closes gh-13338
7 years ago
Martin Theiss 76b9d0d243 Retrieve javax.cache.CacheManager using Bean ClassLoader
This commit uses the bean's classloader to retrieve the CacheManager to
prevent issues with off-heap serialization.

See gh-13338
7 years ago
Stephane Nicoll f745f20c8c Clarify scope of JNDI-based MailSenderAutoConfiguration
This commit separates the auto-configuration of JavaMailSender in two
distinct configuration: one based on existing Session available on JNDI
and the other one based on properties configuration.

This clarifies the auto-configuration report and the fact that the JNDI
variant overrides any Session-related properties that would have been
set in the environment

Closes gh-13026
7 years ago
Phillip Webb bb0550ab95 Polish 7 years ago
Phillip Webb 55d0611bc3 Guard against JarURLConnection with wrong JAR
Update `JarURLConnection.get()` to guard against the wrong nested JAR
being used as context.

Closes gh-11367
7 years ago
Phillip Webb 5243adce22 Restore Java 1.6 compatibility 7 years ago
Phillip Webb 00b76490dc Remove error logging on ClientAbortException
Update `ErrorPageFilter` so that a Tomcat `ClientAbortException` no
longer causes "Cannot forward to error page for request" logging for
committed responses. Since a `ClientAbortException` indicates that the
client is no longer available it's of no consequence that the request
has been committed and the forward will fail.

Closes gh-13221
7 years ago
Phillip Webb 43071b9375 Polish formatting 7 years ago
Phillip Webb 2bfcefa48e Reinstate support for disabling build checking
Closes gh-13291
7 years ago
Phillip Webb 4d84933ee4 Also call setHttpOnly property on Tomcat context
Update `ServerProperties` to also call `setHttpOnly` on the
`TomcatContext`. It appears that this is required in addition to
using the `ServletContextInitializer` to setup `SessionCookieConfig`.

Closes gh-12580
7 years ago
Phillip Webb b03f890567 Upgrade to spring-javaformat 0.0.2 7 years ago
Stephane Nicoll 5692b83a6f Add note on sanitizing values
Closes gh-13138
7 years ago
Stephane Nicoll 3118f14dbb Fix NPE when OnExpressionCondition is invoked with a null BeanFactory
Closes gh-13249
7 years ago
Stephane Nicoll 2140196f64 Merge pull request #13262 from lukaseder:master
* pr/13262:
  Polish "Reference the latest version of the jOOQ manual"
  Reference the latest version of the jOOQ manual
7 years ago
Stephane Nicoll fcd8e0fad3 Polish "Reference the latest version of the jOOQ manual"
Closes gh-13262
7 years ago
Lukas Eder cb1530d38e Reference the latest version of the jOOQ manual
See gh-13262
7 years ago
Phillip Webb f45ed0e56c Don't validate HelpMojo formatting
The `HelpMojo` class is always generated and it should not be checked
for formatting.

See gh-13255
7 years ago
Phillip Webb e75d8eaf40 Switch to spring-javaformat plugin
Use `spring-javaformat` to format and check code. Code formatting can
now be applied using the `spring-javaformat-maven-plugin` from the
command line. Existing checkstyle rules have also been replaced and
the CONTRIBUTING.adoc file has been updated.

Closes gh-13255
7 years ago
Phillip Webb e69296d7d3 Fix checkstyle violations in samples 7 years ago
Phillip Webb 4853477081 Reformat code 7 years ago