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

136 Commits

Author SHA1 Message Date
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
Cameron
e2ef244e4c Social login: Yahoo - added id/secret fields. 2017-09-18 17:02:48 -07:00
Travis Thoene
8b8c59e66a Steam XURL
Added in class2.php - XURL_STEAM
Added in social\admin_config.php - Steam Community URL
Added in social\e_shortcode.php - Steam XURL
2017-07-22 16:41:47 -05:00
Cameron
caea384495 Fixed Meta-Tag overwrite issue. Changed eResponse to singleton. May correct problems with Facebook app-id and custom og:image. Pages possibly affected: front-page (index.php) and news, custom-page and user pages. 2017-06-05 17:49:49 -07:00
Cameron
ab79296f4c Fixes #2505 - Social XURL icons template limitation fixed. 2017-03-18 12:23:44 -07:00
Cameron
50a16b76c9 Reduced the number of default social share buttons. 2017-02-28 12:41:39 -08:00
Cameron
9b6b41c353 Remove empty space after php tag. 2017-02-26 08:44:41 -08:00
Gábor
d9663dde60 Update English_front.php 2017-02-02 22:34:08 +01:00
Gábor
9af6755d69 Update English_global.php 2017-02-02 22:33:18 +01:00
Gábor
e907d256fd Update e_comment.php 2017-02-02 22:32:15 +01:00
Gábor
ab7c5b8298 Update English_global.php 2017-01-31 21:31:46 +01:00
Gábor
9034e12a1d Update e_admin.php 2017-01-31 21:21:57 +01:00
Gábor
e5a4ae5103 Update e_shortcode.php 2017-01-31 21:00:23 +01:00
Gábor
572643a44c Update English_front.php 2017-01-31 20:59:35 +01:00
Gábor
d6d964a3d3 Update e_shortcode.php 2017-01-31 17:17:16 +01:00
Gábor
3c4c7661ac Update English_front.php 2017-01-31 17:15:10 +01:00
Gábor
218b9d7bc7 Update plugin.xml 2017-01-31 17:08:11 +01:00
Gábor
af6fb48961 Update plugin.xml 2017-01-31 13:38:46 +01:00
Gábor
8b39304d80 Update English_front.php 2017-01-31 08:22:58 +01:00
Gábor
4fa5b5ff61 Update e_comment.php 2017-01-31 08:21:16 +01:00