1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

430 Commits

Author SHA1 Message Date
Cameron
911d41a402 e107table class moved out of class2.php to e_render_class.php and renamed to e_render. BC fix added. 2021-01-18 08:52:10 -08:00
Cameron
419a0e727a Fix for HTML used on text_truncate(). Ignore setcookie() in CLI mode. 2021-01-18 07:40:17 -08:00
Cameron
f97dd307af Issue #4350 theme.php class must now use init() and tablestyle() (not __construct() ) 2021-01-17 07:27:28 -08:00
Cameron
04bbad449a Test admin scripts are parsing correctly. 2021-01-16 13:32:35 -08:00
Cameron
692b8c8538 Prevent headers in CLI mode. 2021-01-16 10:02:52 -08:00
Cameron
13517e83a8 Multibyte utf8 method tests and fixes. 2021-01-15 09:03:07 -08:00
Cameron
56f8389417 CoreTemplate tests. FPW BC constant fix. 2021-01-11 18:05:29 -08:00
Cameron
96827c6180 PHP8 fixes 2021-01-06 11:54:51 -08:00
Cameron
f0ce3ac4a9 PHP8 Fixes. RSS speed improvement. 2021-01-05 16:40:01 -08:00
Cameron
7dec5cf40e More $_E107 options 2021-01-05 08:54:09 -08:00
Cameron
78b0079a03 Theme Preview working again. Use ?themepreview=themeDir 2021-01-01 14:05:51 -08:00
Cameron
b22697d1c0 Added TRACKBACKSTRING to legacy constants. 2020-12-29 10:52:38 -08:00
Cameron
518eb6016c Disable redirection to cron, wysiwyg etc. 2020-12-28 12:50:44 -08:00
Cameron
10482b8a89 Solves the duplicate breadcrumb issue. 2020-12-28 09:48:44 -08:00
Cameron
84a3e45e48 Moved old functions out of class2.php. 2020-12-25 14:57:53 -08:00
Cameron
812b7cbcb3 Code cleanup. Moved checkvalidtheme() out of class2.php and into e_theme as initTheme() 2020-12-21 17:46:32 -08:00
Cameron
630f3f415f Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated. 2020-12-21 10:00:28 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
6fb33e7cad Improve speed in admin area. Clear caching only on admin home page and e107 update page. 2020-12-19 11:12:53 -08:00
Cameron
4713f572d0 Remove old css classes from debug info. 2020-12-19 10:50:08 -08:00
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Cameron
eaa44b075f Fix for displaying of debug mode: 'Time Analysis'. Additional markers added to class2.php. 2020-12-12 11:38:31 -08:00
Cameron
4a30f88f2c check_class() code optimization 2020-12-10 18:02:28 -08:00
Cameron
f605ddc552 Code optimization and cleanup. 2020-12-10 15:52:48 -08:00
Cameron
ddb9c801af Issue #4270 Disable automatic WebP conversion in admin area. 2020-12-09 11:22:03 -08:00
Cameron
fb575c257c Issue #4270 On-the-fly conversion to WebP format with fallback for older browsers when using toImage(). 2020-12-09 10:54:15 -08:00
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Cameron
005bff7e59 Code cleanup. Removal of deprecated utf8 classes. 2020-12-08 07:29:17 -08:00
Nick Liu
9b82308021
Fix PHP 8 fatal error: Undefined constant ADMINNAME
PHP Fatal error:  Uncaught Error: Undefined constant "ADMINNAME" in /home/deltik/public_html/e107_themes/bootstrap3/admin_template.php:83
    Stack trace:
    #0 /home/deltik/public_html/e107_admin/header.php(37): require_once()
    #1 /home/deltik/public_html/e107_admin/auth.php(223): require_once('...')
    #2 /home/deltik/public_html/e107_admin/admin.php(79): require_once('...')
    #3 {main}
      thrown in /home/deltik/public_html/e107_themes/bootstrap3/admin_template.php on line 83
2020-12-05 00:56:33 +01:00
Nick Liu
f256b924ce
Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
0f02e9a9a2 Removed some PHP notices occurring in CLI mode. 2020-08-10 18:13:59 -07:00
Cameron
4e8c3e375c Closes #4012 Precaution for when tablerender() is not found. 2020-06-01 13:04:39 -07:00
Moc
c92b6c5e6b
Fixes #3681 - Properly detect antiflood and online tracking prefs
- e_TRACKING_DISABLED is now properly defined when user tracking is turned off ('track_online').
- Use correct antiflood pref ('antiflood1')
- Remove old 'flood_protect' pref (which was not used anymore)
2020-05-23 15:49:40 +02:00
Moc
cf919afa62
#4167 - Add Twitch and VK to Social Pages (wip)
- TODO: add CSS icons to css/fontello.css
2020-05-18 15:17:40 +02:00
Cameron
ad7caf78e8 Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup. 2020-05-04 12:10:22 -07:00
Cameron
951cefec27 Fixes #4153 - load theme class sooner. 2020-05-04 11:15:26 -07:00
Moc
2cddbaa5a2
#4152 - Quickfix for fatal error after clean-up
Introduced after clean-up in commit 834ea354e4
2020-05-03 16:24:06 +02:00
Cameron
834ea354e4 Core Cleanup. 2020-05-02 15:35:30 -07:00
Cameron
dbc6acb8cf Issue #4141 Prevent reloading of theme class. 2020-04-29 10:30:49 -07:00
Cameron
b360e551dd Issue #4141 - Removed check for 'e_SEARCH' as it may have been defined by a plugin. 2020-04-28 15:06:11 -07: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
Cameron
326305f5f2 Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class) 2020-04-26 13:32:18 -07: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
Cameron
b2e915352d Restored loading of admin LAN definitions early.
Removed unnecessary constants from admin_theme.php
2020-01-19 12:06:06 -08:00
Nick Liu
8b354adf44
Don't spam database server with connections
- MOD: Silently ignore failures to e_db_mysql::close(); if it's failing, it's probably already closed
- FIX: Close the PDO or mysqli connection after each e_db_abstractTest test
- MOD: Changed class2.php's $sql variable to be hinted as an e_db instead of e_db_mysql
2020-01-19 14:33:11 +01:00
Nick Liu
52116adc89
Silence debug prints clearly not meant for CLI
- FIX: e_array::unserialize() HTML vomit in CLI mode
- FIX: e107_debug_shutdown() HTML vomit because $error_handler was not global
2020-01-18 18:57:43 +01:00
Nick Liu
62a547aed2
Fixed E_NOTICE in plugin install/uninstall process
- FIX: e107::coreLan() now loads the lan_admin.php file if the $admin argument is true
- FIX: Variable scope of $eplug_folder in e107plugin::uninstall()
- FIX: isset() check order in pluginsTest::makePluginReport()
- FIX: class2.php: Missing ADMINPERMS constant in CLI mode
2020-01-17 17:11:26 +01:00
Nick Liu
b9d4961571
Turn off web error handler for CLI (breaks a lot of stuff!)
error_handler now only runs set_error_handler in web mode.

E_ALL notices, warnings, and errors are now reported, which causes
the test harness to fail.
2020-01-17 14:48:55 +01:00
Cameron
56ac781a2b Moved debug info to footer. 2019-07-01 20:39:01 -07:00
Tijn Kuyper
de1896c667
Closes #3858 - clarified debug message 2019-07-01 10:34:34 +02:00