1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-15 09:59:48 +01:00

12376 Commits

Author SHA1 Message Date
Cameron
f948629796 Cleanup class to work with PHPMailer 6. 2020-03-01 12:59:19 -08:00
Cameron
1925ce5264 Three dependencies updated and moved to vendor directory:
PHPMailer (upgraded to v6 - more testing required)
JsShink
Mysqldump-php
2020-02-29 11:56:05 -08:00
Cameron
a5193f2850 Added other third-party scripts. 2020-02-29 10:30:08 -08:00
Nick Liu
b3a30c0059
More logging for intermittent e_plugin test failures 2020-02-29 19:11:17 +01: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
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
4d7ce7ea4f
Dynamically generated API documentation links for social_ui 2020-02-26 22:12:11 +01:00
Nick Liu
5646635cc4
Better error message for logins from unconnected social login providers 2020-02-26 21:51:22 +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
ae6340c233
Removed route system/xup/signup
system/xup/signup is now system/xup/login
2020-02-26 21:22:45 +01:00
Cameron
39588fb4df Fixes #4020 - Nav styling small screens. 2020-02-26 12:05:20 -08: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
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
a350eb41f6
Fixed errors in eIPHandlerTest::testAdd_ban() that broke all tests 2020-02-25 13:13:02 +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
Cameron
22323b3c77 Added IPHandler test class. 2020-02-24 16:42:56 -08: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
Cameron
126f84d1e1 Issue #4089 - Prevent overwrite of user prefs between plugins. 2020-02-24 09:21:19 -08: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
Cameron
bf30f4f1d4 Issue #4089 - Added $fieldPrefName to Admin-UI for saving/loading field preferences under another name. Default is the current table name. 2020-02-22 14:56:23 -08: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
Cameron
aa9753a174 Automatic password rehashing added to admin login page. 2020-02-22 11:45:35 -08:00
Cameron
d23c65b30c Fixes #4083 Column selector displaying improperly defined field.
Admin-UI: Multi-language database language only displays when a table match is found.
2020-02-22 10:03:41 -08:00
Cameron
79c5b3e694 Issue #4049 - Media-Manager Url fix. Fixed Media Preview.
Admin-ui: type='media' example added to blank plugin.
2020-02-21 14:20:33 -08:00
Cameron
3d47a39f7f Issue #4100 Possible Fix for filename cleaning issue. 2020-02-21 11:43:26 -08:00
Cameron
e4b5f062f1
Merge pull request #4065 from LaocheXe/master
Delete Account Option
2020-02-21 11:32:31 -08:00
Cameron
33a7685095 Issue #4086 - admin-ui Respect boolean true/false writeParms in filter and batch dropdowns. 2020-02-20 08:53:32 -08:00
Cameron
ca61cd7de5 Issue #4086 Boolean admin-ui form element readParm/writeParm consistency. 2020-02-20 08:12:09 -08:00
Cameron
aaae9d0e0d Fixes #3759 Legacy code cleanup 2020-02-20 07:30:01 -08:00
Cameron
68e722791f Increased jpeg compression on preview images. 2020-02-20 07:21:50 -08:00
Cameron
716c6c5ddb User login audit cleanup. 2020-02-20 07:15:14 -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
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
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
Cameron
b59e55339c Added options to e_form->carousel() to disable navigation and indicators. Custom navigation can now display a custom label when 'label' is included in the carousel array. 2020-02-19 10:25:22 -08:00
Nick Liu
dc66b508bf
Factory for e_user_provider 2020-02-19 18:25:25 +01:00
Nick Liu
a91fa2c9b8
Don't duplicate Hybridauth config in e107::getHybridAuth() 2020-02-19 17:11:26 +01:00
Nick Liu
0bacc5903c
Prevent error if 'social_login' pref is not an array 2020-02-19 17:11:21 +01:00
Cameron
0dbad5d72b Issue #4101 toASCII characters added and test added to confirm. 2020-02-17 13:43:39 -08:00
Cameron
df764389a8 Issue #4102 Parsing of < or > 2020-02-17 13:13:06 -08:00
Nick Liu
5edcee8ad0
PHP bug 66773 workaround in Hybridauth
In PHP 7.0.12 and earlier, a class could not be loaded with the same
name as another class in a different namespace.  This commit patches the
Hybridauth dependency to avoid PHP bug 66773.  Unfortunately, the fix
will be rolled back any time Hybridauth is updated or overwritten.

PHP bug link: https://bugs.php.net/bug.php?id=66773
2020-02-17 14:49:57 +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
adcd3734d1
Documented migration plan to Composer dependencies 2020-02-17 10:38:48 +01:00
Nick Liu
7484d52d66
composer.json: Enforce compatibility with lowest supported PHP version 2020-02-17 10:38:48 +01:00
Deltik
f8d0b628e0
Forward compatibility with Composer autoloading 2020-02-17 10:38:48 +01:00
Nick Liu
2a69227135
Exclude Composer files in GitHub sync for e107 v2 2020-02-17 10:38:47 +01:00
Nick Liu
7269c80468
Initialized composer.json 2020-02-17 10:38:47 +01:00