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

5405 Commits

Author SHA1 Message Date
Nick Liu
3f59b3bc14
Suppress uncaught Hybridauth exceptions in e_user_provider
And add a check for those exceptions in
`social_ui::generateSocialLoginSection()`

Fixes: #4192
2021-12-28 12:04:28 +01:00
Nick Liu
b40288d665
Tolerate broken or removed social plugin in e_user_provider
Fixes: #4199
2021-12-28 12:04:27 +01:00
Nick Liu
8e8622f12d
social_login_config::getSupportedConfiguredProviderConfigs()
is a better name than
`\social_login_config::getValidConfiguredProviderConfigs()` because the
method does not validate the provider configs.
2021-12-28 11:48:00 +01:00
Cameron
c96d64e275 Closes #618, #2599 Added simple options for including 'async' or 'defer' when using e107::js('header') and/or e107::js('footer').
Usage example: e107::js('footer', 'https://www.google.com/recaptcha/api.js?hl=en', ['defer','async']);
2021-12-27 15:21:18 -08:00
Moc
1621bfb249
Fixes #4521 - Added %d.%m.%Y date format
Co-Authored-By: Jimako <5429548+Jimmi08@users.noreply.github.com>
2021-12-22 13:57:36 +01:00
Moc
484ef69dd3
#3778 - Add SEF URL configuration to 'pages' in comment_menu (WIP)
WIP - one URL configuration not working yet. See notes in issue #3778
2021-12-20 21:29:33 +01:00
Cameron
90108eab3c Checking of remote file-types during import and other cleanup. 2021-12-17 11:31:37 -08:00
Cameron
d8ce385929 Fixes #4631 - Edit button modal caption and submit button issue. 2021-12-15 11:52:46 -08:00
Cameron
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
aff6daf590 Fixes #4628 - Static URLs containing /./ 2021-12-02 15:36:05 -08:00
Cameron
e03e077a8c PHP 8.1 Notice fix. 2021-12-02 14:08:24 -08:00
Cameron
762befb092 Fixes #4500 - Avoid e_sitelink.php being loaded when plugin not installed. 2021-12-02 11:35:12 -08:00
Cameron
7b7040287b PHP Notice removal. 2021-12-01 15:33:48 -08:00
Cameron
0ddcd4d23d Intervention upgraded to v2.7.0
PHPMailer upgraded to v6.5.3
2021-12-01 12:10:23 -08:00
Cameron
c93990bbc5 Updated jquery.once version in test. 2021-11-29 11:44:59 -08:00
Cameron
2c9afc83ee More PHP 8.1 fixes. 2021-11-26 12:36:25 -08:00
Cameron
9d6a9611e2 PHP 8.1 fixes. 2021-11-25 10:18:53 -08:00
Cameron
4aa66c1732 strftime() added to php_compatibility_handler.php and all references updated. README updated. dateAlternativeTest updated to pass on Windows. (TBD) 2021-11-25 08:51:32 -08:00
Cameron
d885a2d40e Added missing file. 2021-11-25 08:04:56 -08:00
Cameron
de25bdc898 Closes #4619 - strftime() shim with intl locale support by @Deltik 2021-11-25 07:36:07 -08:00
Cameron
81cbe51228 Remove PHP Warnings. Next/Prev test added. 2021-11-24 13:08:04 -08:00
Cameron
f2e5a033b8 Issue #4610 - More valid tags added. 2021-11-24 11:56:35 -08:00
Cameron
f5dbec04ed Issue #4610 - Possible BC fix for outdated html attributes. 2021-11-24 11:07:52 -08:00
Nick Liu
31ea9bf787
CI: Try to fix intermittent failures on e_parse::toImage()
Perhaps the first argument to `debug_backtrace()` should be `0` instead
of the default?
2021-11-23 16:30:30 -06:00
Nick Liu
fb420ccfb1
PHP 8.1: Fix some more null value issues
* `e_form::attributes()`
* `e_parse::toImage()`
2021-11-23 13:57:38 -06:00
Cameron
fea46ed7ee Fixes #4605 - Custom home icon support and fallback icon for non-FontAwesome breadcrumbs. 2021-11-17 15:21:10 -08:00
Cameron
db6035f844 Experimental embedding of FA svg. 2021-11-15 13:51:01 -08:00
Cameron
35808e5eb9 Issue #4609 - Was still failing in earlier PHP versions. More tests added. 'empty' attribute added to news_render_type 2021-11-04 13:58:05 -07:00
Cameron
54cb89b87d Fix for <title> tag containing single or double quotes. Tests added. 2021-11-03 13:55:56 -07:00
Cameron
6d5b4f5c3a Moved experimental e_ROUTE constant to registry. 2021-11-01 15:46:39 -07:00
Cameron
7930aba4ca Fixes #4609 - Quick fix for inconsistent drop-down behavior PHP7 -> PHP8. 2021-11-01 14:41:40 -07:00
Cameron
038d88aa2a Lazy loading added to bbcode images and avatar images by default. 2021-10-26 14:57:01 -07:00
Cameron
723974a0ba Fix for poorly formatted text emails derived from html tables. 2021-10-25 09:34:13 -07:00
Cameron
b91b1c36b0 Closes #4600, Fixes #4597 - Encoding of 'national characters' in TinyMce. 2021-10-19 09:10:32 -07:00
Cameron
fe7e99f136 Fixed formatting of admin > mailout form elements. 2021-10-19 07:41:33 -07:00
Cameron
d6b0391a2d Fixed corruption of carousel attributes and other 'data-' keys. Test added. 2021-10-14 08:08:43 -07:00
Cameron
78d72fa139 Added 'defer' to bootstrap5 and fontawesome5 <script> tags. 2021-10-12 08:00:41 -07:00
Cameron
0442ba138a addJs() method cleanup. Work-in-progress. 2021-10-11 19:06:03 -07:00
Cameron
7755dd1743 Added option for themes to load only the css or js portion of a library via theme.xml attribute. See bootstrap5/theme.xml for an example.
Empty comments in glyphs removed due to conflict with Fontawesome JS. Tests updated.
2021-10-11 12:33:59 -07:00
Cameron
fd116c177a Meta PHP warnings fix. 2021-10-10 09:03:07 -07:00
Nick Liu
840e818f40
e_form: Allow HTML attribute "value" keys with blank values
Otherwise, something like `<option>Nope</option>` will get a value of
"Nope" instead of "" as in `<option value=''>Nope</option>`.
2021-10-08 18:03:44 -05:00
Nick Liu
2fa9d10c57
e_form: Handle attribute HTML entities properly for most form elements
The result is a much more consistent form experience with less fear that
some values put into an `e_form` method will break the web page.

This commit covers the most common uses of `e_form` with HTML attribute
quoting via `e_form::attributes()`.
2021-10-06 20:14:51 -05:00
Nick Liu
2080c772c1
Simplify e_form::get_attributes()
Reduce code duplication without changing behavior

Introduce helper `e_form::attributes()` to generate HTML attributes
2021-10-06 13:07:30 -05:00
Nick Liu
19f48180dc
Restore htmlspecialchars() for e_parse::filter(…, 'str')
Fixes regression from 20882920a0b68937570264949512acc0c4841dbd where
data would get inserted into the database with literal quotation marks,
but e107 has always expected `&quot;` and `&#39;` to come directly from
the database
2021-10-06 13:06:31 -05:00
Cameron
d4d0a74858 Make sure to use property attribute on og:type 2021-10-06 07:34:28 -07:00
Cameron
e5b139e91a Set og:url and twitter:url when e107::canonical is called. Twitter card meta added to news posts and pages. 2021-09-29 18:43:20 -07:00
Cameron
5ecc0beca6 Issue #6 LANS added. Clear system cache before checking for updates. Extra checks to e_parse to avoid possible errors. 2021-09-28 08:13:27 -07:00
Cameron
c15adc1f20 Intervention updated to v2.6.1
PHPMailer updated to v6.5.1
2021-09-27 10:48:29 -07:00
Cameron
320287f6ad Fix PHP error on some legacy themes that are missing meta-data. e107_tests composer update. 2021-09-27 10:45:06 -07:00
Cameron
3a241727f8 Keep FB scraper up-to-date with changes. 2021-09-24 13:19:06 -07:00