1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00

12979 Commits

Author SHA1 Message Date
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
Cameron
d090b19c73 Exclude vendor folder from coverage report. 2020-12-11 15:01:12 -08:00
Cameron
dbaf062534 XML validation of emoticon pack. 2020-12-11 14:55:16 -08:00
Cameron
b21191b0a1 gSitemap converted to admin-ui. (incomplete). Enable debug to view old code. 2020-12-11 11:26:22 -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
bd3a181e27 Test fix. 2020-12-10 11:03:36 -08:00
Cameron
375a3941fe Only test WebP format on the appropriate PHP versions. 2020-12-10 10:38:07 -08:00