agritheory / cloud_storage

S3 protocol storage for Frappe Applications - compatible with S3, Backblaze and DO Spaces
https://agritheory.com/documentation/cloud_storage
Other
13 stars 7 forks source link

fix: add whitelist decorator for file content method #82

Closed Alchez closed 2 months ago

Alchez commented 2 months ago

Closes #81.

github-actions[bot] commented 2 months ago

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%