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

66 Commits

Author SHA1 Message Date
Cameron
a908c9fc8e File inspector - improved detection of old files. 2020-05-20 13:48:54 -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
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
Tijn Kuyper
a68b470ef8
Fileinspector - fix for FA icons not showing on results 2019-11-05 14:28:50 +01:00
Tijn Kuyper
e021c52db1
fileinspector - code-cleanup, no functional changes
Reformatting, syntax, spacing, tabs, etc.
2019-11-05 14:28:34 +01:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Nick Liu
5b4f936d92
file_inspector::inspect() optional arguments
file_inspector::inspect() now works in PHP 7 because pass-by-reference
variables are optional now as they were intended.

Fixes: #3013
2018-01-28 06:27:29 -06:00
Cameron
692168edc1 File inspector icon. 2017-02-02 12:20:02 -08:00
Tijn Kuyper
347c9f9af0 Update methods to load LAN files in Admin Area
(fingers crossed there are no typo's...)
2017-01-17 01:33:03 +01:00
MikeyGMT
66cb27b263 LANs in File Inspector #6
LANs in File Inspector #6
2016-12-18 19:20:04 +00:00
MikeyGMT
386f25a7a3 Issue #1819 Clean up of Lans on File Inspector
Issue #1819 Clean up of Lans on File Inspector
2016-10-10 15:22:33 +01:00
Cameron
308f5c9810 Rollback changes to JS on Fileinspector. Should fix issue #1454 2016-04-16 15:56:02 -07:00
Lóna Lore
92f006849d Issue #223 - Replaced javascript code with "jquery". 2016-03-24 10:26:25 +01:00
Cameron
f01f426380 File Inspector fixes. 2016-03-18 15:49:19 -07:00
Cameron
c748f0fdb3 File Inspector fixes/upgrades. 2016-03-18 09:35:52 -07:00
Cameron
6ad5d9a1f7 Issue #223 - File Inspector should now be fully functional. 2016-03-18 00:43:31 -07:00
Cameron
b941eba39c Issue: #223 Temporary core image added for testing. File Inspector fix. Known Issue: Missing non-core files in results. 2016-03-17 21:27:58 -07:00
Cameron
9d3e1ad5e7 Issue #223 - File Inspector UI cleanup. 2016-03-17 18:53:33 -07:00
Cameron
329401bda5 Issue #223 - File Inspector working again. 2016-03-17 14:10:17 -07:00
MikeyGMT
7fba9bd190 Issue #6 Replace LAN_nnn with LAN_SHOW
Issue #6 Replace LAN_nnn with LAN_SHOW
2016-02-24 15:46:23 +00:00
Cameron
796f5fa95c Header location cleanup. From now, please use e107::redirect(); to redirect to the home page, or e107::redirect('admin'); to redirect to the admin start page or e107::redirect($url); 2016-01-13 19:18:12 -08:00
Cameron
e576370e57 Remove some references to deprecated functions/methods. 2015-02-14 23:34:15 -08:00
Cameron
063bf2b200 $frm->selectbox() renamed to $frm->select(); for consistency. 2013-04-25 17:29:46 -07:00
Cameron
3d26475d97 File-inspector GUI fixes. 2013-03-06 17:20:01 -08:00
Tijn Kuyper
4073d4988d Header and minor code cleanup (#125) 2013-03-04 00:32:03 +01:00
Tijn Kuyper
5290bb8ea4 More notice removal 2012-12-08 13:52:05 +01:00
Cameron
87a19b68ec Fileinspector fixes - using bootstrap components now. 2012-11-29 00:28:55 -08:00
CaMer0n
98117308f2 More file-system cleanup 2012-06-01 20:50:29 +00:00
CaMer0n
9f1a322c98 JS work and HTML cleanup 2012-05-16 06:05:39 +00:00
CaMer0n
ab4dc250ec Cleaned up footer.php links. 2010-07-23 23:21:48 +00:00
mcfly
dcc20bcf9c Changes to how file inspector reports on some special files - thanks Lawbringer 2010-02-23 16:18:14 +00:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
e107steved
ced812d83c Handle renamed help directory 2010-02-07 17:24:05 +00:00
CaMer0n
1377b23532 Fix copyright info. 2009-11-18 01:06:08 +00:00
marj
806d025085 charset and badchars 2009-11-12 14:30:07 +00:00
marj
201b7e20f1 Add include_lan() to admin pages 2009-08-28 16:11:02 +00:00