Cameron
55980a29a8
Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.
2022-04-04 10:54:24 -07:00
Cameron
b91b1c36b0
Closes #4600 , Fixes #4597 - Encoding of 'national characters' in TinyMce.
2021-10-19 09:10:32 -07: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
10ca7acdd5
PHP8 Fix.
2021-02-06 09:21:54 -08:00
Cameron
2337b075a8
Fixes #4346 - TinyMce parser issue. Hide side-panel help icon on legacy admin theme.
2021-02-05 18:31:54 -08:00
Cameron
748e5ee11d
Issue #3902 PHP Notice and Error fixes.
2021-01-25 09:14:45 -08:00
Cameron
522d71d243
Reduced some memory usage.
2021-01-24 17:00:02 -08:00
Cameron
62d6341303
Bbcode test and parser cleanup.
2021-01-14 14:46:49 -08:00
Cameron
601df26d51
Code optimization for speed and reduced memory usage.
2020-12-20 11:50:10 -08:00
Cameron
c258b856f2
Tweak last parser commit and added getTags() test.
2020-12-14 11:18:12 -08:00
Cameron
450b35f017
Removed redundant closing tags.
2020-06-05 11:34:17 -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
Nick Liu
b2bd6763de
Null checks for e107TinyMceParserTest
...
- FIX: Do not redefine e_ADMIN_AREA in parser.php
- FIX: Null checks for e107TinyMceParser
- FIX: Array type check for e_bbcode::imgToBBcode()
- FIX: Optional query string in e_parse::thumbUrlDecode()
- FIX: Don't redefine TINYMCE_UNIT_TEST
2020-01-18 11:05:08 +01:00
Achim Ennenbach
3840d7d642
fixes #3394 Moved loading of e_bb after the loading of the templates
2018-08-26 13:38:14 +02:00
Cameron
7e4f22c80d
TinyMce Image align left/right parsing fix.
2018-08-22 08:12:32 -07:00
Achim Ennenbach
c1bec2b6d7
fixes #3317 moved the forum template from core to plugin
2018-08-10 11:49:58 +02:00
Achim Ennenbach
fe7bb66b76
fixes #3317 ADMIN_AREA is sometimes not defined when the method is called
2018-08-09 19:18:36 +02:00
Achim Ennenbach
937ef03047
fixes #3317 added bbcode template "forum"
...
Fixed issue with bbcode youtube to display the mediamanager only
if the current user is an admin. Otherwise it will just add the plain
bbcode string "[youtube]dkhkj[/youtube]" to the textarea.
2018-08-09 14:05:06 +02:00
Cameron
e1cf1e70a9
Fixes #3329 PHP7 on BBcode renderButtons()
2018-08-02 14:22:39 -07:00
Cameron
0ab3485a84
Fix for [img] class in TinyMce.
2018-01-31 14:10:41 -08:00
Cameron
c162981fbd
Cleaned up the Default Image Size in Media-Manager Preference area. Remove 'width=' from [img] when it matches the default size.
2018-01-26 15:54:54 -08:00
Cameron
4d3ef86bb7
Fix for TinyMce image resize. Also disabled static URLs in the admin area.
2018-01-26 14:10:15 -08:00
Cameron
2788e9745c
Image to Bbcode routines and batch conversion option added to admin News area (when in debug mode)
2017-12-27 20:58:59 -08:00
Cameron
9606105e24
Removal of PHP Notices and SEF URL debugging improvements.
2017-09-23 12:52:23 -07:00
Lóna Lore
7143c3e571
Remove unused markdown parser.
2017-01-28 19:12:49 +01:00
MikeyGMT
c97464f542
Added CURLOPT_TIMEOUT to Fix GitSync #1936 and some fixme flags
...
Added CURLOPT_TIMEOUT to Fix GitSync #1936 and some fixme flags
2016-10-28 09:09:01 +01:00
Cameron
bec7071cdf
Fixes #1597 - Legacy shortcode issue.
2016-05-01 09:30:33 -07:00
Cameron
4516bc910e
TinyMce styling corrected to work with newer version of TinyMce. TinyMce parser image path corrections. Old Tinymce popup code removed.
2016-03-10 13:33:52 -08:00
Cameron
5a6153db27
Fixed: When using TinyMce og:image tags were missing for images inserted into the news body. Banner plugin now has a tooltip/description field. Also supports longer URLs avoiding SQL errors. TinyMce upgraded to latest version. (v4.3.2)
2016-01-12 03:22:06 -08:00
Cameron
d8d4b48341
Added alert bbcode. menu-name shortcode for custom menus. And a 'Bootstrap Row' css style in Tinymce4.
2015-09-21 14:55:27 -07:00
Cameron
f5a5a64e98
Tinymce parser now loads up to 3x faster.
2015-04-11 20:40:29 -07:00
Cameron
6ce8e9edd5
Fixes broken HTML when switching back from using TinyMce. ([html] tag was being filtered out)
2015-03-29 20:33:30 -07:00
Cameron
027a74f5b0
Code cleanup
2015-02-15 02:37:36 -08:00
Cameron
00450f1404
Upgraded PHPMailer to 5.2.9 and corrected mail overrides.
2014-10-29 14:16:03 -07:00
Cameron
2eb638f05e
Added Glyph bbcode.
2014-05-31 23:16:47 -07:00
Cameron
d2d58451cf
Fix for media-browser carousel issue. Fix for bbcode Youtube insert. Added [video] bbcode.
2014-01-23 15:56:53 -08:00
Cameron
56b7bdc42b
Removed old icons. If you find broken image paths, please post an issue about it.
2014-01-21 06:40:46 -08:00
Cameron
0d9a480158
Corrected default bbcode-button template used in admin area.
2014-01-17 07:56:32 -08:00
Cameron
f2ff881639
Added option to send custom template code directly to bbarea() function.
2014-01-06 00:32:46 -08:00
SecretR
a44401202b
Plugin bbcodes fix
2013-10-24 01:04:40 +03:00
Cameron
f9f90451c0
Added th bbcode.
2013-06-14 18:12:38 -07:00
Cameron
27e98076f0
More shortcode/parser BC (global) fixes.
2013-05-31 18:52:46 -07:00
Cameron
0aa3fb4c10
Some basic markdown support. Use bbcode [markdown][/markdown]
2013-05-20 17:57:35 -07:00
Cameron
0d93068439
Partial fix for Issue #177
2013-04-24 03:55:17 -07:00
Cameron
53b84b91f9
Backward Compatibility fix for TinyMce editing.
2013-03-18 02:16:41 -07:00
Cameron
0d963eaff5
TinyMce fixes and support for raw html or bbcodes. (depending on Html posting preference)
2013-02-28 03:42:29 -08:00
Cameron
e8d1d0eaaa
Excessive [p] fix.
2012-12-16 21:09:31 -08:00
Tijn Kuyper
5290bb8ea4
More notice removal
2012-12-08 13:52:05 +01:00
Cameron
d20af73bc5
Introduction of e_navigation class to handle all links site-wide. Large-scale cleanup of global admin links, plugin links etc.
2012-12-03 01:40:47 -08:00
farr3ll
1b2a2a7fb7
Issue #24 revision 2
2012-12-03 02:32:20 +02:00