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

155 Commits

Author SHA1 Message Date
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
Nick Liu
0bacc5903c
Prevent error if 'social_login' pref is not an array 2020-02-19 17:11:21 +01:00
Nick Liu
91bfc1df23
Core modifications to support Hybridauth 3
- MOD: Replaced e107::getPref('social_login') with
       SocialLoginConfigManager::getValidConfiguredProviderConfigs()
- FIX: signup_shortcodes updated with new social login providers
- MOD: e107::filter_request() code de-duplication: HTTP 400 exits
- MOD: Deprecated e107::getHybridAuth() to discourage direct access to
       third-party dependency Hybridauth
- FIX: Updated e_user_provider for Hybridauth 3
- FIX: e_user::tryProviderSession() and Hybridauth 3
- NEW: Dynamic auth provider support in social_adminarea
- NEW: Database migration for social plugin's social_login pref
2020-02-17 10:38:49 +01:00
Cameron
2f5cfda4d4 Disabled google-plus share button. Bootstrap 4 button size fix. 2019-08-22 14:45:33 -07:00
Cameron
26ff074ee5 Issue #2970 Bootstrap 3 pull-left/right combined with Bootstrap 4 float-left/right. News Email/Print icon default styles added. 2019-06-17 12:27:53 -07:00
Cameron
7857342173
Merge pull request #3776 from LaocheXe/master
Removed Google+
2019-04-06 12:18:52 -07:00
Cameron
345c0ec959 Fixes #3764 XURL icons now function regardless of FontAwesome version or presence. 2019-04-04 11:18:17 -07:00
Travis Thoene
3b4beb145a Google+ Removed
Removed Google+ since it is shutdown.
2019-04-04 12:12:50 -05:00
Cameron
94bdbfa7e2 Fix for check_class tests. 2019-03-08 12:10:28 -08:00
Gábor
dcc342885d
Update social_xurl_template.php
Open lonks on a new tab.
2018-08-26 09:05:14 +02:00
Cameron
e045c6c91c Social plugin now provides social share links in admin after creating/updating a news item. 2018-02-08 15:44:08 -08:00
Cameron
b40b1916a3 Issue #2970 btn-default > btn-default btn-secondary 2018-01-10 15:06:40 -08:00
Cameron
6d401be7e5 Fixed #2921 - Plugin LANs. Scan Plugin Directories now uses the newer e_plugin class. 2017-12-16 11:32:10 -08:00
Cameron
8789ce6f1c Issue #2902 Code simplification and cleanup. system_meta_pre event now sends the current meta list to the assigned function. 2017-12-09 10:36:00 -08:00
Cameron
9b061ed373
Merge pull request #2903 from Serios/patch-11
og:image setting if there is no already set one
2017-12-09 10:09:51 -08:00
Serios
285b882f55
og:image setting if there is no already set one
I think the logic for setting og:image in social plugin is to be used site wide when no other is defined, but currently it's set too early in header so for example if we looking at news item which have some images, the social plugin og:image is grabed first by fb sharer since it came first in page output. My modification check if there is og:image defined and if there is already, skips adding the social plugin one.
2017-12-09 15:49:09 +02:00
Serios
7bee8bf859
og:image setting if there is no already set one
I think the logic for setting og:image in social plugin is to be used site wide when no other is defined, but currently it's set too early in header so for example if we looking at news item which have some images, the social plugin og:image is grabed first by fb sharer since it came first in page output. My modification check if there is og:image defined and if there is already, skips adding the social plugin one.
2017-12-09 15:47:23 +02:00
Cameron
e484795de6 Added missing class param on Social Login shortcode. eg. {SOCIAL_LOGIN: class=x} 2017-10-20 11:37:59 -07:00
Cameron
166837f053 Some additional Twitter meta. 2017-10-11 16:18:56 -07:00
Cameron
cec388d915 Issue #2539 - LinkedIn configuration fix. 2017-09-19 12:38:00 -07:00