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

1378 Commits

Author SHA1 Message Date
Cameron
15a277349a Legacy News Shortcodes file created. To be expanded. 2020-12-27 15:28:17 -08:00
Cameron
4b311a083f Navigation render fix. 2020-12-27 15:04:06 -08:00
Cameron
e66d3f32de Renamed "Site Links" admin area to "Navigation". Navigation shortcode names changed (see debug: 'deprecated' mode to check usage) 2020-12-27 14:28:19 -08:00
Cameron
71c5be17ea Support for class attribute. {NAVIGATION: class=xxxx}
Class value in navigation template: {NAV_CLASS}
Navigation shortcodes now in their own file.
2020-12-27 12:46:37 -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
630f3f415f Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated. 2020-12-21 10:00:28 -08:00
Cameron
9880a68d4b Code cleanup 2020-12-20 19:42:09 -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
4713f572d0 Remove old css classes from debug info. 2020-12-19 10:50:08 -08:00
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Cameron
0e90d4aa66 Code optimization and cleaning 2020-12-17 13:13:29 -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
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
a8c79eda5b e107::wysiwyg() test. Still needs some work for reliable result. 2020-12-12 20:10:41 -08:00
Cameron
cf14705535 Code speed optimization 2020-12-12 11:32:23 -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
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
3a78603ebd Header now loads link tags sooner. (excluding css)
Clear js/css/browser/library cache automatically after git update.
2020-12-03 11:00:53 -08:00
Cameron
6fd582655a Defer header javascripts to footer when js/css caching is enabled. 2020-12-02 20:15:13 -08:00
Cameron
ce30a09940
Merge pull request #4269 from Deltik/php-8-compatibility
PHP 8.0 compatibility
2020-12-02 11:13:31 -08:00
Cameron
5a7e382efb Fixes #4272 - fixed JS file loading order so that inline code is run after cached scripts. 2020-11-30 11:26:09 -08:00
Nick Liu
05dbdb8625
Fix null and undefined issues in user_shortcodes.php 2020-11-30 12:55:05 +01:00
Nick Liu
f20052fa77
Fixed all unchecked usages of possibly undefined constant BOOTSTRAP 2020-11-30 12:55:04 +01:00
Nick Liu
b3cc2cf117
Fixed time.bb fatal error in PHP 8.0:
```
[Sat Nov 28 07:42:08.146694 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Non-static method e_date::convert_date() cannot be called statically in ~/public_html/e107_handlers/bbcode_handler.php(390) : eval()'d code:6
[Sat Nov 28 07:42:08.146832 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: Stack trace:
[Sat Nov 28 07:42:08.146841 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #0 ~/public_html/e107_handlers/bbcode_handler.php(390): eval()
[Sat Nov 28 07:42:08.146848 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #1 ~/public_html/e107_handlers/bbcode_handler.php(202): e_bbcode->proc_bbcode()
[Sat Nov 28 07:42:08.146853 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #2 ~/public_html/e107_handlers/e_parse_class.php(1919): e_bbcode->parseBBCodes()
[Sat Nov 28 07:42:08.146859 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #3 ~/public_html/e107_core/shortcodes/batch/comment_shortcodes.php(350): e_parse->toHTML()
[Sat Nov 28 07:42:08.146882 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #4 ~/public_html/e107_handlers/shortcode_handler.php(1119): comment_shortcodes->sc_comment()
[Sat Nov 28 07:42:08.146888 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #5 [internal function]: e_parse_shortcode->doCode()
[Sat Nov 28 07:42:08.146908 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #6 ~/public_html/e107_handlers/shortcode_handler.php(986): preg_replace_callback()
[Sat Nov 28 07:42:08.146914 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #7 ~/public_html/e107_handlers/e_parse_class.php(883): e_parse_shortcode->parseCodes()
[Sat Nov 28 07:42:08.146920 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #8 ~/public_html/e107_handlers/comment_class.php(534): e_parse->parseTemplate()
[Sat Nov 28 07:42:08.146926 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #9 ~/public_html/e107_handlers/comment_class.php(1301): comment->render_comment()
[Sat Nov 28 07:42:08.146931 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #10 ~/public_html/e107_handlers/comment_class.php(1125): comment->getComments()
[Sat Nov 28 07:42:08.146938 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #11 ~/public_html/e107_plugins/news/news.php(1299): comment->compose_comment()
[Sat Nov 28 07:42:08.146943 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #12 ~/public_html/e107_plugins/news/news.php(236): news_front->renderComments()
[Sat Nov 28 07:42:08.146950 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #13 ~/public_html/e107_plugins/news/news.php(1895): news_front->render()
[Sat Nov 28 07:42:08.146955 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #14 ~/public_html/news.php(23): require_once('...')
[Sat Nov 28 07:42:08.146961 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #15 ~/public_html/index.php(103): include('...')
[Sat Nov 28 07:42:08.146967 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #16 {main}
[Sat Nov 28 07:42:08.146972 2020] [fcgid:warn] [pid 224726:tid 140236713551616] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr:   thrown in ~/public_html/e107_handlers/bbcode_handler.php(390) : eval()'d code on line 6
```
2020-11-30 12:55:04 +01:00
Nick Liu
c0db7909ed
Fix cognitive complexity warning in news_shortcodes::sc_newsnavlink() 2020-11-30 12:55:03 +01:00
Nick Liu
f256b924ce
Fix all PHP 8.0 test failures 2020-11-30 12:55:00 +01:00
Cameron
35ad3e7284 Issue #4217 - incorrect comment avatar. 2020-11-28 14:24:43 -08:00
Cameron
5f43f5159c Fixes #2003 LAN_PLUGIN_PAGE_NAME and LAN_PLUGIN_DOWNLOAD_NAME were displayed on admin search page after clean install. 2020-11-28 12:44:00 -08:00
Cameron
c1ed847957 Fixes Issue #4220 - 'email_item_class' preference was not saving. 2020-08-17 11:15:56 -07:00
Cameron
07f92d92cc Issue #4207 - SQL Insert error 2020-07-03 12:30:30 -07:00
Cameron
d516986c8a Session Save Method set to 'db' as default. 2020-07-02 12:11:50 -07:00
Cameron
99016f5b4a Fix for error: session_start(): Failed to decode session object under some circumstances when 'db' method is used.
'session' set as default user tracking.
2020-07-01 13:02:58 -07:00
Cameron
d61ebe2015 Post Script access default set to 'nobody'. 2020-06-29 12:21:33 -07:00
Cameron
84d3c29e42 Fixes #4203 Fatal error Object of class core_index_index_controller could not be converted to string under PHP 7.4.7 2020-06-27 13:12:04 -07:00
Cameron
560f290ae4 Avoid session table creation issue on some servers. (ie. "Specified key was too long; max key length is 1000 bytes" ) 2020-06-08 10:00:36 -07:00
Cameron
7439d599f8 Issue #4176 - Incremental introduction of database sessions - Experimental (work in progress) 2020-06-02 13:43:21 -07:00
Cameron
f4341ac5cb Removed redundant php code from templates. 2020-06-02 12:05:20 -07:00
Cameron
f375024147 Fix for admin navigation active sublink. 2020-06-02 12:02:43 -07:00
Cameron
1c8e755edf Fixes #3726 - legacy shortcode wrapper conflict with email template. 2020-06-01 17:37:49 -07:00
Moc
c92b6c5e6b
Fixes #3681 - Properly detect antiflood and online tracking prefs
- e_TRACKING_DISABLED is now properly defined when user tracking is turned off ('track_online').
- Use correct antiflood pref ('antiflood1')
- Remove old 'flood_protect' pref (which was not used anymore)
2020-05-23 15:49:40 +02:00
Nick Liu
2c733cd3f1
{EMAIL} shortcode: Client-side required based on disable_emailcheck
The `disable_emailcheck` pref now decides whether the email field in the
{EMAIL} shortcode will be required.

See: https://github.com/e107inc/e107/issues/4115#issuecomment-609147815
2020-05-22 18:21:52 -05:00
Cameron
74a3735488 Fixes #4172 - Incorrect RSS URLs on news and incorrect SEF URL example. 2020-05-20 11:49:05 -07:00
Cameron
c1b5aede30 Added usersettings bootstrap 4 template file. 2020-05-13 13:48:07 -07:00
Cameron
bf00c3ad83 Bootstrap 4 Fixes on Usersettings page. 2020-05-13 13:31:43 -07:00