Cameron
b080ab8c9b
Exclude third-party scripts from test.
2020-12-23 08:46:39 -08:00
Cameron
eb47eb7716
Snippet to include id attribute.
2020-12-23 08:35:31 -08:00
Cameron
b5684da8d7
Removed duplicate config item.
2020-12-23 08:23:00 -08:00
Cameron
ffea1449f9
Simplified snippet example. Added caching of loaded snippet.
2020-12-23 08:04:20 -08:00
Cameron
5009b35163
Removed old paths from configuration and adjusted some tests.
2020-12-23 07:37:00 -08:00
Cameron
ce7fa515c3
Experimental theme snippets feature added.
2020-12-22 17:06:52 -08:00
Cameron
3c57f3fa96
Mod-security doesn't like '+' in queries. Debug query now uses '!'
2020-12-22 15:17:29 -08:00
Cameron
402d1f4126
Closes #1801 Code cleanup. Deprecated method errors added.
2020-12-22 14:48:28 -08:00
Cameron
881670d92c
Catch any debugger errors that could occur during Github sync. Added more deprecated items to the log.
2020-12-22 09:59:39 -08:00
Cameron
3f8e043998
Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias.
2020-12-22 09:36:02 -08:00
Cameron
1433646305
Deprecated some old themeHandler methods in favor of e_theme class. Should see a speed increase in theme manager.
2020-12-22 09:29:12 -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
92504acfdd
Backward compatibility with PHP 5.6
2020-12-21 10:09:03 -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
63527c4f19
Code cleanup. Extra debug info under Paths.
2020-12-21 06:43:07 -08:00
Cameron
78665cd56d
Performance: Reduced e107::getFolder() usage from 2500+ to less than 30.
2020-12-21 06:41:45 -08:00
Nick Liu
539c3f1a67
PHP bug 66773 workaround in Hybridauth
...
In PHP 7.0.12 and earlier, a class could not be loaded with the same
name as another class in a different namespace. This commit patches the
Hybridauth dependency to avoid PHP bug 66773. Unfortunately, the fix
will be rolled back any time Hybridauth is updated or overwritten.
PHP bug link: https://bugs.php.net/bug.php?id=66773
2020-12-21 11:09:32 +01:00
Cameron
34ff7e464a
Corrected provider count.
2020-12-20 20:05:06 -08:00
Cameron
ce1f9f8888
Added missing composer file.
2020-12-20 19:57:56 -08:00
Cameron
9880a68d4b
Code cleanup
2020-12-20 19:42:09 -08:00
Cameron
0f4b3d29cb
Some tests added.
2020-12-20 19:41:16 -08:00
Cameron
f950b32774
Adding missing package
2020-12-20 19:12:50 -08:00
Cameron
aee1d26df8
HybridAuth and PHPMailer updated.
2020-12-20 17:50:56 -08:00
Cameron
153cf33aa7
Fix test for PHP 5.6
2020-12-20 13:44:18 -08:00
Cameron
bdb4104f9c
Moved parseheader() to e107 class as renderLayout() Added test.
2020-12-20 13:25:03 -08:00
Cameron
601df26d51
Code optimization for speed and reduced memory usage.
2020-12-20 11:50:10 -08:00
Cameron
6b5cc07929
Remove some debug logs. Improved others.
2020-12-19 11:46:58 -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
3bc98186a9
Plugin-Manager: "Repair selected" function added to batch dropdown. This will restore preferences and missing addons etc on the selected items.
2020-12-19 10:52:52 -08:00
Cameron
4713f572d0
Remove old css classes from debug info.
2020-12-19 10:50:08 -08:00
Cameron
b0fc50890b
Code optimization
2020-12-19 09:50:29 -08:00
Cameron
2f780fca69
e107 now loads 5x - 8x faster. Debug info now has consistent styling across themes.
2020-12-19 09:01:17 -08:00
Cameron
5b82c292b1
Code cleanup
2020-12-18 19:55:12 -08:00
Cameron
2b8a3cff60
Code cleanup
2020-12-18 13:24:14 -08:00
Cameron
7238743542
Regex fixes and path fix for TinyMce.
2020-12-18 13:07:45 -08:00
Cameron
5988595989
Fix for ban area missing function.
2020-12-18 09:49:55 -08:00
Cameron
f5153bf640
Updating of deprecated method usage. Removal of old files. Log tests added.
2020-12-18 09:39:02 -08:00
Nick Liu
582c48fc21
PHP 8.0 fix: Undefined constant in e107_handlers/form_handler.php
...
Fixes this fatal error:
```
PHP Fatal error: Uncaught Error: Undefined constant "ADMIN_AREA" in ~/public_html/e107_handlers/form_handler.php:6505, referer: https://example.net/e107_admin/users.php
Stack trace:, referer: https://example.net/e107_admin/users.php
#0 ~/public_html/e107_handlers/admin_ui.php(7095): e_form->renderListForm(), referer: https://example.net/e107_admin/users.php
#1 ~/public_html/e107_handlers/admin_ui.php(6152): e_admin_form_ui->getList(), referer: https://example.net/e107_admin/users.php
#2 ~/public_html/e107_handlers/admin_ui.php(2275): e_admin_ui->ListAjaxPage(), referer: https://example.net/e107_admin/users.php
#3 ~/public_html/e107_handlers/admin_ui.php(1335): e_admin_controller->dispatchPage(), referer: https://example.net/e107_admin/users.php
#4 ~/public_html/e107_admin/users.php(3005): e_admin_dispatcher->runPage(), referer: https://example.net/e107_admin/users.php
#5 {main}, referer: https://example.net/e107_admin/users.php
thrown in ~/public_html/e107_handlers/form_handler.php on line 6505, referer: https://example.net/e107_admin/users.php
```
2020-12-17 22:51:46 +01:00
Cameron
0e90d4aa66
Code optimization and cleaning
2020-12-17 13:13:29 -08:00
Cameron
2cd0005b68
Ajax buffer fix.
2020-12-17 12:39:15 -08:00
Cameron
fd423e8591
Hero admin - tabs added to edit page.
2020-12-17 10:56:34 -08:00
Cameron
08da12b9a4
Place media on one row in edit mode.
2020-12-17 10:45:50 -08:00
Cameron
50af16ab45
Hero now has a background image and an image/video field. Re-install and clear db cache.
2020-12-17 09:57:14 -08:00
Cameron
b6dbb86c1d
Issue #4270 - Admin-UI: WebP support when rendering 'type'=>'image'
2020-12-17 09:55:51 -08:00
Cameron
7580796159
When developer mode (or debug mode) is active, the debug 'bug' indicator will display in the admin navigation. It now displays a drop-down menu of debug modes. It may also be enabled by adding define('e_DEBUGGER', true) to e107_config.php. This feature is only available to MAIN admins.
2020-12-17 08:21:15 -08:00
Cameron
bbfd593165
Only load css on frontpage.
2020-12-17 06:02:57 -08:00
Cameron
42f0e902d4
Issue #4283 - Update deprecated sql method usage. Removed old code.
2020-12-17 05:52:54 -08:00
Cameron
8c0e2c0392
Only load hero CSS when active.
2020-12-17 05:06:48 -08:00
Cameron
cf1eaf5d3c
Added universal {HERO} shortcode. Default template intended for Bootstrap 4.
2020-12-16 16:24:35 -08:00
Cameron
1fe797b4d5
Hero plugin added to core package. (Formerly known as "Bullets")
2020-12-16 15:46:11 -08:00