1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-19 20:09:47 +01:00

12639 Commits

Author SHA1 Message Date
Cameron
ab925f43cc Issue #4124 - Avoid legacy globals with v2.x theme templates. 2020-04-20 11:49:19 -07:00
Cameron
6b9b2f7013 Tweaked last commit so 'auto' is not used unless specified. 2020-04-18 13:52:31 -07:00
Cameron
17d214a450 Native Lazy loading support added to {NEWS_IMAGE} shortcode. eg. {NEWS_IMAGE: loading=lazy} 2020-04-18 13:38:19 -07:00
Cameron
23e62915db
Merge pull request #4132 from Deltik/fix-4113
Enable PHP session file garbage collection
2020-04-18 12:25:52 -07:00
Nick Liu
5d982561c3
Fixes #4113 - Enable session file garbage collection 2020-04-18 14:10:02 -05:00
Nick Liu
4441d6e666
Guard e_session::setDefaultSystemConfig() to dedent function 2020-04-18 14:05:16 -05:00
Cameron
5b34bc9bf1 Fix for Access-Control-Allow-Origin console errors when URLs contain queries. 2020-04-17 13:48:16 -07:00
Cameron
6677e75fcb toImage() Added support for native image lazy-loading. See https://addyosmani.com/blog/lazy-loading/ for more info. 2020-04-17 12:02:10 -07:00
Cameron
a5a4b900a4 Admin-UI: Avoid an unexpected dropdown result if writeParms['optArray'] is defined but empty. 2020-04-16 10:28:18 -07:00
Cameron
4424c9906b LandingZero theme removed from core and moved to its own repo: https://github.com/e107inc/landingzero 2020-04-13 16:43:25 -07:00
Cameron
1d4bc0e95a Corrected internal parser conflict when code/pre tags contained curly brackets. 2020-04-12 12:03:03 -07:00
Cameron
0e3f87cf25 Fixes #3961 Avoid conflicts with earlier themes that may have a 'layouts' folder. 2020-04-11 11:45:50 -07:00
Cameron
19aaffcbcc Fixes #4121 User Column preferences were being ignored when using ajax filtering. 2020-04-11 11:28:26 -07:00
Cameron
6068cf1d63 Form test update. 2020-04-11 11:04:07 -07:00
Cameron
ae1ba7ba2d Fixes #2981 - Removed Image srcset conflicts. Improves rendering quality of fine-lined PNGs under some conditions. 2020-04-10 09:47:17 -07:00
Cameron
9d383566fe Admin-UI: Unchecking all the display columns options and saving now clears the user preference and restores the coded default value found in $fieldpref 2020-04-10 08:25:33 -07:00
Cameron
65322ee132 Issue #3058 - Tweak to avoid conflict with other boolean fields. 2020-04-09 17:42:44 -07:00
Cameron
3730254b8a Admin-UI: Issue #3058 - Made true/false icons consistent regardless of whether inline editing is enabled or disabled. 2020-04-09 17:22:10 -07:00
Cameron
bd647b1514 Improved debugging info on social login update failure. 2020-04-09 10:03:42 -07:00
Nick Liu
c8f6c49720
Another improvement to File Inspector progress bar accuracy
The progress bar now takes into account the time it takes to generate
the results HTML.  The first half of the progress bar is for the actual
file scanning, and the second half is reserved for generating the
results HTML.
2020-04-04 20:52:01 -05:00
Nick Liu
fd7f0b178e
Slight improvement to File Inspector progress bar accuracy
The progress bar now counts upwards for all existing files rather than
the files known to be core.

Also fixed `error_log` name presented in
file_inspector::renderFileName()
2020-04-04 20:30:11 -05: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
d53f4f6338
e107_tests: Dependency pinning to PHP 5.6 2020-04-03 22:02:05 -05:00
Nick Liu
febb6ec72e
Improvements to File Inspector progress bar
* Temporary file for progress bar is placed in the temporary folder
* Progress bar now counts each existing core file

Also prevented path traversal vulnerability in the progress bar page
2020-04-03 18:15:49 -05:00
Cameron
bece1934c2 FileInspector progress bar 2020-04-02 12:13:04 -07:00
Cameron
d640ee8ccf File Inspector UI enhancements. 2020-04-01 16:32:23 -07:00
Cameron
4e2a7af367
Merge pull request #4119 from Deltik/core-image-exclusions
CoreImage: Support path exclusions
2020-04-01 11:36:34 -07: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
Cameron
94b9f59e62 Remove .github folder after git pull. 2020-04-01 10:22:03 -07:00
Nick Liu
89cac32c17
Removed unexpected ob_end_flush() at the beginning of fileinspector.php 2020-03-31 19:51:11 -05:00
Cameron
0f961176d6 PHP Notices. 2020-03-31 11:56:04 -07:00
Nick Liu
a04db4e2c8
Hotfix: Don't fatal error if core_image.php is corrupt 2020-03-29 15:56:33 -05:00
Cameron
4e78b5e1ad
Merge pull request #4114 from e107inc/build-release
Automated Release Builds
2020-03-28 15:30:04 -07:00
Cameron
fd6c9563bd datepicker() deprecated $option['type'] and added $option['mode'] as a replacement. Provides a workaround to a conflict involving a custom 'type' in the writeParms(). 2020-03-28 15:23:38 -07:00
Cameron
428ca4ad0b Additional date filter options added for 3/6/9 months 2020-03-28 14:30:28 -07:00
Cameron
ea5493f723 Avoid a conflict when using a data-label within a carousel. 2020-03-28 13:10:35 -07: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
5eb116142a
File Inspector: Added missing glyph "folder_uncalc" 2020-03-27 17:32:59 -05:00
Nick Liu
03dfb5cce3
Implemented insecure file check in File Inspector
Bugs fixed:

* Security failure status is now prioritized in
  file_inspector::getStatusForValidationCode()
* File Inspector list view now supports filters
2020-03-27 17:06:16 -05:00
Nick Liu
aca78c086b
fileinspector.php: Corrected a typo: </dit> → </div> 2020-03-27 17:06:16 -05:00
Nick Liu
b4f55049f8
File Inspector now shows the old e107 version of core files
Bugfixes related to this change:

* e_file_inspector: During validation, the checksum is now calculated,
  even if the file is old.
* e_file_inspector_json: Strip the "v" from the beginning of version
  numbers in the database to make them proper PHP-standardized versions.
2020-03-27 17:06:16 -05:00
Nick Liu
09d3d2b166
Reimplemented File Inspector "Display results as"
List mode is supported again

Also added file size support
2020-03-27 17:06:15 -05:00
Nick Liu
f73d491df5
Removed support for "Check Integrity Of Core Files"
Integrity is now always checked.
2020-03-27 17:06:15 -05:00
Nick Liu
e9e080afec
Reintroduced filters in File Inspector
Now supports:

* "Show Core Files"
* "Show Missing Core Files"
* "Show Non Core Files"
* "Show Old Core Files"

Removed support for:

* "Exclude Language-Files"
2020-03-27 17:06:15 -05:00
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
6095c94de3
Minimum viable rewrite of File Inspector frontend 2020-03-27 17:06:14 -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
76bb9f6ad8
Extra performance in e_file_inspector_json
Squeezed out more performance at the cost of memory usage
2020-03-27 17:06:13 -05:00