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

12712 Commits

Author SHA1 Message Date
Cameron
fb575c257c Issue #4270 On-the-fly conversion to WebP format with fallback for older browsers when using toImage(). 2020-12-09 10:54:15 -08:00
Cameron
eb94769e1c Issue #4287 - Extended user fields - when editing a checkbox field a database lookup was attempted. 2020-12-09 09:15:16 -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
a094a8fb73 Thumbnailer: Added option for on-the-fly conversion to WebP format. Example: toImage($src, ['w'=>'type'=>'webp']); 2020-12-08 09:10:26 -08:00
Cameron
005bff7e59 Code cleanup. Removal of deprecated utf8 classes. 2020-12-08 07:29:17 -08:00
Cameron
25c1592e8a Issue #4270 WebP support in Media Manager 2020-12-07 15:18:14 -08:00
Cameron
ca1df9d4f3 Issue #4270 - WebP support. 2020-12-07 10:48:12 -08:00
Cameron
111cad6307 Fix for admin-ui preview image size. 2020-12-07 09:24:49 -08:00
Cameron
8d7ccbc294 Composer.lock for tests 2020-12-07 07:22:11 -08:00
Cameron
35a859923a Issue #4270 - .webp upload support 2020-12-07 07:10:17 -08:00
Cameron
9b917c0000 Fixes #4281 Alt-Auth menu. 2020-12-07 06:39:12 -08:00
Nick Liu
9452dd0037
Fixed use of deprecated test method in e_mediaTest 2020-12-06 22:29:04 +01:00
Nick Liu
b1645e9aeb
Run tests on php:8.0 instead of php:8.0-rc 2020-12-06 22:25:43 +01:00
Cameron
32f9be6c2f Media class resizeImage() test added. 2020-12-06 12:09:33 -08:00
Cameron
b4596dda47 Old PHPThumb class removed. (Replaced by Intervention) 2020-12-06 11:33:09 -08:00
Cameron
d564c5399c Intervention image manipulation library added. 2020-12-06 10:53:46 -08:00
Cameron
1f38b3b3dd Thumbnail tests added for cropping and PNG files. 2020-12-06 08:03:03 -08:00
Cameron
68a0c8940c Image thumbnail processing moved to its own class. Thumbnail test added. 2020-12-05 18:23:45 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
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