Skip to content

Add a config option to ignore missing signature - #30819

Merged
PVince81 merged 1 commit into
masterfrom
fix-29094
Mar 23, 2018
Merged

PVince81 merged 1 commit into
masterfrom
fix-29094

Conversation

@VicDeo

@VicDeo VicDeo commented Mar 19, 2018 •

Copy link
Copy Markdown
Contributor

Description

Allows certain apps to have a missing signature

Related Issue

#29094

Motivation and Context

Blocks developing custom inhouse app-themes for our community

How Has This Been Tested?

By

  1. uploading this patch to my 10.0.7.2 cloud,
  2. listing my app-theme in config.php with
    'integrity.ignore.missing.app.signature' => ['theme-1'],
  3. clicking Rescan
    UPD. I tested it more with several apps and found that clicking Rescan rescans core only, for apps rescan is done when any app is disabled/reenabled (this PR still works nevertheless)

Expected & Actual

app-theme is no longer reported in integrity check

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@VicDeo VicDeo added this to the development milestone Mar 19, 2018
@VicDeo
VicDeo requested a review from PVince81 March 19, 2018 18:07
@VicDeo VicDeo self-assigned this Mar 19, 2018
@codecov

codecov Bot commented Mar 19, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #30819 into master will increase coverage by <.01%.
The diff coverage is 94.44%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #30819      +/-   ##
============================================
+ Coverage     61.98%   61.98%   +<.01%     
- Complexity    18369    18373       +4     
============================================
  Files          1157     1157              
  Lines         69080    69092      +12     
  Branches       1242     1242              
============================================
+ Hits          42818    42829      +11     
- Misses        25890    25891       +1     
  Partials        372      372
Flag Coverage Δ Complexity Δ
#javascript 52.33% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 63.08% <94.44%> (ø) 18373 <2> (+4) ⬆️
Impacted Files Coverage Δ Complexity Δ
lib/private/IntegrityCheck/Checker.php 92.94% <94.44%> (-0.07%) 71 <2> (+4)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7273799...c0b9080. Read the comment docs.

@mmattel

mmattel commented Mar 20, 2018

Copy link
Copy Markdown
Contributor

Needs a documentation note in developer_manual/core/theming

@settermjd fyi

@PVince81 PVince81 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good 👍

@PVince81
PVince81 merged commit 07d019a into master Mar 23, 2018
@PVince81
PVince81 deleted the fix-29094 branch March 23, 2018 16:30
@PVince81

Copy link
Copy Markdown
Contributor

@VicDeo please backport

@VicDeo

VicDeo commented Mar 23, 2018

Copy link
Copy Markdown
Contributor Author

Stable10: #30891

@lock

lock Bot commented Jul 31, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants