Commit Graph

14348 Commits (ac22225b1de2ee62da6fed3875722f51eb9916a5)
 

Author SHA1 Message Date
Phillip Webb e01c92a38a Polish 7 years ago
Phillip Webb 64c5e8b6ed Rename @DurationUnit -> @DefaultDurationUnit
Rename `@DurationUnit` to `@DefaultDurationUnit` to make it clearer
that it only changes the unit if one isn't specified by the user.

Closes gh-11078
7 years ago
Phillip Webb 6f3ca459ea Align MongoReactiveSessionConfiguration conditions
Align `MongoReactiveSessionConfiguration` `@ConditionalOnClass` with
`MongoSessionConfiguration`

See gh-11063
7 years ago
Andy Wilkinson 4f3a51e78f Merge pull request #11063 from Vedran Pavić
* gh-11063:
  Polish "Improve Spring Session auto-configuration tests"
  Improve Spring Session auto-configuration tests
7 years ago
Andy Wilkinson 8a3502bdde Polish "Improve Spring Session auto-configuration tests"
See gh-11063
7 years ago
Vedran Pavic d8e3960631 Improve Spring Session auto-configuration tests
Closes gh-11063
7 years ago
Brian Clozel b7753a1f29 Polish 7 years ago
tinexw e2bc90b6bb Add CacheControl config keys in spring.resources.*
This commit adds several configuration keys for customizing the
"Cache-Control" HTTP response header when serving static resources.

New keys are located in the "spring.resources.cache-control.*"
namespace; anything configured there will prevail on existing
"spring.resources.cache-period=" values, so as to mirror Spring MVC's
behavior.

Fixes gh-9432
7 years ago
Andy Wilkinson bc98b84013 Reduce excessive logging by disabling Statsd metrics export
Closes gh-11009
7 years ago
Andy Wilkinson 4d1a98b380 Improve exception message that reports clashing endpoint operations
Closes gh-10942
7 years ago
Andy Wilkinson e216560896 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 89d27e58d3 Close input stream after adding entry to jar in DevTools tests
Closes gh-11089
7 years ago
Andy Wilkinson 41c297063b Record metrics for request handled by ParameterizableViewController
Closes gh-10335
7 years ago
Andy Wilkinson 331c7a1c56 Make handler Object available to WebMvcTagsProvider.httpRequestTags
Closes gh-11088
7 years ago
Andy Wilkinson 417c98304d Remove assumption about file separator that is incorrect on Windows
Closes gh-11087
7 years ago
Stephane Nicoll 578c64644f Merge pull request #11084 from vpavic:align-session-2.0
* pr/11084:
  Polish "Align Session auto-config with Redis namespace config support"
  Align Session auto-config with Redis namespace config support
7 years ago
Stephane Nicoll 75079b3bb8 Polish "Align Session auto-config with Redis namespace config support"
Closes gh-11084
7 years ago
Vedran Pavic b6d9ae7efa Align Session auto-config with Redis namespace config support
See gh-11084
7 years ago
Andy Wilkinson f654b9b302 Build against Spring Integration snapshots for 5.0.0.RELEASE
See gh-11085
7 years ago
Stephane Nicoll aaabc45281 Fix typo 7 years ago
Stephane Nicoll e4e635f09a Start building against Spring Session Data MongoDB 2.0 snapshots
See gh-11083
7 years ago
Stephane Nicoll 87d2b8c54e Start building against Spring Session 2.0 snapshots
See gh-11082
7 years ago
Phillip Webb 8f4bf233b4 Update configuration properties to use Duration
Update appropriate configuration properties to use the `Duration`
type, rather than an ad-hoc mix of milliseconds or seconds.

Configuration properties can now be defined in a consistent and readable
way. For example `server.session.timeout=5m`.

Properties that were previously declared using seconds are annotated
with `@DurationUnit` to ensure a smooth upgrade experience. For example
`server.session.timeout=20` continues to mean 20 seconds.

Fixes gh-11080
7 years ago
Phillip Webb cbaf0fa686 Support Duration in generated meta-data
Update the configuration properties annotation processor to deal
with `Duration` based default values. For example a field that
defaults to `Duration.ofSeconds(10)` will have a meta-data default
value of `10s`.

See gh-11080
7 years ago
Phillip Webb 7c6c9ddf09 Refine duration converter for optional suffix
Update `StringToDurationConverter` so that the suffix is optional and
values such as `100`, `+100`, `-100` are assumed to be milliseconds.

Also add support for `@DurationUnit` to allow the unit to be changed
on a per-field basis (allowing for better back-compatibility).

Closes gh-11078
7 years ago
Stephane Nicoll 303b812363 Properly document default for useNewIdGeneratorMappings
Closes gh-11064
7 years ago
Phillip Webb e147982045 Add FilteredClassLoader
Add `FilteredClassLoader` to replace `HideClassesClassLoader` and
`HidePackagesClassLoader`.

Fixes gh-10303
7 years ago
Phillip Webb 74c48767a1 Add beanFactory context constructors
Align `WebServer` application contexts with Spring Framework by allowing
a custom beanFactory to be used on construction.

Fixes gh-8547
7 years ago
Phillip Webb 99afc4bc1f Allow more flexible Duration binding
Extend `BinderConversionService` to support `Duration` parsing of
the more readable `10s` form (equivalent to 10 seconds). Standard
ISO-8601 parsing also remains as an option.

Fixes gh-11078
7 years ago
Phillip Webb 2f6aca222e Fix checkstyle violation
Fix public constructor accidentally added in commit 72862b565c.

See gh-10387
7 years ago
Phillip Webb bc322ff593 Merge pull request #10387 from eddumelendez/flyway_check_vendor_locations
* pr/10387:
  Polish location check with vendor placeholder
  Support location check with vendor placeholder
7 years ago
Phillip Webb 72862b565c Polish location check with vendor placeholder
Closes gh-10387
7 years ago
Eddú Meléndez 1ee47cec31 Support location check with vendor placeholder
Update location check logic triggered if `flyway.check-location=true`
to resolve any vendor placeholders in `flyway.locations`.

See gh-10387
7 years ago
Phillip Webb 3be667cf7b Merge pull request #11076 from nklmish/issue-11067
* pr/11076:
  Polish Kafka transaction support property
  Add Kafka transaction support property
7 years ago
Phillip Webb 4c29c35cbb Polish Kafka transaction support property
Closes gh-11076
7 years ago
nklmish 6d396b973f Add Kafka transaction support property
Add `spring.kafka.producer.transaction-id-prefix` property that will be
passed to `DefaultKafkaProducerFactory.setTransactionIdPrefix(...)`

See gh-11076
7 years ago
Phillip Webb 8d8357e5b8 Merge pull request #11075 from izeye/polish-20171118
* pr/11075:
  Polish
7 years ago
Johnny Lim 73c65286ea Polish 7 years ago
Phillip Webb 7ff2cb5dc8 Polish 7 years ago
Stephane Nicoll 3e9c2b84b6 Fix default ReactiveWebApplicationContext class
Closes gh-11074
7 years ago
Stephane Nicoll 382267d6ef Merge pull request #11073 from dreis2211:fix-duplicate-words
* pr/11073:
  Remove duplicate words
7 years ago
dreis2211 23da409b31 Remove duplicate words
Closes gh-11073
7 years ago
Stephane Nicoll c4070e093c Polish 7 years ago
Madhura Bhave 49768e2b1f Register config classes once in reactive child context
Fixes gh-10939
7 years ago
Phillip Webb 1f47672940 Merge pull request #11068 from izeye/super
* pr/11068:
  Remove explicit constructor super() calls
7 years ago
Johnny Lim 1783a072ad Remove explicit constructor super() calls
Closes gh-11068
7 years ago
Phillip Webb a6cefc5ba0 Polish 7 years ago
Madhura Bhave 551c08ebfe Update conditions for OAuth security config
Closes gh-11070
7 years ago
Madhura Bhave 50a3c2fe2a Rename test to a more suitable name 7 years ago
Madhura Bhave 5ce9067e30 Clean trailing slash from endpoints.web.base-path
Fixes gh-11021
7 years ago