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
Cameron
b726dde81d
Fix for 'list' detection.
2019-06-21 14:04:28 -07:00
Cameron
4c2762d7b9
Fixes #3860 - remove from magic shortcode 'caption'
2019-06-19 12:55:44 -07:00
Cameron
dc53fb37a1
header/footer code cleanup
2019-06-17 09:23:21 -07:00
Cameron
a9292caef0
Moved list detection to class2.
2019-06-16 13:45:05 -07:00
Cameron
478fc8d060
Tablerender: setContent('list') added to login menu and news menus.
2019-06-16 13:30:16 -07:00
Cameron
4780e73ef4
Code cleanup
2019-06-16 12:44:22 -07:00
Cameron
1c7bc92a65
Tablerender: Use uniqueIds to keep setContent() values intact.
2019-06-16 12:32:55 -07:00
Cameron
1cca064f0f
Breadcrumb fallback fix.
2019-06-15 16:55:13 -07:00
Cameron
346d42bdfb
BC Fallback for breadcrumb() generator. Magix shortcode fix for news-view. Magic shortcodes are defined by the first render with {SETSTYLE=default} or {SETSTYLE=main} encountered in the template.
2019-06-15 16:45:03 -07:00
Cameron
c4d2752477
Notice removal
2019-06-14 14:44:46 -07:00
Cameron
37e7a4c996
Magic Shortcodes added. Fix for news 'view' rendering.
2019-06-12 20:20:09 -07:00
Cameron
e5061e2c01
Experimental - render variable accumulator.
2019-06-12 13:13:22 -07:00
Cameron
f1081c2b21
Fixes #3815 - deftrue not found issue.
2019-05-25 11:53:29 -07:00
Cameron
1501ccfda5
Clear cache after core update
2019-05-22 13:59:02 -07:00
Cameron
92b365ffc3
Issue #3774 Allow e107 to function without setting directories in e107_config.php
2019-05-17 13:27:36 -07:00
Cameron
f148e20837
Moved library loading into class2. Fixes Fontawesome not loading early enough when added via theme.xml (with forum and possibly other parts of e107). Added the FONTAWESOME constant to Paths/Variables debug output.
2019-04-11 10:47:50 -07:00
Cameron
3d9ed2b040
Theme layout (Visibility Filter) detection enhanced. Help information improved.
2019-04-06 12:11:05 -07:00
Cameron
94bdbfa7e2
Fix for check_class tests.
2019-03-08 12:10:28 -08:00
Cameron
a2d5b9c31e
Improved getThemeLayout() method.
2019-02-28 14:20:33 -08:00
Cameron
0c537aaf0d
Cleanup
2019-02-26 15:54:51 -08:00
Cameron
60647dc5f8
Made getThemeLayout() more flexible.
2019-02-26 13:56:07 -08:00
Cameron
7259688c6d
Notice removal
2019-02-10 19:00:06 -08:00
Cameron
ee04ccc7db
PHP 7.3 fix
2019-02-08 11:01:42 -08:00