Commit Graph

8869 Commits (bfd62aba10fcfaea6feb43ee40a1c65d79f14379)
 

Author SHA1 Message Date
Andy Wilkinson 1a9f2461db Upgrade to Jaybird 2.2.11
Closes gh-6932
8 years ago
Andy Wilkinson 15793b1abc Upgrade to Jetty 9.2.19.v20160908
Closes gh-6931
8 years ago
Andy Wilkinson b6e3eb0db3 Upgrade to Tomcat 8.0.37
Closes gh-6930
8 years ago
Andy Wilkinson 4d84c4a489 Upgrade to JavaMail 1.5.6
Closes gh-6929
8 years ago
Andy Wilkinson 7665a0924f Upgrade to Spring Framework 4.3.3.RELEASE
Closes gh-6561
8 years ago
Andy Wilkinson f8d32c555d Merge branch '1.3.x' 8 years ago
Andy Wilkinson 918ef04efa Upgrade to Spring Framework 4.2.8.RELEASE
Closes gh-6910
8 years ago
Andy Wilkinson 5806a18eee Upgrade to dependency management plugin 0.6.1.RELEASE
Closes gh-6810
8 years ago
Stephane Nicoll 111743275f Polish 8 years ago
Andy Wilkinson 6565ff616a Clarify documentation on using a Spring Boot app as a dependency
Closes gh-6812
8 years ago
Andy Wilkinson 155cfb1805 Fix boot curies href when server has custom servlet path
Previously, the servlet path was being applied twice. Once by the
code that sets up the DefaultCurieProvider and once by the provider
itself which uses ServletUriComponentBuilder's
fromCurrentServletMapping() to build the application URI.

This commit removes the duplicate logic when creating the
DefaultCurieProvider.

Closes gh-6585
8 years ago
Andy Wilkinson 5afd610855 Merge branch '1.3.x 8 years ago
Andy Wilkinson 93ab01263c Change the ownership of the pid folder when using a sub-folder
This is an alternative to the fix made in 3b52909 which removed the
chown call entirely.

Prior to 3b52909, the ownership of $PID_FOLDER was always changed even
when its value was /var/run. This was problematic as it could prevent
other services from creating their pid folder or file.

When a sub-folder is used, changing its ownership so that it’s owned by
the user that will run the app is desirable as it limits access to the
folder. Rather than removing the chown call entirely, this commit
ensures that it only happens when a sub-folder is being used to hold the
pid file.

Closes gh-6532
8 years ago
Stephane Nicoll 5371722c35 Upgrade to Caffeine 2.3.3
Closes gh-6923
8 years ago
Stephane Nicoll f4da334f1c Upgrade to Ehcache 3.1.2
Closes gh-6922
8 years ago
Phillip Webb b269ab0e4a Make DefaultApplicationArguments public
Fixes gh-6521
8 years ago
Phillip Webb feee401f87 Merge pull request #6921 from izeye/polish-20160919
* pr/6921:
  Polish
8 years ago
Johnny Lim a994b11a73 Polish 8 years ago
Phillip Webb e239e64cb1 Only print MVC interactions when tests fail
Update `@AutoConfigureMockMvc` with a `printOnlyOnFailure` option which
allows errors to be printed only when tests fail. Defaults to `true`
meaning the logs are no longer cluttered with MVC results for passing
tests.

Fixes gh-6653
8 years ago
Phillip Webb 7ec14774a8 Polish 8 years ago
Andy Wilkinson f266e8c69d Merge branch '1.3.x' 8 years ago
Andy Wilkinson 5a539ce381 Update launch script integration tests to work with Docker 1.12
Closes gh-6914 (I hope)
8 years ago
Stephane Nicoll b69fd9229d Merge branch '1.3.x' 8 years ago
Stephane Nicoll 04b261984e Polish 8 years ago
Andy Wilkinson 472117299e Add some integration tests for the CLI’s quiet mode
See gh-6918
8 years ago
Andy Wilkinson 0a9bcd9893 Polish 8 years ago
Phillip Webb ac2609b585 Fix WebDriver lifecycle issues
Update WebDriver support to ensure that the `.quit()` method is called
after each test method runs and that a new WebDriver instance is
injected each time.

Support is provided by introducing a new `Scope` which is applied by
a ContextCustomizerFactory and reset by a TestExecutionListener.

Fixes gh-6641
8 years ago
Phillip Webb 0ef845b96e Polish 8 years ago
Phillip Webb 82ae6e4049 Improve @AutoConfigureTestDatabase failure message
Fixes gh-6916
8 years ago
Phillip Webb 985ee58ad7 Merge pull request #6909 from mikegehard/patch-1
* pr/6909:
  Link to Spring Security OAuth2 reference docs
8 years ago
Mike Gehard 3d8b51d2e4 Link to Spring Security OAuth2 reference docs
Update documentation to include a link to Spring Security OAuth2's
reference documentation.

Closes gh-6909
8 years ago
Phillip Webb 6fc87764d5 Merge pull request #6919 from eddumelendez/gh-6904
* pr/6919:
  Add contextPath LocalHostUriTemplateHandler URIs
8 years ago
Eddú Meléndez bc55b6e0d4 Add contextPath LocalHostUriTemplateHandler URIs
Update `LocalHostUriTemplateHandler` so that the `server.context-path`
property is also considered when building the URL.

Fixes gh-6904
Closes gh-6919
8 years ago
Phillip Webb 7299976d12 Fix banner property used in "quiet" mode
Fixes gh-6918
8 years ago
Phillip Webb aad40093ff Make Mock/Spy qualifiers part of context cache key
Refine @MockBean/@SpyBean qualifier support so that qualifiers form part
of the context cache key. Prior to this commit is was possible that two
different tests could accidentally share the same context if they
defined the same @Mock but with different @Qualifiers.

See gh-6753
8 years ago
Phillip Webb 04448d6bd9 Polish 8 years ago
Stephane Nicoll 6ec1ac0aa0 Fix doc syntax
See gh-6593
8 years ago
Phillip Webb 0eab3e0c5a Drop printed link to reference documentation
Tweak the fix from 50c68a49 to no longer print a link the reference
documentation.

See gh-6593
8 years ago
Phillip Webb 2c621f4094 Fix @AutoConfigureTestDatabase imports
Update `@AutoConfigureTestDatabase` so that it always imports
`DataSourceAutoConfiguration`. Prior to this commit the annotation
could only be applied if something else also imported DataSource
auto-configuration.

Fixes gh-6897
8 years ago
Phillip Webb 825dd0a26c Merge branch '1.3.x' 8 years ago
Phillip Webb 3b52909fc2 Don't change ownership of PID_FOLDER
Update the launch script so that it no longer changes ownership of the
PID_FOLDER.

Commit b24e736cfe had changed the chown
line from:
	chown "$run_user" "$PID_FOLDER/${identity}"
to:
	chown "$run_user" "$PID_FOLDER"

This meant that it was possible for the launch script to change
ownership of `/var/run` and prevent later processes from writing to
the folder.

Since PID_FOLDER is created before the chown statement, and that
the `checkPermissions` function runs to ensure that the PID file can
be written, it appears that the chown is not even required.

Fixes gh-6532
8 years ago
Phillip Webb b97e0bd471 Allow HttpPutFormContentFilter to be disabled
Add `spring.mvc.formcontent.putfilter.enabled` property to allow the
HttpPutFormContentFilter to be disabled.

Fixes gh-6519
8 years ago
Phillip Webb a2e4127d4f Fix multi-annotation nested condition logic
Update `AbstractNestedCondition` to correctly group nested conditions
on members.

Fixes gh-6672
8 years ago
Phillip Webb 3172d434a7 Polish
Closes gh-6835
8 years ago
Andy Wilkinson 49f28b7941 Merge branch '1.3.x 8 years ago
Andy Wilkinson faab9047d6 Start building against Spring Framework 4.2.8 snapshots
See gh-6910
8 years ago
Stephane Nicoll b77eddb8bb Merge branch '1.3.x' 8 years ago
Stephane Nicoll c2cdc1424b Polish documentation
Add an explicit note that states that "spring.datasource.url" (or more
specifically "spring.datasource.class-name" that is inferred from the
former) is necessary to connect to a database. If the class-name isn't
specified, Spring Boot will attempt to auto-configure an embedded
database.

Closes gh-6907
8 years ago
Stephane Nicoll 50c68a497b Improve startup error message
This commit improves the startup error message so that it does not
reference  `--debug` anymore. Such command-line switch only works when
the application is started using `java -jar`.

The error message now refers directly to a section of the documentation
that provides more details and links to more useful examples.

Closes gh-6593
8 years ago
Stephane Nicoll 78bb04f2c1 Polish 8 years ago