This is an automated email from the ASF dual-hosted git repository.
matrei pushed a change to branch banner-versions
in repository https://gitbox.apache.org/repos/asf/grails-core.git
discard e03070ec0e feat: add versions to banner
add 89d77d5a15 Introduce CreatedDate and LastModifiedDate annotations
add 841fe22a0f Introduce GrailsExtension importGrailsAnnotations that will
auto import @Scaffold and grails.gorm.annotation.*
add 568060d3fd Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
add f0de080830 Fix for mongodb autotimestamp properties not being marked
dirty. Properties will only be marked dirty if other updates exist. This mimics
the behavior in hibernate. Fixes #15120
add 2c91003be4 unused import
add e935901431 Skip null check on AutoTimestamp properties
add 7fed24cecc Hide AutoTimestamp properties from scaffold input/edit views
add 00a4f03bae remove duplicate method
add 0997abda2a Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
add 8019058110 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
add 4d93af3df0 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
add a73aac74a9 Revert setting properties dirty in
AutoTimestampEventListener as this is now handled in the EntityPersister
add 809f1d0b55 Deprecate @AutoTimestamp
add f05cee7e95 Cache annotation lookups when not in development mode
add f37dcc16f4 Add jakarta.validation.constraints.* to common annotation
star imports
add a052ed18ee null check on persistentProperty
add 8602be40b2 remove unused imports
add df38a80392 Support for Spring Data annotations
add e1597d9f79 @CreatedBy and @LastModifiedBy support
add da8776ce87 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
add bb3951b507 Merge branch '7.0.x' into 7.0.x-autotimestamp-enhancements
add a04197fd17 chore: bump to 7.1.0-SNAPSHOT
add 83c9e62d55 Merge branch '7.0.x' into 7.1.x
add 7990edfb6c Merge pull request #15155 from apache/7.0.x
add 9ca377b921 Merge branch '7.0.x' into 7.1.x
add 477a41cfaf Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
add 1ebfb27353 Make annotation caching configurable
add 7ff89e050f make base starImports configurable
add 3af3efeb1f remove comment escaping
add 163a3c2ce5 Allow @CreatedBy and @LastModifiedBy fields to have
constraints applied
add a172a2d6ba Deprecate AutoTimestamp for removal in 8.0
add 7776374bd5 Rename AutoTimestampType to AuditMetadataType since it now
includes createdBy and updatedBy
add 7b91138ebb fix old method reference
add 89e3fa009f Add excludeAnnotatedTimestamps to DomainModelService
interface
add ec7b41a272 Match types in interface
add d4285cf7c5 Use switch statement instead of complex if else
add ede6abf2f3 wrap @ javadoc references in {@code
add b1182cbdfd Fix verison references
add fbad49d3d4 Update example app to use new annotations
add 49cc01d8fc Add missing AuditorAware implementation
add ed11fd5cb5 Merge remote-tracking branch 'upstream/7.0.x' into 7.1.x
add 801a1de40b Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
add 36f44df575 Allow greedy parameters (+) prior to a format paramter that
consume everything but the last .
add cc4b03336c Add test coverage for url mapping greedy marker
add 920ca35487 fix spacing
add 52ec8aff5f remove accidentally added paren
add 778ed4e818 Merge branch '7.1.x' into 7.1.x-url-mapping-greedy-extension
add fea3bd9a6c Document greedy + url mapping
add b4dcd8a1bd Merge pull request #15213 from
codeconsole/7.1.x-url-mapping-greedy-extension
add 36f4edb4f0 Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
add 485e41aba7 document auditing changes in upgrade guide
add f02eb42cbd Rename AutoTimestampUtils to AuditMetadataUtils and log
debug ignored exceptions
add 15a3c8873b 7.1
add 95a746d1c2 Don't call a resource constructor until GORM has been
initialized by Spring
add 4f6ff89883 make resourceClass public
add 6ca251b856 Make resource naming consitent with RestfulController
add 571a9c5078 remove private access
add f35fc44d5e Use Groovy @Lazy for thread safety
add 58ea96bdb4 Merge branch '7.1.x' into
7.0.x-gormservice-dev-racecondition
add 9540fbf3f2 Merge branch '7.1.x' into
7.0.x-gormservice-dev-racecondition
add e8d5a8bc8d Merge branch '7.1.x' into
7.0.x-gormservice-dev-racecondition
add 2c12a6d4ef Document GormService changes
add cbd38b6d97 Merge pull request #15195 from
codeconsole/7.0.x-gormservice-dev-racecondition
add bd126c9ae7 Merge branch '7.1.x' into 7.0.x-autotimestamp-enhancements
add 1db099b332 Fix checkstyleMain
add 162ff83a38 Merge pull request #15118 from
codeconsole/7.0.x-autotimestamp-enhancements
add 06cd705e37 Merge branch '7.0.x' into 7.1.x
add bf6d4dd3d7 feat: add versions to banner
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (e03070ec0e)
\
N -- N -- N refs/heads/banner-versions (bf6d4dd3d7)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
gradle.properties | 4 +-
.../test/groovy/grails/util/GrailsUtilTests.java | 2 +-
.../datastore/gorm/CustomAutoTimestampSpec.groovy | 77 +++-
.../grails/gorm/annotation/AutoTimestamp.java | 2 +
.../{AutoTimestamp.java => CreatedBy.java} | 41 ++-
.../{AutoTimestamp.java => CreatedDate.java} | 19 +-
.../{AutoTimestamp.java => LastModifiedBy.java} | 41 ++-
.../{AutoTimestamp.java => LastModifiedDate.java} | 19 +-
.../gorm/events/AutoTimestampEventListener.java | 124 +++++--
.../datastore/gorm/timestamp/AuditorAware.java | 58 +++
.../eval/DefaultConstraintEvaluator.java | 26 +-
.../registry/DefaultValidatorRegistry.groovy | 5 +-
.../mapping/config/AuditMetadataType.java | 58 +++
.../datastore/mapping/config/Property.groovy | 6 +
.../grails/datastore/mapping/config/Settings.java | 2 +
.../connections/ConnectionSourceSettings.groovy | 5 +
.../mapping/model/AuditMetadataUtils.java | 186 ++++++++++
.../src/en/guide/upgrading/upgrading60x.adoc | 409 +++++++++++++++++++++
.../plugins/domain/DomainClassGrailsPlugin.groovy | 14 +
.../plugin/formfields/FormFieldsTagLib.groovy | 3 +-
.../scaffolding/model/DomainModelService.groovy | 1 +
.../model/DomainModelServiceImpl.groovy | 82 ++++-
.../gradle/plugin/core/GrailsExtension.groovy | 16 +
.../gradle/plugin/core/GrailsGradlePlugin.groovy | 42 ++-
.../plugin/scaffolding/DomainServiceLocator.java | 29 +-
.../grails/plugin/scaffolding/GormService.groovy | 13 +-
.../grails-app/domain/com/example/User.groovy | 15 +-
.../domain/com/example/community/User.groovy | 15 +-
.../grails-app/init/com/example/Application.groovy | 7 +
.../com/example/SpringSecurityAuditorAware.groovy | 50 +++
.../groovy/grails/web/mapping/UrlMappingData.java | 5 +
.../grails/web/mapping/DefaultUrlMappingData.java | 24 +-
.../org/grails/web/mapping/RegexUrlMapping.java | 9 +
.../web/mapping/ResponseCodeMappingData.java | 5 +
.../UrlMappingsWithGreedyExtensionSpec.groovy | 230 ++++++++++++
35 files changed, 1507 insertions(+), 137 deletions(-)
copy
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
=> CreatedBy.java} (59%)
copy
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
=> CreatedDate.java} (78%)
copy
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
=> LastModifiedBy.java} (58%)
copy
grails-datamapping-core/src/main/groovy/grails/gorm/annotation/{AutoTimestamp.java
=> LastModifiedDate.java} (78%)
create mode 100644
grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/timestamp/AuditorAware.java
create mode 100644
grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/config/AuditMetadataType.java
create mode 100644
grails-datastore-core/src/main/groovy/org/grails/datastore/mapping/model/AuditMetadataUtils.java
create mode 100644
grails-test-examples/scaffolding/src/main/groovy/com/example/SpringSecurityAuditorAware.groovy
create mode 100644
grails-web-url-mappings/src/test/groovy/grails/web/mapping/UrlMappingsWithGreedyExtensionSpec.groovy