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

12789 Commits

Author SHA1 Message Date
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
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
8e5bc7d829 Updated coding style to match local setup. 2020-12-16 08:17:19 -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