1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 04:24:45 +02:00
Commit Graph

129 Commits

Author SHA1 Message Date
Nick Liu
27dd9ab287 social: Fix broken update profile on login feature 2020-05-22 17:13:38 -05:00
Cameron
331aa5f99e Interface fixes and refactoring to e107 conventions/standards. 2020-02-28 10:33:50 -08:00
Cameron
35e2e3b4aa Merge pull request #4099 from Deltik/fix-3492
New 3rd-party PHP dependency manager for e107 core and HybridAuth upgrade.
2020-02-26 13:58:03 -08:00
Nick Liu
5646635cc4 Better error message for logins from unconnected social login providers 2020-02-26 21:51:22 +01:00
Nick Liu
ae6340c233 Removed route system/xup/signup
system/xup/signup is now system/xup/login
2020-02-26 21:22:45 +01:00
Nick Liu
7bae4a04c4 More useful error message when user_name and user_xup conflict
During e_user_provider::signup()
2020-02-25 13:20:58 +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
daa31bef56 Allow blank email addresses with social signup 2020-02-23 21:57:04 +01:00
Nick Liu
f03e60dbd7 New API to get fields of each social login provider
(Not utilized in the admin frontend yet)
2020-02-23 21:47:36 +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
3b2d8333b6.

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
Cameron
aa9753a174 Automatic password rehashing added to admin login page. 2020-02-22 11:45:35 -08:00
Nick Liu
616add5c93 Code deduplication in signup_shortcodes for XUP login
Also fixed variable passing weirdness in API of e_user_provider
2020-02-20 00:03:16 +01:00
Nick Liu
c260152b57 Redirect improvements for social logins
- FIX: Duplicate invalid login messages in userlogin::login()
- NEW: e_user_provider: Return URL passthrough to go back where intended
- MOD: Cleanup of some confusing APIs in e_user_provider
- MOD: Return URL passthrough in system/xup/*
- MOD: system/xup/test: Logout test renamed into something clearer
2020-02-19 21:22:53 +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
Nick Liu
46c75ae4d0 Updated Hybridauth from v2.9.6 to v3.1.1 2020-02-17 10:38:49 +01:00
Nick Liu
d2d0105378 Null check for UserHandler::userClassUpdate() 2020-01-18 16:35:16 +01:00
Cameron
a950bf981e New admin perm added: to grant access to only theme preferences (but not others) 2019-07-29 12:37:08 -07:00
Néstor Sabater
639b6b3f34 Added social login provider callback data to event
Event user_xup_signup was not giving info that may come from the social provider, for example the Birth date or gender, I just added a way to access all provider callback info from within the signup event.
2019-07-03 13:05:49 +02:00
Cameron
b03611922f Global fix and PHP Doc fix. 2019-02-21 12:06:56 -08:00
Cameron
a1c38cb364 PHP Notice removal 2018-09-08 10:45:18 -07:00
Achim Ennenbach
c7009ac1b7 fixes #2440 allows cyrillic (and other unicode characters) in loginname 2018-07-30 22:42:55 +02:00
Cameron
ecf22cb1ba Plugin perms render fix. 2017-12-02 11:57:27 -08:00
Cameron
70df3a3ae6 Issue #2846 LAN vars cleanup 2017-11-06 13:48:29 -08:00
Cameron
52f05cc3ed Issue #2846 lanVar Cleanup 2017-11-06 13:24:05 -08:00
Cameron
02e80f50de Parser cleanup 2017-09-19 16:19:39 -07:00
Cameron
43d0211590 Code cleanup: deprecated include_lan() 2017-01-23 09:41:23 -08:00
Lóna Lore
afd979b756 Issue #2127 - Fix for proper usage of provider names. 2016-12-11 20:30:27 +01:00
lonalore
acf23fae7d Issue #2083 - Fix for "user_xup_login" event triggering... loginProvider() method call used 2 parameters, but method uses 1 parameter. 2016-12-01 09:26:57 +01:00
MikeyGMT
fc44b6866b #1887 Fix Updating User Settings having no Userclass set generates a warning in_array
Updating User Settings having no Userclass set generates a warning
in_array
2016-10-16 23:45:13 +01:00
Cameron
0af67301ea More user-setting checks. 2016-06-28 09:25:30 -07:00
Cameron
6fa46b3f32 Fix for password upgrading. Password-encoding warning added to admin area dashboard. 2016-06-16 12:23:20 -07:00
Cameron
c8fbb3957a Display Password hash-type in Admin > Users. e_URL_LEGACY constant added when SEF URLs detected. 2016-06-10 16:37:36 -07:00
Cameron
5331bc335b Issue #1699 2016-06-10 13:10:45 -07:00
Cameron
82d1c19c96 Issue #1699 - work-in-progress 2016-06-10 13:08:08 -07:00
Cameron
cb0621f5d7 Stronger passwords on default install, when methods available. 2016-06-07 17:18:18 -07:00
Cameron
f8a62f6af9 Issue #1684 - Forgot password improvements. 2016-06-07 08:37:19 -07:00
Cameron
127271e9fc Issue #595 - Use PHP 5.5+ password methods when available. User password field expanded to 255 chars. Fixes issue with salt password being updated via User > Edit User. 2016-06-06 19:54:48 -07:00
Cameron
e2fc90e8a3 Extra logging with user-login audit is enabled. 2016-06-06 12:48:26 -07:00
tgtje
201730b25d Social plugin language use (05-21-16) 2016-05-21 10:55:28 +02:00
Miroslav Yovchev
0b78deb22a More strict user fields validation 2016-04-23 00:29:14 +03:00
Cameron
0b27b3d760 Membersonly enhancement.(option to redirect to login page or membersonly splash page). User Login page minor HTML cleanup. PHP Notice removal. 2016-03-22 11:42:05 -07:00
Cameron
1202c72390 Issue #1378 Fix for XUP avatar check. User audit log for login and logout now functioning correctly. Admin log no longer adds a log when deleting a log! 2016-03-16 13:53:57 -07:00
Cameron
01d1c6560c XUP: Issue #1378 - Update Username and Avatar if they have changed. 2016-03-16 12:05:10 -07:00
Cameron
486f3d4961 Issue #1356 - PHP7 Fixes. 2016-02-14 12:15:55 -08:00
Cameron
6db8c7ddeb Should fix #1229 - Rebuild userclass tree after adding new class. 2015-11-22 10:00:46 -08:00
Cameron
d7ced10f2e Media Manager Upload/Import perms now working as intended. Admins should review this perm on other ADMINs who don't have perm '0' 2015-11-04 19:35:00 -08:00
Cameron
2bd75d426b Issue #6 Missing LAN on signup fix. 2015-09-01 15:52:22 -07:00
Cameron
af53d2dd3d Issue #6 - LANs: Replace all references to "Comments" with LAN_COMMENTS 2015-07-07 18:02:16 -07:00
MikeyGMT
586c5307e3 Administrators (user_handler) - Use Common Lan Phrases where possible
Replace ADMSLANs with ADLAN or common phrased in lan_admin.php
Replace HTML with BB_CODE
Improved hover help prompts.
2015-07-02 03:54:52 +01:00
Cameron
e75498fa5d FAQs now triggers events on create/update/delete. AdminUI: Removed unnecessary data from default event trigger. 2015-06-06 13:17:58 -07:00