1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-27 11:48:40 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
Cameron
f8d5157121 Updated ver.php to v2.3.2 (git)
Removed closing PHP tag from generated ver.php file during build.
2021-12-02 14:51:18 -08:00
Nick Liu
3fcbcd34c0 More accurate version generator in e107_make.php build script
No longer trips up on hyphens in the tagged releases
2020-07-08 14:44:50 -05:00
Nick Liu
8caa640af4 CoreImage: Un-blacklist current plugins and themes
For fine-tuning what should be counted as "old" in the core image.

Plugins and themes removed from core but may still be valid plugins are
no longer considered "old".

Current plugins and themes may contain "old" files.

And some removed plugins should be considered "old" anyway.
2020-05-22 14:50:16 -05:00
Nick Liu
da893e4f20 CoreImage: Ignore old plugins and themes
Otherwise, the admin may be confused by why File Inspector wants their
no-longer-core plugins and themes to be deleted.
2020-05-21 16:36:29 -05:00
Nick Liu
2e0664dad4 Moved placeholder core_image.phar to e107_system
Also made naming of "core_image.phar" consistent everywhere
2020-05-11 15:34:16 -05:00
Cameron
e7a79edcd0 Moved core-image to e107_system/ and renamed to core_image.phar 2020-05-11 13:28:01 -07:00
Nick Liu
594f3b543c Build Release: Include core image by itself in release files
Also fixed an E_NOTICE pertaining to array_shift()
2020-04-04 17:53:58 -05:00
Nick Liu
729694b266 e107_make.php: Remove export folder after creating releases 2020-04-04 17:40:18 -05:00
Nick Liu
6253020c92 CoreImage: Support path exclusions
install.php and robots.txt should not be in the database.
2020-04-01 13:29:46 -05:00
Nick Liu
07f5bebab5 Code cleanup for automated release builds
Low-hanging resolutions for Code Climate
2020-03-27 21:57:51 -05:00
Nick Liu
6f6556178f e_file_inspector_json_phar: Smaller core image
e_file_inspector_json_phar is an extended implementation of
e_file_inspector_json that encapsulates a JSON core image into a
gzip-compressed phar.

This results in space savings of over 60% compared to plain JSON.
2020-03-27 17:06:14 -05:00
Nick Liu
b425b4e45d CoreImage: API rework 2020-03-27 17:06:14 -05:00
Nick Liu
b8ed70693f Restored JSON core image generator for performance
PDO SQLite was performing unacceptably poorly.
Let's just load the entire integrity image into RAM…
2020-03-27 17:06:13 -05:00
Nick Liu
84081c3d3d CoreImage: Pack SQLite into phar
This has two benefits:

1. Protects the SQLite database from being accessed on the Internet by
   having the e107_INIT constant check.
2. Compresses the SQLite database, saving over ⅔ of the space!
2020-03-27 17:06:11 -05:00
Nick Liu
d3539cd5b5 CoreImage: Table for versions, slight space savings 2020-03-27 17:06:10 -05:00
Nick Liu
6a9bfeee5f CoreImage: Performance optimization for removed files
Much faster checksumming of deleted files by using git-checkout instead
of git-show
2020-03-27 17:06:10 -05:00
Nick Liu
caa0826c5e CoreImage: Replaced JSON with SQLite
Looks like SQLite scales better when there are more files to put in the
database.
2020-03-27 17:06:10 -05:00
Deltik
6aeee58ac2 JSON reimplementation of CoreImage 2020-03-27 17:06:09 -05:00
Nick Liu
e8a68f15d1 Reimplemented core_image.php deprecated checksums
Format is different and currently incompatible.  The checksum has been
replaced with an associated array where the keys are the e107 version
and the values are the checksum from that e107 version.
2020-03-27 17:06:09 -05:00
Nick Liu
0cf9483075 Defensive cleanup of e107_make.php 2020-03-27 17:06:09 -05:00
Nick Liu
0d80b82b49 Bare minimum to build releases in GitHub Actions 2020-03-27 17:06:08 -05:00
Nick Liu
537106c64f Code warning cleanup of e107_make.php 2020-03-27 17:06:08 -05:00
Nick Liu
a9d8344659 Reformatted e107_make.php 2020-03-27 17:06:08 -05:00
Nick Liu
39c097953f Updated make.ini for #4099
App root files introduced in https://github.com/e107inc/e107/pull/4099
2020-03-27 17:06:08 -05:00
Nick Liu
554baf07e8 Imported e107_make.php and make.ini to begin release builds
(Code from @CaMer0n)
2020-03-27 17:06:07 -05:00