| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| scriptlog-v1.5.1.zip | 2026-07-10 | 10.9 MB | |
| README.md | 2026-07-10 | 3.5 kB | |
| v1.5.1 source code.tar.gz | 2026-07-10 | 11.3 MB | |
| v1.5.1 source code.zip | 2026-07-10 | 12.5 MB | |
| Totals: 4 Items | 34.7 MB | 2 | |
[1.5.1] - 2026-07-10
Added
- Unit tests: 11 new test files covering recent type safety, filter validation, and error handling fixes —
DaoFilteringIdTest(11 tests),PostServiceNewMethodsTest(9 tests),PostModelQueryTest(8 tests),MediaDaoBugFixesTest(6 tests),FormSecurityFunctionsTest(13 tests),FunctionsThemeTest(11 tests),PageControllerTest(7 tests),HumanLoginValidateTest(8 tests),UploadPhotoFunctionTest(7 tests),PostDaoDeleteRecordTest(6 tests),PostControllerConstructorTest(10 tests)
Fixed
- Dao::filteringId(): Now throws
InvalidArgumentExceptioninstead ofDbException; returnsintfor'sql'type with positive integer validation - PostDao::updatePost(): Added explicit
nullthird parameter todeleteRecord()call - MediaDao::findMediaBlog(): Fixed return type from boolean
truetonullfor empty results - MediaDao::imageUploadHandler(): Added null check on
$data_mediabefore array access - PostModel: Migrated all JOINs from
INNER JOINtoLEFT JOINfortbl_media; moved media filter conditions from WHERE to ON clause; fixedtbl_user→tbl_usersingetPostByAuthor() - PostService::setPostContent(): Added
$skipPurifyparameter to bypass HTMLPurifier for encrypted content - form-security.php::check_form_request(): Added
$alwaysAllowedfields (csrfToken,postFormSubmit,MAX_FILE_SIZE) that skip whitelist validation - human-login.php::validate_login_context(): Expanded whitelist with
csrf,rememberfields - upload-photo.php::upload_photo(): Skip
set_origin_photo()whenfileinfoextension is loaded (file already moved byset_webp_origin) - PostController: Refactored constructor to accept
TopicDaoandMediaDao; delegated image handling toPostService; expanded payload whitelist withpost_password,post_locale,post_tags - PageController: Added
post_modifiedtocheck_form_request()whitelist ininsert()andupdate() - admin/posts.php: Updated
PostControllerinstantiation with 3 constructor arguments - Theme functions: Added
filter_var()validation tolink_tag()andlink_topic(); added ID validation toretrieve_detail_post(); addedget_post_thumbnail()function with fallback image - single.php: Added 404 validation when post not found; added default value initialization for all template variables; restructured protected post content processing with proper
isset()guards
Changed
- PostController: Refactored
insert()andupdate()to use injected DAOs instead of creating new instances; removedhandlePostImage(),handleDefaultImage(),handleUploadedImage()(moved to PostService) - PostService: Added
processPostImage(),processDefaultImage(),processUploadedImage()methods orchestrating image handling logic
Chore
- Updated translation cache files and exception log
Notes
Patch release focused on type safety hardening, input validation, and error handling improvements across DAO, Service, Controller, and Model layers. 11 new test files (94+ tests) added to cover all recent changes. 33 commits since v1.5.0.
Codename
Maleo Senkawor – Honoring Macrocephalon maleo, the critically endangered megapode endemic to Sulawesi, Indonesia.