1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

174 Commits

Author SHA1 Message Date
Cameron
025ff07aab Fixes #4737 Removal of type="text/javascript" and type="text/css" 2022-03-31 08:24:34 -07:00
Cameron
c737e0c550 Remove distortion from thumbnail image. 2022-03-15 11:49:58 -07:00
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
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
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
522b99ebde Tweaked for consistency with toGlyph(). 2021-11-16 10:39:28 -08:00
Cameron
db6035f844 Experimental embedding of FA svg. 2021-11-15 13:51:01 -08:00
Cameron
fd116c177a Meta PHP warnings fix. 2021-10-10 09:03:07 -07:00
Cameron
80294ba65b Fix typo in last commit. 2021-10-01 08:58:21 -07:00
Cameron
fc2db726f2 Make sure og:type always has a value. 2021-10-01 08:47:18 -07:00
Cameron
af0b5dcb84 More rel="noopener" and og: changes. 2021-09-25 09:57:18 -07:00
Cameron
92f6c54c9c Added rel="noopener noreferrer" to XURL links. 2021-09-15 19:52:33 -07:00
Cameron
f669ea9053 Added aria-label to XURL icons. 2021-09-15 19:18:53 -07:00
Cameron
2682aeaa27 Token checks added. 2021-09-14 13:28:03 -07:00
Cameron
ebe9c8cf13 Precaution to avoid fatal error with some admin-ui configurations. Fontello preload code removed. (some cases may use FA instead) 2021-07-15 17:38:39 -07:00
Cameron
04576b9f79 Commented library preload code. 2021-07-14 12:20:57 -07:00
Nick Liu
ce7f3b5d56
Add: e_parse::toFlatArray() and e_parse::fromFlatArray()
Utility functions to convert multi-dimensional arrays to slash-delimited
single-dimensional arrays and vice versa
2021-04-17 02:56:12 -05:00
Cameron
2bf5ee3909 Admin area tool tips simplified to a single location. Pref simplified to Enable/Disable. Fixed flip-switch 'e-expandit' failures in Admin > Prefs. 2021-02-12 12:19:58 -08:00
Cameron
5870fbdb84 "<div class='field-help'>" etc has been replaced by the $frm->help() method and is also used by the admin-ui. 2021-02-04 08:45:10 -08:00
Cameron
76dbd4469e Fixed error in {XURL_ICONS} shortcode. Added a test. Fixed some warnings in the admin/language page. 2021-01-25 17:57:34 -08:00
Cameron
acc1a9af0d Plugin script tests and PHP8 fixes. 2021-01-22 13:44:10 -08:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
a6406ea0d3 Javascript fixes for TimeZone cookie and Twitter menu. 2021-01-16 05:39:32 -08:00
Cameron
7e90b791ba PHP8 fixes. 2021-01-14 11:32:02 -08:00
Cameron
e51dfa1fc8 Test all e_shortcode.php files in core. PHP8 Fix for featurebox. 2021-01-14 10:30:22 -08:00
Cameron
14862f0463 PHP8 Warning removal. 2021-01-01 10:45:26 -08:00
Cameron
3ad4964b2d BS5 fixes. 2020-12-30 07:57:43 -08:00
Cameron
10ad436e28 Support for Bootstrap5. Clear cache in theme manager when choosing themes. 2020-12-29 12:43:25 -08:00
Cameron
75f595adb0 PHP Warning Fixes. 2020-12-29 08:04:52 -08:00
Cameron
baed9ec8e5 Fixes #4306 - google-plus removal. 2020-12-29 07:00:39 -08:00
Cameron
48e3fdabc9 Closes #4305 #4307 2020-12-28 09:01:15 -08:00
Cameron
25b5843e12 Additional menu config items added. 2020-12-28 08:55:20 -08:00
Cameron
d579facf8f Social plugin xurl menu added. 2020-12-28 08:41:49 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
69cb52e848 staticUrl() to always returns a full path. 2020-12-03 10:31:19 -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
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Nick Liu
c03945cd63
social: Add New Provider includes all known scopes by default
Because it's probably quite common that the "email" scope be used by
default

See: https://github.com/e107inc/e107/issues/4115#issuecomment-622561908
2020-05-22 18:34:58 -05:00
Moc
bd08264a39
#4167 - Fixes social pages icons
Removed Google+, fixed Github (updated icon), added Steam and Twitch.
Added config.json to use for fontello.com (to pre-load selected icons)
2020-05-22 10:41:00 +02:00
Moc
cf919afa62
#4167 - Add Twitch and VK to Social Pages (wip)
- TODO: add CSS icons to css/fontello.css
2020-05-18 15:17:40 +02:00
Cameron
331aa5f99e Interface fixes and refactoring to e107 conventions/standards. 2020-02-28 10:33:50 -08:00
Cameron
66ea783998 Social Login admin area rework. 2020-02-27 14:10:42 -08:00
Nick Liu
4d7ce7ea4f
Dynamically generated API documentation links for social_ui 2020-02-26 22:12:11 +01:00
Nick Liu
28aad3c8e9
More accurate callback URL in e107_plugins/social/admin_config.php help 2020-02-26 21:41:22 +01:00
Nick Liu
8c072e243b
social_setup upgrade renamed providers from HybridAuth 2 to Hybridauth 3 2020-02-25 14:34:29 +01:00
Nick Liu
639943e7ed
Correct user_xup changed value in Steam social login provider
Info:
https://github.com/e107inc/e107/pull/4099#issuecomment-590579521
2020-02-25 12:48:00 +01:00
Nick Liu
be84cf7c08
New interface for varied social login configuration fields
Uses the new e_user_provider::getFieldsOf() API
2020-02-24 22:50:48 +01:00
Nick Liu
379a963902
New API to detect if social login is enabled site-wide
The site-wide social login system is now backwards-compatible with how
the social_login_active core pref worked since commit
3b2d8333b62290688f64e061023669463fd8f04c.

social_login_active's least significant bit is now treated as a global
bit, so if it's not set, no other bits are allowed to be set. This
un-breaks all existing checks for whether social_login_active is empty.

Except in themes, the social_login_active check has been replaced with
an e_user_provider API to check if social login is enabled site-wide.
2020-02-22 23:55:20 +01:00
Nick Liu
bc4ade5a27
Disable system/xup/test by default
Now guests can't snoop there unless the admin allows it.
Documentation has been improved accordingly.
2020-02-19 23:30:24 +01:00