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

3309 Commits

Author SHA1 Message Date
Nick Liu
ef819f6c30
Prevent multiple includes of ThumbLib
Fixes this error:

```
Constant THUMBLIB_BASE_PATH already defined
 /e107/e107_handlers/phpthumb/ThumbLib.inc.php:31
 /e107/e107_handlers/media_class.php:1943
 /e107/e107_handlers/mail.php:1269
 /e107/e107_handlers/mail.php:654
 /e107/e107_handlers/mail.php:976
 /e107/e107_tests/tests/unit/e107EmailTest.php:61
```
2020-08-11 19:08:31 -05:00
Cameron
b0376d7689 Changed ver.php back to (git) 2020-07-08 11:36:56 -07:00
Cameron
5284996daa Removed Bitcoin from README
Updated ver.php to v2.3.0 (rc1)
2020-07-08 11:30:06 -07:00
Cameron
d1c235a558 Closes #4208 - Open Premium Theme URL in a new window. 2020-07-07 11:33:37 -07:00
Cameron
d516986c8a Session Save Method set to 'db' as default. 2020-07-02 12:11:50 -07:00
Cameron
582bd3f72c Fixes #4200 - check theme version is compatible and disable installation if necessary. 2020-07-01 13:00:34 -07:00
Cameron
a6a98a82ad Code cleanup. Incompatible plugin alert now links directly to uninstall page for each plugin found. 2020-06-26 13:58:59 -07:00
Cameron
30db97cbac A PHP module check (similar to the one during installation) has been added to the PHPInfo page to quickly detect any missing modules after one migrates e107 to another PHP configuration. 2020-06-24 14:35:49 -07:00
Cameron
6200d0ce69 Added message after core updates to suggest running File Inspector. 2020-06-12 13:29:40 -07:00
Cameron
7439d599f8 Issue #4176 - Incremental introduction of database sessions - Experimental (work in progress) 2020-06-02 13:43:21 -07:00
Cameron
988f5e32cd PHP warning removal. 2020-06-02 12:24:33 -07:00
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