Commit Graph

6163 Commits (0f550dfce7ad1d20d3a6ba4a30d94230b25f3de6)
 

Author SHA1 Message Date
Stephane Nicoll 0f550dfce7 Merge pull request #4309 from izeye/polish-20151027
* pr/4309:
  Polish contribution
  Polish docs
9 years ago
Stephane Nicoll 0e99ba9004 Polish contribution
I don't think we want to keep this on a single line.

Closes gh-4309
9 years ago
Johnny Lim 396bea22b9 Polish docs
See gh-4309
9 years ago
Stephane Nicoll 2431767c81 Register the LoggingSystem in the ApplicationContext
Closes gh-4159
9 years ago
Andy Wilkinson 05a2b53527 Add information about /liquibase and /flyway to Actuator's docs
Closes gh-3438
9 years ago
Andy Wilkinson 0061e84a59 Document DevTools' requirement for shutdown hook to be registered
Closes gh-4153
9 years ago
Vedran Pavic 59d2ae598b Update documentation to clarify systemd service user
Closes gh-4293
9 years ago
Andy Wilkinson aa3313cfc5 Update NamePatternFilter to detect regular expression character class
Previously, NamePatternFilter looked for “*”, “$”, “^”, or “+” when
trying to identify a string as being a regular expression. This meant
that it missed the use of a character class ([a-z], for example). This
commit adds “[“} to the list of characters that are considered to be
part of a regular expression.

Closes gh-4233
9 years ago
Andy Wilkinson 89df4946f7 Use a context-relative URL for Dev Tools sample’s CSS 9 years ago
Stephane Nicoll 651ab38f18 Add Maven wrapper
Closes gh-4193
9 years ago
Andy Wilkinson 409a485c91 Use the correct version of Spring Security snapshots
See gh-4263
9 years ago
Andy Wilkinson 4ba6b67990 Start building against Spring Security 4.0.3 snapshots
Closes gh-4263
9 years ago
Andy Wilkinson 89bc5754f8 Start building against Spring Framework 4.2.3 snapshots
Closes gh-4257
9 years ago
Stephane Nicoll 40c2c6db08 Clean remote url if necessary
Make sure that the remote URL does not contain a trailing slash.

Closes gh-4297
9 years ago
Phillip Webb edd3f1eade Revert spring-security-oauth upgrade
It doesn't appear to be in Maven Central and it's breaking the eclipse
setup.
9 years ago
Stephane Nicoll 9d9538e558 Fix section of Windows service section
As the Windows service support is not related at all to the executable
jar support it needs to be in a separate location.
9 years ago
Dave Syer 02523799aa Add release repo to default profile 9 years ago
Dave Syer b5f4e7b376 Update to Spring OAuth 2.0.8 9 years ago
Stephane Nicoll ed841ab5f9 Merge pull request #4272 from izeye/broken-links
* pr/4272:
  Fix broken links
9 years ago
Johnny Lim e477598cc6 Fix broken links
Closes gh-4272
9 years ago
Stephane Nicoll c0b8974bc0 Merge branch '1.2.x' 9 years ago
Stephane Nicoll 7c1bf58262 Filter duplicate
Improve the initial PR to include a filtering of the profiles that were
already enabled via the `spring.profiles.active` property.

Also add more tests to prove that each profile is loaded only once
now.

Closes gh-4273
9 years ago
Dave Syer 06bb6bd1e1 Fix logic affecting files loaded
The problem fixed here is that the Loader keeps track of the profiles it
is going to look at for loading files, but ignores any that were already
active in the Environment if the listener is called initially with
spring.profiles.active not empty.

Closes gh-4261
9 years ago
Stephane Nicoll f43817dd27 Fix broken link
Closes gh-4268
9 years ago
Stephane Nicoll e3e28c538f Merge pull request #4265 from izeye/patch-45
* pr/4265:
  Fix error messages
9 years ago
Johnny Lim a1e210f578 Fix error messages
Closes gh-4265
9 years ago
Stephane Nicoll 84728c44c3 Upgrade to Mysql 5.1.37
Closes gh-4262
9 years ago
Stephane Nicoll 601225027f Merge branch '1.2.x' 9 years ago
Stephane Nicoll 2e2ebeb9fa Allow PORTFILE to always override the file to use
Previously, the `PORTFILE` system property was not checked if the
`EmbeddedServerPortFileWriter` was created using the default constructor.

This had the effect to prevent overriding of the port file when this
listener is created without any file or via `META-INF/spring.factories`.

Closes gh-4254
9 years ago
Stephane Nicoll c086a6a7ff Polish doc 9 years ago
Phillip Webb a7a2aa0461 Add "INIT INFO" property substitutions
Update the "INIT INFO section" of `launch.script` to include
`initInfoProvides`, `initInfoShortDescription` and `initInfoDescription`
property substitutions.

The Maven plugin has been updated to populate substitutions with
`${project.artifactId}`, `${project.name}` and `${project.description}`.

Fixes gh-4245
9 years ago
Phillip Webb fe42ced7ab Fix checkstyle 9 years ago
Phillip Webb ce95e08e6f Merge pull request #4189 from izeye/base64
* pr/4189:
  Replace Base64Encoder with Base64Utils
9 years ago
Johnny Lim 300387d995 Replace Base64Encoder with Base64Utils
Replace the custom Base64Encoder class with Spring's Base64Utils which
since 4.2 can encode bytes using Java 8's encoder, commons-digest or
Java 6's JAX-B encoder.

Closes gh-4189
9 years ago
Phillip Webb fb63e887bb Merge pull request #4242 from izeye/trace-response
* pr/4242:
  Make response headers optional in /trace endpoint
9 years ago
Johnny Lim 71c8a114f1 Make response headers optional in /trace endpoint
Update `WebRequestTraceFilter` so that the response respects the
TraceProperties.Include.RESPONSE enum.

See gh-3948
Closes gh-4242
9 years ago
Phillip Webb eeb407881a Restore "exception first" logging
Effectively revert commit b396d0d2 to restore exception first logging
of exceptions for Logback and Log4j2.

This commit also introduces new extended versions of "whitespace"
padding exception loggers so that source jar information is still
included in the stacktrace.

Fixes gh-4247
9 years ago
Phillip Webb 9be0020f7b Fix package tangle in CLI 9 years ago
Phillip Webb 88cc883e94 Refine RequestContextFilter order
Use an order relative to REQUEST_WRAPPER_FILTER_MAX_ORDER.

Closes gh-2637
9 years ago
Phillip Webb 15fbb8ddf9 Polish 9 years ago
Phillip Webb c2a46b8e3b Polish 9 years ago
Phillip Webb 673b4f6de5 Merge branch '1.2.x' 9 years ago
Phillip Webb cfbac20807 Ensure ErrorControllers work when using AOP
Add a BeanFactoryPostProcessor to set PRESERVE_TARGET_CLASS_ATTRIBUTE
to true on all ErrorController bean definitions. Without this attribute
AOP advice on @Controllers causes ErrorController beans to be created
as JDK proxies (since they implement a single valid looking interface)
and therefore not get found by Spring MVC.

Fixes gh-4236
9 years ago
Stephane Nicoll 6a18fa072f Fix import ordering 9 years ago
Dave Syer 90ddd857f4 Add support for binding to Properties in @ConfigurationProperties
Fixes gh-4250
9 years ago
Andy Wilkinson b76414002a Merge branch '1.2.x' 9 years ago
Andy Wilkinson ee93307402 Align the mime mapping configuration across all three embedded containers
Closes gh-4161
9 years ago
Andy Wilkinson 0862ad7f52 Polishing: remove dead code 9 years ago
Andy Wilkinson 2109559f37 Ensure that, where appropriate, actuator endpoints always produce JSON
Previously, the Actuator’s endpoints did not specify a produces
attribute on their request mappings. With Jackson’s XML binding on the
classpath, this would lead to requests made by a browser receiving
application/xml responses (due to the Accept header indicating that
application/xml is preferred). This was problematic as some of the
response payloads were not legal xml. Problems included XML tags
beginning with ‘\’ or containing ‘#’.

This commit updates the endpoints to specify that they produce
application/json. The environment and metrics endpoints have also been
updated so that always return a JSON object, even when they are
returning a single entry. This consistency avoids problems where
clients may not consider a single scalar value to be legal JSON.

Closes gh-2449
9 years ago
Stephane Nicoll cc3b7ca6f6 Add missing configuration keys for groovy template 9 years ago