1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 20:44:48 +02:00
Commit Graph

5330 Commits

Author SHA1 Message Date
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
Cameron
1d080e4f9d Issue #3291 Trigger gsitemap event on admin_ui_update .
New universal adminUI events added: admin_ui_create, admin_ui_created, admin_ui_update, admin_ui_updated, admin_ui_delete, admin_ui_deleted. Event data now includes the table that was modified and the configured admin-ui $pluginName
2020-12-11 08:57:19 -08:00
Cameron
0de1ad8df4 Issue #4270 - WebP on-the-fly conversion. Fix blurry image and include class for styling. 2020-12-10 18:57:00 -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
b0f28633bb Improved image testing. File class mime-detection improvements. Fix for use of e107_ini_set() which is only declared during installation. gSitemap typo fix. 2020-12-10 09:41:00 -08:00
Cameron
758137daff Remove debug info logging. 2020-12-09 14:42:04 -08:00
Cameron
465cc393cf Code cleanup 2020-12-09 14:08:28 -08:00
Cameron
c083ae5800 user_extended_class.php code optimization. 2020-12-09 12:26:47 -08:00
Cameron
00147e6e1c Fixes #4288 - Checkboxes not saving correctly from usersettings.php 2020-12-09 12:07:07 -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
eb94769e1c Issue #4287 - Extended user fields - when editing a checkbox field a database lookup was attempted. 2020-12-09 09:15:16 -08:00
Cameron
7229aa6c50 Preparations for WebP conversions. e107::title() added to eventually replace defining e_PAGETITLE. 2020-12-08 18:15:08 -08:00
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Cameron
a094a8fb73 Thumbnailer: Added option for on-the-fly conversion to WebP format. Example: toImage($src, ['w'=>'type'=>'webp']); 2020-12-08 09:10:26 -08:00
Cameron
005bff7e59 Code cleanup. Removal of deprecated utf8 classes. 2020-12-08 07:29:17 -08:00
Cameron
25c1592e8a Issue #4270 WebP support in Media Manager 2020-12-07 15:18:14 -08:00
Cameron
ca1df9d4f3 Issue #4270 - WebP support. 2020-12-07 10:48:12 -08:00
Cameron
111cad6307 Fix for admin-ui preview image size. 2020-12-07 09:24:49 -08:00
Cameron
b4596dda47 Old PHPThumb class removed. (Replaced by Intervention) 2020-12-06 11:33:09 -08:00
Cameron
d564c5399c Intervention image manipulation library added. 2020-12-06 10:53:46 -08:00
Cameron
1f38b3b3dd Thumbnail tests added for cropping and PNG files. 2020-12-06 08:03:03 -08:00
Cameron
68a0c8940c Image thumbnail processing moved to its own class. Thumbnail test added. 2020-12-05 18:23:45 -08:00