Branch: refs/heads/master Home: https://github.com/pmd/pmd Commit: b843242e47e26d1f33887cf5250705fd8e1b9e4c https://github.com/pmd/pmd/commit/b843242e47e26d1f33887cf5250705fd8e1b9e4c Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021)
Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Issue 3576 - First commit for this work with support for most DML operations but not yet undelete (which doesn't seem to be supported at all yet) or merge, nor does it support read/query operations yet. I'll add those in subsequent commits, but I want to lay the foundation now that it seems to be in good shape. Commit: 4e1c17e2971494c05cea9b2f8c4d54debb2aab82 https://github.com/pmd/pmd/commit/4e1c17e2971494c05cea9b2f8c4d54debb2aab82 Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Added support for undelete (except for ESAPI which doesn't support it anyway) and merge. Updated unit tests for this enhancement to include a combination of DML statements and Database methods. Commit: 57626f44d2e878c9895d85778e366d7debf21dd8 https://github.com/pmd/pmd/commit/57626f44d2e878c9895d85778e366d7debf21dd8 Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Added tests for read/queries. Changed to use set-based multimaps as duplicate entries aren't useful. Commit: 2e0ea7161759ef1e7dff0e3e17566a1a157186d5 https://github.com/pmd/pmd/commit/2e0ea7161759ef1e7dff0e3e17566a1a157186d5 Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java Log Message: ----------- Minor clean-up from branch-to-branch merge. Commit: b07686ae437b611f38e28a69ec9813055260d6b2 https://github.com/pmd/pmd/commit/b07686ae437b611f38e28a69ec9813055260d6b2 Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Added a test to verify the *TypeParamIndex configuration properties. Commit: baad5701dc097e1cd8c792b51276da10f7f04baa https://github.com/pmd/pmd/commit/baad5701dc097e1cd8c792b51276da10f7f04baa Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Minor formatting corrections. Commit: 873f3527b292aca1f524d9241bdcd1ca45cac4d3 https://github.com/pmd/pmd/commit/873f3527b292aca1f524d9241bdcd1ca45cac4d3 Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Added information about an observed bug with authorization checks against sub-relations in static SOQL queries. Added a test case that reproduces the bug. Once the bug is fixed, the unit test expectation can be changed to provide both verification and a check against regressions. Commit: 64595b801baff2f37fb133d5bfd4b2d9bb829041 https://github.com/pmd/pmd/commit/64595b801baff2f37fb133d5bfd4b2d9bb829041 Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-21 (Thu, 21 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java Log Message: ----------- Added a compiled pattern cache for the configured method name patterns. Fixed some checkstyle-reported formatting issues. Commit: c919c4d05823df28fbaae0b5c1ce859ef0c62c2e https://github.com/pmd/pmd/commit/c919c4d05823df28fbaae0b5c1ce859ef0c62c2e Author: Scott Wells <sc...@illuminatedcloud.com> Date: 2021-10-22 (Fri, 22 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Incorporated the code review feedback from another PR where applicable. Commit: b9f53ef56af9b504faeb01ab2206c91c99f62884 https://github.com/pmd/pmd/commit/b9f53ef56af9b504faeb01ab2206c91c99f62884 Author: Robert Sösemann <8180281+rsoesem...@users.noreply.github.com> Date: 2021-10-22 (Fri, 22 Oct 2021) Changed paths: M pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java M pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml Log Message: ----------- Merge pull request #3577 from SCWells72/pmd-3576 Compare: https://github.com/pmd/pmd/compare/e67f2a04001a...b9f53ef56af9 _______________________________________________ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits