1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-06 06:59:07 +01:00

1558 Commits

Author SHA1 Message Date
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
Cameron
2cf97da75c Fixes #4146 - Better way to do bootstrap 4 pagination. 2020-05-11 12:01:50 -07:00
Jimako
e4a9499702
full fix for user template in bootstrap 4 2020-05-09 16:02:52 +02:00
Cameron
8c254bccd6 Issue #4146 - Fixed user profile navigation (next/prev) for legacy, bootstrap3 and bootstrap4 themes.
Closes #4021 - Added support for independent core templates for legacy, bootstrap3 and bootstrap4 templates.
2020-05-08 14:34:34 -07:00
Cameron
0f2ab37d47 Backward compatibility fixes. 2020-05-06 16:15:52 -07:00
Moc
715d8dde60
Tweak developer mode check and message 2020-05-04 21:22:13 +02:00
Cameron
ad7caf78e8 Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup. 2020-05-04 12:10:22 -07:00
Moc
7ffad1f4d2
Check for developer mode
Adds warning for ADMIN when developer mode is enabled, but when user is not on localhost (indicating developing).
2020-05-03 17:43:50 +02:00
Cameron
834ea354e4 Core Cleanup. 2020-05-02 15:35:30 -07:00
Cameron
43d8221340 Fixes #4080 - user profile date issue. 2020-05-02 11:43:00 -07:00
Cameron
10d2fe5079
Merge pull request #4149 from Jimmi08/patch-3
#4055 signup template correct implementation of GDPR shortcode
2020-05-02 10:52:20 -07:00
Cameron
ba36dd2b23
Merge pull request #4148 from Jimmi08/patch-2
Fixes #2160 correct button class on core signup template
2020-05-02 10:51:38 -07:00
Jimako
b0be115069
#4055 signup template correct implementation of GDPR shortcode
otherwise, there is the visible border with empty field
2020-05-02 18:52:17 +02:00
Jimako
f6496b8be4
#2160 fix for correct button class on core signup template 2020-05-02 17:09:22 +02:00
Jimako
2444e8cdf1
#2898 fix for btn-default in user update information button
bootstrap4 support
2020-05-02 14:11:52 +02:00
Cameron
a014079fd8 Issue #4141 - remove 'style' from link when not in use. 2020-05-01 13:56:10 -07:00
Cameron
121eedfce3 Issue #4141 - Removed deprecated class. 2020-05-01 11:03:02 -07:00
Cameron
568d8feb77 Closes #4141 - Upgraded theme specification for v2.3.0+. See bootstrap3/theme.php for details. Use 'theme' class. 2020-04-28 14:03:05 -07:00
Cameron
326305f5f2 Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class) 2020-04-26 13:32:18 -07:00
Cameron
6d29c4c55e Issue #1767 Fixed duplicate 'required' indicator in legacy usersettings theme template. 2020-04-21 11:36:36 -07:00
Cameron
9bd2b3d5f2 Issue #1767 - Tweak last commit. 2020-04-20 14:17:07 -07:00