Cameron
176ae86409
Issue #3068 - Added a warning for misconfigured theme layouts.
...
Moved e_layout class to menumanager_class.php file.
Closes #4030 - Menu Layout detection test.
themeLan() was failing with themes containing hyphens in the folder name.
2021-02-20 12:15:28 -08:00
Cameron
823a228e7e
Issue #3912 Typing ':' now pops-up a menu of available routes. Bootstrap-suggest library added for this and other areas in future.
2021-02-17 14:33:35 -08:00
Cameron
800f8734bf
Tweak of isCompatible method.
2021-02-13 06:15:42 -08:00
Cameron
7133d4bb6f
Closes #4228 TinyMce can now load the frontend theme in the editor when 'wysiwyg' is found in the scope of a declared css file within theme.xml
...
Fixes #4371 - FontAwesome5 is now loaded in the TinyMce editor when detected in the frontend theme.
2021-02-11 16:39:50 -08:00
Cameron
b0d10199b7
Added getScope() to theme handler. Added more theme handler tests. Fixed duplicate entry in _blank/theme.xml
2021-02-11 08:51:02 -08:00
Cameron
0fd7ee6482
Fixes faulty parsing of _GET when debug is activated. Pref editor will now use var_export on arrays when debug mode is active.
2021-02-06 12:48:19 -08:00
Cameron
4b6d23dbf6
Issue #4356 Fixes a conflic with secureImage prefs. Added secureImage tests.
2021-02-02 19:18:44 -08:00
Cameron
4098a03698
kadmin style tweaked for readability
2021-01-27 14:34:02 -08:00
Cameron
e45a3a7b55
Admin template upgraded to v2 standards. Admin boot, header, footer cleanup.
2021-01-27 12:20:58 -08:00
Cameron
f6cda21559
Improved test visibility in kadmin.css admin style.
2021-01-26 19:06:09 -08:00
Cameron
46cb21b025
Meta admin page now uses Admin-ui. Additional custom tag areas added.
2021-01-26 11:59:49 -08:00
Moc
9403901077
#3786 - Update documentation for e107::user()
2021-01-26 18:53:36 +01:00
Cameron
522d71d243
Reduced some memory usage.
2021-01-24 17:00:02 -08:00
Cameron
26f0d4a0a8
Added test for loadAdminIcons and verified against previous template.
2021-01-24 15:33:39 -08:00
Cameron
a99300aed5
admin_icons_template.php reformatted to v2 standards.
2021-01-24 10:44:30 -08:00
Cameron
8b73cfee5c
Theme manager now using e107::isCompatible() method.
2021-01-23 15:48:09 -08:00
Cameron
17a9aa2822
New e107::isCompatible() method added for checking plugins/themes are compatible with the current version of e107.
...
New parser method stripBlockTags($html) to remove p, div etc.
{CPAGEBODY: strip=blocks} shortcode option added (uses the method above)
2021-01-23 14:20:51 -08:00
Cameron
7557d07622
Rewrote getTemplate test and added example theme template override (bootstrap3) of plugin template (gallery)
2021-01-22 15:43:57 -08:00
Cameron
acc1a9af0d
Plugin script tests and PHP8 fixes.
2021-01-22 13:44:10 -08:00
Cameron
b19f9ffbc3
Frontend scripts tests. (may break some things)
2021-01-19 18:52:56 -08:00
Cameron
e57b1a9b61
Issue #4352 Added canonical for home page and frontpage setting.
2021-01-19 13:31:20 -08:00
Cameron
f091709847
Issue #4352 - Canonical added for page, forum and download. Replaced some e_PAGETITLE with e107::title()
2021-01-19 09:50:02 -08:00
Cameron
76144e6b4f
Issue #4352 e107::canonical() method added.
...
Use define('e_DEBUG_CANONICAL', true); in e107_config.php to test usage.
2021-01-19 07:54:13 -08:00
Cameron
75aa014de1
Registry name improvements. testGetFieldNames() improvement.
2021-01-18 19:04:55 -08:00
Cameron
911d41a402
e107table class moved out of class2.php to e_render_class.php and renamed to e_render. BC fix added.
2021-01-18 08:52:10 -08:00
Cameron
5c9e04373e
Moved methods from e_menu_layout to e_layout.
2021-01-17 09:10:00 -08:00
Cameron
25e5978ae8
CLI mode debug class clean exit fix.
2021-01-16 14:49:56 -08:00
Cameron
8f4b3429dc
Removed old comments from e107_class.php. userlogin class cleanup. New user login test added.
2021-01-16 08:43:51 -08:00
Cameron
d51f5cb936
Legacy textparse class removed. Separate emote and profanity classes.
2021-01-14 17:26:15 -08:00
Cameron
aa3c267ef6
Issue #4345 - Fixes {NEWS_BODY=extended}
2021-01-14 07:54:16 -08:00
Cameron
992b7b4bfe
Tests for SEF URLs. Search page fix.
2021-01-13 16:16:50 -08:00
Cameron
ca471b31db
PHP8 Fix for search.php . e_HTTP fix for CLI mode.
2021-01-13 11:20:58 -08:00
Cameron
fa4900e2c4
PHP8 Fixes. Only attempt to load plugin language files when the languages folder exists. BC avatar function fix.
2021-01-09 09:09:12 -08:00
Cameron
452f594ad2
Issue #4336 and tests for e107::plugLan() (e107::lan()) . Error message will be displayed in debug mode when a LAN file failed to load.
2021-01-08 09:56:33 -08:00
Cameron
3f5d3786b2
PHP8 fixes and shortcode tests for forum, gallery, hero and login_menu. admin-shortcode time fix.
2021-01-07 13:24:55 -08:00
Cameron
3d19db894b
PHP8 Fixes and shortcode tests for chatbox_menu, download, faqs, forum and forum-post
2021-01-07 09:42:19 -08:00
Cameron
f0ce3ac4a9
PHP8 Fixes. RSS speed improvement.
2021-01-05 16:40:01 -08:00
Cameron
53866fd6b9
Improved check for CLI mode. Parsed $argv to $_GET in CLI mode.
2021-01-05 12:25:28 -08:00
Cameron
741d91a76b
Additional checks for constants. Disable addon lookup cache in debug mode.
2021-01-05 10:04:26 -08:00
Cameron
7dec5cf40e
More $_E107 options
2021-01-05 08:54:09 -08:00
Cameron
f9492a8c89
Issue #4332 - Bootstrap5 fix for toBadge()
2021-01-03 11:01:54 -08:00
Nick Liu
c533e6c1e3
#3867 : Accurate relative path calculations in e107::set_paths()
...
e107 historically conflated e_BASE with a URI path and a local file
system path. e_BASE seems to have been redefined later to mean a
relative path to the e107 root from the calling script, and e_HTTP was
introduced to resolve URIs from the web browser. e_ROOT is the absolute
path represented by e_BASE.
Because of legacy usage of e_BASE depending on it being a relative path,
e_BASE must remain as a relative path, but how the path was determined
was incorrectly implemented.
This commit fixes multiple issues with e107::set_paths():
* e_BASE is now a relative path calculated reliably by a helper function
* If ./e107_handlers/e107_class.php is in a sensible place and
./class2.php can be found one directory up, this path will be used as
the traversal target.
* If ./e107_handlers/e107_class.php is at an exotic path,
debug_backtrace() will be inspected to find "class2.php", and a
relative path will be made to the dirname() of that class2.php
* In CLI mode, chdir() is now called to set the working directory to the
e107 root. This is to maintain relative path consistency. Previously,
the absolute path would be stored in e_BASE, which may lead to
inconsistent behavior.
* e_HTTP is now resolved from $_SERVER['SCRIPT_NAME'] instead of
$_SERVER['PHP_SELF'] because arbitrary strings and slashes can be
added to the end of $_SERVER['PHP_SELF'] and could lead to e_HTTP
storing URIs that descended too far.
Fixes : #3867
2021-01-02 02:13:11 +01:00
Cameron
78b0079a03
Theme Preview working again. Use ?themepreview=themeDir
2021-01-01 14:05:51 -08:00
Cameron
1a510cb897
Bootstrap 4 fixes. USERTHEME fix.
2021-01-01 12:29:43 -08:00
Cameron
14862f0463
PHP8 Warning removal.
2021-01-01 10:45:26 -08:00
Cameron
8906cf1e26
When using Bootstrap 5 and no template is found, fallback to bootstrap 4 template if present in core folder.
2020-12-31 11:46:53 -08:00
Cameron
072c2a129a
Bootstrap5 tweaks. Added support for Brazilian Portuguese.
2020-12-30 07:16:18 -08:00
Cameron
10ad436e28
Support for Bootstrap5. Clear cache in theme manager when choosing themes.
2020-12-29 12:43:25 -08:00
Cameron
94f772577a
trackback plugin removed.
2020-12-29 10:04:33 -08:00
Cameron
6ed9ad3e0d
Simplified inAdminDir().
2020-12-27 12:13:51 -08:00