Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grails-plugins/grails-audit-logging-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.2
Choose a base ref
...
head repository: grails-plugins/grails-audit-logging-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Nov 12, 2016

  1. bump version for next iteration

    Robert Oschwald committed Nov 12, 2016
    Copy the full SHA
    5136422 View commit details
  2. Delete changelog.md

    robertoschwald authored Nov 12, 2016
    Copy the full SHA
    eba8958 View commit details
  3. update changelog.adoc

    Robert Oschwald committed Nov 12, 2016
    Copy the full SHA
    535e515 View commit details

Commits on Jan 24, 2017

  1. Fixed issue with Hibernate stamping, stamping was ignored with dynami…

    …cUpdate = true and stamping was ignored on cascading saves.
    tkvw committed Jan 24, 2017
    Copy the full SHA
    33bbeea View commit details

Commits on Jan 31, 2017

  1. Fix docs for verbose mode. See #130

    - fixes #130
    robertoschwald authored Jan 31, 2017
    Copy the full SHA
    42ccbdd View commit details

Commits on Feb 1, 2017

  1. Update README.md

    robertoschwald authored Feb 1, 2017
    Copy the full SHA
    60c5bc6 View commit details
  2. Update version.txt

    No need to bump further. We are on 2.0.3-SNAPSHOT to release 2.0.3, soon.
    robertoschwald authored Feb 1, 2017
    Copy the full SHA
    0b8e7d9 View commit details
  3. Merge pull request #129 from tkvw/master

    Fixed issue with Hibernate stamping, stamping was ignored with dynami…
    robertoschwald authored Feb 1, 2017
    Copy the full SHA
    062ffb4 View commit details

Commits on Feb 2, 2017

  1. release 2.0.3

    robertoschwald committed Feb 2, 2017
    Copy the full SHA
    2d3a2c1 View commit details
  2. Copy the full SHA
    0d5a330 View commit details

Commits on Feb 17, 2017

  1. Copy the full SHA
    7fefce0 View commit details
  2. * Added option to specify createdBy,lastUpdatedBy, dateCreated,lastUp…

    …dated fieldnames per domainclass
    
    * Adding @stamp to the entity disables the default Grails autoStamping by adding a autoTimestamp false to the mapping (this can't be configured)
    * Added tests for these options
    tkvw committed Feb 17, 2017
    Copy the full SHA
    f7009bd View commit details

Commits on Feb 19, 2017

  1. * autoTimestamp false was not picked up due to invalid AST

    * adjusted faulty test
    tkvw committed Feb 19, 2017
    Copy the full SHA
    789955e View commit details

Commits on Feb 20, 2017

  1. Copy the full SHA
    b9ff6ed View commit details

Commits on Mar 20, 2017

  1. Merge pull request #133 from tkvw/master

    Removed blank constraint for nullable stampable properties.
    robertoschwald authored Mar 20, 2017
    Copy the full SHA
    b453be6 View commit details
  2. Copy the full SHA
    44738e9 View commit details
  3. Copy the full SHA
    6da8e92 View commit details
  4. release 2.0.4

    robertoschwald committed Mar 20, 2017
    Copy the full SHA
    8c54879 View commit details
  5. Copy the full SHA
    ce043d3 View commit details
  6. Update README.md

    robertoschwald authored Mar 20, 2017
    Copy the full SHA
    e5fcff4 View commit details
  7. fixed typo

    robertoschwald committed Mar 20, 2017
    Copy the full SHA
    ea6b62b View commit details
  8. Update README.md

    robertoschwald authored Mar 20, 2017
    Copy the full SHA
    a8e532b View commit details
  9. Update README.md

    robertoschwald authored Mar 20, 2017
    Copy the full SHA
    8472e12 View commit details
  10. Update README.md

    robertoschwald authored Mar 20, 2017
    Copy the full SHA
    054d528 View commit details

Commits on Apr 12, 2017

  1. Copy the full SHA
    76d106c View commit details

Commits on Apr 13, 2017

  1. Only pass session to actorClosure if a session actually exists.

    Previous code created a new http session even if a http session did not exists (GrailsWebRequest.getSession() creates a new session if it does not exists)
    This is not desirable when using rest request (a new session will be created for each webrequest).
    The change simply reads the private field value instead of using the getSession method.
    
    This breaks expected behaviour, session could be null when passed to the actorClosure. I don't think this is a problem because normally you would use something like SecurityContextHolder.context.authentication?.name.
    tkvw committed Apr 13, 2017
    Copy the full SHA
    8b993b6 View commit details
  2. Copy the full SHA
    29b0301 View commit details
  3. Copy the full SHA
    c6ded27 View commit details
  4. Copy the full SHA
    4d7e4ff View commit details
  5. Merge pull request #141 from tkvw/master

    Thanks for that.
    robertoschwald authored Apr 13, 2017
    Copy the full SHA
    2fc31ec View commit details

Commits on Apr 26, 2017

  1. Copy the full SHA
    a1dd6ca View commit details
  2. Merge pull request #145 from mb0rn/master

    Updated syncHibernateState to use correct name array.
    robertoschwald authored Apr 26, 2017
    Copy the full SHA
    6740208 View commit details

Commits on Apr 27, 2017

  1. Copy the full SHA
    d016189 View commit details
  2. fix ignore list not used for insert and delete

    - Backported from #137 to master (Grails 3.x)
    - See #136 for details
    robertoschwald committed Apr 27, 2017
    Copy the full SHA
    04acbc3 View commit details
  3. Merge pull request #146 from robertoschwald/backport_137

    Backport fix for ignore list not used for insert and delete. See #144
    robertoschwald authored Apr 27, 2017
    Copy the full SHA
    356adc0 View commit details
  4. cleanup code

    robertoschwald committed Apr 27, 2017
    Copy the full SHA
    57cb7b0 View commit details

Commits on May 9, 2017

  1. replace Travis keys

    robertoschwald committed May 9, 2017
    Copy the full SHA
    5da29a1 View commit details
  2. Copy the full SHA
    92fe15a View commit details

Commits on May 25, 2017

  1. Update configuration.adoc

    Both the table at the top and the actual code (https://github.com/robertoschwald/grails-audit-logging-plugin/blob/2.0.4/audit-logging/grails-app/conf/DefaultAuditLogConfig.groovy#L20) indicate that verbose is *enabled* by default.
    mattmoss authored May 25, 2017
    Copy the full SHA
    d5df668 View commit details

Commits on Jun 2, 2017

  1. Update README.md

    robertoschwald authored Jun 2, 2017
    Copy the full SHA
    f9d4560 View commit details
  2. Update README.md

    robertoschwald authored Jun 2, 2017
    Copy the full SHA
    47fe14f View commit details
  3. Copy the full SHA
    99f02b6 View commit details
  4. update doc template

    robertoschwald committed Jun 2, 2017
    Copy the full SHA
    885dcdf View commit details

Commits on Jun 4, 2017

  1. release 2.0.5

    robertoschwald committed Jun 4, 2017
    Copy the full SHA
    f58c8d0 View commit details
  2. Copy the full SHA
    13553ff View commit details
  3. update README

    robertoschwald committed Jun 4, 2017
    Copy the full SHA
    6a148b8 View commit details
  4. update travis-build

    robertoschwald committed Jun 4, 2017
    Copy the full SHA
    a3e75b1 View commit details

Commits on Jun 6, 2017

  1. re-introduce truncate

    robertoschwald committed Jun 6, 2017
    Copy the full SHA
    bcd86f7 View commit details
  2. Copy the full SHA
    2578869 View commit details
  3. Copy the full SHA
    22804c9 View commit details
Showing with 6,812 additions and 5,357 deletions.
  1. +855 −0 .editorconfig
  2. +1 −0 .envrc
  3. +40 −0 .github/workflows/ci.yaml
  4. +4 −0 .gitignore
  5. +0 −20 .travis.yml
  6. +38 −0 ISSUE_TEMPLATE.md
  7. +52 −32 README.md
  8. +0 −158 audit-logging/build.gradle
  9. +0 −2 audit-logging/gradle.properties
  10. BIN audit-logging/gradle/wrapper/gradle-wrapper.jar
  11. +0 −6 audit-logging/gradle/wrapper/gradle-wrapper.properties
  12. +0 −164 audit-logging/gradlew
  13. +0 −90 audit-logging/gradlew.bat
  14. +0 −51 audit-logging/grails-app/conf/BuildConfig.groovy
  15. +0 −66 audit-logging/grails-app/controllers/grails/plugins/orm/auditable/AuditLogEventController.groovy
  16. +0 −63 audit-logging/grails-app/views/auditLogEvent/list.gsp
  17. +0 −106 audit-logging/src/docs/changelog.adoc
  18. +0 −460 audit-logging/src/docs/configuration.adoc
  19. +0 −12 audit-logging/src/docs/implementation.adoc
  20. +0 −39 audit-logging/src/docs/installation.adoc
  21. +0 −32 audit-logging/src/docs/introduction.adoc
  22. +0 −65 audit-logging/src/docs/usage.adoc
  23. +0 −329 audit-logging/src/main/groovy/grails/plugins/orm/auditable/AbstractASTTransformation.java
  24. +0 −741 audit-logging/src/main/groovy/grails/plugins/orm/auditable/AuditLogListener.groovy
  25. +0 −55 audit-logging/src/main/groovy/grails/plugins/orm/auditable/AuditLogListenerThreadLocal.groovy
  26. +0 −232 audit-logging/src/main/groovy/grails/plugins/orm/auditable/AuditLogListenerUtil.groovy
  27. +0 −154 audit-logging/src/main/groovy/grails/plugins/orm/auditable/AuditLoggingConfigUtils.groovy
  28. +0 −130 audit-logging/src/main/groovy/grails/plugins/orm/auditable/AuditLoggingGrailsPlugin.groovy
  29. +0 −92 audit-logging/src/main/groovy/grails/plugins/orm/auditable/ReflectionUtils.groovy
  30. +0 −22 audit-logging/src/main/groovy/grails/plugins/orm/auditable/Stamp.java
  31. +0 −39 audit-logging/src/main/groovy/grails/plugins/orm/auditable/StampASTTransformation.java
  32. +0 −7 audit-logging/src/main/groovy/grails/plugins/orm/auditable/StampInfo.java
  33. +0 −80 audit-test/build.gradle
  34. +0 −2 audit-test/gradle.properties
  35. BIN audit-test/gradle/wrapper/gradle-wrapper.jar
  36. +0 −6 audit-test/gradle/wrapper/gradle-wrapper.properties
  37. +0 −164 audit-test/gradlew
  38. +0 −90 audit-test/gradlew.bat
  39. +0 −95 audit-test/grails-app/conf/application.groovy
  40. +0 −40 audit-test/grails-app/domain/test/Aircraft.groovy
  41. +0 −35 audit-test/grails-app/domain/test/Airport.groovy
  42. +0 −145 audit-test/grails-app/domain/test/AuditTrail.groovy
  43. +0 −44 audit-test/grails-app/domain/test/Author.groovy
  44. +0 −35 audit-test/grails-app/domain/test/Code.groovy
  45. +0 −17 audit-test/grails-app/domain/test/Publisher.groovy
  46. +0 −11 audit-test/grails-app/domain/test/Resolution.groovy
  47. +0 −12 audit-test/grails-app/domain/test/Review.groovy
  48. +0 −11 audit-test/grails-app/domain/test/Train.groovy
  49. +0 −97 audit-test/src/integration-test/groovy/test/AuditDeleteHandlersOnlySpec.groovy
  50. +0 −147 audit-test/src/integration-test/groovy/test/AuditDeleteSpec.groovy
  51. +0 −72 audit-test/src/integration-test/groovy/test/AuditInsertHandlersOnlySpec.groovy
  52. +0 −257 audit-test/src/integration-test/groovy/test/AuditInsertSpec.groovy
  53. +0 −166 audit-test/src/integration-test/groovy/test/AuditUpdateCollectionSpec.groovy
  54. +0 −90 audit-test/src/integration-test/groovy/test/AuditUpdateHandlersOnlySpec.groovy
  55. +0 −246 audit-test/src/integration-test/groovy/test/AuditUpdateSpec.groovy
  56. +0 −75 audit-test/src/integration-test/groovy/test/ReplacementPatternSpec.groovy
  57. +0 −61 audit-test/src/integration-test/groovy/test/StampSpec.groovy
  58. +0 −25 audit-test/src/main/groovy/test/MyStamp.java
  59. +0 −8 changelog.md
  60. +8 −0 examples/audit-test-allow-update-outside-transaction/README.md
  61. +103 −0 examples/audit-test-allow-update-outside-transaction/build.gradle
  62. +24 −0 examples/audit-test-allow-update-outside-transaction/grails-app/conf/application.groovy
  63. +42 −0 {audit-test → examples/audit-test-allow-update-outside-transaction}/grails-app/conf/application.yml
  64. +32 −0 examples/audit-test-allow-update-outside-transaction/grails-app/conf/logback.groovy
  65. 0 ...t → examples/audit-test-allow-update-outside-transaction}/grails-app/conf/spring/resources.groovy
  66. +135 −0 examples/audit-test-allow-update-outside-transaction/grails-app/domain/test/AuditTrail.groovy
  67. +136 −0 ...it-test-allow-update-outside-transaction/grails-app/domain/test/AuditTrailSecondDatasource.groovy
  68. +20 −0 examples/audit-test-allow-update-outside-transaction/grails-app/domain/test/Author.groovy
  69. +16 −0 ...audit-test-allow-update-outside-transaction/grails-app/domain/test/EntityInSecondDatastore.groovy
  70. 0 ...amples/audit-test-allow-update-outside-transaction}/grails-app/init/audit/test/Application.groovy
  71. +62 −0 ...ate-outside-transaction/src/integration-test/groovy/test/AuditInsertWithoutTransactionSpec.groovy
  72. +13 −0 examples/audit-test-allow-update-outside-transaction/src/main/groovy/test/TestUtils.groovy
  73. +1 −1 { → examples}/audit-test/README.md
  74. +114 −0 examples/audit-test/build.gradle
  75. BIN { → examples}/audit-test/grails-app/assets/images/apple-touch-icon-retina.png
  76. BIN { → examples}/audit-test/grails-app/assets/images/apple-touch-icon.png
  77. BIN { → examples}/audit-test/grails-app/assets/images/favicon.ico
  78. BIN { → examples}/audit-test/grails-app/assets/images/grails_logo.png
  79. BIN { → examples}/audit-test/grails-app/assets/images/skin/database_add.png
  80. BIN { → examples}/audit-test/grails-app/assets/images/skin/database_delete.png
  81. BIN { → examples}/audit-test/grails-app/assets/images/skin/database_edit.png
  82. BIN { → examples}/audit-test/grails-app/assets/images/skin/database_save.png
  83. BIN { → examples}/audit-test/grails-app/assets/images/skin/database_table.png
  84. BIN { → examples}/audit-test/grails-app/assets/images/skin/exclamation.png
  85. BIN { → examples}/audit-test/grails-app/assets/images/skin/house.png
  86. BIN { → examples}/audit-test/grails-app/assets/images/skin/information.png
  87. BIN { → examples}/audit-test/grails-app/assets/images/skin/shadow.jpg
  88. BIN { → examples}/audit-test/grails-app/assets/images/skin/sorted_asc.gif
  89. BIN { → examples}/audit-test/grails-app/assets/images/skin/sorted_desc.gif
  90. BIN { → examples}/audit-test/grails-app/assets/images/spinner.gif
  91. 0 { → examples}/audit-test/grails-app/assets/javascripts/application.js
  92. 0 { → examples}/audit-test/grails-app/assets/javascripts/jquery-2.1.3.js
  93. 0 { → examples}/audit-test/grails-app/assets/stylesheets/application.css
  94. 0 { → examples}/audit-test/grails-app/assets/stylesheets/errors.css
  95. 0 { → examples}/audit-test/grails-app/assets/stylesheets/main.css
  96. 0 { → examples}/audit-test/grails-app/assets/stylesheets/mobile.css
  97. +25 −0 examples/audit-test/grails-app/conf/application.groovy
  98. +116 −0 examples/audit-test/grails-app/conf/application.yml
  99. +1 −0 { → examples}/audit-test/grails-app/conf/logback.groovy
  100. +3 −0 examples/audit-test/grails-app/conf/spring/resources.groovy
  101. 0 { → examples}/audit-test/grails-app/controllers/UrlMappings.groovy
  102. +3 −0 { → examples}/audit-test/grails-app/controllers/test/AuditTrailController.groovy
  103. +2 −2 { → examples}/audit-test/grails-app/controllers/test/AuthorController.groovy
  104. +16 −0 examples/audit-test/grails-app/domain/test/Aircraft.groovy
  105. +10 −0 examples/audit-test/grails-app/domain/test/Airport.groovy
  106. +142 −0 examples/audit-test/grails-app/domain/test/AuditTrail.groovy
  107. +27 −0 examples/audit-test/grails-app/domain/test/Author.groovy
  108. +7 −3 { → examples}/audit-test/grails-app/domain/test/Book.groovy
  109. +9 −0 examples/audit-test/grails-app/domain/test/Coach.groovy
  110. +19 −0 examples/audit-test/grails-app/domain/test/CompositeId.groovy
  111. +16 −0 examples/audit-test/grails-app/domain/test/EntityInSecondDatastore.groovy
  112. +3 −3 { → examples}/audit-test/grails-app/domain/test/Heliport.groovy
  113. +19 −0 examples/audit-test/grails-app/domain/test/NonAuditableCompositeId.groovy
  114. +24 −0 examples/audit-test/grails-app/domain/test/Publisher.groovy
  115. +17 −0 examples/audit-test/grails-app/domain/test/Resolution.groovy
  116. +20 −0 examples/audit-test/grails-app/domain/test/Review.groovy
  117. 0 { → examples}/audit-test/grails-app/domain/test/Runway.groovy
  118. +20 −0 examples/audit-test/grails-app/domain/test/TestEntity.groovy
  119. +10 −0 examples/audit-test/grails-app/domain/test/Train.groovy
  120. +3 −2 ...est/grails-app/domain/test/Coach.groovy → examples/audit-test/grails-app/domain/test/Truck.groovy
  121. +12 −0 examples/audit-test/grails-app/domain/test/Tunnel.groovy
  122. 0 { → examples}/audit-test/grails-app/i18n/messages.properties
  123. +10 −0 examples/audit-test/grails-app/init/audit/test/Application.groovy
  124. 0 { → examples}/audit-test/grails-app/views/auditTrail/index.gsp
  125. 0 { → examples}/audit-test/grails-app/views/auditTrail/show.gsp
  126. 0 { → examples}/audit-test/grails-app/views/author/create.gsp
  127. 0 { → examples}/audit-test/grails-app/views/author/edit.gsp
  128. 0 { → examples}/audit-test/grails-app/views/author/index.gsp
  129. 0 { → examples}/audit-test/grails-app/views/author/show.gsp
  130. 0 { → examples}/audit-test/grails-app/views/error.gsp
  131. 0 { → examples}/audit-test/grails-app/views/index.gsp
  132. 0 { → examples}/audit-test/grails-app/views/layouts/main.gsp
  133. 0 { → examples}/audit-test/grails-app/views/notFound.gsp
  134. +229 −0 examples/audit-test/src/integration-test/groovy/test/AuditDeleteSpec.groovy
  135. +335 −0 examples/audit-test/src/integration-test/groovy/test/AuditInsertSpec.groovy
  136. +175 −0 examples/audit-test/src/integration-test/groovy/test/AuditTransactionSpec.groovy
  137. +141 −0 examples/audit-test/src/integration-test/groovy/test/AuditTruncateSpec.groovy
  138. +192 −0 examples/audit-test/src/integration-test/groovy/test/AuditUpdateCollectionSpec.groovy
  139. +253 −0 examples/audit-test/src/integration-test/groovy/test/AuditUpdateSpec.groovy
  140. +232 −0 examples/audit-test/src/integration-test/groovy/test/AuditableSpec.groovy
  141. +72 −0 examples/audit-test/src/integration-test/groovy/test/StampSpec.groovy
  142. +13 −0 examples/audit-test/src/main/groovy/test/TestUtils.groovy
  143. +61 −0 flake.lock
  144. +21 −0 flake.nix
  145. +10 −2 gradle.properties
  146. +13 −0 gradle/artifactoryPublish.gradle
  147. +54 −0 gradle/docs.gradle
  148. +22 −0 gradle/grailsPublish.gradle
  149. BIN gradle/wrapper/gradle-wrapper.jar
  150. +1 −2 gradle/wrapper/gradle-wrapper.properties
  151. +43 −35 gradlew
  152. +4 −10 gradlew.bat
  153. +1 −4 makedoc.sh
  154. +87 −0 plugin/build.gradle
  155. 0 {audit-logging → plugin}/doc.sh
  156. +16 −19 {audit-logging → plugin}/grails-app/conf/DefaultAuditLogConfig.groovy
  157. 0 {audit-logging → plugin}/grails-app/conf/application.yml
  158. 0 {audit-logging → plugin}/grails-app/conf/logback.groovy
  159. +68 −0 plugin/grails-app/controllers/grails/plugins/orm/auditable/AuditLogEventController.groovy
  160. 0 {audit-logging → plugin}/grails-app/init/grails/plugins/orm/auditable/Application.groovy
  161. +58 −0 plugin/grails-app/views/auditLogEvent/list.gsp
  162. 0 {audit-logging → plugin}/grails-app/views/auditLogEvent/show.gsp
  163. +169 −0 plugin/src/docs/changelog.adoc
  164. +213 −0 plugin/src/docs/configuration.adoc
  165. BIN {audit-logging → plugin}/src/docs/images/cover.png
  166. +27 −0 plugin/src/docs/implementation.adoc
  167. +13 −8 {audit-logging → plugin}/src/docs/index.adoc
  168. +65 −0 plugin/src/docs/installation.adoc
  169. +30 −0 plugin/src/docs/introduction.adoc
  170. +44 −0 plugin/src/docs/stamping.adoc
  171. +12 −11 {audit-logging → plugin}/src/docs/templates/index.tmpl
  172. +153 −0 plugin/src/docs/upgrading.adoc
  173. +217 −0 plugin/src/docs/usage.adoc
  174. +30 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditEventType.groovy
  175. +76 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLogContext.groovy
  176. +297 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLogListener.groovy
  177. +136 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLogListenerUtil.groovy
  178. +91 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLogQueueManager.groovy
  179. +38 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLogTransactionSynchronization.groovy
  180. +142 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLoggingConfigUtils.groovy
  181. +130 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/AuditLoggingGrailsPlugin.groovy
  182. +260 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/Auditable.groovy
  183. +85 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/ReflectionUtils.groovy
  184. +110 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/StampListener.groovy
  185. +16 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/Stampable.groovy
  186. +16 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/resolvers/AuditRequestResolver.groovy
  187. +20 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/resolvers/DefaultAuditRequestResolver.groovy
  188. +13 −0 plugin/src/main/groovy/grails/plugins/orm/auditable/resolvers/SpringSecurityRequestResolver.groovy
  189. 0 {audit-logging → plugin}/src/main/scripts/audit-quickstart.groovy
  190. +10 −12 {audit-logging → plugin}/src/main/templates/AuditLogEvent.groovy.template
  191. +7 −1 settings.gradle
  192. +59 −43 travis-build.sh
  193. +2 −1 version.txt
855 changes: 855 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "CI"
on:
push:
branches:
- master
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- run: cd $GITHUB_WORKSPACE

- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
java-package: jdk
architecture: x64

- run: ./gradlew check
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: testreport-audit-test-${{ matrix.java }}
path: examples/audit-test/build/reports/tests
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: testreport-audit-test-allow-update-outside-transaction-${{ matrix.java }}
path: examples/audit-test-allow-update-outside-transaction/build/reports/tests

- run: ./gradlew :examples:audit-test:check -Daudit-test.AuditTrail.datasource=DEFAULT
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: testreport-audit-test-single-datasource-${{ matrix.java }}
path: examples/audit-test/build/reports/tests
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -24,3 +24,7 @@ audit-logging/classes
classes
/.asscache
/audit-test/.asscache
.vscode/settings.json
/plugin/out
/examples/audit-test/out
/.direnv
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

38 changes: 38 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Thanks for reporting an issue for the grails audit-logging plugin.
Please review the task list below before submitting the issue.

> WARNING: Your issue report may be closed if the issue report is incomplete and does not include an example. Make sure the below tasks are completed!
> NOTE: If you are unsure about something and the issue is more of a question, a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/grails) or Slack (http://slack-signup.grails.org). DO NOT use the issue tracker to ask questions.
### Task List

- [ ] Steps to reproduce provided
- [ ] Stacktrace (if present) provided
- [ ] Example that reproduces the problem uploaded to Github
- [ ] Full description of the issue provided (see below)

### Steps to Reproduce

1. TODO
2. TODO
3. TODO

### Expected Behaviour

Tell us what should happen

### Actual Behaviour

Tell us what happens instead

### Environment Information

- **Operating System**: TODO
- **GORM Version:** TODO
- **Grails Version (if using Grails):** TODO
- **JDK Version:** TODO

### Example Application

- TODO: link to github repository with example that reproduces the issue
84 changes: 52 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,90 @@
#*Grails Audit Logging Plugin*#
# Grails Audit Logging Plugin

The Grails Audit Logging plugin for Grails 3.x adds generic event based Audit Logging to a Grails project and also adds support to domain models for hooking into the GORM events system.
This plugin was originally maintained by [symentis](https://github.com/symentis) and was gracefully donated to the GPC

##**Documentation**##
* For Grails 3.x release documentation, see [Plugin Documentation](https://robertoschwald.github.io/grails-audit-logging-plugin/latest/)
* For Grails 3.x snapshot documentation, see [Snapshot Plugin Documentation](https://robertoschwald.github.io/grails-audit-logging-plugin/snapshot/plugin.html)
* For Grails 2.x documentation, see [Grails Plugin Page](http://grails.org/plugin/audit-logging "Grails Plugin Page")
## Description

##**Supported Grails versions**##
* Grails 3.x (master branch)
* Grails 2.x (1.x_maintenance branch)
The Audit Logging plugin for Grails adds generic event based Audit Logging to a Grails project.

##**audit-quickstart**##
Versions 1.1.0 (Grails 2.x) and 2.0.0 (Grails 3.x) are the first versions with audit-quickstart command support.
The master branch holds the codebase for plugin version 4.0.x (Grails 4.0.x).

For older Grails versions, see "Supported Grails Versions" below.
## Moving to Maven Central
This repositories new artifacts are currently moved to Maven Central, sind Bintray will shut down MAY/01/21. You can obtain the old artifacts from https://repo.grails.org.

## Documentation
* For current release documentation, see [User Guide](https://gpc.github.io/grails-audit-logging-plugin/latest/plugin.html)
* For snapshot documentation, see [Snapshot User Guide](https://gpc.github.io/grails-audit-logging-plugin/snapshot/plugin.html)
* For 4.x documentation, see [4.x User Guide](https://gpc.github.io/grails-audit-logging-plugin/4.0.x/plugin.html)
* For 3.x documentation, see [3.x User Guide](https://gpc.github.io/grails-audit-logging-plugin/3.0.x/plugin.html)
* For 2.x documentation, see [2.x User Guide](https://gpc.github.io/grails-audit-logging-plugin/2.0.x/plugin.html)

## Grails versions
* Grails 4.0.x: [master branch (5.0.x version)](https://github.com/gpc/grails-audit-logging-plugin/tree/master) Alternatively up to Grails 4.0.9: [4.x_maintenance branch](https://github.com/gpc/grails-audit-logging-plugin/tree/4.x_maintenance)
* Grails 3.3.x: [3.x_maintenance branch](https://github.com/gpc/grails-audit-logging-plugin/tree/3.x_maintenance)
* Grails 3.0.x-3.2.x: [2.x_maintenance branch](https://github.com/gpc/grails-audit-logging-plugin/tree/2.x_maintenance)
* Grails 2.x: [1.x_maintenance branch](https://github.com/gpc/grails-audit-logging-plugin/tree/1.x_maintenance)

## audit-quickstart
You need to perform "grails audit-quickstart \<package\> \<DomainClass\>" after installing this plugin's 2.0.x version or later.

With this, you get an auditlog domain class in your project which is fully under your control.
The domain name is registered in your application.groovy with key "grails.plugins.auditLog.auditDomainClassName".

Therefore, you need to perform "grails audit-quickstart \<package\> \<DomainClass\>" after installing this plugin's version(s) and later. See issue [#13](https://github.com/robertoschwald/grails-audit-logging-plugin/issues/13)

With this, you get a AuditLog domain class in your project which is fully under your control. The domain name is registered in your application.groovy with key "grails.plugins.auditLog.auditDomainClassName".

Example:

```
grails audit-quickstart org.example.myproject MyAuditLogEvent
```

##**Issue Management**##

See [GitHub Issues](https://github.com/robertoschwald/grails-audit-logging-plugin/issues "Issues")
## Issue Management

JIRA issues have been migrated to GitHub issues recently (Thanks to Graeme).
Please do not add issues / comments to Jira anymore. Old Jira issues, see [JIRA](http://jira.grails.org/browse/GPAUDITLOGGING "GPAUDITLOGGING JIRA")
See [GitHub Issues](https://github.com/gpc/grails-audit-logging-plugin/issues "Issues")

##**Pull Requests**##
## Pull Requests
Pull requests are highly appreciated and welcome!

Please add integration tests for new features to the audit-test application.

##**Contributors**##
Special thanks to all the contributors to the project (in alphabetical order):
## Contributors
Special thanks to all the <a href="https://github.com/gpc/grails-audit-logging-plugin/graphs/contributors">contributors</a> (in alphabetical order):

Aaron Long
Alan Wikie
Aldrin
Andrey Zhuchkov
Ankur Tripathi
Burt Beckwith
Burt Beckwith
bzamora33
Danny Casady
Dennie de Lange
Dhiraj Mahapatro
Elmar Kretzer
Felix Scheinost
Fernando Cambarieri
Graeme Rocher
Jeff Palmer
Jorge Aguilera
Juergen Baumann
Madhava Jay
Matt Long
Matthew A Stewart
Paul Taylor
Robert Oschwald
Sami Mäkelä
Sebastien Arbogast
Semyon Atamas
Shawn Hartsock
Tom Crossland

Project lead: Robert Oschwald

Project lead: TBD

##**Continuous Integration Server**##
[![Build Status](https://travis-ci.org/robertoschwald/grails-audit-logging-plugin.svg)](https://travis-ci.org/robertoschwald/grails-audit-logging-plugin)

## Bintray##
<a href='https://bintray.com/robertoschwald/plugins/audit-logging/view?source=watch' alt='Get automatic notifications about new "audit-logging" versions'><img src='https://www.bintray.com/docs/images/bintray_badge_color.png'></a>
## Continuous Integration Server
![Build Status](https://github.com/gpc/grails-audit-logging-plugin/actions/workflows/ci.yaml/badge.svg?branch=master)

## Maven Central Repository
This plugin will be available from Maven Central, soon. Older versions (up to 4.0.3) are available from the [Grails Artifact Repository](https://repo.grails.org/ui/).
***

<a href="https://www.yourkit.com/java/profiler/index.jsp"><img src="https://www.yourkit.com/images/yklogo.png" alt="YourKit Java Profiler"/></a>
158 changes: 0 additions & 158 deletions audit-logging/build.gradle

This file was deleted.

2 changes: 0 additions & 2 deletions audit-logging/gradle.properties

This file was deleted.

Binary file removed audit-logging/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions audit-logging/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

164 changes: 0 additions & 164 deletions audit-logging/gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions audit-logging/gradlew.bat

This file was deleted.

51 changes: 0 additions & 51 deletions audit-logging/grails-app/conf/BuildConfig.groovy

This file was deleted.

This file was deleted.

63 changes: 0 additions & 63 deletions audit-logging/grails-app/views/auditLogEvent/list.gsp

This file was deleted.

106 changes: 0 additions & 106 deletions audit-logging/src/docs/changelog.adoc

This file was deleted.

460 changes: 0 additions & 460 deletions audit-logging/src/docs/configuration.adoc

This file was deleted.

12 changes: 0 additions & 12 deletions audit-logging/src/docs/implementation.adoc

This file was deleted.

39 changes: 0 additions & 39 deletions audit-logging/src/docs/installation.adoc

This file was deleted.

32 changes: 0 additions & 32 deletions audit-logging/src/docs/introduction.adoc

This file was deleted.

65 changes: 0 additions & 65 deletions audit-logging/src/docs/usage.adoc

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

80 changes: 0 additions & 80 deletions audit-test/build.gradle

This file was deleted.

2 changes: 0 additions & 2 deletions audit-test/gradle.properties

This file was deleted.

Binary file removed audit-test/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions audit-test/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

164 changes: 0 additions & 164 deletions audit-test/gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions audit-test/gradlew.bat

This file was deleted.

95 changes: 0 additions & 95 deletions audit-test/grails-app/conf/application.groovy

This file was deleted.

40 changes: 0 additions & 40 deletions audit-test/grails-app/domain/test/Aircraft.groovy

This file was deleted.

35 changes: 0 additions & 35 deletions audit-test/grails-app/domain/test/Airport.groovy

This file was deleted.

145 changes: 0 additions & 145 deletions audit-test/grails-app/domain/test/AuditTrail.groovy

This file was deleted.

44 changes: 0 additions & 44 deletions audit-test/grails-app/domain/test/Author.groovy

This file was deleted.

35 changes: 0 additions & 35 deletions audit-test/grails-app/domain/test/Code.groovy

This file was deleted.

17 changes: 0 additions & 17 deletions audit-test/grails-app/domain/test/Publisher.groovy

This file was deleted.

11 changes: 0 additions & 11 deletions audit-test/grails-app/domain/test/Resolution.groovy

This file was deleted.

12 changes: 0 additions & 12 deletions audit-test/grails-app/domain/test/Review.groovy

This file was deleted.

11 changes: 0 additions & 11 deletions audit-test/grails-app/domain/test/Train.groovy

This file was deleted.

Loading