Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add whitelist decorator for file content method #82

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

Alchez
Copy link
Collaborator

@Alchez Alchez commented Aug 19, 2024

Closes #81.

@Alchez Alchez requested a review from agritheory August 19, 2024 05:49
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py11554%10–11, 17–19
customize.py25250%1–2, 4, 7–9, 12–19, 24–32, 44–45
hooks.py150100% 
cloud_storage
   __init__.py00100% 
cloud_storage/doctype
   __init__.py00100% 
cloud_storage/doctype/file_association
   __init__.py00100% 
   file_association.py30100% 
cloud_storage/doctype/file_version
   __init__.py00100% 
   file_version.py330%5, 8–9
cloud_storage/overrides
   file.py33815055%48, 55, 83, 88, 95, 104, 110, 142, 145, 155–162, 164–172, 177, 182–183, 187–188, 190–195, 197–200, 202–203, 205, 207, 216, 219–220, 222, 225, 228, 233–234, 237, 240, 251–255, 260, 269, 271–272, 274, 279–283, 286–288, 322, 328, 334, 340, 346, 352, 362, 364–366, 370, 378–380, 382, 396–397, 399, 422–426, 434–435, 438–439, 460–461, 468–469, 484–485, 488, 491–500, 507–508, 510–512, 515–516, 521–523, 525, 530–533, 538, 540, 552–553, 555, 560–564, 566, 571–577
config
   __init__.py00100% 
   desktop.py330%1, 4–5
   docs.py660%1, 3–5, 9–10
tests
   conftest.py26196%36
   test_file.py900100% 
TOTAL52019362% 

@agritheory agritheory merged commit bee8ebc into version-15 Aug 19, 2024
4 checks passed
@Alchez Alchez deleted the fix-content-whitelist branch August 20, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

open file form view to preview docx file, error message get_content not decorated with whitelist
2 participants