Cameron
0d8f3e9086
PHPDoc fixes and code optimization.
2021-12-03 14:58:33 -08:00
Cameron
e03e077a8c
PHP 8.1 Notice fix.
2021-12-02 14:08:24 -08:00
Nick Liu
20882920a0
Fix all PHP 8.1 test failures
...
* `strftime()` has been replaced with a polyfill based on `DateTime`.
* Explicit type casts/assertions added where required by PHP 8.1
* `filter_var(…, FILTER_SANITIZE_STRING)` replaced with `strip_tags()`
or HTML entity encoding of quotation marks, depending on a guess of
what the intended "sanitization" was
* `http_build_query()` usage type mismatches fixed
* Removed usages of the `FILE_TEXT` constant
* To avoid breaking PHP 5.6 compatibility (function return types),
`e_session_db` no longer implements `SessionHandlerInterface`.
Instead, the alternative non-OOP invocation of
`session_set_save_handler()` is used instead to apply the session
handler.
* The shim for `strptime()` still calls the native function if available
but now suppresses the deprecation warning.
* `e_db_pdo` explicitly asks for `PDO::ATTR_STRINGIFY_FETCHES` to
maintain consistent behavior with past versions of PHP.
* `e_db_mysql` explicitly sets `mysqli_report(MYSQLI_REPORT_OFF)` to
maintain consistent behavior with past versions of PHP.
* Removed pointless random number generator seed from `banner` plugin
* Workaround for `COUNT(*)` SQL query in
`validatorClass::dbValidateArray()` without a proper API for avoiding
SQL injection
2021-09-04 15:06:19 +02:00
Cameron
aa6e449aee
New shortcode added on News view page: {NEWS_AUTHOR_REALNAME}
...
Tagcloud menu can now be sorted via shortcode parms. eg. {MENU: path=tagcloud&order=tag,asc&limit=20}
Animate.css library loading example added to bootstrap5/theme.xml
2021-06-12 16:18:51 -07:00
Cameron
098660d38a
Issue #550 - filetypes.xml now used by media-manager.
2021-04-21 11:51:53 -07:00
Cameron
cb95b4b243
Hero cleanup for Bootstrap5. Switched to placeholder images. Admin-ui type 'image' now loads remote URLs correctly.
2021-02-26 10:13:07 -08:00
Cameron
0b1a84068f
toGlyph() additional tests, Media-Manager includes bootstrap5 when detected and backward compatibility.
2021-01-31 13:09:53 -08:00
Cameron
835e477147
Bootstrap 5 styling. (data-bs-toggle)
...
Signup shortcodes now automatically load the required template.
2021-01-26 15:08:58 -08:00
Cameron
a7d637b02f
Media-Manager ajax filter fix.
2020-12-31 16:14:43 -08:00
Cameron
601df26d51
Code optimization for speed and reduced memory usage.
2020-12-20 11:50:10 -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
44e260b121
Code cleanup and optimization
2020-12-14 16:21:48 -08:00
Cameron
465cc393cf
Code cleanup
2020-12-09 14:08:28 -08:00
Cameron
25c1592e8a
Issue #4270 WebP support in Media Manager
2020-12-07 15:18:14 -08:00
Cameron
b4596dda47
Old PHPThumb class removed. (Replaced by Intervention)
2020-12-06 11:33:09 -08:00
Nick Liu
ef819f6c30
Prevent multiple includes of ThumbLib
...
Fixes this error:
```
Constant THUMBLIB_BASE_PATH already defined
/e107/e107_handlers/phpthumb/ThumbLib.inc.php:31
/e107/e107_handlers/media_class.php:1943
/e107/e107_handlers/mail.php:1269
/e107/e107_handlers/mail.php:654
/e107/e107_handlers/mail.php:976
/e107/e107_tests/tests/unit/e107EmailTest.php:61
```
2020-08-11 19:08:31 -05:00
Cameron
5f58f8f59d
Merge pull request #4043 from yesszus/patch-1
...
Issue #6 LAN Corrections.
2020-07-01 11:36:45 -07:00
Cameron
bd45d497d8
mediapicker() enhancements. Now accepts: resize, rename and convert $parms. See PHPDoc for details.
2020-03-09 17:30:29 -07:00
Cameron
79c5b3e694
Issue #4049 - Media-Manager Url fix. Fixed Media Preview.
...
Admin-ui: type='media' example added to blank plugin.
2020-02-21 14:20:33 -08:00
Cameron
3d47a39f7f
Issue #4100 Possible Fix for filename cleaning issue.
2020-02-21 11:43:26 -08:00
Gábor
cf9cf7b3c0
Update media_class.php
2019-12-09 10:14:59 +01:00
Deltik
1f824faa69
Renormalized all text file line endings
2019-03-29 19:13:32 -05:00
Cameron
d05d4f6406
Fixes #3712
2019-03-06 12:10:53 -08:00
Cameron
8607d9454b
expand getGlyphs() to include FontAwesome5
2019-02-26 14:45:28 -08:00
Cameron
0adf60f9e7
Issue #3507 blob plupload issue.
2018-11-23 13:20:57 -08:00
Cameron
d3cdcfe3f9
Moved upload code to media class.
2018-11-03 12:56:42 -07:00
Cameron
6c2c2c7f13
Issue #3501 - Media-Manager icon import issue.
2018-10-16 11:50:16 -07:00
Cameron
5cc1b18f80
Fixes #3486 - Fixes issue with files containing spaces.
2018-10-02 13:07:26 -07:00
Cameron
7340ea8377
Media-Manager icon picker preview size fix.
2018-09-08 11:53:40 -07:00
Cameron
adce28a1f5
MediaPicker preview fix.
2018-08-26 15:36:05 -07:00
Cameron
ea4affeab1
Media-Manager news now includes common images/video etc.
2018-08-22 18:09:46 -07:00
Cameron
66210474bd
MediaPicker Select JS rewrite.
...
toIcon() fallback set to 'abs' URLs instead of 'full' URLs.
Fix for double-entry of mediapicker into TinyMce.
2018-08-13 17:42:06 -07:00
Cameron
acfaf2df8e
MediaPicker fixes.
2018-08-11 14:06:21 -07:00
Cameron
891b5f044e
MediaPicker fixes.
2018-08-11 12:04:46 -07:00
Cameron
f5cf253091
MediaPicker bbcode (Tinymce) compatibility fixes.
2018-08-11 10:44:05 -07:00
Cameron
2a842bd3f4
Media-picker BC fixes.
2018-08-06 14:11:56 -07:00
Cameron
a64f4a1686
Fixes #1732 Media-Manager Category selection.
2018-08-06 13:33:38 -07:00
Cameron
8124b683c5
MediaPicker icons tab.
2018-07-27 17:39:44 -07:00
Cameron
ae08e50413
Mime fixes.
2018-07-27 12:07:43 -07:00
Cameron
96037d5ac9
Issue #3276 Fix encoding on '+' in media categories. Mediapicker fixes. Media class cleanup.
2018-07-26 20:14:42 -07:00
Cameron
f1329535a5
MediaPicker drag-n-drop upload.
2018-07-26 19:13:27 -07:00
Cameron
bd98b2303e
media-picker wrapping fix for small screens.
2018-07-26 13:57:49 -07:00
Cameron
557dea1f0e
Media-picker work. Add the following to e107_config.php to enable and test. define('e_DEBUG_MEDIAPICKER', true);
2018-07-25 20:28:30 -07:00
Cameron
9b2772b7ac
media-picker work. Issue #6 Removed '...' from LAN_SELECT and added manually where appropriate.
2018-07-25 12:29:52 -07:00
Gábor
2a18116aeb
Update media_class.php
2018-07-25 10:17:49 +02:00
Cameron
5a4847871d
More media-picker work.
2018-07-22 14:45:26 -07:00
Cameron
f430f56082
Media-picker styling.
2018-07-21 13:56:13 -07:00
Cameron
cd8ddfd54a
Issue #3200 - Media-Manager Media-picker work-in-progress
2018-07-19 12:43:04 -07:00
Cameron
6ab8c5c0f3
Issue #3200 More work on Media-picker. Version changed to 2.1.9 (git)
2018-07-18 14:40:29 -07:00
Cameron
bb7f8717fa
Media-Manager Issue #3200 Work in Progress. Local video-file browser.
2018-07-16 17:14:10 -07:00