1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

72 Commits

Author SHA1 Message Date
Cameron
bd647b1514 Improved debugging info on social login update failure. 2020-04-09 10:03:42 -07: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
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
dc66b508bf
Factory for e_user_provider 2020-02-19 18:25:25 +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
d6eafdc3fc
Null check for e_user_model::isBot() 2020-01-18 16:35:19 +01:00
Cameron
62863b4934 Issue #2146 PHP 7.3 class compatibility fix. More testing required. 2019-06-03 16:29:38 -07:00
Cameron
7dea524e8a BC Fix for icons in sitelinks. 2019-04-30 14:01:05 -07:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Achim Ennenbach
322b5ba60d Switched add/remove functions to make use of the unified functions
from the user_class class (user_class::ucAdd(), user_class::ucRemove())
Fixed some typo and removed missing template vars
2019-03-20 18:16:00 +01:00
Cameron
9e6c2a79f0 Issue #3657 Add update limits on user_class changes throughout. 2019-02-22 11:10:05 -08:00
Cameron
41879e8a94 Issue #1745 - Initial Userclass was not being saved during Activation by admin. 2017-10-29 11:25:05 -07:00
Cameron
e3cf1e4086 Insert email address automatically during Social login if found and missing from database. 2017-10-23 13:01:19 -07:00
Lóna Lore
22a40e318b If timezone is not set by user, need to return an empty string in order to use default timezone is set for e107. 2016-12-13 21:42:57 +01:00
Lóna Lore
2f2b3cc7c0 Set default timezone in init_session(). 2016-12-13 21:31:59 +01:00
Lóna Lore
5ef0f56b8f Use "user_xup_updated" event name. 2016-12-01 22:57:00 +01:00
lonalore
77bcd16569 Trigger event with updated profile data. 2016-12-01 10:07:05 +01:00
lonalore
3fa89bc13a New "user_xup_profile_updated" event. 2016-12-01 09:53:50 +01:00
lonalore
8d838bb9a8 Prevent debug message if debug mode is disabled. 2016-12-01 09:39:32 +01:00
Lóna Lore
dbe3731091 Duplicated WHERE in SQL query. 2016-11-27 22:07:54 +01:00
Cameron
fb223639c1 Quick-Add-User email fixes. 2016-06-10 17:52:08 -07:00
Cameron
983d8bb4f4 Issue #1670 Social login preference to update displayName and/or Avatar. 2016-06-01 12:33:15 -07:00
Cameron
efbd6c3c2c Search Bot Userclass working again. 2016-05-18 12:10:03 -07:00
Cameron
13bceef355 Corrected result for check_class() on NEWUSER 2016-05-18 11:16:34 -07:00
Cameron
fd4c707fce PHP7 Warnings Fix - requires testing. 2016-04-21 12:04:09 -07:00
Cameron
e073a2cb87 Fixes #1462 - Hiding of password in signup email. 2016-04-04 18:00:07 -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
4e8412b16c Issue #1287 - PHP7 and SSL fixes. 2016-02-14 19:00:12 -08:00
Cameron
2bd75d426b Issue #6 Missing LAN on signup fix. 2015-09-01 15:52:22 -07:00
Cameron
37cb23c674 Fix for resending a single re-activation email when password-input is disabled during signup (ie. auto-generated) 2015-05-21 16:53:10 -07:00
Cameron
c5d6bae3ad Signup Admin options moved to shortcode. Added maintenance page to Admin -> Users for resending emails to unactivated accounts. 2015-05-16 19:17:24 -07:00
Cameron
a708211cb3 Userclass fixes. Now clears userclass cache after changes in admin are made. 2015-05-12 13:53:47 -07:00
Cameron
d85bc31932 Query optimization. 2015-05-10 12:02:32 -07:00
Cameron
027a74f5b0 Code cleanup 2015-02-15 02:37:36 -08:00
Cameron
e576370e57 Remove some references to deprecated functions/methods. 2015-02-14 23:34:15 -08:00
Cameron
dab64ca165 New event trigger names reworked. Replaced all '-' with '_' for compatibility with e_notify. 2015-02-12 16:52:30 -08:00
Cameron
740b8cf29a Issue #755 - resending of user activation email. Added fix. Requires testing. 2014-10-03 20:59:05 -07:00
Cameron
f4bb971696 More email templates cleanup. /signup.php?preview working again. 2014-08-17 20:53:44 -07:00
Cameron
734a954228 Additional changes so email templates conform to v2 specifications. 2014-08-16 17:21:46 -07:00
SecretR
f7f3dd65f3 Fixes Issue #297 2013-05-24 22:18:20 +03:00
SecretR
30a2e10ff1 fixed #160 - temporary fix, user_model renderModel method needs update
(most recent email template and rendering engine)
2013-04-30 17:01:11 +03:00
SecretR
e89a6a5ecf Work on #34, extensive testing is required. Work in progress. 2012-12-20 10:45:40 +02:00
SecretR
5aad9b6553 fixed #14
Various minor system bugfixes and enhancements
2012-12-11 18:44:54 +02:00
SecretR
deafa2812f Introducing getDisplayName(), getLoginName(), getRealName() user model getters. Preparing for user table DB field name changes in the future. 2012-12-11 18:44:53 +02:00
SecretR
12bec41f6e Work on $14 - user options ready, addUser work in progress;
Form handler - introducing admin_trigger() alias
Various minor fixes
2012-12-10 17:17:51 +02:00
SecretR
7cf904675b #14 More user administration work. All list (dropdown) options are back. Still work in progress. Various system fixes and enhancements. 2012-12-10 01:20:56 +02:00
SecretR
d162707716 #14 User administration - working userclass management, related user email send fixes. Still work in progress. 2012-12-09 04:03:28 +02:00
secretr
c7d1b78673 Hybrid Auth and e107 XUP - initial work, ready for testing 2012-07-31 07:32:00 +00:00