1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

6 Commits

Author SHA1 Message Date
Nick Liu
00d171473e
Validation bits improvement for e_file_inspector
Now File Inspector detects old files regardless of their hash value.
2020-03-27 17:06:15 -05:00
Nick Liu
e10c3230f4
Bugfixes and performance optimization for e_file_inspector
- MOD: e_file_inspector::validate() will no longer bother with
       checksumming a file if the database hash is not present for the
       requested version.
- MOD: Better check for e_file_inspector::VALIDATED_DETERMINABLE
- MOD: e_file_inspector::VALIDATED_UPTODATE will now pass if there is no
       checksum in the database and no calculable checksum in the real
       file.
- FIX: Better documentation for
       e_file_inspector_interface::VALIDATED_DETERMINABLE
- FIX: Use the same bit for e_file_inspector::VALIDATED for a full
       validation check in e_file_inspector::validate()
2020-03-27 17:06:12 -05:00
Nick Liu
bb1c32489c
Add a version filter to e_file_inspector::getPathIterator() 2020-03-27 17:06:12 -05:00
Nick Liu
0494000356
Rewrote e_file_inspector validation constants
Now uses bit flags, as the previous approach of "overriding" the
validation code may hide information.  Previously,
e_file_inspector::VALIDATION_FAIL could be overridden by
e_file_inspector::VALIDATION_OLD.  Now, e_file_inspector::VALIDATED_HASH
and e_file_inspector::VALIDATED_UPTODATE provides information about
both.
2020-03-27 17:06:12 -05:00
Nick Liu
0e7ad8a1b0
Rewrite e_file_inspector implementation: Use SQLite phar 2020-03-27 17:06:11 -05:00
Deltik
20dbdefb77
Began work on the core_image.php reader 2020-03-27 17:06:10 -05:00