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

520 Commits

Author SHA1 Message Date
Cameron
b16d7605b6 Code cleanup. 2020-12-05 12:43:05 -08:00
Cameron
645c05cfbf PHP8 Compatibility Fixes 2020-12-04 17:21: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
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
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
582bd3f72c Fixes #4200 - check theme version is compatible and disable installation if necessary. 2020-07-01 13:00:34 -07:00
Cameron
d61ebe2015 Post Script access default set to 'nobody'. 2020-06-29 12:21:33 -07:00
Cameron
da7e6ee774 toAvatar now accepts the 'mode' option with 'full' to use the full URL. 2020-06-01 13:05:50 -07:00
Cameron
0f2ab37d47 Backward compatibility fixes. 2020-05-06 16:15:52 -07:00
Cameron
25f580ce2f Fixes #3793 TinyMce video tags fix and expansion of allowed attributes. 2020-05-05 10:14:38 -07:00
Cameron
834ea354e4 Core Cleanup. 2020-05-02 15:35:30 -07:00
Cameron
e4de8502c5 Fixes #3926, #4135 - support for attributes onchange, onclick etc. when script access is enabled. 2020-04-30 14:52:44 -07:00
Cameron
c7fe56f525 Issue #4058 Pre/Code tag TinyMce line-break issue and tests. 2020-04-29 12:46:33 -07:00
Cameron
6734f26978 Fixes #4128 whitelist 'rel' attribute on a tags. 2020-04-22 10:39:22 -07:00
Cameron
6677e75fcb toImage() Added support for native image lazy-loading. See https://addyosmani.com/blog/lazy-loading/ for more info. 2020-04-17 12:02:10 -07:00
Cameron
1d4bc0e95a Corrected internal parser conflict when code/pre tags contained curly brackets. 2020-04-12 12:03:03 -07:00
Cameron
ae1ba7ba2d Fixes #2981 - Removed Image srcset conflicts. Improves rendering quality of fine-lined PNGs under some conditions. 2020-04-10 09:47:17 -07:00
Cameron
852ab5a32f Related to Issue #3741 - Incorrect encoding of a plugin language file could cause json encoding to fail. 2020-03-24 13:57:05 -07:00
Cameron
6d0fb9e218 Fix for faulty srcset height value when using overrides and a default. Tests added. 2020-03-02 11:03:28 -08:00
Cameron
0dbad5d72b Issue #4101 toASCII characters added and test added to confirm. 2020-02-17 13:43:39 -08:00
Cameron
df764389a8 Issue #4102 Parsing of < or > 2020-02-17 13:13:06 -08:00
Cameron
b8717c04bb Added 'autoplay' and 'controls' support to the toAudio() method. 2020-02-05 13:26:07 -08:00
Cameron
89fff6faad Improved line-breaks handling and added test. 2020-02-02 15:11:36 -08:00
Cameron
e15a10234e Parser: Fix for line-breaks when converting HTML back to plain text. 2020-02-02 14:54:29 -08:00
Cameron
ac2700dd2d toAvatar() added support for 'style' attribute. 2020-01-27 19:49:01 -08:00
Cameron
ab0b4ec49b Support for high-resolution avatar rendering. 2020-01-27 11:37:57 -08:00
Cameron
e1e8a8b627 Added 'base64' option to allow for embedded image src. (useful when including avatars in email signatures)
Added test for toAvatar() method.
Cleaned up &amp; when found in URL by getRemoteContent()
2020-01-19 15:35:36 -08:00
Nick Liu
524229ba0b
Fixed a bunch of PHP 7.4 syntax errors
- FIX: Removed pointless (and invalid) destructor in LinkedIn::__destruct()
- FIX: All files that trigger this deprecation notice in PHP 7.4:
       "Array and string offset access syntax with curly braces is deprecated"
2020-01-18 18:26:35 +01:00
Nick Liu
d1bdfb8546
Type checks and corrections for e_parse::thumbSrcSet() 2020-01-18 16:35:21 +01: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
Nick Liu
b3cf8df03c
Fixed inconsistent output in PHP < 7.3 in e_parser::cleanHtml()
- FIX: Workaround for https://bugs.php.net/bug.php?id=76285 present in PHP versions below 7.3 that maintains compatibility for PHP >= 7.3
2019-12-25 12:21:13 -08:00
Cameron
1fb0c3138d Added 'd' flag to parser filter. 2019-08-10 14:39:20 -07:00
Cameron
6eb730ff69 Bootstrap 4 toBadge() fix. 2019-06-20 11:33:05 -07:00
Cameron
5e0ddfc36f Fixed #3807 - Menu-Manager parser error on themes with hyphen in folder name. 2019-05-17 12:53:46 -07:00
Cameron
a597006831 Issue #3721 Avatar crop support added. Simple usage: {USER_AVATAR: w=150&h=150&crop=1&shape=circle} 2019-05-16 10:50:18 -07:00
Cameron
05fda0cf1f Fix for double-encoding in admin logs. 2019-04-01 12:27:03 -07:00
Cameron
d05d4f6406 Fixes #3712 2019-03-06 12:10:53 -08:00
Cameron
5efcfc2074 Minor performance increase. 2019-03-02 11:03:17 -08:00
Cameron
411c7c40d4 Fixes #3710 toDB() fix. 2019-03-02 10:51:05 -08:00
Cameron
7aaf09a6d2 Fix array handling in toDB() and improved performance for simple integers. 2019-03-02 10:07:07 -08:00
Cameron
749fd506e0 Issue #3676 Missing "required" marker on signup 2019-03-01 20:01:40 -08:00
Cameron
dea967a952 Improved plain text sanitation 2019-03-01 16:36:37 -08:00
Cameron
8dbea39e0a Fixes #3699 makeClickable issue on PHP 7.3 2019-02-28 10:32:12 -08:00
Cameron
a6a5f84bc2 FontAwesome5 support in toGlyph(); 2019-02-26 15:03:29 -08:00
Cameron
60647dc5f8 Made getThemeLayout() more flexible. 2019-02-26 13:56:07 -08:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Cameron
bf0d60a15c Fix for isHtml() 2019-02-14 14:57:05 -08:00
Tijn Kuyper
c7b2aa597f Fixes #1681 - allow label tag to be used 2019-02-04 17:47:47 +01:00