Nick Liu
c901832c6e
Fixes #1836 - Apply fix for #1446 to admin area
...
This is the same bugfix as the one for #1446 . It needs to be duplicated
for the admin area.
See stack trace analysis of the bug here:
https://github.com/e107inc/e107/issues/1836#issuecomment-633858469
2020-05-26 02:43:49 -05:00
Cameron
6daabd3fa5
Developer mode pref check fix.
2020-05-25 13:09:29 -07:00
Cameron
2009549a4e
Issue #4049 - media_sef (URL) returned for media type 'file' was incorrect.
2020-05-25 12:34:18 -07:00
Moc
7f0b2134ab
Tweak developer mode check and cleanup
2020-05-23 17:31:44 +02:00
Cameron
57b6546892
Issue #4172 Fixed missing category_sef value in admin/news area and news gsitemap url generation.
2020-05-21 12:00:54 -07:00
Cameron
a908c9fc8e
File inspector - improved detection of old files.
2020-05-20 13:48:54 -07:00
Cameron
0ed1a9ae5f
Log deprecated files during fileinspector scan and prompt to delete these files in admin.php when the log contains data.
2020-05-20 13:31:09 -07:00
Cameron
042aa72a83
Closes #4120 - As a precaution, also clear the browser cache when an old bootstrap path is detected.
2020-05-12 16:47:09 -07:00
Cameron
b25dfa99af
Issue #4120 - fix bootstrap path automatically.
2020-05-12 16:13:33 -07:00
Cameron
e8dcda855e
Issue #4120 Check for outdated bootstrap path.
2020-05-12 16:11:43 -07:00
Cameron
1fbb3c5a5c
Issue #4120 Check for outdated bootstrap path. Additional testing needed.
2020-05-12 15:22:08 -07: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
Cameron
8ac7f1fdf1
Cache added to newforumposts_menu.php. Fancybox 2.06b added to incompatible plugin list. (it loads an old version of jQuery) . Fix for BC replacement of newforumposts_main not rendering.
2020-05-06 13:33:01 -07:00
Cameron
def50c174d
Upgrade and Backward Compatibility Fixes.
2020-05-05 15:11:49 -07:00
Moc
715d8dde60
Tweak developer mode check and message
2020-05-04 21:22:13 +02:00
Moc
7ffad1f4d2
Check for developer mode
...
Adds warning for ADMIN when developer mode is enabled, but when user is not on localhost (indicating developing).
2020-05-03 17:43:50 +02:00
Cameron
834ea354e4
Core Cleanup.
2020-05-02 15:35:30 -07:00
Nick Liu
01404fa9c6
Blank out core_image.php in repo
...
This file is basically always going to be outdated in the development
tree. Use the build artifact files for integrity verification.
Tests have also been modified not to use this file.
2020-04-29 11:43:25 -05:00
Cameron
568d8feb77
Closes #4141 - Upgraded theme specification for v2.3.0+. See bootstrap3/theme.php for details. Use 'theme' class.
2020-04-28 14:03:05 -07:00
Tijn Kuyper
8d73a79427
Github Sync - Check for developer mode
2020-04-27 15:19:58 +02:00
Cameron
326305f5f2
Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class)
2020-04-26 13:32: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
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
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
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
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
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
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
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
Cameron
f4b4ba61d5
Clear system cache after running Git pull or sync.
2020-03-26 11:53:37 -07:00
Cameron
0fc826f171
Improved body ID when Admin-UI is in use.
2020-03-25 05:29:39 -07:00
Cameron
bc777c7414
Detect and refresh language file lists when scanning plugin directories.
2020-03-03 13:11:48 -08:00
Cameron
35e2e3b4aa
Merge pull request #4099 from Deltik/fix-3492
...
New 3rd-party PHP dependency manager for e107 core and HybridAuth upgrade.
2020-02-26 13:58:03 -08:00
Cameron
aa9753a174
Automatic password rehashing added to admin login page.
2020-02-22 11:45:35 -08:00