This is an automated email from the ASF dual-hosted git repository.
codeconsole pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 05393b335a Merge branch '7.2.x' into 8.0.x
add 5baf4bf287 Merge branch '8.0.x' into 7.0.x-remove-EnableWebMvc
add 6e438c55a0 Merge branch '8.0.x' into 7.0.x-remove-EnableWebMvc
add d63f30aa5c Prevent grailsWebRequest double-registration; document Boot
MVC side effects
add bda03969de Address review nits: drop dependency comment, simplify
filter comment
add 7089adbb9c Tighten the filter-chain helper comment
add 574470e1a1 Add test to show feature changes with EnableWebMvc
add 0caf8825f2 Clarify ยง31.3 form-content note: DELETE is the net-new
parsed method
add 2090dcb7f4 Suppress Boot's default static-resource and welcome-page
handling
add 1c42111eba Make the form-content filter the single request-body parser
for non-POST
add 1d405c9cb5 Guarantee the form-content filter for @EnableWebMvc
applications
add c23e1c63b7 Make the i18n locale resolver strategy configurable
add 2950804d72 Let Grails' locale resolver win under @EnableWebMvc and
handle read-only resolvers
add 18bf407db3 Merge branch '8.0.x' into 7.0.x-remove-EnableWebMvc
add 966e83f2f8 Retire grails-spring-security's own FormContentFilter; warn
when parsing is disabled
add 5c4974389b Address review: docs, config metadata, and functional
coverage for form parsing
add 4e458f662a Fix checkstyle OperatorWrap: put string-concatenation + at
end of line
new 1ede3f3c07 Merge pull request #13863 from
codeconsole/7.0.x-remove-EnableWebMvc
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
grails-controllers/build.gradle | 4 +-
.../controllers/ControllersAutoConfiguration.java | 12 +--
.../GrailsFormContentFilterAutoConfiguration.java | 87 +++++++++++++++
...GrailsWebResourcesEnvironmentPostProcessor.java | 51 +++++++++
.../GrailsWelcomePageAutoConfiguration.java | 81 ++++++++++++++
.../src/main/resources/META-INF/spring.factories | 3 +-
...rk.boot.autoconfigure.AutoConfiguration.imports | 2 +
.../ControllersAutoConfigurationSpec.groovy | 18 +++-
...lsFormContentFilterAutoConfigurationSpec.groovy | 97 +++++++++++++++++
...WebResourcesEnvironmentPostProcessorSpec.groovy | 55 ++++++++++
.../GrailsWelcomePageAutoConfigurationSpec.groovy | 60 +++++++++++
.../src/main/groovy/grails/config/Settings.groovy | 14 +++
.../additional-spring-configuration-metadata.json | 29 +++++
grails-doc/src/en/guide/i18n/changingLocales.adoc | 14 ++-
.../src/en/guide/upgrading/upgrading80x.adoc | 40 ++++++-
.../GrailsLocaleResolverAutoConfiguration.java | 102 ++++++++++++++++++
.../grails/plugins/i18n/I18nAutoConfiguration.java | 46 +++++++-
...rk.boot.autoconfigure.AutoConfiguration.imports | 1 +
...railsLocaleResolverAutoConfigurationSpec.groovy | 111 +++++++++++++++++++
.../plugins/i18n/I18nAutoConfigurationSpec.groovy | 38 +++++++
.../SpringSecurityCoreGrailsPlugin.groovy | 3 -
.../springsecurity/SpringSecurityUtils.groovy | 2 -
.../testing/GrailsMockHttpServletRequest.groovy | 59 +++++++++++
...troller.groovy => FormContentController.groovy} | 20 ++--
.../FormContentFunctionalSpec.groovy | 74 +++++++++++++
.../{app5 => enable-mvc-check}/build.gradle | 2 +-
.../grails-app/conf/application.yml | 30 ++----
.../grails-app/conf/logback.xml | 0
.../enablemvccheck/FormContentController.groovy} | 28 ++---
.../enablemvccheck/LocaleController.groovy | 17 ++-
.../controllers/enablemvccheck}/UrlMappings.groovy | 9 +-
.../init/enablemvccheck}/Application.groovy | 14 ++-
.../WebMvcDefaultsFunctionalSpec.groovy | 118 +++++++++++++++++++++
.../main/resources/public/boot-default-mapping.txt | 1 +
.../src/main/resources/public/index.html | 7 +-
.../SpringSecurityUtilsIntegrationSpec.groovy | 12 +--
.../GrailsMockHttpServletRequestSpec.groovy | 29 +++++
.../ParamsAwareLocaleChangeInterceptorTests.groovy | 23 ++++
.../grails/web/servlet/mvc/GrailsParameterMap.java | 31 ++----
.../i18n/ParamsAwareLocaleChangeInterceptor.groovy | 9 ++
.../web/servlet/mvc/GrailsParameterMapTests.groovy | 86 +++++----------
settings.gradle | 2 +
42 files changed, 1263 insertions(+), 178 deletions(-)
create mode 100644
grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/GrailsFormContentFilterAutoConfiguration.java
create mode 100644
grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/GrailsWebResourcesEnvironmentPostProcessor.java
create mode 100644
grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/GrailsWelcomePageAutoConfiguration.java
copy
grails-test-examples/external-configuration/src/test/resources/externalConfig.properties
=> grails-controllers/src/main/resources/META-INF/spring.factories (86%)
create mode 100644
grails-controllers/src/test/groovy/org/grails/plugins/web/controllers/GrailsFormContentFilterAutoConfigurationSpec.groovy
create mode 100644
grails-controllers/src/test/groovy/org/grails/plugins/web/controllers/GrailsWebResourcesEnvironmentPostProcessorSpec.groovy
create mode 100644
grails-controllers/src/test/groovy/org/grails/plugins/web/controllers/GrailsWelcomePageAutoConfigurationSpec.groovy
create mode 100644
grails-i18n/src/main/groovy/org/grails/plugins/i18n/GrailsLocaleResolverAutoConfiguration.java
create mode 100644
grails-i18n/src/test/groovy/org/grails/plugins/i18n/GrailsLocaleResolverAutoConfigurationSpec.groovy
copy
grails-test-examples/app1/grails-app/controllers/functionaltests/{urlmappings/GroupOverrideController.groovy
=> FormContentController.groovy} (68%)
create mode 100644
grails-test-examples/app1/src/integration-test/groovy/functionaltests/FormContentFunctionalSpec.groovy
copy grails-test-examples/{app5 => enable-mvc-check}/build.gradle (98%)
copy grails-test-examples/{app5 =>
enable-mvc-check}/grails-app/conf/application.yml (77%)
copy grails-test-examples/{app4 =>
enable-mvc-check}/grails-app/conf/logback.xml (100%)
copy
grails-test-examples/{app5/grails-app/controllers/app5/WildcardValidationController.groovy
=>
enable-mvc-check/grails-app/controllers/enablemvccheck/FormContentController.groovy}
(68%)
copy
grails-spring-security/rest/core/src/main/groovy/grails/plugin/springsecurity/rest/credentials/AbstractJsonPayloadCredentialsExtractor.groovy
=>
grails-test-examples/enable-mvc-check/grails-app/controllers/enablemvccheck/LocaleController.groovy
(65%)
copy grails-test-examples/{config-report/grails-app/controllers/configreport
=> enable-mvc-check/grails-app/controllers/enablemvccheck}/UrlMappings.groovy
(85%)
copy grails-test-examples/{demo33/grails-app/init/demo =>
enable-mvc-check/grails-app/init/enablemvccheck}/Application.groovy (69%)
create mode 100644
grails-test-examples/enable-mvc-check/src/integration-test/groovy/enablemvccheck/WebMvcDefaultsFunctionalSpec.groovy
create mode 100644
grails-test-examples/enable-mvc-check/src/main/resources/public/boot-default-mapping.txt
copy grails-async/core/README.md =>
grails-test-examples/enable-mvc-check/src/main/resources/public/index.html (78%)