Cameron
eb47eb7716
Snippet to include id attribute.
2020-12-23 08:35:31 -08:00
Cameron
ffea1449f9
Simplified snippet example. Added caching of loaded snippet.
2020-12-23 08:04:20 -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
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
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
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
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
42f0e902d4
Issue #4283 - Update deprecated sql method usage. Removed old code.
2020-12-17 05:52:54 -08:00
Cameron
1fe797b4d5
Hero plugin added to core package. (Formerly known as "Bullets")
2020-12-16 15:46:11 -08:00
Cameron
780a44d4fd
Fixes #4292 , Closes #4293 - Cache file prefix no longer creates a syntax error.
2020-12-16 14:46:43 -08:00
Cameron
1c0cfbe0ff
Cache handler test added. Cache handler getLastError() method added.
2020-12-16 09:45:11 -08:00
Cameron
f80d611202
Bbcode code optimization and test.
2020-12-15 08:59:31 -08:00
Cameron
44e260b121
Code cleanup and optimization
2020-12-14 16:21:48 -08:00
Cameron
c258b856f2
Tweak last parser commit and added getTags() test.
2020-12-14 11:18:12 -08:00
Cameron
2a31f831a9
Check variable type during toDB() test. Optimized toDB() for non-string types.
2020-12-14 07:27:51 -08:00
Cameron
d5a1e77ca1
Fixes #4291 Workaround for servers with very old versions of LibXML. eg. 2.7.6
2020-12-13 12:19:42 -08:00
Cameron
39691620ae
wysiwyg test.
2020-12-13 07:40:41 -08:00
Cameron
a8c79eda5b
e107::wysiwyg() test. Still needs some work for reliable result.
2020-12-12 20:10:41 -08:00
Cameron
c1f5a6f8dc
Increase speed of TinyMce footer.
2020-12-12 12:40:26 -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
cf14705535
Code speed optimization
2020-12-12 11:32:23 -08:00
Cameron
5bde141c18
Fix for if e107::js('url') is called late (after header)
2020-12-11 10:30:19 -08:00