1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

12692 Commits

Author SHA1 Message Date
Cameron
d37d4bf8af Metaweblog plugin removed. Available in separate repo https://github.com/e107inc/metaweblog 2020-12-05 13:04:04 -08:00
Cameron
b16d7605b6 Code cleanup. 2020-12-05 12:43:05 -08:00
Cameron
68e251d771 Outdated ping functions removed from news and gsitemap. xmlrpc classes removed. 2020-12-05 12:39:50 -08:00
Cameron
645c05cfbf PHP8 Compatibility Fixes 2020-12-04 17:21:03 -08:00
Nick Liu
9b82308021
Fix PHP 8 fatal error: Undefined constant ADMINNAME
PHP Fatal error:  Uncaught Error: Undefined constant "ADMINNAME" in /home/deltik/public_html/e107_themes/bootstrap3/admin_template.php:83
    Stack trace:
    #0 /home/deltik/public_html/e107_admin/header.php(37): require_once()
    #1 /home/deltik/public_html/e107_admin/auth.php(223): require_once('...')
    #2 /home/deltik/public_html/e107_admin/admin.php(79): require_once('...')
    #3 {main}
      thrown in /home/deltik/public_html/e107_themes/bootstrap3/admin_template.php on line 83
2020-12-05 00:56:33 +01:00
Cameron
729da341e1 Disable static URL mode after tests. 2020-12-04 12:37:16 -08:00
Cameron
83d189e04c Fix for missing dropdown selection in admin-ui edit mode. 2020-12-03 17:31:03 -08:00
Cameron
86690cee65 Parser staticUrl() test and JS manager addLink() test added. 2020-12-03 14:20:34 -08:00
Cameron
066104f4c3 When static URL is not in use, use absolute URL for js/css cached image paths etc. 2020-12-03 11:44:59 -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
69cb52e848 staticUrl() to always returns a full path. 2020-12-03 10:31:19 -08:00
Cameron
f621aeaa56 e107::link() now supports a plain HTML string. Useful for font preloading.
eg. e107::link('rel="preload" href="{THEME}fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin');
Bootstrap automatic font preload added.
2020-12-03 08:22:51 -08:00
Cameron
6fd582655a Defer header javascripts to footer when js/css caching is enabled. 2020-12-02 20:15:13 -08:00
Cameron
3491d7c832 Avoid javascript caching from failing when the semicolon is missing from the end of a js file. 2020-12-02 15:53:12 -08:00
Cameron
5770aa8bbb Closes #4260 toImage() : Added 'title' attribute. Added options to override size, width and height values. (subject to change) 2020-12-02 14:41:48 -08:00
Cameron
fa4433d8d7 Library preloading tweak. 2020-12-02 13:39:27 -08:00
Cameron
c9bc789b79 Added an option for pre-loading of library assets. More info: https://web.dev/uses-rel-preload/ 2020-12-02 13:17:23 -08:00
Cameron
594c6043db
Merge pull request #4278 from Jimmi08/patch-5
Add export option to Welcome Message admin area.
2020-12-02 11:14:55 -08:00
Cameron
5e0cc872f5
Merge pull request #4275 from Jimmi08/patch-4
example for render help new way
2020-12-02 11:14:10 -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
0114aa2650
Merge pull request #4250 from Jimmi08/master
Alt Auth Support for AbanteCart password salt.
2020-12-02 11:12:47 -08:00
Jimako
57aa13ee39
welcome message - adding export option 2020-12-02 07:54:55 +01:00
Cameron
a81a5789e4 Fixes #4273 - Fixes TinyMce rendering of bootstrap 3-column grid. 2020-11-30 17:36:38 -08:00
Cameron
86cf903908 Updated version to 2.3.1 (git) 2020-11-30 17:26:31 -08:00
Cameron
7214b75794 Fixes #4223 - Fix for bootstrap style inside TinyMce. Thanks go to @tgtje v2.3.0 2020-11-30 12:20:57 -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
Jimako
601232bb43
example for render help new way 2020-11-30 13:56:39 +01:00
Nick Liu
28ae48783f
Fix PHP 8.0 fatal error in array sort in plugin log
```
[Mon Nov 30 03:41:56.019794 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: PHP Fatal error:  Uncaught TypeError: array_multisort(): Argument #1 ($array) must be an array or a sort flag in ~/public_html/e107_plugins/log/stats.php:808
[Mon Nov 30 03:41:56.019853 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: Stack trace:
[Mon Nov 30 03:41:56.019861 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #0 ~/public_html/e107_plugins/log/stats.php(808): array_multisort()
[Mon Nov 30 03:41:56.019867 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #1 ~/public_html/e107_plugins/log/stats.php(1620): siteStats->arraySort()
[Mon Nov 30 03:41:56.019885 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #2 ~/public_html/e107_plugins/log/stats.php(194): siteStats->renderQueries()
[Mon Nov 30 03:41:56.019891 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr: #3 {main}
[Mon Nov 30 03:41:56.019897 2020] [fcgid:warn] [pid 3259290:tid 140500652779264] [client xxx.xxx.xxx.xxx:0] mod_fcgid: stderr:   thrown in ~/public_html/e107_plugins/log/stats.php on line 808
```
2020-11-30 12:58:06 +01:00
Nick Liu
05dbdb8625
Fix null and undefined issues in user_shortcodes.php 2020-11-30 12:55:05 +01:00
Nick Liu
645e162253
Reduce NPath complexity in plugin_forum_viewforum_shortcodes
Method plugin_forum_viewforum_shortcodes::sc_newthreadbuttonx()
2020-11-30 12:55:04 +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
ef06f382cb
Allow test libraries to be updated for varying PHP versions 2020-11-30 12:55:03 +01:00
Nick Liu
52ecd679e6
Replaced JavaScript minifier with one that works with PHP 8.0
(Looks like tedivm/jshrink is abandoned)
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
072c1b3a90 Fixes #4268 - missing field in table definition. Tests added. 2020-11-29 14:05:14 -08:00
Cameron
35ad3e7284 Issue #4217 - incorrect comment avatar. 2020-11-28 14:24:43 -08:00
Cameron
22653b3e37 Fixes #3971 - Display issue with anonymous posts in Comment Manager. 2020-11-28 13:28:39 -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
faed5e5d46 Fixes #3681 - removed unused flood protect pref. 2020-11-28 11:47:19 -08:00
Cameron
9b2df7e951 Issue #4266 Removed old commented-out code. 2020-11-27 15:48:04 -08:00
Nick Liu
4021f403c6
Xdebug 3 compatibility 2020-11-26 15:32:53 +01:00
Cameron
1f75bb1180 Plugin Builder: improved handling of decimal fields. Added a 'readonly' checkbox to table field options. 2020-11-18 14:17:26 -08:00
Nick Liu
7c2860bec2
Composer 2 compatibility: Installed package manifest format change 2020-11-02 13:05:10 -06:00
Cameron
05df0716d5 Fixes #4252 - User list limit of 50 was failing. 2020-11-02 11:00:48 -08:00
Cameron
0e98d8d059
Merge pull request #4255 from Jimmi08/patch-3
Fixes #4254 Missing tablerender ID for coppa fail
2020-11-02 10:45:56 -08:00
Cameron
a9084944d2 Fixes #4257 - Plugin Builder field type detection fix. 2020-11-02 10:41:39 -08:00
Cameron
30330bcaaa Fixes #4259 - Manual plugin upload. 2020-11-02 10:36:07 -08:00
Cameron
cc223aa7f6 Fixes #4262 - Inaccurate "include" path debug message. 2020-11-02 10:30:41 -08:00